:root {
  --bg: #0B0F14;
  --panel: #12161D;
  --panel-2: #171C25;
  --line: #262B36;
  --text: #F5E9F0;
  --muted: #9C919B;
  --red: #E3262F;
  --red-deep: #7A0A14;
  --pink: #F9A8E4;
  --pink-soft: #FFD6F1;
  --good: #7BE0A4;
  --warn: #FFC56B;
  --display: 'Racing Sans One', 'Arial Black', Impact, sans-serif;
  --body: 'Chakra Petch', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: var(--body); font-size: 15px; line-height: 1.45; }
[hidden] { display: none !important; }
a { color: var(--pink); }

.wordmark { font-family: var(--display); font-weight: 400; line-height: 1; letter-spacing: 0.5px; margin: 0; }
.wm-red { background: linear-gradient(180deg, #FF9AA6 0%, #E3262F 55%, #8E0F1A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm-pink { background: linear-gradient(180deg, #FFF0FA 0%, #F9A8E4 55%, #C45FA8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm-tag { font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-left: 10px; vertical-align: middle; }

.eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--pink); }
.muted { color: var(--muted); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card h3 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.card h3 span { color: var(--pink); letter-spacing: 1px; }

button, .btn {
  font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--text);
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 14px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
button:hover, .btn:hover { border-color: var(--pink); }
button:disabled { opacity: 0.5; cursor: default; }
button.go, .btn.go {
  font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: 0.5px;
  color: #fff; border: 0; border-radius: 10px; padding: 10px 22px;
  background: linear-gradient(180deg, #FF6B78 0%, #E3262F 50%, #9E1220 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 6px 20px -6px rgba(227,38,47,0.7);
}
button.go:hover, .btn.go:hover { filter: brightness(1.08); }
.btn.twitch { background: #9146FF; border: 0; color: #fff; font-size: 16px; padding: 10px 18px; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

.pill { font-size: 11px; font-weight: 600; letter-spacing: 0.5px; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; white-space: nowrap; }
.pill.fly { color: var(--pink); background: rgba(249,168,228,0.12); }
.pill.out { color: var(--muted); background: rgba(156,145,155,0.12); }
.pill.won { color: #fff; background: var(--red); }
.pill.wait { color: var(--muted); border: 1px solid var(--line); }
.pill.good { color: var(--good); background: rgba(123,224,164,0.12); }
.pill.warn { color: var(--warn); background: rgba(255,197,107,0.12); }
.pill.bad { color: #FF8A94; background: rgba(227,38,47,0.15); }

.standings { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.standings li {
  display: grid; grid-template-columns: 22px minmax(0,1fr) 54px 64px; gap: 8px;
  padding-block: 6px; border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums; font-size: 14px; align-items: center;
}
.standings li.me { color: var(--pink); font-weight: 600; }
.standings .rk { color: var(--muted); }
.standings .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.standings .num { text-align: right; }
.standings .head { color: var(--muted); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
