/* front_door: the arena (arena.py), the front page. Loaded after site.css, thanks.css, board.css and replay.css, which
   bring the fonts, colours, buttons, bands and the board. The pixel fonts only at 16, 24, 32 and 48 px, every line
   height on the 8 px grid (body 16/24, lead 24/32, title font 24/40, 32/40 or 48, 48/56 or 64), spacing 8 to 56. */
:root { --onair: #e0342f; --onair-lo: #8f1612; --onair-hi: #ff6a5c; --boss: #e04848; --boss-lo: #3a0f16; }

/* ---- the three faces of the stage: data-mode on #arena shows one set of .m-* and hides the others */
.arena[data-mode=live] :is(.m-reel, .m-loop):not(.m-live),
.arena[data-mode=reel] :is(.m-live, .m-loop):not(.m-reel),
.arena[data-mode=loop] :is(.m-live, .m-reel):not(.m-loop) { display: none !important; }

/* ---- the top bar */
.topbar { position: relative; z-index: 3; background: rgba(1, 9, 27, .94); box-shadow: inset 0 -4px var(--night-2); }
.topin { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; max-width: 1440px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { display: block; width: auto; height: 48px; }
.topin > .wishnow { margin: 0 auto 0 8px; }      /* beside the logo; the links keep the right end */
.topbar nav a.signin { white-space: nowrap; }
.topbar nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 32px; }
.topbar nav a { font: 16px/24px var(--px); color: var(--text); text-decoration: none; padding: 8px 0; }
.topbar nav a:hover { color: var(--gold-hi); }
.topbar nav a.signin { padding: 8px 16px; color: var(--cream);
  box-shadow: 0 -4px var(--frame), 0 4px var(--frame), -4px 0 var(--frame), 4px 0 var(--frame); }
.topbar nav a.signin:hover { background: var(--night-3); }
/* a signed-in visitor's tokens on My lobby (Nov 28): the coin at its own 28 px and the count, then the words */
.topbar nav a.signin .tokchip { display: inline-flex; align-items: center; gap: 4px; margin: -4px 12px -4px -8px; color: #fff; vertical-align: top; }
.topbar nav a.signin .tokchip .token-coin { width: 28px; height: 28px; }
.topbar nav a.signin .tokchip b { font-weight: normal; font-variant-numeric: tabular-nums; }
.topbar nav a.signin .ml-s { display: none; }
@media (max-width: 700px) {        /* a phone: "Lobby" beside the count, so the bar holds the logo, Wishlist and the count */
  .topbar nav a.signin.has-tok { padding: 8px 12px 8px 8px; }
  .topbar nav a.signin.has-tok .tokchip { margin: -4px 8px -4px 0; }
  .topbar nav a.signin .ml-l { display: none; }
  .topbar nav a.signin .ml-s { display: inline; }
}
.topbar a:focus-visible { outline: 4px solid var(--sky); outline-offset: 4px; }

/* ---- the arena: the stage and the rail over a darkened window onto the game */
.arena { position: relative; padding: 32px 0 56px;
  background: linear-gradient(to bottom, rgba(1, 9, 27, .84) 0%, rgba(1, 9, 27, .9) 60%, var(--night-0) 100%),
    var(--night-0) var(--bg, none) center / cover no-repeat; }
.arenain, .arenapage .wrap { max-width: 1440px; }   /* every band lines up with the stage */
.headline { margin: 0 0 24px; }
.headline .eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; }
.arena:not(.big)[data-mode=live] .headline h1 { padding-bottom: 40px; }      /* 32/40 in every face, so a run starting moves nothing */
.headline .lead { margin: 8px 0 0; text-align: left; color: var(--text); }
.headline h1 { margin: 0; font-size: 32px; line-height: 40px; text-align: left; color: var(--cream); text-wrap: balance; }
.onair-text { display: inline-flex; align-items: center; gap: 12px; color: var(--onair-hi); }
.cabinet { display: grid; grid-template-columns: minmax(0, 1fr) 432px; gap: 32px; align-items: start; }

/* The stage: a 16:9 screen in a pixel frame, the score strip fixed under it so nothing moves when the face changes. */
.stage { container: stage / inline-size; background: var(--night-1);
  box-shadow: 0 -4px var(--frame-hi), 0 4px var(--frame-hi), -4px 0 var(--frame-hi), 4px 0 var(--frame-hi), 0 32px 64px rgba(0, 0, 0, .5); }
.arena[data-mode=live] .stage { box-shadow: 0 -4px var(--onair), 0 4px var(--onair), -4px 0 var(--onair), 4px 0 var(--onair), 0 32px 64px rgba(0, 0, 0, .5); }
.screen { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 9;
  background: #000 url("/static/loop-wide.jpg") center / cover no-repeat; }
.arena[data-mode=live] .screen { background: #000; }
.screen .reel { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; background: transparent; }
.arena[data-mode=live] .screen .reel { visibility: hidden; }
#live { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.arena[data-mode=live] #live { opacity: 1; pointer-events: auto; }
#live video, #live canvas { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
/* ps-join: the red LIVE mark only while the live player says its picture really moves (web/onair.js, data-join) */
.arena:not([data-join=live]):not([data-join=brb]) .chip.onair { display: none !important; }     /* brb: dimmed (ps-recover) */
.tuning { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; margin: 0; font: 16px/24px var(--px); color: var(--muted); }
.chip { position: absolute; left: 16px; top: 16px; z-index: 2; display: flex; align-items: center; gap: 8px; margin: 0;
  padding: 4px 12px; font: 16px/24px var(--px); letter-spacing: 2px; text-transform: uppercase; color: var(--cream);
  background: rgba(1, 9, 27, .82); box-shadow: 0 -4px var(--frame), 0 4px var(--frame), -4px 0 var(--frame), 4px 0 var(--frame); }
.chip.onair { color: #fff; background: var(--onair);
  box-shadow: 0 -4px var(--onair), 0 4px var(--onair-lo), -4px 0 var(--onair), 4px 0 var(--onair); }
/* "(o) LIVE": a white pixel dot in a ring that breathes in four steps (still for anyone who asked for less motion) */
.dot { flex: 0 0 auto; width: 8px; height: 8px; background: currentColor; box-shadow: 0 0 0 4px rgba(255, 255, 255, .35);
  animation: onair 1.6s steps(4) infinite; }
.onair-text .dot { box-shadow: 0 0 0 4px rgba(255, 106, 92, .35); }
@keyframes onair { 0% { box-shadow: 0 0 0 4px rgba(255, 255, 255, .45); } 50% { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 4px rgba(255, 255, 255, .45); } }
button.rplay { position: absolute; right: 16px; top: 16px; z-index: 2; margin: 0; padding: 4px 12px; font: 16px/24px var(--px);
  color: #f4f7fb; background: rgba(1, 9, 27, .82); white-space: nowrap;
  box-shadow: 0 -4px var(--cta), 0 4px var(--cta), -4px 0 var(--cta), 4px 0 var(--cta), 0 -8px var(--cta-edge), 0 8px var(--cta-edge), -8px 0 var(--cta-edge), 8px 0 var(--cta-edge); }
button.rplay:hover { --b: transparent; color: var(--cta-ink); background: var(--cta); }
button.rplay:active { transform: none; }
.cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; margin: 0; padding: 56px 24px 16px;
  font: 24px/32px var(--px-title); color: var(--cream); text-wrap: balance; pointer-events: none;
  background: linear-gradient(to bottom, rgba(1, 9, 27, 0) 0%, rgba(1, 9, 27, .78) 56%, rgba(1, 9, 27, .9) 100%); }
.cap:empty { display: none; }
/* a made-up name read as a name: gold like the lobby's "You're on as" line, never part of the sentence around it */
.nt { font-weight: normal; color: var(--gold-hi); }
.cap .nt, .ccap .nt { display: block; }      /* the name on a line of its own, then what happened */

/* The score strip: who and which try, the race clock, the time to beat, his health. One fixed height for both faces. */
.score { display: grid; grid-template-columns: minmax(0, 1fr) 296px 208px minmax(0, 1fr);
  height: 104px; box-sizing: border-box; background: var(--night-1); box-shadow: inset 0 4px var(--night-3); }
.score > div { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 12px 24px 12px;
  box-shadow: inset 4px 0 var(--night-3); }
.score > div:first-child { box-shadow: none; }
.score .lbl { display: block; font: 16px/24px var(--px); color: var(--muted); white-space: nowrap; }
.score .runner b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  font: 24px/32px var(--px-title); font-weight: normal; color: var(--cream); overflow-wrap: anywhere; }   /* a stage name: two lines */
.score .runner span { display: block; color: var(--teal); }
/* ps-build: what he holds now, the game's HUD pips (runkit.py), beside "Try 2" under the name */
.stage:not(.th-on) .score .runner { flex-flow: row wrap; justify-content: flex-start; align-content: center; align-items: center;
  column-gap: 12px; }
.stage:not(.th-on) .score .runner > b { flex: 0 0 100%; }
/* a two line name, then the try and the pips: 64 + 30 px in the strip's fixed 104 (88 a row on a phone, 24 + 24 + 30) */
.stage:not(.th-on) .score .runner:has(.kit:not([hidden])) { padding-top: 4px; padding-bottom: 4px; }
.score .runner .kit { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.score .runner .kit[hidden] { display: none; }
.score .clock b { font: 48px/56px var(--px-title); font-weight: normal; color: var(--gold-hi); white-space: nowrap; }
.score .beat b { font: 32px/40px var(--px-title); font-weight: normal; color: var(--cream); white-space: nowrap; }
.score .boss .lbl b { font: 16px/24px var(--px); color: var(--rose); font-weight: normal; margin-left: 8px; }
progress { display: block; width: 100%; height: 16px; margin: 8px 0 0; border: 0; border-radius: 0; appearance: none;
  -webkit-appearance: none; background: var(--boss-lo); color: var(--boss);
  box-shadow: 0 -4px var(--night-0), 0 4px var(--night-0), -4px 0 var(--night-0), 4px 0 var(--night-0); }
progress::-webkit-progress-bar { background: var(--boss-lo); }
progress::-webkit-progress-value { background: var(--boss); box-shadow: inset 0 -4px #a52a2a; transition: width .4s steps(4); }
progress::-moz-progress-bar { background: var(--boss); }
.score.idle { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 24px; }
.score.idle > div { padding: 0; box-shadow: none; }
.free b { display: block; font: 24px/40px var(--px-title); color: var(--cream); font-weight: normal; }
.free span { color: var(--muted); }
.score.idle .first { margin: 0; white-space: nowrap; }
/* A narrower stage (a tablet, the rail under it): the strip folds into two rows; a phone's gets the smaller sizes. */
@container stage (max-width: 860px) {
  .score { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: 208px; }
  .score > div:nth-child(3) { box-shadow: inset 0 4px var(--night-3); }
  .score > div:nth-child(4) { box-shadow: inset 4px 0 var(--night-3), inset 0 4px var(--night-3); }
  .score.idle { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 16px; }
  .score.idle .first { justify-self: start; }
}
@container stage (max-width: 560px) {
  /* the name gets a whole row (a made-up name is up to 30 letters: two columns cut it to "Bold Pillow Chaser fro..."), then
     the clock and the time to beat, then his health */
  .score { height: 232px; grid-template-rows: 80px 88px 64px; }
  .score > div:nth-child(1), .score > div:nth-child(4) { grid-column: 1 / -1; }
  .score > div:nth-child(4) { box-shadow: inset 0 4px var(--night-3); }
  .score.idle { grid-template-rows: none; height: 176px; }
  .score > div { padding: 12px 16px; }
  .score .runner b { font-size: 16px; line-height: 24px; }
  .score .clock b { font-size: 32px; line-height: 40px; }
  .score .beat b { font-size: 24px; line-height: 40px; }
  .score.idle { padding: 16px; gap: 8px; }
  .score.idle .first { padding: 8px 16px; font-size: 16px; line-height: 24px; }
}

/* ---- the rail: the one action, then the time to beat */
.rail { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.next { position: relative; padding: 24px 24px 32px; background: var(--panel);
  box-shadow: 0 -4px var(--gold), 0 4px var(--gold-lo), -4px 0 var(--gold), 4px 0 var(--gold), 0 24px 48px rgba(0, 0, 0, .45); }
.next h2 { margin: 0 0 16px; font-size: 32px; line-height: 48px; text-align: left; color: var(--cream); }
.next p { margin: 0 0 16px; }
.next .quiet { margin: 16px 0 0; }
.next .note { margin: 0 0 24px; }
.next button.go, .next a.go { display: block; width: 100%; padding: 20px 24px; }
.linecount { min-height: 24px; margin: 16px 0 0 !important; color: var(--teal); }
.linecount:empty::before { content: "\00a0"; }
.place { display: flex; align-items: baseline; gap: 16px; font: 16px/24px var(--px); }      /* "2nd in line": a number and its label */
.place b { font: 48px/64px var(--px-title); font-weight: normal; color: var(--gold-hi); }
.next form.tell { margin: 8px 0 0; }
.next form.tell input { padding: 12px 12px; }
.next form.tell button { padding: 8px 24px; }
.next a.button.wish { display: block; margin: 32px 0 0; padding: 8px 12px; text-wrap: balance; color: #f4f7fb; --b: transparent;
  background: rgba(1, 9, 27, .78); box-shadow: 0 -4px var(--cta), 0 4px var(--cta), -4px 0 var(--cta), 4px 0 var(--cta), 0 -8px var(--cta-edge), 0 8px var(--cta-edge), -8px 0 var(--cta-edge), 8px 0 var(--cta-edge); }
.next a.button.wish:hover { --b: transparent; color: var(--cta-ink); background: var(--cta); }
.next .soft { margin: 8px 0 0; }
.railboard { padding: 24px 24px 24px; background: var(--panel);
  box-shadow: 0 -4px var(--frame), 0 4px var(--frame), -4px 0 var(--frame), 4px 0 var(--frame); }
.railboard h2 { margin: 0 0 8px; font-size: 24px; line-height: 40px; }
.railboard table.board.mini tbody tr { margin: 0 0 12px; }
.railboard .more { margin: 4px 0 0; }
/* the rail is narrow: the compact board drops its weather mark and some padding so a name and a time never meet */
.railboard table.board.mini tr { grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 8px; }
.railboard table.board.mini td { padding: 8px 12px; }
.railboard table.board.mini .rk { padding: 8px 0 8px 8px; }
.railboard table.board.mini .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 16px/24px var(--px); }      /* the whole name (the title font cut every one to "Myste...") */
.railboard table.board.mini .wxc, .railboard table.board.mini th:nth-child(4) { display: none; }

/* ---- what this is, in three beats */
.band.what { background: var(--night-1); box-shadow: inset 0 4px var(--night-3); }
.what h2 { max-width: 24ch; }
.beats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 32px 0 56px; padding: 0; }
/* the number beside its line, not over it: three short sentences no longer sit in tall empty boxes */
.beats li { display: flex; align-items: center; gap: 24px; margin: 0; padding: 24px; background: rgba(1, 9, 27, .7);
  box-shadow: 0 -4px var(--night-3), 0 4px var(--night-3), -4px 0 var(--night-3), 4px 0 var(--night-3); }
.beats .num { display: block; flex: 0 0 auto; margin: 0; font: 48px/56px var(--px-title); color: var(--gold); }
.beats h3 { margin: 0 0 8px; }
.beats p { margin: 0; max-width: 40ch; font: var(--t-lead); }
.pitch { max-width: 760px; }
.pitch .lead { text-align: left; margin: 0 0 8px; }
.pitch .byline { margin: 0; }
.pitch .cta { margin-top: 24px; }

/* ---- recent finishes: a row of clips that open the in-page player */
.band.finishes { background: var(--night-0); }
.finishes .quiet { margin: 0; max-width: 64ch; }
.clips { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin: 32px 0 0; padding: 0; }
.clips li { margin: 0; min-width: 0; }
.clip { display: block; color: var(--text); text-decoration: none; }
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--night-2);
  box-shadow: 0 -4px var(--frame), 0 4px var(--frame), -4px 0 var(--frame), 4px 0 var(--frame); }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb .play { position: absolute; left: 16px; bottom: 16px; display: grid; place-items: center; width: 40px; height: 40px; background: var(--gold); }
