.peixebot-standings { overflow-x: auto; margin: 1rem 0; }
.peixebot-standings table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .82rem; }
.peixebot-standings caption { text-align: left; font-size: .78rem; color: #b2b8b8; padding-bottom: .75rem; }
.peixebot-standings th, .peixebot-standings td { padding: .6rem .35rem; border-bottom: 1px solid #323637; text-align: right; }
.peixebot-standings thead th { color: #afb6b6; font-size: .7rem; font-weight: 500; }
.peixebot-standings th:nth-child(2), .peixebot-standings tbody th { text-align: left; }
.peixebot-standings .club-name-text { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.peixebot-standings tbody th { font-weight: 500; }
.peixebot-standings abbr { text-decoration: none; }
.peixebot-standings .is-santos { background: #253e34; color: #b8f3d8; }
.peixebot-standings .is-santos th { font-weight: 700; }
.peixebot-standings .pos-cell { white-space: nowrap; }
.zone-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 0.4rem;
    vertical-align: middle;
    background: rgba(255, 255, 255, 0.2);
}
.zone-dot.zone-libertadores { background: #34d399; }
.zone-dot.zone-pre-libertadores { background: #38bdf8; }
.zone-dot.zone-sulamericana { background: #fbbf24; }
.zone-dot.zone-z4 { background: #f87171; }
.pos-delta {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.72rem;
    font-weight: 600;
}
.pos-delta.is-up { color: #6ee7b7; }
.pos-delta.is-down { color: #fca5a5; }
.pos-delta.is-same { color: rgba(255, 255, 255, 0.42); }
.standings-retry { padding: .6rem .8rem; background: transparent; border: 1px solid #69d5ad; color: #b8f3d8; cursor: pointer; border-radius: 4px; }
.santos-page {
    max-width: 1120px;
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}

.projection-heading {
    margin-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding-bottom: 1.5rem;
}

.projection-eyebrow {
    color: #69d5ad;
    font: 700 0.75rem/1.2 var(--font-secondary);
    letter-spacing: 0.08em;
}

.projection-heading h1 {
    margin: 0.45rem 0;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.projection-heading > p:last-child {
    color: rgba(255, 255, 255, 0.72);
    max-width: 620px;
}

.santos-projection {
    --projection-line: rgba(255, 255, 255, 0.13);
    --projection-muted: rgba(255, 255, 255, 0.64);
    --projection-panel: rgba(10, 18, 20, 0.82);
}

.home-projection-band {
    padding: 1.25rem 0 0;
}

.home-projection {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.5fr);
    align-items: center;
    gap: 1rem 2rem;
    padding: 1.2rem 1.4rem 0.85rem;
    border: 1px solid var(--projection-line);
    border-left: 3px solid #69d5ad;
    background: linear-gradient(105deg, rgba(10, 22, 20, 0.96), rgba(8, 13, 17, 0.94) 70%);
}

.home-projection-copy h2 {
    margin: 0.35rem 0;
    font-size: 1.25rem;
}

.home-projection-copy p {
    color: var(--projection-muted);
    font-size: 0.82rem;
}

.home-projection-eyebrow {
    color: #8de5c2;
    font: 700 0.68rem var(--font-secondary);
}

.home-projection-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(75px, 1fr)) auto;
    align-items: center;
    gap: 1rem;
}

.home-projection-stat {
    display: grid;
    gap: 0.2rem;
}

.home-projection-stat span {
    color: var(--projection-muted);
    font: 600 0.68rem var(--font-secondary);
    text-transform: uppercase;
}

.home-projection-stat strong {
    color: #fff;
    font: 700 1.45rem/1.1 var(--font-primary);
    font-variant-numeric: tabular-nums;
}

.home-projection-stat:nth-child(2) strong {
    color: #8de5c2;
}

.home-projection-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 42px;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(141, 229, 194, 0.45);
    border-radius: 4px;
    color: #c6f5e2;
    font: 600 0.8rem var(--font-secondary);
    white-space: nowrap;
}

.home-projection-link:hover {
    background: rgba(105, 213, 173, 0.12);
}

.home-projection-footnote {
    grid-column: 1 / -1;
    padding-top: 0.65rem;
    border-top: 1px solid var(--projection-line);
    color: var(--projection-muted);
    font: 0.68rem var(--font-secondary);
}

.home-projection-footnote a {
    color: #8de5c2;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.projection-loading,
.projection-error {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 180px;
    color: var(--projection-muted);
}

.loading-mark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(105, 213, 173, 0.3);
    border-top-color: #69d5ad;
    border-radius: 50%;
    animation: projection-spin 0.8s linear infinite;
}

@keyframes projection-spin {
    to { transform: rotate(360deg); }
}

.projection-error {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(60, 20, 20, 0.28);
}

.projection-error h2 {
    font-size: 1.1rem;
}

.projection-error p {
    color: var(--projection-muted);
}

.projection-retry,
.projection-reset {
    min-height: 40px;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--projection-line);
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font: 600 0.85rem var(--font-secondary);
    cursor: pointer;
}

.projection-retry:hover,
.projection-reset:hover {
    border-color: #69d5ad;
    color: #8de5c2;
}

.projection-updated {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
    color: var(--projection-muted);
    font: 0.75rem var(--font-secondary);
}

.projection-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--projection-line);
    background: var(--projection-panel);
}

.projection-metric {
    min-width: 0;
    padding: 1.1rem 1.2rem;
}

.projection-metric + .projection-metric {
    border-left: 1px solid var(--projection-line);
}

.projection-metric-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--projection-muted);
    font: 600 0.72rem var(--font-secondary);
    text-transform: uppercase;
}

.projection-metric strong {
    display: block;
    color: #fff;
    font: 700 1.9rem/1.1 var(--font-primary);
    font-variant-numeric: tabular-nums;
}

.projection-metric small {
    display: block;
    margin-top: 0.35rem;
    color: var(--projection-muted);
    font: 0.75rem var(--font-secondary);
}

.projection-metric.is-highlight strong {
    color: #8de5c2;
}

.projection-content {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
    gap: 2rem;
    margin-top: 2rem;
}

.projection-section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.projection-section-heading h2 {
    font-size: 1.15rem;
}

.projection-section-heading span,
.projection-section-note {
    color: var(--projection-muted);
    font: 0.75rem var(--font-secondary);
}

.position-distribution {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
    border-top: 1px solid var(--projection-line);
}

.position-row {
    display: grid;
    grid-template-columns: 2.3rem minmax(0, 1fr) 2.8rem;
    align-items: center;
    gap: 0.55rem;
    min-height: 31px;
    border-bottom: 1px solid var(--projection-line);
    color: var(--projection-muted);
    font: 0.73rem var(--font-secondary);
    font-variant-numeric: tabular-nums;
}

.position-row.is-santos {
    color: #fff;
    font-weight: 700;
}

.position-rank {
    color: inherit;
}

.position-track {
    height: 7px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.position-fill {
    display: block;
    height: 100%;
    min-width: 2px;
    background: #4b8b77;
}

.position-row.is-santos .position-fill {
    background: #8de5c2;
}

.position-percent {
    text-align: right;
}

.projection-fixtures {
    border-top: 1px solid var(--projection-line);
}

.projection-fixture {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr) 9.6rem;
    align-items: center;
    gap: 0.75rem;
    min-height: 62px;
    padding: 0.35rem 0.45rem;
    border-bottom: 1px solid var(--projection-line);
}

.projection-fixture.is-next-fixture {
    background: rgba(105, 213, 173, 0.08);
    border-left: 3px solid #69d5ad;
}

.projection-fixture.has-prediction {
    background: rgba(141, 229, 194, 0.14);
}

.next-match-pill {
    display: inline-block;
    margin-top: 0.2rem;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    background: rgba(105, 213, 173, 0.2);
    color: #8de5c2;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
}

.projection-tables-section {
    margin-top: 2.25rem;
    border: 1px solid var(--projection-line);
    background: var(--projection-panel);
    padding: 1.25rem;
}

.projection-tabs-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--projection-line);
}

.projection-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.projection-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 38px;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--projection-line);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.78);
    font: 600 0.78rem var(--font-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.projection-tab-btn:hover {
    border-color: rgba(105, 213, 173, 0.5);
    color: #fff;
}

.projection-tab-btn.is-active {
    background: rgba(105, 213, 173, 0.18);
    border-color: #69d5ad;
    color: #b8f3d8;
}

.projection-zones-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font: 0.72rem var(--font-secondary);
    color: var(--projection-muted);
}

