:root {
  --ink: #332a38;
  --ink-muted: #655b67;
  --paper: #fff9ed;
  --paper-shadow: #f4e7d2;
  --orange: #ff815c;
  --orange-dark: #c84a2a;
  --yellow: #ffdc76;
  --pink: #ffc3d9;
  --blue: #a8e0ec;
  --mint: #b5e8cf;
  --lilac: #d3c4f6;
  --cream: #fffdf6;
  --line: rgba(65, 47, 60, 0.15);
  --font-body: "Nunito", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-play: "ZCOOL KuaiLe", "Fredoka", "YouYuan", "幼圆", "HanziPen SC", "Kaiti SC", "STKaiti", "KaiTi", "楷体", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-accent: "Fredoka", "Nunito", "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  --spring: cubic-bezier(0.23, 1.45, 0.53, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #dbeee9;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; cursor: pointer; }
button:focus-visible, a:focus-visible, [tabindex="-1"]:focus-visible {
  outline: 3px solid #1a6b92;
  outline-offset: 4px;
}
button:disabled { cursor: default; }
::selection { background: var(--yellow); color: var(--ink); }

.desk {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 13% 16%, rgba(255, 188, 135, .48) 0 7%, transparent 7.2%),
    radial-gradient(circle at 88% 79%, rgba(160, 208, 247, .46) 0 10%, transparent 10.2%),
    radial-gradient(circle at 76% 8%, rgba(252, 197, 222, .6) 0 3.5%, transparent 3.7%),
    linear-gradient(145deg, #dfefdf, #e5e1f3 57%, #fbe4d9);
}

.desk-doodle {
  position: absolute;
  border: 3px solid rgba(51, 42, 56, .22);
  transform: rotate(-18deg);
}
.desk-doodle--one { width: 124px; height: 124px; left: 9%; top: 45%; border-radius: 38% 62% 50% 50%; }
.desk-doodle--two { width: 120px; height: 32px; right: 8%; top: 25%; border-radius: 50%; transform: rotate(34deg); }

.app-shell {
  width: min(100%, 460px);
  min-height: 100dvh;
  margin: 0 auto;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 5%, rgba(255, 211, 137, .3) 0 10%, transparent 10.2%),
    radial-gradient(circle at 3% 69%, rgba(181, 232, 207, .3) 0 12%, transparent 12.2%),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(84, 71, 74, .035) 29px 30px),
    var(--paper);
  box-shadow: 0 24px 65px rgba(45, 44, 61, .23);
  overflow: hidden;
}

.app-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 11px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 24px, var(--yellow) 24px 49px, var(--mint) 49px 74px, var(--lilac) 74px 99px);
  z-index: 8;
}

.screen {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: calc(25px + env(safe-area-inset-top, 0px)) 24px calc(27px + env(safe-area-inset-bottom, 0px));
  position: relative;
  animation: screenIn .34s ease-out both;
}

.screen::before, .screen::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.screen::before {
  width: 100px;
  height: 100px;
  border: 2px dashed rgba(132, 110, 131, .13);
  border-radius: 50%;
  right: -48px;
  top: 100px;
}

.screen::after {
  width: 130px;
  height: 42px;
  border-top: 3px solid rgba(76, 169, 172, .15);
  border-radius: 50%;
  left: -60px;
  bottom: 110px;
  transform: rotate(-24deg);
}

.screen.is-leaving { animation: screenOut .18s ease-in both; }
.screen.is-leaving .wood-board { animation: boardExit .18s ease-in both; }
.screen.is-leaving .choice-note:first-child { animation: noteExitLeft .18s ease-in both; }
.screen.is-leaving .choice-note:last-child { animation: noteExitRight .18s ease-in both; }

.topbar, .question-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-play);
  font-size: 18px;
  letter-spacing: .02em;
  white-space: nowrap;
}

.brand svg { width: 29px; height: 29px; flex: none; }

