:root {
  color-scheme: light;
  --paper: #fff7ed;
  --ink: #171717;
  --muted: #64615d;
  --line: #e7d8c9;
  --surface: #fffdf8;
  --surface-warm: #fff4e6;
  --red: #be123c;
  --green: #0f766e;
  --blue: #2563eb;
  --gold: #b45309;
  --shadow: 0 18px 56px rgba(23, 23, 23, 0.13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4.8vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: min(700px, 86vh);
  display: grid;
  grid-template-rows: auto 1fr;
  isolation: isolate;
}

body:not([data-view="home"]) .hero {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(22, 18, 14, 0.88), rgba(22, 18, 14, 0.52) 48%, rgba(22, 18, 14, 0.18)),
    linear-gradient(0deg, rgba(255, 247, 237, 0.98), rgba(255, 247, 237, 0) 30%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #221f1a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 250, 242, 0.78);
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 250, 242, 0.36);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.hero-dot.active {
  width: 26px;
  background: #fffaf2;
}

.hero-dot:focus-visible {
  outline: 2px solid #facc15;
  outline-offset: 3px;
}

.topbar {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fffaf2;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.voice-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: stretch;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 250, 242, 0.56);
  border-radius: 8px;
  background: rgba(18, 23, 18, 0.34);
  backdrop-filter: blur(12px);
}

.voice-choice {
  min-width: 70px;
  border: 0;
  border-radius: 6px;
  padding: 5px 10px;
  background: transparent;
  color: rgba(255, 250, 242, 0.82);
  cursor: pointer;
  display: grid;
  gap: 1px;
  place-items: center;
  font-family: inherit;
  font-weight: 850;
  line-height: 1.05;
}

.voice-choice small {
  color: rgba(255, 250, 242, 0.7);
  font-size: 0.68rem;
  font-weight: 820;
}

.voice-choice.active {
  background: #fffaf2;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.voice-choice.previewing {
  transform: translateY(-1px);
  box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.55), 0 10px 28px rgba(0, 0, 0, 0.2);
}

.voice-choice.active small {
  color: var(--red);
}

.voice-choice:focus-visible {
  outline: 2px solid #facc15;
  outline-offset: 2px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fffaf2;
  color: var(--red);
  font-weight: 950;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 250, 242, 0.55);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.16);
  color: #fffaf2;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.hero-content {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  align-self: center;
  padding: 38px 0 96px;
  color: #fffaf2;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.76rem;
  font-weight: 850;
  color: var(--green);
}

.hero .eyebrow {
  color: #facc15;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 250, 242, 0.86);
  font-size: clamp(1.02rem, 3.5vw, 1.25rem);
  line-height: 1.58;
}

.hero-copy-cn {
  max-width: 640px;
  margin: 8px 0 0;
  color: rgba(255, 250, 242, 0.78);
  font-size: clamp(0.94rem, 3.2vw, 1.05rem);
  font-weight: 750;
  line-height: 1.5;
}

.hero-search {
  width: min(620px, 100%);
  min-height: 58px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 250, 242, 0.42);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.hero-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 12px;
  font-weight: 760;
}

.hero-search button,
.redeem-form button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--red);
  color: #fffaf2;
  cursor: pointer;
  font-weight: 850;
}

.hero-search-tools {
  width: min(620px, 100%);
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 250, 242, 0.28);
  border-radius: 8px;
  background: rgba(18, 23, 18, 0.24);
  backdrop-filter: blur(12px);
}

.hero-search-tools p {
  margin: 0 0 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 250, 242, 0.9);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-search-tools p small {
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.72rem;
  font-weight: 820;
  text-transform: none;
}

.hero-search-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hero-search-chips button {
  min-height: 56px;
  border: 1px solid rgba(255, 250, 242, 0.38);
  border-radius: 8px;
  padding: 8px 9px;
  background: rgba(255, 250, 242, 0.14);
  color: #fffaf2;
  cursor: pointer;
  display: grid;
  gap: 2px;
  align-content: center;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.hero-search-chips button span,
.hero-search-chips button small {
  display: block;
  line-height: 1.1;
}

.hero-search-chips button small {
  color: rgba(255, 250, 242, 0.76);
  font-size: 0.67rem;
  font-weight: 800;
}

.hero-search-chips button:hover,
.hero-search-chips button:focus-visible {
  background: rgba(255, 250, 242, 0.26);
  outline: none;
}

.hero-actions,
.offline-actions,
.practice-actions,
.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 26px;
}

.primary-action,
.secondary-action,
.email-row button {
  min-height: 48px;
  border-radius: 8px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 850;
  border: 1px solid transparent;
  cursor: pointer;
}

.primary-action,
.email-row button {
  background: var(--red);
  color: #fffaf2;
}

.primary-action:disabled,
.primary-action[disabled] {
  opacity: 0.62;
  cursor: not-allowed;
}

.secondary-action {
  background: rgba(255, 250, 242, 0.14);
  color: #fffaf2;
  border-color: rgba(255, 250, 242, 0.4);
}

.secondary-action.dark {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.danger-action {
  min-height: 48px;
  border-radius: 8px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fecdd3;
  background: #e11d48;
  color: #fffaf2;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.bilingual-action {
  min-height: 58px;
  display: inline-grid;
  gap: 2px;
  align-content: center;
  line-height: 1.1;
}

.bilingual-action span,
.bilingual-action small {
  display: block;
}

.bilingual-action small {
  font-size: 0.76rem;
  font-weight: 850;
  opacity: 0.82;
}

.button-reset {
  border: 0;
}

.section,
.lesson-panel,
.city-panel {
  width: min(1160px, calc(100% - 32px));
  margin: 72px auto 0;
}

.app-view[hidden] {
  display: none;
}

.app-view {
  min-height: 60vh;
}

.app-view .lesson-panel,
.app-view .city-panel {
  width: 100%;
  margin: 24px 0 0;
}

.view-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.back-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tool-card {
  min-height: 164px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 18px 42px rgba(23, 23, 23, 0.12);
  outline: none;
}

.tool-card.primary-tool {
  grid-column: 1 / -1;
  min-height: 190px;
  background: #17211e;
  color: #fffaf2;
}

.tool-icon {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fffaf2;
  font-size: 1.25rem;
  font-weight: 950;
}

.tool-kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.primary-tool .tool-kicker {
  color: #facc15;
}

.tool-card p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.tool-cn {
  margin: 3px 0 0;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.25;
}

.primary-tool .tool-cn {
  color: #fde68a;
}

.primary-tool p:last-child {
  color: rgba(255, 250, 242, 0.75);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.heading-cn {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
}

.compact-heading {
  margin-top: 34px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.quick-card {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06);
}

.quick-card:hover,
.quick-card:focus-visible {
  border-color: var(--red);
  outline: none;
  transform: translateY(-2px);
}

.quick-card span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-card strong {
  font-size: 1.2rem;
}

.cn-label {
  display: block;
  margin-top: -4px;
  color: var(--green);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.25;
}

.quick-card small {
  color: var(--muted);
  line-height: 1.45;
}

.quick-card.emergency {
  background: #fff1f2;
  border-color: #fecdd3;
}

.quick-card.emergency span,
.quick-card.emergency strong,
.quick-card.emergency .cn-label {
  color: var(--red);
}

.route-choice {
  margin: 20px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #f8fafc;
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06);
}

.route-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.route-card {
  min-width: 0;
  min-height: 300px;
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  color: var(--ink);
}

.route-card-journey {
  background: #17211e;
  color: #fffaf2;
}

.route-card-city {
  background: #fffaf2;
}

.route-kicker {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.route-card-journey .route-kicker {
  color: #facc15;
}

.route-card h3 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  line-height: 1.08;
}

.route-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 760;
}

