:root {

    --hero:
        radial-gradient(
            circle at 82% 16%,
            rgba(90, 208, 255, .25),
            transparent 28%
        ),

        radial-gradient(
            circle at 8% 100%,
            rgba(170, 90, 255, .28),
            transparent 34%
        ),

        linear-gradient(
            120deg,
            #08152a 0%,
            #172859 45%,
            #5535a8 100%
        );

    --text:
        #172033;

    --muted:
        #69778b;

    --border:
        #e2e8f0;

    --page-width:
        1180px;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color:
        var(--text);

    background:
        linear-gradient(
            180deg,
            #eef3f9,
            #f8fafc 45%,
            #ffffff
        );

    overflow-x:
        hidden;
}


a {
    color: inherit;
}


.today-topbar {

    position: sticky;

    top: 0;

    z-index: 100;

    background:
        rgba(255,255,255,.94);

    backdrop-filter:
        blur(15px);

    border-bottom:
        1px solid
        var(--border);
}


.today-topbar-inner {

    width:
        min(
            var(--page-width),
            calc(100% - 30px)
        );

    min-height:
        62px;

    margin:
        0 auto;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        15px;
}


.today-brand {

    color:
        #172033;

    text-decoration:
        none;

    font-weight:
        900;
}


.today-top-links {

    display:
        flex;

    gap:
        7px;
}


.today-top-links a {

    padding:
        8px 11px;

    border-radius:
        999px;

    background:
        #eef2f8;

    color:
        #48566d;

    text-decoration:
        none;

    font-size:
        .72rem;

    font-weight:
        750;
}


.breadcrumbs {

    width:
        min(
            var(--page-width),
            calc(100% - 30px)
        );

    margin:
        0 auto;

    padding:
        12px 0;

    display:
        flex;

    align-items:
        center;

    gap:
        7px;

    overflow-x:
        auto;

    white-space:
        nowrap;

    color:
        #78869a;

    font-size:
        .72rem;

    scrollbar-width:
        none;
}


.breadcrumbs::-webkit-scrollbar {
    display: none;
}


.breadcrumbs a {

    color:
        #536178;

    text-decoration:
        none;
}


.today-hero {

    width:
        min(
            var(--page-width),
            calc(100% - 30px)
        );

    margin:
        0 auto;

    padding:
        48px;

    border-radius:
        26px;

    color:
        #ffffff;

    background:
        var(--hero);

    box-shadow:
        0 24px 60px
        rgba(24,38,78,.20);
}


.today-label,
.section-kicker {

    color:
        #a9dcff;

    font-size:
        .68rem;

    font-weight:
        900;

    letter-spacing:
        .12em;
}


.today-hero h1 {

    margin:
        9px 0 0;

    font-size:
        clamp(
            2.3rem,
            5vw,
            4.7rem
        );

    line-height:
        1;

    letter-spacing:
        -.05em;
}


.today-hero p {

    margin:
        17px 0 0;

    color:
        #d5e1f2;

    font-size:
        1rem;
}


.today-hero-actions {

    margin-top:
        22px;

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        8px;
}


.hero-action {

    min-height:
        42px;

    padding:
        0 15px;

    display:
        inline-flex;

    align-items:
        center;

    border-radius:
        11px;

    text-decoration:
        none;

    font-size:
        .74rem;

    font-weight:
        800;
}


.hero-action-primary {

    background:
        #ffffff;

    color:
        #172859;
}


.hero-action-secondary {

    color:
        #ffffff;

    background:
        rgba(255,255,255,.10);

    border:
        1px solid
        rgba(255,255,255,.14);
}


.today-main {

    width:
        min(
            var(--page-width),
            calc(100% - 30px)
        );

    margin:
        28px auto 50px;
}


.today-games-section,
.next-games-section,
.today-quick-links {

    margin-bottom:
        38px;
}


.section-heading {

    margin-bottom:
        14px;
}


.section-heading .section-kicker {

    color:
        #6550cb;
}


.section-heading h2 {

    margin:
        5px 0 0;

    font-size:
        1.55rem;
}


