/* Bundle Station — Car Seats
   Portrait kiosk, designed at 1080×1920. #stage is scaled to fit the viewport. */

:root {
  --ground: #F4EFE7;
  --card: #FBF9F5;
  --rose: #C9848C;
  --sage: #7E9684;
  --ink: #2E2B28;

  --ink-2: #4A4541;
  --ink-3: #5B5651;
  --ink-4: #6B655E;
  --ink-5: #8A837B;
  --line: #E6DFD4;
  --line-2: #D9D1C5;
  --line-3: #EAE3D8;
  --bar: #F9F5EE;
  --sage-soft: #D9E2D6;
  --sage-ink: #3F5A48;
  --amber-ink: #9A6A2A;
  --white: #FFFFFF;

  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; width: 100%; height: 100%; overflow: hidden;
  background: var(--ground); color: var(--ink); font-family: var(--font);
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  touch-action: manipulation; overscroll-behavior: none;
}
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { cursor: default; }
img { display: block; -webkit-user-drag: none; }

/* ───────── Stage ───────── */
#stage {
  position: absolute; left: 50%; top: 50%; width: 1080px; height: 1920px;
  transform: translate(-50%, -50%) scale(var(--scale, 1)); transform-origin: center center;
  background: var(--ground); overflow: hidden;
}
.screen { position: absolute; inset: 0; display: none; flex-direction: column; background: var(--ground); overflow: hidden; }
.screen.is-active { display: flex; }

