/* 
   FOOTBALL NEWS
 */


/* 
    GLOBAL VARIABLES
 */

:root {

    --navy: #171717;
    --navy-light: #222222;

    --green: #15803d;
    --green-dark: #166534;

    --red: #DC143C;
    --red-dark: #B01030;

    --gold: #F4C430;

    --page: #F2F2F2;
    --surface: #FFFFFF;

    --ink: #222222;
    --muted: #777777;

    --line: #E5E5E5;

    --shadow: 0 8px 28px rgba(0, 0, 0, 0.06);

    --radius: 12px;

}


/* 
    GLOBAL RESET
 */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: Arial, Helvetica, sans-serif;

    background: var(--page);

    color: var(--ink);

    overflow-x: hidden;

    line-height: 1.5;

}


button,
input {

    font-family: inherit;

}


button {

    cursor: pointer;

    border: none;

}


a {

    text-decoration: none;

    color: inherit;

}


img {

    max-width: 100%;

    display: block;

}


ul {

    list-style: none;

    margin: 0;

    padding: 0;

}


/* Main content */
.fixture_dashboard {
    width: calc(100% - var(--sidebar-width));
    min-width: 0;
    padding: 30px clamp(18px, 3.2vw, 48px) 45px;
}

.welcome-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 7px;
    color: var(--red);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.welcome-row h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.1;
    letter-spacing: -1.2px;
    font-weight: 950;
}

.welcome-copy {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.edition-date {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

/* Toolbar */
.news-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 19px;
    padding: 12px 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.toolbar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.toolbar-title .live-dot {
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(215, 25, 63, .1);
}

.news-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-button {
    padding: 7px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
}

.filter-button:hover,
.filter-button.active {
    background: var(--red);
    color: #fff;
}

/* Dashboard sections */
.news-dashboard {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
}

.lead-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(245px, .85fr);
    gap: 19px;
    min-width: 0;
}

.featured-article {
    position: relative;
    min-height: 405px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    border-radius: var(--radius);
    background: #172033;
    box-shadow: var(--shadow);
}

.featured-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.featured-article:hover .featured-image {
    transform: scale(1.045);
}

.featured-shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 10, 20, .94), rgba(5, 10, 20, .52) 48%, rgba(5, 10, 20, .04));
}

.featured-content {
    max-width: 720px;
    padding: clamp(22px, 3vw, 35px);
    color: #fff;
}

.story-label {
    display: inline-block;
    padding: 6px 9px;
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.story-meta {
    margin: 11px 0 8px;
    color: #98a5b8;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 1px;
}

.featured-content h2 {
    max-width: 620px;
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(24px, 3vw, 37px);
    line-height: 1.12;
    letter-spacing: -.8px;
}

.featured-content>p:not(.story-meta) {
    max-width: 550px;
    margin: 0 0 18px;
    color: #d6dce5;
    font-size: 11px;
    line-height: 1.7;
}

.read-story {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 10px;
    font-weight: 850;
}

.read-story i {
    color: #ff6680;
    transition: transform .2s ease;
}

.read-story:hover i {
    transform: translateX(4px);
}

/* Right rail */
.news-rail {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.rail-panel {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 17px;
}

.section-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -.5px;
}

.compact-heading {
    align-items: center;
    margin-bottom: 11px;
}

.compact-heading h2 {
    font-size: 17px;
}

.heading-icon {
    color: var(--red);
    font-size: 17px;
}

.most-read-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.rank-number {
    color: #d6dce5;
    font-size: 21px;
    font-weight: 950;
    line-height: 1;
}

.most-read-item strong {
    display: block;
    color: var(--ink);
    font-size: 10px;
    line-height: 1.5;
}

.most-read-item small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 8px;
}

.most-read-item:hover strong {
    color: var(--red);
}

.competition-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.competition-list a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 0;
    color: #465268;
    font-size: 10px;
    font-weight: 750;
}

.competition-list a>i {
    margin-left: auto;
    color: #a5afbd;
    font-size: 9px;
}

.competition-list a:hover {
    color: var(--red);
}

.competition-icon {
    width: 27px;
    height: 27px;
    background: #f0f2f6;
    color: var(--navy);
}

/* Content section and story cards */
.content-section {
    min-width: 0;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 10px;
    font-weight: 850;
}

.view-all:hover {
    color: var(--red-dark);
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.story-card,
.highlight-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

.story-card:hover,
.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 13px 30px rgba(20, 31, 49, .12);
}

.story-image,
.highlight-thumb {
    position: relative;
    display: block;
    height: 175px;
    overflow: hidden;
    background: #dce1e8;
}

.story-image img,
.highlight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.story-card:hover .story-image img,
.highlight-card:hover .highlight-thumb img {
    transform: scale(1.05);
}

.image-category {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 8px;
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .7px;
}

.story-body {
    padding: 15px;
}

.story-body .story-meta {
    margin: 0 0 8px;
    color: var(--red);
}

.story-body h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 850;
}

.story-body>p:not(.story-meta) {
    margin: 0 0 13px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.65;
}

.text-link {
    color: var(--red);
    font-size: 9px;
    font-weight: 850;
}

.text-link i {
    margin-left: 5px;
}

/* Highlights */
.highlight-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.highlight-thumb {
    height: 170px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    background: rgba(215, 25, 63, .94);
    color: #fff;
    font-size: 13px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .2);
}

.highlight-card-body {
    padding: 14px 15px 15px;
}

.video-tag {
    color: var(--red);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .8px;
}

.highlight-card-body h3 {
    margin: 7px 0 9px;
    color: var(--navy);
    font-size: 13px;
    line-height: 1.45;
}

.highlight-card-body p {
    margin: 0;
    color: var(--muted);
    font-size: 9px;
}

.highlight-card-body p i {
    margin-right: 5px;
}

/* Sports feature strip */
.sports-section {
    margin-top: 30px;
    padding: 25px;
    overflow: hidden;
    border-radius: 16px;
    background: red;
    color: #fff;
}

.sports-heading {
    align-items: flex-end;
}

.sports-heading h2 {
    color: red;
}
.sports-heading h5 {
    color: red;
    font-weight: 600;
}

