/* The Winter Carnival: shell styles. Tokens only (theme/<season>.css); no colour or font is named here.
   Breakpoint: 760px. Desktop = the stage fills the screen; phone = one column, 16px gutters. */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* a class display rule must never beat the hidden attribute */
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--cv-night);
  color: var(--cv-snow);
  font-family: var(--cv-font-ui);
  font-weight: 600;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
.cv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cv-noscript { padding: 24px 16px; text-align: center; }
:focus-visible { outline: 3px solid var(--cv-gold-hot); outline-offset: 3px; }

#cv-sky {
  position: fixed; inset: 0; z-index: 0;
  background: var(--cv-img-sky) center / cover no-repeat, linear-gradient(180deg, var(--cv-sky-top) 0%, var(--cv-night) 55%, var(--cv-night-2) 100%);
}
#cv-snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }

/* ---------- shared pieces ---------- */
.cv-chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px 0 6px;
  border-radius: var(--cv-radius-chip);
  background: var(--cv-glass);
  border: 1.5px solid var(--cv-gold-line);
  box-shadow: var(--cv-shadow);
  font-weight: 800; font-size: 16px; white-space: nowrap;
  text-decoration: none;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.cv-chip .n, .cv-chip b { color: var(--cv-gold); font-variant-numeric: var(--cv-num); }
.cv-chip-ico {
  display: inline-grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cv-night-2); color: var(--cv-snow);
}
.cv-chip-ico svg { width: 20px; height: 20px; }
.cv-ico-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cv-ico-img { overflow: hidden; }
.cv-ico-img.is-glyph { color: var(--cv-gold); }
a.cv-chip { transition: transform var(--cv-dur-fast) var(--cv-ease-out), border-color var(--cv-dur-fast); }
a.cv-chip:hover { border-color: var(--cv-gold); transform: translateY(-1px); }

.cv-iconbtn {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cv-glass); color: var(--cv-snow);
  border: 1.5px solid var(--cv-gold-line); box-shadow: var(--cv-shadow);
  cursor: pointer; text-decoration: none;
  transition: transform var(--cv-dur-fast) var(--cv-ease-out), border-color var(--cv-dur-fast);
}
.cv-iconbtn:hover { border-color: var(--cv-gold); }
.cv-iconbtn:active { transform: scale(.94); }
.cv-iconbtn svg { width: 22px; height: 22px; }

.cv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: var(--cv-radius-chip);
  background: var(--cv-red); color: var(--cv-snow);
  border: 2px solid var(--cv-gold-line);
  box-shadow: 0 4px 0 var(--cv-red-deep), var(--cv-shadow);
  font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform var(--cv-dur-fast) var(--cv-ease-out), box-shadow var(--cv-dur-fast), background var(--cv-dur-fast);
  -webkit-tap-highlight-color: transparent;
}
.cv-btn:hover { background: var(--cv-red-deep); border-color: var(--cv-gold); }
.cv-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cv-red-deep); }
.cv-btn:disabled { opacity: .6; cursor: default; }
.cv-btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.cv-btn-ghost { background: transparent; border-color: var(--cv-line); box-shadow: none; }
.cv-btn-ghost:hover { background: var(--cv-gold-soft); border-color: var(--cv-gold-line); }
.cv-btn-ghost:active { box-shadow: none; }
.cv-go-ico { display: inline-grid; place-items: center; }
.cv-go-ico svg { width: 22px; height: 22px; }

.cv-card {
  position: relative;
  background: linear-gradient(180deg, var(--cv-wood-glass), var(--cv-wood-glass)), var(--cv-img-panel) center / cover, var(--cv-wood);
  border: 2px solid var(--cv-gold-line);
  border-radius: var(--cv-radius-card);
  box-shadow: var(--cv-shadow), inset 0 1px 0 var(--cv-bulb-soft);
  padding: 22px 26px;
  color: var(--cv-snow);
}
.cv-signtext {
  font-family: var(--cv-font-sign); font-weight: 400;
  font-size: 34px; line-height: 1.08; margin: 2px 0 10px;
  color: var(--cv-gold); text-shadow: 0 2px 0 var(--cv-red-deep), var(--cv-glow);
  letter-spacing: .01em;
}
.cv-kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--cv-frost); }
.cv-status { margin: 10px 0 0; font-size: 14px; font-weight: 800; color: var(--cv-bulb); }
.cv-status:empty { display: none; }
.cv-status.is-err { color: var(--cv-warn); }
.cv-ts:empty { display: none; }
.cv-ts { margin: 0 0 10px; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--cv-gold-line); box-shadow: var(--cv-glow); }
.cv-ts:not(:has(iframe)), .cv-ts:has(iframe[style*="display: none"]) { border: 0; box-shadow: none; margin: 0; }
.cv-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }

.cv-spinner {
  display: inline-block; flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid var(--cv-gold-line); border-top-color: var(--cv-gold);
  animation: cv-spin .8s linear infinite;
}
@keyframes cv-spin { to { transform: rotate(360deg); } }
.cv-loading { position: fixed; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 800; }

#cv-toast {
  position: fixed; left: 50%; bottom: 22px; z-index: 50; max-width: calc(100% - 32px);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--cv-cream); color: var(--cv-ink); border-radius: var(--cv-radius-chip);
  padding: 10px 18px; font-weight: 800; font-size: 14px; box-shadow: var(--cv-shadow);
  transition: opacity var(--cv-dur) var(--cv-ease-out), transform var(--cv-dur) var(--cv-ease-out);
}
#cv-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- top bar (map, prizes) ---------- */
.cv-topbar {
  position: fixed; top: 18px; left: 20px; right: 20px; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  pointer-events: none;
}
.cv-topbar > *, .cv-topbar-r > * { pointer-events: auto; }
.cv-topbar-r { display: flex; align-items: center; gap: 10px; }

/* ======================================================================
 * The map
 * ==================================================================== */
