/* AlleyPots 1.7 bowler live page: read-only, phone-first, same "neon lanes" look as the app. */
@font-face { font-family: "Audiowide"; src: url("/fonts/audiowide.woff2") format("woff2"); font-display: swap; }
:root {
  --bg: #0b0b12; --card: #121829; --card2: #182036; --ink: #eef2ff; --muted: #97a3bf; --faint: #5d6886;
  --line: rgba(255,255,255,.075); --accent: #ff3c9a; --cyan: #2cbcff; --gold: #ffc940; --ok: #34d399; --okbg: rgba(52,211,153,.12);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); min-height: 100vh;
  background: radial-gradient(900px 420px at 85% -120px, rgba(255,60,154,.16), transparent 60%), radial-gradient(700px 380px at -10% 10%, rgba(34,170,247,.11), transparent 60%), var(--bg);
  background-attachment: fixed;
  font: 17px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.top { display: flex; align-items: center; gap: 10px; padding: 14px 18px 12px; position: relative; }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), var(--cyan), transparent); opacity: .7; }
.top img { filter: drop-shadow(0 0 5px rgba(253,102,180,.55)) drop-shadow(0 0 9px rgba(34,170,247,.35)); }
.wordmark { margin: 0; font: 400 20px "Audiowide", -apple-system, sans-serif; letter-spacing: .3px; white-space: nowrap; }
.w-true { color: #ff3c96; text-shadow: 0 0 10px rgba(255,60,150,.55); }
.w-scores { color: #f5f7ff; text-shadow: 0 0 8px rgba(30,160,255,.8), 0 0 18px rgba(30,160,255,.45); }
.livetag { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ok); background: var(--okbg); padding: 4px 10px; border-radius: 99px; }
.livetag i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
.livetag.off { color: var(--muted); background: rgba(255,255,255,.06); } .livetag.off i { background: var(--faint); animation: none; }
@keyframes pulse { 50% { opacity: .35; } }
main { max-width: 560px; margin: 0 auto; padding: 14px 14px 10px; }
.hero { margin: 4px 4px 14px; }
.hero h2 { margin: 0; font-size: 23px; line-height: 1.2; }
.hero p { margin: 3px 0 0; color: var(--muted); font-size: 15px; }
.games { display: flex; gap: 8px; margin: 10px 0 0; }
.games span { flex: 1; text-align: center; padding: 7px 0; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--muted); }
.games span.ok { color: var(--ok); border-color: rgba(52,211,153,.35); background: var(--okbg); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; margin: 0 0 12px; box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.card h3 { margin: 0 0 8px; font-size: 16px; display: flex; align-items: baseline; gap: 8px; }
.card h3 small { margin-left: auto; font-weight: 600; color: var(--muted); font-size: 13px; }
.row { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.row:first-of-type { border-top: 0; }
.row .k { color: var(--muted); font-size: 14px; min-width: 88px; }
.row .v { flex: 1; font-weight: 700; }
.row .amt { color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; }
.row .none { color: var(--faint); font-weight: 500; }
.pots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pot { background: var(--card2); border-radius: 14px; padding: 10px 12px; }
.pot b { display: block; font-size: 15px; } .pot span { color: var(--muted); font-size: 13px; }
.pot em { font-style: normal; color: var(--gold); font-weight: 800; }
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nums div { background: var(--card2); border-radius: 14px; padding: 8px 10px; text-align: center; }
.nums small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.nums b { font-size: 18px; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { background: rgba(255,255,255,.06); border-radius: 99px; padding: 5px 11px; font-size: 14px; font-weight: 600; }
.chips i { font-style: normal; color: var(--gold); margin-right: 4px; font-size: 12px; }
.sub { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.state { text-align: center; color: var(--muted); margin: 40px 10px; }
footer { text-align: center; color: var(--faint); font-size: 12.5px; padding: 6px 14px 28px; }
