/* ============================================================
   alabama-playoffs-2026.css
   The 2026 playoff page: classification tabs, the BracketNest
   embed and the odds-by-round table. Layout and type come from
   alabama-rankings.css and article.css.

   Tokens (from alabama-rankings.css):
     navy #16264c . red #d7222d . bg #f2f5f9 . card #ffffff
     border #d5dce8 . hairline #eef1f6 . ink #26314e . muted #46516b
   ============================================================ */

/* The bracket and the wide table need more room than an article column. */
.playoffs-container {
    max-width: 1100px;
}

.playoff-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0 1.25rem;
}

.playoff-tabs button {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #16264c;
    background: #ffffff;
    border: 1px solid #d5dce8;
    border-radius: 4px;
    padding: 0.45rem 1.15rem;
    min-height: 44px;
    cursor: pointer;
}

.playoff-tabs button:hover {
    border-color: #16264c;
}

.playoff-tabs button.active {
    background: #16264c;
    border-color: #16264c;
    color: #ffffff;
}

.playoff-tabs button:focus-visible {
    outline: 2px solid #d7222d;
    outline-offset: 2px;
}

.playoff-panel {
    margin-bottom: 2.5rem;
}

.playoff-loading {
    color: #46516b;
}

.playoff-summary {
    background: #eef3fb;
    border-left: 3px solid #d7222d;
    padding: 1rem 1.25rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.playoff-summary p {
    margin: 0;
}

.bracket-embed {
    background: #ffffff;
    border: 1px solid #d5dce8;
    border-radius: 6px;
    padding: 0.5rem;
    margin-bottom: 2rem;
}

.bracket-embed iframe {
    display: block;
    width: 100%;
    /* The script sets the height to fit BracketNest's scaled grid. */
    height: 900px;
    border: none;
}

.bracket-credit {
    font-size: 0.85rem;
    color: #46516b;
    margin: 0.5rem 0.5rem 0.25rem;
}

.odds-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #16264c;
    margin: 0 0 0.5rem;
}

/* Wide tables scroll inside their own box, never the page. */
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-scroll .data-table {
    margin: 1rem 0;
}

.odds-table {
    min-width: 640px;
}

.odds-table th,
.odds-table td {
    padding: 0.6rem 0.75rem;
    white-space: nowrap;
}

.odds-table thead th {
    font-size: 0.9rem;
    vertical-align: bottom;
}

.round-date {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.8;
}

/* Row headers are team names: keep them light, not the navy header fill. */
.odds-table tbody th {
    background: transparent;
    color: #26314e;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
    min-width: 170px;
}

.team-name {
    display: block;
    font-weight: 600;
}

.team-meta {
    display: block;
    font-size: 0.78rem;
    font-weight: 400;
    color: #46516b;
}

.odds-table td {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.odds-table thead th:not(:first-child) {
    text-align: right;
}

.title-odds {
    font-weight: 700;
    color: #16264c;
}

.odds-bar {
    display: block;
    height: 4px;
    margin-top: 4px;
    background: #eef1f6;
    border-radius: 2px;
    overflow: hidden;
}

.odds-bar span {
    display: block;
    height: 100%;
    background: #d7222d;
}

.odds-table tr.eliminated th,
.odds-table tr.eliminated td {
    color: #8a94ab;
}

.odds-table tr.eliminated .team-name {
    text-decoration: line-through;
}

.odds-note {
    font-size: 0.85rem;
    color: #46516b;
}


.jump-link {
    margin: 0 0 1rem;
}

.jump-link .hero-btn {
    display: inline-block;
    text-decoration: none;
}

#playoff-odds {
    scroll-margin-top: 100px;
}