.top-tag, .stamp, .step-eyebrow, .mini-label {
  font-family: var(--font-play);
  letter-spacing: .05em;
}

.top-tag {
  border: 2px solid var(--ink);
  background: var(--yellow);
  padding: 3px 10px;
  border-radius: 14px 10px 15px 9px;
  transform: rotate(3deg);
  white-space: nowrap;
  font-size: 12px;
  box-shadow: 2px 3px 0 var(--ink);
}

.icon-button {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  flex: none;
  border: 2px solid var(--ink);
  border-radius: 14px 12px 15px 11px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 2px 3px 0 var(--ink);
  transition: transform .18s var(--spring), box-shadow .18s ease;
}

.icon-button svg { width: 21px; height: 21px; }
.icon-button:active { transform: translate(2px, 3px); box-shadow: 0 0 0 var(--ink); }

.welcome-content { flex: 1; display: flex; flex-direction: column; }
.eyebrow-wrap { margin-top: 38px; display: flex; align-items: center; gap: 8px; }
.eyebrow-line { width: 40px; height: 4px; border-radius: 100%; background: var(--orange); transform: rotate(-8deg); }
.eyebrow-text { font-family: var(--font-play); font-size: 14px; color: var(--orange-dark); }

.hero-title {
  position: relative;
  z-index: 1;
  max-width: 400px;
  margin: 12px 0 0;
  font-family: var(--font-play);
  font-weight: 400;
  font-size: clamp(40px, 11vw, 60px);
  line-height: 1.16;
  letter-spacing: .015em;
  text-wrap: balance;
}

.hero-title .marker { position: relative; z-index: 0; white-space: nowrap; }
.hero-title .marker::before {
  content: "";
  position: absolute;
  inset: 52% -6px 2px;
  z-index: -1;
  transform: rotate(-3deg);
  border-radius: 60% 35% 48% 40%;
  background: var(--yellow);
}

.hero-visual { width: 100%; height: clamp(215px, 31dvh, 295px); margin: 17px 0 8px; position: relative; }
.hero-visual svg { width: 100%; height: 100%; overflow: visible; }
.hero-visual .orbit { transform-origin: center; animation: orbitDraw 1.2s ease-out both; }
.hero-visual .star-left { animation: pop .5s .35s var(--spring) both; transform-origin: center; }
.hero-visual .star-right { animation: pop .5s .52s var(--spring) both; transform-origin: center; }

.welcome-bottom { margin-top: auto; padding-top: 11px; }
.main-cta, .secondary-cta {
  min-height: 58px;
  border: 2px solid var(--ink);
  border-radius: 18px 15px 19px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-play);
  font-size: 20px;
  line-height: 1.2;
  color: var(--ink);
  box-shadow: 4px 5px 0 var(--ink);
  transition: transform .18s var(--spring), box-shadow .18s ease, filter .18s ease;
}

.main-cta { background: var(--orange); width: 100%; padding: 12px 20px; }
.secondary-cta { background: var(--cream); padding: 10px 20px; }
.main-cta svg, .secondary-cta svg { width: 21px; height: 21px; flex: none; }
.main-cta:hover, .secondary-cta:hover { filter: brightness(1.03); transform: translateY(-2px) rotate(-.5deg); }
.main-cta:active, .secondary-cta:active { transform: translate(3px, 4px) scale(.99); box-shadow: 1px 1px 0 var(--ink); }
.page-head { margin-top: 27px; }
.page-title { font-family: var(--font-play); font-size: clamp(30px, 7.8vw, 40px); line-height: 1.28; font-weight: 400; margin: 12px 0 0; text-wrap: balance; }
.scribble-underline { width: 110px; height: 10px; border-top: 4px solid var(--orange); border-radius: 50%; transform: rotate(-4deg); margin-top: 6px; }