.route-card-journey p {
  color: rgba(255, 250, 242, 0.78);
}

.route-cn {
  color: var(--green) !important;
  font-size: 1.05rem;
  font-weight: 950 !important;
}

.route-card-journey .route-cn {
  color: #fde68a !important;
}

.route-city-lead {
  font-size: 1rem;
}

.route-city-cn {
  margin-top: -6px !important;
  color: var(--green) !important;
  font-size: 0.92rem;
  font-weight: 900 !important;
}

.route-step-strip,
.route-city-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.route-city-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border: 1px solid #d9eadf;
  border-radius: 8px;
  background: #eefdf5;
}

.route-city-tools span {
  min-width: 0;
  color: #14532d;
  font-size: 0.8rem;
  font-weight: 950;
  line-height: 1.15;
}

.route-city-tools small {
  display: block;
  margin-top: 3px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 850;
}

.route-step-strip span,
.route-city-strip button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.route-card-journey .route-step-strip span {
  border-color: rgba(255, 250, 242, 0.22);
  background: rgba(255, 250, 242, 0.08);
  color: #fffaf2;
}

.route-step-strip small,
.route-city-strip small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 850;
}

.route-card-journey .route-step-strip small {
  color: rgba(255, 250, 242, 0.7);
}

.route-city-strip button {
  cursor: pointer;
  text-align: left;
}

.route-city-strip button:hover,
.route-city-strip button:focus-visible {
  border-color: var(--red);
  outline: none;
}

.route-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--red);
  color: #fffaf2;
  cursor: pointer;
  font-weight: 950;
  text-decoration: none;
}

.route-card-city .route-action {
  background: #17211e;
}

.need-finder {
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fffdf8;
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06);
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.need-card {
  min-height: 148px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fffaf2;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  display: grid;
  gap: 5px;
  align-content: start;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.need-card:hover,
.need-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--red);
  box-shadow: 0 16px 34px rgba(23, 23, 23, 0.1);
  outline: none;
}

.need-card span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.need-card strong {
  font-size: 1rem;
  line-height: 1.25;
}

.need-card em {
  color: var(--green);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.25;
}

.need-card small {
  color: var(--muted);
  line-height: 1.42;
}

.need-card.emergency-card {
  background: #fff1f2;
  border-color: #fecdd3;
}

.need-card.emergency-card span,
.need-card.emergency-card em {
  color: var(--red);
}

.free-browser {
  margin: 18px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #f7fbf8;
}

.free-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.free-category-card {
  min-height: 156px;
  border: 1px solid #cfe4d6;
  border-radius: 8px;
  padding: 14px;
  background: #fffdf8;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 5px 10px;
  align-content: start;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.free-category-card:hover,
.free-category-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--green);
  box-shadow: 0 16px 34px rgba(23, 23, 23, 0.1);
  outline: none;
}

.free-category-card span {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--green);
  color: #fffaf2;
  display: grid;
  place-items: center;
  font-weight: 950;
  grid-row: span 3;
}

.free-category-card strong,
.free-category-card em,
.free-category-card small {
  min-width: 0;
}

.free-category-card strong {
  font-size: 1rem;
  line-height: 1.25;
}

.free-category-card em {
  color: var(--green);
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.3;
}

.free-category-card small {
  color: var(--muted);
  line-height: 1.42;
}

.search-results {
  margin: 20px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.search-results[hidden] {
  display: none;
}

.search-header,
.related-scenes,
.empty-search {
  padding: 18px;
}

.search-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.search-boundary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: #fffdf8;
}

.search-boundary > span {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  display: grid;
  align-content: center;
  background: #fffaf2;
}

.search-boundary strong,
.search-boundary small {
  display: block;
  line-height: 1.1;
}

.search-boundary strong {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
}

.search-boundary small {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
}

.search-boundary p {
  flex: 1 1 240px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.45;
}

.search-boundary-upgraded {
  display: grid;
  gap: 14px;
  padding: 16px 18px;
  background: #fffaf2;
}

.boundary-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: start;
}

.boundary-head h3 {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  line-height: 1.1;
}

.boundary-head p,
.boundary-head small {
  margin: 0;
  color: var(--muted);
  font-weight: 780;
  line-height: 1.45;
}

.boundary-head div small {
  display: block;
  margin-top: 5px;
  color: var(--green);
  font-weight: 900;
}

.search-boundary-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.search-boundary-card {
  min-width: 0;
  min-height: 154px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
  display: grid;
  gap: 8px;
  align-content: start;
}

.search-boundary-card span,
.search-boundary-card strong,
.search-boundary-card p,
.search-boundary-card small {
  display: block;
  min-width: 0;
  line-height: 1.35;
}

.search-boundary-card > span {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.search-boundary-card > span small {
  margin-top: 2px;
  color: inherit;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: none;
}

.search-boundary-card strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
}

.search-boundary-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 760;
  line-height: 1.42;
}

.search-boundary-card > small {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.35;
}

.boundary-free {
  border-color: #b7e2c2;
  background: #f0fdf4;
}

.boundary-paid {
  border-color: #fed7aa;
  background: #fff7ed;
}

.boundary-paid > span,
.boundary-paid > small {
  color: var(--gold);
}

.boundary-safe {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.boundary-safe > span,
.boundary-safe > small {
  color: var(--blue);
}

.search-boundary-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-top: 2px;
}

.search-boundary-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 780;
  line-height: 1.45;
}

.search-boundary-actions p strong {
  color: var(--ink);
}

.search-boundary-actions p small {
  color: var(--green);
  font-weight: 850;
}