.cv-map-frame { position: fixed; inset: 0; z-index: 1; overflow: hidden; }
.cv-map-box { position: absolute; }
.cv-map-img { display: block; width: 100%; height: 100%; object-fit: fill; user-select: none; -webkit-user-drag: none; }
.cv-map.no-art .cv-map-img { visibility: hidden; }
.cv-map.no-art .cv-map-box {
  background:
    radial-gradient(120% 60% at 50% 110%, var(--cv-snow) 0 38%, transparent 39%),
    radial-gradient(60% 40% at 50% 30%, var(--cv-night-2), transparent 70%);
  border-radius: 0;
}
.cv-spots { position: absolute; inset: 0; }
/* the tall map (a phone held upright) fills the width; its top edge fades into the sky above it, and when it is taller
   than the screen the frame pans up and down */
.cv-map.is-tall .cv-map-img {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, var(--cv-night) 6%);
  mask-image: linear-gradient(180deg, transparent 0, var(--cv-night) 6%);
}
.cv-map-frame.is-pan { overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.cv-map-frame.is-pan::-webkit-scrollbar { display: none; }
.cv-map-frame.is-pan .cv-map-img { -webkit-mask-image: none; mask-image: none; }
.cv-pan {
  position: fixed; z-index: 11; left: 50%; bottom: 104px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 10px;
  border-radius: var(--cv-radius-chip); background: var(--cv-cream); color: var(--cv-ink);
  border: 2px solid var(--cv-gold); box-shadow: var(--cv-glow), var(--cv-shadow);
  font-weight: 800; font-size: 13.5px; cursor: pointer; white-space: nowrap;
  animation: cv-nudge 1.8s var(--cv-ease-out) infinite;
}
.cv-pan.is-up { bottom: auto; top: 66px; }
.cv-pan-ico { display: inline-grid; }
.cv-pan-ico svg { width: 18px; height: 18px; }
.cv-pan.is-up .cv-pan-ico { transform: rotate(180deg); }
@keyframes cv-nudge { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 4px); } }

.cv-spot {
  position: absolute; padding: 0; margin: 0; border: 0; background: transparent;
  border-radius: 22px; cursor: pointer; color: var(--cv-snow);
  -webkit-tap-highlight-color: transparent;
}
.cv-spot::before {
  content: ''; position: absolute; inset: -6% -4%; border-radius: 40%;
  background: radial-gradient(closest-side, var(--cv-bulb-soft), transparent 75%);
  opacity: 0; transition: opacity var(--cv-dur) var(--cv-ease-out);
  pointer-events: none; mix-blend-mode: screen;
}
.cv-spot.is-open::before { animation: cv-pulse 2.6s ease-in-out infinite; }
.cv-spot:hover::before, .cv-spot.is-active::before, .cv-spot:focus-visible::before { opacity: 1; animation: none; }
.cv-spot:focus-visible { outline-offset: -4px; }
@keyframes cv-pulse { 0%, 100% { opacity: .25; } 50% { opacity: .85; } }

.cv-spot-sign {
  display: none; position: absolute; left: 50%; top: 12%; transform: translateX(-50%);
  padding: 8px 14px; border-radius: 12px; white-space: nowrap;
  background: linear-gradient(180deg, var(--cv-wood-2), var(--cv-wood)); border: var(--cv-border-sign);
  font-family: var(--cv-font-sign); font-size: clamp(12px, 1.4vw, 20px); color: var(--cv-cream);
  box-shadow: var(--cv-glow), var(--cv-shadow);
}
.cv-map.no-art .cv-spot-sign { display: block; }

.cv-spot-badge {
  position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--cv-radius-chip);
  background: var(--cv-red); border: 2px solid var(--cv-gold);
  font-weight: 800; font-size: 14px; white-space: nowrap; color: var(--cv-snow);
  box-shadow: var(--cv-glow-strong), 0 3px 0 var(--cv-red-deep);
  animation: cv-bob 2.4s var(--cv-ease-out) infinite;
}
.cv-spot.is-prizes .cv-spot-badge { background: var(--cv-wood); box-shadow: var(--cv-glow), var(--cv-shadow); animation: none; }
@keyframes cv-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -4px); } }

/* Opening soon: a small lit board on two chains, centred on the stall */
.cv-soon {
  position: absolute; left: 50%; top: 50%;
  width: clamp(124px, 56%, 190px); aspect-ratio: 2 / 1;
  transform: translate(-50%, -50%); transform-origin: 50% 0;
  background: var(--cv-img-soon) center / contain no-repeat;
  display: grid; place-items: center;
  filter: drop-shadow(0 6px 10px var(--cv-scrim));
  animation: cv-swing 4.5s ease-in-out infinite;
  container-type: inline-size;
}
/* "Opening soon" on one line on every board: the type is sized from the board's own width (QA 26 Nov: two boards wrapped) */
.cv-soon-t {
  display: block; width: 86%; max-height: 50%; margin-top: 8%; white-space: nowrap;
  font-family: var(--cv-font-sign); font-size: clamp(9px, 10.5cqw, 16px); line-height: 1.05;
  color: var(--cv-red-deep); text-align: center; text-shadow: 0 1px 0 var(--cv-cream);
}
:root.no-soon-sign .cv-soon-t { color: var(--cv-cream); text-shadow: 0 1px 0 var(--cv-ink); }
:root.no-soon-sign .cv-soon {
  background: linear-gradient(180deg, var(--cv-wood-2), var(--cv-wood));
  border: 2px solid var(--cv-gold); border-radius: 10px; aspect-ratio: auto; padding: 7px 8px;
  box-shadow: var(--cv-glow); width: auto; max-width: 92%;
}
:root.no-soon-sign .cv-soon-t { width: auto; margin: 0; white-space: nowrap; }
@keyframes cv-swing { 0%, 100% { transform: translate(-50%, -50%) rotate(-1.6deg); } 50% { transform: translate(-50%, -50%) rotate(1.6deg); } }

