.match-semantic-heading {
    margin: 0 0 1rem;
    text-align: center;
}

.match-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
    color: #868e96;
    font-size: 0.72rem;
}

.match-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.match-breadcrumb a:hover {
    color: #495057;
    text-decoration: underline;
}

.match-breadcrumb__dot {
    color: currentColor;
    font-size: 0.38em;
    opacity: 0.62;
}

.match-page-heading {
    margin: 0;
    color: #495057;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.45;
}

.match-semantic-heading.live .match-breadcrumb,
.match-semantic-heading.live .match-page-heading {
    color: rgba(255, 255, 255, 0.82);
}

.match-page-wing {
    display: none;
}

.postseason-match-context {
    display: flex;
    justify-content: center;
    margin: -0.15rem 0 1rem;
}

.postseason-match-context__link {
    display: inline-flex;
    min-height: 2.7rem;
    align-items: center;
    gap: 0.65rem;
    padding: 0.48rem 0.52rem 0.48rem 0.78rem;
    border: 1px solid #e2e5e9;
    border-radius: 0.75rem;
    background: #fff;
    color: #20252b;
    box-shadow: 0 4px 14px rgba(33, 37, 41, 0.045);
    text-decoration: none;
    transition: border-color 0.18s ease, background-color 0.18s ease,
                box-shadow 0.18s ease, transform 0.18s ease;
}

.postseason-match-context__link:hover {
    border-color: #cbd0d6;
    background: #f8f9fa;
    color: #111418;
    box-shadow: 0 7px 18px rgba(33, 37, 41, 0.08);
    transform: translateY(-1px);
}

.postseason-match-context__link:focus-visible {
    outline: 2px solid rgba(33, 37, 41, 0.28);
    outline-offset: 2px;
}

.postseason-match-context__copy {
    display: flex;
    flex-direction: column;
    gap: 0.02rem;
    text-align: left;
}

.postseason-match-context__eyebrow {
    color: #8b929a;
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.105em;
    line-height: 1.2;
}

.postseason-match-context__copy strong {
    color: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.4;
}

.postseason-match-context__arrow {
    display: inline-flex;
    width: 1.65rem;
    height: 1.65rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: #f1f3f5;
    color: #697078;
    font-size: 0.62rem;
    transition: background-color 0.18s ease, color 0.18s ease,
                transform 0.18s ease;
}

.postseason-match-context__link:hover .postseason-match-context__arrow {
    background: #212529;
    color: #fff;
    transform: translateX(1px);
}

@media (max-width: 575.98px) {
    .postseason-match-context {
        margin-bottom: 0.85rem;
    }

    .postseason-match-context__link {
        min-height: 2.55rem;
        padding: 0.42rem 0.46rem 0.42rem 0.68rem;
    }

    .postseason-match-context__arrow {
        width: 1.5rem;
        height: 1.5rem;
    }
}