.route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 13px; margin: 26px 0 24px; }
.route-note {
  min-width: 0;
  min-height: 154px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 19px 12px 13px;
  position: relative;
  color: var(--ink);
  background: var(--note-color, var(--yellow));
  border: 2px solid var(--ink);
  border-radius: 13px 18px 12px 16px;
  box-shadow: 3px 4px 0 var(--ink);
  transform: rotate(var(--tilt, -1deg));
  transition: transform .22s var(--spring), box-shadow .22s ease, filter .22s ease;
  animation: noteStack .52s var(--spring) both;
  animation-delay: calc(var(--order, 0) * 45ms);
}

.route-note::before, .choice-note::before {
  content: "";
  position: absolute;
  width: 48px;
  height: 17px;
  background: rgba(255, 255, 255, .58);
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-5deg);
  border-left: 1px dashed rgba(45, 38, 46, .24);
  border-right: 1px dashed rgba(45, 38, 46, .24);
}

.route-note:nth-child(even)::before { transform: translateX(-50%) rotate(7deg); }
.route-note:hover { transform: translateY(-5px) rotate(0deg); box-shadow: 4px 8px 0 var(--ink); }
.route-note:active { transform: translate(2px, 3px) rotate(0deg) scale(.98); box-shadow: 1px 1px 0 var(--ink); }
.route-note:nth-child(7) { grid-column: span 2; min-height: 118px; }
.route-note:nth-child(7) .route-note-copy { max-width: 260px; }
.route-icon { width: 31px; height: 31px; margin: 1px 0 6px; }
.route-note-title { font-family: var(--font-play); font-size: 19px; line-height: 1.2; }
.route-note-copy { font-size: 12.5px; line-height: 1.48; margin-top: 6px; font-weight: 700; }
.route-note-arrow { position: absolute; right: 11px; top: 12px; font-family: var(--font-accent); font-weight: 700; font-size: 16px; }
.intro-paper {
  position: relative;
  margin-top: 33px;
  padding: 30px 25px 28px;
  background: var(--route-color, var(--yellow));
  border: 3px solid var(--ink);
  border-radius: 26px 21px 27px 20px;
  box-shadow: 7px 8px 0 var(--ink);
  transform: rotate(-1deg);
  animation: boardDrop .56s var(--spring) both;
}

.intro-paper::before { content: ""; position: absolute; width: 80px; height: 22px; left: calc(50% - 40px); top: -13px; background: rgba(255, 255, 255, .68); transform: rotate(3deg); }
.intro-illustration { height: 108px; display: grid; place-items: center; }
.intro-illustration svg { width: 95px; height: 95px; stroke-width: 1.8; }
.intro-title { margin: 8px 0 0; font-family: var(--font-play); font-size: 34px; font-weight: 400; text-align: center; }
.intro-quote { margin: 15px 0 0; font-family: var(--font-play); font-size: 23px; line-height: 1.5; text-align: center; }
.intro-scene { margin: 22px 0 0; border-top: 2px dashed rgba(51, 42, 56, .4); padding-top: 18px; font-size: 16px; line-height: 1.8; }
.intro-bottom { margin-top: auto; padding-top: 39px; }