.projection-table-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(105, 213, 173, 0.35);
    border-left: 3px solid #69d5ad;
    background: rgba(18, 36, 32, 0.65);
    font: 0.82rem var(--font-secondary);
    color: rgba(255, 255, 255, 0.9);
}

.projection-table-banner strong {
    color: #b8f3d8;
}

.projection-table-banner span {
    color: var(--projection-muted);
    font-size: 0.74rem;
}

.next-round-matches-box {
    margin-bottom: 1.2rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--projection-line);
    background: rgba(8, 14, 16, 0.75);
}

.next-round-matches-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.next-round-matches-header h3 {
    font-size: 0.88rem;
    color: #fff;
}

.next-round-matches-header span {
    font-size: 0.72rem;
    color: var(--projection-muted);
}

.next-round-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 0.55rem;
}

.next-round-match-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--projection-line);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    font: 0.75rem var(--font-secondary);
}

.next-round-match-card.is-santos-match {
    border-color: rgba(105, 213, 173, 0.6);
    background: rgba(37, 62, 52, 0.45);
}

.next-round-match-card .match-team {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.next-round-match-card .match-team.is-home {
    text-align: right;
}

.next-round-match-card .match-team.is-away {
    text-align: left;
}

.next-round-match-card .match-score {
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    color: #8de5c2;
    font-variant-numeric: tabular-nums;
}

.next-round-match-card .match-badge {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.64rem;
    color: var(--projection-muted);
}

.next-round-match-card.is-manual-pick .match-badge {
    color: #8de5c2;
    font-weight: 600;
}

.fixture-date {
    color: var(--projection-muted);
    font: 0.72rem var(--font-secondary);
    font-variant-numeric: tabular-nums;
}

.fixture-opponent {
    min-width: 0;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.fixture-venue {
    display: block;
    margin-top: 0.15rem;
    color: var(--projection-muted);
    font: 0.68rem var(--font-secondary);
}

.fixture-prediction {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 0.4rem 1.6rem 0.4rem 0.55rem;
    border: 1px solid var(--projection-line);
    border-radius: 4px;
    background: #101a1c;
    color: #fff;
    font: 0.72rem var(--font-secondary);
}

.fixture-prediction:focus-visible,
.projection-reset:focus-visible,
.projection-retry:focus-visible {
    outline: 2px solid #8de5c2;
    outline-offset: 2px;
}

.projection-method {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--projection-line);
    color: var(--projection-muted);
    font: 0.75rem/1.6 var(--font-secondary);
}

.projection-method a {
    color: #8de5c2;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.projection-method strong {
    color: #fff;
}

@media (max-width: 760px) {
    .home-projection {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 1rem 0.75rem;
    }

    .home-projection-results {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-projection-link {
        grid-column: 1 / -1;
    }

    .santos-page {
        padding-top: 1.5rem;
    }

    .projection-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .projection-metric:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--projection-line);
    }

    .projection-metric:nth-child(4) {
        border-top: 1px solid var(--projection-line);
    }

    .projection-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .projection-tables-section {
        padding: 0.9rem 0.65rem;
        margin-top: 1.5rem;
    }

    .projection-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .projection-tab-btn {
        width: 100%;
        justify-content: flex-start;
        font-size: 0.78rem;
        padding: 0.55rem 0.75rem;
    }

    .projection-zones-legend {
        gap: 0.5rem 0.85rem;
        font-size: 0.68rem;
    }

    .projection-table-banner {
        padding: 0.75rem 0.8rem;
        font-size: 0.78rem;
    }

    .next-round-matches-box {
        padding: 0.75rem;
    }

    .next-round-matches-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.45rem;
    }

    .peixebot-standings {
        margin: 0.5rem -0.25rem 0;
        -webkit-overflow-scrolling: touch;
    }

    .peixebot-standings table {
        font-size: 0.76rem;
    }

    .peixebot-standings th,
    .peixebot-standings td {
        padding: 0.52rem 0.26rem;
        white-space: nowrap;
    }

    .peixebot-standings .col-club {
        max-width: 128px;
        min-width: 96px;
    }

    .peixebot-standings .zone-dot {
        width: 6px;
        height: 6px;
        margin-right: 0.28rem;
    }
}