.section-heading p {

    margin:
        5px 0 0;

    color:
        var(--muted);

    font-size:
        .82rem;
}


.today-game-rail {

    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap:
        12px;
}


.today-game-card {

    min-width:
        0;

    padding:
        17px;

    display:
        flex;

    flex-direction:
        column;

    min-height:
        220px;

    border-radius:
        18px;

    color:
        #ffffff;

    background:
        var(--hero);

    border:
        1px solid
        rgba(255,255,255,.10);

    box-shadow:
        0 14px 32px
        rgba(20,34,72,.16);
}


.today-card-top {

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;
}


.today-matchweek,
.today-status {

    padding:
        4px 7px;

    border-radius:
        999px;

    font-size:
        .57rem;

    font-weight:
        900;
}


.today-matchweek {

    color:
        #d8e4f6;

    background:
        rgba(255,255,255,.08);
}


.today-status {

    color:
        #d8cfff;

    background:
        rgba(129,101,255,.22);
}


.today-kickoff {

    margin-top:
        11px;

    color:
        #cbd7e9;

    font-size:
        .68rem;
}


.today-teams {

    flex:
        1;

    margin-top:
        16px;

    display:
        grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items:
        center;

    gap:
        8px;
}


.today-team {

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    gap:
        6px;

    text-align:
        center;
}


.today-team strong {

    color:
        #ffffff;

    font-size:
        .78rem;
}


.today-team-logo,
.today-team-badge {

    width:
        40px;

    height:
        40px;
}


.today-team-logo {

    object-fit:
        contain;
}


.today-team-badge {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        12px;

    color:
        #ffffff;

    background:
        rgba(255,255,255,.09);

    border:
        1px solid
        rgba(255,255,255,.10);

    font-size:
        .64rem;

    font-weight:
        900;
}


.today-vs {

    min-width:
        54px;

    text-align:
        center;
}


.today-vs-text {

    color:
        #aebbd0;

    font-size:
        .64rem;

    font-weight:
        900;
}


.today-score {

    min-height:
        43px;

    padding:
        6px 8px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;

    border-radius:
        12px;

    background:
        rgba(255,255,255,.09);

    border:
        1px solid
        rgba(255,255,255,.10);
}


.today-score strong {

    font-size:
        1.2rem;
}


.today-score span {

    color:
        #9eabc0;
}


.today-venue {

    margin-top:
        12px;

    color:
        #aebbd0;

    font-size:
        .63rem;

    text-align:
        center;
}


.today-details-link {

    margin-top:
        13px;

    min-height:
        36px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        10px;

    color:
        #ffffff;

    text-decoration:
        none;

    font-size:
        .68rem;

    font-weight:
        800;

    background:
        linear-gradient(
            135deg,
            #2b83e3,
            #7052df
        );
}


.today-empty,
.today-loading {

    grid-column:
        1 / -1;

    min-height:
        120px;

    padding:
        25px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    gap:
        6px;

    border:
        1px dashed
        var(--border);

    border-radius:
        17px;

    background:
        #ffffff;

    color:
        #738196;

    text-align:
        center;
}


.view-all-fixtures {

    margin-top:
        14px;

    display:
        inline-flex;

    color:
        #5746c1;

    font-size:
        .75rem;

    font-weight:
        800;

    text-decoration:
        none;
}


.quick-link-grid {

    display:
        grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0,1fr)
        );

    gap:
        10px;
}


.quick-link-card {

    min-height:
        120px;

    padding:
        17px;

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    align-items:
        center;

    gap:
        5px;

    border-radius:
        17px;

    color:
        #ffffff;

    text-decoration:
        none;

    background:
        var(--hero);

    box-shadow:
        0 11px 27px
        rgba(20,34,72,.14);
}


.quick-link-card > span {

    font-size:
        1.3rem;
}


.quick-link-card strong {

    font-size:
        .82rem;
}


.quick-link-card small {

    color:
        #b9c7da;

    font-size:
        .64rem;
}


.tv-guide-card {

    margin:
        40px 0;

    padding:
        28px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        30px;

    border-radius:
        22px;

    color:
        #ffffff;

    background:
        var(--hero);

    box-shadow:
        0 17px 40px
        rgba(20,34,72,.16);
}