.search-boundary-actions .secondary-action {
  white-space: nowrap;
}

.result-count {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 750;
}

.best-match,
.starter-kit,
.more-results,
.intent-results {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.best-match {
  background: #fff7ed;
}

.starter-kit {
  background: #f0fdfa;
}

.search-situation-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr) minmax(220px, 0.8fr);
  gap: 14px;
  align-items: stretch;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.search-situation-guide.urgent {
  background: #fff1f2;
}

.search-situation-guide.payment {
  background: #fefce8;
}

.search-situation-guide.translation {
  background: #eff6ff;
}

.search-situation-guide.transport {
  background: #ecfdf5;
}

.search-situation-guide.food {
  background: #fff7ed;
}

.guide-copy,
.guide-action {
  min-width: 0;
}

.guide-copy h3 {
  margin: 4px 0 0;
  font-size: 1.18rem;
  line-height: 1.18;
}

.guide-copy p:last-child {
  margin: 8px 0 0;
  color: var(--green);
  font-weight: 900;
  line-height: 1.35;
}

.search-situation-guide ol {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
  counter-reset: guide-step;
}

.search-situation-guide li {
  min-height: 54px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.78);
  counter-increment: guide-step;
}

.search-situation-guide li::before {
  content: counter(guide-step);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fffaf2;
  font-size: 0.76rem;
  font-weight: 950;
}

.search-situation-guide li span,
.search-situation-guide li small {
  display: block;
  min-width: 0;
  line-height: 1.32;
}

.search-situation-guide li span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

.search-situation-guide li small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.guide-action {
  display: grid;
  gap: 10px;
  align-content: stretch;
}

.guide-action p {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.guide-action strong,
.guide-action span,
.guide-action small {
  display: block;
  line-height: 1.35;
}

.guide-action strong {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 950;
}

.guide-action span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
}

.guide-action small {
  margin-top: 5px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.guide-action .secondary-action {
  justify-content: center;
  width: 100%;
}

.best-copy,
.mini-section-heading {
  margin-bottom: 12px;
}

.best-copy h3,
.mini-section-heading h3 {
  margin: 0;
}

.search-meta {
  margin: 0;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-meta span {
  display: inline-block;
  margin-right: 6px;
  border-radius: 999px;
  padding: 2px 6px;
  background: #ecfdf5;
  color: var(--green);
  font-size: 0.64rem;
  letter-spacing: 0;
}

.phrase-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.access-chip {
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 9px;
  display: inline-grid;
  gap: 1px;
  align-content: center;
  border: 1px solid #99f6e4;
  background: #ecfdf5;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.05;
}

.access-chip small {
  color: inherit;
  font-size: 0.66rem;
  font-weight: 900;
}

.access-chip.sample {
  border-color: #fde68a;
  background: #fffbeb;
  color: var(--gold);
}

.audio-chip {
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 9px;
  display: inline-grid;
  gap: 1px;
  align-content: center;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.05;
}

.audio-chip small {
  color: inherit;
  font-size: 0.66rem;
  font-weight: 900;
}

.speech-chip {
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 9px;
  display: inline-grid;
  gap: 1px;
  align-content: center;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.05;
}

.speech-chip small {
  color: inherit;
  font-size: 0.66rem;
  font-weight: 900;
}

.search-phrase-list {
  border: 0;
  border-radius: 0;
}

.intent-group-list {
  display: grid;
  gap: 14px;
}

.intent-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  overflow: hidden;
}

.intent-group h4 {
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  font-size: 0.96rem;
}

.intent-group h4 span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.related-grid,
.related-tool-grid,
.popular-grid,
.locked-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.related-card,
.related-tool-card,
.popular-grid button {
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fffaf2;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font-weight: 850;
}

.related-tool-card {
  min-height: 116px;
  display: grid;
  gap: 6px;
  align-content: start;
}

.related-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.related-tool-card span {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.related-tool-card em {
  color: var(--green);
  font-style: normal;
  font-size: 0.84rem;
  font-weight: 900;
}

.related-tool-card small {
  color: var(--muted);
  line-height: 1.45;
}

.empty-search p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.missing-feedback-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: start;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: 18px;
  background: #f0f9ff;
}

.missing-feedback-copy {
  display: grid;
  gap: 8px;
}

.missing-feedback-copy h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.missing-feedback-copy small {
  color: var(--blue);
  font-weight: 800;
  line-height: 1.5;
}

.no-result-fallbacks {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.no-result-fallbacks > p {
  margin: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.fallback-list {
  display: grid;
  gap: 10px;
}

.fallback-card {
  display: grid;
  gap: 10px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.fallback-card strong,
.fallback-card span {
  display: block;
}

.fallback-card span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fallback-actions button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  background: #eff6ff;
  color: var(--ink);
  font-weight: 900;
}

.fallback-actions small {
  display: block;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
}

.missing-feedback-form {
  display: grid;
  gap: 10px;
}

.missing-feedback-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.missing-feedback-form input,
.missing-feedback-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.missing-feedback-form input[readonly] {
  background: #f8fafc;
  color: var(--muted);
}

.missing-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.feedback-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fffaf2;
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
}

.paid-preview-section {
  padding: 18px;
  border-top: 1px solid var(--line);
  background: #fff7ed;
}

.locked-grid {
  padding: 18px;
  background: #fff7ed;
}

.paid-preview-section .locked-grid {
  padding: 0;
}

.locked-card {
  position: relative;
  min-height: 190px;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  padding: 18px;
  background: #fff1f2;
}

.locked-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.locked-topline .badge.small {
  position: static;
  top: auto;
  right: auto;
  font-size: 0.68rem;
}

.locked-topline .badge.small small {
  display: block;
  margin-top: 2px;
  font-size: 0.6rem;
  font-weight: 900;
}

.locked-topline span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
}

.locked-card p:not(.badge) {
  color: var(--muted);
  line-height: 1.55;
}

.locked-card .locked-cn {
  margin: 6px 0 8px;
  color: var(--red);
  font-weight: 900;
  line-height: 1.3;
}

.locked-card.unlocked-preview {
  border-color: #99f6e4;
  background: #ecfdf5;
}

.locked-card.unlocked-preview .badge.small,
.locked-card.unlocked-preview .locked-topline span,
.locked-card.unlocked-preview .locked-cn {
  color: var(--green);
}

.locked-value-note {
  display: grid;
  gap: 4px;
  margin: 12px 0;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 10px;
  background: #fff7ed;
}

.locked-value-note strong,
.locked-value-note span,
.locked-value-note small {
  display: block;
  line-height: 1.35;
}

.locked-value-note strong {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 950;
}

.locked-value-note span {
  color: var(--muted);
  font-size: 0.82rem;
}

.locked-value-note small {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
}

.locked-boundary-note {
  display: grid;
  gap: 4px;
  margin: -2px 0 12px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 10px;
  background: #eff6ff;
}

.locked-boundary-note strong,
.locked-boundary-note span,
.locked-boundary-note small {
  display: block;
  line-height: 1.35;
}

.locked-boundary-note strong {
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 950;
}

.locked-boundary-note span {
  color: var(--muted);
  font-size: 0.82rem;
}

.locked-boundary-note small {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
}

.paid-preview-list {
  display: grid;
  gap: 6px;
  margin: 12px 0 14px;
  padding: 0;
  list-style: none;
}

.paid-preview-list li {
  border: 1px solid #fecdd3;
  border-radius: 8px;
  padding: 9px 10px;
  background: rgba(255, 250, 242, 0.72);
}

.paid-preview-list strong,
.paid-preview-list span {
  display: block;
  line-height: 1.22;
}

.paid-preview-list strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.paid-preview-list span {
  margin-top: 3px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
}

.badge.small {
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 12px;
}

.journey-card,
.city-card {
  min-height: 174px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06);
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.journey-card:hover,
.journey-card:focus-visible,
.journey-card.active,
.city-card:hover,
.city-card:focus-visible,
.city-card.active {
  transform: translateY(-3px);
  border-color: var(--accent, var(--green));
  box-shadow: 0 18px 42px rgba(23, 23, 23, 0.12);
  outline: none;
}

.journey-card.emergency {
  background: #fff1f2;
}

.step {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: #fff;
  background: var(--accent, var(--green));
  font-weight: 900;
}

.zh-mini {
  display: block;
  margin-top: 4px;
  color: var(--accent, var(--green));
  font-weight: 900;
}

.title-cn {
  margin: 4px 0 0;
  color: var(--green);
  font-weight: 900;
}

.journey-card p,
.city-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.92rem;
}

