:root {
    color-scheme: dark;
    --bg: #0a0d0c;
    --surface: #121816;
    --surface-2: #18201d;
    --text: #f4f7f5;
    --muted: #9eaaa4;
    --line: #26312c;
    --green: #75e6a2;
    --amber: #f2c66d;
    --red: #f08b86;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 90% 0%, rgba(54, 122, 82, .22), transparent 32rem),
        var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
.site-header, main, footer { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.site-header {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid var(--line);
}
.brand { font-weight: 800; letter-spacing: -.03em; }
.subtitle, .updated, footer { color: var(--muted); font-size: .9rem; }
main { padding: 48px 0 64px; }
.hero { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.eyebrow { margin: 0 0 8px; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 700px; margin: 0; font-size: clamp(2rem, 6vw, 4.5rem); line-height: .98; letter-spacing: -.055em; }
.updated { margin: 18px 0 0; }
.period-switch { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.period-switch a { padding: 10px 16px; border-radius: 999px; color: var(--muted); font-weight: 700; }
.period-switch a.active { color: #07110b; background: var(--green); }
.filters { display: flex; gap: 12px; margin: 34px 0 22px; }
.filters label { display: grid; gap: 7px; color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
select { min-width: 150px; padding: 11px 34px 11px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: var(--surface); }
.prediction-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.prediction-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, var(--surface-2), var(--surface)); }
.card-top, .market-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .78rem; }
.league { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--green); font-weight: 800; }
.prediction-card h2 { margin: 18px 0; font-size: 1.15rem; letter-spacing: -.025em; }
.prediction-card h2 span { color: #5d6963; }
.pick-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px; border-radius: 12px; background: rgba(0,0,0,.22); }
.pick-row div { display: grid; gap: 4px; }
small { color: var(--muted); font-size: .68rem; }
.market-row { margin-top: 16px; justify-content: flex-start; flex-wrap: wrap; }
.badge { padding: 6px 9px; border-radius: 7px; color: var(--amber); background: rgba(242,198,109,.12); font-weight: 800; }
.badge.confirmed-value, .badge.model-edge { color: var(--green); background: rgba(117,230,162,.12); }
.badge.high-risk-edge, .badge.no-value { color: var(--red); background: rgba(240,139,134,.12); }
.notice, .empty { margin-top: 24px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.warning { color: var(--amber); border-color: rgba(242,198,109,.35); }
.empty { padding: 56px 24px; text-align: center; color: var(--muted); }
.empty h2 { color: var(--text); }
footer { padding: 22px 0 36px; border-top: 1px solid var(--line); }

@media (max-width: 760px) {
    .subtitle { display: none; }
    main { padding-top: 30px; }
    .hero { align-items: flex-start; flex-direction: column; }
    .filters { display: grid; grid-template-columns: 1fr 1fr; }
    select { width: 100%; min-width: 0; }
    .prediction-grid { grid-template-columns: 1fr; }
    .pick-row { grid-template-columns: repeat(2, 1fr); }
}