/* ───────── Shared ───────── */
.topbar { flex: none; height: 156px; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; }
.topbar-title { margin: 0; font-size: 45px; font-weight: 700; color: var(--ink-2); }
.topbar-spacer { width: 84px; height: 84px; }
.icon-btn { width: 84px; height: 84px; border-radius: 42px; background: var(--card); border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 0; }
.icon-btn:active { background: var(--line); }
.cart-btn { height: 84px; padding: 0 27px 0 21px; border-radius: 42px; border: none; background: var(--ink); color: var(--white); display: flex; align-items: center; gap: 15px; font-size: 27px; font-weight: 800; }
.cart-btn:active { background: #1E1C1A; }

.bottombar { flex: none; margin-top: auto; padding: 24px 48px 42px; display: flex; gap: 21px; align-items: center; border-top: 1.5px solid var(--line); background: var(--bar); }
.bottombar-col { flex-direction: column; gap: 15px; align-items: stretch; }
.bottombar-plain { border-top: none; background: transparent; padding-left: 60px; padding-right: 60px; }
.bar-hint { text-align: center; font-size: 21px; font-weight: 600; color: var(--ink-5); }
.btn { height: 114px; border-radius: 57px; display: flex; align-items: center; justify-content: center; gap: 15px; font-size: 33px; font-weight: 800; padding: 0 36px; border: none; transition: transform 80ms ease; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; transform: none; }
.btn-grow { flex: 1; }
.btn-outline { background: var(--card); border: 3px solid var(--ink); color: var(--ink); font-size: 32px; }
.btn-outline:active { background: var(--line); }
.btn-sage { background: var(--sage); color: var(--white); }
.btn-sage:active { background: #6E8574; }
.btn-rose { background: var(--rose); color: var(--white); box-shadow: 0 21px 45px rgba(201,132,140,0.3); }
.btn-rose:active { background: #B8737B; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:active { background: #1E1C1A; }
.btn-compare { width: 285px; padding: 0; }
.btn-keep { width: 315px; padding: 0; }
.btn-pay { height: 126px; border-radius: 63px; font-size: 39px; }
.avatar-btn { flex: none; width: 114px; height: 114px; border-radius: 57px; background: var(--card); border: 1.5px solid var(--line); padding: 0; overflow: hidden; }
.avatar-btn img { width: 100%; height: 100%; object-fit: cover; }
.link-btn { background: none; border: none; font-size: 27px; font-weight: 700; color: var(--ink-5); padding: 18px; }
.small-btn { height: 60px; padding: 0 21px; border-radius: 30px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); font-size: 22.5px; font-weight: 800; white-space: nowrap; }
.small-btn:active { background: var(--line); }
.section-label { font-size: 22.5px; font-weight: 800; letter-spacing: 1.8px; color: var(--ink-5); text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── 1 · Start ───────── */
.screen-start { display: none; }
.screen-start.is-active { display: block; }
.start-bg { position: absolute; left: 0; top: 0; width: 1080px; height: 1140px; background-image: url('img/splash-full.jpg'); background-size: 1200px auto; background-position: center -230px; background-repeat: no-repeat; }
.start-fade { position: absolute; left: 0; top: 0; width: 1080px; height: 1140px; background: linear-gradient(180deg, rgba(244,239,231,0) 0%, rgba(244,239,231,0.1) 72%, #F4EFE7 100%); }
.start-brand { position: absolute; left: 0; top: 930px; width: 1080px; display: flex; flex-direction: column; align-items: center; }
.start-tagline { margin: 0; font-size: 39px; font-weight: 600; color: var(--ink-3); text-align: center; line-height: 1.35; max-width: 780px; }
.start-cta { position: absolute; left: 135px; top: 1260px; width: 810px; height: 168px; border-radius: 84px; border: none; background: var(--rose); color: var(--white); display: flex; align-items: center; justify-content: center; gap: 24px; font-size: 51px; font-weight: 800; letter-spacing: 0.45px; box-shadow: 0 27px 60px rgba(201,132,140,0.35); animation: breathe 2.8s ease-in-out infinite; }
.start-cta:active { background: #B8737B; animation: none; transform: scale(0.98); }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); box-shadow: 0 33px 72px rgba(201,132,140,0.45); } }
@media (prefers-reduced-motion: reduce) { .start-cta { animation: none; } }
.start-guides { position: absolute; left: 135px; top: 1485px; width: 810px; display: flex; gap: 24px; }
.guide-card { flex: 1; background: var(--card); border: 1.5px solid var(--line); border-radius: 33px; padding: 27px 30px; display: flex; align-items: center; gap: 21px; }
.guide-avatar { width: 84px; height: 84px; border-radius: 42px; object-fit: cover; }
.guide-text { display: flex; flex-direction: column; gap: 3px; }
.guide-name { font-size: 27px; font-weight: 800; }
.guide-role { font-size: 22.5px; font-weight: 600; color: var(--ink-4); }
.start-footer { position: absolute; left: 0; top: 1785px; width: 1080px; display: flex; justify-content: center; gap: 42px; font-size: 24px; font-weight: 700; color: var(--ink-5); }

/* ───────── 2 · Loading ───────── */
.screen-loading { display: none; }
.screen-loading.is-active { display: block; }
.loading-bg { position: absolute; inset: 0; width: 1080px; height: 1920px; object-fit: cover; object-position: center; }
.loading-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(244,239,231,0.2) 0%, rgba(244,239,231,0.35) 45%, rgba(244,239,231,0.85) 66%, #F4EFE7 100%); }
.loading-status { position: absolute; left: 0; top: 1050px; width: 1080px; display: flex; flex-direction: column; align-items: center; }
.loading-status p { margin: 0; font-size: 42px; font-weight: 700; color: var(--ink-2); }
.loading-dots { margin-top: 33px; display: flex; gap: 24px; }
.loading-dots span { width: 33px; height: 33px; border-radius: 17px; background: #D9DED6; animation: dot 1.5s ease-in-out infinite; }
.loading-dots span:nth-child(2) { animation-delay: 0.25s; }
.loading-dots span:nth-child(3) { animation-delay: 0.5s; }
@keyframes dot { 0%, 100% { background: #D9DED6; } 40% { background: var(--sage); } }
.match-card { position: absolute; left: 135px; top: 1230px; width: 810px; background: rgba(251,249,245,0.92); border: 1.5px solid var(--line); border-radius: 36px; padding: 30px 36px; display: flex; flex-direction: column; gap: 21px; }
.match-row { display: flex; align-items: center; gap: 24px; }
.match-row img, .match-icon { width: 144px; height: 96px; border-radius: 18px; object-fit: cover; flex: none; }
.match-icon { background: #EEE6DA; display: flex; align-items: center; justify-content: center; }
.match-text { display: flex; flex-direction: column; gap: 3px; }
.match-title { font-size: 31.5px; font-weight: 800; }
.match-sub { font-size: 24px; font-weight: 600; color: var(--ink-4); }
.match-sep { height: 1.5px; background: var(--line-3); }
.loading-cta { position: absolute; left: 135px; top: 1632px; width: 810px; height: 138px; border-radius: 69px; border: none; background: var(--sage); color: var(--white); font-size: 42px; font-weight: 800; }
.loading-cta:active { background: #6E8574; }
.loading-change { position: absolute; left: 0; top: 1794px; width: 1080px; text-align: center; }

/* ───────── 3 · Shop ───────── */
.filters { flex: none; padding: 0 48px 27px; display: flex; gap: 15px; align-items: center; }
.fit-pill { height: 66px; padding: 0 27px; border-radius: 33px; background: var(--sage); color: var(--white); display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 800; white-space: nowrap; }
.chip { height: 66px; padding: 0 27px; border-radius: 33px; background: transparent; border: 1.5px solid var(--line-2); color: var(--ink-4); font-size: 24px; font-weight: 700; white-space: nowrap; }
.chip.is-active { background: var(--card); color: var(--ink); }
.chip:active { background: var(--line); }
.seat-grid { flex: none; padding: 0 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-content: start; }
.seat-card { position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: 33px; padding: 21px; display: flex; flex-direction: column; gap: 15px; text-align: left; width: 100%; transition: transform 80ms ease; }
.seat-card:active { transform: scale(0.985); background: #F6F2EB; }
.seat-card.in-compare { border-color: var(--sage); box-shadow: inset 0 0 0 1.5px var(--sage); }
.seat-badge { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); height: 39px; padding: 0 21px; border-radius: 20px; background: var(--sage-soft); color: var(--sage-ink); font-size: 20px; font-weight: 800; display: flex; align-items: center; white-space: nowrap; }
.seat-img { width: 100%; height: 264px; border-radius: 21px; object-fit: cover; }
.seat-name { font-size: 33px; font-weight: 800; }
.seat-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.seat-tag { height: 42px; padding: 0 15px; border-radius: 21px; border: 1.5px solid var(--line-2); font-size: 20px; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; white-space: nowrap; }
.seat-price { font-size: 33px; font-weight: 800; }
.seat-empty { grid-column: 1 / -1; padding: 90px 0; text-align: center; font-size: 30px; font-weight: 600; color: var(--ink-4); }

/* ───────── 4 · Product ───────── */
.product-body { flex: none; padding: 0 48px; display: flex; flex-direction: column; gap: 27px; }
.hero { position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: 39px; overflow: hidden; }
.hero-img { width: 100%; height: 600px; object-fit: cover; }
.hero-badge { position: absolute; top: 24px; left: 24px; height: 51px; padding: 0 24px; border-radius: 26px; background: var(--sage-soft); color: var(--sage-ink); font-size: 22.5px; font-weight: 800; display: flex; align-items: center; }
.hero-badge[hidden] { display: none; }
.hero-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; }
.hero-dot { width: 48px; height: 48px; padding: 0; border: none; background: transparent; display: flex; align-items: center; justify-content: center; }
.hero-dot::before { content: ''; width: 15px; height: 15px; border-radius: 8px; background: #C9C1B5; }
.hero-dot.is-active::before { background: var(--ink); }
.product-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.product-title { display: flex; flex-direction: column; gap: 9px; }
.product-title h2 { margin: 0; font-size: 54px; font-weight: 800; line-height: 1.1; }
.product-title p { margin: 0; font-size: 28.5px; font-weight: 600; color: var(--ink-3); }
.product-price { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.product-price .price { font-size: 54px; font-weight: 800; line-height: 1.1; }
.product-price .stock { font-size: 22.5px; font-weight: 700; color: var(--sage-ink); white-space: nowrap; }
.product-price .stock.is-low { color: var(--amber-ink); }
.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.spec { background: var(--card); border: 1.5px solid var(--line); border-radius: 27px; padding: 21px 24px; display: flex; flex-direction: column; gap: 6px; }
.spec-label { font-size: 19.5px; font-weight: 800; letter-spacing: 1.5px; color: var(--ink-5); text-transform: uppercase; }
.spec-value { font-size: 27px; font-weight: 800; }
.spec-fit { color: var(--sage-ink); }
.in-car { display: flex; flex-direction: column; gap: 15px; }
.in-car-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.in-car-item { display: flex; flex-direction: column; gap: 9px; }
.in-car-item img { width: 100%; height: 198px; border-radius: 21px; object-fit: cover; }
.in-car-item span { font-size: 21px; font-weight: 700; color: var(--ink-3); }

/* ───────── 5 · Compare ───────── */
.compare-body { flex: none; padding: 0 48px; display: flex; flex-direction: column; gap: 21px; }
.compare-heads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 20px; }
.cmp-head { position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: 33px; padding: 18px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.cmp-head.is-recommended { border: 3px solid var(--sage); padding: 16.5px; }
.cmp-head:active { background: #F6F2EB; }
.cmp-badge { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); height: 39px; padding: 0 18px; border-radius: 20px; background: var(--sage); color: var(--white); font-size: 20px; font-weight: 800; display: flex; align-items: center; white-space: nowrap; }
.cmp-head img { width: 100%; height: 180px; border-radius: 18px; object-fit: cover; }
.cmp-name { font-size: 28.5px; font-weight: 800; line-height: 1.1; }
.cmp-price { font-size: 30px; font-weight: 800; }
.compare-table { background: var(--card); border: 1.5px solid var(--line); border-radius: 33px; overflow: hidden; display: flex; flex-direction: column; }
.cmp-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 21px 24px; border-bottom: 1.5px solid var(--line-3); }
.cmp-row:first-child { background: var(--bar); }
.cmp-row:last-child { border-bottom: none; }
.cmp-row .section-label { grid-column: 1 / -1; font-size: 19.5px; }
.cmp-cell { font-size: 24px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.cmp-cell.ok { color: var(--sage-ink); font-weight: 800; }
.cmp-cell.muted { color: var(--ink-4); }
.cmp-cell.low { color: var(--amber-ink); }
.carol-note { display: flex; align-items: center; gap: 21px; background: var(--card); border: 1.5px solid var(--line); border-radius: 33px; padding: 21px 24px; }
.carol-note img { width: 78px; height: 78px; border-radius: 39px; object-fit: cover; flex: none; }
.carol-note p { margin: 0; font-size: 24px; font-weight: 600; color: var(--ink-2); line-height: 1.35; }

/* ───────── 6 · Cart ───────── */
.cart-body { flex: none; padding: 0 48px; display: flex; flex-direction: column; gap: 21px; }
.cart-item { background: var(--card); border: 1.5px solid var(--line); border-radius: 33px; padding: 24px; display: flex; gap: 24px; align-items: center; }
.cart-item > img { width: 192px; height: 156px; border-radius: 21px; object-fit: cover; flex: none; }
.cart-item-main { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-item-name { font-size: 33px; font-weight: 800; }
.cart-item-sub { font-size: 22.5px; font-weight: 600; color: var(--ink-4); }
.qty { margin-top: 12px; display: flex; align-items: center; gap: 12px; }
.qty button { width: 60px; height: 60px; border-radius: 30px; border: 1.5px solid var(--line-2); background: var(--white); font-size: 33px; font-weight: 800; }
.qty button:active { background: var(--line); }
.qty span { width: 48px; text-align: center; font-size: 27px; font-weight: 800; }
.slot-pill { margin-top: 12px; height: 45px; padding: 0 18px; border-radius: 23px; background: var(--sage-soft); color: var(--sage-ink); font-size: 21px; font-weight: 800; display: inline-flex; align-items: center; align-self: flex-start; }
.cart-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; align-self: stretch; justify-content: space-between; }
.cart-item-price { font-size: 33px; font-weight: 800; }
.cart-item-price.free { color: var(--sage-ink); }
.text-btn { height: 54px; padding: 0 18px; border: none; background: transparent; color: var(--ink-5); font-size: 22.5px; font-weight: 700; text-decoration: underline; }
.cart-empty { padding: 120px 0; text-align: center; font-size: 30px; font-weight: 600; color: var(--ink-4); }
.addon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.addon { background: var(--card); border: 1.5px solid var(--line); border-radius: 27px; padding: 21px 24px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.addon-text { display: flex; flex-direction: column; gap: 3px; }
.addon-name { font-size: 25.5px; font-weight: 800; }
.addon-sub { font-size: 21px; font-weight: 600; color: var(--ink-4); }
.addon-btn { height: 60px; padding: 0 21px; border-radius: 30px; border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); font-size: 22.5px; font-weight: 800; white-space: nowrap; }
.addon-btn.is-added { background: var(--ink); color: var(--white); }
.totals { background: var(--card); border: 1.5px solid var(--line); border-radius: 33px; padding: 27px 30px; display: flex; flex-direction: column; gap: 15px; }
.totals .row { display: flex; justify-content: space-between; font-size: 27px; font-weight: 600; color: var(--ink-2); }
.totals .row.free span:last-child { color: var(--sage-ink); }
.totals .sep { height: 1.5px; background: var(--line-3); }
.totals .total { display: flex; justify-content: space-between; font-size: 39px; font-weight: 800; color: var(--ink); }
.cart-section { display: flex; flex-direction: column; gap: 15px; }

/* ───────── 7 · Checkout ───────── */
.checkout-body { flex: none; padding: 0 48px; display: flex; flex-direction: column; gap: 24px; }
.co-section { display: flex; flex-direction: column; gap: 15px; }
.fulfil-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fulfil { background: var(--card); border: 1.5px solid var(--line); border-radius: 30px; padding: 24px; display: flex; gap: 18px; align-items: flex-start; text-align: left; }
.fulfil.is-active { border: 3px solid var(--sage); padding: 22.5px; }
.radio { width: 33px; height: 33px; border-radius: 17px; border: 3px solid var(--line-2); margin-top: 3px; flex: none; background: var(--white); }
.fulfil.is-active .radio { border-color: var(--sage); background: radial-gradient(circle, var(--sage) 0 7px, var(--white) 8px); }
.fulfil-text { display: flex; flex-direction: column; gap: 4px; }
.fulfil-title { font-size: 27px; font-weight: 800; }
.fulfil-sub { font-size: 21px; font-weight: 600; color: var(--ink-4); line-height: 1.3; }
.details-card { background: var(--card); border: 1.5px solid var(--line); border-radius: 30px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-size: 21px; font-weight: 700; color: var(--ink-4); }
.field-input { position: relative; height: 84px; padding: 0 21px; border-radius: 21px; border: 1.5px solid var(--line-2); background: var(--white); text-align: left; font-size: 28.5px; font-weight: 700; display: flex; align-items: center; }
.field-input.is-active { border: 3px solid var(--sage); padding: 0 19.5px; }
.field-input.is-invalid { border-color: var(--rose); }
.field-placeholder { color: #B5ADA3; font-weight: 600; }
.field-value:not(:empty) + .field-placeholder { display: none; }
.field-input.is-active .field-value::after { content: ''; display: inline-block; width: 3px; height: 36px; background: var(--sage); margin-left: 3px; vertical-align: -6px; animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: 0; } }
.field-hint { margin: 0; font-size: 21px; font-weight: 600; color: var(--ink-5); line-height: 1.35; }
.car-row { display: flex; align-items: center; gap: 18px; padding-top: 6px; font-size: 24px; font-weight: 700; color: var(--ink-2); }
.car-row img { width: 108px; height: 72px; border-radius: 15px; object-fit: cover; }
.car-row .small-btn { margin-left: auto; }
.pay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pay-tile { height: 162px; border-radius: 30px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; font-size: 24px; font-weight: 800; }
.pay-tile.is-active { border: 3px solid var(--ink); }
.pay-tile:disabled { color: var(--ink-5); }
.pay-tile small { font-size: 18px; font-weight: 600; color: var(--ink-5); }
.summary-card { background: var(--card); border: 1.5px solid var(--line); border-radius: 33px; padding: 24px 30px; display: flex; flex-direction: column; gap: 12px; }
.summary-card .row { display: flex; justify-content: space-between; font-size: 25.5px; font-weight: 600; color: var(--ink-2); }
.summary-card .row.free span:last-child { color: var(--sage-ink); }
.summary-card .sep { height: 1.5px; background: var(--line-3); }
.summary-card .total { display: flex; justify-content: space-between; font-size: 39px; font-weight: 800; color: var(--ink); }

/* on-screen keyboard */
.osk { position: absolute; left: 0; right: 0; bottom: 0; background: #ECE5DA; border-top: 1.5px solid var(--line-2); padding: 18px 24px 36px; display: flex; flex-direction: column; gap: 15px; box-shadow: 0 -20px 60px rgba(46,43,40,0.12); }
.osk[hidden] { display: none; }
.osk-head { display: flex; align-items: center; justify-content: space-between; font-size: 24px; font-weight: 800; color: var(--ink-4); padding: 0 6px; }
.osk-done { height: 66px; padding: 0 33px; border-radius: 33px; border: none; background: var(--sage); color: var(--white); font-size: 25.5px; font-weight: 800; }
.osk-keys { display: flex; flex-direction: column; gap: 12px; }
.osk-row { display: flex; justify-content: center; gap: 12px; }
.osk-key { height: 96px; min-width: 84px; flex: 1; max-width: 108px; border-radius: 18px; border: none; background: var(--white); font-size: 36px; font-weight: 700; box-shadow: 0 3px 0 rgba(46,43,40,0.15); }
.osk-key:active { background: var(--line); transform: translateY(2px); box-shadow: none; }
.osk-key.wide { max-width: 240px; flex: 2; font-size: 27px; }
.osk-key.space { max-width: 480px; flex: 4; }
.osk-key.dim { background: #DDD5C8; }
.osk.numeric .osk-key { max-width: 300px; }

/* ───────── 8 · Pay ───────── */
.pay-body { flex: none; padding: 0 48px; display: flex; flex-direction: column; gap: 30px; align-items: center; }
.qr-card { width: 100%; background: var(--card); border: 1.5px solid var(--line); border-radius: 39px; padding: 36px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.qr-box { width: 600px; height: 600px; background: var(--white); border-radius: 24px; padding: 18px; display: flex; align-items: center; justify-content: center; }
.qr-box svg { width: 100%; height: 100%; display: block; }
.qr-box.is-loading { color: var(--ink-5); font-size: 27px; font-weight: 700; }
.qr-meta { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.qr-amount { font-size: 63px; font-weight: 800; line-height: 1; }
.qr-sub { font-size: 27px; font-weight: 600; color: var(--ink-4); }
.pay-steps { margin: 0; padding: 0; list-style: none; width: 100%; display: flex; flex-direction: column; gap: 15px; }
.pay-steps li { display: flex; align-items: center; gap: 18px; font-size: 27px; font-weight: 700; color: var(--ink-2); }
.pay-steps li span { width: 54px; height: 54px; border-radius: 27px; background: var(--sage); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 25.5px; font-weight: 800; flex: none; }
.pay-timer { display: flex; align-items: center; gap: 15px; font-size: 25.5px; font-weight: 700; color: var(--ink-4); }
.timer-ring { width: 42px; height: 42px; border-radius: 21px; background: conic-gradient(var(--sage) var(--pct, 100%), var(--line) 0); flex: none; }
.pay-test { margin: 0; font-size: 21px; font-weight: 600; color: var(--ink-5); }

/* ───────── 9 · Done ───────── */
.done-hero { position: relative; height: 690px; overflow: hidden; flex: none; }
.done-hero img { width: 100%; height: 100%; object-fit: cover; }
.done-hero-fade { position: absolute; left: 0; bottom: 0; width: 100%; height: 240px; background: linear-gradient(180deg, rgba(244,239,231,0) 0%, #F4EFE7 100%); }
.done-body { padding: 0 60px; display: flex; flex-direction: column; gap: 27px; margin-top: -60px; position: relative; }
.done-head { display: flex; flex-direction: column; align-items: center; gap: 15px; text-align: center; }
.done-check { width: 108px; height: 108px; border-radius: 54px; background: var(--sage); color: var(--white); display: flex; align-items: center; justify-content: center; }
.done-head h1 { margin: 9px 0 0; font-size: 63px; font-weight: 800; line-height: 1.1; }
.done-head p { margin: 0; font-size: 30px; font-weight: 600; color: var(--ink-3); max-width: 840px; line-height: 1.4; }
.hank-card { background: var(--card); border: 1.5px solid var(--line); border-radius: 36px; padding: 30px 33px; display: flex; align-items: center; gap: 27px; }
.hank-card img { width: 126px; height: 126px; border-radius: 63px; object-fit: cover; object-position: center 20%; flex: none; }
.hank-text { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.hank-title { font-size: 36px; font-weight: 800; }
.hank-sub { font-size: 24px; font-weight: 600; color: var(--ink-4); }
.done-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.done-tile { background: var(--card); border: 1.5px solid var(--line); border-radius: 30px; padding: 24px 27px; display: flex; flex-direction: column; gap: 6px; }
.done-order { font-size: 33px; font-weight: 800; }
.done-sub { font-size: 22.5px; font-weight: 600; color: var(--ink-4); }
.done-tile-qr { flex-direction: row; align-items: center; gap: 21px; }
.done-qr { width: 150px; height: 150px; border-radius: 18px; background: var(--white); border: 1.5px solid var(--line); flex: none; padding: 6px; }
.done-qr svg { width: 100%; height: 100%; display: block; }
.done-qr-text { font-size: 22.5px; font-weight: 700; color: var(--ink-2); line-height: 1.35; }

/* ───────── Toast ───────── */
.toast { position: absolute; left: 50%; bottom: 220px; transform: translateX(-50%) translateY(30px); padding: 24px 42px; border-radius: 48px; background: var(--ink); color: var(--white); font-size: 27px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 200ms ease, transform 200ms ease; z-index: 10; }
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ───────── Carol on the web surface (station renders her natively) ─────────
   Inside #stage, in stage coordinates, beside the back button in the top bar,
   which every screen leaves free. */
#avatar-container { position: absolute; left: 150px; top: 18px; width: 120px; height: 120px; border-radius: 50%; overflow: hidden; background: var(--ink); box-shadow: 0 12px 36px rgba(46,43,40,0.3), 0 0 0 4px rgba(201,132,140,0.5); z-index: 40; display: none; }
#avatar-container.on { display: block; }
#carol-mount { width: 100%; height: 100%; }
:root[data-surface="station"] #avatar-container { display: none !important; }
.osk { z-index: 60; }
/* The Matching screen's CTA sits in the band the web avatar uses; keep her off it there (audio continues). */
.screen-loading.is-active ~ #avatar-container, .screen-done.is-active ~ #avatar-container { visibility: hidden; }

/* ───────── 2 · Ask ───────── */
.ask-body { flex: none; padding: 0 48px; display: flex; flex-direction: column; gap: 30px; }
.ask-q { display: flex; flex-direction: column; gap: 15px; }
.option-grid { display: grid; gap: 15px; }
.option-grid.cars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.option-grid.kids { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opt { background: var(--card); border: 1.5px solid var(--line); border-radius: 27px; padding: 21px 24px; display: flex; flex-direction: column; gap: 6px; text-align: left; min-height: 120px; justify-content: center; }
.opt.is-active { border: 3px solid var(--sage); padding: 19.5px 22.5px; background: #F3F6F2; }
.opt:active { background: var(--line); }
.opt-title { font-size: 27px; font-weight: 800; }
.opt-sub { font-size: 21px; font-weight: 600; color: var(--ink-4); }
.chips { display: flex; flex-wrap: wrap; gap: 15px; }
.chips .chip { height: 72px; padding: 0 30px; font-size: 25.5px; background: var(--card); color: var(--ink); }

/* explainer card */
.explainer { position: absolute; inset: 0; background: rgba(46,43,40,0.45); display: flex; align-items: center; justify-content: center; z-index: 45; padding: 60px; }
.explainer[hidden] { display: none; }
.explainer-card { width: 100%; background: var(--card); border-radius: 48px; padding: 54px 54px 48px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; box-shadow: 0 40px 100px rgba(46,43,40,0.3); }
.explainer-card h2 { margin: 0; font-size: 60px; font-weight: 800; letter-spacing: 6px; text-transform: uppercase; }
.explainer-sub { margin: 0; font-size: 30px; font-weight: 600; color: var(--ink-4); }
.explainer-card img { width: 100%; height: 520px; object-fit: cover; border-radius: 30px; margin-top: 12px; }
.explainer-body { margin: 6px 0 12px; font-size: 28.5px; font-weight: 600; color: var(--ink-3); line-height: 1.4; }
.explainer-card .btn { width: 100%; }

/* ───────── 2b · Picks ───────── */
.picks-body { flex: none; padding: 0 48px; display: flex; flex-direction: column; gap: 24px; }
.picks-lead { margin: 0; font-size: 30px; font-weight: 600; color: var(--ink-3); line-height: 1.35; }
.picks { display: flex; flex-direction: column; gap: 27px; }
.pick { position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: 36px; padding: 27px; display: flex; flex-direction: column; gap: 15px; }
.pick.is-recommended { border: 3px solid var(--sage); padding: 25.5px; }
.pick-badge { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); height: 42px; padding: 0 21px; border-radius: 21px; background: var(--sage); color: var(--white); font-size: 21px; font-weight: 800; display: flex; align-items: center; white-space: nowrap; }
.pick img { width: 100%; height: 420px; border-radius: 24px; object-fit: cover; }
.pick-name { font-size: 39px; font-weight: 800; }
.pick-sub { font-size: 25.5px; font-weight: 600; color: var(--ink-4); }
.pick-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.pick-price { font-size: 42px; font-weight: 800; }
.pick .btn { height: 96px; border-radius: 48px; font-size: 30px; padding: 0 54px; }
.picks-empty { padding: 90px 0; text-align: center; font-size: 30px; font-weight: 600; color: var(--ink-4); }
