:root {
  --cream: #fbf2e3;
  --paper: #fff8ec;
  --ink: #321d0f;
  --muted: #7a6046;
  --line: #e6cfae;
  --green: #3f7d36;
  --green-dark: #286126;
  --green-soft: #dcebc6;
  --gold: #f6b63e;
  --orange: #d7832a;
  --red: #e75e4f;
  --blue: #547fc0;
  --shadow: 0 18px 50px rgba(64, 41, 20, 0.18);
}

a {
  color: inherit;
}

.language-switcher {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 20;
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(126, 88, 45, 0.24);
  border-radius: 999px;
  background: rgba(255, 249, 236, 0.88);
  box-shadow: 0 10px 26px rgba(63, 40, 16, 0.12);
  backdrop-filter: blur(12px);
}

.language-switcher button {
  width: 39px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 21px;
}

.language-switcher button.active {
  background: #fff;
  box-shadow: 0 4px 12px rgba(63, 40, 16, 0.14);
}

.blueprint {
  min-height: 100vh;
  padding: 28px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.92), transparent 32%),
    linear-gradient(145deg, #fff9ee 0%, #f3dfbc 45%, #e8efda 100%);
}

.blueprint-hero,
.bp-section,
.bp-grid article {
  max-width: 1160px;
  margin: 0 auto;
}

.blueprint-hero {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: center;
  border-bottom: 1px solid rgba(112, 76, 35, 0.18);
}

.blueprint-hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.95;
  font-family: Georgia, "Times New Roman", serif;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.lead {
  max-width: 710px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 750;
}

.blueprint-hero img {
  width: min(100%, 390px);
  justify-self: center;
  filter: drop-shadow(0 24px 38px rgba(63, 40, 16, 0.18));
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bp-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, #65a653, #2f7431);
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 10px 20px rgba(42, 65, 25, 0.16);
}

.bp-btn.secondary {
  color: var(--ink);
  background: rgba(255, 248, 235, 0.88);
  border: 1px solid var(--line);
  box-shadow: none;
}

.bp-grid {
  max-width: 1160px;
  margin: 28px auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bp-grid article,
.bp-section {
  padding: 24px;
  border: 1px solid rgba(192, 151, 95, 0.42);
  border-radius: 16px;
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 14px 34px rgba(63, 40, 16, 0.06);
}

.bp-section {
  margin-top: 22px;
}

.bp-section h2,
.bp-grid h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.bp-section p,
.bp-grid p,
.bp-section li,
.bp-grid li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
}

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

.system-grid div,
.timeline div,
.roadmap div {
  min-height: 116px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 248, 235, 0.86);
}

.system-grid strong,
.system-grid span {
  display: block;
}

.system-grid strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.system-grid span {
  color: var(--muted);
  line-height: 1.45;
  font-weight: 700;
}

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

.timeline b,
.roadmap b,
.roadmap span {
  display: block;
}