.progress-topline { margin-top: 21px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.progress-current { font-family: var(--font-play); font-size: clamp(18px, 5vw, 22px); line-height: 1.2; }
.progress-count { font-family: var(--font-accent); font-size: 18px; font-weight: 700; letter-spacing: .05em; color: var(--ink-muted); }
.progress-track { margin-top: 15px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.progress-segment { height: 10px; background: #ecddc9; border: 1.5px solid var(--ink); border-radius: 999px; transform: rotate(-2deg); }
.progress-segment:nth-child(even) { transform: rotate(2deg); }
.progress-segment.filled { background: var(--orange); }
.progress-segment.current { background: var(--yellow); box-shadow: 1px 2px 0 var(--ink); }
.chapter-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 21px; }
.chapter-age { color: var(--ink-muted); font-size: 13px; font-weight: 800; }

.wood-board {
  --board-top: #f7b69a;
  --board-bottom: #e8927c;
  position: relative;
  margin-top: 21px;
  padding: 31px 25px 30px;
  border: 3px solid var(--ink);
  border-radius: 19px 26px 18px 22px / 23px 18px 24px 17px;
  background:
    radial-gradient(ellipse 21px 8px at 23% 27%, transparent 35%, rgba(76, 47, 45, .16) 39% 52%, transparent 57%),
    radial-gradient(ellipse 32px 9px at 77% 70%, transparent 36%, rgba(76, 47, 45, .14) 40% 50%, transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 43px, rgba(86, 53, 47, .12) 44px 46px, rgba(255, 255, 255, .14) 47px 51px),
    repeating-linear-gradient(8deg, transparent 0 8px, rgba(72, 43, 34, .035) 9px 10px),
    linear-gradient(145deg, var(--board-top), var(--board-bottom));
  box-shadow: 6px 7px 0 var(--ink), inset 0 4px 9px rgba(255,255,255,.32), inset 0 -5px 8px rgba(83, 48, 43, .13);
  transform: rotate(-.7deg);
  animation: boardDrop .62s var(--spring) both;
}
.wood-board::before, .wood-board::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid rgba(63, 47, 47, .65);
  background: radial-gradient(circle at 35% 35%, #fff7d1, #8c706a 75%);
  top: 14px;
}
.wood-board::before { left: 15px; }
.wood-board::after { right: 15px; }
.board-corner { position: absolute; width: 35px; height: 19px; border-top: 3px solid rgba(49, 40, 52, .42); border-radius: 50%; right: 24px; bottom: 19px; transform: rotate(-16deg); }
.board-title { font-family: var(--font-play); font-size: clamp(25px, 6vw, 31px); font-weight: 400; line-height: 1.32; margin: 0; text-wrap: balance; }
.board-body { font-size: 17px; font-weight: 700; line-height: 1.78; margin: 17px 0 0; }
.choice-list { display: grid; gap: 15px; margin-top: 23px; }
.choice-note {
  position: relative;
  width: 100%;
  min-height: 107px;
  border: 2px solid var(--ink);
  border-radius: 15px 21px 15px 18px / 19px 14px 20px 14px;
  text-align: left;
  padding: 21px 18px 15px 63px;
  color: var(--ink);
  background: var(--choice-color, var(--yellow));
  box-shadow: 4px 5px 0 var(--ink);
  transition: transform .2s var(--spring), box-shadow .2s ease, filter .2s ease;
  animation: noteFly .58s var(--spring) both;
}
.choice-note:first-child { --note-rotation: -1.1deg; --note-from: -65px; animation-delay: .12s; }
.choice-note:last-child { --note-rotation: 1deg; --note-from: 65px; animation-delay: .22s; }
.choice-note:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 5px 9px 0 var(--ink); }
.choice-note:active, .choice-note.picked { transform: rotate(0deg) translate(2px, 3px) scale(.985); box-shadow: 1px 1px 0 var(--ink); }
.choice-letter { position: absolute; top: 27px; left: 16px; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50% 42% 48% 43%; background: rgba(255,255,255,.56); font-family: var(--font-accent); font-size: 18px; font-weight: 700; transform: rotate(-7deg); }
.choice-title { display: block; font-family: var(--font-play); font-size: 20px; line-height: 1.28; }
.choice-detail { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; font-weight: 700; }

.end-hero { margin-top: 25px; padding: 28px 22px 26px; border: 3px solid var(--ink); border-radius: 23px 18px 27px 19px; background: var(--route-color, var(--yellow)); box-shadow: 6px 7px 0 var(--ink); transform: rotate(-1deg); animation: boardDrop .58s var(--spring) both; }
.end-hero h1 { font-family: var(--font-play); font-size: 36px; line-height: 1.25; margin: 0; font-weight: 400; }
.end-section { margin-top: 29px; }
.section-heading { display: flex; align-items: center; gap: 10px; margin: 0 0 13px; font-family: var(--font-play); font-size: 23px; font-weight: 400; }
.section-heading::before { content: ""; width: 17px; height: 17px; border: 3px solid var(--orange); border-radius: 45% 55% 36% 60%; transform: rotate(20deg); flex: none; }
.story-paper { padding: 20px 19px; background: var(--cream); border: 2px solid var(--ink); border-radius: 17px 21px 16px 22px; box-shadow: 3px 4px 0 var(--ink); }
.story-paper p { margin: 0 0 13px; font-size: 15px; line-height: 1.78; }
.story-paper p:last-child { margin-bottom: 0; }
.ledger { display: grid; gap: 13px; }
.ledger-card { border: 2px solid var(--ink); border-radius: 15px 20px 14px 18px; padding: 17px 17px 15px; box-shadow: 3px 4px 0 var(--ink); }
.ledger-card.gained { --card-angle: -.4deg; background: #d8efdb; transform: rotate(var(--card-angle)); }
.ledger-card.lost { --card-angle: .4deg; background: #ffe2de; transform: rotate(var(--card-angle)); }
.ledger-card h3 { font-family: var(--font-play); font-size: 18px; font-weight: 400; margin: 0 0 8px; }
.ledger-card ul { margin: 0; padding-left: 20px; }
.ledger-card li { margin: 5px 0; font-size: 14px; line-height: 1.55; }
.match-note { background: var(--yellow); border: 2px solid var(--ink); border-radius: 17px 21px 13px 17px; padding: 18px; box-shadow: 3px 4px 0 var(--ink); }
.match-state { font-family: var(--font-play); font-size: 23px; line-height: 1.3; }
.journey-list { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px dashed rgba(51,42,56,.45); }
.journey-item { position: relative; padding: 0 0 21px 16px; }
.journey-item:last-child { padding-bottom: 0; }
.journey-item::before { content: ""; position: absolute; left: -20px; top: 3px; width: 10px; height: 10px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); }
.journey-item:nth-child(2)::before { background: var(--pink); }
.journey-item:nth-child(3)::before { background: var(--blue); }
.journey-item:nth-child(4)::before { background: var(--mint); }
.journey-item:nth-child(5)::before { background: var(--lilac); }
.journey-item strong { font-family: var(--font-play); font-size: 16px; font-weight: 400; }
.journey-item p { margin: 4px 0 0; font-size: 13px; color: var(--ink-muted); line-height: 1.58; }
.reflection { font-family: var(--font-play); font-size: 19px; line-height: 1.55; padding: 18px 20px; margin: 0; border-left: 5px solid var(--orange); background: #fff0d5; border-radius: 0 13px 17px 0; }
.ending-actions { display: grid; gap: 14px; margin-top: 28px; padding-bottom: 15px; }
.ending-actions .secondary-cta { width: 100%; }
.feedback { min-height: 22px; margin: 0; text-align: center; color: var(--ink-muted); font-size: 13px; }
.summary-preview { display: grid; gap: 11px; padding: 13px; border: 2px solid var(--ink); border-radius: 19px; background: #fffdf6; box-shadow: 4px 5px 0 var(--ink); }
.summary-preview[hidden] { display: none; }
.summary-preview img { display: block; width: 100%; height: auto; border: 1px solid rgba(51,42,56,.3); border-radius: 11px; -webkit-touch-callout: default; user-select: auto; }
.summary-preview p { margin: 0; text-align: center; font-family: var(--font-play); font-size: 18px; line-height: 1.5; }
.summary-preview a { min-height: 44px; display: grid; place-items: center; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 12px; color: var(--ink); background: var(--yellow); font-size: 14px; font-weight: 800; text-align: center; text-decoration: none; }
.summary-preview a:active { background: var(--pink); }

.screen.is-entering .topbar,
.screen.is-entering .eyebrow-wrap,
.screen.is-entering .hero-title,
.screen.is-entering .page-head,
.screen.is-entering .hero-visual,
.screen.is-entering .welcome-bottom,
.screen.is-entering .progress-topline,
.screen.is-entering .progress-track,
.screen.is-entering .chapter-meta,
.screen.is-entering .intro-bottom,
.screen.is-entering .ending-actions {
  animation: paperDrift .42s ease-out both;
}
.screen.is-entering .end-section {
  animation: paperDrift .42s ease-out both;
}
.screen.is-entering .story-paper,
.screen.is-entering .ledger-card,
.screen.is-entering .match-note,
.screen.is-entering .reflection {
  animation: cardRise .36s ease-out both;
  animation-delay: var(--card-delay, 0ms);
}
.writing-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(.12em) rotate(-3deg);
  transform-origin: left bottom;
  animation: handwriting .12s cubic-bezier(.2, .72, .25, 1) both;
  animation-delay: calc(var(--writing-start, 0ms) + var(--line-index, 0) * 32ms + var(--letter-index, 0) * 8ms);
}

.no-script { max-width: 420px; margin: 40px auto; padding: 20px; background: var(--paper); font-family: var(--font-body); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@keyframes screenIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes paperDrift { from { transform: translateY(15px) scale(.985); } to { transform: translateY(0) scale(1); } }
@keyframes cardRise { from { opacity: 0; transform: translateY(14px) rotate(var(--card-angle, 0deg)) scale(.985); } to { opacity: 1; transform: rotate(var(--card-angle, 0deg)) scale(1); } }
@keyframes handwriting { to { opacity: 1; transform: translateY(0) rotate(0deg); } }
@keyframes screenOut { to { opacity: 0; transform: translateY(-11px) scale(.985); } }
@keyframes boardExit { to { opacity: 0; transform: translateY(-28px) rotate(4deg) scale(.94); } }
@keyframes noteExitLeft { to { opacity: 0; transform: translateX(-45px) rotate(-8deg) scale(.92); } }
@keyframes noteExitRight { to { opacity: 0; transform: translateX(45px) rotate(8deg) scale(.92); } }
@keyframes boardDrop { from { opacity: 0; transform: translateY(-55px) rotate(5deg) scale(.9); } 62% { opacity: 1; } to { opacity: 1; transform: translateY(0) rotate(-.7deg) scale(1); } }
@keyframes noteFly { from { opacity: 0; transform: translateX(var(--note-from)) translateY(26px) rotate(10deg) scale(.82); } to { opacity: 1; transform: translateX(0) translateY(0) rotate(var(--note-rotation)) scale(1); } }
@keyframes noteStack { from { opacity: 0; transform: translateY(38px) rotate(6deg) scale(.85); } to { opacity: 1; transform: translateY(0) rotate(var(--tilt)) scale(1); } }
@keyframes pop { from { opacity: 0; transform: scale(.35) rotate(-30deg); } to { opacity: 1; transform: scale(1) rotate(0deg); } }
@keyframes orbitDraw { from { stroke-dasharray: 650; stroke-dashoffset: 650; } to { stroke-dasharray: 650; stroke-dashoffset: 0; } }

@media (min-width: 700px) {
  body { padding: 24px 0; }
  .app-shell { min-height: calc(100dvh - 48px); border: 3px solid var(--ink); border-radius: 34px; }
  .screen { min-height: calc(100dvh - 54px); }
}

@media (max-width: 360px) {
  .screen { padding-left: 18px; padding-right: 18px; }
  .route-grid { gap: 12px 10px; }
  .route-note { min-height: 158px; padding-left: 10px; padding-right: 9px; }
  .route-note-title { font-size: 17px; }
  .route-note-copy { font-size: 12px; }
  .wood-board { padding: 29px 19px 27px; }
  .choice-note { padding-left: 58px; }
}

@media (max-height: 670px) {
  .eyebrow-wrap { margin-top: 24px; }
  .hero-visual { height: 180px; }
  .welcome-bottom { padding-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}