.sports-heading>p {
    margin: 0;
    color: red;
    font-size: 10px;
}

.sports-section .section-kicker {
    color: red;
}

.slider {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 13px;
}

.sports-card {
    position: relative;
    height: 155px;
    overflow: hidden;
    border-radius: 9px;
    background: #29364a;
}

.sports-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.sports-card:hover img {
    transform: scale(1.07);
}

.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 13px;
    background: linear-gradient(0deg, rgba(0, 0, 0, .82), transparent 85%);
}

.card-overlay span {
    color: #ff8095;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 1px;
}

.card-overlay h3 {
    margin: 4px 0 0;
    color: #fff;
    font-size: 12px;
}




/* =================
   MATCHDAY CONTROLS + LEGACY JAVASCRIPT HOOKS
================= */
.matchday-tools {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; flex-wrap: wrap; margin: 0 0 18px; padding: 12px 14px;
    border: 1px solid var(--line); border-radius: 10px;
    background: var(--surface); box-shadow: var(--shadow);
}
.month, .date-strip, .matchday-actions { display: flex; align-items: center; gap: 7px; }
.month h3 { min-width: 82px; margin: 0; color: var(--ink); text-align: center; font-size: 12px; font-weight: 850; }
.month button, .date, .favorite, .calendar-btn {
    min-height: 32px; padding: 0 10px; border: 1px solid var(--line);
    border-radius: 6px; background: var(--surface); color: var(--muted);
    font-size: 10px; font-weight: 750;
}
.month button { width: 32px; padding: 0; }
.date.active, .date:hover, .favorite.selected, .calendar-btn:hover {
    border-color: var(--red); background: var(--red); color: #fff;
}
.matchday-actions button { display: inline-flex; align-items: center; gap: 7px; }
.favorite.selected i { color: #fff; }
.watch-replay { margin-top: 11px; }
.watch-replay button {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px;
    border: 0; border-radius: 5px; background: var(--red); color: #fff;
    font-size: 9px; font-weight: 800;
}
.sidebar-close { display: none; }
.sidebar-overlay { display: none; }









/* 
    LIVE SCORE TICKER
 */

.score-ticker {

    display: flex;

    align-items: center;

    width: 100%;

    min-height: 43px;

    background: var(--navy);

    color: white;

    overflow: hidden;

}


.ticker-label {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-width: 125px;

    height: 43px;

    background: var(--red);

    font-size: 12px;

    font-weight: 800;

}


.live-dot {

    display: inline-block;

    width: 9px;

    height: 9px;

    background: var(--red);

    border-radius: 50%;

    animation: livePulse 1.2s infinite;

}


.ticker-label .live-dot {

    background: white;

}


@keyframes livePulse {

    0% {

        box-shadow: 0 0 0 0 rgba(220, 20, 60, .7);

    }

    70% {

        box-shadow: 0 0 0 7px rgba(220, 20, 60, 0);

    }

    100% {

        box-shadow: 0 0 0 0 rgba(220, 20, 60, 0);

    }

}


.ticker-window {

    flex: 1;

    overflow: hidden;

    white-space: nowrap;

}


.ticker-track {

    display: flex;

    align-items: center;

    gap: 35px;

    width: max-content;

    padding-left: 25px;

    animation: tickerMove 35s linear infinite;

}


.ticker-window:hover .ticker-track {

    animation-play-state: paused;

}


.ticker-item {

    font-size: 12px;

    color: #eeeeee;

}


.ticker-item strong {

    color: var(--gold);

    margin: 0 5px;

}


.status {

    color: white;

    background: #555;

    padding: 4px 7px;

    border-radius: 4px;

    font-size: 10px;

    margin-right: 6px;

}


.status.live {

    background: var(--red);

}


.status.upcoming {

    background: var(--green);

}


@keyframes tickerMove {

    from {

        transform: translateX(0);

    }

    to {

        transform: translateX(-50%);

    }

}


.create-acct {

    background: var(--green);

    color: white;

    padding: 10px 16px;

    font-size: 11px;

    font-weight: bold;

    white-space: nowrap;

}


.create-acct:hover {

    background: var(--green-dark);

}


/* 
    TOP HEADER
 */

.topbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    width: 100%;

    min-height: 75px;

    padding: 12px 3%;

    background: white;

    border-bottom: 1px solid var(--line);

}


.search-box {

    display: flex;

    align-items: center;

    gap: 12px;

    width: 45%;

    max-width: 500px;

    padding: 12px 16px;

    background: #F5F5F5;

    border: 1px solid var(--line);

    border-radius: 7px;

}


.search-box i {

    color: var(--muted);

}


.search-box input {

    width: 100%;

    outline: none;

    border: none;

    background: transparent;

    font-size: 13px;

}


.top-actions {

    display: flex;

    align-items: center;

    gap: 12px;

}


.action-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    width: 40px;

    height: 40px;

    border-radius: 7px;

    background: #F5F5F5;

    color: var(--ink);

    transition: .3s;

}


.action-btn:hover {

    background: var(--green);

    color: white;

}


.profile {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 11px 17px;

    background: var(--navy);

    color: white;

    border-radius: 6px;

    font-size: 12px;

}


.profile:hover {

    background: var(--green);

}


.mobile-menu {

    display: none;

    background: transparent;

    font-size: 22px;

    color: var(--ink);

}


/* 
    TOP NAVIGATION
 */

.topnavbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 0 3%;

    min-height: 58px;

    background: var(--red-dark);

    color: white;

}


.nav-brand {

    font-size: 20px;

    font-weight: 800;

    white-space: nowrap;

}


.nav-brand span {

    color: var(--gold);

}


.topnavbar ul {

    display: flex;

    align-items: center;

    gap: 5px;

}


.topnavbar ul li a {

    display: block;

    padding: 19px 13px;

    font-size: 12px;

    font-weight: 600;

    transition: .3s;

    border-bottom: 3px solid transparent;

}


.topnavbar ul li a:hover,

.topnavbar ul li a.active {

    background: rgba(0, 0, 0, .15);

    border-bottom-color: var(--gold);

    color: var(--gold);

}


/* 
    APP LAYOUT
 */