/* string lights */
.cv-lights { position: absolute; left: 0; top: 0; width: 100%; height: var(--lh, 70px); pointer-events: none; z-index: 3; }
.cv-lights svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cv-wire { stroke: var(--cv-wood); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.cv-bulb {
  position: absolute; width: 9px; height: 12px; margin: -2px 0 0 -4.5px; border-radius: 50% 50% 45% 45%;
  background: var(--cv-bulb); box-shadow: 0 0 10px 2px var(--cv-bulb-soft), var(--cv-glow);
  animation: cv-twinkle 3.2s ease-in-out infinite;
}
@keyframes cv-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* teaser card */
.cv-teaser {
  position: fixed; z-index: 20; width: 300px;
  background: var(--cv-cream); color: var(--cv-ink);
  border: 2px solid var(--cv-cream-2); border-radius: var(--cv-radius-card);
  box-shadow: var(--cv-shadow); padding: 14px 16px 16px;
  animation: cv-pop var(--cv-dur) var(--cv-ease-bounce);
}
.cv-teaser[hidden] { display: none; }
.cv-teaser-x {
  position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: transparent; color: var(--cv-ink-2); cursor: pointer;
}
.cv-teaser-x:hover { background: var(--cv-ink-line); color: var(--cv-ink); }
.cv-teaser-x svg { width: 18px; height: 18px; }
.cv-teaser-meta, .cv-teaser-name { padding-right: 30px; }
@keyframes cv-pop { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
.cv-teaser-meta { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cv-ink-2); }
.cv-teaser-name { margin: 2px 0 4px; font-family: var(--cv-font-sign); font-weight: 400; font-size: 24px; line-height: 1.1; color: var(--cv-red-deep); }
.cv-teaser-line { margin: 0 0 10px; font-size: 15px; }
.cv-teaser-soon { margin: 0; font-size: 14px; font-weight: 800; color: var(--cv-ink-2); padding-top: 10px; border-top: 1px dashed var(--cv-ink-line); }

.cv-map-foot {
  position: fixed; left: 20px; right: 20px; bottom: 16px; z-index: 10;
  display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.cv-map-foot > * { pointer-events: auto; }
.cv-rl {
  position: absolute; left: 0; bottom: 4px;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-size: 12px; font-weight: 800; color: var(--cv-frost);
  padding: 6px 12px; border-radius: var(--cv-radius-chip); background: var(--cv-glass);
}
.cv-rl img { height: 14px; width: auto; display: block; }
.cv-hint {
  margin: 0; padding: 10px 18px; border-radius: var(--cv-radius-chip);
  background: var(--cv-glass); border: 1.5px solid var(--cv-gold-line);
  font-size: 15px; font-weight: 800; box-shadow: var(--cv-shadow);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* ======================================================================
 * A stall page
 * ==================================================================== */
.cv-stall { position: relative; min-height: 100vh; min-height: 100dvh; }
.cv-stage { position: fixed; inset: 0; z-index: 1; overflow: hidden; }
@media (min-width: 760px) {
  /* while the intro or result card is up, the stage sits above it (the card's height is measured into --cv-cta-h), so
     the six plaques are never sliced by the card; when the call starts the booth grows back to full screen */
  .cv-stage { transition: bottom var(--cv-dur-slow) var(--cv-ease-out); }
  .cv-stall[data-phase="intro"] .cv-stage, .cv-stall[data-phase="result"] .cv-stage, .cv-stall[data-phase="between"] .cv-stage {
    bottom: min(calc(var(--cv-cta-h, 0px) + 40px), 60vh);
    -webkit-mask-image: linear-gradient(180deg, var(--cv-night) 88%, transparent);
    mask-image: linear-gradient(180deg, var(--cv-night) 88%, transparent);
  }
  /* the clock is not running before the call or after it, and up here it would sit across the booth's sign, which the
     shorter stage lifts to the top of the screen */
  .cv-stall[data-phase="intro"] .cv-clock, .cv-stall[data-phase="result"] .cv-clock, .cv-stall[data-phase="between"] .cv-clock { visibility: hidden; }
  /* the card no longer sits on the stage, so the stage needs only a light shade, and the plaques keep their cream */
  .cv-stall[data-phase="intro"] .cv-stage::after, .cv-stall[data-phase="result"] .cv-stage::after, .cv-stall[data-phase="between"] .cv-stage::after { background: linear-gradient(180deg, transparent 55%, var(--cv-scrim-soft) 100%); }
}
.cv-stage-fallback { background: var(--cv-stage-art) center / cover no-repeat, linear-gradient(180deg, var(--cv-night-2), var(--cv-night)); }
.cv-stall[data-phase="intro"] .cv-stage::after,
.cv-stall[data-phase="result"] .cv-stage::after,
.cv-stall[data-phase="between"] .cv-stage::after,
.cv-stall[data-phase="ending"] .cv-stage::after {
  content: ''; position: absolute; inset: 0; z-index: 30; pointer-events: none;
  background: linear-gradient(180deg, transparent 35%, var(--cv-scrim) 100%);
}

.cv-hud {
  position: fixed; z-index: 10; top: 20px; left: 20px; right: calc(360px + 44px);
  display: flex; align-items: center; gap: 12px;
}
.cv-hud-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cv-score { height: 56px; padding-right: 20px; font-size: 18px; border: var(--cv-border-sign); background: linear-gradient(180deg, var(--cv-wood-2), var(--cv-wood)); box-shadow: var(--cv-glow), var(--cv-shadow); }
.cv-score .cv-chip-ico { width: 44px; height: 44px; background: transparent; }
.cv-score-l { color: var(--cv-cream); }
.cv-score-n { font-family: var(--cv-font-sign); font-weight: 400; font-size: 30px; line-height: 1; color: var(--cv-gold); }
.cv-score-of { font-family: var(--cv-font-sign); font-size: 24px; color: var(--cv-gold); }
.cv-score.bump .cv-score-n { animation: cv-bump var(--cv-dur-slow) var(--cv-ease-bounce); }
@keyframes cv-bump { 0% { transform: scale(1); color: var(--cv-gold); } 35% { transform: scale(1.45); color: var(--cv-gold-hot); text-shadow: var(--cv-glow-strong); } 100% { transform: scale(1); } }
.cv-clock { height: 56px; padding-right: 20px; border: var(--cv-border-sign); background: linear-gradient(180deg, var(--cv-wood-2), var(--cv-wood)); }
.cv-clock .cv-chip-ico { background: transparent; color: var(--cv-gold); }
.cv-clock .cv-chip-ico svg { width: 26px; height: 26px; }
.cv-clock-n { font-family: var(--cv-font-sign); font-weight: 400; font-size: 28px; color: var(--cv-snow); font-variant-numeric: var(--cv-num); min-width: 3.1ch; }
.cv-clock.is-low .cv-clock-n { color: var(--cv-gold-hot); animation: cv-throb 1s ease-in-out infinite; }
@keyframes cv-throb { 50% { opacity: .55; } }

/* the buyer */
.cv-buyer { position: fixed; z-index: 10; top: 20px; right: 20px; width: 360px; }
.cv-tile {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 16px; border: 3px solid var(--cv-gold);
  background: var(--cv-night-2) center / cover; box-shadow: var(--cv-glow), var(--cv-shadow);
}
.cv-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-live { opacity: 0; transition: opacity var(--cv-dur) var(--cv-ease-out); }
.cv-tile.is-live .cv-live { opacity: 1; }
.cv-tag {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 8px;
  border-radius: var(--cv-radius-chip); background: var(--cv-glass);
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.cv-seat-tag { left: auto; right: 10px; letter-spacing: .04em; text-transform: none; color: var(--cv-gold); border: 1px solid var(--cv-gold-line); }
.cv-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cv-frost); }
.cv-stall[data-phase="live"] .cv-dot { background: var(--cv-live); box-shadow: 0 0 0 0 var(--cv-live); animation: cv-live 1.6s ease-out infinite; }
@keyframes cv-live { 0% { box-shadow: 0 0 0 0 var(--cv-live); } 100% { box-shadow: 0 0 0 8px transparent; } }
.cv-joining {
  position: absolute; inset: 0; z-index: 3; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--cv-scrim); font-weight: 800; font-size: 15px;
}
.cv-stall[data-phase="connecting"] .cv-joining { display: flex; }
.cv-nameplate {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0;
  padding: 26px 12px 8px; display: flex; flex-direction: column; line-height: 1.2;
  background: linear-gradient(180deg, transparent, var(--cv-scrim));
  transition: opacity var(--cv-dur);
}
.cv-nameplate b { font-size: 15px; font-weight: 800; }
.cv-nameplate span { font-size: 12.5px; color: var(--cv-frost); }
.cv-stall[data-phase="live"] .cv-nameplate { opacity: 0; }
.cv-micbtn { position: absolute; right: 8px; bottom: 8px; z-index: 3; width: 38px; height: 38px; display: none; }
.cv-micbtn svg { width: 19px; height: 19px; }
.cv-micbtn[aria-pressed="true"] { background: var(--cv-red); border-color: var(--cv-gold); }
.cv-stall[data-phase="live"] .cv-micbtn { display: inline-grid; }
.cv-cap {
  margin: 8px 0 0; padding: 9px 14px; border-radius: 12px;
  background: var(--cv-glass); border: 1px solid var(--cv-line);
  font-size: 15px; font-weight: 800; line-height: 1.35; color: var(--cv-snow);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.cv-cap:empty { display: none; }
.cv-cap.is-you { color: var(--cv-frost); font-weight: 600; }

/* the CTA area */
.cv-cta { position: fixed; z-index: 12; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(900px, calc(100% - 48px)); }
.cv-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; align-items: start; }
.cv-intro .cv-signtext { font-size: 38px; }
.cv-setup { margin: 0 0 12px; font-size: 15.5px; line-height: 1.5; }
.cv-goal { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; color: var(--cv-cream); }
.cv-goal-ico { width: 34px; height: 34px; flex: none; display: inline-grid; place-items: center; }
.cv-goal-ico svg { width: 26px; height: 26px; }
.cv-how { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; gap: 8px; }
.cv-how li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.4; color: var(--cv-snow); }
.cv-how li::before { content: ''; position: absolute; left: 4px; top: .42em; width: 10px; height: 10px; border-radius: 50%; background: var(--cv-gold); box-shadow: var(--cv-glow); }
.cv-gobar { display: grid; gap: 8px; }
.cv-gobar > .cv-status { margin: 0; }
.cv-gobar > .cv-status:not(:empty) + .cv-gogoal { display: none !important; }
.cv-btn-go { width: 100%; min-height: 62px; font-family: var(--cv-font-sign); font-weight: 400; font-size: 26px; letter-spacing: .02em; border: 3px solid var(--cv-gold); box-shadow: 0 5px 0 var(--cv-red-deep), var(--cv-glow); }
.cv-btn-go .cv-go-ico svg { width: 24px; height: 24px; }
.cv-gogoal { display: none; margin: 0; text-align: center; font-size: 14px; font-weight: 800; color: var(--cv-cream); }
.cv-fine { margin: 0; text-align: center; font-size: 12.5px; color: var(--cv-frost); }