@media (max-width: 540px) {
    .peixebot-standings .col-hide-mobile {
        display: none;
    }

    .peixebot-standings table {
        font-size: 0.74rem;
    }

    .peixebot-standings th,
    .peixebot-standings td {
        padding: 0.48rem 0.22rem;
    }

    .peixebot-standings .col-club {
        max-width: 112px;
        min-width: 84px;
    }

    .next-round-matches-grid {
        grid-template-columns: 1fr 1fr;
    }

    .next-round-match-card {
        padding: 0.42rem 0.45rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 440px) {
    .projection-updated {
        flex-direction: column;
        gap: 0.3rem;
    }

    .projection-metric {
        padding: 0.8rem 0.75rem;
    }

    .projection-metric strong {
        font-size: 1.45rem;
    }

    .position-distribution {
        grid-template-columns: 1fr;
    }

    .projection-fixture {
        grid-template-columns: 3.4rem minmax(0, 1fr) 8rem;
        gap: 0.45rem;
    }

    .fixture-opponent {
        font-size: 0.82rem;
    }

    .fixture-prediction {
        font-size: 0.68rem;
    }

    .peixebot-standings .col-club {
        max-width: 98px;
        min-width: 76px;
    }

    .next-round-matches-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .loading-mark {
        animation-duration: 1.8s;
    }
}