.city-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 850;
}

.city-start {
  display: -webkit-box;
  min-height: 66px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.city-start small {
  margin-top: 4px;
}

.lesson-panel,
.city-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lesson-header,
.city-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 18px;
  padding: 22px;
  border-top: 6px solid var(--green);
  background: #17211e;
  color: #fffaf2;
}

.lesson-header.emergency {
  background: #54101e;
}

.lesson-header p,
.city-header p {
  margin: 8px 0 0;
  color: rgba(255, 250, 242, 0.76);
}

.city-header small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 250, 242, 0.72);
  font-weight: 850;
}

.city-best-for {
  max-width: 760px;
}

.city-best-for small {
  color: rgba(255, 250, 242, 0.74);
}

.city-tool-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.city-tool-summary article {
  min-width: 0;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: #fffdf8;
  display: grid;
  gap: 7px;
  align-content: start;
}

.city-tool-summary span,
.city-tool-summary strong,
.city-tool-summary small {
  display: block;
  line-height: 1.3;
}

.city-tool-summary span {
  color: var(--accent, var(--green));
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.city-tool-summary strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
}

.city-tool-summary small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 820;
}

.city-quick-planner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  background: #fffaf2;
}

.city-quick-planner section {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.city-quick-planner h3,
.city-quick-planner p {
  margin: 0;
}

.city-quick-planner h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.city-quick-planner section > p:not(.eyebrow) {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 800;
}

.city-search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.city-search-chips button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  background: #eff6ff;
  color: var(--ink);
  font-weight: 900;
}

.city-search-chips small {
  display: block;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
}

.city-quick-planner ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.city-quick-planner li span,
.city-quick-planner li small {
  display: block;
}

.city-quick-planner li span {
  font-weight: 900;
}

.city-quick-planner li small {
  color: var(--muted);
  font-weight: 800;
}

.city-tool-strip {
  display: grid;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  background: #f8fafc;
}

.city-tool-strip p,
.city-tool-strip strong,
.city-tool-strip span {
  display: block;
  margin: 0;
}

.city-tool-strip strong {
  margin-top: 2px;
  font-size: 1.05rem;
}

.city-tool-strip span {
  color: var(--muted);
  font-weight: 850;
}

.city-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.city-filter-list button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 11px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.city-filter-list button small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.city-filter-list button.active {
  border-color: var(--accent, var(--blue));
  background: #0f172a;
  color: #fff;
}

.city-filter-list button.active small {
  color: #dbeafe;
}

.phrase-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.phrase-list.compact {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.phrase-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
}

.phrase-card.saved {
  background: #ecfdf5;
}

.phrase-copy {
  min-width: 0;
}

.zh {
  margin: 0;
  color: #080808;
  font-size: clamp(1.45rem, 6vw, 2.35rem);
  line-height: 1.18;
  font-weight: 950;
}

.translation {
  margin: 10px 0 0;
  color: #2d2c2a;
  font-size: 1.02rem;
  font-weight: 780;
}

.use {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.94rem;
}

.phrase-actions {
  display: grid;
  grid-template-columns: 46px 46px;
  gap: 8px;
  align-content: start;
}

.small-icon,
.show-button,
.example-row,
.choice-button,
.food-zh,
.text-button {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fffaf2;
  color: var(--ink);
  cursor: pointer;
}

.small-icon {
  width: 46px;
  height: 46px;
  font-weight: 950;
}

.small-icon.active,
.small-icon.looping {
  background: var(--red);
  color: #fffaf2;
  border-color: var(--red);
}

.show-button {
  grid-column: 1 / -1;
  min-height: 42px;
  padding: 0 10px;
  font-weight: 850;
}

.practice-panel {
  margin-top: 28px;
}

.practice-start,
.practice-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.practice-start p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.practice-card {
  display: block;
}