.cv-bar {
  display: flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; margin: 0 auto;
  padding: 10px 10px 10px 20px; min-height: 60px; border-radius: var(--cv-radius-chip);
  background: var(--cv-glass); border: 1.5px solid var(--cv-gold-line); box-shadow: var(--cv-shadow);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.cv-bar > .cv-spinner { margin-left: 2px; }
.cv-bar:not(.cv-bar-live) { padding-right: 22px; }
.cv-bar-t { margin: 0; font-weight: 800; font-size: 15px; }
.cv-meter { display: inline-flex; align-items: flex-end; gap: 3px; height: 24px; }
.cv-meter i { width: 4px; height: 100%; border-radius: 2px; background: var(--cv-gold); transform: scaleY(.18); transform-origin: 50% 100%; transition: transform 90ms linear; }
.cv-btn-end { min-height: 42px; padding: 0 16px; font-size: 15px; }
.cv-btn-end.is-armed { background: var(--cv-red-deep); border-color: var(--cv-gold); }

.cv-result { max-width: 560px; margin: 0 auto; text-align: center; padding: 24px 26px 22px; }
.cv-result .cv-signtext { font-size: 40px; margin-bottom: 4px; }
@media (min-width: 760px) {
  .cv-result { max-width: 860px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; align-items: center; }
  .cv-result > .cv-res-b:empty { display: none; }
  .cv-result:has(> .cv-res-b:empty) { grid-template-columns: 1fr; max-width: 560px; }
  .cv-result > .cv-actions { grid-column: 1 / -1; }
  .cv-result .cv-claim { margin-top: 12px; }
}
.cv-result.is-win { border-color: var(--cv-gold); box-shadow: var(--cv-glow-strong), var(--cv-shadow); }
.cv-sub { margin: 0 0 14px; font-size: 16px; }
.cv-tix { display: inline-flex; align-items: center; gap: 12px; margin: 2px 0 10px; }
.cv-tix-ico { width: 58px; height: 58px; display: inline-grid; place-items: center; }
.cv-tix-ico svg { width: 52px; height: 52px; }
.cv-tix b { font-family: var(--cv-font-sign); font-weight: 400; font-size: 54px; line-height: 1; color: var(--cv-gold); text-shadow: var(--cv-glow); font-variant-numeric: var(--cv-num); }
.cv-tix span { font-size: 18px; font-weight: 800; color: var(--cv-cream); }
.cv-break { list-style: none; margin: 0 auto 10px; padding: 0; max-width: 340px; text-align: left; }
.cv-break li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 2px; font-size: 14.5px; color: var(--cv-frost); border-bottom: 1px dashed var(--cv-gold-line); }
.cv-break li:last-child { border-bottom: 0; }
.cv-break b { color: var(--cv-gold); font-variant-numeric: var(--cv-num); }
.cv-today { margin: 6px 0 0; font-size: 14.5px; font-weight: 800; color: var(--cv-cream); }
.cv-claimed { color: var(--cv-gold); }
.cv-claim { margin: 14px auto 0; max-width: 380px; text-align: left; }
.cv-claim label { display: block; font-size: 14px; font-weight: 800; margin-bottom: 6px; color: var(--cv-cream); }
.cv-claim-row { display: flex; gap: 8px; }
.cv-input {
  flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px;
  background: var(--cv-cream); color: var(--cv-ink); border: 2px solid var(--cv-cream-2); font-weight: 800; font-size: 16px;
}
.cv-input::placeholder { color: var(--cv-ink-2); font-weight: 600; }
.cv-input:focus { outline: 3px solid var(--cv-gold); outline-offset: 1px; }

