.championship-page {
    min-height: 100vh;
    padding: 2.5rem 0 4rem;
    background: #f3f5f8;
}

.ranking-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 2.5rem;
    overflow: hidden;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(120deg, #061c3d 0%, #0b3975 62%, #c8102e 140%);
    box-shadow: 0 18px 45px rgba(6, 28, 61, .18);
}

.ranking-hero::after {
    content: "";
    position: absolute;
    right: 18%;
    bottom: -110px;
    width: 270px;
    height: 270px;
    border: 45px solid rgba(255, 255, 255, .055);
    border-radius: 50%;
}

.ranking-hero > * { position: relative; z-index: 1; }
.ranking-hero h1 { margin: .25rem 0 .6rem; font-size: clamp(2.25rem, 5vw, 4rem); line-height: .98; letter-spacing: -.045em; }
.ranking-hero p { max-width: 650px; margin: 0; color: rgba(255, 255, 255, .76); font-size: 1.05rem; }
.ranking-eyebrow, .section-kicker { color: #e7a72f; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.season-selector { display: grid; gap: .4rem; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.season-selector select {
    min-width: 155px;
    padding: .72rem 2.25rem .72rem .9rem;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 8px;
    color: inherit;
    background: rgba(255, 255, 255, .12);
    font: inherit;
    letter-spacing: 0;
    text-transform: none;
}
.season-selector select option { color: #12213a; background: #fff; }

.ranking-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 1.25rem; align-items: start; }
.ranking-card, .history-card, .odds-guide, .ranking-empty {
    border: 1px solid #e1e6ed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(31, 45, 65, .06);
}
.ranking-card { overflow: hidden; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.5rem; border-bottom: 1px solid #e8ecf1; }
.section-heading h2, .odds-guide h2 { margin: .22rem 0 0; color: #10213b; font-size: 1.35rem; }
.section-heading time { color: #6b7480; font-size: .75rem; }
.ranking-table-wrap { overflow-x: auto; }
.ranking-table { width: 100%; border-collapse: collapse; }
.ranking-table th { padding: .75rem 1rem; color: #738094; background: #f8f9fb; font-size: .68rem; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.ranking-table td { padding: .72rem 1rem; border-top: 1px solid #edf0f4; color: #24344e; font-size: .86rem; }
.ranking-table tbody tr:hover { background: #f8fbff; }
.rank-number { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: #677388; background: #eef1f5; font-size: .75rem; font-weight: 800; }
.rank-number.top-three { color: #fff; background: #113e7d; }
.team-cell { display: flex; align-items: center; gap: .7rem; min-width: 175px; color: #14243e; font-weight: 700; }
.team-logo { width: 31px; height: 31px; object-fit: contain; }
.odds-value { color: #0a316d !important; font-size: 1rem !important; font-weight: 800; }
.movement, .odds-change { font-size: .75rem; font-weight: 800; }
.up { color: #168354; }
.down { color: #c33b4a; }
.neutral { color: #8a94a3; }

.odds-guide { padding: 1.5rem; color: #5f6d80; }
.odds-guide p { line-height: 1.55; }
.guide-example { display: grid; gap: .15rem; margin: 1.4rem 0; padding: 1.25rem; border-radius: 10px; color: #fff; background: #0b3975; }
.guide-example strong { font-size: 2rem; line-height: 1; }
.guide-example span, .guide-note { font-size: .75rem; }
.guide-note { margin-bottom: 0; }

.history-card { margin-top: 1.25rem; overflow: hidden; }
.history-heading { align-items: center; }
.history-heading p { margin: 0; color: #738094; font-size: .78rem; font-weight: 700; }
.odds-chart { min-height: 430px; padding: 1rem 1.25rem 0; }
.odds-chart svg { display: block; width: 100%; height: 430px; overflow: visible; }
.chart-axis { fill: #7a8595; font-size: 11px; }
.chart-grid { stroke: #e8ecf1; stroke-width: 1; }
.chart-line { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: opacity .15s, stroke-width .15s; }
.chart-point { stroke-width: 1; transition: opacity .15s; }
.chart-status { display: none; margin: 0 1.5rem 1rem; padding: .8rem 1rem; border-radius: 8px; color: #616e80; background: #f5f7fa; font-size: .82rem; }
.chart-team-legend { display: flex; flex-wrap: wrap; gap: .45rem; padding: 1.1rem 1.5rem; border-top: 1px solid #e7ebf0; background: #f7f9fc; }
.chart-team { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .65rem; border: 1px solid #dfe5ed; border-radius: 999px; color: #45536a; background: #fff; box-shadow: 0 1px 2px rgba(22, 34, 53, .04); font: inherit; font-size: .66rem; font-weight: 800; letter-spacing: .025em; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.chart-team:hover, .chart-team:focus-visible { border-color: #9eabc0; background: #fff; outline: none; transform: translateY(-1px); }
.chart-team span { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--team-color); box-shadow: 0 0 0 2px color-mix(in srgb, var(--team-color) 15%, transparent); }
.chart-note { display: flex; gap: 0; padding: 0 1.5rem 1.3rem; color: #657287; background: #f7f9fc; font-size: .72rem; }
.chart-note span { padding-right: 1.25rem; }
.chart-note span + span { padding-left: 1.25rem; border-left: 1px solid #d9e0e9; }
.chart-note strong { margin-right: .3rem; color: #20334f; font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; }
.ranking-empty { padding: 3rem; text-align: center; }

@media (max-width: 900px) {
    .ranking-grid { grid-template-columns: 1fr; }
    .odds-guide { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.25rem; align-items: center; }
    .odds-guide .section-kicker, .odds-guide h2 { grid-column: 1; }
    .guide-example { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}

@media (max-width: 640px) {
    .championship-page { padding-top: 1rem; }
    .ranking-hero { align-items: stretch; flex-direction: column; padding: 1.6rem; }
    .season-selector select { width: 100%; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .section-heading time { white-space: normal; }
    .odds-guide { display: block; }
    .guide-example { margin: 1.2rem 0; }
    .ranking-table th, .ranking-table td { padding: .7rem .75rem; }
    .odds-chart { min-height: 330px; padding-left: .4rem; padding-right: .6rem; }
    .odds-chart svg { height: 330px; }
    .chart-team-legend { gap: .35rem; padding: .85rem 1rem; }
    .chart-team { padding: .34rem .52rem; font-size: .62rem; }
    .chart-note { align-items: flex-start; flex-direction: column; gap: .5rem; padding: 0 1rem 1rem; }
    .chart-note span, .chart-note span + span { padding: 0; border: 0; }
}