.practice-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.text-button {
  min-height: 38px;
  padding: 0 12px;
  font-weight: 800;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.choice-button {
  min-height: 76px;
  padding: 14px;
  text-align: left;
  font-size: 1.35rem;
  font-weight: 900;
}

.choice-button.correct {
  background: #dcfce7;
  border-color: #16a34a;
}

.choice-button.wrong {
  background: #ffe4e6;
  border-color: var(--red);
}

.practice-feedback {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.practice-feedback.good {
  color: #15803d;
}

.practice-feedback.miss {
  color: var(--red);
}

.pattern-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pattern-card,
.food-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.pattern-title {
  margin: 0;
  color: #090909;
  font-size: 1.8rem;
  line-height: 1.18;
  font-weight: 950;
}

.pattern-en {
  margin: 8px 0 0;
  color: #2d2c2a;
  font-weight: 800;
}

.structure {
  margin: 10px 0 0;
  color: var(--red);
  font-weight: 850;
}

.example-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.example-row {
  min-height: 62px;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  text-align: left;
}

.example-row span {
  font-weight: 900;
  font-size: 1.08rem;
}

.example-row small {
  color: var(--muted);
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.city-card {
  min-height: 154px;
}

.city-zh {
  display: block;
  margin: 0 0 10px;
  color: var(--accent, var(--red));
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 950;
}

.city-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  padding: 18px;
}

.tip-box {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-warm);
  padding: 16px;
}

.tip-box ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.city-scene-list {
  display: grid;
  gap: 18px;
}

.city-scene h3 {
  margin-bottom: 10px;
}

.empty-city-scene {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.empty-city-scene p {
  color: var(--muted);
  line-height: 1.55;
}

.food-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.food-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}

.food-item p {
  color: var(--muted);
  line-height: 1.55;
}

.food-zh {
  min-width: 132px;
  min-height: 48px;
  padding: 0 12px;
  color: #090909;
  font-size: 1.42rem;
  font-weight: 950;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feedback-card {
  min-height: 248px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06);
}

.feedback-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.feedback-card .primary-action,
.feedback-card .secondary-action {
  justify-self: start;
  margin-top: 4px;
}

.feedback-kicker {
  color: var(--green) !important;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-card,
.saved-list-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06);
}

.status-card {
  min-height: 168px;
  padding: 20px;
}

.status-label {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-card h3 {
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  line-height: 1.05;
}

.status-card p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.search-insight-card {
  min-height: 220px;
}

.search-insight-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.search-insight-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.search-insight-metrics span,
.search-insight-list article {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: #f8fafc;
}

.search-insight-metrics strong {
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 950;
}

.search-insight-metrics small,
.search-insight-list span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
}

.search-insight-list {
  display: grid;
  gap: 6px;
}

.search-insight-list strong {
  color: var(--ink);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.internal-insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.internal-insight-card {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06);
}

.internal-summary-card {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
}

.internal-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.internal-card-heading span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #f8fafc;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.internal-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.internal-metric-grid span {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
}

.internal-metric-grid strong {
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 950;
}

.internal-metric-grid small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.25;
}

.internal-note,
.internal-note-cn {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.internal-note-cn {
  color: var(--green);
  font-weight: 850;
}

.internal-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.internal-list {
  display: grid;
  gap: 10px;
  max-height: 520px;
  overflow: auto;
}

.internal-list.compact {
  max-height: 420px;
}

.internal-row {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fffaf2;
}

.internal-row div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.internal-row strong {
  color: var(--ink);
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}

.internal-row span,
.internal-row small,
.internal-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.internal-row small {
  color: var(--green);
  font-weight: 850;
}

.candidate-row {
  border-left: 4px solid var(--line);
}

.candidate-row.priority-high {
  border-left-color: var(--red);
  background: #fff7ed;
}

.candidate-row.priority-medium {
  border-left-color: #f59e0b;
}

.candidate-row.priority-watch {
  border-left-color: var(--green);
}

.voice-coverage-card {
  display: grid;
  align-content: start;
}

.voice-coverage-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.voice-coverage-row {
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fffaf2;
}

.voice-coverage-row span {
  display: grid;
  gap: 1px;
  color: var(--ink);
  font-weight: 950;
  line-height: 1.08;
}

.voice-coverage-row small {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
}

.voice-coverage-row strong {
  color: var(--red);
  font-size: 1rem;
  font-weight: 950;
}

.compact-update {
  margin-top: 0;
}

.saved-list-panel {
  overflow: hidden;
}

.saved-phrase-list {
  min-height: 110px;
}

.empty-saved {
  margin: 0;
  padding: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.offline-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border-radius: 8px;
  background: #102522;
  color: #fffaf2;
  box-shadow: var(--shadow);
}

.pack-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fffaf2;
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06);
}

.pack-hero h2 {
  max-width: 760px;
  margin-bottom: 8px;
}

.pack-hero-copy {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 720;
}

.pack-hero-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.pack-hero-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: #ffffff;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 900;
}

.pack-purchase-panel {
  display: grid;
  align-content: center;
  gap: 10px;
  border-radius: 8px;
  padding: 18px;
  background: #102522;
  color: #fffaf2;
}

.pack-purchase-panel .panel-kicker {
  color: #f7c948;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.pack-purchase-panel strong {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 0.95;
  font-weight: 950;
}

.pack-purchase-panel p {
  margin: 0;
  color: rgba(255, 250, 242, 0.78);
  font-weight: 820;
}

.pack-purchase-panel .primary-action,
.pack-purchase-panel .secondary-action {
  width: 100%;
  justify-content: center;
}

.pack-top-compare {
  display: grid;
  gap: 8px;
}

.pack-top-compare a {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 250, 242, 0.2);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 250, 242, 0.08);
  color: #fffaf2;
  text-decoration: none;
}

.pack-top-compare a:hover,
.pack-top-compare a:focus-visible {
  border-color: #f7c948;
  outline: none;
}

.pack-top-compare span {
  color: #f7c948;
  font-size: 1.05rem;
  font-weight: 950;
}

.pack-top-compare strong {
  font-size: 1rem;
  line-height: 1.15;
}

.pack-top-compare small {
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1.35;
}

.pack-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.pack-value-grid article {
  min-height: 148px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.05);
}

.pack-value-grid span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fffaf2;
  font-size: 0.8rem;
  font-weight: 950;
}

.pack-value-grid h3 {
  margin: 12px 0 6px;
}

.pack-value-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.pack-value-grid em {
  display: block;
  margin-top: 10px;
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.update-card,
.redeem-card,
.payment-status-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06);
}

.update-card p,
.redeem-card p,
.payment-status-card p {
  color: var(--muted);
  line-height: 1.55;
}

.payment-status-card {
  background: #f8fafc;
}

.payment-flow-card {
  margin-bottom: 18px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 20px;
  background: #eff6ff;
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.05);
}

.payment-flow-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 14px;
  align-items: end;
  margin-bottom: 14px;
}

.payment-flow-heading h3,
.payment-flow-heading p {
  margin: 0;
}

.payment-flow-heading h3 {
  color: var(--ink);
  font-size: clamp(1.25rem, 3vw, 1.9rem);
}

.payment-flow-heading > p {
  color: var(--muted);
  line-height: 1.5;
  font-weight: 760;
}

.payment-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.payment-flow-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.payment-flow-steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 950;
}