/* rooms (The See-Saw): the front door, the lobby, the countdown */
.cv-fields { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 0 0 12px; }
.cv-fields:has(> .cv-field[hidden]) { grid-template-columns: 1fr; }
.cv-field label { display: block; margin: 0 0 5px; font-size: 13px; font-weight: 800; color: var(--cv-cream); }
.cv-field .cv-input { width: 100%; }
.cv-input-code { width: 7.2em !important; text-transform: uppercase; letter-spacing: .22em; font-family: var(--cv-font-sign); font-weight: 400; text-align: center; }
.cv-linkbtn {
  justify-self: center; margin: 2px auto 0; padding: 6px 8px; border: 0; background: transparent; cursor: pointer;
  font-weight: 800; font-size: 14px; color: var(--cv-bulb); text-decoration: underline; text-underline-offset: 3px;
}
.cv-linkbtn:hover { color: var(--cv-gold-hot); }
.cv-lobby .cv-intro-b { display: grid; gap: 12px; }
.cv-code { display: flex; gap: 6px; margin: 6px 0 12px; }
.cv-code span {
  display: grid; place-items: center; width: 50px; height: 60px; border-radius: 10px;
  background: var(--cv-cream); color: var(--cv-red-deep); border: 2px solid var(--cv-gold);
  font-family: var(--cv-font-sign); font-size: 34px; line-height: 1; box-shadow: var(--cv-glow);
}
.cv-players { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cv-pl { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; padding: 7px 12px 7px 7px; border-radius: 12px; background: var(--cv-glass); border: 1.5px solid var(--cv-line); }
.cv-pl.is-ready { border-color: var(--cv-gold); box-shadow: var(--cv-glow); }
.cv-pl.is-empty { border-style: dashed; }
.cv-pl.is-empty .cv-av { background: var(--cv-night-2); animation: cv-throb 1.6s ease-in-out infinite; }
.cv-pl-name { font-weight: 800; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-pl.is-empty .cv-pl-name { color: var(--cv-frost); font-weight: 600; }
.cv-pl-st { font-size: 13px; font-weight: 800; color: var(--cv-frost); }
.cv-pl.is-ready .cv-pl-st { color: var(--cv-gold); }
.cv-countdown { max-width: 420px; margin: 0 auto; text-align: center; }
.cv-cd-n { display: block; margin: 6px 0 4px; font-family: var(--cv-font-sign); font-weight: 400; font-size: 96px; line-height: 1; color: var(--cv-gold); text-shadow: var(--cv-glow-strong); font-variant-numeric: var(--cv-num); }
.cv-countdown .cv-sub { margin: 0; }
.cv-roomline { margin: -2px 0 10px; font-size: 15px; font-weight: 800; color: var(--cv-bulb); }
.cv-roomline.is-won { color: var(--cv-gold-hot); }

/* between two swings */
.cv-between { max-width: 560px; margin: 0 auto; text-align: center; }
.cv-between .cv-signtext { font-size: 34px; margin-bottom: 6px; }
.cv-between .cv-actions { margin-top: 10px; }
.cv-between .cv-btn-go { width: auto; min-width: 240px; }

/* Opening soon page */
.cv-soonpage { position: relative; z-index: 10; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 84px 16px 40px; }
.cv-back-float { position: fixed; top: 18px; left: 20px; z-index: 11; }
.cv-soon-card { max-width: 480px; text-align: center; }
.cv-soon-line { margin: 0 0 16px; font-size: 16px; }
.cv-soon-big { position: relative; left: auto; top: auto; transform: none; margin: 4px auto 4px; width: 220px; animation: none; }

/* ======================================================================
 * The Prize Counter
 * ==================================================================== */
.cv-prizes { position: relative; z-index: 10; min-height: 100vh; min-height: 100dvh; padding: 92px 24px 48px; }
.cv-prizes::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  /* the Prize Counter booth from the map art, close up and softened, until its own art exists (assets.md pc-*, LATER) */
  /* sized so the booth fills the width, and placed so the booth's sign and shelves sit at the centre of the screen
     (the booth is at x 85.5%, y 39 to 83% of map-wide) */
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cv-night) 92%, transparent) 0%, color-mix(in srgb, var(--cv-night) 55%, transparent) 26%, transparent 46%),
    linear-gradient(180deg, var(--cv-scrim) 0%, var(--cv-scrim-soft) 45%, var(--cv-scrim) 100%),
    var(--cv-img-map-wide) calc(50vw - 0.855 * 360vw) calc(50vh - 0.64 * 202.5vw) / 360vw auto no-repeat,
    var(--cv-night);
  filter: blur(7px) saturate(1.05); /* soft enough that the booth's own painted "Prize Counter" letters never read as a second title (QA 26 Nov) */
}
.cv-pc-wrap {
  max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px 40px; align-items: start;
  grid-template-areas: "left champs" "mine champs";
}
.cv-pc-left { grid-area: left; }
.cv-champs { grid-area: champs; }
.cv-mine { grid-area: mine; }
.cv-mine-t { margin: 0 0 10px; text-align: center; font-family: var(--cv-font-sign); font-weight: 400; font-size: 24px; color: var(--cv-cream); text-shadow: 0 2px 0 var(--cv-ink); }
.cv-bystall { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.cv-bs {
  display: grid; grid-template-columns: 40px 1fr auto auto; align-items: center; gap: 12px;
  padding: 7px 8px 7px 8px; border-radius: 14px; background: var(--cv-glass); border: 1.5px solid var(--cv-line);
}
.cv-bs.has-tix { border-color: var(--cv-gold-line); }
.cv-bs.is-soon { opacity: .6; }
.cv-bs-ico { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--cv-night-2); color: var(--cv-gold); }
.cv-bs-ico svg { width: 22px; height: 22px; }
.cv-bs-name { display: grid; min-width: 0; line-height: 1.2; }
.cv-bs-name b { font-size: 16px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-bs-name span { font-size: 12.5px; color: var(--cv-frost); }
.cv-bs-tk { font-size: 12.5px; color: var(--cv-frost); white-space: nowrap; text-align: right; }
.cv-bs-tk b { font-family: var(--cv-font-sign); font-weight: 400; font-size: 20px; color: var(--cv-gold); font-variant-numeric: var(--cv-num); margin-right: 2px; }
.cv-bs .cv-btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; box-shadow: 0 3px 0 var(--cv-red-deep); }
.cv-bs .cv-btn-ghost { box-shadow: none; }
.cv-bs-soon { font-size: 12.5px; font-weight: 800; color: var(--cv-frost); padding: 0 8px; }
.cv-pc-left { display: grid; justify-items: center; text-align: center; gap: 22px; padding-top: 8px; }
.cv-marquee {
  position: relative; margin: 10px 0 0; display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 28px; border-radius: 16px;
  background: linear-gradient(180deg, var(--cv-red), var(--cv-red-deep));
  border: var(--cv-border-sign); box-shadow: var(--cv-glow), var(--cv-shadow);
  font-family: var(--cv-font-sign); font-weight: 400; font-size: 42px; line-height: 1; color: var(--cv-cream);
  text-shadow: 0 2px 0 var(--cv-ink);
}
.cv-marquee::before { content: ''; position: absolute; inset: -11px; border-radius: 24px; border: 6px dotted var(--cv-bulb); filter: drop-shadow(0 0 6px var(--cv-bulb-soft)); pointer-events: none; }
.cv-star { display: inline-grid; color: var(--cv-gold); }
.cv-star svg { width: 26px; height: 26px; }
.cv-bigtix {
  display: inline-flex; align-items: center; gap: 16px; padding: 14px 30px 14px 18px; border-radius: 20px;
  background: linear-gradient(180deg, var(--cv-wood-2), var(--cv-wood)); border: var(--cv-border-sign);
  box-shadow: var(--cv-glow-strong), var(--cv-shadow); text-align: left;
}
.cv-bigtix-ico { width: 76px; height: 76px; display: inline-grid; place-items: center; }
.cv-bigtix-ico svg { width: 66px; height: 66px; }
.cv-bigtix-n { display: block; font-family: var(--cv-font-sign); font-weight: 400; font-size: 60px; line-height: 1; color: var(--cv-gold); text-shadow: var(--cv-glow); font-variant-numeric: var(--cv-num); }
.cv-bigtix-u { display: block; font-size: 16px; font-weight: 800; color: var(--cv-cream); margin-top: 4px; }
.cv-myrank { margin: 0; font-size: 16px; font-weight: 800; max-width: 380px; }
.cv-pc-left .cv-claim { margin-top: 0; width: 100%; }
.cv-pc-left .cv-actions { margin-top: 0; }

