/* eBay Seller Journey kiosk game. Design tokens from the export hub
   design system: Market Sans, neutral ground, black CTAs, eBay four color accents. */

@font-face { font-family: "Market Sans"; src: url("../fonts/MarketSans-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Market Sans"; src: url("../fonts/MarketSans-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --red: #F02D2D; --blue: #0968f6; --yellow: #F7B100; --green: #3CC14E;
  --ink: #191919; --deep: #0A1C6B;
  --n0: #ffffff; --n1: #f7f7f7; --n2: #efefef; --n3: #dcdcdc; --n5: #8a8a8a; --n7: #3f3f3f;
  --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
html, body { height: 100%; overscroll-behavior: none; }
body {
  font-family: "Market Sans", "Helvetica Neue", Arial, sans-serif;
  background: #101216;
  color: var(--ink);
  overflow: hidden;
  /* phones: a fixed body cannot rubber band, so the browser bar stays put */
  position: fixed; inset: 0; width: 100%;
  touch-action: manipulation;
}
/* measures the smallest viewport height a phone browser ever shows; fit() in game.js reads it */
#svh-probe { position: fixed; top: 0; left: 0; width: 0; height: 100vh; height: 100svh; visibility: hidden; pointer-events: none; }

/* ---------- Kiosk stage: 1080x1920 scaled to fit ---------- */
#viewport { position: fixed; inset: 0; overflow: hidden; }
#stage {
  width: 1080px; height: 1920px; position: absolute; top: 0; left: 0;
  /* clip, not hidden: a hidden box can still be scrolled by focus() or scrollIntoView(), and a stray
     scroll would shift the whole stage for the rest of the session; a clipped box cannot scroll */
  overflow: clip;
  background: var(--n0); transform-origin: 0 0;
  box-shadow: 0 40px 120px rgba(0,0,0,.55);
  border-radius: 18px;
}
#framecap {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 12px; color: #6b7280; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; white-space: nowrap;
}

/* ---------- Screens ---------- */
.screen {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  padding: 64px 72px 144px; opacity: 0; pointer-events: none;
  transform: translateY(24px); transition: opacity .45s ease, transform .45s ease;
  background: var(--n0);
}
.screen.on { opacity: 1; pointer-events: auto; transform: translateY(0); z-index: 2; }

/* ---------- Top bar ---------- */
#topbar {
  position: absolute; top: 0; left: 0; right: 0; height: 148px; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 72px; opacity: 0; pointer-events: none; transition: opacity .4s;
}
#topbar.on { opacity: 1; pointer-events: auto; }
#progress { display: flex; gap: 10px; align-items: center; }
#progress .pip { width: 52px; height: 14px; border-radius: 7px; background: var(--n2); transition: background .3s; }
#progress .pip.done { background: var(--ink); }
#progress .pip.now { background: var(--blue); }
.screen .body { margin-top: 120px; display: flex; flex-direction: column; flex: 1; min-height: 0; }

/* ---------- Type scale ---------- */
.kicker { font-size: 30px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--n5); margin-bottom: 18px; }
h1 { font-size: 88px; font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: 64px; font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; }
.lede { font-size: 34px; line-height: 1.45; color: var(--n7); margin-top: 22px; }

