: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;
}


button,
input {
    font: inherit;
}


.sr-only {

    position: absolute;

    width: 1px;
    height: 1px;

    margin: -1px;

    overflow: hidden;

    clip: rect(0,0,0,0);

    white-space: nowrap;
}


.results-topbar {

    position: sticky;

    top: 0;

    z-index: 100;

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

    backdrop-filter:
        blur(15px);

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


.results-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;
}


.results-brand {

    color:
        #172033;

    text-decoration:
        none;

    font-weight:
        900;
}


.results-top-links {

    display:
        flex;

    align-items:
        center;

    gap:
        7px;
}


.results-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;
}


.results-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);
}


.results-label {

    color:
        #a9dcff;

    font-size:
        .68rem;

    font-weight:
        900;

    letter-spacing:
        .12em;
}


.results-hero h1 {

    margin:
        9px 0 0;

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

    line-height:
        1;

    letter-spacing:
        -.05em;
}


.results-hero p {

    max-width:
        700px;

    margin:
        17px 0 0;

    color:
        #d5e1f2;

    line-height:
        1.7;
}


.results-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;

    justify-content:
        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);
}


.results-main {

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

    margin:
        25px auto 50px;
}


.results-search {

    max-width:
        850px;

    margin:
        0 auto 24px;
}


#resultSearch {

    width:
        100%;

    min-height:
        52px;

    padding:
        0 17px;

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

    border-radius:
        15px;

    background:
        #ffffff;

    color:
        #172033;

    outline:
        none;

    box-shadow:
        0 7px 20px
        rgba(15,23,42,.05);
}


.section-heading {

    margin-bottom:
        14px;
}


.section-kicker {

    color:
        #6550cb;

    font-size:
        .65rem;

    font-weight:
        900;

    letter-spacing:
        .12em;
}


.section-heading h2 {

    margin:
        4px 0 0;

    font-size:
        1.55rem;
}


.section-heading p {

    margin:
        5px 0 0;

    color:
        var(--muted);

    font-size:
        .82rem;
}


.matchweek-nav-section {

    margin-bottom:
        30px;
}


.matchweek-nav {

    display:
        flex;

    gap:
        7px;

    overflow-x:
        auto;

    padding-bottom:
        7px;

    scrollbar-width:
        none;
}


.matchweek-nav::-webkit-scrollbar {
    display: none;
}


.matchweek-pill {

    flex:
        0 0 auto;

    min-height:
        38px;

    padding:
        0 14px;

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

    border-radius:
        999px;

    background:
        #ffffff;

    color:
        #59677c;

    font-size:
        .7rem;

    font-weight:
        800;

    cursor:
        pointer;
}


.matchweek-pill.active {

    color:
        #ffffff;

    border-color:
        transparent;

    background:
        linear-gradient(
            135deg,
            #172859,
            #5535a8
        );
}


.results-container {

    display:
        flex;

    flex-direction:
        column;

    gap:
        27px;
}


