/*
 * Play 1000 — "Cabinet" design system.
 * An arcade cabinet in attract mode: violet-black CRT, ruby / marquee gold / cyan,
 * bitmap type for the screen (Press Start 2P) and terminal type for body (VT323).
 * See DESIGN.md for the rationale behind every token below.
 *
 * Loaded after tailwind.css. Tailwind v4 utilities live in a cascade layer, so any
 * property set by a component class here beats a utility on the same element —
 * use utilities for layout wrappers only, not to override component spacing.
 */

:root {
  --crt: #0A0714;
  --panel: #140E24;
  --panel-2: #1C1433;
  --edge: #2B2145;
  --ruby: #E3245B;
  --ruby-deep: #8E1238;
  --gold: #FFC93C;
  --cyan: #45E5F0;
  --white: #F3EFFF;
  --dim: #8A7FA8;
  --green: #3DF28A;

  --px: 'Press Start 2P', 'Courier New', monospace;
  --vt: 'VT323', 'Courier New', monospace;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--crt);
  color: var(--white);
  font-family: var(--vt);
  font-size: 22px;
  line-height: 1.35;
  position: relative;
  min-height: 100vh;
}
/* CRT: scanlines + vignette over everything */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 2px, transparent 2px 4px);
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 49;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55) 100%);
}
a { color: var(--cyan); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--px); font-weight: 400; line-height: 1.4; text-wrap: balance; }
h2, .h2 { font-size: clamp(14px, 2.2vw, 20px); color: var(--gold); text-shadow: 2px 2px 0 var(--ruby-deep); text-transform: uppercase; }
h3 { font-size: 12px; color: var(--cyan); text-transform: uppercase; }
p { margin: 0; }
.px { font-family: var(--px); }
.vt { font-family: var(--vt); }
.dim { color: var(--dim); }
.gold { color: var(--gold); }
.ruby { color: var(--ruby); }
.cyan { color: var(--cyan); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.blink { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- marquee (site header) ---------- */
.marquee {
  background: linear-gradient(180deg, #2A0F3A, #12071F 60%, #0A0714);
  border-bottom: 4px solid var(--edge);
  position: relative; overflow: hidden;
}
.marquee::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 120% at 50% 110%, rgba(255,201,60,.22), transparent 60%),
    radial-gradient(ellipse 40% 80% at 15% 0, rgba(227,36,91,.25), transparent 60%),
    radial-gradient(ellipse 40% 80% at 85% 0, rgba(69,229,240,.18), transparent 60%);
}
.marquee .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 28px 20px 22px; flex-wrap: wrap; position: relative; }
.title {
  font-family: var(--px); font-size: clamp(26px, 6vw, 60px); color: var(--gold); line-height: 1; text-transform: uppercase; text-decoration: none;
  text-shadow: 0 0 18px rgba(255,201,60,.55), 4px 4px 0 var(--ruby), 8px 8px 0 var(--ruby-deep);
}
.title small { display: block; font-size: clamp(9px, 1.4vw, 13px); color: var(--cyan); text-shadow: none; margin-top: 14px; letter-spacing: .1em; }
.marquee nav { display: flex; gap: 22px; font-family: var(--px); font-size: 11px; padding-bottom: 6px; flex-wrap: wrap; }
.marquee nav a { text-decoration: none; color: var(--white); text-transform: uppercase; display: inline-block; padding: 14px 2px; line-height: 1; }
.marquee nav a:hover, .marquee nav a[aria-current="page"] { color: var(--gold); }
.marquee nav a.is-named { color: var(--gold); }
.marquee--compact .wrap { padding: 14px 20px 12px; align-items: center; }
.marquee--compact .title { font-size: clamp(16px, 2.6vw, 22px); text-shadow: 0 0 12px rgba(255,201,60,.45), 2px 2px 0 var(--ruby), 4px 4px 0 var(--ruby-deep); }
.marquee--compact nav { padding-bottom: 0; font-size: 10px; }

