/* eBay Baltic Export Summit 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%; }
body {
  font-family: "Market Sans", "Helvetica Neue", Arial, sans-serif;
  background: #101216;
  color: var(--ink);
  overflow: hidden;
}

/* ---------- Kiosk stage: 1080x1920 scaled to fit ---------- */
#viewport { position: fixed; inset: 0; overflow: hidden; }
#stage {
  width: 1080px; height: 1920px; position: absolute; top: 0; left: 0; overflow: hidden;
  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 72px; 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; }
.wordmark { font-weight: 600; font-size: 64px; letter-spacing: -0.045em; }
.wordmark span:nth-child(1) { color: var(--red); }
.wordmark span:nth-child(2) { color: var(--blue); }
.wordmark span:nth-child(3) { color: var(--yellow); }
.wordmark span:nth-child(4) { color: var(--green); }
#progress { display: flex; gap: 14px; align-items: center; }
#progress .pip { width: 52px; height: 10px; border-radius: 5px; 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; }
.footer-cta { margin-top: auto; display: flex; gap: 28px; align-items: center; justify-content: flex-end; padding-top: 36px; }
.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: 88px 88px 0; position: relative; z-index: 3; }
.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(-2deg); background: #fff; position: relative; z-index: 4;
}
#attract-art {
  position: relative; flex: none; height: 640px; margin-top: 30px; 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%; height: 138px; object-fit: cover; display: block; }
.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) rotate(-2deg); } to { transform: translateY(12px) rotate(2deg); } }
#attract-stats { padding: 54px 88px 0; display: flex; gap: 64px; position: relative; z-index: 3; }
#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 120px; 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); } }
#lang-row { display: flex; gap: 20px; }
.lang {
  font-size: 24px; font-weight: 600; padding: 12px 20px; border-radius: var(--radius);
  border: 3px solid var(--n3); background: #fff; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; gap: 12px;
}
.lang img { width: 36px; height: 26px; border-radius: 4px; display: block; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lang.on { border-color: var(--ink); background: var(--ink); color: #fff; }
#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; 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: 210px; 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: 0; right: 0; bottom: 84px; text-align: center; color: #fff;
  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: 260px 1fr 90px; align-items: center; gap: 24px; font-size: 30px; }
.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: 30px; margin-top: 52px; justify-content: center; }
.init-slot {
  width: 150px; height: 190px; border: 4px solid var(--n3); border-radius: 16px;
  display: grid; place-items: center; font-size: 100px; font-weight: 600; background: var(--n1);
}
.init-slot.cur { border-color: var(--blue); background: #f5f9ff; }
#kb { display: flex; flex-direction: column; gap: 18px; margin-top: 60px; align-items: center; }
.kb-row { display: flex; gap: 16px; }
.key {
  width: 92px; height: 100px; border-radius: 12px; border: 3px solid var(--n3); background: #fff;
  font-size: 42px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.key.wide { width: 200px; font-size: 30px; }
.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 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; }

/* ---------- 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: 1250px; 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 { 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 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 */
  position: absolute; top: 34px; left: 424px; transform: translateX(-50%);
  z-index: 45; display: flex; align-items: center; gap: 14px;
  background: #fff; border: 3px solid var(--n2); border-radius: 999px;
  padding: 14px 30px; font-size: 30px; 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: 36px; height: 36px; color: var(--blue); flex: none; }
#watchers span { color: var(--n5); font-weight: 400; font-size: 26px; }
#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: 424px; 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; }
#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-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-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: 26px; 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 {
  position: absolute; left: 26px; bottom: 26px; 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: 96px; 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: 140px; 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: 74px; }
#demo-menu.over-ticker { bottom: auto; top: 24px; }
#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.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-q { margin-top: 34px; font-size: 50px; min-height: 230px; }
#bs-opts.cards { grid-template-columns: 1fr 1fr; margin-top: 26px; }
.card.dec.bs-opt { min-height: 150px; justify-content: center; }
.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 .wm { font-weight: 600; font-size: 40px; letter-spacing: -0.045em; }
.hub-top .wm i:nth-child(1) { color: var(--red); } .hub-top .wm i:nth-child(2) { color: var(--blue); }
.hub-top .wm i:nth-child(3) { color: var(--yellow); } .hub-top .wm i:nth-child(4) { color: var(--green); }
.hub-top .wm i { font-style: normal; }
.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 18px; border-bottom: 2px solid var(--n2); overflow: hidden; }
.hub-tabs span { font-size: 22px; padding: 16px 10px 14px; color: var(--n7); white-space: nowrap; border-bottom: 5px solid transparent; }
.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: 18px 24px; }
.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: 20px; color: var(--n5); line-height: 1.2; }
.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: 16px; margin-top: 16px; }
.mod { border: 2px solid var(--n2); border-radius: 12px; padding: 16px 18px; min-height: 150px; }
.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); }
.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: 96px; margin-top: 14px; }
.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; }
.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 { display: inline-block; padding: 6px 12px; border-radius: 20px; background: #fff4d6; font-size: 20px; }
.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; }
#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: 22px 28px 12px; 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: 8px; max-width: 560px; justify-content: flex-end; flex-wrap: wrap; }
#gw-steps span { font-size: 20px; text-align: center; border-radius: 22px; min-width: 44px; height: 44px; line-height: 40px; padding: 0 14px; 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: 150px; display: block; margin-top: 8px; }
#s-scale h2 { margin-top: 20px; font-size: 52px; }
#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: 16px; }
.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(6, 1fr); gap: 10px; }
.ad-metrics div { border: 2px solid var(--n2); border-radius: 10px; padding: 12px 12px; }
.ad-metrics small { font-size: 18px; color: var(--n5); display: block; line-height: 1.2; }
.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 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: 220px; font-size: 30px; padding: 22px 36px; max-width: 900px; text-align: center; }
