.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Welcome hero */
.section--hero {
    padding: 0;
    overflow: hidden;
}

.welcome-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.welcome-hero-text {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.welcome-hero-lockup img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    mix-blend-mode: screen;
}

.welcome-hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 28px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: #a0a0a0;
}

.welcome-hero-stats b {
    color: #d4a017;
}

.welcome-hero-lead {
    color: #e6e2da;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    max-width: 420px;
    margin: 20px 0 24px;
}

.welcome-hero-tagline {
    color: #e6e2da;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.6;
    margin: -8px 0 24px;
}

.welcome-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.welcome-hero-cta--secondary {
    margin-top: 15px;
}

.welcome-hero-btn {
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.welcome-hero-btn:hover {
    transform: translateY(-2px);
}

.welcome-hero-btn--primary {
    background: linear-gradient(135deg, #c41e3a, #d4a017);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(212, 160, 23, 0.25);
}

.welcome-hero-btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    line-height: normal;
}

.welcome-hero-btn--ghost[aria-pressed="true"] {
    background: rgba(212, 160, 23, 0.15);
    border-color: #d4a017;
}

.welcome-hero-visual {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    min-height: 260px;
}

.welcome-hero-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.welcome-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.welcome-hero-slide.is-active {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .welcome-hero-slide {
        transition: none;
    }
}

.welcome-hero-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(24, 24, 27, 0.55) 0%, rgba(24, 24, 27, 0) 28%);
}

.welcome-hero-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.welcome-hero-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #c41e3a, #d4a017);
}

.welcome-hero-progress span.run {
    width: 100%;
    /* transition-duration is set from JS (matches the carousel interval) */
    transition-property: width;
    transition-timing-function: linear;
}

@media (prefers-reduced-motion: reduce) {
    .welcome-hero-progress span.run {
        transition: none;
    }
}

.welcome-hero-img,
.welcome-hero-quicklinks-wrap {
    position: absolute;
    inset: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.35s ease, visibility 0s linear 0s;
}

.welcome-hero-quicklinks-wrap {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition-delay: 0s, 0.35s;
}

.welcome-hero.quicklinks-active .welcome-hero-img {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition-delay: 0s, 0.35s;
}

.welcome-hero.quicklinks-active .welcome-hero-quicklinks-wrap {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s, 0s;
}

.welcome-hero.quicklinks-no-anim .welcome-hero-img,
.welcome-hero.quicklinks-no-anim .welcome-hero-quicklinks-wrap,
.welcome-hero.quicklinks-no-anim .welcome-hero-visual {
    transition: none;
}

@media (prefers-reduced-motion: reduce) {
    .welcome-hero-img,
    .welcome-hero-quicklinks-wrap,
    .welcome-hero-visual {
        transition: none;
    }
}

.welcome-hero-quicklinks {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    padding: 20px;
    /* Scrolled content should ease out under the box's top edge rather than
       cut off abruptly - a mask fade works regardless of what's behind it
       (unlike a solid-color gradient overlay, which would have to match). */
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 24px);
    mask-image: linear-gradient(to bottom, transparent, black 24px);
}

.quicklinks-group + .quicklinks-group {
    margin-top: 16px;
}

.quicklinks-group-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #a0a0a0;
    margin-bottom: 8px;
}

.quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.quicklinks-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 64px;
    padding: 10px;
    border-radius: 10px;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.quicklinks-btn:hover,
.quicklinks-btn:focus-visible {
    transform: translateY(-2px);
    border-color: #d4a017;
    background: #232327;
}

@media (max-width: 320px) {
    .quicklinks-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .welcome-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .welcome-hero-text {
        padding: 30px 20px;
        order: 1;
    }

    .welcome-hero-visual {
        grid-column: 1;
        grid-row: 2;
        order: 2;
        min-height: 0;
        /* 200px at the 320px floor, scaling up gently with viewport width
           rather than staying pinned to a phone-sized box on a larger one. */
        height: min(340px, calc(200px + (100vw - 320px) * 0.3));
        transition: height 0.35s ease;
    }

    /* Only the visible carousel needs the fixed box the shooter photo was
       sized for - grow the same box once Quick Links is showing (or
       transitioning in), so its bigger button grid isn't squeezed into it. */
    .welcome-hero.quicklinks-active .welcome-hero-visual {
        height: min(520px, calc(400px + (100vw - 320px) * 0.3));
    }

    .welcome-hero-img::after {
        background: linear-gradient(180deg, rgba(24, 24, 27, 0.55) 0%, rgba(24, 24, 27, 0) 40%);
    }
}

