:root {
    --bg: #f5f6f8;
    --surface: #ffffff;
    --border: #e3e6ea;
    --text: #1a1d23;
    --text-muted: #6b7280;
    --accent-empirical: #2f6fed;
    --accent-empirical-bg: #eef3fe;
    --accent-simulation: #8b5cf6;
    --accent-simulation-bg: #f5f2fe;
    --accent-astrology: #d97706;
    --accent-astrology-bg: #fef6ea;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 12px rgba(16, 24, 40, 0.06);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f1115;
        --surface: #171a21;
        --border: #2a2e37;
        --text: #e7e9ee;
        --text-muted: #9aa1ac;
        --accent-empirical-bg: #16223f;
        --accent-simulation-bg: #241b3a;
        --accent-astrology-bg: #35260f;
        --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.35);
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
}

.page-header {
    padding: 40px 24px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px;
}

.subtitle {
    color: var(--text-muted);
    margin: 0;
    font-size: 15px;
}

.fixture-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.empty-state {
    color: var(--text-muted);
    padding: 40px;
    text-align: center;
    grid-column: 1 / -1;
}

.fixture-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fixture-kickoff {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.fixture-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.team {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.team-name {
    font-weight: 600;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.crest {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
}

.crest-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--border);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
}

.pillars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pillar {
    border-radius: 10px;
    padding: 12px 14px;
}

.pillar h3 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pillar-tag {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-muted);
}

.pillar-tag-experimental {
    background: var(--accent-astrology);
    color: #fff;
}

.pillar-empirical { background: var(--accent-empirical-bg); }
.pillar-empirical h3 { color: var(--accent-empirical); }

.pillar-simulation { background: var(--accent-simulation-bg); }
.pillar-simulation h3 { color: var(--accent-simulation); }

.pillar-astrology { background: var(--accent-astrology-bg); }
.pillar-astrology h3 { color: var(--accent-astrology); }

.prob-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.prob {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.prob-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.prob-value {
    font-size: 18px;
    font-weight: 700;
}

.coming-soon, .no-data {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

.inconclusive {
    margin: 0;
    font-size: 13px;
    color: var(--accent-astrology);
}

.disclaimer {
    margin: 8px 0 0;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}