/* ---------- HUD + scoreboard ---------- */
.hud { display: flex; justify-content: space-between; font-family: var(--px); font-size: clamp(9px, 1.6vw, 12px); color: var(--white); gap: 12px 24px; flex-wrap: wrap; text-transform: uppercase; }
.hud b { color: var(--ruby); font-weight: 400; display: block; margin-bottom: 6px; }
.hud .r { text-align: right; }
.hud .c { text-align: center; }
.stats-hud { gap: 12px 16px; }
.stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); gap: 32px; align-items: center; margin: 34px 0 26px; min-height: 260px; }
@media (max-width: 760px) { .stage { grid-template-columns: minmax(0, 1fr); gap: 18px; min-height: 0; } }
.count {
  font-family: var(--px); font-size: clamp(56px, 12vw, 120px); line-height: 1; color: var(--gold); letter-spacing: .02em;
  text-shadow: 0 0 22px rgba(255,201,60,.35), 5px 5px 0 var(--ruby-deep); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.count .z { opacity: .18; }
.count.win { animation: cycle .4s steps(1) infinite; } /* 2.5 changes/s: under the 3 flashes/s limit */
@keyframes cycle { 0% { color: var(--gold); } 33% { color: var(--cyan); } 66% { color: var(--white); } }
.label { font-family: var(--px); font-size: 10px; color: var(--dim); margin-top: 14px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.8; }
.label .v { color: var(--white); }

/* block-style progress bar */
.bar { position: relative; height: 14px; background: var(--panel); border: 2px solid var(--edge); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--gold); transition: width .3s ease-out; }
.bar::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 8px, var(--crt) 8px 10px); pointer-events: none; }

/* live feed on the demo (home) */
.feed { font-family: var(--vt); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 6em; min-width: 0; overflow: hidden; border-left: 3px solid var(--edge); padding-left: 16px; }
.feed div { display: flex; gap: 14px; white-space: nowrap; }
.feed div span:first-child { color: var(--cyan); flex: 1; overflow: hidden; text-overflow: ellipsis; }
.feed div span:first-child::after { content: " . . . . . . . . . . . . . . . . . . . . . ."; color: var(--edge); }
.feed .bad span, .feed .bad span:first-child { color: var(--ruby); }
.feed .bad span:last-child::after { content: " MISS"; }

/* overlays: GAME OVER / PERFECT!! */
.overlay { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; text-align: center; z-index: 3; }
.overlay .msg-box {
  font-family: var(--px); font-size: clamp(18px, 4.2vw, 40px); color: var(--ruby); background: var(--crt); padding: 14px 20px;
  box-shadow: 0 0 0 4px var(--ruby); display: none; line-height: 1.5; text-transform: uppercase; max-width: 92%;
}
.overlay .msg-box small { display: block; font-size: .45em; color: var(--white); margin-top: 8px; line-height: 1.8; }
.overlay .msg-box.show { display: block; }
.overlay .msg-box.is-gold { color: var(--gold); box-shadow: 0 0 0 4px var(--gold); }
/* CONTINUE? — the one overlay you can click */
.continue-box { display: none; pointer-events: auto; font-family: var(--px); color: var(--gold); background: var(--crt); padding: 16px 22px; box-shadow: 0 0 0 4px var(--gold); text-transform: uppercase; line-height: 1.5; max-width: 92%; }
.continue-box.show { display: block; }
.continue-box .title { font-size: clamp(16px, 3.6vw, 32px); }
.continue-box .num { display: inline-block; min-width: 1.2em; color: var(--white); }
.continue-box small { display: block; font-size: 10px; color: var(--white); margin-top: 8px; line-height: 1.8; }
.continue-box .actions { display: flex; gap: 10px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.continue-box .actions .btn { flex: none; }
.continue-box .error-line { margin-top: 8px; }
.glitch { animation: glitch .45s steps(2); }
@keyframes glitch { 0% { transform: translateX(-6px) skewX(4deg); } 25% { transform: translateX(5px); } 50% { transform: translateX(-3px) skewX(-3deg); } 75% { transform: translateX(3px); } 100% { transform: none; } }
.flash { position: relative; }
.flash::after { content: ""; position: absolute; inset: 0; background: var(--ruby); opacity: .28; pointer-events: none; animation: fade .5s ease-out forwards; z-index: 2; }
.flash-gold::after { background: var(--gold); }
@keyframes fade { to { opacity: 0; } }
.sparks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
.sparks i { position: absolute; font-style: normal; color: var(--gold); font-family: var(--px); font-size: 14px; animation: spark 1.6s ease-out forwards; }
@keyframes spark { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-140px) scale(1.4); opacity: 0; } }