.app-shell {

    display: grid;

    grid-template-columns: 235px minmax(0, 1fr);

    align-items: stretch;

    min-height: 100vh;

}


/* 
     SIDEBAR
 */

.sidebar {

    position: relative;

    display: flex;

    flex-direction: column;

    background: var(--navy);

    color: white;

    padding: 25px 15px;

    min-height: 100%;

    z-index: 100;

}


.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 0 10px 25px;

    font-size: 20px;

    font-weight: 800;

    border-bottom: 1px solid rgba(255, 255, 255, .1);

}


.brand-ball {

    width: 38px;

    height: 38px;

    overflow: hidden;

    border-radius: 50%;

}


.brand-ball img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.sidebar-toggle {

    display: none;

}


.side-nav {

    display: flex;

    flex-direction: column;

    gap: 5px;

    margin-top: 25px;

}


.side-nav a {

    display: flex;

    align-items: center;

    gap: 13px;

    min-height: 45px;

    padding: 10px 13px;

    color: #c8c8c8;

    font-size: 13px;

    border-radius: 6px;

    transition: .3s;

}


.side-nav a span {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 22px;

    height: 22px;

    font-size: 15px;

}


.side-nav a:hover,

.side-nav a.active {

    background: var(--red);

    color: white;

}


.live-count {

    margin-left: auto;

    background: var(--red);

    padding: 3px 8px;

    border-radius: 20px;

    font-size: 10px;

}


.nav-heading {

    margin: 25px 12px 10px;

    color: #999;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.weather {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-top: auto;

    padding: 15px;

    background: rgba(255, 255, 255, .07);

    border-radius: 8px;

}


.weather span {

    color: var(--gold);

    font-size: 25px;

}


.weather strong,

.weather small {

    display: block;

}


.weather strong {

    font-size: 16px;

}


.weather small {

    color: #aaa;

    font-size: 11px;

}


/* SIDEBAR OVERLAY */

.sidebar-overlay {

    display: none;

}


/* 
    MAIN DASHBOARD
 */


/* HIGHLIGHT DASHBOARD START */



/* 
   MATCH HIGHLIGHTS
   Scoped styles: these rules only affect .higli-container
 */

.higli-container {
    --highlight-green: #16864a;
    --highlight-green-dark: #106b3a;
    --highlight-ink: #17221c;
    --highlight-muted: #718078;
    --highlight-line: #e7eee9;
    --highlight-surface: #ffffff;
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    margin: 26px auto;
    padding: 0 20px;
    color: var(--highlight-ink);
}

.higli-container *,
.higli-container *::before,
.higli-container *::after {
    box-sizing: border-box;
}

.higli-container .highlight-section-heading,
.higli-container .highlight-library-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.higli-container .highlight-section-heading {
    margin-bottom: 20px;
}

.higli-container .highlight-eyebrow {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--highlight-green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.higli-container .highlight-section-heading h2 {
    margin: 0 0 6px;
    color: var(--highlight-ink);
    font-size: clamp(23px, 3vw, 30px);
    line-height: 1.15;
    font-weight: 800;
}

.higli-container .highlight-section-heading p,
.higli-container .highlight-library-heading p {
    margin: 0;
    color: var(--highlight-muted);
    font-size: 13px;
    line-height: 1.55;
}

.higli-container .highlight-count {
    flex: 0 0 auto;
    padding: 7px 11px;
    border: 1px solid var(--highlight-line);
    border-radius: 30px;
    color: var(--highlight-muted);
    font-size: 11px;
    font-weight: 700;
}

.higli-container .highlight-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.higli-container .highlight-tab {
    min-height: 36px;
    padding: 8px 16px;
    border: 1px solid var(--highlight-line);
    border-radius: 30px;
    background: var(--highlight-surface);
    color: #536159;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.higli-container .highlight-tab:hover,
.higli-container .highlight-tab.is-active {
    border-color: var(--highlight-green);
    background: var(--highlight-green);
    color: #fff;
}

.higli-container .highlight-tab:focus-visible,
.higli-container a:focus-visible {
    outline: 3px solid rgba(22, 134, 74, .3);
    outline-offset: 3px;
}

.higli-container .highlight-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(270px, .9fr);
    align-items: stretch;
    gap: 20px;
    margin-bottom: 30px;
}

.higli-container .highlight-feature,
.higli-container .highlight-feature-link,
.higli-container .highlight-feature-media {
    min-width: 0;
    height: 100%;
}

.higli-container .highlight-feature-link,
.higli-container .highlight-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.higli-container .highlight-feature-media {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border-radius: 13px;
    background: #101812;
    isolation: isolate;
}

.higli-container .highlight-feature-media::after {
    position: absolute;
    z-index: 0;
    inset: 35% 0 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .88));
    content: "";
}

.higli-container .highlight-feature-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.higli-container .highlight-feature-link:hover .highlight-feature-image {
    transform: scale(1.035);
}

.higli-container .highlight-badge,
.higli-container .highlight-duration,
.higli-container .highlight-card-label,
.higli-container .highlight-card-duration {
    position: absolute;
    z-index: 1;
    border-radius: 5px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.higli-container .highlight-badge {
    top: 15px;
    left: 15px;
    padding: 7px 10px;
    background: var(--highlight-green);
}

.higli-container .highlight-duration {
    right: 15px;
    bottom: 15px;
    padding: 5px 8px;
    background: rgba(0, 0, 0, .75);
}

.higli-container .highlight-play,
.higli-container .highlight-card-play {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    background: rgba(22, 134, 74, .94);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .25);
    transform: translate(-50%, -50%);
    transition: transform .2s ease, background .2s ease;
}

.higli-container .highlight-play::before,
.higli-container .highlight-card-play::before {
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 13px solid #fff;
    content: "";
}

.higli-container .highlight-feature-link:hover .highlight-play,
.higli-container .highlight-card-link:hover .highlight-card-play {
    background: var(--highlight-green-dark);
    transform: translate(-50%, -50%) scale(1.08);
}

.higli-container .highlight-feature-caption {
    position: absolute;
    z-index: 1;
    right: 20px;
    bottom: 20px;
    left: 20px;
    padding-right: 48px;
    color: #fff;
}