.tv-guide-card h2 {

    margin:
        5px 0 0;
}


.tv-guide-card p {

    max-width:
        700px;

    color:
        #c8d4e6;

    line-height:
        1.7;
}


.tv-guide-note {

    color:
        #9facbf !important;

    font-size:
        .7rem;
}


.tv-guide-button {

    flex:
        0 0 auto;

    min-height:
        43px;

    padding:
        0 15px;

    display:
        flex;

    align-items:
        center;

    border-radius:
        11px;

    background:
        #ffffff;

    color:
        #172859;

    text-decoration:
        none;

    font-size:
        .72rem;

    font-weight:
        850;
}


.today-seo {

    margin:
        40px 0;

    padding:
        30px;

    border:
        1px solid
        var(--border);

    border-radius:
        22px;

    background:
        #ffffff;
}


.today-seo .section-kicker {

    color:
        #6550cb;
}


.today-seo h2 {

    margin:
        6px 0 18px;

    font-size:
        1.55rem;
}


.today-seo h3 {

    margin:
        24px 0 7px;

    font-size:
        1rem;
}


.today-seo p {

    color:
        #667489;

    line-height:
        1.8;

    font-size:
        .86rem;
}


.today-seo a {

    color:
        #5d49cc;

    font-weight:
        800;
}


footer {

    margin-top:
        50px;

    padding:
        35px 20px;

    text-align:
        center;

    background:
        #101827;

    color:
        #8190a5;
}


footer nav {

    display:
        flex;

    flex-wrap:
        wrap;

    justify-content:
        center;

    gap:
        13px;
}


footer a {

    color:
        #c0cbda;

    text-decoration:
        none;

    font-size:
        .72rem;
}


footer p {

    margin-top:
        17px;

    font-size:
        .68rem;
}


@media (max-width: 900px) {

    .today-game-rail {

        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }


    .quick-link-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }

}


@media (max-width: 600px) {

    .today-topbar-inner {

        width:
            calc(100% - 20px);
    }


    .today-top-links {

        overflow-x:
            auto;

        scrollbar-width:
            none;
    }


    .today-top-links::-webkit-scrollbar {

        display:
            none;
    }


    .today-top-links a {

        flex:
            0 0 auto;
    }


    .breadcrumbs {

        width:
            calc(100% - 20px);
    }


    .today-hero {

        width:
            calc(100% - 20px);

        padding:
            30px 21px;

        border-radius:
            20px;
    }


    .today-hero h1 {

        font-size:
            2.15rem;
    }


    .today-hero-actions {

        flex-wrap:
            nowrap;

        overflow-x:
            auto;

        scrollbar-width:
            none;
    }


    .today-hero-actions::-webkit-scrollbar {

        display:
            none;
    }


    .hero-action {

        flex:
            0 0 auto;
    }


    .today-main {

        width:
            calc(100% - 20px);

        margin-top:
            18px;
    }


    /*
     * No vertical card trail.
     */

    .today-game-rail {

        display:
            flex;

        grid-template-columns:
            none;

        gap:
            9px;

        overflow-x:
            auto;

        padding-bottom:
            7px;

        scroll-snap-type:
            x mandatory;

        scrollbar-width:
            none;
    }


    .today-game-rail::-webkit-scrollbar {

        display:
            none;
    }


    .today-game-card {

        flex:
            0 0
            min(
                78vw,
                275px
            );

        width:
            min(
                78vw,
                275px
            );

        scroll-snap-align:
            start;
    }


    .quick-link-grid {

        display:
            flex;

        grid-template-columns:
            none;

        overflow-x:
            auto;

        gap:
            9px;

        scrollbar-width:
            none;
    }


    .quick-link-grid::-webkit-scrollbar {

        display:
            none;
    }


    .quick-link-card {

        flex:
            0 0 155px;

        min-height:
            105px;
    }


    .tv-guide-card {

        padding:
            22px 17px;

        flex-direction:
            column;

        align-items:
            flex-start;
    }


    .today-seo {

        padding:
            23px 17px;
    }

}