/* Version: 1 - 2026-10-26T12:12:20-07:00 */
/* Layout: a stadium scoreboard at night. One lit counter, a game card for the last win, then the ledger of games since. */
:root {
  --night: #121316;
  --panel: #1b1d22;
  --panel-edge: #2b2e35;
  --bulb: #ffb547;
  --bulb-dim: #5a4220;
  --chalk: #ece8df;
  --muted: #9a978f;
  --loss: #c9614f;
  --win: #e9c46a;
  --f-display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
  --f-body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --f-label: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--night); }
body {
  margin: 0;
  background: var(--night);
  color: var(--chalk);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
}
.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 40px 56px;
  display: grid;
  gap: 36px;
}
.label {
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Scoreboard */
.board {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 6px;
  padding: 28px 20px 30px;
  text-align: center;
  display: grid;
  gap: 10px;
  box-shadow: inset 0 0 0 6px #16181c, 0 20px 50px rgba(0,0,0,0.45);
}
.board h1 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.4rem, 4.6vw, 2.2rem);
  line-height: 1.1;
  text-wrap: balance;
}
.count {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(6rem, 30vw, 15rem);
  line-height: 0.9;
  color: var(--bulb);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px rgba(255,181,71,0.45), 0 0 48px rgba(255,181,71,0.18);
  background-image: radial-gradient(var(--night) 18%, transparent 19%);
  background-size: 7px 7px;
  -webkit-background-clip: text;
  background-clip: text;
  margin-block: 6px;
}
.unit {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bulb);
  opacity: 0.85;
  padding-left: 0.3em;
}
.clock {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 8px;
  font-family: var(--f-label);
  font-size: 1.05rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.clock b { color: var(--chalk); font-weight: 600; font-size: 1.25rem; }

/* Last win card */
.section { display: grid; gap: 14px; }
.section h2 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.6rem;
}
.game {
  border-top: 2px solid var(--win);
  padding-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: center;
}
.lines { display: grid; gap: 6px; }
.line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  text-transform: uppercase;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.line.lose { color: var(--muted); font-weight: 500; }
.meta { color: var(--muted); max-width: 34ch; }
.meta strong { color: var(--chalk); font-weight: 600; }
.note { margin: 0; max-width: 65ch; color: var(--chalk); }

/* Ledger */
.ledger { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th {
  text-align: left;
  font-family: var(--f-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0 12px 8px 0;
  border-bottom: 1px solid var(--panel-edge);
}
td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--panel-edge); white-space: nowrap; }
td.score { font-family: var(--f-label); font-weight: 600; font-size: 1.1rem; }
.pill {
  display: inline-block;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 3px;
}
.pill.nd { color: var(--loss); border: 1px solid var(--loss); }
.pill.usc { color: var(--night); background: var(--win); }

footer { color: var(--muted); font-size: 0.85rem; max-width: 65ch; }

@media (max-width: 560px) {
  .game { grid-template-columns: minmax(0, 1fr); }
  .board { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .count { text-shadow: 0 0 14px rgba(255,181,71,0.35); }
}
/* Changelog
 * v1 - 2026-10-26T12:12:20-07:00 - Initial stylesheet, moved out of the page so the CSP can forbid inline styles.
 */
