/* Pons Lobby: shared tokens. Dark ground, liquid glass, Pons green. Type: Dela Gothic One (display), Geist Pixel
   (HUD, labels, numbers), Bricolage Grotesque (text), Silkscreen (tiny accents). */
@font-face { font-family: 'Dela Gothic One'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/DelaGothicOne-latin.woff2') format('woff2'); }
@font-face { font-family: 'Geist Pixel'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/geist-pixel.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; src: url('/fonts/Bricolage.woff2') format('woff2'); }
@font-face { font-family: 'Silkscreen'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/Silkscreen-700-latin.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --night: #050E09;
  --night-2: #0A1A12;
  --text: #EEF6EF;
  --text-2: #C2D4C6;
  --muted: #8BA394;
  --glass: rgba(255, 255, 255, 0.075);
  --glass-2: rgba(255, 255, 255, 0.12);
  --glass-strong: rgba(14, 30, 21, 0.62);
  --edge: rgba(255, 255, 255, 0.16);
  --edge-2: rgba(255, 255, 255, 0.26);
  --green: #00C805;
  --green-2: #3BE24A;
  --green-glow: rgba(0, 200, 5, 0.45);
  --mint: #7CF2A8;
  --ink: #0C1500;
  --gold: #E8C36A;
  --err: #FF6B6B;
  --display: 'Dela Gothic One', 'Arial Black', system-ui, sans-serif;
  --pixel: 'Geist Pixel', 'Silkscreen', ui-monospace, monospace;
  --body: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 16px;
  --blur: blur(22px) saturate(170%);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 -1px 0 rgba(0, 0, 0, 0.25) inset, 0 18px 50px rgba(0, 0, 0, 0.45);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
body { margin: 0; background: var(--night); color: var(--text); font: 500 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
img, svg, canvas { display: block; }
::selection { background: var(--green); color: var(--ink); }

/* liquid glass: a frosted panel with a lit top edge and a soft inner sheen */
.glass {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04) 55%, rgba(255, 255, 255, 0.07));
  border: 1px solid var(--edge);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--glass-shadow);
}
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 60% at 20% -10%, rgba(255, 255, 255, 0.18), transparent 55%);
}

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  color: var(--text); font: 700 14.5px/1 var(--body); letter-spacing: 0.01em; cursor: pointer; text-decoration: none;
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset, 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.12s, background 0.2s, border-color 0.2s, box-shadow 0.2s; white-space: nowrap;
}
.btn:hover { border-color: var(--edge-2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn.primary { background: linear-gradient(180deg, #2BE13A, #00C805 55%, #00AE05); border-color: rgba(255, 255, 255, 0.35); color: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 8px 26px var(--green-glow); }
.btn.primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 10px 34px rgba(0, 200, 5, 0.6); }
.btn.ghost { background: transparent; box-shadow: none; backdrop-filter: none; }
.btn.danger { color: var(--err); border-color: rgba(255, 107, 107, 0.4); background: rgba(255, 107, 107, 0.06); }
.btn.wide { width: 100%; }
.btn.big { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 18px; }
.icon-btn { width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--edge); background: var(--glass); display: grid; place-items: center; cursor: pointer; color: var(--text); }
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--edge); background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); font: 400 12px/1 var(--pixel); letter-spacing: 0.04em; color: var(--text-2); white-space: nowrap; text-transform: uppercase; }
.chip.live i { width: 7px; height: 7px; background: #6F7F73; }
.chip.live.ok i { background: var(--green); box-shadow: 0 0 10px var(--green); animation: blink 2.4s ease-in-out infinite; }
.chip.prelim { color: var(--gold); border-color: rgba(232, 195, 106, 0.4); background: rgba(232, 195, 106, 0.08); }
.chip.ticker { color: var(--mint); border-color: rgba(124, 242, 168, 0.35); background: rgba(124, 242, 168, 0.08); }
@keyframes blink { 50% { opacity: 0.45; } }

.mark { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 4px 12px rgba(0, 200, 5, 0.45)); }
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .chip.live.ok i { animation: none; } }