.result-matchweek {

    padding:
        22px;

    border-radius:
        22px;

    color:
        #ffffff;

    background:
        var(--hero);

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


.result-matchweek-heading {

    margin-bottom:
        15px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        15px;
}


.result-matchweek-heading span {

    color:
        #b4dfff;

    font-size:
        .59rem;

    font-weight:
        850;

    letter-spacing:
        .09em;
}


.result-matchweek-heading h3 {

    margin:
        3px 0 0;

    font-size:
        1.12rem;
}


.result-count {

    color:
        #d5e0f2 !important;
}


.result-rail {

    display:
        grid;

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

    gap:
        11px;
}


.result-card {

    min-width:
        0;

    padding:
        15px;

    display:
        flex;

    flex-direction:
        column;

    border-radius:
        16px;

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

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


.result-card-top {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;
}


.result-final-badge,
.result-matchweek-badge {

    padding:
        4px 7px;

    border-radius:
        999px;

    font-size:
        .56rem;

    font-weight:
        900;
}


.result-final-badge {

    color:
        #b8f5df;

    background:
        rgba(40, 199, 156, .18);
}


.result-matchweek-badge {

    color:
        #d9e5f7;

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


.result-date {

    margin-top:
        10px;

    color:
        #cbd7e9;

    font-size:
        .67rem;
}


.result-scoreboard {

    flex:
        1;

    margin-top:
        14px;

    display:
        grid;

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

    align-items:
        center;

    gap:
        8px;
}


.result-team {

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    gap:
        6px;

    text-align:
        center;
}


.result-team strong {

    color:
        #ffffff;

    font-size:
        .76rem;
}


.result-team-logo,
.result-team-badge {

    width:
        38px;

    height:
        38px;
}


.result-team-logo {

    object-fit:
        contain;
}


.result-team-badge {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        11px;

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

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

    color:
        #ffffff;

    font-size:
        .63rem;

    font-weight:
        900;
}


.result-score {

    min-width:
        65px;

    min-height:
        45px;

    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);
}


.result-score strong {

    color:
        #ffffff;

    font-size:
        1.25rem;
}


.result-score span {

    color:
        #9eabc0;
}


.result-venue {

    margin-top:
        12px;

    color:
        #aebbd0;

    font-size:
        .63rem;

    text-align:
        center;
}


.result-actions {

    margin-top:
        13px;

    display:
        flex;

    gap:
        7px;
}


.result-details-link,
.result-replay-link {

    flex:
        1;

    min-height:
        35px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        9px;

    color:
        #ffffff;

    text-decoration:
        none;

    font-size:
        .66rem;

    font-weight:
        800;
}


.result-details-link {

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


.result-replay-link {

    background:
        linear-gradient(
            135deg,
            #9656dc,
            #c24ab3
        );
}


.replay-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);
}


.replay-card h2 {

    margin:
        5px 0 0;
}


.replay-card p {

    max-width:
        700px;

    color:
        #c8d4e6;

    line-height:
        1.7;
}


.replay-button {

    flex:
        0 0 auto;

    min-height:
        43px;

    padding:
        0 15px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        11px;

    background:
        #ffffff;

    color:
        #172859;

    text-decoration:
        none;

    font-size:
        .72rem;

    font-weight:
        850;
}


.popular-clubs {

    margin:
        40px 0;
}


.club-links {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        8px;
}


.club-links a {

    padding:
        8px 12px;

    border-radius:
        999px;

    background:
        #ffffff;

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

    color:
        #526075;

    text-decoration:
        none;

    font-size:
        .69rem;

    font-weight:
        750;
}


.results-seo {

    margin:
        40px 0;

    padding:
        30px;

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

    border-radius:
        22px;

    background:
        #ffffff;
}


.results-seo h2 {

    margin:
        6px 0 18px;

    font-size:
        1.55rem;
}


.results-seo h3 {

    margin:
        24px 0 7px;

    font-size:
        1rem;
}


.results-seo p {

    color:
        #667489;

    line-height:
        1.8;

    font-size:
        .86rem;
}


.results-seo a {

    color:
        #5d49cc;

    font-weight:
        800;
}


.results-empty,
.results-loading {

    padding:
        25px;

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

    border-radius:
        15px;

    background:
        #ffffff;

    color:
        #7b899c;

    text-align:
        center;
}


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) {

    .result-rail {

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

}


@media (max-width: 600px) {

    .results-topbar-inner {

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


    .results-top-links {

        overflow-x:
            auto;

        scrollbar-width:
            none;
    }


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

        display:
            none;
    }


    .results-top-links a {

        flex:
            0 0 auto;
    }


    .breadcrumbs {

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


    .results-hero {

        width:
            calc(100% - 20px);

        padding:
            30px 21px;

        border-radius:
            20px;
    }


    .results-hero h1 {

        font-size:
            2.15rem;
    }


    .results-main {

        width:
            calc(100% - 20px);

        margin-top:
            17px;
    }


    .result-matchweek {

        padding:
            15px 12px;

        border-radius:
            17px;
    }


    .result-rail {

        display:
            flex;

        grid-template-columns:
            none;

        gap:
            9px;

        overflow-x:
            auto;

        padding-bottom:
            7px;

        scroll-snap-type:
            x mandatory;

        scrollbar-width:
            none;
    }


    .result-rail::-webkit-scrollbar {

        display:
            none;
    }


    .result-card {

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

        width:
            min(
                78vw,
                275px
            );

        min-height:
            210px;

        scroll-snap-align:
            start;
    }


    .replay-card {

        padding:
            22px 17px;

        flex-direction:
            column;

        align-items:
            flex-start;
    }


    .club-links {

        flex-wrap:
            nowrap;

        overflow-x:
            auto;

        scrollbar-width:
            none;
    }


    .club-links::-webkit-scrollbar {

        display:
            none;
    }


    .club-links a {

        flex:
            0 0 auto;
    }


    .results-seo {

        padding:
            23px 17px;
    }

}