.higli-container .highlight-kicker {
    color: #a8e5bf;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.higli-container .highlight-feature-caption h3 {
    margin: 7px 0 5px;
    color: #fff;
    font-size: clamp(19px, 2.5vw, 27px);
    line-height: 1.2;
    font-weight: 800;
}

.higli-container .highlight-feature-caption p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
}

.higli-container .highlight-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.higli-container .highlight-panel {
    padding: 17px;
    border: 1px solid var(--highlight-line);
    border-radius: 12px;
    background: var(--highlight-surface);
}

.higli-container .highlight-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
}

.higli-container .highlight-panel-heading h3 {
    margin: 0;
    color: var(--highlight-ink);
    font-size: 14px;
    font-weight: 800;
}

.higli-container .highlight-panel-heading>span {
    color: var(--highlight-green);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.higli-container .most-watched-list,
.higli-container .competition-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.higli-container .most-watched-list li+li {
    margin-top: 11px;
    padding-top: 11px;
    border-top: 1px solid var(--highlight-line);
}

.higli-container .most-watched-item {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.higli-container .most-watched-item img {
    width: 62px;
    height: 46px;
    border-radius: 6px;
    object-fit: cover;
}

.higli-container .most-watched-copy {
    display: block;
    min-width: 0;
}

.higli-container .most-watched-copy strong,
.higli-container .most-watched-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.higli-container .most-watched-copy strong {
    color: var(--highlight-ink);
    font-size: 11px;
    font-weight: 700;
}

.higli-container .most-watched-copy small {
    margin-top: 4px;
    color: var(--highlight-muted);
    font-size: 10px;
}

.higli-container .most-watched-rank {
    color: #a7b4ab;
    font-size: 10px;
    font-weight: 800;
}

.higli-container .competition-panel {
    padding-bottom: 13px;
}

.higli-container .competition-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #536159;
    font-size: 11px;
    font-weight: 600;
}

.higli-container .competition-check {
    display: grid;
    width: 17px;
    height: 17px;
    place-items: center;
    border-radius: 50%;
    background: #e8f6ed;
    color: var(--highlight-green);
    font-size: 10px;
}

.higli-container .highlight-library-heading {
    margin: 0 0 15px;
}

.higli-container .highlight-library-heading h3 {
    margin: 0 0 4px;
    color: var(--highlight-ink);
    font-size: 18px;
    font-weight: 800;
}

.higli-container .highlight-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.higli-container .highlight-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--highlight-line);
    border-radius: 11px;
    background: var(--highlight-surface);
    transition: transform .2s ease, box-shadow .2s ease;
}

.higli-container .highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 24px rgba(23, 48, 32, .10);
}

.higli-container .highlight-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #101812;
}

.higli-container .highlight-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.higli-container .highlight-card-link:hover .highlight-card-media img {
    transform: scale(1.04);
}

.higli-container .highlight-card-label {
    top: 10px;
    left: 10px;
    padding: 5px 7px;
    background: rgba(0, 0, 0, .72);
    letter-spacing: .4px;
}

.higli-container .highlight-card-duration {
    right: 10px;
    bottom: 10px;
    padding: 4px 6px;
    background: rgba(0, 0, 0, .75);
}

.higli-container .highlight-card-play {
    width: 42px;
    height: 42px;
}

.higli-container .highlight-card-play::before {
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 10px;
}

.higli-container .highlight-card-body {
    padding: 13px 14px 15px;
}

.higli-container .highlight-card-body h4 {
    overflow: hidden;
    margin: 0 0 6px;
    color: var(--highlight-ink);
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.higli-container .highlight-card-body p {
    margin: 0;
    color: var(--highlight-muted);
    font-size: 11px;
}

.higli-container .highlight-card-body p span {
    padding: 0 3px;
}

.higli-container .highlight-empty-state {
    margin: 20px 0 0;
    padding: 22px;
    border: 1px dashed var(--highlight-line);
    border-radius: 10px;
    color: var(--highlight-muted);
    text-align: center;
    font-size: 13px;
}

.higli-container [hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .higli-container .highlight-feature-grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(245px, .9fr);
        gap: 14px;
    }

    .higli-container .highlight-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .higli-container .highlight-feature-media {
        min-height: 300px;
    }
}

@media (max-width: 680px) {
    .higli-container {
        margin: 20px auto;
        padding: 0 14px;
    }

    .higli-container .highlight-feature-grid {
        grid-template-columns: 1fr;
    }

    .higli-container .highlight-feature-media {
        min-height: 290px;
    }

    .higli-container .highlight-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .higli-container .highlight-panel {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .higli-container .highlight-section-heading {
        align-items: flex-start;
    }

    .higli-container .highlight-count {
        display: none;
    }

    .higli-container .highlight-tabs {
        gap: 6px;
    }

    .higli-container .highlight-tab {
        padding: 7px 12px;
        font-size: 11px;
    }

    .higli-container .highlight-feature-media {
        min-height: 245px;
    }

    .higli-container .highlight-feature-caption {
        right: 14px;
        bottom: 15px;
        left: 14px;
        padding-right: 35px;
    }

    .higli-container .highlight-sidebar {
        grid-template-columns: 1fr;
    }

    .higli-container .highlight-video-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* HIGHLIGHT DASHBOARD START */

.fixture_dashboard {

    min-width: 0;

    padding: 28px;

}


/* PAGE HEADING */

.page-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;

}


.section-label {

    color: var(--green);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

}


.page-heading h1 {

    font-size: 28px;

    font-weight: 800;

    margin: 6px 0;

}


.page-heading p {

    color: var(--muted);

    font-size: 13px;

}


.calendar-btn {

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 12px 16px;

    background: var(--green);

    color: white;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

}


.calendar-btn:hover {

    background: var(--green-dark);

}


/* 
    DATE NAVIGATION
 */

.header {

    background: white;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    padding: 20px;

    margin-bottom: 25px;

}


.month {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    margin-bottom: 20px;

}


.month h3 {

    font-size: 17px;

    font-weight: 800;

}


.month button {

    width: 32px;

    height: 32px;

    border-radius: 5px;

    background: #F2F2F2;

    color: var(--ink);

}


.month button:hover {

    background: var(--green);

    color: white;

}


.date-container {

    display: flex;

    align-items: center;

    gap: 8px;

    overflow-x: auto;

    padding-bottom: 12px;

    scrollbar-width: thin;

}


.date {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    min-width: 72px;

    min-height: 65px;

    background: #F7F7F7;

    border: 1px solid var(--line);

    border-radius: 7px;

    cursor: pointer;

    transition: .3s;

}


.date span {

    color: var(--muted);

    font-size: 10px;

    font-weight: 700;

}


.date strong {

    font-size: 12px;

}


.date:hover,

.date.active {

    background: var(--green);

    color: white;

    border-color: var(--green);

}


.date.active span {

    color: white;

}


/* 
    FILTER BUTTONS
 */

.filter-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 20px;

    padding-top: 17px;

    border-top: 1px solid var(--line);

}