/* ---------- Buttons ---------- */
.btn {
  border: none; border-radius: var(--radius); cursor: pointer;
  font-family: inherit; font-weight: 600; text-align: center;
  transition: transform .12s ease, background .2s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: #fff; font-size: 40px; padding: 34px 64px; }
.btn-primary:disabled { background: var(--n3); color: #fff; cursor: default; }
.btn-ghost { background: transparent; color: var(--ink); border: 3px solid var(--ink); font-size: 32px; padding: 22px 44px; }
/* ---------- Learn panel: what eBay's guide says, before the move ----------
   A headline, up to three facts the player can tap (the words behind a fact light
   up in the guide text), then the guide text itself. The eBay four colour rule on top. */
.learn { display: none; position: relative; overflow: hidden; margin-top: 24px; padding: 30px 34px 30px; background: #f3f7ff; border: 2px solid #d9e6ff; border-radius: 20px; color: var(--ink); }
.learn.on { display: block; }
.learn::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: linear-gradient(90deg, var(--red) 0 25%, var(--blue) 25% 50%, var(--yellow) 50% 75%, var(--green) 75% 100%); }
.learn .lh { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.learn .ll { font-size: 20px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.learn .ls { font-size: 20px; color: var(--n5); white-space: nowrap; }
.learn .lhead { margin-top: 10px; font-size: 42px; font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; }
.learn .lfacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
/* flat tinted tiles, no card border or shadow, so the facts never read as answer options (17 Sep tracker, Muskan row 179) */
.learn .fact { font-family: inherit; text-align: left; background: rgba(9, 104, 246, .07); border: 0; border-bottom: 3px solid rgba(9, 104, 246, .28); border-radius: 12px; padding: 18px 20px 16px; min-height: 132px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .12s; }
.learn .fact:active { transform: scale(.97); }
.learn .fact b { font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--blue); white-space: nowrap; }
.learn .fact b.mid { font-size: 40px; }
.learn .fact b.long { font-size: 32px; }
.learn .fact b.xl { font-size: 27px; white-space: normal; line-height: 1.05; }
.learn .fact span { font-size: 21px; line-height: 1.25; color: var(--n7); }
.learn .fact.lit { border-color: var(--blue); box-shadow: 0 12px 34px rgba(9,104,246,.18); }
.learn .lbody { margin-top: 20px; font-size: 26px; line-height: 1.42; color: var(--ink); }
.learn .lbody mark { background: #ffe58a; color: var(--ink); border-radius: 4px; padding: 0 5px; margin: 0 -5px; } /* padding balanced by margin: lighting a sentence must not reflow the guide text */
/* compact: a Seller Hub mock and the options share the screen with the panel.
   :where() keeps these at class weight so the tighten pass below can win. */
:where(#s-hubdec, #s-scale, #s-adrate) .learn { margin-top: 12px; padding: 18px 26px 18px; }
:where(#s-hubdec, #s-scale, #s-adrate) .learn .lhead { font-size: 32px; margin-top: 6px; }
:where(#s-hubdec, #s-scale, #s-adrate) .learn .lfacts { margin-top: 12px; gap: 12px; }
:where(#s-hubdec, #s-scale, #s-adrate) .learn .fact { min-height: 96px; padding: 12px 14px 10px; }
:where(#s-hubdec, #s-scale, #s-adrate) .learn .fact b { font-size: 36px; }
:where(#s-hubdec, #s-scale, #s-adrate) .learn .fact b.mid { font-size: 30px; }
:where(#s-hubdec, #s-scale, #s-adrate) .learn .fact b.long { font-size: 25px; }
:where(#s-hubdec, #s-scale, #s-adrate) .learn .fact b.xl { font-size: 22px; }
:where(#s-hubdec, #s-scale, #s-adrate) .learn .fact span { font-size: 18px; }
:where(#s-hubdec, #s-scale, #s-adrate) .learn .lbody { font-size: 21px; line-height: 1.34; margin-top: 12px; }
/* the interactive screens keep their working area: a middle size */
:where(#s-photos, #s-title, #s-price, #s-specifics, #s-research) .learn { padding: 24px 30px 24px; }
:where(#s-photos, #s-title, #s-price, #s-specifics, #s-research) .learn .lhead { font-size: 36px; }
:where(#s-photos, #s-title, #s-price, #s-specifics, #s-research) .learn .fact { min-height: 116px; }
:where(#s-photos, #s-title, #s-price, #s-specifics, #s-research) .learn .fact b { font-size: 42px; }
:where(#s-photos, #s-title, #s-price, #s-specifics, #s-research) .learn .lbody { font-size: 24px; }

/* ---------- Tighten ----------
   After a screen renders, the game measures its body. When the content would run
   past the footer the screen gets .tight, then .tight2: smaller type and padding on
   the heading, the learn panel, the Seller Hub mock and the option cards. The longer
   longer copy fits without a scroll or a clipped card. */
.screen.tight h2, #s-scale.tight h2 { font-size: 50px; }
.screen.tight .lede, #s-scale.tight .lede { font-size: 27px; line-height: 1.35; margin-top: 14px; }
.screen.tight .learn { margin-top: 10px; padding: 14px 22px 14px; }
.screen.tight .learn .lh { gap: 14px; }
.screen.tight .learn .ll, .screen.tight .learn .ls { font-size: 17px; }
.screen.tight .learn .lhead { font-size: 29px; margin-top: 4px; }
.screen.tight .learn .lfacts { margin-top: 10px; gap: 10px; }
.screen.tight .learn .fact { min-height: 82px; padding: 10px 12px 8px; gap: 4px; }
.screen.tight .learn .fact b { font-size: 31px; }
.screen.tight .learn .fact b.mid { font-size: 27px; }
.screen.tight .learn .fact b.long { font-size: 22px; }
.screen.tight .learn .fact b.xl { font-size: 20px; }
.screen.tight .learn .fact span { font-size: 17px; line-height: 1.2; }
.screen.tight .learn .lbody { font-size: 20px; line-height: 1.32; margin-top: 10px; }
.screen.tight .hub-compact .hub-body { padding: 10px 18px; }
.screen.tight .cards.dec-grid, #s-scale.tight .dec-grid { gap: 12px; margin-top: 14px; }
.screen.tight .body > .cards.dec-grid .card.dec, #s-scale.tight .card.dec, #s-hubdec.tight .body > .cards.dec-grid .card.dec, #s-scale.tight .body > .cards.dec-grid .card.dec { padding: 14px 28px; gap: 4px; min-height: 0; }
.screen.tight .card.dec b, #s-scale.tight .card.dec b { font-size: 31px; }
.screen.tight .card.dec span { font-size: 23px; }
.screen.tight .card .social { font-size: 20px; margin-top: 6px; }
.screen.tight .footer-cta, #s-hubdec.tight .footer-cta, #s-scale.tight .footer-cta, #s-adrate.tight .footer-cta { padding-top: 14px; }
.screen.tight2 h2, #s-scale.tight2 h2 { font-size: 44px; }
.screen.tight2 .lede, #s-scale.tight2 .lede { font-size: 24px; margin-top: 10px; }
.screen.tight2 .learn { padding: 12px 20px 12px; }
.screen.tight2 .learn .lhead { font-size: 26px; }
.screen.tight2 .learn .fact { min-height: 70px; }
.screen.tight2 .learn .fact b { font-size: 27px; }
.screen.tight2 .learn .fact b.mid { font-size: 24px; }
.screen.tight2 .learn .fact b.long { font-size: 20px; }
.screen.tight2 .learn .fact b.xl { font-size: 18px; }
.screen.tight2 .learn .fact span { font-size: 16px; }
.screen.tight2 .learn .lbody { font-size: 18px; line-height: 1.3; margin-top: 8px; }
.screen.tight2 .body > .cards.dec-grid .card.dec, #s-scale.tight2 .card.dec, #s-hubdec.tight2 .body > .cards.dec-grid .card.dec, #s-scale.tight2 .body > .cards.dec-grid .card.dec { padding: 10px 24px; }
.screen.tight2 .card.dec b, #s-scale.tight2 .card.dec b { font-size: 28px; }
.screen.tight2 .card.dec span { font-size: 21px; }
.screen.tight2 .hub-compact .hub-body { padding: 8px 16px; }
/* the full Seller Hub dashboard (Manage overview): first trim the padding, then the type */
.screen.tight .hub { margin-top: 20px; }
.screen.tight .hub-body { padding: 16px 24px; }
.screen.tight .hub-top { padding: 12px 26px; }
.screen.tight .sb .tile { min-height: 96px; padding: 10px 14px; }
.screen.tight .mod { min-height: 118px; padding: 8px 16px; }
.screen.tight .mods { gap: 10px; }
.screen.tight .task-list { gap: 8px; margin-top: 8px; }
.screen.tight .task { padding: 11px 16px; }
.screen.tight2 .hub-body { padding: 10px 18px; }
.screen.tight2 .sb .tile { min-height: 80px; }
.screen.tight2 .sb .tile b { font-size: 34px; }
.screen.tight2 .mod { min-height: 90px; padding: 8px 14px; }
.screen.tight2 .task { padding: 8px 14px; font-size: 22px; }
.screen.tight2 .task .chip { font-size: 18px; }
.screen.tight2 .task-list { gap: 6px; }

/* ---------- Fill the stage ----------
   Every screen is one column. One working element per screen grows to meet the
   footer; the learn panel, the item strip and the Seller Hub mock never shrink. */
.screen .body > .learn, .screen .body > .hub-compact, .screen .body > .item-strip, .screen .body > #photo-tray, .screen .body > #growth, .screen .body > .dec-extra { flex: none; }
.screen .body > .cards.dec-grid { flex: 1 1 auto; min-height: 0; grid-auto-rows: minmax(min-content, 1fr); align-content: stretch; }
.screen .body > .cards.dec-grid .card.dec { justify-content: center; min-height: 128px; }
#s-hubdec .body > .cards.dec-grid .card.dec, #s-scale .body > .cards.dec-grid .card.dec { min-height: 100px; padding-top: 14px; padding-bottom: 14px; }
/* photos: the six photos grow */
#s-photos #photo-grid { flex: 1 1 auto; min-height: 300px; grid-auto-rows: minmax(0, 1fr); }
#s-photos .ph { height: auto; min-height: 0; }
#s-photos .tray-slot { height: 200px; }
/* title: the preview grows a little, the word tiles take the rest */
#s-title #title-preview { flex: 0 1 auto; min-height: 150px; max-height: 250px; }
#s-title #tile-grid { flex: 1 1 auto; align-content: center; gap: 24px; margin-top: 30px; }
#s-title .tile { font-size: 38px; padding: 30px 40px; }
/* item specifics and research: the learn panel replaces the lede, the form or the board grows */
#s-specifics .lede, #s-research .lede { display: none; }
#s-specifics .syi { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
#s-specifics .spf-field { flex: 1 1 auto; }
#s-specifics .chip { font-size: 30px; padding: 20px 30px; }
#s-research .hub { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
#s-research .hub .hub-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
#s-research .rs-grid { flex: 1 1 auto; min-height: 0; grid-auto-rows: minmax(0, 1fr); }
#s-research .rs-card { display: flex; flex-direction: column; justify-content: center; }
/* price: the sold curve grows (the canvas takes its bitmap height from the box) */
#s-price #price-canvas-wrap { flex: 1 1 auto; min-height: 240px; }
#s-price #price-canvas { height: 100%; }
/* recap: content height cards, the space below stays empty */
#s-boss #bs-opts { flex: none; grid-auto-rows: auto; align-content: start; gap: 24px; }
#s-boss #bs-q { min-height: 0; }
#s-boss #bs-why { flex: none; }
/* category: the five photo cards grow */
#cat-grid { flex: 1 1 auto; min-height: 0; grid-auto-rows: minmax(0, 1fr); margin-top: 30px; gap: 22px; }
#cat-grid .cat-card .cat-meta { padding: 18px 28px 22px; gap: 4px; }
#cat-grid .cat-card .cat-meta b { font-size: 36px; }
#cat-grid .cat-card .cat-meta span { font-size: 24px; }
#cat-grid .cat-card { display: flex; flex-direction: column; }
#cat-grid .cat-card .cat-photo { flex: 1 1 auto; height: auto; min-height: 140px; }
#cat-grid .cat-card .cat-meta { flex: none; }
/* manage overview: the Seller Hub mock grows to the bottom, its modules share the height */
#s-hub .hub { flex: 1 1 auto; display: flex; flex-direction: column; }
#s-hub .hub-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
#s-hub .mods { flex: 1 1 auto; min-height: 0; grid-auto-rows: minmax(min-content, 1fr); }
/* seller level: the four rows grow, centred */
#lv-rows { flex: 1 1 auto; min-height: 0; justify-content: center; gap: 14px; }
#lv-rows .lv-row:not(.lv-head) { flex: 1 1 auto; max-height: 150px; }
/* score: the journey cards grow */
#chapter-strip { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
#chapter-cards { flex: 1 1 auto; min-height: 0; justify-content: center; }
#chapter-cards .chap { flex: 1 1 auto; max-height: 150px; }
/* leaderboard: the full table grows */
#board-full { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
#board-full-rows { flex: 1 1 auto; min-height: 0; justify-content: flex-start; overflow: hidden; }   /* 30 Sep: never centred past its own box */
#board-full-rows .bfrow { flex: 1 1 auto; max-height: 92px; }
/* stamp: the stamp sits in the middle of the space it has */
#stamp-wrap { flex: 1 1 auto; min-height: 0; transform: scale(1.18); }
/* receipt: the printer and its paper sit in the middle, the timer above the button */
#printer { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
#paper-view { height: 900px; }
#reward-timer { margin-top: auto; padding-top: 20px; }
/* compact Seller Hub screens: a tighter mock so the panel, the mock and three cards fit */
.hub-compact .hub-top { padding: 8px 22px; }
.hub-compact .hub-top .hub-logo { height: 22px; }
.hub-compact .hub-top .sh { font-size: 26px; }
.hub-compact .hub-top .pill { font-size: 19px; padding: 5px 14px; }
.hub-compact .cd-menu div { padding: 8px 18px; }
#s-hubdec .footer-cta, #s-scale .footer-cta, #s-adrate .footer-cta { padding-top: 20px; }

.footer-cta { margin-top: auto; display: flex; gap: 28px; align-items: center; justify-content: flex-end; padding-top: 36px; padding-right: 64px; /* keeps the primary button clear of the round mute button at the stage corner */ }
.footer-cta .hint { margin-right: auto; font-size: 28px; color: var(--n5); }

/* ---------- Attract ---------- */
/* Vertical zones that can never collide: headline, art band (chips live INSIDE it),
   stats, CTA, ticker. Headline auto-fits per language (see fitLockup in game.js). */
#s-attract { justify-content: flex-start; background: var(--n0); padding: 0; overflow: hidden; }
#attract-top { padding: 64px 88px 0; position: relative; z-index: 3; }
#attract-logo { display: block; width: 190px; height: auto; margin-bottom: 22px; }
.lockup { font-weight: 600; letter-spacing: -0.03em; line-height: .98; font-size: 150px; }
.lockup .row { display: block; white-space: nowrap; }
.lockup .accent { color: var(--blue); }
#attract-tag {
  display: inline-block; margin-top: 32px; padding: 14px 26px; border: 4px solid var(--ink);
  border-radius: var(--radius); font-size: 30px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transform: rotate(0); background: #fff; position: relative; z-index: 4;
}
#attract-art {
  position: relative; flex: none; height: 600px; margin-top: 26px; overflow: hidden;
}
#attract-map {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 24%;
}
#attract-chips { position: absolute; inset: 0; pointer-events: none; }
.float-card {
  position: absolute; width: 224px; border-radius: 16px; overflow: hidden; background: #fff;
  border: 3px solid var(--n2); animation: drift 7s ease-in-out infinite alternate;
  box-shadow: 0 22px 54px rgba(0,0,0,.16);
}
.float-card img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; display: block; }  /* the photo shape, so a card never trims the product (was 138px tall, which cut 16 percent) */
.float-card span {
  display: block; color: #fff; font-size: 22px; font-weight: 600; padding: 10px 14px;
  white-space: nowrap; text-align: center;
}
@keyframes drift { from { transform: translateY(-12px); } to { transform: translateY(12px); } }
#attract-stats { padding: 54px 88px 0; display: flex; gap: 40px; position: relative; z-index: 3; }
#attract-stats .stat { flex: 1 1 0; min-width: 0; }
#attract-stats .stat b { display: block; font-size: 66px; font-weight: 600; }
#attract-stats .stat span { font-size: 27px; color: var(--n5); }
#attract-cta { position: relative; z-index: 3; margin-top: auto; padding: 0 88px 192px; display: flex; flex-direction: column; gap: 38px; }
#touch-pulse {
  align-self: flex-start; background: var(--ink); color: #fff; border-radius: var(--radius);
  font-size: 46px; font-weight: 600; padding: 42px 78px; cursor: pointer;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.045); } }
/* optional play window: before and after it the lock card stands where TOUCH TO START was */
#lock-card { align-self: flex-start; max-width: 780px;   /* clear of the round mute button at the right */ background: var(--ink); color: #fff; border-radius: var(--radius); padding: 40px 60px; }
#lock-card b { display: block; font-size: 46px; font-weight: 600; line-height: 1.1; }
#lock-card span { display: block; margin-top: 14px; font-size: 28px; line-height: 1.35; color: rgba(255,255,255,.78); }
#attract-ticker {
  position: absolute; bottom: 0; left: 0; right: 0; background: var(--deep); color: #fff;
  font-size: 26px; padding: 18px 0; white-space: nowrap; overflow: hidden; z-index: 4;
}
#ticker-inner { display: inline-block; padding-left: 100%; animation: tick 26s linear infinite; }
@keyframes tick { to { transform: translateX(-100%); } }

/* ---------- Card grids ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 48px; }
.card {
  border: 3px solid var(--n3); border-radius: 16px; background: #fff; cursor: pointer;
  padding: 44px 40px; display: flex; flex-direction: column; gap: 12px; text-align: left;
  transition: border-color .15s, transform .12s, box-shadow .2s; position: relative; overflow: hidden;
}
.card:active { transform: scale(.98); }
.card.sel { border-color: var(--ink); box-shadow: 0 14px 44px rgba(0,0,0,.10); }
.cat-card { padding: 0; overflow: hidden; }
.cat-card .cat-photo { height: 250px; overflow: hidden; }
.cat-card .cat-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.cat-card:active .cat-photo img { transform: scale(1.04); }
.cat-card .cat-meta { padding: 26px 32px 30px; display: flex; flex-direction: column; gap: 8px; }
.cat-card .cat-stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; display: block; }
.card b { font-size: 40px; font-weight: 600; }
.card span { font-size: 27px; color: var(--n5); }
.cards.one-col { grid-template-columns: 1fr; }
.cards.one-col .card { flex-direction: row; align-items: center; gap: 28px; padding: 40px 44px; }
.cards.one-col .card b { font-size: 42px; }
.cards.one-col .card span { margin-left: auto; text-align: right; }

/* ---------- Photo step (drag and drop into the listing tray) ---------- */
#photo-tray {
  margin-top: 30px; border: 4px dashed var(--n3); border-radius: 18px;
  padding: 22px 26px 16px; background: var(--n1);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
#photo-tray.hot { border-color: var(--blue); background: #eef5ff; box-shadow: 0 0 0 6px rgba(9,104,246,.12); }
#tray-slots { display: flex; gap: 22px; }
.tray-slot {
  flex: 1; height: 235px; border: 3px dashed var(--n3); border-radius: 14px; background: #fff;
  display: grid; place-items: center; position: relative; overflow: hidden; cursor: pointer;
}
.tray-slot .slot-cam { width: 56px; height: 56px; color: var(--n3); grid-area: 1 / 1; margin-bottom: 34px; }
.tray-slot .slot-n {
  grid-area: 1 / 1; align-self: end; margin-bottom: 16px;
  font-size: 26px; font-weight: 600; color: var(--n3);
}
.tray-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tray-slot.filled { border-style: solid; border-color: var(--ink); }
.tray-slot.pop { animation: slot-pop .4s cubic-bezier(.2,.9,.3,1.4); }
@keyframes slot-pop { from { transform: scale(.78); } }
#tray-label { text-align: center; margin-top: 12px; font-size: 25px; color: var(--n5); font-weight: 600; }
#photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.ph {
  position: relative; border-radius: 16px; overflow: hidden; cursor: grab; height: 335px;
  border: 4px solid var(--n3); background: var(--n1); transition: border-color .15s, transform .1s, opacity .2s;
  touch-action: none;
}
.ph:active { transform: scale(.98); }
.ph.lifting { opacity: .35; }
.ph.placed { opacity: .38; border-color: var(--blue); }
.ph .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.ph .pick {
  position: absolute; top: 12px; right: 12px; width: 54px; height: 54px; border-radius: 50%;
  background: #fff; border: 4px solid var(--n3); display: grid; place-items: center;
  font-size: 28px; font-weight: 600; color: #fff; transition: all .15s; opacity: 0;
}
.ph.placed .pick { background: var(--blue); border-color: var(--blue); opacity: 1; }
.ph .verdict {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 18px; font-size: 24px; font-weight: 600;
  color: #fff; opacity: 0; transition: opacity .3s;
}
.ph.reveal .verdict { opacity: 1; }
.ph .verdict.good { background: rgba(60,193,78,.94); }
.ph .verdict.bad { background: rgba(240,45,45,.92); }
#photo-count { font-size: 30px; font-weight: 600; }
#drag-ghost {
  position: absolute; z-index: 70; width: 300px; height: 210px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 34px 90px rgba(0,0,0,.38); pointer-events: none;
  transform: translate(-50%, -58%) rotate(3deg) scale(1.05);
  border: 4px solid #fff;
}
#drag-ghost img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Item strip ---------- */
.item-strip {
  display: flex; gap: 28px; align-items: flex-start; margin-top: 30px;
  border: 3px solid var(--n2); border-radius: 18px; padding: 22px 26px; background: var(--n1);
}
.item-strip img { width: 130px; height: 130px; border-radius: 12px; object-fit: cover; flex: none; }
.item-strip b { font-size: 36px; }
.item-strip .lede { margin-top: 6px; font-size: 27px; line-height: 1.4; }

/* ---------- Title step ---------- */
#title-preview {
  margin-top: 44px; min-height: 150px; border: 3px dashed var(--n3); border-radius: 16px;
  padding: 28px 32px; font-size: 42px; font-weight: 600; line-height: 1.25;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
#title-preview .placeholder { color: var(--n3); font-weight: 400; font-size: 34px; }
#title-preview .chosen { background: var(--n1); border-radius: 10px; padding: 8px 18px; }
#char-meter { font-size: 26px; color: var(--n5); margin-top: 14px; }
#tile-grid { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; }
.tile {
  font-size: 34px; font-weight: 600; padding: 26px 34px; border-radius: 12px; cursor: pointer;
  border: 3px solid var(--n3); background: #fff; transition: all .15s;
}
.tile.sel { background: var(--ink); border-color: var(--ink); color: #fff; }
.tile.reveal-good { background: var(--green); border-color: var(--green); color: #fff; }
.tile.reveal-bad { background: var(--red); border-color: var(--red); color: #fff; text-decoration: line-through; }

/* ---------- Price step ---------- */
#price-canvas-wrap { margin-top: 46px; position: relative; }
#price-canvas { width: 100%; height: 430px; border-radius: 16px; background: var(--n1); }
#price-readout { display: flex; align-items: baseline; gap: 26px; margin-top: 40px; }
#price-value { font-size: 110px; font-weight: 600; letter-spacing: -0.02em; }
#price-verdict { font-size: 34px; font-weight: 600; padding: 12px 24px; border-radius: 10px; }
#price-verdict.low { background: #fdeeee; color: var(--red); }
#price-verdict.sweet { background: #ecf9ee; color: #1d8b2d; }
#price-verdict.high { background: #fff6e3; color: #9a6f00; }
#price-slider { width: 100%; margin-top: 34px; -webkit-appearance: none; appearance: none; height: 22px; border-radius: 11px; background: var(--n2); outline: none; }
#price-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 84px; height: 84px; border-radius: 50%;
  background: var(--ink); border: 8px solid #fff; box-shadow: 0 8px 24px rgba(0,0,0,.28); cursor: pointer;
}
#price-context { font-size: 28px; color: var(--n5); margin-top: 26px; }

/* ---------- Launch ---------- */
#s-launch { padding: 0; background: var(--deep); }
#launch-intro {
  position: absolute; inset: 0 0 72px; z-index: 6; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 52px; background: var(--n0);
  transition: opacity .5s; text-align: center; padding: 0 90px;
}
#launch-intro.gone { opacity: 0; pointer-events: none; }
#listing-summary {
  border: 3px solid var(--n2); border-radius: 20px; padding: 36px 42px; width: 100%;
  text-align: left; display: flex; gap: 34px; align-items: center;
}
#listing-summary img { width: 170px; height: 170px; border-radius: 14px; object-fit: cover; flex: none; }
#listing-summary .sum-rows { display: flex; flex-direction: column; gap: 16px; flex: 1; }
#listing-summary .t { font-size: 40px; font-weight: 600; }
#listing-summary .row { font-size: 30px; color: var(--n7); display: flex; justify-content: space-between; }
#btn-listit {
  background: var(--ink); color: #fff; font-size: 64px; font-weight: 600;
  padding: 52px 110px; border-radius: 16px; border: none; cursor: pointer;
  animation: pulse 1.6s ease-in-out infinite; font-family: inherit;
}
#map-wrap { position: absolute; inset: 0; }
#mapcv { width: 100%; height: 100%; }
#orders-feed {
  position: absolute; left: 60px; right: 60px; bottom: 282px; display: flex;
  flex-direction: column-reverse; gap: 18px; pointer-events: none;
}
.order-toast {
  background: rgba(255,255,255,.97); border-radius: 14px; padding: 22px 30px;
  font-size: 32px; font-weight: 600; display: flex; align-items: center; gap: 18px;
  box-shadow: 0 12px 34px rgba(0,0,0,.35);
  animation: toast-in .45s cubic-bezier(.2,.9,.3,1.2);
}
.order-toast .amt { margin-left: auto; color: #1d8b2d; }
@keyframes toast-in { from { transform: translateY(46px) scale(.9); opacity: 0; } }
#rev-hud {
  position: absolute; top: 70px; left: 60px; right: 60px; display: flex;
  justify-content: space-between; align-items: flex-start; color: #fff;
}
#rev-hud .lab { font-size: 26px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
#rev-total { font-size: 96px; font-weight: 600; letter-spacing: -0.02em; }
#rev-orders { font-size: 96px; font-weight: 600; text-align: right; }
#launch-msg {
  position: absolute; left: 130px; right: 130px; bottom: 156px; text-align: center; color: #fff;   /* 130 px each side: the last words never run under the mute button */
  font-size: 34px; opacity: .9;
}

/* ---------- Score ---------- */
#score-hero { display: flex; align-items: center; gap: 60px; margin-top: 30px; }
#score-ring { width: 360px; height: 360px; position: relative; flex: none; }
#score-ring svg { transform: rotate(-90deg); }
#score-num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 120px; font-weight: 600; letter-spacing: -0.02em;
}
#score-num small { font-size: 30px; color: var(--n5); display: block; text-align: center; }
#archetype { flex: 1; }
#archetype .aname { font-size: 66px; font-weight: 600; line-height: 1.05; }
#archetype .aline { font-size: 30px; color: var(--n7); margin-top: 18px; line-height: 1.4; }
#dim-bars { margin-top: 46px; display: flex; flex-direction: column; gap: 22px; }
.dim { display: grid; grid-template-columns: 340px 1fr 110px; align-items: center; gap: 24px; font-size: 28px; }
.dim > span:first-child { line-height: 1.15; }
.dim .bar { height: 26px; border-radius: 13px; background: var(--n2); overflow: hidden; }
.dim .bar i { display: block; height: 100%; border-radius: 13px; width: 0; transition: width 1s cubic-bezier(.2,.8,.2,1); }
.dim b { text-align: right; font-weight: 600; }
#chapter-strip { margin-top: 46px; }
#chapter-strip .kicker { margin-bottom: 20px; }
#chapter-cards { display: flex; flex-direction: column; gap: 14px; }
.chap {
  border: 3px solid var(--n3); border-radius: 14px; padding: 20px 28px;
  display: grid; grid-template-columns: 340px 1fr auto; align-items: center; gap: 24px;
  text-align: left;
}
.chap b { font-size: 28px; }
.chap .tease { color: var(--n5); font-size: 23px; line-height: 1.3; }
.chap .st { font-size: 23px; font-weight: 600; color: var(--n5); white-space: nowrap; }
.chap .st.ok { color: #1d8b2d; }
.chap.done { border-color: var(--green); background: #f3fbf4; }
.chap.locked b { color: var(--n7); }

/* ---------- Initials ---------- */
#init-slots { display: flex; gap: 22px; margin-top: 44px; justify-content: center; }
.init-slot {
  width: 132px; height: 170px; border: 4px solid var(--n3); border-radius: 16px;
  display: grid; place-items: center; font-size: 88px; font-weight: 600; background: var(--n1);
}
.init-slot.cur { border-color: var(--blue); background: #f5f9ff; }
#kb, #kb-rate { display: flex; flex-direction: column; gap: 16px; margin-top: 48px; align-items: center; }
.kb-row { display: flex; gap: 12px; }
.key {
  width: 82px; height: 96px; border-radius: 12px; border: 3px solid var(--n3); background: #fff;
  font-size: 40px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.key.digit { background: var(--n1); }
.key.wide { width: 200px; font-size: 28px; }
.key.space { width: 460px; font-size: 28px; }
.key:active { background: var(--ink); color: #fff; }

/* ---------- Leaderboard ---------- */
#bd-title { display: flex; align-items: center; gap: 22px; }
.ti-trophy { width: 56px; height: 56px; color: var(--yellow); flex: none; }
#board-banner {
  margin-top: 34px; width: 100%; height: 210px; object-fit: cover; object-position: center 55%;
  border-radius: 18px; display: block;
}
#board { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.brow {
  display: grid; grid-template-columns: 90px 130px 1fr 120px 130px; align-items: center; gap: 20px;
  border-radius: 14px; padding: 22px 30px; font-size: 36px; background: var(--n1);
}
.brow.me { background: var(--ink); color: #fff; transform: scale(1.02); box-shadow: 0 14px 40px rgba(0,0,0,.18); }
.brow .rank { font-weight: 600; color: var(--n5); }
.brow.me .rank { color: var(--yellow); }
.brow .ini { font-weight: 600; letter-spacing: .1em; }
.brow .city { color: var(--n5); font-size: 28px; }
.brow.me .city { color: #cfcfcf; }
.brow .sc { text-align: right; font-weight: 600; }
.brow .time, .bfrow .time { text-align: right; font-size: 26px; color: var(--n5); font-variant-numeric: tabular-nums; }
.brow.me .time { color: #cfcfcf; }
#bd-tie { margin-top: 10px; font-size: 26px; color: var(--n5); }
#board { margin-top: 22px; }

/* ---------- Reward: the receipt printer moment ----------
   Skeuomorphic first sale receipt, printed line by line from a POS slab
   (the Run Receipt pattern: paper rolls out of a slot, then hangs and sways). */
#s-reward { background: #eef0f3; }
#s-reward .body { align-items: center; text-align: center; }
#s-reward .lede { display: none; }
#printer { width: 720px; margin: 22px auto 0; }
#printer-body {
  position: relative; z-index: 3; background: linear-gradient(#2e3138, #1d1f24);
  border-radius: 24px; padding: 26px 34px 28px; box-shadow: 0 26px 60px rgba(0,0,0,.30);
}
#printer-top { display: flex; align-items: center; gap: 18px; }
#printer-led { width: 16px; height: 16px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(60,193,78,.9); }
#printer-led.printing { animation: led .5s steps(2) infinite; }
@keyframes led { 50% { opacity: .2; } }
#printer-label { color: #9aa0a8; font-size: 21px; letter-spacing: .16em; font-weight: 600; }
#printer-vents { margin-left: auto; display: flex; gap: 8px; }
#printer-vents i { width: 34px; height: 6px; border-radius: 3px; background: #43464e; }
#printer-slot { margin-top: 18px; height: 16px; border-radius: 8px; background: #0b0c0f; box-shadow: inset 0 3px 8px rgba(0,0,0,.9); }
#paper-view { position: relative; z-index: 2; width: 632px; height: 960px; margin: -6px auto 0; overflow: hidden; }
#paper { will-change: transform; }
#paper-inner { transform-origin: top center; }
#paper-inner.feeding { animation: sway 1.05s ease-in-out infinite alternate; }
#paper-inner.done { animation: dangle 4.5s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-.45deg); } to { transform: rotate(.45deg); } }
@keyframes dangle { from { transform: rotate(-.15deg); } to { transform: rotate(.15deg); } }
#receipt {
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.015) 0 2px, transparent 2px 5px),
    linear-gradient(#fcfbf6, #f5f3ea);
  padding: 22px 44px 14px; text-align: left;
  font-family: "SF Mono", "Menlo", "Courier New", monospace;
  color: #26241f; box-shadow: 0 20px 50px rgba(0,0,0,.16);
}
.rc-tear {
  height: 22px;
  background:
    linear-gradient(45deg, transparent 33.333%, #f5f3ea 33.333%, #f5f3ea 66.667%, transparent 66.667%),
    linear-gradient(-45deg, transparent 33.333%, #f5f3ea 33.333%, #f5f3ea 66.667%, transparent 66.667%);
  background-size: 22px 44px; background-position: 0 -22px;
}
.rc-logo-img { display: block; width: 150px; height: auto; margin: 4px auto 8px; }
.rc-logo { font-family: "Market Sans", sans-serif; font-weight: 600; font-size: 54px; letter-spacing: -0.04em; text-align: center; line-height: 1; }
.rc-sub { text-align: center; font-size: 19px; letter-spacing: .09em; margin-top: 8px; line-height: 1.5; color: #3c3a33; }
.rc-dash { border-top: 3px dashed #c9c5b8; margin: 8px 0; }
.rc-big { text-align: center; font-size: 25px; font-weight: 700; letter-spacing: .1em; margin: 0 0 8px; }
.rc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; font-size: 21px; line-height: 1.5; }
.rc-row span { color: #6f6b5e; letter-spacing: .03em; }
.rc-row b { font-weight: 700; text-align: right; }
.rc-titleline { font-size: 21px; font-weight: 700; line-height: 1.4; margin: 2px 0 4px; }
.rc-row.rc-total { font-size: 27px; margin-bottom: 4px; }
.rc-row.rc-total span { color: #26241f; font-weight: 700; }
.rc-row.rc-dim { font-size: 20px; }
.rc-row.rc-dim span:first-child { width: 150px; flex: none; }
.rc-row.rc-dim .rc-blocks { color: #26241f; letter-spacing: 1px; margin-left: auto; }
.rc-row.rc-dim b { width: 108px; flex: none; }
.rc-pack { font-size: 21px; line-height: 1.55; letter-spacing: .02em; }
.rc-qr { display: flex; align-items: center; gap: 26px; justify-content: center; margin: 2px 0; }
.rc-qr img { width: 150px; height: 150px; filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; }
.rc-qr.big { flex-direction: column; gap: 14px; margin: 10px 0 6px; }
.rc-qr.big img { width: 330px; height: 330px; image-rendering: pixelated; }
.rc-qr.big div { max-width: 460px; text-align: center; }
.rc-score { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin: 6px 0 4px; }
.rc-score span { font-size: 21px; color: #6f6b5e; letter-spacing: .06em; }
.rc-score b { font-size: 74px; font-weight: 700; line-height: 1; margin-left: auto; }
.rc-score small { font-size: 24px; color: #6f6b5e; }
.rc-qr div { font-size: 21px; font-weight: 700; letter-spacing: .09em; max-width: 250px; line-height: 1.45; }
.rc-barcode { display: flex; align-items: stretch; gap: 3px; height: 52px; margin-top: 8px; justify-content: center; }
.rc-barcode i { background: #26241f; display: block; }
.rc-code { text-align: center; font-size: 18px; letter-spacing: .2em; margin-top: 6px; color: #3c3a33; }
.rc-thanks { text-align: center; font-size: 21px; font-weight: 700; letter-spacing: .12em; margin-top: 8px; }
#reward-timer { margin-top: 20px; font-size: 27px; color: var(--n5); }

/* ---------- Watchers pill (the listing's live market) ---------- */
#watchers {
  /* centered in the topbar gap between the wordmark and the progress pips */
  /* round 4: the Back button took the wordmark's place, so the pill moved under the score pill
     on the right, clear of Back, the pips and the step label */
  position: absolute; top: 128px; right: 26px; left: auto; transform: none;
  z-index: 45; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 3px solid var(--n2); border-radius: 999px;
  padding: 5px 18px; font-size: 22px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .35s;
  box-shadow: 0 10px 30px rgba(0,0,0,.08); white-space: nowrap;
}
#watchers.on { opacity: 1; }
#watchers svg { width: 28px; height: 28px; color: var(--blue); flex: none; }
#watchers span { color: var(--n5); font-weight: 400; font-size: 20px; }
#watchers.pop { animation: w-pop .35s cubic-bezier(.2,.9,.3,1.4); }
@keyframes w-pop { 40% { transform: translateX(-50%) scale(1.12); } }
.watch-float {
  position: absolute; top: 112px; left: 340px; z-index: 44; font-size: 31px; font-weight: 600;
  pointer-events: none; animation: wf 1.4s ease-out forwards;
}
.watch-float.up { color: #1d8b2d; }
.watch-float.down { color: var(--red); }
@keyframes wf { from { opacity: 0; transform: translateY(-8px); } 20% { opacity: 1; } to { opacity: 0; transform: translateY(58px); } }

/* ---------- Coach modal ---------- */
#coach-scrim {
  position: absolute; inset: 0; z-index: 60; background: rgba(16,18,22,.45);
  display: grid; place-items: center; opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
#coach-scrim.on { opacity: 1; pointer-events: auto; }
#coach {
  width: 860px; max-width: 88%; background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 110px rgba(0,0,0,.4); transform: scale(.88) translateY(26px);
  transition: transform .35s cubic-bezier(.2,.9,.3,1.2);
}
#coach-scrim.on #coach { transform: scale(1) translateY(0); }
#coach-head { padding: 26px 0; display: grid; place-items: center; }
#coach-head span {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  font-size: 52px; font-weight: 600; color: #fff;
}
#coach.tone-good #coach-head span { background: var(--green); }
#coach.tone-bad #coach-head span { background: var(--red); }
#coach.tone-grey #coach-head span { background: var(--yellow); }
#coach-body { padding: 6px 56px 40px; font-size: 36px; line-height: 1.5; text-align: center; color: var(--ink); }
#coach-body b { display: block; font-size: 44px; margin-bottom: 12px; }
#coach.tone-good #coach-body b { color: #1d8b2d; }
#coach.tone-bad #coach-body b { color: var(--red); }
#coach.tone-grey #coach-body b.grey-head { color: #9a6f00; }
#coach.tone-grey #coach-body b:not(.grey-head) { display: inline; font-size: inherit; color: var(--ink); margin: 0; }
#coach-bar { height: 12px; background: var(--n2); }
#coach-bar-fill { height: 100%; width: 100%; background: var(--ink); }

/* ---------- Confetti + misc ---------- */
#confetti { position: absolute; inset: 0; pointer-events: none; z-index: 80; }
#mute {
  position: absolute; right: 26px; bottom: 98px; z-index: 90; width: 84px; height: 84px;
  border-radius: 50%; border: 3px solid var(--n3); background: #fff; cursor: pointer;
  display: grid; place-items: center;
}
#mute svg { width: 40px; height: 40px; color: var(--ink); }
#demo-menu { display: none; }
body.demo #demo-menu { display: block; }
#demo-menu {
  position: absolute; left: 26px; bottom: 98px; z-index: 90; font-size: 24px; color: var(--n5);
  background: #fff; border: 2px solid var(--n3); border-radius: 10px; padding: 12px 20px; cursor: pointer;
}
#demo-panel {
  position: absolute; left: 26px; bottom: 168px; z-index: 95; background: #fff; border: 2px solid var(--n3);
  border-radius: 12px; padding: 14px; display: none; flex-direction: column; gap: 6px;
}
#demo-panel.on { display: flex; }
#demo-panel button { font-family: inherit; font-size: 22px; padding: 10px 16px; border: none; background: var(--n1); border-radius: 8px; cursor: pointer; text-align: left; }
.toast-mini {
  position: absolute; left: 50%; bottom: 212px; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: 28px; padding: 18px 32px; border-radius: 12px;
  z-index: 99; animation: toast-in .3s;
}

.ship-icon { width: 54px; height: 54px; color: var(--ink); }
.cards.one-col .card .ship-icon { flex: none; }
#mute.over-ticker { bottom: 146px; }
#demo-menu.over-ticker { bottom: auto; top: 18px; left: auto; right: 26px; }
#coach-icon svg { width: 48px; height: 48px; color: #fff; display: block; }

/* ---------- Spot the Mistake ---------- */
#spot-listing { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.spot-row {
  display: grid; grid-template-columns: 240px 1fr 64px; align-items: center; gap: 24px;
  border: 3px solid var(--n3); border-radius: 14px; padding: 24px 28px; cursor: pointer;
  background: #fff; font-size: 30px; transition: border-color .15s, background .15s; text-align: left;
}
.spot-row .sp-label { font-weight: 600; color: var(--n5); font-size: 26px; text-transform: uppercase; letter-spacing: .08em; }
.spot-row .sp-value { font-weight: 600; }
.spot-row .sp-mark { width: 52px; height: 52px; border-radius: 50%; border: 4px solid var(--n3); display: grid; place-items: center; font-size: 28px; color: #fff; }
.spot-row.sel { border-color: var(--red); background: #fdf3f3; }
.spot-row.sel .sp-mark { background: var(--red); border-color: var(--red); }
.spot-row.photo-row { grid-template-columns: 240px 1fr 64px; }
.spot-row .sp-photo { width: 170px; height: 120px; border-radius: 10px; object-fit: cover; }
.spot-row.rv-hit { border-color: var(--green); background: #f0faf1; }
.spot-row.rv-miss { border-color: var(--red); background: #fdf3f3; }
.spot-row.rv-wrong { border-color: var(--yellow); background: #fff9ea; }
.spot-row .sp-why { grid-column: 1 / -1; font-size: 25px; color: var(--n7); line-height: 1.35; display: none; }
.spot-row.reveal .sp-why { display: block; }
.chap.playable { border-color: var(--ink); cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.10); }
.chap.playable .play-chip {
  display: inline-block; background: var(--ink); color: #fff; border-radius: 8px;
  padding: 10px 22px; font-size: 23px; font-weight: 600; white-space: nowrap;
}

/* ---------- Chapters 2 to 5: decisions sourced from the eBay training decks ---------- */
.dec-extra { display: none; margin-top: 30px; }
.dec-extra.on { display: block; }
.cards.dec-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 34px; }
.card.dec { flex-direction: column; align-items: flex-start; gap: 8px; padding: 30px 40px; }
.card.dec b { font-size: 36px; line-height: 1.2; }
.card.dec span { font-size: 26px; margin-left: 0; text-align: left; }
.card.rv-hit { border-color: var(--green); background: #f0faf1; }
.card.rv-wrong { border-color: var(--red); background: #fdf3f3; }
.card.rv-grey { border-color: var(--yellow); background: #fff9ea; }
.tile.reveal-grey { background: #fff3cc; border-color: var(--yellow); color: var(--ink); }
/* the question repeated at the head of the answers band (Prasanjeet, Part 1 row 67) */
.q-echo { grid-column: 1 / -1; font-size: 30px; font-weight: 600; line-height: 1.25; color: var(--ink); padding: 8px 6px 0; }
.cards.dec-grid.with-echo { grid-template-rows: auto; }
.screen.tight .q-echo { font-size: 26px; }
.screen.tight2 .q-echo { font-size: 24px; }
.card.dec[disabled], .rs-card[disabled] { opacity: .45; pointer-events: none; }
.retry-note { display: block; margin-top: 18px; font-size: 28px; color: var(--n5); }
.card.sel.rv-hit { box-shadow: 0 0 0 6px rgba(60,193,78,.18); }
.order-card { display: flex; gap: 28px; align-items: center; border: 3px solid var(--n2); border-radius: 18px; padding: 24px 28px; background: var(--n1); }
.order-card img { width: 150px; height: 150px; border-radius: 12px; object-fit: cover; flex: none; }
.order-card .oc-head { font-size: 34px; font-weight: 600; line-height: 1.2; }
.order-card .oc-rows { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: 25px; color: var(--n7); }
.msg-bubble { background: #eef3ff; border-radius: 22px 22px 22px 6px; padding: 26px 32px; max-width: 860px; }
.msg-bubble .mb-from { font-size: 24px; color: var(--n5); font-weight: 600; margin-bottom: 8px; }
.msg-bubble .mb-text { font-size: 32px; line-height: 1.4; }
.msg-bubble .mb-tr { margin-top: 14px; padding-top: 14px; border-top: 2px solid rgba(9,104,246,.18); font-size: 27px; color: var(--n7); line-height: 1.4; }
.msg-bubble .mb-tr span { display: block; font-size: 21px; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; font-weight: 600; }
.case-card { border: 3px solid var(--n3); border-radius: 18px; padding: 10px 32px; }
.case-card .cc-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 16px 0; border-bottom: 2px solid var(--n2); font-size: 28px; }
.case-card .cc-row:last-child { border-bottom: none; }
.case-card .cc-row span { color: var(--n5); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 23px; flex: none; }
.case-card .cc-row b { text-align: right; }
.case-card .cc-reason { color: var(--red); }
.src-line { margin-top: 18px; font-size: 22px; color: var(--n5); line-height: 1.35; }
.src-line span { display: block; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
#coach-body .src-line { text-align: center; }

/* Seller level reveal (chapter 4 finale) */
#lv-badge { margin-top: 30px; border-radius: 18px; padding: 28px 36px; display: flex; align-items: baseline; gap: 26px; color: #fff; }
#lv-badge b { font-size: 56px; font-weight: 600; }
#lv-badge span { font-size: 28px; opacity: .85; margin-left: auto; white-space: nowrap; }
#lv-badge.lv-top { background: var(--ink); }
#lv-badge.lv-above { background: var(--blue); }
#lv-badge.lv-below { background: var(--red); }
#lv-rows { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.lv-row { display: grid; grid-template-columns: 1fr 150px 210px 56px; align-items: center; gap: 20px; border: 3px solid var(--n2); border-radius: 14px; padding: 20px 26px; font-size: 27px; line-height: 1.25; }
.lv-row.lv-head { border: none; padding: 0 26px; font-size: 20px; color: var(--n5); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; white-space: nowrap; }
.lv-row b { font-size: 32px; text-align: right; }
.lv-row span:nth-child(3) { color: var(--n5); text-align: right; }
.lv-row.ok { border-color: var(--green); background: #f3fbf4; }
.lv-row.no { border-color: var(--red); background: #fdf3f3; }
.lv-row i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; justify-self: end; }
.lv-row.ok i { background: var(--green); }
.lv-row.no i { background: var(--red); }
.lv-row i svg { width: 24px; height: 24px; color: #fff; display: block; }
#lv-note { font-size: 28px; }

/* Export Master timed quiz (chapter 5) */
#bs-top { display: flex; justify-content: space-between; font-size: 28px; color: var(--n5); font-weight: 600; margin-top: 8px; }
#bs-timer { height: 16px; border-radius: 8px; background: var(--n2); margin-top: 16px; overflow: hidden; }
#bs-timer-fill { height: 100%; background: var(--blue); width: 100%; }
#bs-recap { margin-top: 6px; font-size: 52px; font-weight: 600; line-height: 1.05; letter-spacing: -0.015em; color: var(--ink); text-transform: uppercase; }
#bs-recap-sub { margin-top: 8px; font-size: 28px; color: var(--n7); }
#bs-q { margin-top: 30px; font-size: 50px; min-height: 0; }
#bs-opts.cards { grid-template-columns: 1fr; margin-top: 26px; }
.card.dec.bs-opt { min-height: 0; flex-direction: row; align-items: center; gap: 26px; padding: 30px 36px; }
.card.dec.bs-opt b { font-size: 44px; line-height: 1.2; }
.card.dec.bs-opt .badge { flex: none; width: 66px; height: 66px; border-radius: 50%; border: 3px solid var(--ink); display: grid; place-items: center; font-size: 30px; font-weight: 600; color: var(--ink); }
.card.dec.bs-opt.rv-hit .badge { background: var(--green); border-color: var(--green); color: #fff; }
.card.dec.bs-opt.rv-wrong .badge { background: var(--red); border-color: var(--red); color: #fff; }
#stage.phone .card.dec.bs-opt b { font-size: 30px; }
#bs-why { margin-top: 26px; font-size: 27px; color: var(--n7); line-height: 1.4; min-height: 170px; }
#bs-why b { font-size: 30px; margin-right: 8px; }

/* =====================================================================
   THREE SCREENS (Start / Manage / Scale). Seller Hub skin, research board,
   Sell Your Item form, growth chart, ad rate dashboard, passport stamp.
   ===================================================================== */

/* ---------- Seller Hub skin ---------- */
.hub { margin-top: 30px; border: 3px solid var(--n2); border-radius: 18px; background: #fff; overflow: hidden; }
.hub-top { display: flex; align-items: center; gap: 22px; padding: 16px 28px; border-bottom: 2px solid var(--n2); }
.hub-top .hub-logo { height: 26px; width: auto; display: block; flex: none; }
.hub-top .sh { font-size: 30px; font-weight: 600; }
.hub-top .pill { margin-left: auto; font-size: 22px; border: 2px solid var(--n3); border-radius: 30px; padding: 8px 18px; color: var(--n7); }
.hub-tabs { display: flex; gap: 0; padding: 0 10px; border-bottom: 2px solid var(--n2); }
.hub-tabs span { font-size: 17px; padding: 14px 4px 12px; color: var(--n7); white-space: nowrap; border-bottom: 5px solid transparent; letter-spacing: -0.015em; flex: 1 1 auto; text-align: center; min-width: 0; }
.hub-tabs span.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--blue); }
.hub-body { padding: 24px 28px; }
.hub-compact .hub-body { padding: 14px 22px; }
.hub-h { font-size: 32px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 16px; }
.hub-h .cta { margin-left: auto; background: var(--blue); color: #fff; font-size: 22px; padding: 10px 22px; border-radius: 24px; font-weight: 600; }
.hub-note { font-size: 24px; color: var(--n5); }

/* status bar tiles */
.sb { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.sb .tile { border: 2px solid var(--n2); border-radius: 12px; padding: 14px 16px; min-height: 108px; }
.sb .tile small { display: block; font-size: 19px; color: var(--n5); line-height: 1.2; min-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb .tile b { display: block; font-size: 44px; margin-top: 6px; line-height: 1; transition: color .3s; }
.sb .tile.zero b { color: var(--n3); }
.sb .tile.hot b { color: var(--blue); }

/* overview modules */
.mods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.mod { border: 2px solid var(--n2); border-radius: 12px; padding: 12px 18px; min-height: 130px; }
.mod .mh { font-size: 26px; font-weight: 600; display: flex; justify-content: space-between; align-items: baseline; }
.mod .mh small { font-size: 20px; color: var(--n5); font-weight: 400; }
.mod.tasks { grid-column: 1 / -1; min-height: 0; }
.task-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.task { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; border: 2px solid var(--n2); border-radius: 12px; padding: 14px 18px; font-size: 26px; background: #fff; text-align: left; font-family: inherit; cursor: pointer; }
.task .n { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--n3); display: grid; place-items: center; font-size: 20px; font-weight: 600; }
.task .chip { font-size: 20px; color: var(--n5); white-space: nowrap; }
.task.now { border-color: var(--blue); box-shadow: 0 10px 30px rgba(9,104,246,.16); animation: pulse 1.6s ease-in-out infinite; }
.task.now .n { border-color: var(--blue); background: var(--blue); color: #fff; }
.task.now .chip { color: var(--blue); font-weight: 600; }
.task.done { color: var(--n5); background: var(--n1); }
.task.done .n { background: var(--green); border-color: var(--green); color: #fff; }
.task.done .n svg { width: 22px; height: 22px; fill: #fff; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 80px; margin-top: 10px; }
.bars i { flex: 1; background: var(--blue); border-radius: 3px 3px 0 0; opacity: .8; }
.lvl { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; font-size: 24px; }
.lvl .row { display: flex; justify-content: space-between; gap: 12px; }
.lvl .row span { color: var(--n5); font-size: 21px; line-height: 1.2; }
.lvl .row b { text-align: right; white-space: nowrap; }
.lvl .row b.top { color: #1d8b2d; }
.fbrow { display: flex; gap: 18px; margin-top: 14px; font-size: 24px; }
.fbrow span b { display: block; font-size: 40px; }
.fbrow .neg b { color: var(--red); }

/* orders / listings tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 23px; }
.tbl th { text-align: left; color: var(--n5); font-weight: 400; padding: 8px 10px; border-bottom: 2px solid var(--n2); font-size: 20px; }
.tbl td { padding: 14px 10px; border-bottom: 2px solid var(--n1); vertical-align: middle; }
.tbl td img { width: 74px; height: 74px; object-fit: cover; border-radius: 8px; display: block; }
.tbl .st, .st { display: inline-block; padding: 6px 12px; border-radius: 20px; background: #fff4d6; font-size: 20px; white-space: nowrap; }
.tbl .st.red { background: #ffe3e3; color: #b00020; }
.tbl .st.blue { background: #e6efff; color: var(--blue); }
.tbl .link { color: var(--blue); }
.qf { display: flex; gap: 12px; margin: 0 0 14px; flex-wrap: wrap; }
.qf span { font-size: 21px; border: 2px solid var(--n3); border-radius: 30px; padding: 8px 18px; }
.qf span.hot { border-color: var(--red); color: #b00020; background: #fff5f5; font-weight: 600; }
.label-card { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; font-size: 24px; border: 2px dashed var(--n3); border-radius: 12px; padding: 16px 20px; }
.label-card span { color: var(--n5); font-size: 20px; display: block; }
.away-card { font-size: 26px; display: flex; flex-direction: column; gap: 8px; }
.away-card b { font-size: 30px; }

/* research board */
.rs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rs-card { border: 3px solid var(--n2); border-radius: 14px; padding: 18px 22px; text-align: left; font-family: inherit; background: #fff; cursor: pointer; position: relative; }
.rs-card .rn { font-size: 30px; font-weight: 600; color: var(--blue); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rs-card .go { font-size: 16px; font-weight: 600; letter-spacing: .08em; border: 2px solid #1d8b2d; color: #1d8b2d; border-radius: 6px; padding: 3px 8px; opacity: 0; transition: opacity .3s; }
.rs-card.reveal .go, .rs-card .go.show { opacity: 1; }
.rs-card .rrow { display: flex; justify-content: space-between; font-size: 22px; padding: 6px 0; border-bottom: 1px solid var(--n2); }
.rs-card .rrow:last-child { border-bottom: none; }
.rs-card .rrow span { color: var(--n5); }
.rs-card .rrow b { font-weight: 600; }
.rs-card.sel { border-color: var(--ink); }
.rs-card.rv-hit { border-color: var(--green); background: #f0faf1; }
.rs-card.rv-wrong { border-color: var(--yellow); background: #fff9ea; }
.pr-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 18px; }
.pr-strip div { border: 2px solid var(--n2); border-radius: 10px; padding: 12px 14px; }
.pr-strip small { display: block; font-size: 18px; color: var(--n5); }
.pr-strip b { display: block; font-size: 30px; margin-top: 4px; }

/* Sell Your Item form skin */
.syi { margin-top: 30px; border: 3px solid var(--n2); border-radius: 18px; padding: 28px 32px; }
.syi .syi-h { font-size: 30px; font-weight: 600; }
.syi .syi-sub { font-size: 22px; color: var(--n5); margin-top: 4px; margin-bottom: 20px; }
.spf-field { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-top: 2px solid var(--n1); }
.spf-field label { font-size: 28px; font-weight: 600; }
.spf-field label i { font-style: normal; color: var(--red); }
.spf-chips { display: flex; gap: 12px; flex-wrap: wrap; }
.chip { font-family: inherit; font-size: 26px; font-weight: 600; padding: 16px 24px; border-radius: 12px; border: 3px solid var(--n3); background: #fff; cursor: pointer; }
.chip.sel { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip.rv-hit { border-color: var(--green); background: #f0faf1; color: var(--ink); }
.chip.rv-wrong { border-color: var(--red); background: #fff2f2; color: var(--ink); }

/* fee readout under the price slider */
#fee-box { margin-top: 26px; border: 3px solid var(--n2); border-radius: 16px; padding: 18px 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 30px; font-size: 25px; }
#fee-box .fr { display: flex; justify-content: space-between; gap: 16px; }
#fee-box .fr b { white-space: nowrap; flex: none; }
#fee-box .fr span { min-width: 0; }
#fee-box .fr span { color: var(--n5); }
#fee-box .fr.big { font-weight: 600; font-size: 30px; border-top: 2px solid var(--n2); padding-top: 8px; margin-top: 4px; }
#fee-box .fr.big b.neg { color: var(--red); }
#fee-box .fnote { grid-column: 1 / -1; font-size: 21px; color: var(--n5); margin-top: 6px; }

/* growth chart (Scale) */
#growth { margin-top: 6px; border: 3px solid var(--n2); border-radius: 18px; padding: 16px 28px 8px; background: var(--n1); }
#growth-head { display: flex; justify-content: space-between; align-items: flex-start; }
#growth .lab { font-size: 22px; color: var(--n5); letter-spacing: .06em; text-transform: uppercase; }
#gw-value { font-size: 72px; font-weight: 600; line-height: 1.05; }
#gw-steps { display: flex; gap: 6px; max-width: 720px; justify-content: flex-end; flex-wrap: nowrap; flex: none; }
#gw-steps span { font-size: 19px; text-align: center; border-radius: 20px; min-width: 38px; height: 40px; line-height: 36px; padding: 0 8px; background: #fff; border: 2px solid var(--n2); color: var(--n5); white-space: nowrap; }
#gw-steps span.done { background: var(--ink); color: #fff; border-color: var(--ink); }
#gw-steps span.now { border-color: var(--blue); color: var(--blue); font-weight: 600; }
#growth-cv { width: 100%; height: 88px; display: block; margin-top: 6px; }
#s-scale h2 { margin-top: 18px; font-size: 48px; }
#s-scale .lede { margin-top: 10px; font-size: 28px; }
#s-scale .dec-grid { margin-top: 20px; gap: 16px; }
#s-scale .card.dec { padding: 22px 34px; }
#s-scale .card.dec b { font-size: 34px; }
#s-scale .card.dec span { font-size: 24px; }
#s-scale .hub-compact { margin-top: 10px; }
.made { display: flex; gap: 22px; align-items: center; }
.made img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; }
.made .mt { font-size: 28px; font-weight: 600; }
.made .ms { font-size: 22px; color: var(--n5); margin-top: 4px; }
.made .cta { margin-left: auto; }
.cd-menu { border: 2px solid var(--n3); border-radius: 10px; overflow: hidden; width: 420px; }
.cd-menu div { font-size: 24px; padding: 12px 18px; border-bottom: 1px solid var(--n2); }
.cd-menu div:last-child { border-bottom: none; }
.cd-menu div.hl { background: #e6efff; color: var(--blue); font-weight: 600; }
.calc { display: flex; flex-direction: column; gap: 8px; font-size: 24px; }
.calc div { display: flex; justify-content: space-between; gap: 20px; }
.calc div b { white-space: nowrap; }
.disc-dash { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.disc-dash div { border: 2px solid var(--n2); border-radius: 10px; padding: 12px 16px; }
.disc-dash small { font-size: 20px; color: var(--n5); display: block; }
.disc-dash b { font-size: 34px; }

/* ad rate dashboard */
#s-adrate .hub-compact { margin-top: 20px; }
.ad-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ad-metrics div { border: 2px solid var(--n2); border-radius: 10px; padding: 12px 12px; }
.ad-metrics small { font-size: 20px; color: var(--n5); display: block; line-height: 1.2; white-space: nowrap; }
.ad-metrics b { font-size: 30px; display: block; margin-top: 4px; transition: color .2s; }
.ad-metrics b.warn { color: var(--red); }
.ad-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin-top: 16px; }
.ad-bars i { flex: 1; background: var(--blue); border-radius: 4px 4px 0 0; transition: height .25s; }
#ad-readout { display: flex; align-items: baseline; gap: 26px; margin-top: 34px; }
#ad-value { font-size: 88px; font-weight: 600; }
#ad-verdict { font-size: 30px; font-weight: 600; }
#ad-verdict.low, #ad-verdict.high { color: var(--red); }
#ad-verdict.sweet { color: #1d8b2d; }
#ad-slider { width: 100%; margin-top: 24px; -webkit-appearance: none; appearance: none; height: 22px; border-radius: 11px; background: linear-gradient(90deg, var(--n2) 0 26%, rgba(60,193,78,.35) 26% 47%, var(--n2) 47%); outline: none; }
#ad-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 74px; height: 74px; border-radius: 50%; background: var(--ink); border: 6px solid #fff; box-shadow: 0 6px 20px rgba(0,0,0,.3); cursor: pointer; }
.ad-suggest { margin-top: 14px; font-size: 24px; color: var(--n5); }

/* board: full journey strip */
#board-full { margin-top: 26px; border-top: 3px solid var(--n2); padding-top: 18px; }
#board-full .kicker { margin-bottom: 12px; font-size: 24px; }
#board-full-rows { display: flex; flex-direction: column; gap: 10px; }
.bfrow { display: grid; grid-template-columns: 70px 120px 1fr 110px 120px; align-items: center; gap: 16px; font-size: 28px; padding: 12px 24px; border-radius: 12px; background: var(--n1); }
.bfrow .stamps { display: flex; gap: 8px; }
.bfrow .stamps i { width: 30px; height: 30px; border-radius: 50%; background: var(--green); display: inline-block; }
.bfrow .sc { text-align: right; font-weight: 600; }
#board-me { margin-top: 14px; font-size: 26px; color: var(--n7); }
.brow .rank { font-weight: 600; }
.brow .sc { text-align: right; font-weight: 600; }
.brow.top1 .rank { color: var(--yellow); }

/* stamp screen */
#stamp-wrap { display: grid; place-items: center; margin-top: 36px; }
#stamp { width: 760px; height: 300px; border: 12px solid var(--red); border-radius: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--red); transform: rotate(-6deg) scale(.2); opacity: 0; transition: transform .45s cubic-bezier(.2,1.4,.3,1), opacity .3s; mix-blend-mode: multiply; }
#stamp.on { transform: rotate(-6deg) scale(1); opacity: 1; }
#stamp-word { font-size: 118px; font-weight: 600; letter-spacing: .06em; line-height: 1; }
#stamp-meta { font-size: 30px; letter-spacing: .12em; text-transform: uppercase; }
#stamp-journey { display: flex; justify-content: center; gap: 26px; margin-top: 44px; }
#stamp-journey .sj { width: 240px; border: 3px solid var(--n3); border-radius: 16px; padding: 18px; text-align: center; font-size: 26px; color: var(--n5); }
#stamp-journey .sj b { display: block; font-size: 44px; margin-top: 8px; color: var(--n3); }
#stamp-journey .sj.done { border-color: var(--green); color: var(--ink); }
#stamp-journey .sj.done b { color: #1d8b2d; }
#stamp-journey .sj.me { border-color: var(--ink); background: var(--ink); color: #fff; }
#stamp-journey .sj.me b { color: #fff; }
#stamp-timer { margin-top: auto; text-align: center; font-size: 26px; color: var(--n5); padding-top: 24px; }
#stamp-timer b { color: var(--ink); }

/* hub picker on the plain domain */
#hub-links { display: flex; flex-direction: column; gap: 18px; }
#hub-links a { display: block; text-decoration: none; color: #fff; background: var(--ink); font-size: 34px; font-weight: 600; padding: 26px 34px; border-radius: 12px; }
#hub-links a.alt { background: var(--blue); }

/* welcome toast and offline note */
.toast-mini.long { bottom: 292px; font-size: 30px; padding: 22px 36px; max-width: 900px; text-align: center; }

/* ---------- v2: coach button, live score, sub chapter strip, markets, social proof ---------- */
#coach-foot { padding: 0 56px 40px; display: flex; justify-content: center; }
#coach-next { font-size: 34px; padding: 24px 64px; }
#coach-next:disabled { background: var(--n3); }
#live-score { position: absolute; right: 72px; top: 44px; display: none; align-items: baseline; gap: 12px; background: var(--ink); color: #fff; border-radius: 40px; padding: 10px 26px; }
#live-score.on { display: flex; }
#live-score span { font-size: 20px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
#live-score b { font-size: 36px; font-weight: 600; }
#attract-sub { padding: 40px 88px 0; font-size: 26px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--n7); position: relative; z-index: 3; }
#attract-stats { padding-top: 44px; }
.reg-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reg-steps div { display: flex; align-items: center; gap: 14px; border: 2px solid var(--n2); border-radius: 12px; padding: 14px 16px; font-size: 24px; }
.reg-steps div b { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 20px; flex: none; }
.syi.reg { padding: 22px 26px; margin-top: 0; }
.desc-box { height: 120px; border: 2px dashed var(--n3); border-radius: 10px; }
.cd-menu.wide { width: 100%; }
.cd-menu.wide div { font-size: 24px; padding: 11px 18px; }
.mk-grid { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.mk-grid .chip { font-size: 30px; padding: 22px 28px; }
.card .social { display: block; margin-top: 10px; font-size: 22px; color: var(--blue); font-weight: 600; }
#s-format .dec-extra.on { display: block; }

.task.fold, .task.more { cursor: default; color: var(--n5); background: var(--n1); }
.task.ahead { opacity: .38; cursor: default; }
.task.ahead .chip, .task.more .chip { display: none; }
.mods-mini { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 12px; }
.mods-mini div { border: 2px solid var(--n2); border-radius: 12px; padding: 12px 18px; display: flex; flex-direction: column; gap: 4px; }
.mods-mini small { font-size: 20px; color: var(--n5); }
.mods-mini b { font-size: 28px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#s-hub .mods { flex: none; }
#s-hub .task-list { gap: 12px; }
.task.more .n { border-style: dashed; }

/* ---------- visual pass: stacked cards instead of squeezed tables ---------- */
.ocard { display: grid; grid-template-columns: 110px 1fr; gap: 10px 20px; align-items: start; border: 2px solid var(--n2); border-radius: 12px; padding: 16px 18px; }
.ocard img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; grid-row: 1 / span 3; }
.ocard .kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.ocard .kv small { display: block; font-size: 18px; color: var(--n5); }
.ocard .kv b { display: block; font-size: 23px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.ocard .st { justify-self: start; }
.ocard .hub-note { font-size: 20px; }
.lrows { display: flex; flex-direction: column; gap: 10px; }
.lrow { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; border: 2px solid var(--n2); border-radius: 10px; padding: 12px 16px; }
.lrow b { font-size: 23px; font-weight: 600; grid-column: 1; }
.lrow > span:not(.st) { font-size: 20px; color: var(--n5); grid-column: 1; }
.lrow .st { grid-column: 2; grid-row: 1 / span 2; }
.pr-rows { margin-top: 18px; text-align: left; border: 2px solid var(--n2); border-radius: 12px; padding: 12px 20px; }
.pr-rows .pr-h { font-size: 22px; font-weight: 600; color: var(--n5); margin-bottom: 6px; }
.pr-rows div:not(.pr-h) { display: flex; justify-content: space-between; gap: 20px; font-size: 26px; padding: 6px 0; border-top: 1px solid var(--n2); }
.pr-rows div span { color: var(--n5); }
#bs-opts.dec-grid { grid-template-columns: 1fr; }
.chip, .tile, .card b, .rs-card .rn, .task > span:nth-child(2) { overflow-wrap: anywhere; }
.ad-suggest { overflow-wrap: anywhere; }

/* ---------- Ruby's review, 4 Sep 2026 ----------
   Back button on every move screen (top bar, where the logo used to be). */
/* 29 Sep (Navin): Back is a translucent arrow tab on the left edge, half way down the stage, inside the 72 px
   gutter that no screen draws in, so it never covers content. #topbar sits at the stage top, so top is stage px. */
#back-btn {
  display: none; position: absolute; left: 0; top: 880px; width: 64px; height: 160px; padding: 0;
  border-radius: 0 28px 28px 0; background: rgba(25,25,25,.30); color: #fff; border: none;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
#back-btn svg { width: 40px; height: 40px; display: block; margin: 0 auto 0 8px; }
#back-btn:active { background: rgba(25,25,25,.5); transform: none; }
#topbar.can-back #back-btn { display: flex; align-items: center; }
#topbar { justify-content: flex-start; gap: 24px; }
#progress-wrap { margin-left: auto; margin-right: 220px; display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
#progress { width: 340px; }
#progress .pip { flex: 1 1 0; min-width: 0; }
#progress-label { font-size: 24px; font-weight: 600; color: var(--ink); white-space: nowrap; letter-spacing: .02em; line-height: 1; }
#stage.phone #progress-label { display: none; }
/* the step in bold before the rest of the kicker, a size up */
.kicker.stepped { font-size: 24px; letter-spacing: .12em; }
.kicker .step { font-size: 28px; color: var(--ink); letter-spacing: .1em; }
/* the answer half of every screen sits on its own tinted band under a dotted rule, with a label */
.answers { position: relative; background: var(--n1); border-top: 5px dotted var(--n3); border-radius: 0 0 20px 20px; padding: 44px 20px 20px !important; }
.answers::before { content: attr(data-lab); position: absolute; top: 12px; left: 22px; font-size: 24px; letter-spacing: .16em; text-transform: uppercase; color: var(--n5); font-weight: 600; }
.screen .body > .cards.dec-grid.answers { padding-top: 44px; }
.screen.tight .answers { padding: 36px 14px 14px !important; }
.screen.tight2 .answers { padding: 32px 12px 12px !important; }
#photo-grid.answers { margin-top: 26px; }
#tile-grid.answers { margin-top: 26px; }
#s-title #tile-grid.answers { padding: 44px 24px 24px !important; }
#s-title.tight2 #tile-grid.answers { padding: 32px 16px 16px !important; }
.syi.answers { border-top: 5px dotted var(--n3); }
#price-answers, #ad-answers { margin-top: 26px; }
#price-answers #price-readout, #ad-answers #ad-readout { margin-top: 0; }
#rs-hub.answers .hub-top, #rs-hub.answers .hub-tabs { display: none; }
#rs-hub.answers { border: none; background: var(--n1); }
#cat-grid.answers { padding: 44px 20px 20px !important; }
/* research board: the four options read as buttons, and each carries a tap chip */
.rs-card { background: #f3f7ff; border-color: #c9dcff; border-width: 3px; box-shadow: 0 6px 18px rgba(9,104,246,.08); }
.rs-card .tap { position: absolute; top: 14px; right: 14px; font-size: 18px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--blue); border-radius: 20px; padding: 6px 14px; }
.rs-card.sel .tap, .rs-card.rv-hit .tap, .rs-card.rv-wrong .tap, .rs-card[disabled] .tap { display: none; }
.rs-card .rn { padding-right: 90px; }
/* price screen on the longer copy: the fee box and the readout give up a little room before anything scrolls */
#s-price.tight #price-canvas-wrap { margin-top: 24px; min-height: 220px; }
#s-price.tight2 #price-canvas-wrap { min-height: 200px; }
#s-price.tight2 #price-value { font-size: 84px; }
#s-price.tight2 #price-verdict { font-size: 28px; padding: 8px 18px; }
#s-price.tight2 #price-slider { margin-top: 20px; }
#s-price.tight2 #price-hint { margin-top: 6px; font-size: 22px; }
#s-price.tight2 #fee-box { margin-top: 16px; padding: 12px 22px; gap: 4px 24px; font-size: 22px; }
#s-price.tight2 #fee-box .fr.big { font-size: 26px; padding-top: 6px; }
#s-price.tight2 #fee-box .fnote { font-size: 19px; margin-top: 2px; }
#s-price.tight2 .item-strip { padding: 14px 22px; margin-top: 18px; }
#s-price.tight2 .item-strip img { width: 100px; height: 100px; }
/* price: the slider thumb pulses until the player moves it, and a hint says what to do */
#price-slider.untouched::-webkit-slider-thumb { animation: thumb-pulse 1.4s ease-in-out infinite; }
@keyframes thumb-pulse { 0%,100% { box-shadow: 0 8px 24px rgba(0,0,0,.28), 0 0 0 0 rgba(9,104,246,.45); } 50% { box-shadow: 0 8px 24px rgba(0,0,0,.28), 0 0 0 22px rgba(9,104,246,0); } }
#price-hint { font-size: 24px; color: var(--blue); font-weight: 600; margin-top: 12px; text-align: center; }
#price-hint.gone { visibility: hidden; }
/* leaderboard screen: the full journey line stands out */
#bd-hint { color: var(--ink); font-weight: 600; }
.rc-logo { font-size: 40px; letter-spacing: .08em; }

/* ---------- Foot strip (Prasanjeet, 11 Sep; partner credit removed 17 Nov, now the footnote line): one small line at the foot of every screen ----------
   The strip is 48px, so the floor of every screen moved up by 48px with it: .screen padding-bottom 72 -> 120,
   #attract-cta 120 -> 168, the launch feed and message, the mini toasts, the mute and demo buttons. */
#powered {
  position: absolute; left: 0; right: 0; bottom: 0; height: 48px; z-index: 30;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--n0); border-top: 2px solid var(--n2);
  font-size: 19px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--n7);
  white-space: nowrap; user-select: none; -webkit-user-select: none; touch-action: none; /* pointer events stay on: a two second hold here is the staff reset (G12) */
}
#powered img { height: 22px; width: auto; display: block; margin: 0 4px; }
#powered .sep { color: var(--n3); }
/* footnote (Prasanjeet 14 Sep): one grey line directly above the powered strip, part of the stage, never over content.
   With it the floor grew by another 24px: .screen padding-bottom 120 -> 144, #attract-cta 168 -> 192, launch feed and
   message, mini toasts, mute and demo buttons, the attract ticker (bottom 72). */
#footnote {
  position: absolute; left: 0; right: 0; bottom: 48px; height: 24px; z-index: 30;
  display: flex; align-items: center; justify-content: center;
  background: var(--n0); font-size: 20px; line-height: 1; color: var(--n5); white-space: nowrap; pointer-events: none;
}
/* the attract ticker sits on top of the line instead of under it */
#stage.attract #attract-ticker { bottom: 72px; }

/* ---------- Rate screen (Prasanjeet, Part 1 row 169): stars, an optional line, Send or Skip ---------- */
#rate-stars { display: flex; justify-content: center; gap: 26px; margin-top: 44px; }
.star { width: 112px; height: 112px; border: none; background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; }
.star svg { width: 96px; height: 96px; display: block; fill: var(--n3); transition: fill .15s, transform .12s; }
.star:active svg { transform: scale(.92); }
.star.on svg { fill: var(--yellow); }
#rate-text {
  margin: 40px auto 0; width: 100%; min-height: 108px; border: 3px dashed var(--n3); border-radius: 16px;
  padding: 26px 30px; font-size: 34px; line-height: 1.3; display: flex; align-items: center; flex-wrap: wrap;
  overflow-wrap: anywhere; background: var(--n1);
}
#rate-text.has { border-style: solid; background: #fff; }
#rate-text .rate-ph { color: var(--n5); }
#rate-text.has .rate-ph { display: none; }
#rate-text .caret { width: 3px; height: 40px; background: var(--blue); margin-left: 4px; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
#kb-rate { margin-top: 32px; }
#s-rate .footer-cta { justify-content: flex-end; }

/* the finished Scale step stays on screen for a moment before the closing coach; nothing on it may be tapped again */
#s-scale.done #sc2-opts, #s-scale.done #sc2-learn { pointer-events: none; }

/* =====================================================================================================
   ROUND 5: THE LIGHTER STAGE (SPEC_R5 section 3). English only, so the room goes to type and air.
   Structure and rest states only. Motion (stagger, sweep, fly, reveal, tick, stamp) is js/juice.js.
   ===================================================================================================== */
#stage { --acc: #111820; --acc-ink: #fff; --acc-text: #111820; --acc-tint: rgba(17,24,32,.05); }
#stage[data-acc=blue]   { --acc: #0968F6; --acc-ink: #fff;    --acc-text: #0968F6; --acc-tint: rgba(9,104,246,.07); }
#stage[data-acc=red]    { --acc: #F02D2D; --acc-ink: #fff;    --acc-text: #D5111F; --acc-tint: rgba(240,45,45,.07); }
#stage[data-acc=yellow] { --acc: #F7B100; --acc-ink: #111820; --acc-text: #8A6300; --acc-tint: rgba(247,177,0,.10); }
#stage[data-acc=green]  { --acc: #3CC14E; --acc-ink: #111820; --acc-text: #1D8B2D; --acc-tint: rgba(60,193,78,.09); }

/* ---- top bar: the one progress device ---- */
#progress-wrap { margin-right: 250px; gap: 10px; }
#progress { width: auto; gap: 8px; }
#progress .pip { flex: none; width: 46px; height: 16px; border-radius: 8px; background: var(--n2); --pip: #111820; }
#progress .pip[data-acc=blue] { --pip: #0968F6; } #progress .pip[data-acc=red] { --pip: #F02D2D; }
#progress .pip[data-acc=yellow] { --pip: #F7B100; } #progress .pip[data-acc=green] { --pip: #3CC14E; }
#progress .pip.done, #progress .pip.now { background: var(--pip); }
#progress .pip.now { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--pip); }
#progress-label { font-size: 30px; font-weight: 700; }
/* the streak sits on the label row, left of "Step n of N": clear air to the label and nowhere near the score pill (pixel review, 21 Sep) */
#streak { position: absolute; right: 515px; top: 90px; display: flex; align-items: center; gap: 4px; opacity: 0; pointer-events: none; }
#streak i { width: 10px; height: 26px; border-radius: 5px; background: var(--n3); }
#streak b { font-size: 26px; font-weight: 700; margin-left: 6px; }
#fx { position: absolute; inset: 148px 0 72px 0; overflow: hidden; pointer-events: none; z-index: 50; }
#fx-top { position: absolute; inset: 0 0 72px 0; pointer-events: none; z-index: 45; }
#confetti { inset: 148px 0 72px 0; }

/* ---- furniture ---- */
#hero { position: absolute; right: 72px; top: 184px; width: 112px; height: 112px; border-radius: 16px; object-fit: cover; z-index: 3; opacity: 0; pointer-events: none; }
#hero.on { opacity: 1; }
#growth-pill { position: absolute; top: 120px; right: 26px; z-index: 45; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; background: #fff; border: 3px solid var(--n2); border-radius: 999px; opacity: 0; pointer-events: none; white-space: nowrap; }
#growth-pill.on { opacity: 1; }
#growth-pill b { font-size: 28px; font-weight: 700; }
#growth-pill span { font-size: 20px; color: var(--n5); }
#growth-pill canvas { width: 110px; height: 28px; display: block; }
#stage[data-acc] #watchers, #stage[data-acc] #growth-pill { right: 26px; }
.toast-mini, .toast-mini.long { top: 164px; bottom: auto; pointer-events: none; text-align: center; max-width: 900px; }
#footnote, #powered { z-index: 65; }

/* ---- chip, topic ---- */
.kicker.chip { align-self: flex-start; height: 44px; line-height: 44px; padding: 0 20px; border-radius: 8px; margin-bottom: 12px; background: var(--acc); color: var(--acc-ink); font-size: 26px; font-weight: 700; letter-spacing: .08em; }
.kicker:empty { display: none; }
.screen .body > h2 { font-size: 56px; line-height: 1.1; padding-right: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: none; }
#s-score .body > h2, #s-initials .body > h2, #s-board .body > h2, #s-rate .body > h2, #s-reward .body > h2, #s-stamp .body > h2 { padding-right: 0; white-space: normal; }

/* ---- learn panel at rest, and the reserved reveal slot ---- */
#stage .learn { display: none; margin-top: 22px; padding: 20px 24px; border: 0; border-top: 8px solid var(--acc); border-radius: 16px; background: var(--acc-tint); overflow: visible; flex: none; }
#stage .learn.on { display: block; }
#stage .learn::before { content: none; }
#stage .learn .ll { display: block; font-size: 24px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--acc-text); }
#stage .learn .lhead { margin-top: 6px; font-size: 38px; font-weight: 600; line-height: 1.14; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#stage .learn .lfacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; height: 128px; margin-top: 14px; }
#stage .learn .fact { position: relative; height: 100%; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 8px 34px 8px 14px; text-align: left; font-family: inherit; background: none; border: 0; border-bottom: 6px solid var(--acc); border-radius: 10px 10px 0 0; box-shadow: none; cursor: pointer; }
#stage .learn .fact b { font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
#stage .learn .fact b.mid { font-size: 44px; } #stage .learn .fact b.long { font-size: 36px; } #stage .learn .fact b.xl { font-size: 30px; white-space: normal; line-height: 1.05; }
#stage .learn .fact span { font-size: 26px; line-height: 1.15; color: var(--n7); }
#stage .learn .fact .fplus { position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; }
#stage .learn .fact .fplus::before, #stage .learn .fact .fplus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 4px; margin: -2px 0 0 -9px; border-radius: 2px; background: var(--acc-text); }
#stage .learn .fact .fplus::after { transform: rotate(90deg); }
#stage .learn .fact.seen .fplus::before { width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--acc); }
#stage .learn .fact.seen .fplus::after { content: none; }
#stage .learn .fact.lit { background: #fff; border-bottom-color: var(--acc); box-shadow: inset 0 0 0 3px var(--acc); }
#stage .learn .fact.dim { opacity: .6; }
#stage .learn .fact.done .fplus::before { width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #3CC14E; }
#stage .learn .fact.done .fplus::after { content: none; }
#stage .learn .lreveal { position: relative; height: 124px; margin-top: 12px; overflow: hidden; contain: layout paint; }
#stage .learn .lr-s { font-size: 30px; line-height: 1.3; color: var(--ink); opacity: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#stage .learn[data-open]:not([data-open=""]) .lr-s, #stage .learn[data-open]:not([data-open=""]) .lr-src, #stage .learn[data-open]:not([data-open=""]) .lr-caret { opacity: 1; }
#stage .learn .lr-s mark { background: #FFE58A; color: var(--ink); padding: 0 5px; margin: 0 -5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
#stage .learn .lr-src { position: absolute; right: 0; bottom: 0; font-size: 20px; color: var(--n5); opacity: 0; background: transparent; }
#stage .learn .lr-caret { position: absolute; top: 0; left: 0; width: 20px; height: 8px; opacity: 0; background: var(--acc); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
#stage .learn .lr-s { padding-top: 12px; }
#stage .learn[data-reacted=good] .fact .fplus::before { width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #3CC14E; }
#stage .learn[data-reacted=good] .fact .fplus::after { content: none; }

/* ---- mock: logo plus one pill, numbers first ---- */
#stage .hub { margin-top: 18px; flex: none; }
#stage .hub-top { padding: 10px 22px; gap: 16px; }
#stage .hub-top .hub-logo { height: 24px; }
.hub-tab1 { font-size: 22px; font-weight: 700; padding: 5px 16px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); }
#stage .hub-body { padding: 14px 22px 16px; }
#stage .hub-compact { max-height: 270px; }
[data-mock][data-reacted=bad] { outline: 3px solid var(--red); outline-offset: -3px; }
.strip { display: flex; gap: 10px; margin-bottom: 12px; }
.st-tile { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 10px; background: var(--n1); color: var(--n7); }
.st-tile svg { width: 26px; height: 26px; display: block; }
.st-tile b { font-size: 26px; font-weight: 700; color: var(--ink); }
.st-tile.now { box-shadow: 0 0 0 3px var(--acc); background: #fff; }
.st-tile.zero { background: #eaf8ec; color: #1D8B2D; } .st-tile.zero b { color: #1D8B2D; }
.st-tile.amber { background: #fff4d6; color: #8A6300; } .st-tile.amber b { color: #8A6300; }
.mrow { display: flex; align-items: center; gap: 20px; min-height: 96px; }
.mrow[hidden], [data-r][hidden] { display: none !important; }
.mk-thumb { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; flex: none; }
.mmain { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mmain b { font-size: 34px; font-weight: 600; line-height: 1.1; } .mmain span { font-size: 24px; color: var(--n7); }
.mmain .track { font-variant-numeric: tabular-nums; letter-spacing: .04em; min-height: 28px; }
.mkv { margin-left: auto; text-align: right; } .mkv small, .mcells small { display: block; font-size: 24px; color: var(--n5); }
.mkv b, .mcells b { font-size: 34px; font-weight: 700; }
.mcells { display: flex; align-items: center; gap: 48px; min-height: 96px; } .mcells svg { margin-left: auto; width: 64px; height: 64px; color: var(--n5); }
.mcells svg.basket circle { fill: var(--acc); }
#stage .st { font-size: 24px; font-weight: 700; padding: 8px 16px; border-radius: 8px; background: var(--n1); color: var(--n7); white-space: nowrap; margin-left: auto; }
#stage .st.red { background: #fde9e9; color: #D5111F; } #stage .st.green, #stage .st.r-good { background: #eaf8ec; color: #1D8B2D; }
#stage .st.blue { background: #e8f1ff; color: #0968F6; } #stage .st.amber, #stage .st.r-grey { background: #fff4d6; color: #8A6300; }
#stage .st b { font: inherit; }
b.r-good, span.r-good { color: #1D8B2D; } b.r-grey, span.r-grey { color: #8A6300; } b.r-bad { color: #D5111F; }
.coin { font-size: 24px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: #fff4d6; color: #8A6300; }
svg.ring { width: 64px; height: 64px; color: var(--acc); flex: none; margin-left: auto; } svg.ring + .st { margin-left: 0; }
#stage .msg-bubble { padding: 14px 22px; max-width: 760px; } #stage .msg-bubble .mb-from { font-size: 22px; margin-bottom: 2px; } #stage .msg-bubble .mb-text { font-size: 30px; line-height: 1.25; }
#stage .msg-bubble.me { margin: 10px 0 0 auto; background: #eaf8ec; border-radius: 22px 22px 6px 22px; width: max-content; }
.flaw-shot { position: relative; width: 300px; height: 270px; border-radius: 16px; overflow: hidden; }
.flaw-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flaw-ring { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border: 6px solid var(--red); border-radius: 50%; }
[data-reacted=good] .flaw-ring { border-color: #3CC14E; } [data-reacted=grey] .flaw-ring { border-color: #F7B100; }
.flaw-shot .st { position: absolute; left: 12px; bottom: 12px; margin: 0; }
#stage .dec-extra { margin-top: 18px; flex: none; }
.days30 { display: grid; grid-template-columns: repeat(15, 1fr); gap: 10px; padding: 18px 22px; border: 3px solid var(--n2); border-radius: 16px; position: relative; }
.days30 i { height: 26px; border-radius: 6px; background: var(--n2); }
[data-reacted=good] .days30 i { background: #3CC14E; } [data-reacted=grey] .days30 i:nth-child(-n+7) { background: #F7B100; }
.srows { display: flex; flex-direction: column; gap: 6px; }
.srow { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 16px; border-radius: 10px; background: var(--n1); font-size: 28px; }
.srow b { font-size: 34px; font-weight: 700; } .srow-note { text-align: right; font-size: 22px; color: var(--n5); }
.srow-note .srow-us { font-size: inherit; font-weight: 700; color: var(--ink, #111820); } /* "*US Store" in the plans note (Vikash 25 Sep) */
[data-reacted=good] .srow[data-r=row-basic] { background: #eaf8ec; box-shadow: inset 0 0 0 3px #3CC14E; } [data-reacted=good] .srow[data-r=row-nostore] { text-decoration: line-through; color: var(--n5); }
.serp-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 24px; color: var(--n7); }
.serp-v small { font-size: 24px; color: var(--n5); margin-right: 10px; } .serp-v b { font-size: 34px; font-weight: 700; color: var(--ink); }
.serp-slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 10px; }
.serp-slots .slot { height: 110px; border-radius: 12px; background: var(--n1); position: relative; display: grid; place-items: center; }
.serp-slots .slot i { width: 60%; height: 12px; border-radius: 6px; background: var(--n3); }
.serp-item { display: grid; place-items: center; gap: 2px; } .serp-item .mk-thumb { width: 72px; height: 72px; } .serp-item em { font-style: normal; font-size: 22px; font-weight: 700; color: var(--acc-text); }
.serp-item .st { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); margin: 0; font-size: 22px; padding: 2px 10px; }
.ticket { margin-left: auto; font-size: 26px; font-weight: 700; padding: 16px 26px; border: 3px dashed var(--acc); border-radius: 12px; color: var(--acc-text); background: #fff; }
.ticket + .st { margin-left: 0; }

/* ---- the YOUR MOVE band and the single question ---- */
#stage .answers { position: relative; margin-top: auto; flex: none; background: #F3F4F6; border: 0; border-radius: 12px 12px 20px 20px; padding: 84px 20px 20px !important; }
#stage .answers::before { content: attr(data-lab); position: absolute; top: 0; left: 0; right: 0; height: 64px; line-height: 64px; padding: 0 24px; border-radius: 12px 12px 0 0; background: #111820; color: #fff; font-size: 28px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.q-main { grid-column: 1 / -1; font-size: 46px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); padding: 0 6px 6px; }
#stage .screen .body > .cards.dec-grid { flex: none; gap: 16px; grid-auto-rows: auto; align-content: start; }
#stage .screen .body > .cards.dec-grid .card.dec { min-height: 124px; padding: 18px 32px; justify-content: center; gap: 4px; }
#stage .card.dec b { font-size: 38px; line-height: 1.15; } #stage .card.dec span { font-size: 26px; }
#stage .screen .footer-cta { margin-top: 0; padding-top: 18px; flex: none; }
#stage .screen .body > .answers + .footer-cta { margin-top: 0; }
#stage .footer-cta .hint { font-size: 28px; font-weight: 600; color: var(--n7); }
#stage .footer-cta .hint.max { color: #8A6300; }
.screen.tight .hub-compact .mock-row2 { display: none; }
#stage .screen.tight .body > .cards.dec-grid .card.dec { min-height: 112px; padding: 12px 28px; }
#stage .screen.tight .learn .lhead { font-size: 34px; } #stage .screen.tight .learn .lfacts { height: 116px; }
#stage .screen.tight2 .q-main { font-size: 40px; } #stage .screen.tight2 .card.dec b { font-size: 32px; } #stage .screen.tight2 .card.dec span { font-size: 24px; }
#stage .screen.tight .learn, #stage .screen.tight2 .learn { padding: 16px 20px; }
#stage .screen.tight2 .learn .lreveal { height: 112px; } #stage .screen.tight2 .learn .lr-s { font-size: 27px; }

/* ---- coach: a sheet docked over the answers ---- */
#coach-scrim { display: block; background: linear-gradient(to bottom, rgba(16,18,22,0) 0, rgba(16,18,22,0) 1000px, rgba(16,18,22,.5) 1300px); }
#coach { position: absolute; left: 40px; right: 40px; bottom: 194px; width: auto; max-width: none; max-height: 470px; border-radius: 24px; display: grid; grid-template-columns: 96px 1fr; grid-template-rows: 12px 1fr auto; overflow: hidden; }
#coach::before { content: ""; grid-column: 1 / -1; grid-row: 1; background: var(--green); }
#coach.tone-bad::before { background: var(--red); } #coach.tone-grey::before { background: var(--yellow); }
#coach-head { grid-column: 1; grid-row: 2; padding: 28px 0 0 28px; place-items: start; }
#coach-head span { width: 64px; height: 64px; }
#coach-icon svg { width: 36px; height: 36px; }
#coach-body { grid-column: 2; grid-row: 2; padding: 26px 40px 10px 20px; font-size: 34px; line-height: 1.35; text-align: left; }
#coach-body b { font-size: 38px; margin-bottom: 6px; }
#coach-foot { grid-column: 1 / -1; grid-row: 3; padding: 14px 40px 28px; justify-content: flex-end; }
#coach-next { position: relative; overflow: hidden; }
#coach-next.arming::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: rgba(255,255,255,.35); transform-origin: left; animation: coach-arm .6s linear forwards; }
@keyframes coach-arm { from { transform: scaleX(0); } to { transform: scaleX(1); } }
#coach-next:disabled { background: var(--n5); }

/* ---- category: setup ---- */
#stage #cat-grid { margin-top: 24px; flex: 1 1 auto; }
#stage #cat-grid .q-main { padding-bottom: 0; }
#stage #cat-grid .cat-card .cat-meta { padding: 14px 24px 20px; } #stage #cat-grid .cat-card .cat-meta b { font-size: 36px; }

/* ---- research ---- */
.rs-legend { display: flex; gap: 40px; font-size: 24px; color: var(--n7); }
.rs-legend .lg { display: flex; align-items: center; gap: 10px; } .rs-legend i { width: 36px; height: 14px; border-radius: 7px; background: #0968F6; } .rs-legend .l i { background: var(--n5); }
#stage #rs-hub { display: block; border: 0; }
#stage .rs-grid { gap: 16px; }
#stage .rs-card { padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 12px; min-height: 190px; }
#stage .rs-card .rn { font-size: 34px; color: var(--ink); min-height: 40px; }
.rs-badge { font-size: 18px; font-weight: 700; letter-spacing: .06em; color: #1D8B2D; } .rs-badge:empty { display: none; }
.rbar { display: grid; grid-template-columns: 1fr 140px; align-items: center; gap: 14px; }
.rbar .rtrack { height: 18px; border-radius: 9px; background: var(--n2); overflow: hidden; display: block; }
.rbar i { display: block; height: 100%; border-radius: 9px; background: #0968F6; transform-origin: left; } .rbar.l i { background: var(--n5); }
.rbar b { font-size: 30px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
#stage .rs-card.rv-grey { border-color: var(--yellow); background: #fff9ea; }
#stage .rs-card.rv-wrong { border-color: var(--red); background: #fdf3f3; }

/* ---- photos ---- */
#stage #photo-tray { margin-top: 18px; padding: 16px; flex: none; }
#stage #s-photos .tray-slot { height: 170px; }
#stage #s-photos #photo-grid { flex: 1 1 auto; margin-top: 18px; min-height: 0; grid-auto-rows: auto; grid-template-rows: auto repeat(2, minmax(0, 1fr)); }
#stage #photo-grid .q-main { grid-column: 1 / -1; }

/* ---- title ---- */
#title-mock { margin-top: 18px; flex: none; }
/* the preview always holds its two lines, so a second line of words never pushes the answers and the button down (harness: other_title) */
#stage #s-title #title-preview { min-height: 200px; max-height: 200px; align-content: flex-start; }
/* four or five words: smaller chips, so the longest five word title still sits on two lines inside the box */
#stage #s-title #title-preview:has(.chosen:nth-of-type(4)) { font-size: 31px; gap: 10px; padding: 24px 24px; }
#stage #s-title #title-preview:has(.chosen:nth-of-type(4)) .chosen { padding: 6px 12px; }
#stage #s-title #title-preview:has(.chosen:nth-of-type(4)) .caret { height: 34px; }
#title-preview .caret { display: inline-block; width: 4px; height: 44px; background: var(--ink); border-radius: 2px; align-self: center; }
#stage #char-meter { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
#char-meter .cm-bar { flex: 1; height: 12px; border-radius: 6px; background: var(--n2); overflow: hidden; }
#char-meter .cm-bar i { display: block; height: 100%; background: var(--acc); transform-origin: left; transform: scaleX(0); }
#char-meter b { font-size: 26px; font-weight: 700; color: var(--n7); font-variant-numeric: tabular-nums; }
#stage #s-title #tile-grid.answers { flex: none; margin-top: auto; padding: 84px 20px 20px !important; gap: 16px; align-content: start; }
#stage #tile-grid .q-main { flex: 0 0 100%; width: 100%; }
#stage #s-title .tile { font-size: 36px; padding: 15px 34px; }

/* ---- item specifics ---- */
#stage #s-specifics .syi { flex: none; margin-top: auto; border: 0; }
#stage .syi .syi-h { display: flex; align-items: center; gap: 16px; font-size: 26px; font-weight: 700; color: var(--n7); text-transform: uppercase; letter-spacing: .08em; padding: 0 6px 6px; }
.ready-bar { display: inline-flex; gap: 6px; margin-left: auto; } .ready-bar i { width: 56px; height: 12px; border-radius: 6px; background: var(--n3); }
[data-reacted=good] .ready-bar i { background: #3CC14E; }
#stage .spf-field { grid-template-columns: 1fr; gap: 10px; padding: 14px 6px; border-top: 2px solid var(--n3); flex: none; }
#stage .spf-field label { font-size: 30px; } #stage .spf-chips .chip { font-size: 28px; padding: 16px 24px; }

/* ---- price ---- */
#price-mock { margin-top: 18px; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
#stage #price-canvas-wrap { margin-top: 0; flex: 1 1 auto; min-height: 200px; max-height: 330px; }
#stage #price-canvas-wrap canvas { width: 100%; height: 100%; display: block; }
#stage #fee-box { display: block; border: 3px solid var(--n2); border-radius: 16px; padding: 12px 22px 16px; margin: 0; flex: none; background: #fff; }
#stage #fee-box .fr { display: flex; justify-content: space-between; align-items: baseline; font-size: 26px; padding: 4px 0; border: 0; }
#stage #fee-box .fr b { font-size: 30px; font-weight: 700; } #stage #fee-box .fr.big span { font-weight: 700; } #stage #fee-box .fr.big b { font-size: 38px; color: #1D8B2D; } #stage #fee-box .fr b.neg { color: var(--red); }
.fee-bar { position: relative; height: 18px; border-radius: 9px; background: var(--n2); overflow: hidden; margin-top: 8px; }
.fee-bar i { position: absolute; inset: 0; transform-origin: left; } .fb-fees { background: #F02D2D; } .fb-ship { background: #F7B100; } .fb-keep { background: #3CC14E; }
#stage #price-answers, #stage #ad-answers { margin-top: 18px; }
#stage #price-readout, #stage #ad-readout { margin-top: 0; align-items: baseline; }
#stage #price-value, #stage #ad-value { font-size: 72px; line-height: 1; }
.slider-wrap { position: relative; padding: 8px 0 14px; }
#stage #price-slider, #stage #ad-slider { margin-top: 14px; }
.knob-cue { display: none; }
#ad-verdict:empty { display: none; }
#stage .ad-suggest { position: absolute; top: 46px; transform: translateX(-50%); font-size: 24px; font-weight: 700; color: #1D8B2D; white-space: nowrap; margin: 0; }
#stage .ad-suggest[hidden] { display: none; }
#stage #ad-answers .slider-wrap { padding-bottom: 44px; }
#stage .ad-metrics.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
#stage .ad-metrics.three small { font-size: 24px; color: var(--n5); display: block; } #stage .ad-metrics.three b { font-size: 40px; font-weight: 700; }
#stage .ad-metrics b.warn { color: #8A6300; }
#stage .ad-bars { display: flex; align-items: flex-end; gap: 8px; height: 84px; margin-top: 10px; }
#stage .ad-bars i { flex: 1; height: 100% !important; border-radius: 6px 6px 0 0; background: var(--acc); transform-origin: bottom; }
#stage #s-adrate .hub-compact { max-height: none; }

/* ---- markets ---- */
#stage .mk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#stage .chip.mk { position: relative; font-size: 32px; font-weight: 600; padding: 22px 26px; text-align: left; border-radius: 14px; }
.mk-pin { display: none; }
#stage .chip.mk.sel { border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); }
#stage .chip.mk.rv-hit { border-color: var(--green); background: #f0faf1; box-shadow: none; } #stage .chip.mk.rv-grey { border-color: var(--yellow); background: #fff9ea; box-shadow: none; }
#stage #sc2-opts .footer-cta { padding-right: 0; }

/* ---- Manage opening ---- */
#stage #s-hub .body { justify-content: flex-start; }
#stage #s-hub .body > h2 { padding-right: 0; white-space: normal; }
#hb-line { font-size: 34px; margin-top: 14px; }
#stage .hub-open { margin-top: 36px; }
.sb4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
#stage .sb4 .tile { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 14px; background: var(--n1); min-height: 0; }
#stage .sb4 .tile b { font-size: 56px; font-weight: 700; line-height: 1; } #stage .sb4 .tile small { font-size: 24px; color: var(--n7); }
.open-line { margin-top: 16px; font-size: 28px; font-weight: 600; color: var(--n7); }
#stage #s-hub .footer-cta { margin-top: auto; }

/* ---- level ---- */
#stage #lv-rows { flex: none; margin-top: 22px; gap: 12px; }
#stage .lv-row { grid-template-columns: 250px 1fr 110px 170px 48px; gap: 16px; padding: 18px 22px; font-size: 26px; max-height: none; }
.lv-gauge { position: relative; height: 18px; border-radius: 9px; background: var(--n2); overflow: visible; display: block; }
.lv-gauge i { display: block; width: 100%; height: 100%; border-radius: 9px; background: #3CC14E; transform-origin: left; transform: scaleX(0); justify-self: stretch; }
#stage .lv-row .lv-gauge i { width: 100%; height: 100%; border-radius: 9px; }
.lv-row.no .lv-gauge i { background: var(--red); }
.lv-gauge .lv-lim { position: absolute; left: 50%; top: -8px; bottom: -8px; width: 4px; border-radius: 2px; background: var(--ink); }
#stage .lv-row small { font-size: 22px; color: var(--n5); text-align: right; white-space: nowrap; }
#stage #lv-badge { margin-top: 22px; flex: none; }
#stage #lv-note { font-size: 28px; margin-top: 16px; }

/* ---- recap ---- */
#stage #s-boss .body { display: flex; flex-direction: column; }
#bs-band { display: flex; align-items: center; gap: 20px; height: 64px; padding: 0 24px; border-radius: 12px; background: #111820; color: #fff; }
#stage #bs-recap { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
#bs-count { font-size: 30px; font-weight: 600; margin-left: auto; }
#bs-dots { display: flex; gap: 10px; } #bs-dots i { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.28); }
#bs-dots i.now { background: #fff; } #bs-dots i.ok { background: #3CC14E; } #bs-dots i.no { background: #F02D2D; }
#stage #bs-timer { margin-top: 14px; flex: none; }
#stage #bs-timer-fill { width: 100%; transform-origin: left; background: var(--ink); }
#bs-mid { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 36px; }
#stage #bs-q { margin: 0; font-size: 50px; line-height: 1.15; text-align: center; padding-right: 0; white-space: normal; overflow: visible; }
#stage #bs-opts.cards { margin: 0; gap: 32px; grid-template-columns: 1fr; }
#stage .card.dec.bs-opt { min-height: 180px; }

/* ---- score ---- */
#sc-rank { min-height: 44px; margin-top: 18px; text-align: center; font-size: 34px; font-weight: 700; opacity: 0; }
#sc-rank.on { opacity: 1; }
#stage #dim-bars { margin-top: 22px; gap: 16px; }
#stage .dim .bar i { width: 100%; transform-origin: left; transform: scaleX(0); transition: transform 1s cubic-bezier(.2,.8,.2,1); background: #111820; }
#stage .dim[data-acc=blue] .bar i { background: #0968F6; } #stage .dim[data-acc=red] .bar i { background: #F02D2D; }
#stage .dim[data-acc=yellow] .bar i { background: #F7B100; } #stage .dim[data-acc=green] .bar i { background: #3CC14E; }
#stage.rm .dim .bar i { transition: none; }
#stage #chapter-cards { flex-direction: row; gap: 14px; }
#stage #chapter-cards .chap { flex: 1 1 0; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; max-height: 110px; }
#stage .chap .st { background: none; padding: 0; font-size: 34px; margin-left: auto; } #stage .chap.me { border-color: var(--ink); }

/* ---- launch ---- */
.order-toast .cc { font-size: 24px; font-weight: 700; letter-spacing: .06em; padding: 4px 10px; border-radius: 6px; background: var(--n1); color: var(--n7); }
/* round 5 fit and air (English only: the room goes to bigger answers) */
.kicker.chip { flex: none; }
#stage #cat-grid { grid-template-rows: auto repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); }
#stage .screen .body > .cards.dec-grid .card.dec { min-height: 148px; }
#stage .card.dec b { font-size: 40px; }
#stage .screen.tight .body > .cards.dec-grid .card.dec { min-height: 124px; }
#stage .screen.tight2 .body > .cards.dec-grid .card.dec { min-height: 112px; }
#stage .rs-card { min-height: 236px; gap: 16px; padding: 22px 24px; }
#stage .rs-card .rn { font-size: 38px; } .rbar b { font-size: 34px; } .rbar .rtrack { height: 22px; border-radius: 11px; }
#stage .spf-field { padding: 22px 6px; gap: 14px; } #stage .spf-field label { font-size: 32px; } #stage .spf-chips { gap: 16px; } #stage .spf-chips .chip { font-size: 32px; padding: 20px 30px; }
#price-verdict:empty { display: none; }
#stage #s-level .footer-cta, #stage #s-score .footer-cta { margin-top: auto; }
.srows { position: relative; gap: 5px; } .srow { padding: 5px 16px; } .srow-note { position: absolute; right: 0; top: -40px; font-size: 22px; }
#stage .chip.mk { font-size: 34px; padding: 28px 28px; } #stage .mk-grid { gap: 16px; }
/* the sweet range of the ad rate is not shown on the track at rest: it would give the answer away */
#stage #ad-slider { background: var(--n2); }
#stage #ad-answers[data-launched] #ad-slider { background: linear-gradient(90deg, var(--n2) 0 22%, rgba(60,193,78,.35) 22% 44%, var(--n2) 44% 100%); }
#stage #ad-answers { margin-top: auto; }
#stage #s-adrate .ad-bars { height: 150px; }
/* the topic line is the same size on every play screen */
#stage #s-scale .body > h2 { margin-top: 0; font-size: 56px; }

/* ================= R5 FIXES (stage fixes engineer): fix list rows, empty bands, type floor ================= */
/* tracker A1: 38 px of clear space under the logo on the attract screen */
#stage #attract-logo { margin-bottom: 38px; }
/* eBay keeps its mixed case inside the capitals headline (Part 1 row 22); the star never leaves its word */
.nocase { text-transform: none; }
.nw { white-space: nowrap; }

/* ---- type floor: nothing under 22 px on a play step ---- */
#live-score span { font-size: 22px; letter-spacing: .1em; }
#growth-pill span { font-size: 22px; }
#footnote { font-size: 22px; color: #6B6B6B; }
#powered { font-size: 22px; letter-spacing: .03em; gap: 10px; }
#powered img { height: 24px; }
/* 17 Nov generic build: the strip carries the footnote line, so it reads like the footnote did */
#powered.plain { text-transform: none; letter-spacing: 0; font-weight: 400; color: #6B6B6B; }
#stage .learn .lr-src { font-size: 22px; }
.rs-badge { font-size: 22px; }
#watchers span { font-size: 22px; }

/* the caption inside the score ring: 30 px with room for its letters (Part 2 X squeezed ring label) */
#stage #score-num small { letter-spacing: .01em; padding: 0 8px; margin-top: 8px; line-height: 1.1; }
/* ---- Back on the ID screen and on the launch card (Ruby G3) ---- */
/* 30 Sep (Navin at the venue): the ID screen and launch card Back are the same left gutter arrow tab as #back-btn
   on all three games, never a word button at the top. Both parents sit at the stage top, so top is stage px. */
#init-back, #launch-back {
  position: absolute; left: 0; top: 880px; z-index: 7; width: 64px; height: 160px; padding: 0;
  display: flex; align-items: center; border-radius: 0 28px 28px 0; background: rgba(25,25,25,.30); color: #fff; border: none;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
#init-back svg, #launch-back svg { width: 40px; height: 40px; display: block; margin: 0 auto 0 8px; }
#init-back:active, #launch-back:active { background: rgba(25,25,25,.5); transform: none; }

/* ---- ID screen: slots, keypad and a full width Continue as one centred block (tracker A9) ---- */
#stage #s-initials .body { margin-top: 0; justify-content: center; align-items: center; }
#stage #s-initials .body > * { width: 928px; max-width: 100%; }
#stage #s-initials #in-kicker { text-align: center; font-size: 28px; }
#stage #s-initials .body > h2 { font-size: 84px; text-align: center; }
#stage #s-initials #in-hint { font-size: 36px; margin-top: 16px; }
#stage #s-initials #init-slots { margin-top: 72px; gap: 20px; }
#stage #s-initials .init-slot { width: 138px; height: 196px; font-size: 96px; }
#stage #s-initials #kb { margin-top: 72px; gap: 18px; }
#stage #s-initials .key { height: 136px; font-size: 48px; }
#stage #s-initials .key.wide { font-size: 30px; }
/* the ID keypad is digits only (24 Sep): three wide keys a row, phone style, same block width as the slots */
#stage #s-initials #kb.numpad .kb-row { gap: 18px; }
#stage #s-initials #kb.numpad .key { width: 260px; }
#stage #s-initials #kb.numpad .key-gap { visibility: hidden; }
#stage #s-initials #kb.numpad .kb-del { font-size: 30px; background: #fff; }
#stage #s-initials .footer-cta { margin-top: 64px; padding: 0; justify-content: center; }
#stage #s-initials #init-next { width: 100%; font-size: 46px; padding: 40px 0; }

/* ---- the welcome back line folds into the top bar band for three seconds ---- */
.toast-mini.bar, .toast-mini.long.bar { top: 30px; bottom: auto; min-height: 88px; display: flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1.15; padding: 10px 22px; max-width: 900px; width: max-content; box-sizing: border-box; }

/* ---- claim sentence: a yellow strip under the FULL JOURNEY heading, the same words as the big board (Ruby LB1) ---- */
.claim-strip, #bd-hint.claim-strip { background: var(--yellow); color: var(--ink); font-size: 26px; font-weight: 600; line-height: 1.2; padding: 12px 20px; border-radius: 10px; margin: 0 0 14px; flex: none; }

/* the caption under the frame is invisible on a laptop but it lay over the Powered strip and ate the staff hold there */
#framecap { pointer-events: none; }
/* ---- staff hold cue: a ring fills around the strip logo over the two seconds ---- */
@property --hold { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
#hold-ring { position: absolute; top: 5px; height: 38px; left: 0; width: 0; border-radius: 19px; padding: 3px; box-sizing: border-box; pointer-events: none; opacity: 0;
  background: conic-gradient(from 0deg, var(--blue) var(--hold), rgba(9,104,246,.16) 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
#hold-ring.on { opacity: 1; animation: hold-fill 2s linear forwards; }
@keyframes hold-fill { from { --hold: 0deg; } to { --hold: 360deg; } }

/* ---- idle card (Ruby G5): above the coach, under the mute button, clear of the footnote and the Powered strip ---- */
#idle-card { position: absolute; inset: 0 0 72px 0; z-index: 89; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 28px; text-align: center; padding: 0 90px; background: rgba(255,255,255,.96); }
#idle-card.on { display: flex; animation: idle-in .25s ease-out; }
@keyframes idle-in { from { opacity: 0; } to { opacity: 1; } }
#idle-card .ic-ring { position: relative; width: 300px; height: 300px; display: grid; place-items: center; }
#idle-card .ic-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
#idle-card .ic-ring circle { fill: none; stroke: var(--n2); stroke-width: 14; }
#idle-card .ic-ring .ic-sweep { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: 565.5; stroke-dashoffset: 0; }
#idle-card.on .ic-sweep { animation: idle-sweep var(--ic-s, 15s) linear forwards; }
@keyframes idle-sweep { to { stroke-dashoffset: 565.5; } }
#ic-n { position: relative; font-size: 130px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
#ic-title { font-size: 84px; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 12px 0 0; }
#ic-line { font-size: 38px; color: var(--n7); margin: 0; }
#ic-go { margin-top: 28px; font-size: 46px; padding: 40px 96px; }

/* ---- drag cue: two chevrons either side of the knob until the first move (Ruby 7, ad rate) ---- */
.slider-wrap .knob-cue { display: flex; position: absolute; left: calc(42px + (100% - 84px) * var(--kx, .5)); top: var(--ky, 33px); width: 196px; height: 44px; margin: -22px 0 0 -98px; justify-content: space-between; align-items: center; pointer-events: none; opacity: 0; color: var(--ink); }
#ad-answers .slider-wrap .knob-cue { left: calc(37px + (100% - 74px) * var(--kx, 0)); width: 186px; margin-left: -93px; }
.slider-wrap .knob-cue svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.slider-wrap.cue .knob-cue { opacity: 1; }
.slider-wrap.cue .knob-cue svg:first-child { animation: cue-l 1.4s ease-in-out infinite; } .slider-wrap.cue .knob-cue svg:last-child { animation: cue-r 1.4s ease-in-out infinite; }
.slider-wrap.at-min .knob-cue svg:first-child, .slider-wrap.at-max .knob-cue svg:last-child { visibility: hidden; }
@keyframes cue-l { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-10px); } }
@keyframes cue-r { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
#stage.rm .knob-cue svg { animation: none !important; }
/* the full ring pulse on the ad rate knob too, until the first move */
.slider-wrap.cue #ad-slider::-webkit-slider-thumb { animation: thumb-pulse 1.4s ease-in-out infinite; }

/* ---- empty bands: the look zone takes the free height ---- */
/* the learn tiles take a share of the free height (--fh is set by fillLook in game.js), and their type follows the tile */
#stage .learn .lfacts { height: var(--fh, 128px); container-type: size; }
#stage .screen.tight .learn .lfacts { height: 116px; }
/* only the short figures grow: a word of 8 letters or more already fills its column at its base size */
#stage .learn .fact b { font-size: clamp(44px, 30cqh, 64px); } #stage .learn .fact b.mid { font-size: clamp(44px, 26cqh, 50px); }
#stage .learn .fact b.long { font-size: 36px; } #stage .learn .fact b.xl { font-size: 30px; }
#stage .learn .fact span { font-size: clamp(26px, 16cqh, 32px); }
/* a tall tile (research) starts its text at the top, so the plus at the top right stays level with the first line (pixel review, 21 Sep) */
#stage .learn .fact { justify-content: flex-start; }
#stage .learn .fact .fplus { top: 14px; }
/* the sub chapter chip on the specifics step had picked up the padding of the value chips */
#stage #s-specifics .kicker.chip { height: 44px; line-height: 44px; padding: 0 20px; font-size: 26px; }
/* level: larger rows, the free height split above the rows and above the button */
#stage #s-level #lv-rows { margin-top: auto; gap: 18px; }
#stage #s-level .lv-row { padding: 32px 26px; font-size: 30px; }
#stage #s-level .lv-row small { font-size: 24px; }
#stage #s-level #lv-badge { margin-top: 30px; padding: 36px 40px; }
#stage #s-level #lv-note { font-size: 34px; margin-top: 22px; }
/* score: larger bars, the free height split into three */
#stage #s-score #dim-bars { margin-top: auto; gap: 26px; }
#stage #s-score .dim { font-size: 32px; } #stage #s-score .dim .bar { height: 30px; border-radius: 15px; }
#stage #s-score #chapter-strip { flex: none; margin-top: auto; }
#stage #s-score #chapter-cards .chap { max-height: none; padding-top: 28px; padding-bottom: 28px; }
/* recap: the question and the three cards take more of the free height */
#stage #bs-q { font-size: 68px; }
#stage .card.dec.bs-opt { min-height: 280px; } #stage .card.dec.bs-opt b { font-size: 48px; }
#stage #bs-mid { gap: 0; justify-content: space-evenly; } #stage #bs-opts.cards { gap: 36px; }
/* the product photo grows into a free band of 200 px or more (placed by placeHero in game.js) */
#hero { transition: left .35s ease, top .35s ease, width .35s ease, height .35s ease, opacity .2s; }
#hero.big { border-radius: 24px; box-shadow: 0 0 0 3px var(--n2); }
#stage.rm #hero { transition: none; }

/* ---- Manage opening: a large dashboard card, four big tiles, one full width button ---- */
#stage #s-hub .body > h2 { font-size: 76px; }
#stage #hb-line { font-size: 40px; margin-top: 18px; }
#stage #s-hub .hub-open { flex: 1 1 auto; min-height: 0; max-height: 1080px; margin-top: 40px; display: flex; flex-direction: column; }
#stage #s-hub .hub-open .hub-top { padding: 18px 28px; } #stage #s-hub .hub-open .hub-logo { height: 34px; } #stage #s-hub .hub-open .hub-tab1 { font-size: 28px; padding: 8px 22px; }
#stage #s-hub .hub-open .hub-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 24px 28px 28px; }
#stage #s-hub .sb4 { flex: 1 1 auto; min-height: 0; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
#stage #s-hub .sb4 .tile { position: relative; justify-content: flex-end; gap: 10px; padding: 30px 34px; border-radius: 20px; }
#stage #s-hub .sb4 .tile svg { position: absolute; left: 34px; top: 30px; width: 84px; height: 84px; color: var(--acc-text, var(--ink)); }
#stage #s-hub .sb4 .tile b { font-size: 168px; letter-spacing: -0.03em; }
#stage #s-hub .sb4 .tile small { font-size: 42px; font-weight: 600; color: var(--ink); }
#stage #s-hub .open-line { margin-top: 24px; font-size: 40px; color: var(--ink); }
#stage #s-hub .footer-cta { margin-top: 0; padding: 32px 0 0; }
#stage #s-hub #hub-go { width: 100%; font-size: 46px; padding: 40px 0; }

/* R5 JUICE */
/* Game feel (SPEC_R5 section 6). Transform and opacity only. Nothing here moves layout. Every effect node has
   pointer-events none and lives in #fx or #fx-top, or sits inside the card it belongs to. #stage.jz is set by
   js/juice.js, #stage.rm by the engine under reduced motion or ?calm=1. */
/* M1: screens swap by a short fade, the step slide is a transform on .body (juice.js) */
#stage.jz .screen, #stage.jz .screen.on { transform: none; transition: opacity .2s ease; }
/* M3 pip fill, M4 accent change */
#stage.jz #progress .pip.now { transform-origin: left center; animation: jz-pip .3s cubic-bezier(.22,.61,.36,1) both; }
@keyframes jz-pip { from { transform: scaleX(0); } }
#stage.jz .kicker.chip { transition: background-color .24s ease, color .24s ease; }
/* M5 the one time discovery cue on the learn tiles: three soft pulses of the plus, left to right */
#stage .learn.cue .fact .fplus { animation: jz-cue .9s ease-in-out 3; }
#stage .learn.cue .fact:nth-child(2) .fplus { animation-delay: .15s; }
#stage .learn.cue .fact:nth-child(3) .fplus { animation-delay: .3s; }
@keyframes jz-cue { 50% { transform: scale(1.5); } }
#stage .learn .lr-s, #stage .learn .lr-src, #stage .learn .lr-caret { transition: opacity .12s ease; }
/* M7, M9, M14, M15: the card answers */
#stage .rs-card { position: relative; overflow: hidden; }
.jz-sweep { position: absolute; inset: 0; border-radius: inherit; transform-origin: left center; background: rgba(60,193,78,.18); pointer-events: none; }
.jz-sweep.grey { background: rgba(247,177,0,.22); }
.okmark { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; background: #3CC14E; color: #fff; display: grid; place-items: center; pointer-events: none; }
.okmark svg { width: 26px; height: 26px; display: block; }
.okmark.bad { background: #F02D2D; }
.jz-under { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; pointer-events: none; background: linear-gradient(90deg, #0968F6 0 25%, #F02D2D 25% 50%, #F7B100 50% 75%, #3CC14E 75% 100%); }
.jz-dim { opacity: .45; transition: opacity .25s ease; }
/* M10 burst, M11 chip, M19 knob ring, M20 hero: effect nodes */
.jz-burst { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; pointer-events: none; }
.jz-burst i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 2px; will-change: transform, opacity; }
.jz-chip { position: absolute; left: 0; top: 0; height: 52px; min-width: 52px; padding: 0 18px; border-radius: 26px; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; white-space: nowrap; background: var(--acc, #0968F6); color: var(--acc-ink, #fff); box-shadow: 0 6px 18px rgba(0,0,0,.22); will-change: transform; pointer-events: none; }
.jz-chip.grey { background: #F7B100; color: #111820; }
.jz-ring { position: absolute; left: 0; top: 0; width: 120px; height: 120px; border-radius: 50%; border: 6px solid var(--acc, #0968F6); opacity: 0; will-change: transform, opacity; pointer-events: none; }
.jz-hero { position: absolute; left: 0; top: 0; width: 112px; height: 112px; border-radius: 16px; background-size: cover; background-position: center; transform-origin: 0 0; will-change: transform; pointer-events: none; }
/* M19: the endless shadow pulse on the price knob becomes a ring that scales, and it only runs while its screen is live */
#stage.jz #price-slider.untouched::-webkit-slider-thumb { animation: none; }
#stage.jz .screen.on .slider-wrap:has(> input.untouched)::after { content: ""; position: absolute; left: calc(42px + var(--kx, .5) * (100% - 84px)); top: calc(50% - 3px); width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 5px solid #0968F6; pointer-events: none; animation: jz-knob 1.4s ease-out infinite; }
@keyframes jz-knob { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
/* M13 streak badge: the state is data-n, no words */
#streak:not([data-n="0"]):not([data-n="1"]), #streak.jz-drop { opacity: 1; }
#streak:not([data-n="0"]):not([data-n="1"]) i:nth-child(1) { background: #0968F6; }
#streak:not([data-n="0"]):not([data-n="1"]) i:nth-child(2) { background: #F02D2D; }
#streak:not([data-n="0"]):not([data-n="1"]):not([data-n="2"]) i:nth-child(3) { background: #F7B100; }
#streak:not([data-n="0"]):not([data-n="1"]):not([data-n="2"]):not([data-n="3"]) i:nth-child(4) { background: #3CC14E; }
/* M16 coach sheet rises from below; the strips and the mute button sit above it in z order */
#stage.jz #coach { transform: translateY(105%); transition: transform .32s cubic-bezier(.16,1,.3,1); }
#stage.jz #coach-scrim.on #coach { transform: none; }
/* M17 mock reaction states */
.rbar i.jz-over { animation: jz-over .4s ease-out 1; }
.rbar i.jz-amber { background: #F7B100; animation: jz-over .5s ease-out 1; }
@keyframes jz-over { 50% { scale: 1.08 1; } }
.ad-bars.jz-wave i { animation: jz-wave .5s ease-in-out 1; }
@keyframes jz-wave { 50% { scale: 1 1.18; } }
.ad-bars.jz-sink i { animation: jz-sink .5s ease-in 1 both; }
@keyframes jz-sink { to { scale: 1 .6; } }
[data-r=slot].jz-ok { box-shadow: inset 0 0 0 5px #3CC14E; } [data-r=slot].jz-weak { box-shadow: inset 0 0 0 5px #F7B100; }
[data-r=word].jz-ok { color: #1D8B2D; } [data-r=star].jz-ok { color: #1D8B2D; }
.ready-bar i.jz-ok { background: #3CC14E; transform-origin: left center; } .ready-bar i.jz-weak { background: #F7B100; transform-origin: left center; }
#stage .learn .fact.done.jz-amber .fplus::before { background: #F7B100; }
/* M18 growth pill: the cover that reveals the new sparkline segment */
#growth-pill .jz-cover { position: absolute; right: 18px; top: 8px; height: 30px; background: #fff; transform-origin: right center; opacity: 0; pointer-events: none; }
/* M21 recap timer, M22 score, M25 idle cue */
#stage #bs-timer-fill.jz-red { background: #F02D2D; }
#stage.jz .dim .bar i { transition: none; }
#score-next.jz-pulse { animation: jz-pulse .6s ease-in-out 1; }
@keyframes jz-pulse { 50% { transform: scale(1.06); } }
.jz-idle .card.dec { animation: jz-idle .9s ease-in-out 1; }
.jz-idle .card.dec:nth-of-type(2) { animation-delay: .3s; } .jz-idle .card.dec:nth-of-type(3) { animation-delay: .6s; } .jz-idle .card.dec:nth-of-type(4) { animation-delay: .9s; }
@keyframes jz-idle { 50% { transform: scale(1.015); } }
/* reduced motion: end states only. No flight and no burst are made at all (juice.js); this stops the CSS side. */
#stage.rm .screen, #stage.rm #coach, #stage.rm .jz-dim, #stage.rm .kicker.chip { transition: none; }
#stage.rm #coach { transform: none; }
#stage.rm #progress .pip.now, #stage.rm .learn.cue .fact .fplus, #stage.rm .jz-idle .card.dec, #stage.rm #score-next.jz-pulse,
#stage.rm .rbar i.jz-over, #stage.rm .rbar i.jz-amber, #stage.rm .ad-bars.jz-wave i, #stage.rm .ad-bars.jz-sink i { animation: none; }
#stage.rm .slider-wrap:has(> input.untouched)::after { content: none; }

/* ======== 26 Sep re-review (tracker "Detailed Game feedback", rows 98 to 184) ======== */
/* r98, r175: "Step n of N" and "Recap" sit centred under the pips on every screen */
#progress-wrap { align-items: center; }
/* r175: the streak badge (four bars and a number) no longer appears, in play or in the recap */
#streak { display: none !important; }
/* r105: no plus on the fact tiles; a long vertical bar splits the three tiles */
#stage .learn .fact .fplus { display: none; }
#stage .learn .lfacts, #stage .screen.tight .learn .lfacts { height: auto; gap: 28px; container-type: normal; align-items: stretch; }
#stage .learn .fact { height: auto; min-height: 104px; padding: 8px 12px 12px; justify-content: flex-start; }
#stage .learn .fact + .fact::before { content: ""; position: absolute; left: -16px; top: 4px; bottom: -6px; width: 4px; border-radius: 2px; background: var(--acc); }
/* r130: one type size for every tile headline and one for every tile caption, whatever the word length */
#stage .learn .fact b, #stage .learn .fact b.mid, #stage .learn .fact b.long, #stage .learn .fact b.xl { font-size: 38px; line-height: 1.08; white-space: normal; }
#stage .learn .fact span { font-size: 26px; line-height: 1.2; }
#stage .screen.tight .learn .fact b, #stage .screen.tight .learn .fact b.mid, #stage .screen.tight .learn .fact b.long, #stage .screen.tight .learn .fact b.xl { font-size: 34px; }
#stage .screen.tight .learn .fact span { font-size: 24px; }
/* r118: the tapped sentence opens as a card over the picture under the panel, so the panel keeps no empty band */
#stage .learn.on { position: relative; z-index: 6; }
#stage .learn .lreveal, #stage .screen.tight2 .learn .lreveal { display: none; position: absolute; left: 0; right: 0; top: 100%; height: auto; margin-top: 12px; padding: 4px 26px 16px; background: #fff; border-radius: 16px; box-shadow: 0 18px 44px rgba(17,24,32,.24), inset 0 0 0 3px var(--acc); overflow: visible; contain: none; }
#stage .learn[data-open]:not([data-open=""]) .lreveal { display: block; }
#stage .learn .lr-caret { top: -10px; height: 10px; }
#stage .learn .lr-src { position: static; display: block; text-align: right; margin-top: 4px; }
/* r118: the free height of the top section is shared evenly between its blocks (set by fillLook in game.js) */
#stage .screen.even .body > .learn.on, #stage .screen.even .body > .learn.on ~ * { margin-top: auto; }
#stage .screen.even .body > .learn.on ~ .footer-cta { margin-top: 0; }
/* r131: the Research mock header and its key read clearly */
#s-research .hub-top .hub-logo { height: 36px; }
#s-research .hub-tab1 { font-size: 30px; padding: 6px 22px; }
#s-research .rs-legend { gap: 56px; font-size: 32px; font-weight: 700; color: var(--ink); padding: 4px 0; }
#s-research .rs-legend i { width: 56px; height: 20px; border-radius: 10px; }
#s-research .rs-legend .s { color: #0968F6; }
#s-research .rs-legend .l { color: #3f454d; } #s-research .rs-legend .l i, #s-research .rbar.l i { background: #3f454d; }
/* r161: the condition photo is centred and larger */
.flaw-shot { width: 440px; height: 400px; margin: 0 auto; border: 3px solid var(--n2); background: #fff; }
.flaw-shot img { transform: scale(1.25); }
.flaw-ring { left: var(--fx, 50%); top: var(--fy, 50%); width: var(--fs, 120px); height: var(--fs, 120px); margin: calc(var(--fs, 120px) / -2) 0 0 calc(var(--fs, 120px) / -2); border-width: 5px; }
/* r184: the ID column fits six characters, so an ID never runs into the screen name */
.brow { grid-template-columns: 80px 200px 1fr 110px 110px; gap: 16px; }
.brow .ini { letter-spacing: .04em; white-space: nowrap; overflow: hidden; font-variant-numeric: tabular-nums; }
.bfrow { grid-template-columns: 64px 170px 1fr 110px 110px; }
.bfrow .ini { white-space: nowrap; overflow: hidden; font-variant-numeric: tabular-nums; }
/* r118: while a tile's sentence is open, the large product photo steps aside so the card is never drawn under it */
#stage:has(.screen.on .learn[data-open]:not([data-open=""])) #hero.big { opacity: 0; }
/* a dimmed fact tile shares the class name .dim with the score rows: keep the tile's own column layout */
#stage .learn .fact.dim { display: flex; grid-template-columns: none; gap: 6px; align-items: stretch; font-size: inherit; }
#stage .learn .fact.dim b { text-align: left; font-weight: 700; } #stage .learn .fact.dim > span:first-child { line-height: 1.2; }

/* ======== 28 Sep: Prasanjeet in person (Navin's notes) ======== */
/* item 2: one type size across the info panel (headline, tile word, tile line), on every screen; no underline band
   under the tiles, so the panel ends right after its words; the vertical bars between the tiles stay */
#stage .learn { padding: 18px 24px 18px; }
#stage .learn .lhead { font-size: 32px; line-height: 1.2; }
#stage .learn .lfacts, #stage .screen.tight .learn .lfacts { margin-top: 12px; }
#stage .learn .fact { min-height: 0; padding: 4px 12px 4px; border-bottom: 0; border-radius: 10px; gap: 2px; }
#stage .learn .fact b, #stage .learn .fact b.mid, #stage .learn .fact b.long, #stage .learn .fact b.xl,
#stage .learn .fact span { font-size: 32px; line-height: 1.2; letter-spacing: -0.01em; }
#stage .learn .fact span { color: var(--n7); }
#stage .learn .fact + .fact::before { bottom: 4px; }
#stage .learn .fact.lit { box-shadow: inset 0 0 0 3px var(--acc); }
#stage .screen.tight .learn .lhead, #stage .screen.tight .learn .fact b, #stage .screen.tight .learn .fact b.mid, #stage .screen.tight .learn .fact b.long,
#stage .screen.tight .learn .fact b.xl, #stage .screen.tight .learn .fact span { font-size: 28px; }
#stage .screen.tight2 .learn .lhead, #stage .screen.tight2 .learn .fact b, #stage .screen.tight2 .learn .fact b.mid, #stage .screen.tight2 .learn .fact b.long,
#stage .screen.tight2 .learn .fact b.xl, #stage .screen.tight2 .learn .fact span { font-size: 26px; }
/* item 6: on the photo step the coach sheet docks at the top of the stage, the photos and their warnings stay clear */
#coach-scrim.dock-top { background: linear-gradient(to bottom, rgba(16,18,22,.45) 0, rgba(16,18,22,.45) 420px, rgba(16,18,22,0) 900px); }
#coach-scrim.dock-top #coach { top: 170px; bottom: auto; }
#stage.jz #coach-scrim.dock-top #coach { transform: translateY(-130%); }
#stage.jz #coach-scrim.dock-top.on #coach, #stage.rm #coach-scrim.dock-top #coach { transform: none; }
/* item 8: the listing the player builds reads as an eBay listing: logo and chip on top, a solid frame, bigger slots,
   and on the title step the first picked photo beside the title */
#stage #photo-tray, #stage #title-mock { border: 3px solid var(--n2); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(17,24,32,.08); padding: 14px 18px 18px; }
#stage #photo-tray.hot { border-color: var(--blue); background: #eef5ff; }
.lst-head { display: flex; align-items: center; gap: 16px; padding: 0 2px 12px; margin-bottom: 14px; border-bottom: 2px solid var(--n2); }
.lst-logo { height: 34px; width: auto; display: block; }
.lst-chip { font-size: 26px; font-weight: 700; color: #fff; background: var(--blue); border-radius: 999px; padding: 4px 18px; line-height: 1.2; }
#stage #s-photos .tray-slot { height: 200px; border-width: 3px; }
#stage #s-photos .tray-slot.filled { border-color: var(--blue); }
.lst-row { display: flex; gap: 18px; align-items: stretch; }
#ti-thumb { width: 170px; height: 170px; flex: none; border-radius: 14px; object-fit: cover; border: 3px solid var(--n2); background: #fff; }
#stage #s-title .lst-row #title-preview { flex: 1; margin-top: 0; min-height: 170px; max-height: 170px; padding: 18px 20px; font-size: 34px; gap: 10px; border-style: solid; border-color: var(--blue); }
#stage #s-title .lst-row #title-preview:has(.chosen:nth-of-type(3)) { font-size: 28px; gap: 8px; padding: 14px 16px; }
#stage #s-title .lst-row #title-preview .chosen { padding: 4px 12px; }
#stage #s-title .lst-row #title-preview .caret { height: 34px; }
#stage #s-title.tight #ti-thumb, #stage #s-title.tight2 #ti-thumb { width: 140px; height: 140px; }
#stage #s-title.tight .lst-row #title-preview, #stage #s-title.tight2 .lst-row #title-preview { min-height: 140px; max-height: 140px; }
/* item 14: "Step n of N" and the pips sit on the centre line of the screen, whatever sits left and right of them */
#progress-wrap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; align-items: center; }
/* item A: the AIsmith strip on the board screen, left of the button, quiet */
.ai-strip { display: flex; align-items: center; gap: 12px; margin-right: auto; font-size: 24px; font-weight: 600; color: var(--n7); white-space: nowrap; }
.ai-strip img { height: 30px; width: auto; display: block; }
/* item B: the AIsmith end card, full screen over everything (outside the scaled stage, so it fills any viewport) */
#brand { position: fixed; inset: 0; z-index: 9999; background: #03060b; display: none; cursor: pointer; }
#brand.on { display: block; }
#brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
/* item 8: the listing card in the free band of the Start steps (placed by placeListing in game.js) */
#lst-card { position: absolute; left: 72px; right: 72px; z-index: 3; display: none; flex-direction: column; background: #fff; border: 3px solid var(--n2); border-radius: 20px; box-shadow: 0 12px 30px rgba(17,24,32,.08); padding: 14px 20px 18px; pointer-events: none; overflow: hidden; }
#lst-card.on { display: flex; }
#lst-card .lst-head { margin-bottom: 14px; }
#lst-card .lc-body { flex: 1; min-height: 0; display: flex; gap: 24px; align-items: stretch; }
#lst-card .lc-ph { flex: none; aspect-ratio: 1; height: 100%; max-height: 220px; border-radius: 14px; border: 3px dashed var(--n3); background: var(--n1); display: grid; place-items: center; overflow: hidden; }
#lst-card .lc-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
#lst-card .lc-ph:has(img) { border-style: solid; border-color: var(--n2); background: #fff; }
#lst-card .lc-ph .slot-cam { width: 56px; height: 56px; color: var(--n3); }
#lst-card .lc-lines { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
#lst-card .lc-title { font-size: 32px; font-weight: 600; line-height: 1.2; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#lst-card .lc-price { font-size: 36px; font-weight: 700; color: var(--ink); }
#lst-card .sk { display: block; height: 26px; border-radius: 13px; background: var(--n2); }
#lst-card .lc-title.sk { width: 88%; box-shadow: 0 44px 0 0 var(--n2); margin-bottom: 44px; }
#lst-card .lc-price.sk { width: 30%; }
#stage:has(.screen.on .learn[data-open]:not([data-open=""])) #lst-card { opacity: 0; }
/* a dimmed tile keeps the same inner gap, so opening a tile never grows the panel */
#stage .learn .fact.dim { gap: 2px; }
/* item 6: once the verdicts show, the player's own picks are at full strength (a blue ring marks them), so the red
   warning on a weak pick reads as clearly as the others; before, the picked tiles stayed at 38% */
#stage #photo-grid .ph.placed.reveal { opacity: 1; box-shadow: 0 0 0 5px var(--blue); }

/* 29 Sep (Navin): the rate form sat high on the totem; it now sits in the middle of the free height */
#s-rate .body > .kicker { margin-top: auto; }
#s-rate .body > .footer-cta { margin-top: 0; margin-bottom: auto; }
/* 29 Sep (Navin): column names over the in game boards, same grid as the rows under them */
.bhead { display: grid; align-items: end; gap: 16px; padding: 0 30px; font-size: 20px; font-weight: 600; letter-spacing: .06em; white-space: nowrap; text-transform: uppercase; color: var(--n5); }
.bhead.bh-screen { grid-template-columns: 80px 200px 1fr 110px 110px; margin-bottom: -4px; }
.bhead.bh-full { grid-template-columns: 64px 170px 1fr 110px 110px; padding: 0 24px; flex: none; }
.bhead span:nth-child(n+4) { text-align: right; }