.cv-champs {
  position: relative; padding: 22px 22px 18px; border-radius: 24px;
  background: linear-gradient(180deg, var(--cv-wood-glass), var(--cv-wood-glass)), var(--cv-img-panel) center / cover, var(--cv-wood);
  border: 3px solid var(--cv-gold-line); box-shadow: var(--cv-shadow), inset 0 1px 0 var(--cv-bulb-soft);
}
.cv-champs-t { margin: 0 0 14px; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--cv-font-sign); font-weight: 400; font-size: 32px; color: var(--cv-cream); text-shadow: 0 2px 0 var(--cv-ink); }
.cv-flake { display: inline-grid; color: var(--cv-snow); }
.cv-flake svg { width: 24px; height: 24px; }
.cv-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.cv-row {
  display: grid; grid-template-columns: 34px 38px 1fr auto; align-items: center; gap: 12px;
  padding: 7px 14px 7px 8px; border-radius: 12px; background: var(--cv-glass); border: 1.5px solid transparent;
}
.cv-row.is-me { border-color: var(--cv-gold); box-shadow: var(--cv-glow); }
.cv-rank { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--cv-night-2); font-family: var(--cv-font-sign); font-size: 16px; color: var(--cv-frost); }
.cv-row.is-top .cv-rank { background: var(--cv-gold); color: var(--cv-ink); box-shadow: var(--cv-glow); }
.cv-av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--cv-red); border: 2px solid var(--cv-gold-line); font-family: var(--cv-font-sign); font-size: 17px; color: var(--cv-cream); }
.cv-name { font-size: 18px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-tk { font-size: 13px; color: var(--cv-frost); white-space: nowrap; }
.cv-tk b { font-family: var(--cv-font-sign); font-weight: 400; font-size: 19px; color: var(--cv-gold); font-variant-numeric: var(--cv-num); margin-right: 2px; }
.cv-row-empty { padding: 18px 10px; text-align: center; color: var(--cv-frost); font-weight: 800; }
.cv-champs-note { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--cv-frost); }