.filters,

.favorite {

    display: flex;

    align-items: center;

    gap: 8px;

    flex-wrap: wrap;

}


.filter,

.favorite button {

    padding: 9px 14px;

    background: #F4F4F4;

    color: #555;

    border-radius: 5px;

    font-size: 11px;

    font-weight: 700;

    transition: .3s;

}


.filter:hover,

.filter.active-filter {

    background: var(--green);

    color: white;

}


.favorite button.selected {

    background: var(--red);

    color: white;

}


.favorite button:hover {

    background: var(--red);

    color: white;

}


/* 
    RESULTS DASHBOARD GRID
 */

/* .result-dashboard {

    display: grid;

    grid-template-columns: minmax(0, 1.8fr) minmax(280px, .9fr);

    align-items: start;

    gap: 22px;

} */


.matches-section {

    display: flex;

    flex-direction: column;

    gap: 20px;

    min-width: 0;

}


/* 
    COMPETITION CARDS
 */

.competition {

    background: white;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    overflow: hidden;

}


.competition-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 10px;

    padding: 17px 20px;

    background: #FAFAFA;

    border-bottom: 1px solid var(--line);

}


.competition-heading h3 {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 14px;

    font-weight: 800;

}


.competition-heading h3 i {

    color: var(--gold);

}


.competition-heading>span {

    color: var(--muted);

    font-size: 10px;

    font-weight: 600;

}


/* 
    MATCH RESULT ROWS
 */

.match {

    display: grid;

    grid-template-columns: minmax(0, 1fr) 75px minmax(0, 1fr);

    align-items: center;

    gap: 10px;

    min-height: 76px;

    padding: 12px 20px;

    border-bottom: 1px solid #EEEEEE;

    transition: .3s;

}


.match:last-child {

    border-bottom: none;

}


.match:hover {

    background: #F8FBF8;

}


.team {

    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 0;

    font-size: 13px;

    font-weight: 700;

}


.team:first-child {

    justify-content: flex-start;

}


.team:last-child {

    justify-content: flex-end;

    text-align: right;

}


.team img {

    width: 32px;

    height: 32px;

    object-fit: contain;

    flex-shrink: 0;

}


.team-placeholder {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 32px;

    height: 32px;

    flex-shrink: 0;

    background: var(--green);

    color: white;

    border-radius: 50%;

    font-weight: 800;

}


.score {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 4px;

}


.score strong {

    color: var(--ink);

    font-size: 19px;

    font-weight: 900;

    white-space: nowrap;

}


.score small {

    color: var(--green);

    font-size: 9px;

    font-weight: 800;

    background: #E8F5EC;

    padding: 3px 9px;

    border-radius: 4px;

}


/* 
    RIGHT SIDEBAR
 */

.standings-section {

    display: flex;

    flex-direction: column;

    gap: 20px;

    min-width: 0;

}


.standings,

.top-scorers {

    background: white;

    padding: 20px;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    overflow: hidden;

}


.sidebar-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 18px;

}


.sidebar-heading h3 {

    font-size: 16px;

    font-weight: 800;

}


.sidebar-heading>span {

    background: #E8F5EC;

    color: var(--green);

    padding: 5px 9px;

    border-radius: 4px;

    font-size: 9px;

    font-weight: 800;

}


/* 
    STANDINGS TABLE
 */

.table-responsive {

    width: 100%;

    overflow-x: auto;

}


.standings table {

    width: 100%;

    border-collapse: collapse;

    white-space: nowrap;

}


.standings th {

    padding: 12px 7px;

    text-align: left;

    background: #F5F5F5;

    color: var(--muted);

    font-size: 10px;

}


.standings td {

    padding: 13px 7px;

    border-bottom: 1px solid var(--line);

    font-size: 11px;

}


.standings tbody tr:hover {

    background: #F8FBF8;

}


.standings td:first-child {

    color: var(--green);

    font-weight: 800;

}


.standings td.points {

    color: var(--green);

    font-weight: 900;

}


/* 
    TOP SCORERS
 */

.scorer {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 0;

    border-bottom: 1px solid var(--line);

}


.scorer:last-child {

    border-bottom: none;

}


.scorer img {

    width: 40px;

    height: 40px;

    object-fit: cover;

    border-radius: 50%;

    background: #EEEEEE;

}


.scorer-info {

    display: flex;

    flex-direction: column;

    gap: 3px;

    flex: 1;

}


.scorer-info strong {

    font-size: 12px;

}


.scorer-info span {

    color: var(--muted);

    font-size: 10px;

}


.goals {

    color: var(--green);

    font-size: 12px;

    font-weight: 800;

}


.goals i {

    color: var(--gold);

}


/* 
    RESULT OF THE DAY
 */

.match-result {

    padding: 20px;

    background: var(--navy);

    color: white;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

}


.result-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 25px;

}


.result-header h2 {

    font-size: 16px;

    font-weight: 800;

}


.aet-button {

    background: var(--red);

    padding: 5px 10px;

    border-radius: 4px;

    font-size: 10px;

    font-weight: 800;

}


.match-resu-info {

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    gap: 8px;

}


.match-resu-team {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    text-align: center;

}


.match-resu-team .flag {

    width: 48px;

    height: 38px;

    object-fit: contain;

}


