.page.page--match-checker:has(> .sport-hero) {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: var(--content-wide);
    padding: 0 var(--gutter) calc(64px + var(--tab-bar-space));
}

.page.page--match-checker:has(> .sport-hero) > * {
    margin: 0;
}

.page.page--match-checker:has(> .sport-hero) > .mc-detail-strip + * {
    margin-top: 0;
}

.sport-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    min-width: 0;
    padding: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse 60% 120% at 88% 0%, rgb(var(--green-rgb) / 0.08), transparent 70%),
        radial-gradient(ellipse 40% 80% at 20% 110%, rgb(var(--info-rgb) / 0.06), transparent 70%),
        var(--surface);
    box-shadow: var(--shadow-3);
}

.sport-hero__art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 58px;
    color: var(--green);
}

.sport-hero__svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 8px rgb(var(--green-rgb) / 0.25));
}

:root[data-theme="light"] .sport-hero__art {
    color: var(--green-ink);
}

:root[data-theme="light"] .sport-hero__svg {
    filter: none;
}

.sport-hero__art--tile {
    width: 56px;
    height: 56px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-sunken);
    color: var(--green-ink);
}

.sport-hero__art--tile .icon {
    width: 28px;
    height: 28px;
}

.sport-hero__copy {
    display: grid;
    justify-items: start;
    gap: 8px;
    min-width: 0;
}

.sport-hero__eyebrow {
    max-width: 100%;
    min-height: 24px;
    padding: 2px 10px;
    font-size: 0.6875rem;
    line-height: 1.4;
    text-align: left;
}

.sport-hero__title {
    margin: 4px 0 0;
    color: var(--text-strong);
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.sport-hero__lead.mc-hero__lead {
    margin: 0;
    max-width: 42rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
}

.sport-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}

.sport-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.sport-hero__actions .btn {
    flex: 0 0 auto;
}

.mc-insight {
    display: grid;
    gap: 10px;
    min-width: 0;
    margin: 0;
}

.mc-insight__heading {
    margin: 0;
    color: var(--muted);
    font-family: var(--font);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mc-insight__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
    gap: 12px;
    margin: 0;
}

@media (max-width: 767px) {
    .mc-insight__grid > .mc-insight__cell:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

.mc-insight__cell.kpi {
    min-width: 0;
    margin: 0;
}

.mc-insight__label.kpi__label {
    margin: 0;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.mc-insight__value.kpi__value {
    margin: 0;
    font-size: 1.375rem;
    font-variant-numeric: tabular-nums;
}

.mc-insight__note {
    margin: 0;
    color: var(--faint);
    font-size: 0.75rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .sport-hero {
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 32px;
        padding: 32px;
    }

    .sport-hero__art {
        width: 120px;
        height: 72px;
        margin-top: 4px;
    }

    .sport-hero__art--tile {
        width: 56px;
        height: 56px;
    }

    .sport-hero > .mc-insight {
        grid-column: 1 / -1;
    }

    .sport-hero__title {
        font-size: 2.5rem;
    }

    .sport-hero__lead.mc-hero__lead {
        font-size: 1.0625rem;
    }

    .mc-insight__grid {
        grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    }

    .mc-insight__value.kpi__value {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .sport-hero {
        grid-template-columns: auto minmax(0, 1fr) minmax(0, 30rem);
        align-items: center;
        padding: 40px 48px;
    }

    .sport-hero > .mc-insight {
        grid-column: auto;
    }

    .sport-hero .mc-insight__grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .sport-hero__title {
        font-size: 3rem;
        line-height: 1.05;
    }
}

.mc-fixtures-board {
    display: grid;
    gap: 12px;
    min-width: 0;
    margin: 0;
}

.mc-fixtures-board__head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface-3);
}

:root[data-theme="light"] .mc-fixtures-board__head {
    background: var(--surface);
    box-shadow: var(--shadow-1);
}

.mc-fixtures-board__tile {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--bg-sunken);
    color: var(--green-ink);
}

.mc-fixtures-board__tile .icon {
    width: 22px;
    height: 22px;
}