.intro-lead {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-left: 16px;
    color: #ffffff;
    border-left: 3px solid;
    border-image: linear-gradient(180deg, #c41e3a, #d4a017) 1;
}

.intro-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #d0d0d0;
}

.intro-text:last-child {
    margin-bottom: 0;
}

.intro-small {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #a0a0a0;
    font-style: italic;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.nav-card {
    background: linear-gradient(#18181b, #18181b) padding-box,
                linear-gradient(135deg, rgba(196, 30, 58, 0.5), rgba(212, 160, 23, 0.5)) border-box;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc((100% - 40px) / 3);
    min-width: 280px;
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.25);
    background: linear-gradient(#1e1e24, #1e1e24) padding-box,
                linear-gradient(135deg, rgba(196, 30, 58, 0.8), rgba(212, 160, 23, 0.8)) border-box;
}

.nav-card-highlight {
    background: linear-gradient(#18181b, #18181b) padding-box,
                linear-gradient(135deg, #c41e3a, #d4a017) border-box;
    box-shadow: 0 0 20px rgba(212, 160, 23, 0.15);
}

.nav-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.nav-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #d4a017;
}

.nav-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #c8c8c8;
}

@media (max-width: 1024px) {
    .nav-card {
        justify-content: center;
    }

    .nav-title {
        margin-bottom: 0;
    }

    .nav-description {
        display: none;
    }
}

@media (max-width: 767px) {
    .nav-grid {
        gap: 15px;
    }

    .nav-card {
        padding: 20px;
        width: 100%;
        min-width: unset;
    }

    .nav-icon {
        display: none;
    }

    .nav-title {
        font-size: 1.1rem;
    }

    .nav-description {
        font-size: 0.85rem;
    }

    .intro-lead {
        font-size: 1.05rem;
    }

    .intro-text {
        font-size: 0.9rem;
    }

    .intro-small {
        font-size: 0.75rem;
    }
}

/* ------------------------------------------------------------------ */
/* "The Season So Far" panel (#seasonPanel, populated by season-panel.js) */
/* ------------------------------------------------------------------ */

/* --- season progress bar --- */
.sp-progress {
    background: #202024;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.sp-progress-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}

.sp-progress-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #a0a0a0;
}

.sp-progress-count {
    font-size: 1.05rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.sp-progress-count small {
    color: #c8c8c8;
    font-weight: 600;
    font-size: 0.78rem;
}

.sp-track {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.sp-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #c41e3a, #d4a017);
}

/* Three shared columns - label | done | "/ total" - so every row's slash
   lines up regardless of how many digits either side has. */
.sp-break {
    margin: 11px 0 0;
    display: grid;
    grid-template-columns: max-content max-content max-content;
    justify-content: start;
    align-items: baseline;
    column-gap: 5px;
    row-gap: 4px;
    font-size: 0.78rem;
}

.sp-pb {
    display: contents;
}

.sp-pb-k {
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-right: 14px;
}

.sp-pb-v,
.sp-pb-t {
    white-space: nowrap;
    color: #c8c8c8;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.sp-pb-v {
    text-align: right;
}

/* --- two-up stat blocks --- */
.sp-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sp-blk {
    background: #202024;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sp-blk h3 {
    margin: 0 0 10px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #d4a017;
}

/* --- team stats: League / Handicap toggle + mini A / B standings --- */
.sp-team-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.sp-team-head h3 {
    margin: 0;
}

.sp-seg {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 7px;
    overflow: hidden;
    flex-shrink: 0;
}

.sp-seg button {
    background: none;
    border: 0;
    color: #a0a0a0;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 10px;
    cursor: pointer;
}

.sp-seg button + button {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.sp-seg button[aria-pressed="true"] {
    background: rgba(212, 160, 23, 0.16);
    color: #d4a017;
}

.sp-seg button:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: -2px;
}

.sp-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

/* numbers centred under their headers, as on Tables & Averages. The # and
   team columns shrink to their content (width: 1%), so these em widths act
   as minimums and the stat columns share out the rest of the row. */
.sp-tbl th,
.sp-tbl td {
    padding: 6px 4px;
    width: 2.8em;
    text-align: center;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-tbl th:nth-child(6),
.sp-tbl td:nth-child(6) {
    width: 4em;
}

.sp-tbl th {
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a0a0a0;
    font-weight: 600;
    border-bottom-color: rgba(255, 255, 255, 0.16);
}

.sp-tbl tbody tr:last-child td {
    border-bottom: 0;
}

/* gap between the A League block and the B League block */
.sp-tbl tbody + tbody .sp-tbl-head th {
    padding-top: 20px;
}

.sp-tbl .sp-tbl-pos {
    padding-left: 0;
    width: 1%;
    text-align: left;
    color: #a0a0a0;
}

.sp-tbl .sp-tbl-team {
    padding-left: 8px;
    padding-right: 10px;
    width: 1%;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* sizing the link to its text (capped) is what lets the team column
   shrink to the longest name instead of wrapping at every word */
.sp-tbl-team a {
    display: inline-block;
    width: max-content;
    max-width: 18ch;
}

.sp-tbl td.sp-tbl-empty {
    text-align: left;
    padding-left: 8px;
    color: #a0a0a0;
}

.sp-tbl td.sp-tbl-team {
    font-weight: 600;
}

/* league name heading the team column */
.sp-tbl th.sp-tbl-team {
    color: #c8c8c8;
    font-weight: 700;
}

/* team / shooter names - same treatment as the links on Tables & Averages */
.sp-link {
    color: inherit;
    text-decoration: none;
}

.sp-link:hover {
    color: #d4a017;
    text-decoration: underline;
}

.sp-link:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
    border-radius: 2px;
}

.sp-tbl td.sp-tbl-pts {
    color: #d4a017;
    font-weight: 700;
}

.sp-empty {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: #a0a0a0;
}

/* one full-width block instead of the two-up grid (used when a pair of
   blocks has nothing to show yet and collapses to a single note) */
.sp-grid2--solo {
    grid-template-columns: 1fr;
}

/* --- top individual / team scores --- */
#spScoresRow,
#spFormRow {
    margin-top: 16px;
}

/* match date in the Top 5 Team Scores table - shrinks to its content so the
   team name keeps the room */
.sp-tbl .sp-tbl-when {
    width: 1%;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
    white-space: nowrap;
    color: #a0a0a0;
}

/* Highest Team Scores / Top 10 Highest Scores: the name column takes the spare
   width so the date and score columns sit against the right edge of the box */
#spTeamScores .sp-tbl td.sp-tbl-team,
#spTeamScores .sp-tbl th.sp-tbl-team,
#spTopScores .sp-tbl td.sp-tbl-team,
#spTopScores .sp-tbl th.sp-tbl-team,
#spEagle .sp-tbl td.sp-tbl-team,
#spEagle .sp-tbl th.sp-tbl-team,
#spRising .sp-tbl td.sp-tbl-team,
#spRising .sp-tbl th.sp-tbl-team,
#spTop .sp-tbl td.sp-tbl-team,
#spTop .sp-tbl th.sp-tbl-team {
    width: 100%;
}

#spTeamScores .sp-tbl td.sp-tbl-pts,
#spTeamScores .sp-tbl th:last-child,
#spTopScores .sp-tbl td.sp-tbl-pts,
#spTopScores .sp-tbl th:last-child,
#spEagle .sp-tbl td.sp-tbl-pts,
#spEagle .sp-tbl th:last-child,
#spRising .sp-tbl td.sp-tbl-pts,
#spRising .sp-tbl th:last-child,
#spTop .sp-tbl td.sp-tbl-pts,
#spTop .sp-tbl th:last-child {
    width: 1%;
    min-width: 3em;
    padding-right: 0;
}

/* shooter's team under their name in Top 10 Highest Scores */
.sp-tbl-team a.sp-tbl-sub {
    display: block;
    font-weight: 400;
    font-size: 0.7rem;
    color: #a0a0a0;
}

.sp-rank {
    display: flex;
    flex-direction: column;
}

.sp-rank-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-rank-row:last-child {
    border-bottom: 0;
}

/* matches the # column in the Team Stats tables */
.sp-rank-pos {
    flex-shrink: 0;
    align-self: center;
    width: 1.4em;
    margin-right: -4px;
    text-align: center;
    color: #a0a0a0;
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

.sp-rank-who {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.sp-rank-name {
    font-weight: 600;
    font-size: 0.9rem;
    overflow-wrap: break-word;
}

.sp-rank-team {
    color: #a0a0a0;
    font-size: 0.76rem;
}

.sp-rank-val {
    flex-shrink: 0;
    align-self: center;
    min-width: 3em;
    text-align: center;
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
}

/* Team name + match date on one line under a shooter's name */
.sp-rank-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
}

.sp-rank-when {
    color: #8a8a90;
    font-size: 0.76rem;
    white-space: nowrap;
}

/* Top 10 lists are twice as long as the other lists - tighter rows keep them
   close to the box beside them */
#spTop .sp-rank-row,
#spTopScores .sp-rank-row {
    padding: 5px 0;
}

#spTop .sp-rank-name,
#spTop .sp-rank-val,
#spTopScores .sp-rank-name,
#spTopScores .sp-rank-val {
    font-size: 0.84rem;
}