.match-resu-team p {

    font-size: 11px;

    font-weight: 700;

}


.score-container {

    text-align: center;

}


.score-container .score {

    font-size: 25px;

    font-weight: 900;

    white-space: nowrap;

}


.after-et {

    color: var(--gold);

    font-size: 10px;

    margin-top: 5px;

}


.match-resu-venue {

    text-align: center;

    color: #bbbbbb;

    font-size: 10px;

    margin: 20px 0;

}


.match-resu-venue i {

    color: var(--red);

}


.watch-replay button {

    width: 100%;

    padding: 12px;

    background: var(--green);

    color: white;

    border-radius: 5px;

    font-size: 12px;

    font-weight: 800;

    transition: .3s;

}


.watch-replay button:hover {

    background: var(--red);

}


/* 
    FOOTER
 */

.site-footer {

    background: var(--navy);

    color: white;

    padding: 45px 5% 0;

}


.footer-section {

    display: grid;

    grid-template-columns: 1.5fr repeat(3, 1fr);

    gap: 35px;

    padding-bottom: 35px;

}


.footer-brand h3 {

    font-size: 22px;

    font-weight: 900;

}


.footer-brand h3 span {

    color: var(--gold);

}


.footer-brand p {

    max-width: 250px;

    color: #aaaaaa;

    font-size: 12px;

    margin-top: 12px;

}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.footer-column h4 {

    color: var(--gold);

    font-size: 13px;

    margin-bottom: 5px;

}


.footer-column a {

    color: #bbbbbb;

    font-size: 12px;

    transition: .3s;

}


.footer-column a:hover {

    color: var(--red);

    padding-left: 5px;

}


.footer-bottom {

    padding: 18px 0;

    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, .12);

}


.footer-bottom p {

    color: #aaaaaa;

    font-size: 11px;

}


/* 
    TOAST NOTIFICATION
 */

.toast-message {

    position: fixed;

    right: 20px;

    bottom: 20px;

    z-index: 9999;

    max-width: 320px;

    padding: 15px 20px;

    background: var(--green);

    color: white;

    border-radius: 7px;

    font-size: 13px;

    box-shadow: var(--shadow);

    opacity: 0;

    visibility: hidden;

    transform: translateY(20px);

    transition: .3s;

}


.toast-message.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


/* ANIMATION OF THE SPORT SECTION START*/

/* SPORTS SECTION */

.sports-section {
    width: 100%;
    padding: 40px 0;
    background: black;
}


/* SECTION HEADING */

.section-heading {
    max-width: 1200px;
    margin: 0 auto 25px;
    padding: 0 20px;
    color: var(--white);
}

.section-heading h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 8px;
    border-left: 5px solid var(--gold);
    padding-left: 12px;
}

.section-heading p {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
}


/* IMAGE SLIDER */

.slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}


/* ANIMATION TRACK */

.slider-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: moveImages 35s linear infinite;
}


/* PAUSE WHEN THE MOUSE HOVERS */

.slider:hover .slider-track {
    animation-play-state: paused;
}


/* IMAGE CARD */

.sports-card {
    position: relative;
    flex: 0 0 320px;
    height: 380px;
    overflow: hidden;
    border-radius: 12px;
    background: #17221e;
}


/* IMAGE */

.sports-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


/* DARK OVERLAY */

.sports-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.55) 45%,
            rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
}


/* IMAGE HOVER EFFECT */

.sports-card:hover img {
    transform: scale(1.1);
}


/* TEXT POSITIONING */

.card-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 22px;
    color: var(--white);
    z-index: 2;
}


/* CATEGORY LABEL */

.category {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 12px;
}


/* HEADING */

.card-overlay h3 {
    font-size: 23px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
}


/* PARAGRAPH */

.card-overlay p {
    font-size: 14px;
    line-height: 1.7;
    color: #e5e7eb;
}


/* MOVE IMAGES FROM RIGHT TO LEFT */

@keyframes moveImages {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 10px));
    }

}


/* TABLET RESPONSIVENESS */

@media (max-width: 768px) {

    .sports-section {
        padding: 30px 0;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .sports-card {
        flex-basis: 270px;
        height: 330px;
    }

    .slider-track {
        gap: 15px;
        animation-duration: 30s;
    }

    .card-overlay {
        padding: 18px;
    }

    .card-overlay h3 {
        font-size: 20px;
    }

    .card-overlay p {
        font-size: 13px;
    }

}


/* SMALL MOBILE SCREEN */

@media (max-width: 480px) {

    .sports-section {
        padding: 25px 0;
    }

    .section-heading {
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .section-heading h2 {
        font-size: 21px;
    }

    .section-heading p {
        font-size: 13px;
    }

    .slider-track {
        gap: 12px;
        animation-duration: 25s;
    }

    .sports-card {
        flex-basis: 240px;
        height: 300px;
        border-radius: 9px;
    }

    .card-overlay {
        padding: 15px;
    }

    .card-overlay h3 {
        font-size: 18px;
    }

    .card-overlay p {
        font-size: 12px;
        line-height: 1.6;
    }

    .category {
        font-size: 10px;
        padding: 5px 8px;
    }

}


/* REDUCE ANIMATION FOR USERS WHO PREFER LESS MOTION */

@media (prefers-reduced-motion: reduce) {

    .slider-track {
        animation: none;
    }

}

/* ANIMATION OF THE SPORT SECTION END */


   /* DESKTOP AND LARGE TABLET */
 

@media (max-width: 1100px) {

    .app-shell {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .fixture_dashboard {
        padding: 22px;
    }

    .result-dashboard {
        grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr);
        gap: 16px;
    }

    .match {
        padding: 12px 14px;
        gap: 7px;
    }

    .team {
        gap: 8px;
        font-size: 12px;
    }

    .team img {
        width: 28px;
        height: 28px;
    }

    .footer-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-footer .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* 
    TABLET RESPONSIVENESS
 */

@media (max-width: 900px) {

    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 260px;
        height: 100dvh;
        min-height: 100dvh;
        overflow-y: auto;
        padding: 22px 15px;
        transition: left .35s ease;
        z-index: 1001;
    }

    .sidebar.open,
    .sidebar.active {
        left: 0;
    }

    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 18px;
        right: 15px;
        width: 35px;
        height: 35px;
        background: var(--red);
        color: white;
        border-radius: 6px;
        font-size: 17px;
        z-index: 5;
    }

    .sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .55);
        visibility: hidden;
        opacity: 0;
        transition: .3s;
        z-index: 1000;
    }

    .sidebar-overlay.active {
        visibility: visible;
        opacity: 1;
    }

    .mobile-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #f4f4f4;
        border-radius: 6px;
    }

    .fixture_dashboard {
        width: 100%;
        padding: 22px;
    }

    .result-dashboard {
        grid-template-columns: 1fr;
    }

    .standings-section {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .topnavbar {
        flex-wrap: wrap;
        gap: 5px;
        padding: 10px 3%;
    }

    .topnavbar ul {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: thin;
    }

    .topnavbar ul li a {
        padding: 12px 10px;
    }

    .search-box {
        width: 55%;
    }

}


