/*
 * `/playoff` -- the playoff odds. PLAYOFF-1. The table is the résumé list
 * view's (resume.css); this sheet adds the chance columns, the meter behind
 * the playoff chance, and the note under the table. Colours come from
 * theme.css; this sheet writes no hex value.
 */

.lede a { color: var(--brand-blue); }
.lede a:hover { color: var(--brand-paper); }

.odds-table .col-proj { color: var(--text-muted); white-space: nowrap; }

.odds-table .col-chance {
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--text-soft);
    white-space: nowrap;
}

/* The column the page is about: the strongest type, and a bar behind the
   number so the table reads as a ladder at a glance. */
.odds-table .col-playoff {
    position: relative;
    min-width: 92px;
    font-weight: 800;
    color: var(--text-strong);
}

.odds-meter {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 50%;
    height: 22px;
    transform: translateY(-50%);
    border-radius: var(--radius-sm);
    background: rgba(62, 146, 204, 0.12);
    overflow: hidden;
}

.odds-fill {
    /* Its width is the chance, set on the element. */
    display: block;
    height: 100%;
    background: var(--brand-gradient);
    opacity: 0.75;
}

/* Above the bar, not under it. */
.odds-value {
    position: relative;
    padding-right: 6px;
}

.odds-note {
    max-width: 760px;
    margin: 18px auto 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* The national title: the page's second number, after the field. */
.odds-table .col-title { font-weight: 800; color: var(--gold); }

/* A phone keeps the record, the playoff chance, the bye and the title; the
   projected record, both conference columns and the semifinal go, as the
   conference badge does in resume.css. */
@media (max-width: 640px) {
    .odds-table .col-proj,
    .odds-table .col-final,
    .odds-table .col-champ,
    .odds-table .col-semis { display: none; }
    .odds-table .col-playoff { min-width: 68px; }
}