.mc-fixtures-board__title {
    min-width: 0;
    margin: 0;
    color: var(--text-strong);
    font-family: var(--display);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
}

.mc-fixtures-board__empty {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 40px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    text-align: center;
}

.mc-fixtures-board__empty .feed-state {
    margin: 0;
    color: var(--muted);
    font-size: 0.9375rem;
}

.mc-fixtures-board__empty .btn {
    flex: 0 0 auto;
}

.mc-fixtures-board__art {
    width: 120px;
    height: 72px;
    color: var(--green-ink);
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mc-fixtures-board__icon {
    width: 32px;
    height: 32px;
    color: var(--faint);
}

.mc-fixtures {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mc-fixtures > li {
    min-width: 0;
}

.mc-fixtures__link {
    color: var(--text-strong);
    text-decoration: none;
}

.mc-fixtures__date {
    white-space: nowrap;
}

.mc-fixtures-board > .mc-more {
    margin: 0;
}

@media (min-width: 768px) {
    .mc-fixtures-board__head {
        gap: 16px;
        padding: 16px 24px;
    }

    .mc-fixtures-board__title {
        font-size: 1.5rem;
    }
}

.sport-more {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.sport-more > * {
    margin: 0;
}

@media (min-width: 1024px) {
    .sport-more:has(> .mc-compare) {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        align-items: start;
    }

    .sport-more > .mc-compare {
        grid-row: span 3;
    }
}

.mc-compare,
.mc-leagues > .section-heading {
    min-width: 0;
}

.mc-compare {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.mc-compare > .section-heading,
.mc-leagues > .section-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--green-ink);
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
}

.mc-compare > .section-heading .icon {
    flex: none;
    width: 18px;
    height: 18px;
}

.mc-compare__list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mc-compare__row {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    grid-template-areas:
        "rank name value"
        "rank bar bar";
    align-items: center;
    gap: 6px 12px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    transition: background-color 0.2s ease;
}

:root[data-theme="light"] .mc-compare__row {
    box-shadow: inset 0 0 0 1px var(--border-subtle);
}

.mc-compare__rank {
    grid-area: rank;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: var(--surface-3);
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 700;
}

.mc-compare__name {
    grid-area: name;
    min-width: 0;
    overflow: hidden;
    color: var(--text-strong);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

a.mc-compare__name::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

a.mc-compare__name:focus-visible {
    outline: none;
}

.mc-compare__row:focus-within {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.mc-compare__value {
    grid-area: value;
    color: var(--text-strong);
    font-size: 0.9375rem;
    font-weight: 700;
    white-space: nowrap;
}

.mc-compare__row:first-child .mc-compare__value {
    color: var(--green-ink);
}

.mc-compare__bar {
    grid-area: bar;
    display: block;
    height: 6px;
    overflow: hidden;
    border-radius: var(--radius-pill);
    background: var(--bar-track);
}

.mc-compare__bar > span {
    display: block;
    width: var(--mc-compare-share);
    height: 100%;
    border-radius: inherit;
    background: var(--green);
}

.mc-compare__row:first-child .mc-compare__bar > span {
    box-shadow: var(--glow-bar);
}

.mc-compare > .mc-insight__note {
    margin-top: 12px;
}

@media (hover: hover) {
    .mc-compare__row:hover {
        background: var(--surface-3);
    }

    .mc-compare__row:hover .mc-compare__name {
        color: var(--green-ink);
    }
}

@media (min-width: 768px) {
    .mc-compare {
        padding: 24px;
    }
}

.mc-leagues {
    min-width: 0;
    margin: 0;
}

.mc-leagues__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mc-leagues__list > li {
    min-width: 0;
}

.mc-league-link {
    max-width: 24rem;
    margin: 0;
}

.mc-leagues__card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text-strong);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mc-leagues__card:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.mc-leagues__tile {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--surface-3);
    color: var(--green-ink);
}

.mc-leagues__tile .icon {
    width: 20px;
    height: 20px;
}

.mc-leagues__text {
    display: grid;
    flex: 1 1 auto;
    gap: 2px;
    min-width: 0;
}

.mc-leagues__name {
    min-width: 0;
    overflow: hidden;
    color: var(--text-strong);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mc-leagues__country {
    min-width: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mc-leagues__chevron {
    flex: none;
    width: 16px;
    height: 16px;
    color: var(--faint);
    transition: transform 0.2s ease;
}

@media (hover: hover) {
    .mc-leagues__card:hover {
        border-color: var(--green-line);
        box-shadow: var(--shadow-2);
        transform: translateY(-2px);
    }

    .mc-leagues__card:hover .mc-leagues__name {
        color: var(--green-ink);
    }

    .mc-leagues__card:hover .mc-leagues__chevron {
        color: var(--green-ink);
        transform: translateX(2px);
    }
}

.sport-explainer {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
    margin: 0;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--side-b);
    border-radius: var(--radius);
    background: var(--surface);
}

.sport-explainer__icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--surface-3);
    color: var(--side-b-ink);
}

.sport-explainer__icon .icon {
    width: 20px;
    height: 20px;
}

.sport-explainer__copy {
    display: grid;
    justify-items: start;
    gap: 6px;
    min-width: 0;
}

.sport-explainer__title {
    margin: 0;
    color: var(--text-strong);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.sport-explainer__text {
    margin: 0;
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.55;
}

.sport-explainer__link {
    min-height: 44px;
    font-size: 0.875rem;
}

.sport-explainer__link .icon {
    width: 16px;
    height: 16px;
}

.mc-match__swap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: var(--green-ink);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
}

.mc-match__swap .icon {
    width: 16px;
    height: 16px;
}

@media (hover: hover) {
    .mc-match__swap:hover {
        text-decoration: underline;
        text-underline-offset: 3px;
    }
}

.mc-fixtures-board__note {
    margin: 0;
    color: var(--faint);
    font-size: 0.8125rem;
    line-height: 1.5;
}

@media (min-width: 1024px) {
    .sport-hero.sport-hero--league {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        padding: 32px;
    }

    .sport-hero--league > .mc-insight {
        grid-column: 1 / -1;
    }

    .sport-hero--league .mc-insight__grid {
        grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    }

    .sport-hero--league .sport-hero__title {
        font-size: 2.5rem;
    }
}

.league-info {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.league-info > .mc-board {
    margin: 0;
}

.league-info .section-heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.league-info .section-heading .icon {
    flex: none;
    width: 18px;
    height: 18px;
}

.league-info__text {
    margin: 0;
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .league-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

.league-faq {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--green);
    border-radius: var(--radius);
    background: var(--surface);
}

.league-faq__icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--green-soft);
    color: var(--green-ink);
}