.payment-flow-steps li.done {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.payment-flow-steps li.done > span {
  background: #22c55e;
  color: #ffffff;
}

.payment-flow-steps li.active {
  border-color: var(--gold);
  background: #fffaf2;
}

.payment-flow-steps li.active > span {
  background: var(--gold);
  color: #ffffff;
}

.payment-flow-steps strong,
.payment-flow-steps small,
.payment-flow-steps p {
  display: block;
  margin: 0;
}

.payment-flow-steps strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.payment-flow-steps small {
  margin-top: 2px;
  color: var(--green);
  font-weight: 900;
}

.payment-flow-steps p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.42;
  font-weight: 740;
}

.payment-flow-actions {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.payment-flow-action-link,
.checkout-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: #ffffff;
  text-decoration: none;
  font-weight: 950;
}

.payment-flow-action-link {
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
}

.payment-flow-action-link span {
  margin-top: 2px;
  color: #dbeafe;
  font-size: 0.78rem;
}

.payment-flow-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 760;
}

.paid-download-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 20px;
  background: #f0fdf4;
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.05);
}

.paid-download-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 14px;
  align-items: end;
}

.paid-download-heading h3,
.paid-download-heading p {
  margin: 0;
}

.paid-download-actions {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.paid-download-actions p {
  color: var(--muted);
  line-height: 1.5;
  font-weight: 760;
}

.paid-download-actions span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 0 10px;
  background: #ffffff;
  color: #15803d;
  font-size: 0.82rem;
  font-weight: 900;
}

.paid-download-voice-statuses {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.paid-download-voice-status {
  min-height: 48px;
  display: grid;
  gap: 2px;
  align-content: center;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  padding: 9px 10px;
}

.paid-download-voice-status strong {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.1;
}

.paid-download-voice-status small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.25;
}

.paid-download-voice-status.saved {
  border-color: #22c55e;
  background: #ecfdf5;
}

.paid-download-voice-status.active {
  border-color: var(--gold);
  background: #fffaf2;
}

.paid-download-voice-status.issue {
  border-color: #f59e0b;
  background: #fffbeb;
}

.paid-download-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.paid-download-stats span {
  display: grid;
  gap: 3px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.paid-download-stats strong {
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
}

.paid-download-stats small {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.paid-download-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.paid-download-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
}

.paid-download-steps li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 950;
}

.paid-download-steps strong,
.paid-download-steps small {
  display: block;
  margin: 0;
}

.paid-download-steps strong {
  color: var(--ink);
  font-size: 0.88rem;
}

.paid-download-steps small {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
}

.paid-download-steps li.done {
  border-color: #22c55e;
  background: #ecfdf5;
}

.paid-download-steps li.done > span {
  background: #22c55e;
  color: #ffffff;
}

.paid-download-steps li.active {
  border-color: var(--gold);
  background: #fffaf2;
}

.paid-download-steps li.active > span {
  background: var(--gold);
  color: #ffffff;
}

.paid-download-steps li.failed {
  border-color: var(--red);
  background: #fff1f2;
}

.paid-download-steps li.failed > span {
  background: var(--red);
  color: #ffffff;
}

.paid-download-steps li.partial {
  border-color: #f59e0b;
  background: #fffbeb;
}

.pack-choice-card {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06);
}

.choice-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.choice-heading h3,
.choice-heading p {
  margin: 0;
}

.pack-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pack-choice-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fffaf2;
}

.choice-price {
  width: fit-content;
  border-radius: 8px;
  padding: 7px 10px;
  background: var(--green);
  color: #fffaf2;
  font-size: 0.96rem;
  font-weight: 950;
}

.pack-choice-grid h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
}

.choice-cn {
  margin: 0;
  color: var(--green);
  font-weight: 900;
  line-height: 1.45;
}

.pack-choice-grid ul {
  margin: 0;
  padding-left: 19px;
  color: var(--muted);
  line-height: 1.55;
}

.pack-choice-grid .secondary-action {
  justify-self: start;
  margin-top: 2px;
}

.comparison-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.pack-comparison-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.pack-comparison-table caption {
  padding: 12px 14px;
  color: var(--green);
  text-align: left;
  font-weight: 950;
}

.pack-comparison-table th,
.pack-comparison-table td {
  border-top: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.pack-comparison-table thead th {
  background: #f8fafc;
  color: var(--ink);
  font-size: 0.84rem;
}

.pack-comparison-table tbody th {
  color: var(--green);
  font-weight: 950;
}

.status-pill-list {
  min-width: min(340px, 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.status-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  background: #fffaf2;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-pill.done {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #15803d;
}

.update-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.redeem-form {
  min-width: min(360px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.redeem-form input {
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fffaf2;
}

.redeem-form .form-message {
  grid-column: 1 / -1;
  margin: 0;
}

.redeem-form .form-message.good {
  color: #15803d;
  font-weight: 850;
}

.redeem-form .form-message.miss {
  color: var(--red);
  font-weight: 850;
}

.test-code-help {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.inline-code-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px 7px;
  background: #fffaf2;
  color: var(--green);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.form-help-link {
  grid-column: 1 / -1;
  color: var(--green);
  font-weight: 850;
  text-decoration: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.price-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06);
}

.price-card.featured {
  border-color: var(--red);
  box-shadow: var(--shadow);
}

.price-kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-cn {
  margin: 4px 0 0;
  color: var(--green);
  font-size: 1rem;
  font-weight: 950;
}

.product-status,
.unlock-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
}

.product-status {
  margin: 10px 0 0;
  padding: 8px 10px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.35;
}

.price-card.unlocked {
  border-color: #22c55e;
  background: #f0fdf4;
}

.price-card.unlocked .product-status {
  border-color: #bbf7d0;
  background: #dcfce7;
  color: #15803d;
}

.unlock-summary {
  display: grid;
  gap: 3px;
  margin-top: 14px;
  padding: 12px;
}

.unlock-summary strong,
.unlock-summary span {
  display: block;
  line-height: 1.2;
}

.unlock-summary strong {
  color: var(--ink);
}

.unlock-summary span {
  color: var(--green);
  font-weight: 900;
}

.unlock-summary.active {
  border-color: #bbf7d0;
  background: #ecfdf5;
}

.unlocked-content-hub {
  margin: 0 0 18px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 18px;
  background: #eff6ff;
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.05);
}

.unlocked-hub-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: 14px;
  align-items: end;
  margin-bottom: 14px;
}

.unlocked-hub-heading h3,
.unlocked-hub-heading p {
  margin: 0;
}

.unlocked-hub-heading h3 {
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.unlocked-hub-heading > p {
  color: var(--muted);
  line-height: 1.5;
  font-weight: 760;
}

.unlocked-hub-actions {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.unlocked-hub-actions p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 760;
}

.unlocked-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.unlocked-hub-card {
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.unlocked-hub-status {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.74rem;
  font-weight: 950;
}

.unlocked-hub-card h4,
.unlocked-hub-card p {
  margin: 0;
}

.unlocked-hub-card h4 {
  color: var(--ink);
  font-size: 1rem;
}

.unlocked-hub-card p {
  color: var(--muted);
  line-height: 1.48;
  font-weight: 740;
}

.unlocked-card-cn,
.unlocked-card-meta {
  color: var(--green) !important;
  font-size: 0.84rem;
  font-weight: 900 !important;
}

.unlocked-card-meta {
  color: #1d4ed8 !important;
}

.unlocked-hub-card .secondary-action {
  align-self: end;
  margin-top: 4px;
}

.paid-directory-content {
  display: grid;
  gap: 16px;
}

.paid-directory-locked,
.paid-directory-summary,
.paid-directory-product {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06);
}

.paid-directory-locked,
.paid-directory-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.paid-directory-locked h3,
.paid-directory-locked p,
.paid-directory-summary h3,
.paid-directory-summary p,
.paid-directory-product h3,
.paid-directory-product p {
  margin: 0;
}

.paid-directory-locked p,
.paid-directory-summary p,
.paid-directory-product p {
  color: var(--muted);
  line-height: 1.5;
  font-weight: 760;
}

.paid-directory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.paid-directory-product {
  display: grid;
  gap: 14px;
}

.paid-directory-product-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 14px;
  align-items: start;
}

.paid-directory-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.paid-directory-stat-grid span {
  display: grid;
  gap: 3px;
  min-height: 68px;
  align-content: center;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 10px;
  background: #eff6ff;
}

.paid-directory-stat-grid strong {
  color: #1d4ed8;
  font-size: 1.45rem;
  line-height: 1;
}

.paid-directory-stat-grid small {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
}

.paid-directory-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.paid-directory-module {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: #fffaf2;
}

.paid-directory-module h4,
.paid-directory-module p {
  margin: 0;
}

.paid-directory-module h4 {
  color: var(--ink);
  font-size: 0.98rem;
}

.paid-directory-module p {
  color: var(--muted);
  line-height: 1.42;
  font-weight: 760;
}

.directory-module-cn {
  color: var(--green) !important;
  font-size: 0.84rem;
  font-weight: 900 !important;
}

.directory-module-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.directory-module-stats span {
  min-height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  background: #ffffff;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
}

.paid-audio-demo {
  margin: 0 0 18px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 18px;
  background: #f0fdf4;
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.05);
}