/* 
    SMALL TABLET — 650px
 */

@media (max-width: 650px) {

    .score-ticker {
        min-height: 38px;
    }

    .ticker-label {
        min-width: 100px;
        height: 38px;
        font-size: 10px;
    }

    .ticker-track {
        gap: 22px;
        padding-left: 15px;
    }

    .ticker-item {
        font-size: 10px;
    }

    .topbar {
        min-height: 65px;
        padding: 10px 3%;
        gap: 10px;
        flex-wrap: wrap;
    }

    .mobile-menu {
        width: 37px;
        height: 37px;
        font-size: 19px;
        flex-shrink: 0;
    }

    .search-box {
        flex: 1;
        width: auto;
        min-width: 120px;
        padding: 10px;
        gap: 7px;
    }

    .search-box input {
        font-size: 11px;
        min-width: 0;
    }

    .top-actions {
        gap: 6px;
    }

    .action-btn {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }

    .profile {
        padding: 9px 10px;
        font-size: 10px;
    }

    .topnavbar {
        min-height: 50px;
    }

    .nav-brand {
        font-size: 17px;
    }

    .topnavbar ul li a {
        padding: 11px 9px;
        font-size: 11px;
    }

    .fixture_dashboard {
        padding: 16px;
    }

    .page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 18px;
    }

    .page-heading h1 {
        font-size: 24px;
    }

    .page-heading p {
        font-size: 12px;
    }

    .calendar-btn {
        padding: 10px 13px;
        font-size: 11px;
    }

    .header {
        padding: 15px;
        margin-bottom: 18px;
    }

    .month {
        gap: 12px;
    }

    .month h3 {
        font-size: 15px;
    }

    .date {
        min-width: 62px;
        min-height: 60px;
    }

    .filter-container {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .filters,
    .favorite {
        width: 100%;
    }

    .filter,
    .favorite button {
        padding: 8px 11px;
        font-size: 10px;
    }

    .competition-heading {
        padding: 14px;
    }

    .competition-heading h3 {
        font-size: 12px;
    }

    .match {
        grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
        min-height: 68px;
        padding: 10px;
        gap: 5px;
    }

    .team {
        gap: 6px;
        font-size: 11px;
    }

    .team img,
    .team-placeholder {
        width: 25px;
        height: 25px;
    }

    .score strong {
        font-size: 16px;
    }

    .score small {
        font-size: 8px;
        padding: 2px 6px;
    }

    .standings-section {
        grid-template-columns: 1fr;
    }

    .standings,
    .top-scorers {
        padding: 15px;
    }

    .match-result {
        padding: 16px;
    }

    .site-footer {
        padding: 30px 5% 0;
    }

    .footer-section {
        gap: 25px;
    }

    .main-footer .footer-container {
        gap: 25px;
    }

}


/* 
    MOBILE SCREEN — 600px
 */