.league-faq__icon .icon {
    width: 20px;
    height: 20px;
}

.league-faq__copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.league-faq__question {
    margin: 0;
    color: var(--text-strong);
    font-family: var(--font);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.league-faq__answer {
    margin: 0;
    overflow-wrap: anywhere;
    hyphens: auto;
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.mc-leagues--rail {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.mc-leagues--rail > .section-heading {
    margin-bottom: 12px;
    color: var(--text-strong);
}

.mc-leagues--rail .mc-leagues__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.mc-leagues--rail .mc-leagues__list > li + li {
    border-top: 1px solid var(--border-subtle);
}

.mc-leagues--rail .mc-leagues__card {
    min-height: 56px;
    padding: 8px;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
}

.mc-leagues--rail .mc-leagues__tile {
    width: 32px;
    height: 32px;
}

.mc-leagues--rail .mc-leagues__name {
    font-size: 0.875rem;
    font-weight: 600;
}

.mc-leagues__all {
    min-height: 44px;
    margin-top: 8px;
    font-size: 0.8125rem;
}

.mc-leagues__all .icon {
    width: 16px;
    height: 16px;
}

@media (hover: hover) {
    .mc-leagues--rail .mc-leagues__card:hover {
        background: var(--surface-2);
        box-shadow: none;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mc-compare__row,
    .mc-leagues__card,
    .mc-leagues__chevron {
        transition: none;
    }
}

@media (hover: hover) and (prefers-reduced-motion: reduce) {
    .mc-leagues__card:hover {
        transform: none;
    }
}
