:root {
  --bg: #090c10; --ink: #f6f1e8; --muted: #a3abba; --faint: #6f7888;
  --line: rgba(255,255,255,.08); --card: rgba(20,25,34,.9); --sheet: #141922;
  --ember: #ff7a3c; --ember2: #ffb088; --felt: #2fce8a; --loss: #ff6b7a; --on-ember: #2a1006;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-image: radial-gradient(900px 500px at 85% -10%, rgba(255,122,60,.14), transparent 60%),
                    radial-gradient(700px 400px at -10% 110%, rgba(47,206,138,.07), transparent 60%);
  background-attachment: fixed; min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--ember2); }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.site { position: sticky; top: 0; z-index: 10; background: rgba(9,12,16,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: .02em; }
img { max-width: 100%; height: auto; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
nav.main { display: flex; gap: 4px; margin-left: auto; align-items: center; }
nav.main a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; }
nav.main a:hover { color: var(--ink); background: var(--line); }
nav.main a.active { color: var(--ink); background: rgba(255,122,60,.16); }
.btn { display: inline-block; background: var(--ember); color: var(--on-ember) !important; font-weight: 800; text-decoration: none; padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer; }
.btn:hover { background: var(--ember2); }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); }
nav.main .btn { margin-left: 8px; padding: 8px 16px; color: var(--on-ember); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: 8px 12px; font-size: 15px; }
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  nav.main { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--sheet); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px; }
  nav.main .btn { margin: 8px 0 0; text-align: center; }
}
main { flex: 1; padding: 28px 0 56px; }
h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.15; margin: 0 0 8px; }
h2 { font-size: 22px; margin: 32px 0 12px; }
h3 { font-size: 17px; margin: 0 0 6px; }
.lede { color: var(--muted); font-size: 18px; margin: 0 0 20px; }
.muted { color: var(--muted); } .faint { color: var(--faint); font-size: 14px; }
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; padding: 20px 0 8px; }
/* The logo keeps its square shape at every width (the width/height attributes only reserve space). */
.hero img { width: 100%; max-width: 360px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; justify-self: center; filter: drop-shadow(0 20px 50px rgba(255,122,60,.25)); }
.app-logo { width: 160px; max-width: 45vw; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
@media (max-width: 720px) { .hero { grid-template-columns: 1fr; } .hero img { max-width: 220px; order: -1; } }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.card.hl { border-color: rgba(255,122,60,.45); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: var(--ember2); font-weight: 700; }
.placeholder { border: 1px dashed rgba(255,176,136,.6); background: rgba(255,122,60,.07); color: var(--ember2); border-radius: 10px; padding: 2px 8px; font-size: 14px; display: inline-block; }
.placeholder.block { display: block; padding: 12px 14px; margin: 8px 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.chip { background: var(--sheet); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 600; cursor: pointer; font-size: 14px; }
.chip.on { color: var(--on-ember); background: var(--ember); border-color: var(--ember); }
.week-head { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 8px; }
.week-head h3 { margin: 0; }
.tag { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(255,122,60,.16); color: var(--ember2); }
.tag.done { background: rgba(47,206,138,.14); color: var(--felt); }
.event { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.event .home { text-align: right; } .event .score { font-weight: 800; font-size: 18px; min-width: 76px; text-align: center; }
.event .win { color: var(--ink); font-weight: 700; } .event .lose { color: var(--muted); }
.event-meta { color: var(--faint); font-size: 13px; margin-top: 6px; text-align: center; }
.list > .card + .card { margin-top: 10px; }
table.standings { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.standings th, table.standings td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); }
table.standings th { color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
table.standings td.num, table.standings th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.standings td.rank { color: var(--ember); font-weight: 800; font-size: 18px; width: 44px; }
table.standings tr:last-child td { border-bottom: 0; }
.bar { height: 4px; border-radius: 4px; background: var(--line); margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--ember), var(--ember2)); }
@media (max-width: 560px) { table.standings .hide-sm { display: none; } }
.status { padding: 14px 16px; border-radius: 12px; background: var(--sheet); border: 1px solid var(--line); color: var(--muted); }
.status.err { border-color: rgba(255,107,122,.4); color: var(--loss); }
footer.site { border-top: 1px solid var(--line); padding: 22px 0; color: var(--faint); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.test-banner { background: rgba(255,122,60,.12); color: var(--ember2); text-align: center; font-size: 13px; padding: 6px 12px; }

/* Sponsor */
nav.main a.sponsor-link { color: var(--faint); }
nav.main a.sponsor-link:hover { color: var(--ink); }
footer.site .wrap { align-items: center; }
footer.site a.sponsor { display: inline-flex; align-items: center; gap: 10px; color: var(--faint); text-decoration: none; }
footer.site a.sponsor img { width: 72px; height: auto; border-radius: 8px; background: #000; }
footer.site a.sponsor strong { color: var(--ink); font-weight: 600; }

/* Venue contact cards */
.venue-card a { color: var(--ember2); text-decoration: none; }
.venue-card a:hover { text-decoration: underline; }
.venue-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 14px; }

/* Info content */
ul.plain { list-style: none; padding: 0; margin: 8px 0 0; }
ul.plain li { padding: 4px 0; border-bottom: 1px solid var(--line); }
ul.plain li:last-child { border-bottom: 0; }
.card p { margin: 6px 0; }
table.mini { width: 100%; max-width: 420px; border-collapse: collapse; margin: 8px 0; font-size: 15px; }
table.mini th, table.mini td { padding: 6px 8px; text-align: left; border-bottom: 1px solid var(--line); }
table.mini th { color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
table.mini tr:last-child td { border-bottom: 0; }
.fargo { max-width: 760px; }
.contact-card .actions .btn { overflow-wrap: anywhere; }
footer.site .contact a { color: var(--ember2); }