/* ======================================================================
 * Phone: under 760px
 * ==================================================================== */
@media (max-width: 759px) {
  .cv-topbar { top: 12px; left: 16px; right: 16px; }
  .cv-chip { height: 40px; font-size: 14px; padding-right: 13px; gap: 6px; }
  .cv-chip-ico { width: 28px; height: 28px; }
  .cv-chip-ico svg { width: 17px; height: 17px; }
  .cv-chip-players { display: none; }
  .cv-chip-unit { display: none; }
  .cv-iconbtn { width: 40px; height: 40px; }
  .cv-iconbtn svg { width: 20px; height: 20px; }
  .cv-lights { --lh: 46px; }
  .cv-bulb { width: 7px; height: 9px; margin-left: -3.5px; }
  .cv-map-foot { left: 16px; right: 16px; bottom: 12px; flex-direction: column; gap: 8px; }
  .cv-rl { position: static; order: 2; padding: 4px 10px; font-size: 11px; }
  .cv-rl img { height: 12px; }
  .cv-hint { font-size: 13.5px; padding: 8px 14px; text-align: center; }
  .cv-spot-badge { font-size: 12.5px; padding: 4px 11px; }
  .cv-soon { width: clamp(96px, 62%, 140px); }
  .cv-teaser-name { font-size: 22px; }

  /* the stall page: one column */
  .cv-stall { padding: 0 16px 110px; }
  .cv-hud { position: relative; top: auto; left: auto; right: auto; padding: 12px 0 10px; gap: 8px; }
  .cv-hud-r { gap: 8px; }
  .cv-score { height: 44px; font-size: 15px; padding-right: 14px; }
  .cv-score .cv-chip-ico { width: 34px; height: 34px; }
  .cv-score-l { display: none; }
  .cv-score-n { font-size: 24px; }
  .cv-score-of { font-size: 19px; }
  .cv-clock { height: 44px; padding-right: 14px; }
  .cv-clock .cv-chip-ico svg { width: 21px; height: 21px; }
  .cv-clock-n { font-size: 22px; }
  .cv-buyer { position: relative; top: auto; right: auto; width: 100%; z-index: 10; }
  .cv-stall[data-phase="live"] .cv-buyer, .cv-stall[data-phase="connecting"] .cv-buyer { position: sticky; top: 0; padding-top: 8px; margin-top: -8px; }
  .cv-cap { font-size: 14.5px; }
  .cv-stage { position: relative; inset: auto; z-index: 1; width: 100%; aspect-ratio: 4 / 5; margin-top: 12px; border-radius: 16px; border: 2px solid var(--cv-gold-line); }
  .cv-cta { position: relative; left: auto; bottom: auto; transform: none; width: auto; margin-top: 14px; }
  .cv-card { padding: 18px 16px; }
  .cv-intro { grid-template-columns: 1fr; gap: 4px; }
  .cv-intro .cv-signtext { font-size: 32px; }
  .cv-gobar {
    position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    padding: 18px 16px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, transparent 0, var(--cv-night) 16px);
  }
  .cv-btn-go { min-height: 58px; font-size: 24px; }
  .cv-gobar > .cv-status { text-align: center; text-shadow: 0 1px 2px var(--cv-night); }
  .cv-stall[data-phase="intro"] { padding-bottom: 150px; }
  .cv-stall[data-phase="live"] .cv-cta, .cv-stall[data-phase="connecting"] .cv-cta, .cv-stall[data-phase="ending"] .cv-cta {
    position: fixed; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); margin: 0;
  }
  .cv-bar { width: 100%; padding-left: 14px; gap: 10px; }
  .cv-bar-t { font-size: 14px; flex: 1; }
  .cv-btn-end { padding: 0 12px; }
  .cv-result .cv-signtext { font-size: 32px; }
  .cv-tix b { font-size: 46px; }
  .cv-actions .cv-btn { flex: 1 1 100%; }

  .cv-prizes { padding: 74px 16px 40px; }
  .cv-prizes::before {
    background:
      linear-gradient(180deg, var(--cv-scrim) 0%, var(--cv-scrim-soft) 45%, var(--cv-scrim) 100%),
      var(--cv-img-map-tall) calc(50vw - 0.76 * 268vw) calc(30vh - 0.30 * 476.4vw) / 268vw auto no-repeat,
      var(--cv-night);
  }
  .cv-pc-wrap { grid-template-columns: 1fr; gap: 26px; grid-template-areas: "left" "mine" "champs"; }
  .cv-bs { grid-template-columns: 32px 1fr auto auto; gap: 8px; padding: 6px 6px 6px 7px; }
  .cv-bs-ico { width: 32px; height: 32px; }
  .cv-bs-ico svg { width: 18px; height: 18px; }
  .cv-bs-name b { font-size: 15px; }
  .cv-bs-name span { font-size: 12px; }
  .cv-bs-tk { font-size: 11px; display: grid; justify-items: end; line-height: 1.05; }
  .cv-bs-tk b { font-size: 19px; margin: 0; }
  .cv-bs .cv-btn-sm { min-height: 34px; padding: 0 12px; font-size: 13.5px; }
  .cv-mine-t { font-size: 22px; }
  .cv-fields { grid-template-columns: 1fr; }
  .cv-input-code { width: 100% !important; }
  .cv-code span { width: 46px; height: 54px; font-size: 30px; }
  .cv-cd-n { font-size: 80px; }
  .cv-between .cv-signtext { font-size: 28px; }
  .cv-between .cv-btn-go { min-width: 0; }
  /* the next swing is one thumb away: the two buttons ride the bottom edge, as Step up does */
  .cv-stall[data-phase="between"] { padding-bottom: 170px; }
  .cv-between .cv-actions {
    position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; margin: 0; flex-wrap: nowrap;
    padding: 18px 16px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, transparent 0, var(--cv-night) 16px);
  }
  .cv-between .cv-actions .cv-btn { flex: 0 1 auto; white-space: nowrap; padding: 0 16px; }
  .cv-between .cv-actions .cv-btn-go { flex: 1 1 auto; min-height: 56px; font-size: 20px; gap: 8px; }
  .cv-pan { bottom: 96px; }
  .cv-marquee { font-size: 30px; padding: 12px 20px; gap: 10px; }
  .cv-star svg { width: 20px; height: 20px; }
  .cv-bigtix { padding: 12px 22px 12px 14px; }
  .cv-bigtix-ico { width: 58px; height: 58px; }
  .cv-bigtix-ico svg { width: 50px; height: 50px; }
  .cv-bigtix-n { font-size: 46px; }
  .cv-champs { padding: 18px 12px 14px; }
  .cv-champs-t { font-size: 26px; }
  .cv-row { grid-template-columns: 30px 34px 1fr auto; gap: 9px; padding: 6px 10px 6px 6px; }
  .cv-rank { width: 28px; height: 28px; font-size: 14px; }
  .cv-av { width: 34px; height: 34px; font-size: 15px; }
  .cv-name { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}