.paid-audio-demo-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}

.paid-audio-demo-heading h3 {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
}

.paid-audio-demo-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 760;
}

.paid-audio-demo-actions {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.paid-audio-demo-actions .secondary-action {
  min-height: 42px;
}

.paid-audio-demo-actions .secondary-action:disabled {
  border-color: #bbf7d0;
  background: #dcfce7;
  color: #15803d;
  cursor: default;
}

#paidAudioOfflineStatus {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 0 10px;
  background: #ffffff;
  color: #15803d;
  font-size: 0.8rem;
  font-weight: 900;
}

.paid-audio-demo-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.paid-audio-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.paid-audio-pack {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 0 9px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.74rem;
  font-weight: 950;
}

.paid-audio-card h4,
.paid-audio-card p {
  margin: 0;
}

.paid-audio-card h4 {
  color: var(--ink);
  font-size: 0.96rem;
}

.paid-audio-title-cn,
.paid-audio-context {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.paid-audio-card .zh {
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.35;
  font-weight: 950;
}

.paid-audio-card .translation {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 760;
}

.paid-audio-context {
  margin-top: 8px;
}

.price {
  margin: 14px 0;
  color: #080808;
  font-size: clamp(2.7rem, 8vw, 4.6rem);
  line-height: 1;
  font-weight: 950;
}

.price-note {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin: -4px 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  background: #fffaf2;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.product-summary {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 760;
}

.product-lists {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.product-lists div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fffaf2;
}

.product-lists h4 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.86rem;
}

.price-card ul {
  margin: 0;
  padding-left: 19px;
  color: var(--muted);
  line-height: 1.58;
  font-size: 0.94rem;
}

.price-card .secondary-action {
  margin-top: 10px;
}

.checkout-message {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fffaf2;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.92rem;
}

.checkout-message.good {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #166534;
}

.checkout-message.miss {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.checkout-message strong,
.checkout-message span,
.checkout-message small {
  display: block;
}

.checkout-message strong {
  color: var(--ink);
  font-weight: 950;
}

.checkout-message code {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 0.82rem;
}

.checkout-action-link {
  justify-self: start;
  margin: 4px 0;
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--red);
  color: #fffaf2;
  font-size: 0.76rem;
  font-weight: 900;
}

.purchase-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.purchase-flow-grid article,
.refund-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06);
}

.purchase-flow-grid span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 8px;
  background: var(--red);
  color: #fffaf2;
  font-weight: 950;
}

.purchase-flow-grid h3 {
  margin: 0;
}

.purchase-flow-grid p,
.refund-note p {
  color: var(--muted);
  line-height: 1.55;
}

.purchase-flow-grid em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.refund-note {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.refund-note .secondary-action {
  color: var(--ink);
}

.offline-card p {
  color: rgba(255, 250, 242, 0.75);
  line-height: 1.6;
}

.offline-card .secondary-action {
  background: transparent;
}

.offline-audio-status {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 12px 0 0;
  border: 1px solid rgba(247, 201, 72, 0.42);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(247, 201, 72, 0.12);
  color: #f7c948 !important;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
}

.update-card .offline-audio-status {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8 !important;
}

.email-form {
  max-width: 650px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
}

.offline-section .email-form {
  margin-top: 18px;
}

.email-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.email-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.email-row input {
  min-width: 0;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: #fffaf2;
}

.form-message {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--muted);
}

.payment-result-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06);
}

.payment-result-card.success {
  border-color: #bbf7d0;
  background: #f8fff9;
}

.payment-result-card.neutral {
  background: #fffaf2;
}

.payment-result-card p {
  color: var(--muted);
  line-height: 1.6;
}

.payment-step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
  counter-reset: payment-step;
}

.payment-step-list li {
  min-height: 116px;
  display: grid;
  align-content: start;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  counter-increment: payment-step;
}

.payment-step-list li::before {
  content: counter(payment-step, decimal-leading-zero);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fffaf2;
  font-weight: 950;
}

.payment-step-list strong,
.payment-step-list span {
  display: block;
  line-height: 1.25;
}

.payment-step-list span {
  color: var(--green);
  font-weight: 900;
}

.payment-meta {
  display: grid;
  gap: 6px;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
  color: var(--muted);
  line-height: 1.45;
}