#spTop .sp-rank-team,
#spTopScores .sp-rank-team,
#spTopScores .sp-rank-when {
    font-size: 0.7rem;
}

/* the score is the headline number in the Top 10 Individual Scores list */
#spTopScores .sp-rank-val {
    color: #d4a017;
}

.sp-foot {
    margin-top: auto;
    padding-top: 14px;
}

.sp-foot a {
    color: #e07a3f;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
}

.sp-foot a:hover {
    text-decoration: underline;
}

/* --- coming up --- */
/* Sits inside the season progress box, under the progress bar, separated by
   a rule rather than a second card. */
.sp-coming {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.sp-coming-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

.sp-coming-head h3 {
    margin: 0;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #d4a017;
}

.sp-when {
    margin-left: auto;
    text-align: right;
    font-size: 0.85rem;
    color: #c8c8c8;
    font-weight: 600;
}

.sp-cu {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-cu:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
}

.sp-cu-tag {
    display: block;
    margin-bottom: 2px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #a0a0a0;
}

.sp-cu-tag.event {
    color: #d4a017;
}

.sp-cu-tag.comp {
    color: #e07a3f;
}

.sp-cu-main {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.4;
    container-type: inline-size;
}

.sp-cu-fx {
    white-space: nowrap;
}

.sp-cu-fx .sp-vs {
    color: #c41e3a;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* teams share a line while they fit; stack (vs on its own line) when they don't */
@container (max-width: 340px) {
    .sp-cu-fx {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        white-space: normal;
    }

    .sp-cu-fx .sp-vs {
        margin: 1px 0;
    }
}

.sp-cu-main .sp-bye {
    color: #a0a0a0;
    font-weight: 500;
}

.sp-coming .sp-foot {
    padding-top: 12px;
}

@media (max-width: 860px) {
    .sp-grid2 {
        grid-template-columns: 1fr;
    }
}

/* phones: smaller minimum widths for the stat columns (W/D/L are 1-2
   digits, AVE like "298.5") and team names capped at ~11 characters
   before they wrap, so the stats keep their room */
@media (max-width: 480px) {
    .sp-tbl th,
    .sp-tbl td {
        width: 2em;
        padding-left: 1px;
        padding-right: 1px;
    }

    .sp-tbl th:nth-child(6),
    .sp-tbl td:nth-child(6) {
        width: 3.4em;
    }

    .sp-tbl th:nth-child(7),
    .sp-tbl td:nth-child(7) {
        width: 2.4em;
    }

    .sp-tbl .sp-tbl-team {
        padding-right: 4px;
    }

    .sp-tbl-team a {
        max-width: 11ch;
    }
}

/* narrow phones (down to 320px): smaller type and less padding around the
   Key Stats boxes so the team column keeps ~9 characters */
@media (max-width: 380px) {
    .section--season {
        padding: 16px;
    }

    .sp-blk {
        padding: 14px 12px;
    }

    .sp-tbl {
        font-size: 0.75rem;
    }

    .sp-tbl th,
    .sp-tbl td {
        width: 1.8em;
    }

    .sp-tbl th:nth-child(6),
    .sp-tbl td:nth-child(6) {
        width: 3.2em;
    }

    .sp-tbl th:nth-child(7),
    .sp-tbl td:nth-child(7) {
        width: 2.4em;
    }

    .sp-tbl .sp-tbl-team {
        padding-left: 6px;
    }

    .sp-tbl-team a {
        max-width: 9ch;
    }
}