@media (min-width: 992px) {
    .match-page-wing.is-visible {
        position: fixed;
        top: 50%;
        z-index: 50;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 72px;
        height: 156px;
        padding: 0;
        border: 0;
        border-radius: 36px;
        background: transparent;
        color: var(--theme-main-color, var(--primary-color, #212529));
        box-shadow: none;
        font-size: 1.35rem;
        text-decoration: none;
        opacity: 0.64;
        transform: translateY(-50%);
        transition: opacity 0.18s ease;
    }
    .match-page-wing.is-visible::before {
        content: '';
        position: absolute;
        inset: 22px 10px;
        z-index: -1;
        border-radius: 26px;
        background: transparent;
        box-shadow: none;
        transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    }
    .match-page-wing.is-visible i { transition: transform 0.18s ease; }
    .match-page-wing.is-visible:hover {
        background: transparent;
        box-shadow: none;
        opacity: 1;
        transform: translateY(-50%);
    }
    .match-page-wing.is-visible:hover::before {
        background: #fff;
        box-shadow: 0 8px 24px color-mix(in srgb, var(--theme-main-color, var(--primary-color, #212529)) 18%, transparent);
        transform: scale(1.04);
    }
    .match-page-wing.is-visible:hover i { transform: scale(1.12); }
    .match-page-wing.is-visible:focus-visible {
        opacity: 0.85;
        outline: 2px solid color-mix(in srgb, var(--theme-main-color, var(--primary-color, #212529)) 34%, transparent);
        outline-offset: -10px;
    }
    /* 800px content / 2 + 12px gutter + the entire 72px hit target. */
    .match-page-wing.left { left: calc(50% - 484px); }
    .match-page-wing.right { right: calc(50% - 484px); }
}
@media (min-width: 1440px) {
    /* Keep the ad rails outside the navigation hit targets as well. */
    .match-layout-page .tb-ad-slot--match-left { right: calc(50% + 496px); }
    .match-layout-page .tb-ad-slot--match-right { left: calc(50% + 496px); }
}
.match-context-navigation {
    width: 100%;
    max-width: none;
    margin: 1.15rem 0 1.25rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.match-context-navigation__trigger {
    display: grid;
    width: 100%;
    min-height: 3.55rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.72rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid #e9ecef;
    border-radius: 0.9rem;
    background: #f8f9fa;
    color: #495057;
    text-align: left;
    transition: border-color 0.18s ease, background-color 0.18s ease,
                box-shadow 0.18s ease, transform 0.18s ease;
}

.match-context-navigation__trigger:hover,
.match-context-navigation__trigger:focus-visible {
    border-color: color-mix(in srgb, var(--primary-color, #495057) 24%, transparent);
    background: #fff;
    color: var(--primary-color, #212529);
    box-shadow: 0 7px 20px rgba(33, 37, 41, 0.08);
    transform: translateY(-1px);
}

.match-context-navigation__trigger:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--primary-color, #495057) 25%, transparent);
    outline-offset: 2px;
}

.match-context-navigation__trigger-icon {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.65rem;
    background: color-mix(in srgb, var(--primary-color, #495057) 9%, #fff);
    color: var(--primary-color, #495057);
    font-size: 0.86rem;
}

.match-context-navigation__trigger-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.05rem;
}

.match-context-navigation__trigger-copy strong {
    color: #343a40;
    font-size: 0.79rem;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.match-context-navigation__trigger-copy span {
    overflow: hidden;
    color: #929aa2;
    font-size: 0.64rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-context-navigation__trigger-arrow {
    color: #adb5bd;
    font-size: 0.74rem;
}

.match-reference-guides__header .match-context-navigation {
    width: auto;
    flex: 0 0 auto;
    margin: 0;
}

.match-reference-guides__header .match-context-navigation__trigger {
    display: inline-grid;
    width: auto;
    min-height: 2.15rem;
    grid-template-columns: auto auto auto;
    gap: 0.35rem;
    padding: 0.35rem 0.58rem;
    border-radius: 999px;
    background: #fff;
}

.match-reference-guides__header .match-context-navigation__trigger-icon {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    font-size: 0.68rem;
}

.match-reference-guides__header .match-context-navigation__trigger-copy strong {
    font-size: 0.68rem;
    white-space: nowrap;
}

.match-reference-guides__header .match-context-navigation__trigger-copy span {
    display: none;
}

.match-reference-guides__header .match-context-navigation__trigger-arrow {
    font-size: 0.62rem;
}

.match-navigation-panel {
    --bs-offcanvas-width: min(430px, 92vw);
    border-left: 1px solid rgba(33, 37, 41, 0.08);
    background: #f8f9fa;
    color: #343a40;
    box-shadow: -18px 0 44px rgba(33, 37, 41, 0.12);
}

body:has(.match-navigation-panel.show) .tb-ad-slot--match-rail {
    z-index: 9;
    pointer-events: none;
}

body:has(.match-navigation-panel.show) .match-page-wings {
    opacity: 0;
    pointer-events: none;
}

.match-navigation-panel__header {
    align-items: flex-start;
    padding: 1.15rem 1.1rem 1rem;
    border-bottom: 1px solid rgba(33, 37, 41, 0.08);
    background: #fff;
}

.match-navigation-panel__title {
    color: #212529;
    font-size: 1rem;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.match-navigation-panel__subtitle {
    margin: 0.22rem 0 0;
    color: #868e96;
    font-size: 0.69rem;
    font-weight: 600;
}

.match-navigation-panel__body {
    padding: 1rem;
    overscroll-behavior: contain;
}

.match-navigation-panel .match-context-navigation__daily,
.match-navigation-panel .team-navigation-card,
.match-navigation-panel .match-context-navigation__link {
    background: #fff;
}

.match-navigation-panel .match-context-navigation__links,
.match-navigation-panel .team-navigation-grid {
    grid-template-columns: minmax(0, 1fr);
}

.match-context-navigation__daily {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.8rem;
    border: 1px solid color-mix(in srgb, var(--primary-color, #495057) 10%, transparent);
    border-radius: 0.9rem;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--primary-color, #495057) 7%, #fff),
        #fff 72%);
    color: #343a40;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.match-context-navigation__daily:hover {
    border-color: color-mix(in srgb, var(--primary-color, #495057) 24%, transparent);
    color: var(--primary-color, #212529);
    box-shadow: 0 8px 22px rgba(33, 37, 41, 0.08);
    transform: translateY(-1px);
}

.match-context-navigation__daily-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.8rem;
    background: var(--primary-color, #495057);
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 6px 14px color-mix(in srgb, var(--primary-color, #495057) 22%, transparent);
}

.match-context-navigation__daily-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.08rem;
}

.match-context-navigation__daily-copy strong {
    overflow: hidden;
    color: #212529;
    font-size: 0.92rem;
    font-weight: 850;
    letter-spacing: -0.035em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-context-navigation__eyebrow {
    color: #929aa2;
    font-size: 0.64rem;
    font-weight: 750;
    letter-spacing: -0.015em;
}

.match-context-navigation__count,
.match-context-navigation__section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.7rem;
    padding: 0.3rem 0.5rem;
    border-radius: 999px;
    background: #f1f3f5;
    color: #6c757d;
    font-size: 0.66rem;
    font-weight: 800;
}

.match-context-navigation__daily-arrow {
    color: #adb5bd;
    font-size: 0.78rem;
}

.match-context-navigation__group {
    margin-top: 0.9rem;
    padding: 0.9rem 0 0;
    border-top: 1px solid rgba(33, 37, 41, 0.07);
}

.match-context-navigation__section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 0.65rem;
    padding: 0 0.15rem;
}

.match-context-navigation__section-heading > div {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.match-context-navigation__label {
    margin: 0;
    color: #343a40;
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.match-context-navigation__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.match-context-navigation__link {
    position: relative;
    display: grid;
    min-width: 0;
    border: 1px solid #eef0f2;
    border-radius: 0.9rem;
    background: #fbfcfd;
    color: #495057;
    text-decoration: none;
    transition: border-color 0.18s ease, background-color 0.18s ease,
                transform 0.18s ease, box-shadow 0.18s ease;
}

.match-context-navigation__link:hover {
    border-color: color-mix(in srgb, var(--primary-color, #495057) 22%, transparent);
    background: #fff;
    color: var(--primary-color, #212529);
    box-shadow: 0 8px 20px rgba(33, 37, 41, 0.08);
    transform: translateY(-1px);
}

.match-context-navigation__link--matchup {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.7rem;
}

.match-context-navigation__link--matchup:has(.match-context-navigation__result) {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
}

.match-context-navigation__link--matchup:has(> .badge) {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
}

.match-context-navigation__link--matchup:has(> .badge):has(.match-context-navigation__result) {
    grid-template-columns: auto auto minmax(0, 1fr) auto auto;
}

.match-context-navigation__time {
    color: #868e96;
    font-size: 0.67rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.match-context-navigation__matchup {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.match-context-navigation__team {
    display: inline-flex;
    min-width: 0;
    flex: 1 1 0;
    align-items: center;
    gap: 0.32rem;
    font-size: 0.7rem;
    font-weight: 780;
    letter-spacing: -0.035em;
}

.match-context-navigation__team--home {
    flex-direction: row-reverse;
    text-align: right;
}

.match-context-navigation__team img {
    width: 1.4rem;
    height: 1.4rem;
    flex: 0 0 auto;
    object-fit: contain;
}

.match-context-navigation__team span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-context-navigation__versus {
    flex: 0 0 auto;
    color: #c0c5ca;
    font-size: 0.55rem;
    font-weight: 850;
    text-transform: uppercase;
}

.match-context-navigation__result {
    display: inline-flex;
    min-width: 2.8rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.05rem;
    color: #343a40;
    font-variant-numeric: tabular-nums;
}

.match-context-navigation__result-score {
    display: inline-flex;
    align-items: center;
    gap: 0.16rem;
    font-size: 0.75rem;
    font-weight: 900;
    line-height: 1;
}

.match-context-navigation__result-score.is-hidden {
    display: none;
}

.match-context-navigation__result small {
    max-width: 4.2rem;
    overflow: hidden;
    color: #868e96;
    font-size: 0.55rem;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-context-navigation__card-arrow {
    color: #c1c6cb;
    font-size: 0.68rem;
}

.team-navigation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.team-navigation-card {
    min-width: 0;
    padding: 0.55rem;
    border: 1px solid #eceff1;
    border-radius: 1rem;
    background: #fff;
}

.team-navigation-card[hidden] {
    display: none;
}

.team-navigation-card__header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.05rem 0.15rem 0.55rem;
}

.team-navigation-card__header img {
    width: 1.65rem;
    height: 1.65rem;
    object-fit: contain;
}

.team-navigation-card__header strong {
    min-width: 0;
    overflow: hidden;
    color: #343a40;
    font-size: 0.73rem;
    font-weight: 850;
    letter-spacing: -0.035em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-navigation-card__header span {
    margin-left: auto;
    color: #adb5bd;
    font-size: 0.58rem;
    font-weight: 700;
}

.team-navigation-card__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
}

.team-navigation-card__link {
    display: flex;
    min-width: 0;
    min-height: 5.15rem;
    flex-direction: column;
    gap: 0.12rem;
    padding: 0.55rem 0.58rem;
    border: 1px solid transparent;
    border-radius: 0.72rem;
    background: #f6f7f8;
    color: #495057;
    text-decoration: none;
    transition: border-color 0.18s ease, background-color 0.18s ease,
                transform 0.18s ease;
}

.team-navigation-card__link:hover {
    border-color: color-mix(in srgb, var(--primary-color, #495057) 20%, transparent);
    background: color-mix(in srgb, var(--primary-color, #495057) 5%, #fff);
    color: var(--primary-color, #212529);
    transform: translateY(-1px);
}

.team-navigation-card__direction {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.18rem;
    color: #929aa2;
    font-size: 0.61rem;
    font-weight: 800;
}

.team-navigation-card__link time {
    color: #868e96;
    font-size: 0.62rem;
    font-weight: 750;
}

.team-navigation-card__link strong {
    display: -webkit-box;
    overflow: hidden;
    color: #3f464d;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.match-context-navigation.has-favorite-team .team-navigation-grid {
    grid-template-columns: minmax(0, 1fr);
}

.match-context-navigation.has-favorite-team .team-navigation-card {
    width: 100%;
}

@media (max-width: 575px) {
    .match-context-navigation {
        margin: 1rem 0;
        padding: 0;
    }

    .match-context-navigation__trigger {
        min-height: 3.35rem;
        padding: 0.58rem 0.7rem;
    }

    .match-reference-guides__header .match-context-navigation__trigger {
        min-height: 2rem;
        gap: 0.28rem;
        padding: 0.32rem 0.5rem;
    }

    .match-reference-guides__header .match-context-navigation__trigger-icon {
        display: none;
    }

    .match-navigation-panel.offcanvas-end {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: min(78vh, 680px);
        border-top: 1px solid rgba(33, 37, 41, 0.08);
        border-left: 0;
        border-radius: 1.25rem 1.25rem 0 0;
        box-shadow: 0 -18px 44px rgba(33, 37, 41, 0.16);
        transform: translateY(100%);
    }

    .match-navigation-panel.offcanvas-end.show:not(.hiding),
    .match-navigation-panel.offcanvas-end.showing {
        transform: none;
    }

    .match-navigation-panel__header {
        padding-top: 1rem;
    }

    .match-context-navigation__daily {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.58rem;
        padding: 0.72rem;
    }

    .match-context-navigation__daily-arrow {
        display: none;
    }

    .match-context-navigation__daily-icon {
        width: 2.25rem;
        height: 2.25rem;
    }

    .match-context-navigation__links,
    .team-navigation-grid {
        grid-template-columns: 1fr;
    }

    .match-context-navigation__link--matchup {
        padding: 0.62rem;
    }

    .team-navigation-card__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