.payment-meta strong,
.payment-meta span,
.payment-meta code {
  display: block;
}

.payment-meta code {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: var(--ink);
  font-size: 0.84rem;
}

.payment-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.payment-next-grid article {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.payment-next-grid strong,
.payment-next-grid span,
.payment-next-grid small,
.payment-status-result small {
  display: block;
  line-height: 1.35;
}

.payment-next-grid strong {
  color: var(--ink);
  font-weight: 950;
}

.payment-next-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.payment-next-grid small,
.payment-status-result small {
  margin-top: 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.payment-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-list {
  columns: 2;
  column-gap: 36px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.8;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.65;
}

.legal-card h3 {
  margin-top: 24px;
}

.legal-card a {
  color: var(--green);
  font-weight: 850;
}

.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 56px auto 26px;
  padding: 18px 0 max(18px, env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  color: var(--ink);
  font-weight: 950;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

.local-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  background: rgba(8, 8, 8, 0.72);
}

.local-modal[hidden] {
  display: none;
}

.local-card {
  width: min(760px, 100%);
  min-height: min(620px, 86vh);
  display: grid;
  align-content: center;
  gap: 22px;
  position: relative;
  padding: 56px 28px 32px;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  text-align: center;
}

.local-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.local-label {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.local-card h2 {
  color: #050505;
  font-size: clamp(3.2rem, 14vw, 7.4rem);
  line-height: 1.08;
  font-weight: 950;
}

.local-card p:last-of-type {
  max-width: 520px;
  margin: 0 auto;
  color: #2d2c2a;
  font-size: clamp(1.05rem, 4vw, 1.5rem);
  font-weight: 800;
}

.local-audio {
  justify-self: center;
  min-width: 160px;
}

.local-audio.looping {
  background: #111827;
}

.floating-help {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 30;
  min-height: 48px;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  padding: 0 16px;
  background: #e11d48;
  color: #fffaf2;
  box-shadow: 0 14px 36px rgba(190, 18, 60, 0.28);
  cursor: pointer;
  font-weight: 950;
}

@media (max-width: 1040px) {
  .journey-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .city-grid,
  .pattern-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .city-body {
    grid-template-columns: 1fr;
  }

  .boundary-head,
  .search-boundary-cards,
  .search-boundary-actions {
    grid-template-columns: 1fr;
  }

  .search-situation-guide {
    grid-template-columns: 1fr;
  }

  .offline-card {
    grid-template-columns: 1fr;
  }

  .pack-hero,
  .pack-value-grid,
  .pack-choice-grid {
    grid-template-columns: 1fr;
  }

  .paid-audio-demo-heading,
  .paid-audio-demo-list,
  .internal-summary-card,
  .internal-metric-grid,
  .unlocked-hub-heading,
  .unlocked-hub-grid,
  .paid-download-heading,
  .paid-download-voice-statuses,
  .paid-download-stats,
  .paid-download-steps,
  .paid-directory-locked,
  .paid-directory-summary,
  .paid-directory-product-head,
  .paid-directory-module-grid {
    grid-template-columns: 1fr;
  }

  .paid-directory-actions {
    justify-content: flex-start;
  }

  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .need-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .free-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .purchase-flow-grid {
    grid-template-columns: 1fr;
  }

  .payment-step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-flow-heading,
  .payment-flow-steps,
  .payment-flow-actions {
    grid-template-columns: 1fr;
  }

  .payment-flow-action-link,
  .checkout-action-link {
    width: 100%;
  }

  .payment-next-grid {
    grid-template-columns: 1fr;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .internal-insights-grid {
    grid-template-columns: 1fr;
  }

  .feedback-grid {
    grid-template-columns: 1fr;
  }

  .update-card,
  .redeem-card,
  .payment-status-card,
  .refund-note {
    grid-template-columns: 1fr;
  }

  .status-pill-list {
    justify-content: flex-start;
  }

  .related-grid,
  .related-tool-grid,
  .popular-grid,
  .locked-grid,
  .missing-feedback-card,
  .route-choice-grid,
  .city-tool-strip,
  .city-tool-summary,
  .city-quick-planner {
    grid-template-columns: 1fr;
  }

  .city-filter-list {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 780px;
  }

  .topbar,
  .hero-content,
  .section,
  .lesson-panel,
  .city-panel {
    width: min(100% - 24px, 1160px);
  }

  .brand span:last-child {
    max-width: 184px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .topbar-actions {
    gap: 8px;
  }

  .voice-toggle {
    min-height: 38px;
    gap: 3px;
    padding: 3px;
  }

  .voice-choice {
    min-width: 54px;
    padding: 4px 7px;
    font-size: 0.76rem;
  }

  .voice-choice small {
    font-size: 0.62rem;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .hero-content {
    padding-bottom: 96px;
  }

  .hero-search {
    grid-template-columns: 1fr;
  }

  .hero-search input {
    font-size: 0.82rem;
    font-weight: 700;
  }

  .hero-search-tools p {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .hero-search-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-city-tools {
    grid-template-columns: 1fr;
  }

  .search-situation-guide {
    padding: 14px;
  }

  .search-situation-guide li {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .search-situation-guide li::before {
    width: 24px;
    height: 24px;
  }

  .missing-feedback-card {
    padding: 14px;
  }

  .missing-feedback-actions .primary-action,
  .missing-feedback-actions .feedback-link {
    width: 100%;
    justify-content: center;
  }

  .journey-grid,
  .city-grid,
  .pattern-grid,
    .tool-grid,
    .quick-grid,
    .need-grid,
    .free-category-grid,
    .food-list,
    .email-row,
    .choice-grid {
    grid-template-columns: 1fr;
  }

  .tool-card.primary-tool {
    grid-column: auto;
  }

  .view-heading {
    grid-template-columns: 1fr;
  }

  .journey-card,
  .city-card {
    min-height: 136px;
  }

  .lesson-header,
  .city-header,
  .phrase-card,
  .food-item,
  .practice-start {
    grid-template-columns: 1fr;
  }

  .phrase-actions {
    grid-template-columns: repeat(3, minmax(44px, 1fr));
  }

  .show-button {
    grid-column: auto;
  }

  .redeem-form {
    grid-template-columns: 1fr;
  }

  .pack-hero {
    padding: 16px;
  }

  .pack-purchase-panel strong {
    font-size: 2.6rem;
  }

  .pack-hero-list {
    display: grid;
  }

  .payment-step-list {
    grid-template-columns: 1fr;
  }

  .paid-directory-stat-grid {
    grid-template-columns: 1fr;
  }

  .topic-list {
    columns: 1;
  }
}
