/* Shared look for every Holler Arcade page: dark arcade, big type, 48px+ tap targets. */
/* One emoji font for every TV and phone (B-64): only emoji use it (unicode-range), so letters, digits
   and arrows keep the page's own font. Canvas text gets it from public/shared/emoji.js. */
/* A game's picture card as the big logo on its TV lobby (Joel, Nov 16: show the designed logo, not the
   pixel font). Games put <img class="gn-cardlogo" src="/games/<id>/card.webp" alt="<name>"> where the
   title was. */
.gn-cardlogo { display: block; height: min(30vh, 26vw); aspect-ratio: 3 / 2; object-fit: cover; margin: 0 auto; border-radius: 2.4vh; border: .5vh solid rgba(255,255,255,.28); box-shadow: 0 0 6vh rgba(56,189,248,.35), 0 2vh 4vh rgba(0,0,0,.6); flex: 0 0 auto; }
@font-face {
  font-family: 'GN Emoji';
  src: url('/vendor/twemoji.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+200D, U+20E3, U+2300-23FF, U+2600-27BF, U+2934-2935, U+2B05-2B55, U+3030, U+303D, U+3297, U+3299, U+FE0F, U+1F000-1FAFF;
}
:root {
  --bg: #07080f;
  --panel: #111526;
  --line: #262c48;
  --txt: #eef2ff;
  --dim: #8b93b8;
  --accent: #38bdf8;
  --hot: #f472b6;
  --gold: #facc15;
  --good: #4ade80;
  --bad: #f87171;
  --arcade: 'GN Emoji', 'Press Start 2P', ui-monospace, monospace;
  --emoji: 'GN Emoji';
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--txt); font-family: 'GN Emoji', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
body { overscroll-behavior: none; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--accent); }

.logo { font-family: var(--arcade); letter-spacing: 2px; line-height: 1.25; background: linear-gradient(90deg, #38bdf8, #a78bfa, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(167, 139, 250, .45)); }
.arcade { font-family: var(--arcade); }
/* The brand's logo and footer (public/brand/, B-71). The wordmark is a picture so the real logo drops in
   by swapping public/brand/wordmark.svg. */
.ha-wordmark { line-height: 0; }
.ha-wordmark img { display: block; width: 100%; height: auto; }
.ha-footer { margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; color: var(--dim); font-size: 14px; line-height: 1.7; }
.ha-footer a { color: var(--dim); }
.ha-footer .ha-socials a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 22px; border-radius: 16px; border: 2px solid var(--line); background: #1a2040; color: var(--txt); font-size: 19px; font-weight: 800; text-decoration: none; }
.btn.primary { background: linear-gradient(180deg, #2563eb, #1d4ed8); border-color: #60a5fa; box-shadow: 0 0 24px rgba(59, 130, 246, .35); }
.btn.hot { background: linear-gradient(180deg, #db2777, #be185d); border-color: #f472b6; box-shadow: 0 0 24px rgba(244, 114, 182, .35); }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .45; cursor: default; }
@media (hover: hover) { .btn:not(:disabled):hover { filter: brightness(1.15); } }
.btn:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

input.big { width: 100%; min-height: 60px; border-radius: 14px; border: 2px solid var(--line); background: #0c0f1e; color: var(--txt); font-size: 22px; font-weight: 700; padding: 0 16px; }
input.code { font-family: var(--arcade); font-size: 30px; letter-spacing: 12px; text-transform: uppercase; text-align: center; }
label.lbl { display: block; color: var(--dim); font-weight: 700; margin: 16px 0 6px; font-size: 15px; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.err { color: var(--bad); font-weight: 700; min-height: 1.4em; margin-top: 10px; }
.dim { color: var(--dim); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: rgba(0, 0, 0, .85); border: 1px solid var(--line); padding: 12px 18px; border-radius: 14px; font-weight: 700; opacity: 0; transition: opacity .25s; pointer-events: none; z-index: 50; max-width: 92vw; text-align: center; }
.toast.show { opacity: 1; }

.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--dim); }