@media (max-width: 600px) {

    body {
        font-size: 13px;
    }

    .topbar {
        display: flex;
        flex-wrap: wrap;
    }

    .topbar .search-box {
        order: 3;
        width: 100%;
        flex: 1 0 100%;
        max-width: none;
    }

    .top-actions {
        margin-left: auto;
    }

    .create-acct {
        padding: 8px 10px;
        font-size: 10px;
    }

    .result-dashboard {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .matches-section,
    .standings-section {
        width: 100%;
    }

    .match-resu-info {
        gap: 5px;
    }

    .match-resu-team .flag {
        width: 40px;
        height: 35px;
    }

    .match-resu-team p {
        font-size: 10px;
    }

    .score-container .score {
        font-size: 22px;
    }

    .footer-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .main-footer .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .main-footer .footer-about {
        grid-column: 1 / -1;
    }

}


/* 
    MOBILE SCREEN — 380px
 */

@media (max-width: 380px) {

    .score-ticker {
        min-height: 35px;
    }

    .ticker-label {
        min-width: 85px;
        height: 35px;
        gap: 5px;
        font-size: 9px;
    }

    .live-dot {
        width: 7px;
        height: 7px;
    }

    .ticker-item {
        font-size: 9px;
    }

    .topbar {
        padding: 9px 10px;
    }

    .mobile-menu {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    .action-btn {
        width: 32px;
        height: 32px;
    }

    .profile {
        padding: 8px;
        font-size: 9px;
    }

    .nav-brand {
        font-size: 15px;
    }

    .fixture_dashboard {
        padding: 12px 9px;
    }

    .page-heading h1 {
        font-size: 21px;
    }

    .page-heading p {
        font-size: 11px;
    }

    .header {
        padding: 11px;
    }

    .month {
        gap: 8px;
    }

    .month h3 {
        font-size: 13px;
    }

    .month button {
        width: 28px;
        height: 28px;
    }

    .date {
        min-width: 54px;
        min-height: 55px;
    }

    .date span {
        font-size: 9px;
    }

    .date strong {
        font-size: 11px;
    }

    .filter,
    .favorite button {
        padding: 7px 9px;
        font-size: 9px;
    }

    .competition-heading {
        padding: 11px 9px;
    }

    .competition-heading h3 {
        font-size: 11px;
        gap: 6px;
    }

    .competition-heading>span {
        font-size: 9px;
    }

    .match {
        grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
        gap: 3px;
        padding: 9px 7px;
    }

    .team {
        gap: 4px;
        font-size: 10px;
    }

    .team img,
    .team-placeholder {
        width: 22px;
        height: 22px;
    }

    .score strong {
        font-size: 14px;
    }

    .score small {
        font-size: 7px;
        padding: 2px 4px;
    }

    .standings,
    .top-scorers {
        padding: 11px;
    }

    .sidebar-heading h3 {
        font-size: 14px;
    }

    .match-result {
        padding: 13px 10px;
    }

    .result-header h2 {
        font-size: 14px;
    }

    .match-resu-team .flag {
        width: 32px;
        height: 30px;
    }

    .match-resu-team p {
        font-size: 9px;
    }

    .score-container .score {
        font-size: 19px;
    }

    .site-footer {
        padding: 25px 12px 0;
    }

    .footer-section {
        gap: 18px 12px;
    }

    .footer-brand h3 {
        font-size: 19px;
    }

    .footer-column h4 {
        font-size: 11px;
    }

    .footer-column a {
        font-size: 10px;
    }

    .main-footer .footer-container {
        gap: 18px 12px;
    }

    .toast-message {
        right: 10px;
        bottom: 10px;
        left: 10px;
        width: auto;
        max-width: none;
        padding: 12px;
        font-size: 11px;
    }

}


/* 
    EXTRA SMALL MOBILE — 300px
 */

@media (max-width: 320px) {

    .topbar {
        gap: 7px;
        padding: 8px;
    }

    .top-actions {
        gap: 4px;
    }

    .action-btn {
        width: 29px;
        height: 29px;
        font-size: 11px;
    }

    .profile {
        padding: 7px;
        font-size: 8px;
    }

    .fixture_dashboard {
        padding: 10px 7px;
    }

    .page-heading h1 {
        font-size: 19px;
    }

    .calendar-btn {
        padding: 9px;
        font-size: 10px;
    }

    .header {
        padding: 9px;
    }

    .date {
        min-width: 48px;
        min-height: 50px;
    }

    .filter,
    .favorite button {
        padding: 6px 7px;
        font-size: 8px;
    }

    .competition-heading {
        padding: 9px 7px;
    }

    .match {
        grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
        padding: 8px 5px;
        gap: 2px;
    }

    .team {
        gap: 3px;
        font-size: 9px;
    }

    .team img,
    .team-placeholder {
        width: 19px;
        height: 19px;
    }

    .score strong {
        font-size: 12px;
    }

    .score small {
        font-size: 6px;
        padding: 2px 3px;
    }

    .sidebar {
        width: min(260px, 85vw);
    }

    .footer-section,
    .main-footer .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .main-footer .footer-about {
        grid-column: auto;
    }

}


/* 
    DARK MODE
 */

body.dark-mode {
    --page: #111111;
    --surface: #1d1d1d;
    --ink: #f5f5f5;
    --muted: #aaaaaa;
    --line: #333333;

    background: var(--page);
    color: var(--ink);
}

body.dark-mode .topbar,
body.dark-mode .header,
body.dark-mode .competition,
body.dark-mode .standings,
body.dark-mode .top-scorers {
    background: #1d1d1d;
    color: white;
}

body.dark-mode .competition-heading,
body.dark-mode .search-box,
body.dark-mode .date,
body.dark-mode .filter,
body.dark-mode .favorite button,
body.dark-mode .month button,
body.dark-mode .action-btn {
    background: #292929;
    color: white;
    border-color: #383838;
}

body.dark-mode .match {
    border-color: #333333;
}

body.dark-mode .match:hover,
body.dark-mode .standings tbody tr:hover {
    background: #292929;
}

body.dark-mode .score strong {
    color: white;
}

body.dark-mode .standings th {
    background: #292929;
    color: #cccccc;
}

body.dark-mode .standings td {
    border-color: #383838;
}

body.dark-mode .page-heading p,
body.dark-mode .competition-heading>span {
    color: #aaaaaa;
}

body.dark-mode .search-box input {
    color: white;
}

body.dark-mode .date span {
    color: #aaaaaa;
}

body.dark-mode .date.active {
    background: var(--green);
    color: white;
}

body.dark-mode .date.active span {
    color: white;
}

body.dark-mode .score small {
    background: #16452b;
    color: #9ae6b4;
}


/* 
    FOOTER COMPATIBILITY
 */

/* Newer footer HTML */

.main-footer {
    background: var(--navy);
    color: white;
    padding: 45px 5% 0;
}

.main-footer .footer-container {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    gap: 30px;
    padding-bottom: 35px;
}

.footer-about p {
    max-width: 280px;
    margin-top: 12px;
    color: #aaaaaa;
    font-size: 12px;
}

.footer-logo {
    font-size: 23px;
    font-weight: 900;
}

.footer-logo span {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    transition: .3s;
}

.footer-social a:hover {
    background: var(--red);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links h4,
.footer-newsletter h4 {
    color: var(--gold);
    font-size: 13px;
    margin-bottom: 5px;
}

.footer-links a {
    color: #bbbbbb;
    font-size: 12px;
    transition: .3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-newsletter p {
    color: #aaaaaa;
    font-size: 12px;
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    gap: 5px;
}

.newsletter-form input {
    width: 100%;
    min-width: 0;
    padding: 11px;
    outline: none;
    border: 1px solid #444;
    background: #292929;
    color: white;
    border-radius: 5px;
}

.newsletter-form button {
    padding: 10px 13px;
    background: var(--green);
    color: white;
    border-radius: 5px;
}

.newsletter-form button:hover {
    background: var(--red);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom p {
    color: #aaaaaa;
    font-size: 11px;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-links a {
    color: #aaaaaa;
    font-size: 11px;
}

.footer-bottom-links a:hover {
    color: var(--gold);
}


/* 
    ACCESSIBILITY AND FINAL FIXES
 */

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

html,
body {
    max-width: 100%;
}

.app-shell,
.fixture_dashboard,
.result-dashboard,
.matches-section,
.standings-section {
    min-width: 0;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}