.thumb .play .ico { width: 12px; height: 20px; fill: #1a1430; }
.ccap { display: block; margin: 16px 0 0; font: 16px/24px var(--px-title); color: var(--cream); text-wrap: balance; }      /* a name and a time: two lines, not five */
.cmeta { display: block; margin: 8px 0 0; font: var(--t-small); color: var(--muted); -webkit-font-smoothing: auto; }
.clip:hover .ccap { color: var(--gold-hi); }
.clip:hover .thumb { box-shadow: 0 -4px var(--gold), 0 4px var(--gold), -4px 0 var(--gold), 4px 0 var(--gold); }
.clip:focus-visible { outline: 4px solid var(--sky); outline-offset: 8px; }

/* ---- the board band, with in-page tabs */
.boardhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin: 0 0 32px; }
.boardhead h2 { text-align: left; margin: 0 0 8px; }
.boardhead .quiet { margin: 0; max-width: 56ch; }
.boardhead .filter { flex: 0 0 auto; }
/* the three lists share one cell, so the tallest sets the band's height and a shorter one moves nothing under it */
.boardband .panels { display: grid; }
.boardband .panels > .panel { grid-area: 1 / 1; min-width: 0; }
.boardband .panels > .panel[hidden] { display: block !important; visibility: hidden; }
.boardband .more { margin: 12px 0 0; }