/* ======================================================================
 * Worlds (contracts/WORLDS.md, 27 Nov). Classes only a client world renders: the Winter Carnival never draws any of
 * them, so nothing above changes for it. Tokens only, like the rest of this file; a world's own look lives in its theme.
 * ==================================================================== */
/* the client's logo (the real file) and a small Replicate Labs lockup, bottom left of the map */
.cv-brand { position: absolute; left: 0; bottom: 2px; display: inline-flex; align-items: flex-end; gap: 12px; pointer-events: auto; }
.cv-brand-logo { display: block; height: 40px; width: auto; }
.cv-brand-t { font-size: 20px; font-weight: 800; }
.cv-brand-rl { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--cv-radius-chip); background: var(--cv-glass); color: var(--cv-frost); font-size: 11px; font-weight: 800; text-decoration: none; }
.cv-brand-rl img { height: 12px; width: auto; display: block; }
.cv-map-foot-world .cv-sound { position: absolute; right: 0; bottom: 0; }
.cv-map-foot-world .cv-hint[hidden] { display: none; }
.cv-topbar-world { justify-content: flex-end; }
/* a map hook draws over the map, under the teaser */
.cv-hook { position: fixed; inset: 0; z-index: 9; pointer-events: none; }
.cv-hook > * { pointer-events: auto; }
.cv-spot.is-played .cv-spot-badge { animation: none; }

/* the access code screen */
.cv-gate { position: relative; z-index: 5; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.cv-gate-wrap { width: min(460px, 100%); }
.cv-gate-card { display: grid; gap: 4px; padding: 28px 28px 24px; }
.cv-gate-card .cv-brand { position: static; margin-bottom: 14px; }
.cv-gate-card .cv-brand-logo { height: 34px; }
.cv-gate-line { margin-bottom: 10px; }
.cv-gate-label { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cv-frost); }
.cv-gate-row { display: flex; gap: 10px; margin-top: 4px; }
.cv-gate-row .cv-input { flex: 1; min-width: 0; letter-spacing: .02em; }
.cv-gate-row .cv-btn-go { width: auto; flex: none; min-height: 48px; padding: 0 26px; font-size: 18px; }
.cv-gate-card .cv-brand-rl { display: none; }
.cv-gate-fine { margin-top: 16px; text-align: left; }

/* a world page (#/quarter) */
.cv-page { position: relative; z-index: 5; min-height: 100vh; min-height: 100dvh; }
.cv-page-back { z-index: 20; }

/* what the visitor knows going in (intro.brief) */
.cv-brief { margin: 0 0 14px; border: 1.5px solid var(--cv-line); border-radius: 12px; background: var(--cv-scrim-soft); }
.cv-brief-t { cursor: pointer; padding: 9px 14px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cv-gold); list-style: none; }
.cv-brief-t::-webkit-details-marker { display: none; }
.cv-brief-t::after { content: '+'; float: right; color: var(--cv-frost); }
.cv-brief[open] .cv-brief-t::after { content: '\2212'; }
.cv-brief-list { margin: 0; padding: 0 14px 12px 30px; display: grid; gap: 5px; font-size: 13.5px; line-height: 1.4; }
.cv-brief.is-live { margin: 0 0 10px; background: var(--cv-glass); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cv-brief.is-live:not([open]) { width: max-content; max-width: 100%; }

/* the quarter chips on a result (what this play ticked) */
.cv-q-k { margin-top: 4px; }
.cv-qchips { list-style: none; margin: 8px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cv-qchip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: var(--cv-radius-chip); border: 1.5px solid var(--cv-line); font-size: 14px; font-weight: 800; color: var(--cv-frost); }
.cv-qchip-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--cv-line); flex: none; }
.cv-qchip.is-on { color: var(--cv-snow); border-color: var(--cv-gold-line); background: var(--cv-gold-soft); }
.cv-qchip-dot { position: relative; }
.cv-qchip.is-on .cv-qchip-dot { border-color: var(--cv-gold); background: var(--cv-gold); }
.cv-qchip.is-on .cv-qchip-dot::after { content: ''; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid var(--cv-night); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.cv-unheard { color: var(--cv-warn); }

/* between two rounds with a coach's move: the stage draws the coach; the card is only the one tap */
.cv-between-coach { text-align: center; padding: 16px 22px; }
.cv-between-coach .cv-actions { margin-top: 10px; }

@media (max-width: 759px) {
  .cv-brand-logo { height: 30px; }
  .cv-brand-rl { display: none; }
  .cv-gate-row { flex-direction: column; }
  .cv-gate-row .cv-btn-go { width: 100%; }
  .cv-gate-card { padding: 22px 18px 20px; }
}
.cv-intro-a .cv-brief { margin: 14px 0 0; }