.roadmap span {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.chapter-plan {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.chapter-plan img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.next-list {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .blueprint {
    padding: 16px;
  }

  .blueprint-hero,
  .bp-grid,
  .chapter-plan {
    grid-template-columns: 1fr;
  }

  .blueprint-hero {
    min-height: auto;
    padding-bottom: 24px;
  }

  .system-grid,
  .timeline,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .lead {
    font-size: 18px;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(145deg, #fff9ed 0%, #f3dfbc 48%, #dfe9cb 100%);
  letter-spacing: 0;
}

html[lang="th"] body {
  font-family:
    "Noto Sans Thai", "Thonburi", "Tahoma", Inter, ui-rounded, system-ui, sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.phone {
  width: min(100%, 390px, calc((100vh - 36px) * 190 / 413));
  aspect-ratio: 190 / 413;
  height: auto;
  border: 1px solid rgba(95, 64, 32, 0.2);
  border-radius: 31px;
  background: #fff8ea;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.screen {
  height: 100%;
  overflow: hidden;
}

.view {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  position: relative;
}

.status {
  height: 34px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 0;
  color: rgba(50, 29, 15, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.status-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}

.bar-icon {
  width: 17px;
  height: 9px;
  border: 1.8px solid currentColor;
  border-radius: 3px;
  display: inline-block;
  position: relative;
}

.bar-icon::after {
  content: "";
  width: 2px;
  height: 4px;
  background: currentColor;
  position: absolute;
  right: -4px;
  top: 2px;
  border-radius: 2px;
}

.dots {
  width: 18px;
  height: 11px;
  background:
    radial-gradient(circle at 3px 8px, currentColor 2px, transparent 2.2px),
    radial-gradient(circle at 9px 5px, currentColor 2px, transparent 2.2px),
    radial-gradient(circle at 15px 2px, currentColor 2px, transparent 2.2px);
}

.hero-screen {
  color: #fff;
  overflow: hidden;
}

.splash-premium {
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.92), transparent 27%),
    linear-gradient(180deg, #d9eef8 0%, #fff6e8 46%, #eef4df 100%);
}

.splash-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.sun {
  position: absolute;
  width: 118px;
  height: 118px;
  right: -28px;
  top: 102px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 229, 125, 0.9), rgba(255, 229, 125, 0.15) 62%, transparent 64%);
}

.ridge {
  position: absolute;
  left: -26px;
  right: -26px;
  display: block;
  clip-path: polygon(0 100%, 12% 54%, 23% 76%, 36% 38%, 49% 76%, 63% 30%, 76% 72%, 88% 45%, 100% 78%, 100% 100%);
}

.ridge-back {
  height: 210px;
  top: 186px;
  background: linear-gradient(180deg, rgba(104, 142, 161, 0.26), rgba(235, 237, 219, 0.74));
}

.ridge-mid {
  height: 196px;
  top: 244px;
  background: linear-gradient(180deg, rgba(107, 145, 112, 0.46), rgba(222, 231, 202, 0.9));
}

.ridge-front {
  height: 174px;
  bottom: 0;
  background: linear-gradient(180deg, rgba(97, 135, 74, 0.92), #3f7d36);
  clip-path: polygon(0 100%, 0 52%, 18% 36%, 35% 54%, 49% 28%, 67% 56%, 83% 34%, 100% 52%, 100% 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 38px 23px 24px;
  text-align: center;
}

.splash-content {
  justify-content: flex-end;
  padding: 0 24px 42px;
}

.splash-content-new {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 42px 24px 24px;
  color: var(--ink);
  text-align: center;
}

.logo-lockup {
  margin-top: 24px;
}

.brand {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 14vw, 72px);
  line-height: 0.95;
  font-weight: 900;
  color: #432613;
  text-shadow: 0 3px 0 rgba(255, 244, 217, 0.72);
}

.brand-heart {
  color: #e96c59;
  font-family: inherit;
  font-size: 28px;
  vertical-align: top;
}

.tagline {
  max-width: 260px;
  margin: 10px auto 14px;
  font-size: 15px;
  font-weight: 800;
  color: #4a2b16;
  text-shadow: none;
}

.mascot-card {
  margin-top: auto;
  min-height: 168px;
  padding: 16px;
  display: grid;
  grid-template-columns: 128px 1fr;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(140, 94, 42, 0.26);
  border-radius: 22px;
  background: rgba(255, 249, 236, 0.92);
  box-shadow: 0 18px 34px rgba(55, 35, 15, 0.16);
  text-align: left;
}

.mascot-badge {
  width: 128px;
  height: 128px;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid #fff4d8;
  background: #fff8ea;
  box-shadow: inset 0 -16px 26px rgba(78, 52, 21, 0.08);
}

.mascot-badge img {
  width: 168px;
  height: 168px;
  object-fit: cover;
  object-position: 43% 8%;
  transform: translate(-19px, -7px);
}

.mascot-card strong {
  display: block;
  font-size: 24px;
  font-weight: 950;
}

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

.route-preview {
  margin: 14px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.route-preview > div {
  min-height: 82px;
  padding: 11px;
  border: 1px solid rgba(140, 94, 42, 0.22);
  border-radius: 16px;
  background: rgba(255, 248, 235, 0.9);
  text-align: left;
}

.route-icon {
  display: block;
  margin-bottom: 5px;
  font-size: 24px;
}

.route-preview strong,
.route-preview small {
  display: block;
}

.route-preview strong {
  font-size: 13px;
  font-weight: 950;
}

.route-preview small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.primary-btn,
.green-btn,
.gold-btn,
.soft-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  min-height: 52px;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(42, 65, 25, 0.16);
}

.primary-btn,
.gold-btn {
  color: #37210f;
  background: linear-gradient(180deg, #ffe582, #f6b73e);
}

.green-btn {
  color: #fff;
  background: linear-gradient(180deg, #65a653, #2f7431);
}

.soft-btn {
  color: var(--ink);
  background: rgba(255, 248, 235, 0.9);
  border: 1px solid var(--line);
  box-shadow: none;
}

.login-line {
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: #fff9df;
}

.topbar {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 4px;
  padding: 12px 16px 8px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.title {
  margin: 0;
  text-align: center;
  font-size: 20px;
  line-height: 1.18;
  font-weight: 900;
}

.subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.scroll {
  flex: 1;
  overflow-y: auto;
  padding: 8px 18px 18px;
}

.options {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.choice {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1.4px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 252, 245, 0.88);
  text-align: left;
  box-shadow: 0 6px 14px rgba(66, 40, 14, 0.04);
}

.choice.selected {
  border-color: var(--green);
  background: linear-gradient(180deg, #f3f8d9, #fff7e7);
}

.choice-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #f7ead2;
  font-size: 27px;
}

.choice strong {
  display: block;
  font-size: 14px;
}

.choice span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  font-size: 13px;
}

.pager {
  margin-top: auto;
  padding: 8px 0 0;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.pager i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8bc90;
}

.pager i.active {
  background: var(--green);
}

.meet {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(38, 59, 29, 0.45)),
    url("./assets/chapter-1.png") center left / cover;
}

.speech {
  width: 244px;
  min-height: 176px;
  margin: 0 auto 18px;
  padding: 30px 20px;
  display: grid;
  place-items: center;
  background: rgba(255, 249, 236, 0.95);
  border-radius: 46% 54% 49% 51% / 39% 43% 57% 61%;
  text-align: center;
  font-weight: 850;
  line-height: 1.45;
  box-shadow: 0 10px 24px rgba(42, 29, 16, 0.2);
}

.bear-full {
  width: 178px;
  height: 178px;
  margin: 0 auto 12px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 4% 6%;
  box-shadow: 0 18px 30px rgba(45, 30, 14, 0.18);
}

.map-view {
  background: linear-gradient(180deg, #e6f1d9, #fff5e5);
}

.hotspot {
  position: absolute;
  border: 0;
  background: transparent;
  color: transparent;
  box-shadow: none;
}

.hotspot:focus-visible {
  outline: 3px solid rgba(63, 125, 54, 0.7);
  outline-offset: 2px;
}

.hot-daily {
  left: 6%;
  top: 26%;
  width: 32%;
  height: 11%;
}

.hot-pass {
  left: 6%;
  top: 40%;
  width: 32%;
  height: 7%;
}

.hot-shop {
  left: 6%;
  top: 49%;
  width: 32%;
  height: 8%;
}

.hot-mission {
  right: 8%;
  top: 19%;
  width: 36%;
  height: 9%;
}

.hot-berlin {
  right: 8%;
  top: 39%;
  width: 33%;
  height: 9%;
}

.hot-nav-map {
  left: 2%;
  bottom: 0;
  width: 19%;
  height: 10%;
}

.hot-nav-quests {
  left: 21%;
  bottom: 0;
  width: 19%;
  height: 10%;
}

.hot-nav-learn {
  left: 40%;
  bottom: 0;
  width: 19%;
  height: 10%;
}

.hot-nav-speak {
  left: 59%;
  bottom: 0;
  width: 19%;
  height: 10%;
}

.hot-nav-profile {
  left: 78%;
  bottom: 0;
  width: 20%;
  height: 10%;
}

.hud {
  margin: 0 10px 6px;
  min-height: 42px;
  padding: 7px;
  display: grid;
  grid-template-columns: 62px 1fr 34px;
  align-items: center;
  gap: 7px;
  border-radius: 18px;
  background: rgba(255, 249, 236, 0.92);
  box-shadow: 0 8px 20px rgba(54, 40, 20, 0.12);
}

.avatar {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 900;
}

.avatar img {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 7% 6%;
}

.stats {
  display: flex;
  justify-content: space-around;
  gap: 4px;
  font-size: 12px;
  font-weight: 900;
}

.map-stage {
  flex: 1;
  position: relative;
  margin: 0 10px 8px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(76, 48, 20, 0.16);
  background:
    radial-gradient(circle at 78% 32%, rgba(255, 238, 159, 0.72), transparent 20%),
    linear-gradient(180deg, #8cc8e6 0%, #bfe0c3 27%, #83a957 62%, #446b36 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.map-sky {
  position: absolute;
  inset: 0 0 68% 0;
  background:
    radial-gradient(circle at 18% 36%, rgba(255, 255, 255, 0.86) 0 18px, transparent 19px),
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.78) 0 24px, transparent 25px),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.78) 0 28px, transparent 29px),
    linear-gradient(180deg, #83bee3, #cfe9f4);
}

.map-sea {
  position: absolute;
  left: -30px;
  top: 70px;
  width: 178px;
  height: 132px;
  border-radius: 0 0 70% 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 35%),
    linear-gradient(135deg, #3f9cc0, #1d6885);
  box-shadow: inset -16px -12px 0 rgba(22, 88, 89, 0.16);
}

.map-mountains {
  position: absolute;
  left: -16px;
  right: -16px;
  bottom: 0;
  height: 198px;
  background:
    linear-gradient(145deg, transparent 0 35%, rgba(255, 255, 255, 0.92) 35% 41%, transparent 42%),
    linear-gradient(35deg, transparent 0 46%, rgba(255, 255, 255, 0.8) 46% 51%, transparent 52%),
    linear-gradient(180deg, #729b6a, #2d5c36);
  clip-path: polygon(0 100%, 10% 54%, 20% 78%, 35% 32%, 48% 72%, 61% 42%, 73% 82%, 86% 35%, 100% 74%, 100% 100%);
  opacity: 0.92;
}

.map-forest {
  position: absolute;
  inset: 156px -12px 58px -12px;
  background:
    radial-gradient(circle at 10% 14%, #315f34 0 10px, transparent 11px),
    radial-gradient(circle at 20% 30%, #3f733e 0 12px, transparent 13px),
    radial-gradient(circle at 42% 24%, #315f34 0 12px, transparent 13px),
    radial-gradient(circle at 62% 38%, #3f733e 0 14px, transparent 15px),
    radial-gradient(circle at 78% 18%, #315f34 0 11px, transparent 12px),
    radial-gradient(circle at 92% 40%, #4f8146 0 13px, transparent 14px);
  opacity: 0.85;
}

.map-path {
  position: absolute;
  inset: 78px 67px 74px 142px;
  border-left: 9px dashed rgba(255, 248, 225, 0.98);
  border-bottom: 9px dashed rgba(255, 248, 225, 0.98);
  border-radius: 52% 0 0 58%;
  transform: rotate(-12deg);
  filter: drop-shadow(0 2px 2px rgba(54, 34, 13, 0.3));
}

.map-road {
  position: absolute;
  inset: 70px 42px 56px 125px;
  border-left: 7px dotted rgba(255, 246, 216, 0.96);
  border-radius: 50%;
  transform: rotate(-13deg);
  filter: drop-shadow(0 2px 1px rgba(67, 38, 13, 0.25));
  display: none;
}

.side-menu {
  position: absolute;
  top: 92px;
  left: 10px;
  display: grid;
  gap: 8px;
  width: 98px;
}

.side-menu button {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(117, 76, 33, 0.24);
  border-radius: 9px;
  background: rgba(255, 248, 231, 0.94);
  color: #392210;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 6px 12px rgba(55, 34, 12, 0.12);
  position: relative;
  z-index: 3;
}

.side-menu span {
  flex: 1;
}

.side-menu small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.map-node {
  position: absolute;
  min-width: 92px;
  min-height: 36px;
  padding: 8px 11px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(180deg, #724822, #4a2b15);
  color: #fff5d8;
  font-weight: 900;
  box-shadow: 0 8px 14px rgba(42, 26, 12, 0.22);
  z-index: 3;
}

.map-node.locked {
  background: linear-gradient(180deg, #6c6b5e, #49483e);
}

.node-1 {
  right: 25px;
  top: 96px;
}

.node-2 {
  right: 76px;
  top: 213px;
}

.node-3 {
  right: 24px;
  top: 328px;
}

.node-4 {
  right: 58px;
  bottom: 105px;
}

.node-5 {
  right: 110px;
  bottom: 38px;
}

.bottom-nav {
  height: 70px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 7px 8px 9px;
  border-top: 1px solid rgba(177, 133, 78, 0.28);
  background: rgba(255, 248, 235, 0.96);
}

.bottom-nav button {
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #442815;
  display: grid;
  place-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 900;
}

.bottom-nav button.active {
  background: #f6dfb5;
}

.nav-ico {
  font-size: 22px;
  line-height: 1;
}

.mission-hero {
  min-height: 248px;
  margin: -8px -18px 14px;
  padding: 158px 18px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(55, 39, 20, 0.4)),
    url("./assets/chapter-1.png") center left 8% / cover;
  border-radius: 0 0 18px 18px;
  position: relative;
}

.mission-bubble {
  width: 184px;
  min-height: 84px;
  margin-left: auto;
  padding: 15px;
  border-radius: 48% 52% 48% 52% / 44% 42% 58% 56%;
  background: rgba(255, 249, 236, 0.96);
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(40, 27, 13, 0.16);
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 250, 241, 0.9);
  box-shadow: 0 8px 18px rgba(63, 40, 16, 0.06);
}

.mission-card {
  padding: 14px;
  display: grid;
  gap: 14px;
}

.section-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 950;
}

.list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
  font-size: 13px;
  font-weight: 750;
}

.reward-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.reward {
  min-height: 50px;
  display: grid;
  place-items: center;
  padding: 7px;
  border-radius: 12px;
  background: #fff2d4;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.lesson-shell {
  background: #fff8ec;
}

.progress-head {
  padding: 8px 18px 6px;
}

.lesson-progress {
  height: 5px;
  border-radius: 999px;
  background: #ead6b8;
  overflow: hidden;
}

.lesson-progress span {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--green);
}

.lesson-count {
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 850;
}

.prompt {
  margin: 18px 0 14px;
  font-size: 15px;
  font-weight: 900;
}

.answer-grid {
  display: grid;
  gap: 11px;
}

.answer {
  min-height: 56px;
  padding: 12px;
  border: 1.4px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 252, 245, 0.9);
  text-align: left;
  font-size: 14px;
  font-weight: 850;
}

.answer.good {
  border-color: #80a654;
  background: #eef7d8;
}

.listen-card {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  font-size: 15px;
  font-weight: 950;
}

.speaker {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1dfc0;
}

.coach {
  margin-top: auto;
  min-height: 66px;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.coach img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 7% 6%;
}

.coach p {
  margin: 0;
  font-size: 12px;
  font-weight: 850;
}

.match-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 18px;
  position: relative;
}

.match-board::before,
.match-board::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: 170px;
  background: var(--green);
  top: 18px;
  transform-origin: top;
  border-radius: 4px;
}

.match-board::before {
  transform: rotate(-24deg);
}

.match-board::after {
  transform: rotate(22deg);
}

.match-col {
  display: grid;
  gap: 17px;
}

.match-chip,
.word-chip,
.drop {
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1.3px solid var(--line);
  border-radius: 10px;
  background: #fff4df;
  font-weight: 850;
  text-align: center;
  font-size: 13px;
}

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

.drop {
  background: #f3e2ca;
  border-style: dashed;
}

.word-chip.filled,
.drop.filled {
  background: #fff9ee;
}

.speak-center {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
}

.sentence {
  font-size: 24px;
  font-weight: 950;
  margin: 0 0 34px;
}

.mic {
  width: 126px;
  height: 126px;
  border: 1.4px solid #b9ca8d;
  border-radius: 50%;
  background: radial-gradient(circle, #f7ffe1, #dfeabb);
  display: grid;
  place-items: center;
  font-size: 58px;
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.45);
}

.dialogue {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.chat-row {
  display: flex;
  gap: 9px;
  align-items: end;
}

.chat-row.me {
  justify-content: flex-end;
}

.chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dfe5d7;
  font-size: 24px;
}

.chat-row img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 7% 6%;
}

.bubble {
  max-width: 206px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff6e5;
  font-weight: 800;
  font-size: 13px;
}

.me .bubble {
  background: #e0ebc2;
}

.complete {
  text-align: center;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 16%, #f0c150 2px, transparent 3px),
    radial-gradient(circle at 82% 19%, #7eb2d0 2px, transparent 3px),
    radial-gradient(circle at 67% 44%, #e0795e 2px, transparent 3px),
    #fff8ec;
}

.complete h1 {
  margin: 24px 0 16px;
  font-size: 32px;
}

.complete-bear {
  width: 174px;
  height: 174px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 4% 6%;
}

.reward-list {
  margin: 18px 0;
  padding: 4px 14px;
  text-align: left;
}

.reward-line {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid rgba(210, 181, 137, 0.65);
  font-weight: 900;
}

.page-head {
  padding: 14px 18px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-head h1 {
  margin: 0;
  font-size: 24px;
}

.pass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stamp {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff3dc;
  color: var(--blue);
  text-align: center;
  font-weight: 950;
}

.stamp.lock {
  color: #9d8b72;
  background: #ead8bd;
}

.profile-top {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 14px;
  align-items: center;
  margin: 4px 0 16px;
}

.profile-top img {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 4% 6%;
}

.xpbar {
  height: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: #ead7ba;
}

.xpbar span {
  display: block;
  width: 64%;
  height: 100%;
  background: linear-gradient(90deg, #697fd0, #f3b134);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.mini-stat {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 850;
}

.mini-stat strong {
  display: block;
  font-size: 22px;
}

.quest-row,
.shop-grid {
  display: grid;
  gap: 11px;
}

.quest-item {
  min-height: 60px;
  display: grid;
  grid-template-columns: 42px 1fr 34px;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

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

.shop-card {
  min-height: 142px;
  padding: 13px;
  display: grid;
  align-content: center;
  place-items: center;
  gap: 9px;
  text-align: center;
  font-weight: 900;
}

.shop-art {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #f6e1bd;
  font-size: 36px;
}

.chapter-card {
  overflow: hidden;
}

.chapter-art {
  min-height: 174px;
  padding: 88px 16px 18px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(44, 34, 16, 0.5)),
    url("./assets/chapter-1.png") center left / cover;
}

.chapter-art h2 {
  margin: 0;
  font-size: 28px;
}

.quest-list {
  padding: 12px;
}

.chapter-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: 42px 1fr 48px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(221, 191, 144, 0.68);
}

.num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #66924a;
  font-weight: 950;
}

.stars {
  color: var(--gold);
  font-size: 13px;
}

.real-life {
  display: grid;
  gap: 12px;
}

.phrase {
  padding: 12px;
}

.phrase strong {
  display: block;
  margin-bottom: 4px;
}

.phrase span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

@media (max-width: 430px) {
  .app-shell {
    padding: 0;
  }

  .phone {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
  }
}

@media (max-height: 760px) {
  .tagline {
    margin-bottom: 120px;
  }

  .mission-hero {
    min-height: 210px;
    padding-top: 122px;
  }
}