/* ---- the last band: the wishlist, then the share row */
h2.bring { margin: 56px 0 0; text-align: center; font-size: 24px; line-height: 40px; }
.band.last .nets { margin-top: 16px; }

/* ---- narrower screens: the rail goes under the stage, side by side; phones stack everything */
@media (max-width: 1180px) {
  .cabinet { grid-template-columns: minmax(0, 1fr); }
  .rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) { .beats { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 700px) {
  .topin { min-height: 64px; }
  .brand img { height: 40px; }
  .topbar nav a:not(.signin) { display: none; }
  .topin > .wishnow { margin-left: 0; padding: 8px 12px 8px 8px; }
  .topin > .wishnow .wn-now { display: none; }
  /* every tap target at least 44 px tall on a phone (the header, the strip's button, the links inside the card) */
  .brand { display: flex; align-items: center; min-height: 44px; }
  .topbar nav a.signin { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; }
  .score.idle .first { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; }
  .next .quiet a { display: inline-block; padding: 10px 6px; margin: -10px -6px; }
  button.rplay { min-height: 44px; }
  .arena { padding: 16px 0 40px; }
  .arenain { padding: 0; }
  .headline { padding: 0 16px; margin: 0 0 16px; }
  .headline h1 { font-size: 24px; line-height: 32px; }
  .arena:not(.big)[data-mode=live] .headline h1 { padding-bottom: 32px; }
  .stage, .arena[data-mode=live] .stage { box-shadow: 0 -4px var(--frame-hi), 0 4px var(--frame-hi); }
  .arena[data-mode=live] .stage { box-shadow: 0 -4px var(--onair), 0 4px var(--onair); }
  .chip, button.rplay { top: 12px; }
  .chip { left: 12px; } button.rplay { right: 12px; }
  .cap { padding: 40px 16px 8px; font-size: 16px; line-height: 24px; }
  .rail { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px 16px 0; }
  .next { padding: 24px 24px 24px; }
  .next h2 { font-size: 24px; line-height: 40px; }
  .next button.go, .next a.go { font-size: 24px; line-height: 40px; padding: 16px 16px; }
  .railboard { padding: 16px 16px 16px; }
  .beats li { gap: 16px; padding: 16px 24px; }
  .beats .num { font-size: 32px; line-height: 40px; }
  .clips { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto;
    scroll-snap-type: x mandatory; padding: 4px 4px 16px; gap: 16px; }
  .clips li { scroll-snap-align: center; }
  .boardhead { display: block; }
  .boardhead .filter { margin: 24px 0 0; }
  h2.bring { margin-top: 48px; }
}
@media (min-width: 701px) { .next .go, .score.idle .first { white-space: nowrap; } }
@media (min-width: 1181px) { .next .wish { white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
  #live { transition: none; }
  progress::-webkit-progress-value { transition: none; }
}

/* The cabinet (Nov 28; rough A): the homepage's first screen. */
:root { --wood: #6b4a18; --wood2: #542c0e; --wood3: #3e1b08; --wood4: #2f1107; --ol: #2e1e28; --navy: #1f2533; --bulb-hi: #fff073; --bulb-mid: #ffd661; --bulb-lo: #d4861e; --bulb-off: #6b4a18; }
.arena.cabs { padding: 8px 0 0; overflow-x: clip; --fl: 72px; --s: 2; --ix: 12px; --ts: 3; --b: 8px; --cabw: 588px; --cx: calc(72px * var(--s)); --cy: calc(64px * var(--s)); --ex: calc(24px * var(--s)); background: linear-gradient(to bottom, rgba(1, 9, 27, .78) 0%, rgba(1, 9, 27, .86) 70%, rgba(1, 9, 27, .94) 100%), var(--night-0) var(--bg-s, var(--bg, none)) center / cover no-repeat; }
.cabs::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--fl); z-index: 0; pointer-events: none; background: repeating-linear-gradient(90deg, var(--wood3) 0 32px, var(--wood4) 32px 64px); box-shadow: 0 -4px var(--wood); }
.cabs .arenain { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 0 0 var(--fl); }
.cab { position: relative; box-sizing: border-box; width: min(100% - 24px, var(--cabw)); margin: 104px 0 -24px; padding: 12px 12px 20px; background: var(--wood2); box-shadow: -4px 0 var(--wood3), 4px 0 var(--wood3), 0 -4px var(--wood3), inset 4px 0 var(--wood), inset -4px 0 var(--wood4); }
.arena .cab .stage:not(.th-on) { background: transparent; box-shadow: none; }
.marq { position: relative; overflow: hidden; container-type: inline-size; margin: 0 -4px 20px; padding: 28px 24px 20px; text-align: center; background: var(--ol); box-shadow: 0 0 0 4px var(--gold-lo); }
.marq h1 { margin: 0; font: 24px/32px var(--px-title); letter-spacing: 2px; text-transform: uppercase; text-align: center; color: var(--gold); text-shadow: 4px 4px 0 var(--wood3); }
.marq .sub { margin: 4px 0 0; font: 16px/24px var(--px); color: var(--cream); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* player-record: "4th turn, 12 tries in all" under the name on a phone (the marquee a little slimmer, so Be next in line keeps the
   first screen), beside it on a desktop */
.marq .sub .rec { display: block; color: var(--teal); white-space: normal; text-wrap: balance; }
/* site-polish: the second row is 16 px high and the name's row sits up to the big word, so the row clears the bottom bulbs by
   4 px (it sat on them) and adds 12 px, which keeps Be next in line 8 px inside a 390 x 844 first screen */
@media (max-width: 700px) { .arena[data-mode=live] .marq:has(.mx > :not([hidden])) .sub.m-live { margin-top: 0; }
  .marq .sub .mx { line-height: 16px; } }
@media (min-width: 701px) { .marq .sub .rec { display: inline; margin-left: 16px; white-space: nowrap; } }
.marq .sub b { display: inline-block; max-width: 12ch; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; font-weight: normal; color: var(--gold-hi); }
/* site-polish, Nov 29: "12 watching" in the marquee's live line, off the picture (on it, it sat on the game's minimap and, at
   390, on LIVE: MIA). It takes the record's place (its own row on a phone, after the name on a desktop): one or the other
   alone stays put; both take turns in the same spot like a marquee's messages, so nothing on the page moves and nothing is
   cut. Under 2 watching it stays hidden (arena.js). */
.marq .sub .mx { display: grid; justify-items: center; }
.marq .sub .mx > * { grid-area: 1 / 1; margin: 0; }
.marq .sub .mx > [hidden] { display: none; }
.marq .sub .vw { color: var(--cream); white-space: nowrap; }
@media (min-width: 701px) { .marq .sub .mx { display: inline-grid; justify-items: start; margin-left: 16px; vertical-align: bottom; } }
.marq .sub .mx:has(> .rec:not([hidden])):has(> .vw:not([hidden])) > .rec { animation: mq-turn 10s steps(1, end) infinite; }
.marq .sub .mx:has(> .rec:not([hidden])):has(> .vw:not([hidden])) > .vw { animation: mq-turn 10s steps(1, end) -5s infinite; }
@keyframes mq-turn { 0% { visibility: visible; } 50% { visibility: hidden; } }
.bl { --g: 90deg; position: absolute; display: block; pointer-events: none; background: repeating-linear-gradient(var(--g), var(--bulb-off) 0 var(--b), transparent var(--b) calc(var(--b) * 2)); }
.bl.t, .bl.b { left: var(--b); right: var(--b); height: var(--b); }
.bl.t { top: var(--b); }
.bl.b { bottom: var(--b); }
.bl.r, .bl.l { --g: 180deg; top: calc(var(--b) * 3); bottom: calc(var(--b) * 3); width: var(--b); }
.bl.r { right: var(--b); }
.bl.l { left: var(--b); }
.bl::before { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--g), var(--bulb-lo) 0 var(--b), transparent var(--b) calc(var(--b) * 2), var(--bulb-mid) calc(var(--b) * 2) calc(var(--b) * 3), transparent calc(var(--b) * 3) calc(var(--b) * 4), var(--bulb-hi) calc(var(--b) * 4) calc(var(--b) * 5), transparent calc(var(--b) * 5) calc(var(--b) * 12)) 0 0 / calc(var(--b) * 12) 100% repeat-x; }
.bl.b::before, .bl.l::before { background-image: linear-gradient(var(--g), var(--bulb-hi) 0 var(--b), transparent var(--b) calc(var(--b) * 2), var(--bulb-mid) calc(var(--b) * 2) calc(var(--b) * 3), transparent calc(var(--b) * 3) calc(var(--b) * 4), var(--bulb-lo) calc(var(--b) * 4) calc(var(--b) * 5), transparent calc(var(--b) * 5) calc(var(--b) * 12)); }
.bl.r::before, .bl.l::before { background-size: 100% calc(var(--b) * 12); }
.spk { position: absolute; left: var(--b); top: var(--b); width: calc(var(--b) * 3); height: var(--b); pointer-events: none; transform: translateX(calc(var(--b) * -4)); background: linear-gradient(90deg, var(--gold-hi) 0 var(--b), #fff var(--b) calc(var(--b) * 2), var(--gold-hi) calc(var(--b) * 2) calc(var(--b) * 3)); }
.arena[data-mode=live] .marq { box-shadow: 0 0 0 4px var(--onair-lo); }
.arena[data-mode=live] .marq h1 { color: var(--cream); }
.arena[data-mode=live] .bl { background-image: repeating-linear-gradient(var(--g), var(--onair-lo) 0 8px, transparent 8px 16px); }
.arena[data-mode=live] .bl::before { background: repeating-linear-gradient(var(--g), var(--onair-hi) 0 8px, transparent 8px 16px); }
.arena[data-mode=live] .spk { display: none; }
.cab .stage:not(.th-on) .screen { margin: 12px 12px 0; box-shadow: 0 0 0 8px var(--navy), 0 0 0 12px var(--wood4); }
.arena[data-mode=live] .cab .stage:not(.th-on) .screen { box-shadow: 0 0 0 8px var(--navy), 0 0 0 12px var(--onair-lo); }
.chip.play { padding: 4px 12px; letter-spacing: 0; white-space: nowrap; }
.chip.play .dot { box-shadow: none; background: var(--teal); }
.chip.play::after { content: ""; position: absolute; inset: -4px; pointer-events: none; box-shadow: inset 0 0 0 4px var(--teal); opacity: 0; }
.chip.onair [data-k=name] { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }
.arena .cab .stage:not(.th-on) .cap { padding: 32px 16px 8px; font: 16px/24px var(--px); }
/* the caption stops short of the sound, Theater and Fullscreen controls (386 px, 12 in): the name wraps instead of running under them */
.arena .cab .stage:not(.th-on) .cap { padding-right: 412px; }
@container stage (max-width: 700px) { .arena .cab .stage:not(.th-on) .cap { padding-right: 300px; } }
.cab .stage:not(.th-on) .tally { margin: 24px 12px 0; padding: 8px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; background: #02122e; box-shadow: 0 0 0 4px var(--wood4); }
.tally b { font: 24px/32px var(--px); font-weight: normal; color: var(--gold); white-space: nowrap; }
.tally span { font: 16px/24px var(--px); color: var(--teal); text-align: right; }
/* social-proof, Nov 28: the closest call, or who beat him and how fast, under the first row; the last player under the coin door's button */
.tally .t2 { flex-basis: 100%; margin: 0; font: 16px/24px var(--px); color: var(--cream); text-wrap: balance; }
.tally .t2 b { font: inherit; white-space: normal; }
.tally .t2 .nt { color: var(--gold-hi); }
.tally .t2 .tm { color: var(--gold); white-space: nowrap; }
.lastp { margin: 4px 0 0; font: 16px/24px var(--px); color: var(--muted); text-wrap: balance; }
.lastp .nt { color: var(--cream); font: inherit; }
@media (max-width: 700px) { .score.idle .lastp { padding-right: 192px; text-wrap: pretty; } }      /* the mini player's chip (Nobody's on stage) sits at the window's bottom right on the first screen: the line wraps clear of it */
.stbar .lastp { display: none; }
.stbar .lastp .lpt { display: none; }      /* player-record: the free-stage bar is two lines high: "Name, 9 tries"; under INSERT TOKEN the turns too */
.tally > span { margin-left: auto; }
.tally .fw { font-style: normal; }
/* a phone: the fastest's name is left to the board; with someone live the strip shows his health, so the closest call goes
   and Be next in line stays on the first screen */
@media (max-width: 700px) { .tally .fw, .arena[data-mode=live] .tally .t2 { display: none; } }
/* the desktop cabinet: the last player takes the free-stage bar's words (the screen's chip says the stage is free); the bar
   keeps its height, the live strip's, so nothing moves when a run starts or ends */
@media (min-width: 1000px) and (min-height: 600px) {
  .cab .stage:not(.th-on) .stbar:has(.lastp) a { display: none; }
  .cab .stage:not(.th-on) .stbar .lastp { display: block; margin: 0; }
  .cab .stage:not(.th-on) .score.idle .lastp { display: none; }
}
.cab .stage:not(.th-on) .score.m-live { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: none; height: auto; margin: 12px 12px 0; background: #02122e; box-shadow: 0 0 0 4px var(--wood4); }
.cab .stage:not(.th-on) .score.m-live > div { grid-column: auto; padding: 8px 16px; box-shadow: none; }
.cab .stage:not(.th-on) .score.m-live :is(.runner, .beat, .th-watch) { display: none; }
.cab .stage:not(.th-on) .score.m-live .clock b { font-size: 32px; line-height: 40px; }
.cab .stage:not(.th-on) .score.m-live .boss { justify-content: center; }
.cab .stage:not(.th-on) .score.m-live .boss .lbl { font-size: 16px; line-height: 24px; }
.cab .stage:not(.th-on) .score.idle, .cab .coin { display: flex; flex-direction: column; align-items: center; gap: 0; height: auto; margin: 24px 12px 0; padding: 12px; background: var(--wood3); box-shadow: 0 0 0 4px var(--wood4); text-align: center; }
.cab .stage:not(.th-on) .score.idle > div.free { display: none; }
.coinnote { margin: 0; font: 16px/24px var(--px); color: var(--cream); text-wrap: balance; }
.coinnote b { color: var(--gold-hi); font-weight: normal; }
.slit { display: block; width: 96px; height: 8px; margin: 12px 0 16px; background: #000; box-shadow: 0 0 0 4px var(--wood4); }
.cab :is(.score.idle, .coin) a.button { margin: 0 0 8px; }
.cab .coin a.button.watch { padding: 16px 40px; font: 24px/32px var(--px); }
.cab .coin a.button.first.blue { --cta: #1a6fe0; --cta-hi: #4d94f0; --cta-lo: #0a2f75; --cta-hover: #2574d8; --cta-ink: #fff; --lipw: 4px; --bandw: 4px; margin-top: 8px; padding: 8px 24px; font: 16px/24px var(--px); }
.stage.th-on :is(.tally, .coin, .coinnote, .slit) { display: none; }
.cab .stage:not(.th-on) :is(.score.idle a.first, .coin a.watch) { position: relative; overflow: hidden; }
.thorn { position: absolute; width: max-content; right: 24px; bottom: calc(100% - 4px); z-index: 2; display: flex; align-items: flex-end; gap: 16px; pointer-events: none; }
.th { display: block; flex: none; width: calc(40px * var(--ts)); height: calc(32px * var(--ts)); background: url("/static/cab-boss.png") 0 0 / calc(160px * var(--ts)) calc(32px * var(--ts)) no-repeat; image-rendering: crisp-edges; image-rendering: pixelated; }
.bub { position: relative; max-width: 176px; margin: 0 8px 40px 0; padding: 8px 12px; font: 16px/24px var(--px); color: var(--paper-ink); background: var(--paper); box-shadow: 0 -4px var(--cta-edge), 0 4px var(--cta-edge), -4px 0 var(--cta-edge), 4px 0 var(--cta-edge); }
.bub::before { content: ""; position: absolute; right: -12px; bottom: 8px; width: 8px; height: 8px; background: var(--paper); box-shadow: 0 4px 0 -0 var(--cta-edge), 4px 0 0 var(--cta-edge), 4px 4px 0 var(--cta-edge); }
.crowd { position: absolute; left: 0; right: 0; bottom: calc(24px - 2px * var(--s)); width: min(100%, var(--cabw) + 2 * (24px + 30px * var(--s))); margin: 0 auto; height: calc(64px * var(--s)); pointer-events: none; z-index: 3; }
.mcw { position: absolute; bottom: 0; width: calc(72px * var(--s)); height: calc(64px * var(--s)); }
.mcw.l { left: calc(var(--ix) - 21px * var(--s)); }
.mcw.r { right: calc(var(--ix) - 21px * var(--s)); }
.mb { position: absolute; inset: 0; background: url("/static/mosscap-cheer.png") calc(-8 * var(--cx)) 0 / calc(648px * var(--s)) calc(192px * var(--s)) no-repeat; image-rendering: crisp-edges; image-rendering: pixelated; }
.mcw.r .mb { transform: scaleX(-1); }
.em { position: absolute; left: 50%; top: calc(-16px * var(--s)); width: calc(24px * var(--s)); height: calc(24px * var(--s)); margin-left: calc(-12px * var(--s)); background: url("/static/cab-emotes.png") calc(-13 * var(--ex)) 0 / calc(312px * var(--s)) calc(96px * var(--s)) no-repeat; image-rendering: crisp-edges; image-rendering: pixelated; }
.railband { padding: 56px 0; background: var(--night-0); box-shadow: inset 0 4px var(--wood); }
.railband .wrap { max-width: 1440px; }
.railband .rail { display: flex; flex-direction: column; box-sizing: border-box; width: min(100%, 588px); margin: 0 auto; }
@media (prefers-reduced-motion: reduce) { .cab *, .cab *::before, .cab *::after, .crowd *, .crowd *::before { animation: none !important; } .bl::before { background-image: repeating-linear-gradient(var(--g), var(--bulb-hi) 0 var(--b), transparent var(--b) calc(var(--b) * 2)) !important; } .arena[data-mode=live] .bl::before { opacity: 1; } .burst { display: none; } .th { background-position-x: 0; } .em { background-position: calc(-13 * var(--ex)) 0; } }
@media (max-width: 700px) { .arena .cab .stage:not(.th-on) .screen { margin-bottom: 0 !important; overflow: hidden !important; } .arena .cab .stage:not(.th-on) .screen .cap, .arena:not([data-mode=live]) .cab .stage:not(.th-on) .th-ctl > :not(.snd) { display: none !important; }
.arena .cab .stage:not(.th-on) .th-ctl { top: auto !important; bottom: 8px; left: auto !important; right: 8px !important; } .arena .cab .stage:not(.th-on) .snd :is(.snd-down, .snd-pips, .snd-up) { display: none; } .arena .cab .stage:not(.th-on) .screen button.rplay { top: auto !important; bottom: 8px; left: auto !important; right: 8px; min-height: 0; padding: 4px 12px; } .cab .stage:not(.th-on) .score.m-live .boss .lbl { font-size: 0; line-height: 0; } .cab .stage:not(.th-on) .score.m-live .boss .lbl b { display: block; margin: 0; font: 16px/24px var(--px); } .cab .stage:not(.th-on) .score.m-live .clock b { font-size: 24px; line-height: 32px; } .chip.rep { top: auto; bottom: 8px; left: 8px; padding: 4px 12px; letter-spacing: 0; } .arena .cab .stage:not(.th-on) .chip.play { left: 8px; top: 8px; } }
@media (min-width: 701px) { .arena.cabs { --fl: 96px; --s: 3; --ix: 0px; --bg-s: var(--bg); } .cab { margin-top: 24px; } .chip.rep { display: none; } .marq h1 { font-size: 32px; line-height: 40px; } .marq { padding: 24px 24px 16px; margin-bottom: 8px; } .cab .stage:not(.th-on) .screen { margin: 8px 20px 0; } .cab .stage:not(.th-on) .tally, .cab .stage:not(.th-on) .score.idle, .cab .coin { margin: 20px 20px 0; } .slit { margin: 8px 0 12px; } .thorn { right: auto; bottom: auto; left: calc(100% + 4px); top: 40px; gap: 16px; flex-direction: row; align-items: flex-end; } .arena.cabs { --ts: 4; } .th { margin-left: -48px; } .bub { margin: 0 0 56px 0; order: 2; } .bub::before { right: auto; left: -12px; box-shadow: 0 4px 0 var(--cta-edge), -4px 0 0 var(--cta-edge), -4px 4px 0 var(--cta-edge); } }

.cab .stage:not(.th-on) .stbar { margin: 12px 12px 0; padding: 0 16px; display: flex; align-items: center; height: 72px; box-sizing: border-box; background: #02122e; box-shadow: 0 0 0 4px var(--wood4); font: 16px/24px var(--px); color: var(--teal); }
.cab .stage:not(.th-on) .score.m-live { height: 72px; box-sizing: border-box; align-items: center; }
.cab .stage:not(.th-on) .score.m-live > div { padding-top: 0; padding-bottom: 0; }
.stage.th-on .stbar { display: none; }
@media (min-width: 701px) { .cab .stage:not(.th-on) :is(.stbar, .score.m-live) { height: 80px; } .cab .stage:not(.th-on) .stbar { margin: 8px 20px 0; } .cab .stage:not(.th-on) .score.m-live { margin: 8px 20px 0; } }
@media (max-width: 700px) {
  .cab .stage:not(.th-on) :is(.stbar, .score.m-live) { height: 64px; margin-top: 8px; }
  .cab .stage:not(.th-on) .tally { margin-top: 16px; }
  .cab .stage:not(.th-on) :is(.score.idle, .coin) { margin-top: 16px; padding: 8px 12px; }
  .slit { margin: 8px 0 12px; }
  .cab { padding-bottom: 16px; }
}
.cab .stage:not(.th-on) :is(.score.idle, .coin) { justify-content: center; }
@media (min-width: 701px) { .cab { margin-top: 16px; } .cab .stage:not(.th-on) :is(.score.idle, .coin) { min-height: 156px; box-sizing: border-box; } .thorn { top: 48px; } }
@media (max-width: 700px) { .cab .stage:not(.th-on) :is(.stbar, .score.m-live) { margin-top: 24px; } }
@media (min-width: 701px) { .cab .stage:not(.th-on) :is(.stbar, .score.m-live) { height: 72px; margin-top: 20px; } .cab .stage:not(.th-on) :is(.score.idle, .coin) { min-height: 156px; } .marq { padding: 20px 24px 12px; } .cab .stage:not(.th-on) .screen { margin-top: 8px; } .cab .stage:not(.th-on) .tally { margin-top: 16px; } .cab .stage:not(.th-on) :is(.score.idle, .coin) { margin-top: 16px; } }
@media (min-width: 701px) { .cab .stage:not(.th-on) .th-theater { display: inline-block; } }
@media (min-width: 1000px) and (min-height: 600px) {
  .arena.cabs { --sw: clamp(540px, calc((100vh - 400px) * 16 / 9), 800px); --cabw: calc(var(--sw) + 64px); }
  .cab .stage:not(.th-on) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cab .stage:not(.th-on) .screen { grid-column: 1 / -1; }
  .cab .stage:not(.th-on) :is(.stbar, .score.m-live) { grid-column: 1; grid-row: 2; margin: 16px 10px 0 20px; height: 56px; }
  .cab .stage:not(.th-on) .tally { grid-column: 1; grid-row: 3; margin: 12px 10px 0 20px; }
  .cab .stage:not(.th-on) :is(.score.idle, .coin) { grid-column: 2; grid-row: 2 / 4; margin: 16px 20px 0 10px; min-height: 0; align-self: stretch; }
  .cab .stage:not(.th-on) .score.m-live .clock b { font-size: 24px; line-height: 32px; }
  .slit { display: none; }
  .thorn { flex-direction: column; align-items: flex-start; gap: 12px; left: calc(100% + 8px); top: 16px; }
  .th { margin-left: 0; }
  .bub { margin: 0; order: 0; }
  .bub::before { right: auto; left: 32px; bottom: -12px; box-shadow: -4px 0 0 var(--cta-edge), 4px 0 0 var(--cta-edge), 0 4px 0 var(--cta-edge); }
}
@media (min-width: 1100px) and (min-height: 860px) {
  .arena.cabs { --s: 4; --b: 16px; --ts: 5; --sw: clamp(600px, calc((100vh - 495px) * 16 / 9), 800px); --cabw: calc(var(--sw) + 80px); }
  .cab { margin-top: 16px; padding: 20px 20px 24px; box-shadow: -8px 0 var(--wood3), 8px 0 var(--wood3), 0 -8px var(--wood3), inset 8px 0 var(--wood), inset -8px 0 var(--wood4); }
  .marq { margin: 0 -8px 12px; padding: 48px 32px 40px; box-shadow: 0 0 0 8px var(--gold-lo); }
  .marq h1 { font-size: 48px; line-height: 56px; text-shadow: 8px 8px 0 var(--wood3); }
  .marq .sub { font-size: 16px; line-height: 24px; }
  .cab .stage:not(.th-on) .screen { box-shadow: 0 0 0 16px var(--navy), 0 0 0 24px var(--wood4); margin: 24px 20px 0; }
}
@media (min-width: 1100px) and (min-height: 860px) {
  .cab { margin-top: 8px; padding-bottom: 16px; }
  .marq { padding: 40px 32px 40px; }
  .cab .stage:not(.th-on) .screen { box-shadow: 0 0 0 8px var(--navy), 0 0 0 16px var(--wood4); margin: 16px 20px 0; }
  .cab .stage:not(.th-on) :is(.stbar, .score.m-live) { margin-top: 28px; }
  .cab .stage:not(.th-on) :is(.score.idle, .coin) { margin-top: 28px; padding: 8px 12px; }
}
@media (min-width: 1000px) and (min-height: 600px) { .coinnote { margin-bottom: 8px; } }
@media (min-width: 1000px) and (min-height: 600px) { .cab .stage:not(.th-on) :is(.score.idle, .coin) { min-height: 160px; } }
@media (min-width: 1000px) and (min-height: 600px) { .cabs .arenain { padding-bottom: 40px; } .crowd { bottom: calc(48px - 2px * var(--s)); } }

/* Nov 28, insert token (Aaron: "the biggest text is Thornheart... PLAY ME, or something else... INSERT TOKEN, give a guest a token, make it fun"):
   the marquee's big line is the call to play, Thornheart's name under it; the coin door's button is the site's blue with white words
   and the token on it, in a lit slot plate. The play token is one picture (tok-coin.png, 28 px) behind one class, and its spin
   (tok-spin.png, 8 frames of 28 px) is in cabinet-fx.css: both swap by replacing a file. */
.token-coin { display: inline-block; flex: none; width: 28px; height: 28px; background: url("/static/tok-coin.png") 0 0 / 28px 28px no-repeat; image-rendering: crisp-edges; image-rendering: pixelated; }
.marq h1 span { display: inline; }
.marq h1.big-play { font-size: 40px; line-height: 48px; }
.marq h1.big-token { font-size: 24px; line-height: 32px; letter-spacing: 0; }
.marq .sub.name { margin: 0; white-space: normal; overflow: visible; font: 16px/24px var(--px); color: var(--cream); }
.marq .sub.name b { display: block; max-width: none; margin: 4px 0 0; font: 24px/32px var(--px); letter-spacing: 4px; text-transform: uppercase; color: var(--gold-hi); }
.marq .sub.name span { display: block; }
.cab .stage:not(.th-on) .score.idle { gap: 4px; }
.cab .score.idle > .slotbox { --sbd: var(--bulb-lo); flex: none; position: relative; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; width: 100%; max-width: 360px; margin: 8px 0 0; padding: 12px 16px 16px; background: #120a06; box-shadow: 0 0 0 4px var(--wood4), 0 0 0 8px var(--sbd); }
.slotbox::after { content: ""; position: absolute; inset: -8px; pointer-events: none; box-shadow: inset 0 0 0 4px var(--bulb-hi); }
.slotbox .sl { display: block; width: 96px; height: 8px; margin: 0 0 12px; background: #000; box-shadow: 0 0 0 4px #4a4f63, 0 4px 0 4px #7a8099; }
.cab .slotbox a.button.first.ins { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; margin: 0; padding: 12px 12px; font: 24px/32px var(--px); letter-spacing: 0; white-space: nowrap; text-decoration: none; min-height: 0; justify-self: auto; }
.slotbox a.ins span { position: relative; }
.cab .slotbox a.button.first.ins { --cta: #1a6fe0; --cta-hi: #4d94f0; --cta-lo: #0a2f75; --cta-hover: #2574d8; --cta-ink: #fff; --lipw: 8px; --bandw: 8px; margin: 0 0 8px; color: #fff; }
.cab .score.idle > .slotbox.red { --sbd: #8f1f18; }
.slotbox.red::after { box-shadow: inset 0 0 0 4px #ff6a4d; }
.cab .slotbox.red a.button.first.ins { --cta: #d8281e; --cta-hi: #f26a52; --cta-lo: #7d1010; --cta-hover: #e63a2e; }
.slotbox .freelamp { position: absolute; z-index: 1; top: -20px; right: 16px; margin: 0; padding: 0 8px; font: 16px/24px var(--px); white-space: nowrap; color: var(--teal); background: var(--wood3); box-shadow: 0 0 0 4px var(--wood4); }
.slotbox .freelamp[hidden] { display: none; }
.slotbox .tok { position: absolute; left: 0; top: 0; width: 28px; height: 28px; opacity: 0; pointer-events: none; z-index: 5; image-rendering: crisp-edges; image-rendering: pixelated; }
.cab .score.idle .coinnote { color: var(--gold-hi); }
@media (min-width: 701px) { .marq h1.big-play { font-size: 56px; line-height: 64px; } .marq h1.big-token { font-size: 40px; line-height: 48px; }
  .marq .sub.name { display: flex; justify-content: center; align-items: baseline; gap: 16px; } .marq .sub.name b { margin: 0; } .marq .sub.name span { display: inline; } }
@media (min-width: 1100px) and (min-height: 860px) { .marq h1.big-play { font-size: 56px; line-height: 64px; } .marq h1.big-token { font-size: 48px; line-height: 56px; } .marq { padding: 40px 48px 36px; } .arena.cabs { --sw: clamp(600px, calc((100vh - 505px) * 16 / 9), 800px); } }
@media (max-width: 700px) { .arena:not([data-mode=live]) .cab .stage:not(.th-on) .stbar { display: none; } }
@media (prefers-reduced-motion: reduce) { .slotbox::after { opacity: 1; } }

/* Play now links (Nov 28): the words that say play are links to the same place as the button, never down to the card's form.
   Hover and focus show a stepped underline and a white box; on a phone each is a 44 px tap. */
.cab a[data-play]:not(.button) { color: inherit; text-decoration: none; }
.cab a[data-play]:not(.button):hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.cab a[data-play]:not(.button):focus-visible { outline: 4px solid #fff; outline-offset: 4px; }
.marq h1 a { display: inline-block; }
.marq h1 a:hover { color: var(--cream); }
.chip.play a { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: -4px -12px; padding: 4px 12px; box-sizing: border-box; }
.coinnote a { display: inline-flex; align-items: center; min-height: 44px; }
.cab .stbar a { display: flex; align-items: center; min-height: 44px; }
@media (min-width: 701px) { .coinnote a, .cab .stbar a { min-height: 0; } .cab .score.idle > .slotbox { padding: 8px 16px 8px; margin-top: 12px; } .slotbox .sl { margin-bottom: 8px; } }
@media (max-width: 700px) { .cab .coin a.button.first.blue { min-height: 44px; box-sizing: border-box; } }
@media (min-width: 1000px) and (max-height: 859px) { .marq h1.big-play { font-size: 48px; line-height: 56px; } .marq h1.big-token { font-size: 32px; line-height: 40px; } .arena.cabs { --sw: clamp(540px, calc((100vh - 425px) * 16 / 9), 800px); } }
/* the live line takes the room of the idle two (name and the words) on a wide screen, so the page does not move when someone goes on stage */
@media (min-width: 701px) { .marq .sub.m-live { line-height: 32px; min-height: 32px; margin: 0; } }
.slotbox.in .tok { opacity: 1; background: url("/static/tok-coin.png") 0 0 / 28px 28px no-repeat; transform: translate(var(--dx), var(--dy)); }
.slotbox.in .token-coin { visibility: hidden; }