/* ---------- PRESS START + coin row ---------- */
.start-row { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.press {
  font-family: var(--px); font-size: clamp(12px, 2.2vw, 18px); color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 22px; border: 4px solid var(--ruby); background: var(--ruby-deep); text-transform: uppercase; cursor: pointer; line-height: 1.4; text-align: center;
  box-shadow: 0 0 0 2px var(--crt), 0 0 0 4px var(--ruby), 0 0 24px rgba(227,36,91,.45);
}
.press:hover { background: var(--ruby); color: var(--crt); }
.press .arrow { animation: blink .8s steps(1) infinite; }
.coin { font-family: var(--px); font-size: 11px; color: var(--dim); display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; text-transform: uppercase; }
.coin a { color: var(--cyan); text-decoration: none; }
.coin a:hover { color: var(--gold); }
.coin a.gold { color: var(--gold); }

/* ---------- sections + cards ---------- */
.screen { position: relative; padding: 26px 0 40px; border-bottom: 1px solid var(--edge); }
section.sec { padding: 48px 0; border-bottom: 1px solid var(--edge); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.tag { font-family: var(--px); font-size: 9px; color: var(--dim); letter-spacing: .1em; text-transform: uppercase; line-height: 1.8; }
.tag.gold { color: var(--gold); border: 2px solid var(--gold); padding: 5px 8px; display: inline-block; }
.card { background: var(--panel); border: 2px solid var(--edge); padding: 26px 28px; box-shadow: inset 0 0 0 2px var(--crt), inset 0 0 0 4px var(--edge); }
.card.tight { padding: 18px 20px; }
.card.gold-edge { border-color: var(--gold); box-shadow: inset 0 0 0 2px var(--crt), inset 0 0 0 4px var(--gold); }
.table-scroll { overflow-x: auto; }

.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }
.rules li { position: relative; padding-left: 34px; font-size: 22px; line-height: 1.25; }
.rules li::before { content: "►"; position: absolute; left: 0; top: 7px; font-family: var(--px); font-size: 11px; color: var(--gold); }
.rules em, .hi { color: var(--ruby); font-style: normal; }
.rules.one-col { grid-template-columns: 1fr; }

/* difficulty / select menus (also used for the lobby room list) */
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.menu li, .menu a.row-link {
  display: grid; grid-template-columns: 26px 150px 1fr auto; gap: 14px; align-items: center; padding: 12px 8px; border-bottom: 1px dashed var(--edge);
  font-family: var(--px); font-size: 11px; text-decoration: none; color: var(--white);
}
.menu li[role="radio"] { cursor: pointer; }
@media (max-width: 760px) { .menu li, .menu a.row-link { grid-template-columns: 26px 1fr; row-gap: 6px; } .menu .sample, .menu .diff { grid-column: 2; } }
.menu .cur { color: var(--gold); opacity: 0; }
.menu li:hover .cur, .menu li[aria-checked="true"] .cur, .menu a.row-link:hover .cur { opacity: 1; }
.menu li[aria-checked="true"] .name, .menu a.row-link:hover .name { color: var(--gold); }
.menu .name { color: var(--white); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu .sample { font-family: var(--vt); font-size: 22px; color: var(--cyan); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu .diff { color: var(--dim); white-space: nowrap; text-transform: uppercase; }
.menu .diff b { color: var(--ruby); font-weight: 400; }
.menu.rooms a.row-link { grid-template-columns: 26px minmax(0, 1fr) auto 220px; }
.menu.rooms.compact a.row-link { grid-template-columns: 26px minmax(0, 1fr) auto 120px; }
/* offers: the difficulty menu as a radio list (claim page, coins page) */
.menu.offers li { padding: 0; }
.menu.offers label { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; grid-column: 1 / -1; align-items: center; gap: 4px 12px; padding: 12px 8px; cursor: pointer; }
.menu.offers label input { position: absolute; opacity: 0; width: 0; height: 0; }
.menu.offers label .cur { grid-column: 1; grid-row: 1 / 3; }
.menu.offers label .name { grid-column: 2; grid-row: 1; }
.menu.offers label .sample { grid-column: 2; grid-row: 2; white-space: normal; }
.menu.offers label .diff { grid-column: 3; grid-row: 1 / 3; }
.menu.offers label:has(input:checked) .cur, .menu.offers li[aria-checked="true"] .cur { opacity: 1; }
.menu.offers label:has(input:checked) .name { color: var(--gold); }
.menu.offers label:focus-within { outline: 2px solid var(--cyan); outline-offset: -2px; }
.menu.offers .diff b { color: var(--gold); }
@media (max-width: 760px) { .menu.rooms a.row-link { grid-template-columns: 26px minmax(0, 1fr); } .menu.rooms .lobby-bar { grid-column: 2; } }

/* high score table */
.scores { width: 100%; border-collapse: collapse; font-family: var(--px); font-size: 11px; text-transform: uppercase; }
.scores th { color: var(--ruby); text-align: left; padding: 8px 10px; font-weight: 400; letter-spacing: .05em; }
.scores td { padding: 11px 10px; border-top: 1px dashed var(--edge); white-space: nowrap; }
.scores td.num { text-align: right; color: var(--gold); font-variant-numeric: tabular-nums; }
.scores td.room a { color: var(--cyan); text-decoration: none; }
.scores td.room a:hover { color: var(--gold); }
.scores tbody tr:first-child td { color: var(--gold); }
.scores td.room { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }

/* insert coin: the name pitch on the home page */
.pitch { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
@media (max-width: 640px) { .pitch { grid-template-columns: 1fr; } }
.pitch-box { width: 120px; height: 120px; background: rgba(255,201,60,.1); border: 4px solid var(--gold); display: grid; place-items: center; font-family: var(--px); font-size: 26px; color: var(--gold); box-shadow: 0 0 0 4px var(--crt), 0 0 0 6px var(--gold); text-shadow: 2px 2px 0 var(--ruby-deep); }
.pitch p { font-size: 24px; max-width: 36em; text-wrap: pretty; }
.pitch .row .btn { flex: none; }

/* saboteur tease */
.boss { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
@media (max-width: 640px) { .boss { grid-template-columns: 1fr; } }
.boss .qbox { width: 120px; height: 120px; background: var(--ruby-deep); border: 4px solid var(--ruby); display: grid; place-items: center; font-family: var(--px); font-size: 56px; color: var(--gold); box-shadow: 0 0 0 4px var(--crt), 0 0 0 6px var(--ruby-deep); animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.boss p { font-size: 24px; max-width: 36em; text-wrap: pretty; }

/* ---------- forms + buttons ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .lbl { font-family: var(--px); font-size: 10px; color: var(--dim); text-transform: uppercase; line-height: 1.8; }
.input, .field select, .field input[type="text"] {
  font: 22px var(--vt); background: var(--crt); color: var(--white); border: 2px solid var(--edge); padding: 10px 12px; width: 100%; border-radius: 0; outline: none; min-height: 48px;
}
.input:focus, .field select:focus, .field input[type="text"]:focus { border-color: var(--cyan); }
.input::placeholder, .field input::placeholder { color: var(--dim); }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: right 18px top 50%, right 12px top 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.check { display: flex; align-items: center; gap: 12px; font-size: 22px; cursor: pointer; }
.field-hint { font-family: var(--px); font-size: 9px; text-transform: uppercase; line-height: 1.8; min-height: 16px; color: var(--dim); }
.field-hint.ok { color: var(--green); }
.field-hint.bad { color: var(--ruby); }
.check input { width: 20px; height: 20px; accent-color: var(--ruby); margin: 0; }
.btn {
  font-family: var(--px); font-size: 11px; color: var(--white); background: var(--ruby); border: 0; padding: 15px 18px; cursor: pointer; text-decoration: none; text-align: center;
  box-shadow: 4px 4px 0 var(--ruby-deep); line-height: 1.4; text-transform: uppercase; display: inline-block; min-height: 48px;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ruby-deep); }
.btn.alt { background: var(--panel-2); color: var(--cyan); box-shadow: 4px 4px 0 var(--edge); }
.btn.alt:hover { box-shadow: 2px 2px 0 var(--edge); }
.btn.sm { padding: 10px 12px; font-size: 9px; min-height: 40px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row form { flex: 1; display: flex; }
.row .btn { flex: 1; }
.forms { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .forms { grid-template-columns: 1fr; } }

/* ---------- notices (flash + in-room notifications) ---------- */
.notice { font-family: var(--px); font-size: 10px; padding: 12px 14px; border: 2px solid var(--edge); background: var(--panel); color: var(--white); text-transform: uppercase; line-height: 1.8; margin-bottom: 8px; }
.notice.alert { border-color: var(--ruby); color: var(--ruby); }
.notice.ok { border-color: var(--green); color: var(--green); }
.notice.info { border-color: var(--cyan); color: var(--cyan); }

/* ---------- room: feed messages ---------- */
.msg { padding: 5px 10px; margin-bottom: 3px; font-size: 20px; line-height: 1.25; border-left: 3px solid transparent; word-break: break-word; }
.msg-name { color: var(--cyan); }
.msg-number { background: rgba(243,239,255,.04); }
.msg-number .msg-name.is-named { color: var(--gold); }
.msg-reset { background: rgba(227,36,91,.14); color: var(--ruby); border-left-color: var(--ruby); }
.msg-reset .msg-name { color: var(--ruby); }
.msg-system { background: rgba(255,201,60,.08); color: var(--gold); border-left-color: var(--gold); }
.msg-continue { background: rgba(255,201,60,.12); color: var(--gold); border-left-color: var(--gold); }
.msg-continue .msg-name { color: var(--gold); }
.msg-continue .msg-name::before { content: "coin "; color: var(--dim); font-size: .8em; }
.msg-system .msg-name { color: var(--gold); }
.msg-won { background: rgba(255,201,60,.16); color: var(--gold); border-left-color: var(--gold); font-family: var(--px); font-size: 11px; line-height: 1.8; padding: 10px 12px; }
.msg-won .msg-name { color: var(--gold); }

/* room layout */
.room-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; align-items: start; }
@media (max-width: 760px) { .room-grid { grid-template-columns: 1fr; } }
.feed-box { display: flex; flex-direction: column; height: 420px; padding: 0; }
.feed-box .scroll { flex: 1; overflow-y: auto; padding: 12px; }
.feed-box .typing { font-family: var(--px); font-size: 9px; color: var(--dim); padding: 6px 12px 10px; text-transform: uppercase; min-height: 28px; }
.players ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.players li { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.players li::before { content: ""; width: 8px; height: 8px; background: var(--green); box-shadow: 0 0 6px var(--green); flex: none; display: inline-block; }
.players li a { text-decoration: none; }
.players li.is-named a { color: var(--gold); }
.players li.is-named a:hover { color: var(--cyan); }
.claim-nudge { font-family: var(--px); font-size: 9px; color: var(--dim); text-transform: uppercase; line-height: 1.8; margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.claim-nudge a { white-space: nowrap; }
.claim-nudge b { color: var(--gold); font-weight: 400; }
.claim-nudge a { color: var(--cyan); text-decoration: none; }
.claim-nudge a:hover { color: var(--gold); }
.claim-card { margin-top: 12px; }
.claim-card p { font-size: 20px; line-height: 1.25; }
.claim-card .row { flex-direction: column; align-items: flex-start; gap: 8px; }
.claim-card .row .btn { flex: none; }
.coin-link { font-family: var(--px); font-size: 9px; color: var(--cyan); text-transform: uppercase; text-decoration: none; }
.coin-link:hover { color: var(--gold); }
.players-toggle { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.players .user-list-container { display: none; }
.players .user-list-container.open { display: block; }
@media (min-width: 761px) { .players-toggle { display: none; } .players .user-list-container { display: block; } }
.input-bar { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.input-bar form { flex: 1; display: flex; gap: 10px; min-width: 240px; }
.input-bar .input { flex: 1; }
.error-line { font-family: var(--px); font-size: 10px; color: var(--ruby); margin-top: 10px; text-transform: uppercase; line-height: 1.8; }
.sticky-input { position: sticky; bottom: 0; background: var(--crt); padding-top: 12px; padding-bottom: 12px; z-index: 5; }

/* lobby */
.lobby-bar { display: flex; align-items: center; gap: 10px; min-width: 120px; }
.lobby-bar .bar { flex: 1; height: 10px; }
.lobby-bar b { font-family: var(--px); font-size: 11px; color: var(--gold); font-weight: 400; min-width: 4ch; text-align: right; }

/* footer */
.foot { padding: 30px 0 60px; font-family: var(--px); font-size: 9px; color: var(--dim); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; line-height: 1.8; text-transform: uppercase; }
.foot a { color: var(--dim); text-decoration: none; }
.foot a:hover { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .blink, .press .arrow, .count.win, .boss .qbox, .glitch { animation: none; }
  .sparks i { display: none; }
  html { scroll-behavior: auto; }
}
