/* =========================================================
   FOOTBALLHUB / RADAR LIVESCORE
   MATCH DETAIL PREMIUM
   FILE: match-detail.css
   TAHAP 1 - FULLSCREEN POPUP FOUNDATION
   ========================================================= */


/* =========================================================
   1. MATCH DETAIL ROOT
   ========================================================= */

.md-overlay {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background:
        rgba(5, 12, 25, 0.72);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}


/* =========================================================
   2. OVERLAY ACTIVE
   ========================================================= */

.md-overlay.md-active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   3. FULLSCREEN MODAL
   ========================================================= */

.md-modal {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    background: #f5f7fb;

    transform:
        scale(0.96)
        translateY(25px);

    opacity: 0;

    transition:
        transform 0.45s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        ),
        opacity 0.35s ease;
}


/* =========================================================
   4. MODAL ACTIVE
   ========================================================= */

.md-overlay.md-active .md-modal {
    opacity: 1;

    transform:
        scale(1)
        translateY(0);
}


/* =========================================================
   5. DARK MODE MODAL
   ========================================================= */

body.dark-mode .md-modal,
html.dark-mode .md-modal,
[data-theme="dark"] .md-modal {
    background: #07111f;
}


/* =========================================================
   6. HEADER
   ========================================================= */

.md-header {
    position: relative;

    flex-shrink: 0;

    width: 100%;

    min-height: 72px;

    display: flex;
    align-items: center;

    padding:
        0
        28px;

    border-bottom:
        1px solid
        rgba(15, 23, 42, 0.08);

    background:
        rgba(255, 255, 255, 0.96);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    z-index: 10;
}


/* =========================================================
   7. DARK HEADER
   ========================================================= */

body.dark-mode .md-header,
html.dark-mode .md-header,
[data-theme="dark"] .md-header {
    background:
        rgba(7, 17, 31, 0.96);

    border-color:
        rgba(255, 255, 255, 0.08);
}


/* =========================================================
   8. HEADER LEFT
   ========================================================= */

.md-header-left {
    display: flex;
    align-items: center;

    gap: 14px;

    min-width: 0;

    flex: 1;
}


/* =========================================================
   9. BACK BUTTON
   ========================================================= */

.md-back-btn {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 12px;

    cursor: pointer;

    background:
        #eef2f7;

    color:
        #101828;

    font-size:
        20px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.md-back-btn:hover {
    transform:
        translateX(-3px);

    background:
        #e3e9f0;
}


.md-back-btn:active {
    transform:
        scale(0.94);
}


/* =========================================================
   10. DARK BACK BUTTON
   ========================================================= */

body.dark-mode .md-back-btn,
html.dark-mode .md-back-btn,
[data-theme="dark"] .md-back-btn {
    background:
        #132236;

    color:
        #ffffff;
}


body.dark-mode .md-back-btn:hover,
html.dark-mode .md-back-btn:hover,
[data-theme="dark"] .md-back-btn:hover {
    background:
        #1a2d45;
}


/* =========================================================
   11. HEADER TITLE
   ========================================================= */

.md-header-title {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 2px;
}


.md-header-title h2 {
    margin: 0;

    color:
        #101828;

    font-size:
        16px;

    font-weight:
        700;

    line-height:
        1.3;

    white-space:
        nowrap;

    overflow:
        hidden;

    text-overflow:
        ellipsis;
}


.md-header-title span {
    color:
        #667085;

    font-size:
        12px;

    white-space:
        nowrap;

    overflow:
        hidden;

    text-overflow:
        ellipsis;
}


/* =========================================================
   12. DARK HEADER TITLE
   ========================================================= */

body.dark-mode .md-header-title h2,
html.dark-mode .md-header-title h2,
[data-theme="dark"] .md-header-title h2 {
    color:
        #ffffff;
}


body.dark-mode .md-header-title span,
html.dark-mode .md-header-title span,
[data-theme="dark"] .md-header-title span {
    color:
        #9fb0c4;
}


/* =========================================================
   13. HEADER RIGHT
   ========================================================= */

.md-header-right {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-left: auto;
}


/* =========================================================
   14. CLOSE BUTTON
   ========================================================= */

.md-close-btn {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border: none;
    border-radius: 12px;

    cursor: pointer;

    background:
        transparent;

    color:
        #667085;

    font-size:
        24px;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.md-close-btn:hover {
    background:
        #fff1f1;

    color:
        #e53935;

    transform:
        rotate(90deg);
}


.md-close-btn:active {
    transform:
        scale(0.92)
        rotate(90deg);
}


/* =========================================================
   15. DARK CLOSE BUTTON
   ========================================================= */

body.dark-mode .md-close-btn,
html.dark-mode .md-close-btn,
[data-theme="dark"] .md-close-btn {
    color:
        #a8b7c9;
}


body.dark-mode .md-close-btn:hover,
html.dark-mode .md-close-btn:hover,
[data-theme="dark"] .md-close-btn:hover {
    background:
        rgba(229, 57, 53, 0.12);

    color:
        #ff6b6b;
}


/* =========================================================
   16. MAIN SCROLL AREA
   ========================================================= */

.md-body {
    position: relative;

    flex: 1;

    width: 100%;

    overflow-y: auto;
    overflow-x: hidden;

    overscroll-behavior:
        contain;

    -webkit-overflow-scrolling:
        touch;

    padding-bottom:
        40px;
}


/* =========================================================
   17. SCROLLBAR
   ========================================================= */

.md-body::-webkit-scrollbar {
    width: 8px;
}


.md-body::-webkit-scrollbar-track {
    background:
        transparent;
}


.md-body::-webkit-scrollbar-thumb {
    background:
        rgba(100, 116, 139, 0.35);

    border-radius:
        20px;
}


.md-body::-webkit-scrollbar-thumb:hover {
    background:
        rgba(100, 116, 139, 0.55);
}


/* =========================================================
   18. CONTENT CONTAINER
   ========================================================= */

.md-container {
    width: 100%;

    max-width:
        1500px;

    margin:
        0 auto;

    padding:
        28px
        32px;
}


/* =========================================================
   19. LOADING AREA
   ========================================================= */

.md-loading {
    width: 100%;

    min-height:
        420px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 18px;
}


/* =========================================================
   20. PREMIUM LOADER
   ========================================================= */

.md-loader {
    position: relative;

    width: 54px;
    height: 54px;

    border-radius:
        50%;

    border:
        4px solid
        rgba(20, 184, 166, 0.15);

    border-top-color:
        #14b8a6;

    animation:
        md-spin 0.8s linear infinite;
}


@keyframes md-spin {

    0% {
        transform:
            rotate(0deg);
    }

    100% {
        transform:
            rotate(360deg);
    }

}


/* =========================================================
   21. LOADING TEXT
   ========================================================= */

.md-loading-text {
    margin: 0;

    color:
        #667085;

    font-size:
        14px;

    font-weight:
        600;
}


body.dark-mode .md-loading-text,
html.dark-mode .md-loading-text,
[data-theme="dark"] .md-loading-text {
    color:
        #9fb0c4;
}


/* =========================================================
   22. MATCH DETAIL CONTENT
   ========================================================= */

.md-content {
    width: 100%;
}


/* =========================================================
   23. PREMIUM CARD FOUNDATION
   ========================================================= */

.md-card {
    width: 100%;

    border-radius:
        18px;

    background:
        #ffffff;

    border:
        1px solid
        rgba(15, 23, 42, 0.07);

    box-shadow:
        0 8px 30px
        rgba(15, 23, 42, 0.05);

    overflow:
        hidden;
}


/* =========================================================
   24. DARK CARD
   ========================================================= */

body.dark-mode .md-card,
html.dark-mode .md-card,
[data-theme="dark"] .md-card {
    background:
        #0d1b2d;

    border-color:
        rgba(255, 255, 255, 0.07);

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.2);
}


/* =========================================================
   25. TABS FOUNDATION
   ========================================================= */

.md-tabs-wrap {
    position: sticky;

    top: 0;

    width: 100%;

    z-index: 8;

    background:
        rgba(245, 247, 251, 0.94);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    border-bottom:
        1px solid
        rgba(15, 23, 42, 0.06);
}


body.dark-mode .md-tabs-wrap,
html.dark-mode .md-tabs-wrap,
[data-theme="dark"] .md-tabs-wrap {
    background:
        rgba(7, 17, 31, 0.94);

    border-color:
        rgba(255, 255, 255, 0.06);
}


/* =========================================================
   26. TABS
   ========================================================= */

.md-tabs {
    display: flex;

    align-items: center;

    gap: 8px;

    width: 100%;

    max-width:
        1500px;

    margin:
        0 auto;

    padding:
        12px
        32px;

    overflow-x:
        auto;

    scrollbar-width:
        none;
}


.md-tabs::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   27. TAB BUTTON
   ========================================================= */

.md-tab {
    position: relative;

    flex-shrink: 0;

    border: none;

    padding:
        10px
        16px;

    border-radius:
        10px;

    cursor: pointer;

    background:
        transparent;

    color:
        #667085;

    font-size:
        13px;

    font-weight:
        600;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.md-tab:hover {
    background:
        #eaf0f5;

    color:
        #101828;
}


/* =========================================================
   28. ACTIVE TAB
   ========================================================= */

.md-tab.md-tab-active {
    background:
        #0f766e;

    color:
        #ffffff;

    box-shadow:
        0 4px 14px
        rgba(15, 118, 110, 0.22);
}


/* =========================================================
   29. DARK TAB
   ========================================================= */

body.dark-mode .md-tab,
html.dark-mode .md-tab,
[data-theme="dark"] .md-tab {
    color:
        #9fb0c4;
}


body.dark-mode .md-tab:hover,
html.dark-mode .md-tab:hover,
[data-theme="dark"] .md-tab:hover {
    background:
        #132236;

    color:
        #ffffff;
}


body.dark-mode .md-tab.md-tab-active,
html.dark-mode .md-tab.md-tab-active,
[data-theme="dark"] .md-tab.md-tab-active {
    background:
        #14b8a6;

    color:
        #06221f;
}


/* =========================================================
   30. TAB CONTENT
   ========================================================= */

.md-tab-content {
    width: 100%;

    animation:
        md-fade-content 0.35s ease;
}


@keyframes md-fade-content {

    from {
        opacity: 0;

        transform:
            translateY(10px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


/* =========================================================
   31. CARD TITLE
   ========================================================= */

.md-section-title {
    margin: 0;

    color:
        #101828;

    font-size:
        17px;

    font-weight:
        700;
}


body.dark-mode .md-section-title,
html.dark-mode .md-section-title,
[data-theme="dark"] .md-section-title {
    color:
        #ffffff;
}


/* =========================================================
   32. MOBILE TABLET
   ========================================================= */

@media (max-width: 900px) {

    .md-header {
        padding:
            0
            20px;
    }

    .md-container {
        padding:
            22px
            20px;
    }

    .md-tabs {
        padding:
            10px
            20px;
    }

}


/* =========================================================
   33. MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .md-header {
        min-height:
            64px;

        padding:
            0
            14px;
    }


    .md-header-left {
        gap:
            10px;
    }


    .md-back-btn,
    .md-close-btn {
        width:
            38px;

        height:
            38px;
    }


    .md-header-title h2 {
        font-size:
            14px;
    }


    .md-header-title span {
        font-size:
            11px;
    }


    .md-container {
        padding:
            16px
            12px;
    }


    .md-tabs {
        gap:
            6px;

        padding:
            10px
            12px;
    }


    .md-tab {
        padding:
            9px
            13px;

        font-size:
            12px;
    }


    .md-card {
        border-radius:
            14px;
    }

}


/* =========================================================
   34. SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .md-header {
        padding:
            0
            10px;
    }


    .md-back-btn,
    .md-close-btn {
        width:
            35px;

        height:
            35px;
    }


    .md-header-title h2 {
        font-size:
            13px;
    }


    .md-header-title span {
        font-size:
            10px;
    }


    .md-container {
        padding:
            14px
            10px;
    }


    .md-tab {
        padding:
            8px
            11px;

        font-size:
            11px;
    }

}


/* =========================================================
   35. OPEN ANIMATION
   ========================================================= */

.md-opening-card {
    animation:
        md-card-press 0.35s ease;
}


@keyframes md-card-press {

    0% {
        transform:
            scale(1);
    }

    45% {
        transform:
            scale(0.97);
    }

    100% {
        transform:
            scale(1);
    }

}


/* =========================================================
   END MATCH DETAIL CSS - TAHAP 1
   ========================================================= */
   

/* =========================================================
   RADAR LIVESCORE
   PREMIUM MATCH DETAIL
   FILE: match-detail.css
   ========================================================= */


/* =========================================================
   OVERLAY
   ========================================================= */

#match-detail-overlay {
    position: fixed !important;
    inset: 0 !important;

    z-index: 999999 !important;

    display: none;

    width: 100vw !important;
    height: 100vh !important;

    background:
        rgba(5, 15, 25, 0.72);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


#match-detail-overlay.is-open {
    display: block !important;

    opacity: 1;

    visibility: visible;
}


/* =========================================================
   MODAL
   ========================================================= */

.match-detail-modal {
    position: relative;

    display: flex !important;
    flex-direction: column;

    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;

    background:
        #f3f6fa;

    color:
        #172033;

    overflow: hidden;

    animation:
        matchDetailOpen
        0.35s ease;
}


@keyframes matchDetailOpen {

    from {
        opacity: 0;

        transform:
            translateY(20px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


/* =========================================================
   HEADER
   ========================================================= */

.match-detail-header {

    position: relative;

    z-index: 10;

    display: flex;

    align-items: center;

    height: 72px;

    padding:
        0 24px;

    background:
        linear-gradient(
            135deg,
            #0c1d32,
            #122c49
        );

    border-bottom:
        1px solid
        rgba(255,255,255,0.08);

    color:
        #ffffff;

    flex-shrink: 0;
}


.match-detail-header-title {

    display: flex;

    flex-direction: column;

    gap: 3px;

    margin-left: 16px;

    flex: 1;
}


.match-detail-header-title strong {

    font-size: 17px;

    font-weight: 800;

    letter-spacing:
        0.2px;
}


.match-detail-fixture-id {

    font-size: 11px;

    opacity: 0.65;

    font-weight: 600;
}


/* HEADER BUTTON */

.match-detail-back,
.match-detail-close {

    width: 42px;

    height: 42px;

    border: none;

    border-radius: 12px;

    background:
        rgba(255,255,255,0.08);

    color:
        #ffffff;

    font-size: 22px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition:
        0.2s ease;
}


.match-detail-back:hover,
.match-detail-close:hover {

    background:
        rgba(255,255,255,0.18);

    transform:
        scale(1.04);
}


/* =========================================================
   BODY
   ========================================================= */

.match-detail-body {

    flex: 1;

    overflow-y: auto;

    overflow-x: hidden;

    padding:
        28px;

    background:
        linear-gradient(
            180deg,
            #edf3f9,
            #f7f9fc
        );
}


.match-detail-content {

    display: block !important;

    visibility: visible !important;

    opacity: 1 !important;

    width: 100%;

    max-width: 1180px;

    margin:
        0 auto;

    padding-bottom:
        60px;
}


/* =========================================================
   LEAGUE INFO
   ========================================================= */

.match-league-info {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-bottom:
        18px;
}


.match-league-logo {

    width: 44px;

    height: 44px;

    object-fit: contain;
}


.match-league-logo-fallback {

    width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background:
        #ffffff;

    font-size: 20px;
}


.match-league-text {

    display: flex;

    flex-direction: column;

    gap: 4px;
}


.match-league-text strong {

    font-size: 15px;

    font-weight: 800;
}


.match-league-text span {

    font-size: 12px;

    color:
        #667085;
}


/* =========================================================
   HERO CARD
   ========================================================= */

.match-overview-hero {

    position: relative;

    overflow: hidden;

    background:
        #ffffff;

    border-radius:
        22px;

    padding:
        32px;

    margin-bottom:
        22px;

    box-shadow:
        0 12px 40px
        rgba(30, 55, 80, 0.10);

    border:
        1px solid
        rgba(16, 42, 67, 0.07);
}


/* TOP DECORATION */

.match-overview-hero::before {

    content:
        "";

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            #00a896,
            #22c55e,
            #0ea5e9
        );
}


/* =========================================================
   STATUS
   ========================================================= */

.match-status-row {

    display: flex;

    justify-content: center;

    margin-bottom:
        24px;
}


.match-status-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 30px;

    padding:
        6px 14px;

    border-radius:
        999px;

    background:
        #eef2f6;

    color:
        #52606d;

    font-size: 12px;

    font-weight: 800;

    letter-spacing:
        0.3px;
}


.match-status-badge.is-live {

    background:
        #fee2e2;

    color:
        #dc2626;

    animation:
        matchLivePulse
        1.5s infinite;
}


.match-status-badge.is-finished {

    background:
        #e7f7ef;

    color:
        #16844a;
}


@keyframes matchLivePulse {

    0% {
        box-shadow:
            0 0 0 0
            rgba(220,38,38,0.35);
    }

    70% {
        box-shadow:
            0 0 0 8px
            rgba(220,38,38,0);
    }

    100% {
        box-shadow:
            0 0 0 0
            rgba(220,38,38,0);
    }

}


/* =========================================================
   TEAMS
   ========================================================= */

.match-teams-board {

    display: grid;

    grid-template-columns:
        1fr
        minmax(130px, 200px)
        1fr;

    align-items: center;

    gap: 24px;

    padding:
        10px 0 32px;
}


.match-team {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 14px;
}


/* TEAM LOGO */

.match-team-logo-wrap {

    width: 112px;

    height: 112px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius:
        50%;

    background:
        linear-gradient(
            145deg,
            #f6f9fc,
            #e9eff5
        );

    border:
        1px solid
        rgba(16,42,67,0.06);

    box-shadow:
        0 8px 24px
        rgba(20,40,60,0.10);
}


.match-team-logo {

    width: 82px;

    height: 82px;

    object-fit: contain;

    transition:
        transform 0.25s ease;
}


.match-team:hover
.match-team-logo {

    transform:
        scale(1.08);
}


.match-team-logo-placeholder {

    font-size:
        42px;
}


/* TEAM NAME */

.match-team-name {

    font-size: 20px;

    font-weight: 850;

    color:
        #172033;

    max-width:
        300px;

    word-break:
        break-word;
}


/* =========================================================
   SCORE CENTER
   ========================================================= */

.match-score-center {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    gap: 10px;
}


.match-score {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    font-size: 42px;

    font-weight: 900;

    color:
        #101828;
}


.match-score strong {

    font-size:
        48px;
}


.match-vs {

    font-size:
        28px !important;

    letter-spacing:
        2px;

    color:
        #344054;
}


.match-time {

    font-size: 16px;

    font-weight: 800;

    color:
        #1d2939;
}


.match-date {

    font-size: 13px;

    font-weight: 600;

    color:
        #667085;
}


/* =========================================================
   META GRID
   ========================================================= */

.match-meta-grid {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(180px, 1fr)
        );

    gap: 12px;

    padding-top:
        22px;

    border-top:
        1px solid
        #edf0f4;
}


.match-meta-item {

    display: flex;

    flex-direction: column;

    gap: 7px;

    padding:
        15px;

    border-radius:
        14px;

    background:
        #f7f9fb;

    border:
        1px solid
        #edf0f4;
}


.match-meta-item span {

    font-size: 10px;

    font-weight: 800;

    letter-spacing:
        0.7px;

    text-transform:
        uppercase;

    color:
        #98a2b3;
}


.match-meta-item strong {

    font-size: 13px;

    font-weight: 750;

    color:
        #344054;

    word-break:
        break-word;
}


/* =========================================================
   TABS
   ========================================================= */

.match-detail-tabs {

    display: flex;

    align-items: center;

    gap: 8px;

    overflow-x: auto;

    padding:
        8px;

    margin-bottom:
        22px;

    background:
        #ffffff;

    border-radius:
        16px;

    box-shadow:
        0 8px 30px
        rgba(30,55,80,0.07);

    scrollbar-width:
        none;
}


.match-detail-tabs::-webkit-scrollbar {

    display:
        none;
}


.match-detail-tab {

    position: relative;

    flex:
        0 0 auto;

    min-height:
        42px;

    padding:
        0 18px;

    border:
        none;

    border-radius:
        11px;

    background:
        transparent;

    color:
        #667085;

    font-size:
        13px;

    font-weight:
        750;

    cursor:
        pointer;

    transition:
        0.2s ease;
}


.match-detail-tab:hover {

    background:
        #f1f5f8;

    color:
        #172033;
}


.match-detail-tab.is-active {

    background:
        linear-gradient(
            135deg,
            #0f766e,
            #0b5e58
        );

    color:
        #ffffff;

    box-shadow:
        0 6px 18px
        rgba(15,118,110,0.25);
}


/* =========================================================
   OVERVIEW SECTION
   ========================================================= */

.match-overview-section {

    background:
        #ffffff;

    border-radius:
        22px;

    padding:
        28px;

    box-shadow:
        0 12px 40px
        rgba(30,55,80,0.08);
}


.match-section-heading {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;

    padding-bottom:
        22px;

    margin-bottom:
        22px;

    border-bottom:
        1px solid
        #edf0f4;
}


.match-section-heading span {

    display: block;

    margin-bottom:
        8px;

    font-size:
        10px;

    font-weight:
        850;

    letter-spacing:
        1px;

    color:
        #0f766e;
}


.match-section-heading h2 {

    margin: 0;

    font-size:
        25px;

    font-weight:
        850;

    color:
        #172033;
}


.match-overview-live-status {

    padding:
        8px 13px;

    border-radius:
        999px;

    background:
        #f2f4f7;

    color:
        #475467;

    font-size:
        12px;

    font-weight:
        750;

    white-space:
        nowrap;
}


/* =========================================================
   OVERVIEW INFO GRID
   ========================================================= */

.match-overview-info-grid {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap:
        14px;
}


.match-overview-card {

    display: flex;

    flex-direction: column;

    gap: 8px;

    padding:
        18px;

    border-radius:
        16px;

    background:
        linear-gradient(
            145deg,
            #f8fafc,
            #f2f5f8
        );

    border:
        1px solid
        #edf0f4;
}


.match-overview-card span {

    font-size:
        11px;

    font-weight:
        700;

    color:
        #98a2b3;
}


.match-overview-card strong {

    font-size:
        14px;

    font-weight:
        800;

    color:
        #344054;

    word-break:
        break-word;
}


/* =========================================================
   PREMIUM COMING BOX
   ========================================================= */

.match-detail-coming {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    gap:
        12px;

    min-height:
        180px;

    margin-top:
        22px;

    padding:
        30px;

    border-radius:
        18px;

    background:
        linear-gradient(
            135deg,
            #f0fdfa,
            #ecfdf3
        );

    border:
        1px solid
        #ccfbf1;
}


.match-detail-coming div {

    width:
        54px;

    height:
        54px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        16px;

    background:
        #ffffff;

    font-size:
        25px;

    box-shadow:
        0 8px 20px
        rgba(15,118,110,0.10);
}


.match-detail-coming strong {

    font-size:
        17px;

    font-weight:
        850;

    color:
        #134e4a;
}


.match-detail-coming span {

    max-width:
        600px;

    font-size:
        13px;

    line-height:
        1.6;

    color:
        #52716e;
}


/* =========================================================
   LOADING
   ========================================================= */

.match-detail-loading {

    min-height:
        350px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    gap:
        14px;

    color:
        #667085;
}


.match-detail-loading strong {

    color:
        #344054;

    font-size:
        14px;
}


.match-detail-loading span {

    font-size:
        12px;
}


.match-detail-spinner {

    width:
        48px;

    height:
        48px;

    border-radius:
        50%;

    border:
        4px solid
        #d9e4ea;

    border-top-color:
        #0f766e;

    animation:
        matchSpin
        0.8s linear infinite;
}


@keyframes matchSpin {

    to {

        transform:
            rotate(360deg);

    }

}


/* =========================================================
   ERROR
   ========================================================= */

.match-detail-error {

    min-height:
        300px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    text-align:
        center;

    gap:
        14px;

    color:
        #667085;
}


.match-detail-error-icon {

    width:
        58px;

    height:
        58px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        18px;

    background:
        #fef3f2;

    color:
        #d92d20;

    font-size:
        28px;
}


.match-detail-retry {

    border:
        none;

    padding:
        11px 20px;

    border-radius:
        10px;

    background:
        #0f766e;

    color:
        #ffffff;

    font-weight:
        750;

    cursor:
        pointer;
}


/* =========================================================
   DARK MODE
   ========================================================= */

body.dark-mode
.match-detail-modal,

body.dark
.match-detail-modal {

    background:
        #071520;

    color:
        #e5edf5;
}


body.dark-mode
.match-detail-body,

body.dark
.match-detail-body {

    background:
        linear-gradient(
            180deg,
            #071520,
            #0b1b28
        );
}


body.dark-mode
.match-overview-hero,

body.dark
.match-overview-hero,

body.dark-mode
.match-overview-section,

body.dark
.match-overview-section,

body.dark-mode
.match-detail-tabs,

body.dark
.match-detail-tabs {

    background:
        #0d202e;

    border-color:
        rgba(255,255,255,0.06);
}


body.dark-mode
.match-team-name,

body.dark
.match-team-name,

body.dark-mode
.match-score,

body.dark
.match-score,

body.dark-mode
.match-section-heading h2,

body.dark
.match-section-heading h2 {

    color:
        #f2f6fa;
}


body.dark-mode
.match-team-logo-wrap,

body.dark
.match-team-logo-wrap {

    background:
        #102837;

    border-color:
        rgba(255,255,255,0.08);
}


body.dark-mode
.match-meta-item,

body.dark
.match-meta-item,

body.dark-mode
.match-overview-card,

body.dark
.match-overview-card {

    background:
        #102532;

    border-color:
        rgba(255,255,255,0.06);
}


body.dark-mode
.match-meta-item strong,

body.dark
.match-meta-item strong,

body.dark-mode
.match-overview-card strong,

body.dark
.match-overview-card strong,

body.dark-mode
.match-time,

body.dark
.match-time {

    color:
        #e5edf5;
}


body.dark-mode
.match-detail-tab,

body.dark
.match-detail-tab {

    color:
        #9fb0bd;
}


body.dark-mode
.match-detail-tab:hover,

body.dark
.match-detail-tab:hover {

    background:
        #132d3d;

    color:
        #ffffff;
}


body.dark-mode
.match-detail-coming,

body.dark
.match-detail-coming {

    background:
        linear-gradient(
            135deg,
            #0c2928,
            #102b24
        );

    border-color:
        #1a4943;
}


body.dark-mode
.match-detail-coming div,

body.dark
.match-detail-coming div {

    background:
        #123431;
}


body.dark-mode
.match-detail-coming strong,

body.dark
.match-detail-coming strong {

    color:
        #99f6e4;
}


body.dark-mode
.match-detail-coming span,

body.dark
.match-detail-coming span {

    color:
        #a7c8c2;
}


/* =========================================================
   TABLET
   ========================================================= */

@media
(
    max-width: 900px
) {

    .match-detail-body {

        padding:
            20px;
    }


    .match-overview-info-grid {

        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }


    .match-team-logo-wrap {

        width:
            92px;

        height:
            92px;
    }


    .match-team-logo {

        width:
            68px;

        height:
            68px;
    }


    .match-team-name {

        font-size:
            17px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media
(
    max-width: 640px
) {

    .match-detail-header {

        height:
            62px;

        padding:
            0 14px;
    }


    .match-detail-header-title {

        margin-left:
            10px;
    }


    .match-detail-body {

        padding:
            12px;
    }


    .match-overview-hero {

        padding:
            20px 14px;

        border-radius:
            16px;
    }


    .match-teams-board {

        grid-template-columns:
            1fr
            90px
            1fr;

        gap:
            8px;

        padding-bottom:
            24px;
    }


    .match-team-logo-wrap {

        width:
            72px;

        height:
            72px;
    }


    .match-team-logo {

        width:
            55px;

        height:
            55px;
    }


    .match-team-name {

        font-size:
            14px;

        max-width:
            120px;
    }


    .match-score {

        font-size:
            26px;

        gap:
            7px;
    }


    .match-score strong {

        font-size:
            30px;
    }


    .match-vs {

        font-size:
            20px !important;
    }


    .match-time {

        font-size:
            13px;
    }


    .match-date {

        font-size:
            11px;
    }


    .match-meta-grid {

        grid-template-columns:
            1fr;
    }


    .match-detail-tabs {

        margin-left:
            -2px;

        margin-right:
            -2px;

        border-radius:
            13px;
    }


    .match-detail-tab {

        min-height:
            38px;

        padding:
            0 14px;

        font-size:
            12px;
    }


    .match-overview-section {

        padding:
            18px 14px;

        border-radius:
            16px;
    }


    .match-section-heading {

        flex-direction:
            column;

        gap:
            12px;
    }


    .match-section-heading h2 {

        font-size:
            20px;
    }


    .match-overview-info-grid {

        grid-template-columns:
            1fr;
    }


    .match-overview-card {

        padding:
            14px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media
(
    max-width: 380px
) {

    .match-teams-board {

        grid-template-columns:
            1fr
            70px
            1fr;
    }


    .match-team-logo-wrap {

        width:
            58px;

        height:
            58px;
    }


    .match-team-logo {

        width:
            44px;

        height:
            44px;
    }


    .match-team-name {

        font-size:
            12px;

        max-width:
            100px;
    }


    .match-score strong {

        font-size:
            25px;
    }

}

/* =========================================================
   MATCH DETAIL
   PREMIUM DARK MODE FIX
   RADAR LIVESCORE
   ========================================================= */

html[data-theme="dark"] #match-detail-overlay {
    background:
        rgba(0, 0, 0, 0.82) !important;
}


/* =========================================================
   MAIN MODAL
   ========================================================= */

html[data-theme="dark"] .match-detail-modal {
    background:
        #07111f !important;

    color:
        #f1f5f9 !important;
}


/* =========================================================
   BODY
   ========================================================= */

html[data-theme="dark"] .match-detail-body {
    background:
        linear-gradient(
            180deg,
            #07111f,
            #0a1726
        ) !important;
}


/* =========================================================
   HEADER
   ========================================================= */

html[data-theme="dark"] .match-detail-header {
    background:
        linear-gradient(
            135deg,
            #081421,
            #10263a
        ) !important;

    border-bottom:
        1px solid
        #1c3448 !important;
}


/* =========================================================
   HERO CARD
   ========================================================= */

html[data-theme="dark"] .match-overview-hero {
    background:
        #0d1c2b !important;

    border-color:
        #1b3549 !important;

    box-shadow:
        0 15px 40px
        rgba(0, 0, 0, 0.35) !important;
}


/* =========================================================
   OVERVIEW SECTION
   ========================================================= */

html[data-theme="dark"] .match-overview-section {
    background:
        #0d1c2b !important;

    border-color:
        #1b3549 !important;
}


/* =========================================================
   TABS
   ========================================================= */

html[data-theme="dark"] .match-detail-tabs {
    background:
        #0d1c2b !important;

    border:
        1px solid
        #1b3549 !important;
}


html[data-theme="dark"] .match-detail-tab {
    color:
        #94a3b8 !important;
}


html[data-theme="dark"] .match-detail-tab:hover {
    background:
        #142a3d !important;

    color:
        #ffffff !important;
}


html[data-theme="dark"] .match-detail-tab.is-active {
    background:
        linear-gradient(
            135deg,
            #0f766e,
            #0b5e58
        ) !important;

    color:
        #ffffff !important;
}


/* =========================================================
   TEAM
   ========================================================= */

html[data-theme="dark"] .match-team-logo-wrap {
    background:
        #102536 !important;

    border-color:
        #1b3549 !important;
}


html[data-theme="dark"] .match-team-name {
    color:
        #f8fafc !important;
}


/* =========================================================
   SCORE
   ========================================================= */

html[data-theme="dark"] .match-score,
html[data-theme="dark"] .match-score strong {
    color:
        #ffffff !important;
}


html[data-theme="dark"] .match-vs {
    color:
        #64748b !important;
}


html[data-theme="dark"] .match-time {
    color:
        #e2e8f0 !important;
}


html[data-theme="dark"] .match-date {
    color:
        #94a3b8 !important;
}


/* =========================================================
   LEAGUE
   ========================================================= */

html[data-theme="dark"] .match-league-text strong {
    color:
        #f1f5f9 !important;
}


html[data-theme="dark"] .match-league-text span {
    color:
        #94a3b8 !important;
}


/* =========================================================
   META GRID
   ========================================================= */

html[data-theme="dark"] .match-meta-grid {
    border-color:
        #1b3549 !important;
}


html[data-theme="dark"] .match-meta-item {
    background:
        #102536 !important;

    border-color:
        #1b3549 !important;
}


html[data-theme="dark"] .match-meta-item span {
    color:
        #718096 !important;
}


html[data-theme="dark"] .match-meta-item strong {
    color:
        #e2e8f0 !important;
}


/* =========================================================
   OVERVIEW CARDS
   ========================================================= */

html[data-theme="dark"] .match-overview-card {
    background:
        #102536 !important;

    border-color:
        #1b3549 !important;
}


html[data-theme="dark"] .match-overview-card span {
    color:
        #718096 !important;
}


html[data-theme="dark"] .match-overview-card strong {
    color:
        #e2e8f0 !important;
}


/* =========================================================
   SECTION
   ========================================================= */

html[data-theme="dark"] .match-section-heading {
    border-color:
        #1b3549 !important;
}


html[data-theme="dark"] .match-section-heading h2 {
    color:
        #f8fafc !important;
}


/* =========================================================
   STATUS
   ========================================================= */

html[data-theme="dark"] .match-status-badge {
    background:
        #142a3d !important;

    color:
        #cbd5e1 !important;
}


html[data-theme="dark"] .match-status-badge.is-live {
    background:
        rgba(220, 38, 38, 0.18) !important;

    color:
        #ff5a67 !important;
}


html[data-theme="dark"] .match-status-badge.is-finished {
    background:
        rgba(22, 132, 74, 0.18) !important;

    color:
        #4ade80 !important;
}


/* =========================================================
   COMING BOX
   ========================================================= */

html[data-theme="dark"] .match-detail-coming {
    background:
        linear-gradient(
            135deg,
            #0b2828,
            #102b24
        ) !important;

    border-color:
        #1b4b46 !important;
}


html[data-theme="dark"] .match-detail-coming div {
    background:
        #123431 !important;
}


html[data-theme="dark"] .match-detail-coming strong {
    color:
        #99f6e4 !important;
}


html[data-theme="dark"] .match-detail-coming span {
    color:
        #9abbb5 !important;
}


/* =========================================================
   LOADING
   ========================================================= */

html[data-theme="dark"] .match-detail-loading {
    color:
        #94a3b8 !important;
}


html[data-theme="dark"] .match-detail-loading strong {
    color:
        #e2e8f0 !important;
}


html[data-theme="dark"] .match-detail-spinner {
    border-color:
        #1b3549 !important;

    border-top-color:
        #14b8a6 !important;
}


/* =========================================================
   ERROR
   ========================================================= */

html[data-theme="dark"] .match-detail-error {
    color:
        #94a3b8 !important;
}


/* =========================================================
   HEADER BUTTON
   ========================================================= */

html[data-theme="dark"] .match-detail-back,
html[data-theme="dark"] .match-detail-close {
    background:
        #142a3d !important;

    color:
        #ffffff !important;
}


html[data-theme="dark"] .match-detail-back:hover,
html[data-theme="dark"] .match-detail-close:hover {
    background:
        #1c3a52 !important;
}

/* =========================================================
   MATCH DETAIL
   LEAGUE LOGO WHITE OUTLINE
   DARK MODE ONLY
   ========================================================= */

html[data-theme="dark"] .match-league-logo {

    filter:
        drop-shadow(1px 0 0 rgba(255,255,255,0.95))
        drop-shadow(-1px 0 0 rgba(255,255,255,0.95))
        drop-shadow(0 1px 0 rgba(255,255,255,0.95))
        drop-shadow(0 -1px 0 rgba(255,255,255,0.95))
        drop-shadow(1px 1px 0 rgba(255,255,255,0.75))
        drop-shadow(-1px -1px 0 rgba(255,255,255,0.75))
        drop-shadow(1px -1px 0 rgba(255,255,255,0.75))
        drop-shadow(-1px 1px 0 rgba(255,255,255,0.75));

}

/* =========================================================
   MATCH DETAIL
   EVENTS TIMELINE
   ========================================================= */


/* =========================================================
   EVENTS SECTION
   ========================================================= */

.match-events-section {

    width:
        100%;

}


/* =========================================================
   EVENTS LIST
   ========================================================= */

.match-events-list {

    position:
        relative;

    display:
        flex;

    flex-direction:
        column;

    gap:
        10px;

    width:
        100%;

}


/* =========================================================
   TIMELINE LINE
   ========================================================= */

.match-events-list::before {

    content:
        "";

    position:
        absolute;

    top:
        30px;

    bottom:
        30px;

    left:
        96px;

    width:
        2px;

    background:
        #e3eaf0;

    border-radius:
        999px;

}


/* =========================================================
   EVENT ITEM
   ========================================================= */

.match-event-item {

    position:
        relative;

    z-index:
        1;

    display:
        grid;

    grid-template-columns:
        72px
        48px
        minmax(0, 1fr)
        150px;

    align-items:
        center;

    gap:
        14px;

    min-height:
        76px;

    padding:
        12px
        16px;

    border-radius:
        16px;

    background:
        #f8fafc;

    border:
        1px solid
        #e6edf3;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;

}


/* =========================================================
   EVENT HOVER
   ========================================================= */

.match-event-item:hover {

    transform:
        translateY(-1px);

    border-color:
        #b9d9d6;

    box-shadow:
        0 8px 22px
        rgba(15, 118, 110, 0.08);

}


/* =========================================================
   EVENT TIME
   ========================================================= */

.match-event-time {

    display:
        flex;

    align-items:
        center;

    justify-content:
        flex-end;

    min-width:
        0;

    font-size:
        14px;

    font-weight:
        850;

    color:
        #0f766e;

    font-variant-numeric:
        tabular-nums;

}


/* =========================================================
   EVENT ICON
   ========================================================= */

.match-event-icon {

    position:
        relative;

    z-index:
        2;

    width:
        42px;

    height:
        42px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        #ffffff;

    border:
        1px solid
        #dce6ed;

    box-shadow:
        0 4px 12px
        rgba(20, 40, 60, 0.08);

    font-size:
        18px;

    line-height:
        1;

}


/* =========================================================
   EVENT CONTENT
   ========================================================= */

.match-event-content {

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    gap:
        4px;

    min-width:
        0;

}


.match-event-content strong {

    font-size:
        14px;

    font-weight:
        850;

    line-height:
        1.3;

    color:
        #172033;

    white-space:
        nowrap;

    overflow:
        hidden;

    text-overflow:
        ellipsis;

}


.match-event-content span {

    font-size:
        12px;

    font-weight:
        650;

    line-height:
        1.4;

    color:
        #667085;

}


.match-event-content small {

    font-size:
        11px;

    font-weight:
        650;

    line-height:
        1.4;

    color:
        #98a2b3;

}


/* =========================================================
   EVENT TEAM
   ========================================================= */

.match-event-team {

    justify-self:
        end;

    max-width:
        150px;

    padding:
        7px
        11px;

    border-radius:
        999px;

    background:
        #eef5f7;

    border:
        1px solid
        #e0eaee;

    font-size:
        11px;

    font-weight:
        750;

    color:
        #52606d;

    text-align:
        center;

    white-space:
        nowrap;

    overflow:
        hidden;

    text-overflow:
        ellipsis;

}


/* =========================================================
   DARK MODE
   ========================================================= */

html[data-theme="dark"] .match-events-list::before {

    background:
        #1b3549;

}


html[data-theme="dark"] .match-event-item {

    background:
        #102536;

    border-color:
        #1b3549;

}


html[data-theme="dark"] .match-event-item:hover {

    background:
        #122b3d;

    border-color:
        #24506b;

    box-shadow:
        0 10px 24px
        rgba(0, 0, 0, 0.22);

}


html[data-theme="dark"] .match-event-time {

    color:
        #2dd4bf;

}


html[data-theme="dark"] .match-event-icon {

    background:
        #142a3d;

    border-color:
        #24506b;

    box-shadow:
        0 4px 12px
        rgba(0, 0, 0, 0.20);

}


html[data-theme="dark"] .match-event-content strong {

    color:
        #f1f5f9;

}


html[data-theme="dark"] .match-event-content span {

    color:
        #aab8c5;

}


html[data-theme="dark"] .match-event-content small {

    color:
        #718096;

}


html[data-theme="dark"] .match-event-team {

    background:
        #142d3f;

    border-color:
        #24506b;

    color:
        #a9c5d8;

}


/* =========================================================
   DARK MODE
   BODY CLASS FALLBACK
   ========================================================= */

body.dark-mode .match-events-list::before,
body.dark .match-events-list::before {

    background:
        #1b3549;

}


body.dark-mode .match-event-item,
body.dark .match-event-item {

    background:
        #102536;

    border-color:
        #1b3549;

}


body.dark-mode .match-event-item:hover,
body.dark .match-event-item:hover {

    background:
        #122b3d;

    border-color:
        #24506b;

}


body.dark-mode .match-event-time,
body.dark .match-event-time {

    color:
        #2dd4bf;

}


body.dark-mode .match-event-icon,
body.dark .match-event-icon {

    background:
        #142a3d;

    border-color:
        #24506b;

}


body.dark-mode .match-event-content strong,
body.dark .match-event-content strong {

    color:
        #f1f5f9;

}


body.dark-mode .match-event-content span,
body.dark .match-event-content span {

    color:
        #aab8c5;

}


body.dark-mode .match-event-content small,
body.dark .match-event-content small {

    color:
        #718096;

}


body.dark-mode .match-event-team,
body.dark .match-event-team {

    background:
        #142d3f;

    border-color:
        #24506b;

    color:
        #a9c5d8;

}


/* =========================================================
   TABLET
   ========================================================= */

@media
(
    max-width: 900px
) {

    .match-event-item {

        grid-template-columns:
            64px
            46px
            minmax(0, 1fr);

    }


    .match-event-team {

        grid-column:
            3;

        justify-self:
            start;

    }


    .match-events-list::before {

        left:
            88px;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media
(
    max-width: 640px
) {

    .match-events-list {

        gap:
            8px;

    }


    .match-events-list::before {

        left:
            69px;

        top:
            24px;

        bottom:
            24px;

    }


    .match-event-item {

        grid-template-columns:
            52px
            38px
            minmax(0, 1fr);

        gap:
            10px;

        min-height:
            68px;

        padding:
            10px;

        border-radius:
            13px;

    }


    .match-event-time {

        font-size:
            12px;

    }


    .match-event-icon {

        width:
            34px;

        height:
            34px;

        font-size:
            15px;

    }


    .match-event-content strong {

        font-size:
            13px;

        white-space:
            normal;

    }


    .match-event-content span {

        font-size:
            11px;

    }


    .match-event-content small {

        font-size:
            10px;

    }


    .match-event-team {

        grid-column:
            3;

        justify-self:
            start;

        max-width:
            100%;

        margin-top:
            2px;

        padding:
            5px
            9px;

        font-size:
            10px;

    }

}

/* =========================================================
   MATCH DETAIL
   LINE UPS
   ========================================================= */

.match-lineups {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 16px;

}


.match-lineups-header {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);

    align-items: center;

    gap: 20px;

    padding: 18px;

    border-radius: 18px;

    background: #f8fafc;

    border: 1px solid #e4eaf0;

}


.match-lineup-team {

    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 0;

}


.match-lineup-team.is-away {

    justify-content: flex-end;

    text-align: right;

}


.match-lineup-team img {

    width: 42px;

    height: 42px;

    object-fit: contain;

}


.match-lineup-team strong {

    font-size: 14px;

    font-weight: 800;

    color: #172033;

}


.match-lineups-title {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 4px;

    text-align: center;

}


.match-lineups-title span {

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    color: #667085;

}


.match-lineups-title strong {

    font-size: 16px;

    font-weight: 900;

    color: #0f766e;

    white-space: nowrap;

}


.match-lineups-title small {

    margin: 0 6px;

    font-size: 11px;

    color: #98a2b3;

}


.match-lineups-premium-info {

    padding: 12px 16px;

    border-radius: 12px;

    background: #eef7f6;

    border: 1px solid #d7ebe8;

    color: #46616b;

    font-size: 12px;

    font-weight: 650;

    text-align: center;

}


.match-lineup-preview {

    min-height: 280px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 30px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #0d7a68,
            #075c50
        );

    color: #ffffff;

    text-align: center;

}


.match-lineup-preview-icon {

    width: 64px;

    height: 64px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.12);

    font-size: 28px;

}


.match-lineup-preview strong {

    font-size: 20px;

    font-weight: 900;

}


.match-lineup-preview span {

    max-width: 300px;

    font-size: 13px;

    opacity: 0.85;

}


/* =========================================================
   DARK MODE
   ========================================================= */

html[data-theme="dark"] .match-lineups-header {

    background: #102536;

    border-color: #1b3549;

}


html[data-theme="dark"] .match-lineup-team strong {

    color: #f1f5f9;

}


html[data-theme="dark"] .match-lineups-title span {

    color: #8fa5b5;

}


html[data-theme="dark"] .match-lineups-premium-info {

    background: #102b35;

    border-color: #1d4952;

    color: #a9c5c8;

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .match-lineups-header {

        grid-template-columns:
            1fr;

        gap: 14px;

        text-align: center;

    }


    .match-lineup-team {

        justify-content: center;

    }


    .match-lineup-team.is-away {

        justify-content: center;

        text-align: center;

    }


    .match-lineups-title {

        order: -1;

    }


    .match-lineup-preview {

        min-height: 220px;

    }

}

/* =========================================================
   MATCH DETAIL
   STATISTICS
   ========================================================= */

.match-statistics {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 18px;

}


/* HEADER */

.match-statistics-header {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);

    align-items: center;

    gap: 18px;

    padding: 16px 18px;

    border-radius: 18px;

    background: #f8fafc;

    border: 1px solid #e4eaf0;

}


.match-statistics-team {

    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 0;

}


.match-statistics-team.is-away {

    justify-content: flex-end;

    text-align: right;

}


.match-statistics-team img {

    width: 40px;

    height: 40px;

    object-fit: contain;

    flex: 0 0 auto;

}


.match-statistics-team strong {

    font-size: 14px;

    font-weight: 800;

    color: #172033;

}


.match-statistics-title {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 2px;

    text-align: center;

}


.match-statistics-title span {

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;

    color: #98a2b3;

}


.match-statistics-title strong {

    font-size: 13px;

    font-weight: 900;

    color: #0f766e;

}


/* LIST */

.match-statistics-list {

    display: flex;

    flex-direction: column;

    gap: 14px;

}


/* ROW */

.match-statistic-row {

    display: flex;

    flex-direction: column;

    gap: 8px;

    padding: 14px 16px;

    border-radius: 16px;

    background: #ffffff;

    border: 1px solid #e7edf3;

}


/* VALUES */

.match-statistic-values {

    display: grid;

    grid-template-columns:
        70px
        minmax(0, 1fr)
        70px;

    align-items: center;

    gap: 10px;

}


.match-statistic-values strong {

    font-size: 15px;

    font-weight: 900;

    color: #172033;

}


.match-statistic-values strong:last-child {

    text-align: right;

}


.match-statistic-values span {

    text-align: center;

    font-size: 12px;

    font-weight: 750;

    color: #667085;

}


/* BARS */

.match-statistic-bars {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 6px;

}


.match-statistic-bar {

    height: 6px;

    overflow: hidden;

    border-radius: 999px;

    background: #edf1f5;

}


.match-statistic-bar.is-home {

    display: flex;

    justify-content: flex-end;

}


.match-statistic-bar.is-away {

    display: flex;

    justify-content: flex-start;

}


.match-statistic-bar span {

    display: block;

    height: 100%;

    border-radius: inherit;

}


.match-statistic-bar.is-home span {

    background: #0f766e;

}


.match-statistic-bar.is-away span {

    background: #2563eb;

}


/* =========================================================
   DARK MODE
   ========================================================= */

html[data-theme="dark"] .match-statistics-header {

    background: #102536;

    border-color: #1b3549;

}


html[data-theme="dark"] .match-statistics-team strong {

    color: #f1f5f9;

}


html[data-theme="dark"] .match-statistic-row {

    background: #0d1d2a;

    border-color: #1b3549;

}


html[data-theme="dark"] .match-statistic-values strong {

    color: #f1f5f9;

}


html[data-theme="dark"] .match-statistic-values span {

    color: #9fb0be;

}


html[data-theme="dark"] .match-statistic-bar {

    background: #1a3140;

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .match-statistics-header {

        grid-template-columns:
            1fr;

        gap: 12px;

        text-align: center;

    }


    .match-statistics-team {

        justify-content: center;

    }


    .match-statistics-team.is-away {

        justify-content: center;

        text-align: center;

    }


    .match-statistics-title {

        order: -1;

    }


    .match-statistic-values {

        grid-template-columns:
            55px
            minmax(0, 1fr)
            55px;

    }

}

/* =========================================================
   MATCH DETAIL
   HEAD TO HEAD - PREMIUM DESIGN
========================================================= */


/* =========================================================
   H2H HEADER
========================================================= */

.match-h2h-header {

    margin-bottom: 28px;

    padding-bottom: 24px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.08);

}


.match-h2h-header > span {

    display: block;

    margin-bottom: 10px;

    color:
        #48d7c8;

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        1.4px;

    text-transform:
        uppercase;

}


.match-h2h-header h2 {

    margin: 0;

    color:
        #f4f7fb;

    font-size:
        25px;

    font-weight:
        800;

    line-height:
        1.3;

}


.match-h2h-header p {

    margin:
        10px 0 0;

    color:
        #9aaabd;

    font-size:
        14px;

    font-weight:
        500;

}


/* =========================================================
   H2H SUMMARY
========================================================= */

.match-h2h-summary {

    display:
        grid;

    grid-template-columns:
        1fr
        150px
        1fr;

    align-items:
        stretch;

    gap:
        18px;

    margin-bottom:
        28px;

    padding:
        24px;

    background:
        linear-gradient(
            135deg,
            rgba(25, 48, 65, 0.95),
            rgba(16, 35, 49, 0.95)
        );

    border:
        1px solid
        rgba(83, 180, 195, 0.15);

    border-radius:
        18px;

    box-shadow:
        0 12px 35px
        rgba(0, 0, 0, 0.18);

}


/* =========================================================
   H2H TEAM
========================================================= */

.match-h2h-team {

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    min-width:
        0;

    padding:
        14px;

    text-align:
        center;

}


.match-h2h-logo {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        96px;

    height:
        96px;

    margin-bottom:
        16px;

    background:
        radial-gradient(
            circle at top,
            rgba(38, 74, 95, 0.9),
            rgba(18, 38, 52, 0.95)
        );

    border:
        1px solid
        rgba(91, 185, 200, 0.2);

    border-radius:
        50%;

    box-shadow:
        inset
        0 1px 0
        rgba(255, 255, 255, 0.05),

        0 10px 25px
        rgba(0, 0, 0, 0.2);

}


.match-h2h-logo img {

    display:
        block;

    width:
        72px;

    height:
        72px;

    object-fit:
        contain;

}


.match-h2h-team > strong {

    display:
        block;

    width:
        100%;

    overflow:
        hidden;

    color:
        #f4f7fb;

    font-size:
        16px;

    font-weight:
        800;

    line-height:
        1.4;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;

}


.match-h2h-label {

    display:
        block;

    margin-top:
        10px;

    color:
        #73879a;

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        1.2px;

}


.match-h2h-wins {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        48px;

    height:
        48px;

    margin-top:
        8px;

    color:
        #ffffff;

    font-size:
        22px;

    font-weight:
        900;

    background:
        linear-gradient(
            135deg,
            #20b9ae,
            #17877f
        );

    border-radius:
        14px;

    box-shadow:
        0 8px 18px
        rgba(18, 185, 174, 0.2);

}


/* =========================================================
   DRAW
========================================================= */

.match-h2h-draw {

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        180px;

    padding:
        18px;

    background:
        rgba(255, 255, 255, 0.035);

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius:
        16px;

}


.match-h2h-draw strong {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        70px;

    height:
        70px;

    color:
        #d9e3ec;

    font-size:
        30px;

    font-weight:
        900;

    background:
        rgba(255, 255, 255, 0.06);

    border-radius:
        50%;

}


.match-h2h-draw span {

    margin-top:
        12px;

    color:
        #8192a3;

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        1.4px;

}


/* =========================================================
   H2H LIST
========================================================= */

.match-h2h-list {

    display:
        flex;

    flex-direction:
        column;

    gap:
        12px;

}


.match-h2h-list-title {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    margin:
        8px 0 8px;

    padding:
        0 4px;

}


.match-h2h-list-title span {

    color:
        #48d7c8;

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        1.3px;

}


.match-h2h-list-title strong {

    color:
        #c9d4de;

    font-size:
        12px;

    font-weight:
        700;

}


/* =========================================================
   H2H MATCH CARD
========================================================= */

.match-h2h-match {

    position:
        relative;

    overflow:
        hidden;

    padding:
        18px 20px;

    background:
        linear-gradient(
            135deg,
            rgba(26, 48, 64, 0.92),
            rgba(18, 36, 49, 0.95)
        );

    border:
        1px solid
        rgba(85, 159, 176, 0.13);

    border-radius:
        15px;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}


.match-h2h-match::before {

    content:
        "";

    position:
        absolute;

    top:
        0;

    left:
        0;

    width:
        4px;

    height:
        100%;

    background:
        linear-gradient(
            180deg,
            #39d0c1,
            #187e78
        );

    opacity:
        0;

    transition:
        opacity 0.2s ease;

}


.match-h2h-match:hover {

    transform:
        translateY(-2px);

    border-color:
        rgba(65, 211, 195, 0.28);

    box-shadow:
        0 10px 28px
        rgba(0, 0, 0, 0.16);

}


.match-h2h-match:hover::before {

    opacity:
        1;

}


/* =========================================================
   MATCH META
========================================================= */

.match-h2h-match-meta {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        14px;

    margin-bottom:
        16px;

    padding-bottom:
        13px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.06);

}


.match-h2h-match-meta span {

    color:
        #8294a6;

    font-size:
        12px;

    font-weight:
        600;

}


.match-h2h-match-meta strong {

    overflow:
        hidden;

    color:
        #cdd8e1;

    font-size:
        12px;

    font-weight:
        700;

    text-align:
        right;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;

}


/* =========================================================
   MATCH TEAMS
========================================================= */

.match-h2h-match-teams {

    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);

    align-items:
        center;

    gap:
        18px;

}


.match-h2h-match-team {

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    min-width:
        0;

}


.match-h2h-match-team:first-child {

    justify-content:
        flex-end;

    text-align:
        right;

}


.match-h2h-match-team:last-child {

    justify-content:
        flex-start;

    text-align:
        left;

}


.match-h2h-match-team span {

    overflow:
        hidden;

    color:
        #e5ebf1;

    font-size:
        14px;

    font-weight:
        700;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;

}


.match-h2h-match-team img {

    flex:
        0 0 auto;

    width:
        30px;

    height:
        30px;

    object-fit:
        contain;

}


/* =========================================================
   SCORE
========================================================= */

.match-h2h-score {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        10px;

    min-width:
        92px;

    padding:
        10px 14px;

    background:
        rgba(0, 0, 0, 0.18);

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    border-radius:
        12px;

}


.match-h2h-score strong {

    color:
        #8799a9;

    font-size:
        21px;

    font-weight:
        900;

}


.match-h2h-score strong.is-winner {

    color:
        #52dfcd;

}


.match-h2h-score span {

    color:
        #536778;

    font-size:
        15px;

    font-weight:
        700;

}


/* =========================================================
   RESULT BADGE
========================================================= */

.match-h2h-result {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    max-width:
        100%;

    margin-top:
        16px;

    padding:
        7px 12px;

    color:
        #90a2b2;

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        0.7px;

    text-transform:
        uppercase;

    background:
        rgba(255, 255, 255, 0.045);

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    border-radius:
        8px;

}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (
    max-width: 768px
) {

    .match-h2h-summary {

        grid-template-columns:
            1fr
            110px
            1fr;

        gap:
            8px;

        padding:
            16px;

    }


    .match-h2h-logo {

        width:
            76px;

        height:
            76px;

    }


    .match-h2h-logo img {

        width:
            58px;

        height:
            58px;

    }


    .match-h2h-team > strong {

        font-size:
            13px;

    }


    .match-h2h-draw {

        min-height:
            150px;

    }


    .match-h2h-match {

        padding:
            15px;

    }


    .match-h2h-match-teams {

        gap:
            10px;

    }


    .match-h2h-match-team span {

        font-size:
            12px;

    }


    .match-h2h-match-team img {

        width:
            26px;

        height:
            26px;

    }


}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (
    max-width: 560px
) {

    .match-h2h-header h2 {

        font-size:
            20px;

    }


    .match-h2h-summary {

        grid-template-columns:
            1fr
            85px
            1fr;

        padding:
            12px;

        gap:
            4px;

    }


    .match-h2h-team {

        padding:
            8px 4px;

    }


    .match-h2h-logo {

        width:
            58px;

        height:
            58px;

        margin-bottom:
            10px;

    }


    .match-h2h-logo img {

        width:
            44px;

        height:
            44px;

    }


    .match-h2h-team > strong {

        font-size:
            11px;

    }


    .match-h2h-label {

        font-size:
            8px;

    }


    .match-h2h-wins {

        width:
            38px;

        height:
            38px;

        font-size:
            18px;

        border-radius:
            11px;

    }


    .match-h2h-draw {

        min-height:
            130px;

        padding:
            8px;

        border-radius:
            12px;

    }


    .match-h2h-draw strong {

        width:
            52px;

        height:
            52px;

        font-size:
            23px;

    }


    .match-h2h-match-meta {

        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            5px;

    }


    .match-h2h-match-meta strong {

        text-align:
            left;

    }


    .match-h2h-match-teams {

        grid-template-columns:
            1fr;

        gap:
            12px;

    }


    .match-h2h-match-team,

    .match-h2h-match-team:first-child,

    .match-h2h-match-team:last-child {

        justify-content:
            flex-start;

        text-align:
            left;

    }


    .match-h2h-match-team:first-child {

        flex-direction:
            row-reverse;

        justify-content:
            flex-end;

    }


    .match-h2h-score {

        width:
            100%;

        order:
            -1;

    }


    .match-h2h-result {

        width:
            100%;

    }

}

/* =========================================================
   MATCH DETAIL H2H — LIGHT MODE FINAL
   RADAR LIVESCORE
   ========================================================= */

body:not(.dark-mode):not(.dark) .match-h2h-header {
    border-bottom: 1px solid #e5e7eb !important;
}

body:not(.dark-mode):not(.dark) .match-h2h-header h2 {
    color: #172033 !important;
}

body:not(.dark-mode):not(.dark) .match-h2h-header p {
    color: #667085 !important;
}


/* =========================================================
   H2H SUMMARY
   ========================================================= */

body:not(.dark-mode):not(.dark) .match-h2h-summary {
    background: #ffffff !important;

    border: 1px solid #e2e8f0 !important;

    box-shadow:
        0 10px 30px
        rgba(15, 23, 42, 0.08) !important;
}


/* =========================================================
   H2H TEAM
   ========================================================= */

body:not(.dark-mode):not(.dark) .match-h2h-logo {

    background:
        linear-gradient(
            145deg,
            #f8fafc,
            #eef2f6
        ) !important;

    border:
        1px solid #e2e8f0 !important;

    box-shadow:
        0 8px 20px
        rgba(15, 23, 42, 0.08) !important;
}


body:not(.dark-mode):not(.dark) .match-h2h-team > strong {
    color: #172033 !important;
}


body:not(.dark-mode):not(.dark) .match-h2h-label {
    color: #667085 !important;
}


/* =========================================================
   DRAW
   ========================================================= */

body:not(.dark-mode):not(.dark) .match-h2h-draw {

    background: #f8fafc !important;

    border:
        1px solid #e2e8f0 !important;
}


body:not(.dark-mode):not(.dark) .match-h2h-draw strong {

    background: #eef2f6 !important;

    color: #344054 !important;
}


body:not(.dark-mode):not(.dark) .match-h2h-draw span {
    color: #667085 !important;
}


/* =========================================================
   H2H LIST TITLE
   ========================================================= */

body:not(.dark-mode):not(.dark) .match-h2h-list-title span {
    color: #0f766e !important;
}


body:not(.dark-mode):not(.dark) .match-h2h-list-title strong {
    color: #667085 !important;
}


/* =========================================================
   H2H MATCH CARD
   ========================================================= */

body:not(.dark-mode):not(.dark) .match-h2h-match {

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f8fafc
        ) !important;

    border:
        1px solid #e2e8f0 !important;

    box-shadow:
        0 5px 18px
        rgba(15, 23, 42, 0.05) !important;
}


/* =========================================================
   H2H MATCH META
   ========================================================= */

body:not(.dark-mode):not(.dark) .match-h2h-match-meta {

    border-bottom:
        1px solid #e5e7eb !important;
}


body:not(.dark-mode):not(.dark) .match-h2h-match-meta span {
    color: #667085 !important;
}


body:not(.dark-mode):not(.dark) .match-h2h-match-meta strong {
    color: #344054 !important;
}


/* =========================================================
   H2H MATCH TEAMS
   ========================================================= */

body:not(.dark-mode):not(.dark) .match-h2h-match-team span {
    color: #344054 !important;
}


/* =========================================================
   H2H SCORE
   ========================================================= */

html:not([data-theme="dark"]) body:not(.dark-mode):not(.dark) .match-h2h-score {

    background: #f1f5f9 !important;

    border:
        1px solid #e2e8f0 !important;
}


html:not([data-theme="dark"]) body:not(.dark-mode):not(.dark) .match-h2h-score strong {
    color: #667085 !important;
}


html:not([data-theme="dark"]) body:not(.dark-mode):not(.dark) .match-h2h-score strong.is-winner {
    color: #0f9f92 !important;
}


html:not([data-theme="dark"]) body:not(.dark-mode):not(.dark) .match-h2h-score span {
    color: #98a2b3 !important;
}


/* =========================================================
   H2H RESULT
   ========================================================= */

html:not([data-theme="dark"]) body:not(.dark-mode):not(.dark) .match-h2h-result {

    background: #f8fafc !important;

    border:
        1px solid #e2e8f0 !important;

    color: #667085 !important;
}


/* =========================================================
   H2H MATCH CARD HOVER
   ========================================================= */

body:not(.dark-mode):not(.dark) .match-h2h-match:hover {

    border-color:
        rgba(15, 118, 110, 0.25) !important;

    box-shadow:
        0 10px 28px
        rgba(15, 23, 42, 0.10) !important;
}

/* =========================================================
   MATCH DETAIL
   MATCH PREDICTION PREMIUM
   RADAR LIVESCORE
   ========================================================= */

.match-prediction-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px !important;
}

/* =========================================================
   PREDICTION CARD FOUNDATION
   ========================================================= */

.match-prediction-header,
.match-prediction-winner,
.match-prediction-score,
.match-prediction-probability,
.match-prediction-comparison,
.match-prediction-advice,
.match-prediction-wrapper > div:last-child {

    background: #ffffff !important;

    border:
        1px solid #e2e8f0 !important;

    border-radius:
        16px !important;

    box-shadow:
        0 6px 22px
        rgba(15, 23, 42, 0.045) !important;

    box-sizing:
        border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.match-prediction-header {

    padding:
        18px 20px !important;
}

.match-prediction-header span {

    color:
        #0f766e !important;

    opacity:
        1 !important;

    font-size:
        10px !important;

    font-weight:
        850 !important;

    letter-spacing:
        0.9px !important;

    margin-bottom:
        6px !important;
}

.match-prediction-header h2 {

    color:
        #172033 !important;

    font-size:
        19px !important;

    font-weight:
        850 !important;
}


/* =========================================================
   PREDICTED WINNER
   ========================================================= */

.match-prediction-winner {

    padding:
        20px !important;

    text-align:
        center !important;
}

.match-prediction-winner > span:first-child {

    color:
        #667085 !important;

    opacity:
        1 !important;

    font-size:
        10px !important;

    letter-spacing:
        0.8px !important;

    margin-bottom:
        8px !important;
}

.match-prediction-winner > strong {

    color:
        #172033 !important;

    font-size:
        23px !important;

    font-weight:
        850 !important;

    margin-bottom:
        5px !important;
}

.match-prediction-winner > span:last-child {

    color:
        #667085 !important;

    opacity:
        1 !important;

    font-size:
        12px !important;
}


/* =========================================================
   PREDICTED SCORE
   ========================================================= */

.match-prediction-score {

    padding:
        20px !important;

    text-align:
        center !important;
}

.match-prediction-score > span:first-child {

    color:
        #667085 !important;

    opacity:
        1 !important;

    font-size:
        10px !important;

    letter-spacing:
        0.8px !important;

    margin-bottom:
        12px !important;
}

.match-prediction-score > div {

    min-width:
        0;

    display:
        flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    gap:
        14px !important;
}

.match-prediction-score > div > strong {

    color:
        #172033 !important;

    min-width:
        0;

    line-height:
        1.2;
}

.match-prediction-score > div > strong:first-child,
.match-prediction-score > div > strong:last-child {

    font-size:
        18px !important;

    font-weight:
        800 !important;

    overflow:
        hidden;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;

    max-width:
        32%;
}

.match-prediction-score > div > strong:nth-child(2) {

    flex-shrink:
        0;

    font-size:
        28px !important;

    font-weight:
        900 !important;

    color:
        #0f766e !important;

    white-space:
        nowrap;
}


/* =========================================================
   WIN PROBABILITY
   ========================================================= */

.match-prediction-probability {

    padding:
        20px !important;
}

.match-prediction-probability > span:first-child {

    color:
        #667085 !important;

    opacity:
        1 !important;

    font-size:
        10px !important;

    letter-spacing:
        0.8px !important;

    margin-bottom:
        14px !important;
}

.match-prediction-probability > div {

    display:
        grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap:
        10px !important;
}

.match-prediction-probability > div > div {

    background:
        #f5f7fa !important;

    border:
        1px solid #e8edf2 !important;

    border-radius:
        12px !important;

    padding:
        13px 8px !important;

    box-sizing:
        border-box;
}

.match-prediction-probability > div > div strong {

    color:
        #172033 !important;

    font-size:
        21px !important;

    font-weight:
        850 !important;

    margin-bottom:
        3px !important;
}

.match-prediction-probability > div > div span {

    color:
        #667085 !important;

    opacity:
        1 !important;

    font-size:
        11px !important;
}


/* =========================================================
   TEAM COMPARISON
   ========================================================= */

.match-prediction-comparison {

    padding:
        20px !important;
}

.match-prediction-comparison > span:first-child {

    color:
        #667085 !important;

    opacity:
        1 !important;

    font-size:
        10px !important;

    letter-spacing:
        0.8px !important;

    margin-bottom:
        14px !important;
}

.match-prediction-comparison > div {

    gap:
        9px !important;
}

.match-prediction-comparison > div > div {
    min-height:
        48px;

    padding:
        6px 0 10px;

    border-bottom:
        1px solid #edf0f4;

    box-sizing:
        border-box;
}

.match-prediction-comparison > div > div:last-child {

    border-bottom:
        none;
}

.match-prediction-comparison > div > div > strong {

    color:
        #172033 !important;

    font-size:
        14px !important;

    font-weight:
        800 !important;
}

.match-prediction-comparison > div > div > span {

    color:
        #98a2b3 !important;

    opacity:
        1 !important;

    font-size:
        10px !important;

    font-weight:
        700;
}


/* =========================================================
   API ADVICE
   ========================================================= */

.match-prediction-advice {

    padding:
        18px 20px !important;

    background:
        linear-gradient(
            135deg,
            #f0fdfa,
            #f8fffd
        ) !important;

    border-color:
        #cceee9 !important;
}

.match-prediction-advice > span {

    color:
        #0f766e !important;

    opacity:
        1 !important;

    font-size:
        10px !important;

    letter-spacing:
        0.8px !important;

    margin-bottom:
        7px !important;
}

.match-prediction-advice > strong {

    color:
        #134e4a !important;

    font-size:
        15px !important;

    line-height:
        1.5;
}


/* =========================================================
   GOALS PREDICTION
   ========================================================= */

.match-prediction-wrapper > div:last-child {

    padding:
        18px 20px !important;
}

.match-prediction-wrapper > div:last-child > span {

    color:
        #667085 !important;

    opacity:
        1 !important;

    font-size:
        10px !important;

    font-weight:
        800 !important;

    letter-spacing:
        0.8px !important;

    margin-bottom:
        7px !important;
}

.match-prediction-wrapper > div:last-child > strong {

    color:
        #172033 !important;

    font-size:
        17px !important;

    font-weight:
        850 !important;
}


/* =========================================================
   DARK MODE
   ========================================================= */

html[data-theme="dark"] .match-prediction-header,
html[data-theme="dark"] .match-prediction-winner,
html[data-theme="dark"] .match-prediction-score,
html[data-theme="dark"] .match-prediction-probability,
html[data-theme="dark"] .match-prediction-comparison,
html[data-theme="dark"] .match-prediction-advice,
html[data-theme="dark"] .match-prediction-wrapper > div:last-child {

    background:
        #102536 !important;

    border-color:
        #1b3549 !important;

    box-shadow:
        0 8px 26px
        rgba(0,0,0,0.18) !important;
}


/* DARK TEXT */

html[data-theme="dark"] .match-prediction-header h2,
html[data-theme="dark"] .match-prediction-winner > strong,
html[data-theme="dark"] .match-prediction-score > div > strong,
html[data-theme="dark"] .match-prediction-comparison > div > div > strong,
html[data-theme="dark"] .match-prediction-wrapper > div:last-child > strong {

    color:
        #f8fafc !important;
}

html[data-theme="dark"] .match-prediction-header span,
html[data-theme="dark"] .match-prediction-winner > span,
html[data-theme="dark"] .match-prediction-score > span,
html[data-theme="dark"] .match-prediction-probability > span,
html[data-theme="dark"] .match-prediction-comparison > span,
html[data-theme="dark"] .match-prediction-wrapper > div:last-child > span {

    color:
        #94a3b8 !important;
}


/* DARK PROBABILITY BOX */

html[data-theme="dark"] .match-prediction-probability > div > div {

    background:
        #0d1f2d !important;

    border-color:
        #1b3549 !important;
}

html[data-theme="dark"] .match-prediction-probability > div > div strong {

    color:
        #f8fafc !important;
}

html[data-theme="dark"] .match-prediction-probability > div > div span {

    color:
        #94a3b8 !important;
}


/* DARK COMPARISON SEPARATOR */

html[data-theme="dark"] .match-prediction-comparison > div > div {

    border-bottom-color:
        #1b3549 !important;
}


/* DARK SCORE */

html[data-theme="dark"] .match-prediction-score > div > strong:nth-child(2) {

    color:
        #5eead4 !important;
}


/* DARK ADVICE */

html[data-theme="dark"] .match-prediction-advice {

    background:
        linear-gradient(
            135deg,
            #0c2928,
            #102b24
        ) !important;

    border-color:
        #1b4b46 !important;
}

html[data-theme="dark"] .match-prediction-advice > span {

    color:
        #5eead4 !important;
}

html[data-theme="dark"] .match-prediction-advice > strong {

    color:
        #d1fae5 !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .match-prediction-wrapper {
        gap:
            12px !important;
    }

    .match-prediction-header,
    .match-prediction-winner,
    .match-prediction-score,
    .match-prediction-probability,
    .match-prediction-comparison,
    .match-prediction-advice,
    .match-prediction-wrapper > div:last-child {

        border-radius:
            14px !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .match-prediction-wrapper {
        gap:
            10px !important;
    }

    .match-prediction-header,
    .match-prediction-winner,
    .match-prediction-score,
    .match-prediction-probability,
    .match-prediction-comparison,
    .match-prediction-advice,
    .match-prediction-wrapper > div:last-child {

        border-radius:
            13px !important;
    }

    .match-prediction-header {
        padding:
            16px !important;
    }

    .match-prediction-header h2 {
        font-size:
            17px !important;
    }

    .match-prediction-winner,
    .match-prediction-score,
    .match-prediction-probability,
    .match-prediction-comparison {

        padding:
            16px !important;
    }

    .match-prediction-winner > strong {
        font-size:
            21px !important;
    }

    .match-prediction-score > div {
        gap:
            8px !important;
    }

    .match-prediction-score > div > strong:first-child,
    .match-prediction-score > div > strong:last-child {

        font-size:
            14px !important;

        max-width:
            31%;
    }

    .match-prediction-score > div > strong:nth-child(2) {

        font-size:
            24px !important;
    }

    .match-prediction-probability > div {

        gap:
            7px !important;
    }

    .match-prediction-probability > div > div {

        padding:
            11px 5px !important;
    }

    .match-prediction-probability > div > div strong {

        font-size:
            18px !important;
    }

    .match-prediction-probability > div > div span {

        font-size:
            10px !important;
    }

    .match-prediction-comparison > div > div > strong {

        font-size:
            13px !important;
    }

    .match-prediction-advice,
    .match-prediction-wrapper > div:last-child {

        padding:
            15px 16px !important;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .match-prediction-header h2 {
        font-size:
            16px !important;
    }

    .match-prediction-score > div {

        gap:
            5px !important;
    }

    .match-prediction-score > div > strong:first-child,
    .match-prediction-score > div > strong:last-child {

        font-size:
            12px !important;
    }

    .match-prediction-score > div > strong:nth-child(2) {

        font-size:
            21px !important;
    }

    .match-prediction-probability > div {

        gap:
            5px !important;
    }

}

/* =========================================================
   MATCH DETAIL
   PREMIUM OVERVIEW FINAL
   ========================================================= */


/* =========================================================
   PREMIUM HERO
   ========================================================= */

.match-overview-premium {
    position: relative;
    padding: 30px 32px 26px;
}


/* =========================================================
   COMPETITION
   ========================================================= */

.match-overview-competition {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
    text-align: center;
}

.match-league-logo-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.match-league-logo-wrap .match-league-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.match-league-logo-wrap
.match-league-logo-fallback {
    width: 44px;
    height: 44px;
}


/* =========================================================
   STATUS
   ========================================================= */

.match-overview-status-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}


/* =========================================================
   MATCH BOARD
   ========================================================= */

.match-overview-matchboard {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(150px, 220px)
        minmax(0, 1fr);

    align-items: center;

    gap: 28px;

    padding:
        8px
        0
        30px;
}


/* =========================================================
   SIDE LABEL
   ========================================================= */

.match-team-side-label {
    display: block;

    margin-bottom: 4px;

    font-size: 10px;
    font-weight: 850;

    letter-spacing: 1.2px;

    color: #98a2b3;

    text-transform: uppercase;
}


/* =========================================================
   PREMIUM SCORE CENTER
   ========================================================= */

.match-score-center-premium {
    position: relative;

    min-width: 0;

    padding:
        4px
        10px;
}

.match-score-label {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 24px;

    padding:
        5px
        10px;

    margin-bottom: 6px;

    border-radius: 999px;

    background: #f1f5f8;

    color: #667085;

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 0.9px;

    text-transform: uppercase;
}

.match-score-center-premium
.match-score {
    line-height: 1;
}

.match-score-separator {
    color: #98a2b3;
    font-weight: 700;
}


/* =========================================================
   PREMIUM META
   ========================================================= */

.match-meta-grid-premium {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;

    padding-top: 22px;
}


/* =========================================================
   PREMIUM OVERVIEW SUMMARY
   ========================================================= */

.match-overview-summary {
    margin-top: 22px;

    border:
        1px solid
        rgba(16,42,67,0.06);
}

.match-overview-info-grid-premium {
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;
}

.match-overview-info-grid-premium
.match-overview-card {
    min-height: 86px;

    justify-content: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.match-overview-info-grid-premium
.match-overview-card:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(15,118,110,0.18);

    box-shadow:
        0 8px 22px
        rgba(15,118,110,0.07);
}


/* =========================================================
   DARK MODE
   ========================================================= */

html[data-theme="dark"]
.match-score-label {
    background:
        #142a3d !important;

    color:
        #94a3b8 !important;
}

html[data-theme="dark"]
.match-team-side-label {
    color:
        #718096 !important;
}

html[data-theme="dark"]
.match-score-separator {
    color:
        #64748b !important;
}

html[data-theme="dark"]
.match-overview-summary {
    background:
        #0d1c2b !important;

    border-color:
        #1b3549 !important;
}

html[data-theme="dark"]
.match-overview-info-grid-premium
.match-overview-card:hover {
    border-color:
        #24506b !important;

    box-shadow:
        0 10px 24px
        rgba(0,0,0,0.20);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .match-overview-premium {
        padding:
            26px
            22px
            24px;
    }

    .match-overview-matchboard {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(120px, 170px)
            minmax(0, 1fr);

        gap: 18px;
    }

    .match-meta-grid-premium {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .match-overview-info-grid-premium {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .match-overview-premium {
        padding:
            22px
            14px
            20px;
    }

    .match-overview-competition {
        margin-bottom:
            14px;
    }

    .match-overview-matchboard {
        grid-template-columns:
            minmax(0, 1fr)
            86px
            minmax(0, 1fr);

        gap:
            8px;

        padding-bottom:
            22px;
    }

    .match-team-side-label {
        font-size:
            9px;

        letter-spacing:
            0.9px;
    }

    .match-score-center-premium {
        padding:
            0 2px;
    }

    .match-score-label {
        font-size:
            8px;

        padding:
            4px
            8px;
    }

    .match-meta-grid-premium {
        grid-template-columns:
            1fr;

        gap:
            10px;
    }

    .match-overview-info-grid-premium {
        grid-template-columns:
            1fr;

        gap:
            10px;
    }

    .match-overview-info-grid-premium
    .match-overview-card {
        min-height:
            70px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .match-overview-premium {
        padding:
            18px
            10px
            18px;
    }

    .match-overview-matchboard {
        grid-template-columns:
            minmax(0, 1fr)
            72px
            minmax(0, 1fr);

        gap:
            5px;
    }

    .match-score-label {
        font-size:
            7px;

        padding:
            4px
            6px;
    }

}

/* =========================================================
   UPCOMING MATCHES
   PREMIUM UI
   ========================================================= */

.match-upcoming-section {
    width: 100%;
}

.match-upcoming-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.match-upcoming-item {
    position: relative;

    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 110px;

    align-items: center;

    min-height: 86px;

    padding: 14px 18px;

    background: #ffffff;

    border: 1px solid #edf0f4;

    border-radius: 16px;

    box-shadow:
        0 5px 18px
        rgba(30, 55, 80, 0.05);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.match-upcoming-item:hover {
    transform: translateY(-2px);

    border-color: rgba(15, 118, 110, 0.18);

    box-shadow:
        0 10px 26px
        rgba(30, 55, 80, 0.09);
}


/* DATE */

.match-upcoming-date {
    display: flex;
    flex-direction: column;

    gap: 4px;

    min-width: 0;
}

.match-upcoming-date strong {
    font-size: 13px;
    font-weight: 800;

    color: #172033;
}

.match-upcoming-date span {
    font-size: 11px;
    font-weight: 600;

    color: #98a2b3;
}


/* TEAMS */

.match-upcoming-teams {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        52px
        minmax(0, 1fr);

    align-items: center;

    gap: 12px;

    min-width: 0;
}

.match-upcoming-team {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 10px;

    min-width: 0;

    text-align: right;
}

.match-upcoming-team.is-away {
    justify-content: flex-start;

    text-align: left;
}

.match-upcoming-team img {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    object-fit: contain;
}

.match-upcoming-team strong {
    min-width: 0;

    font-size: 14px;
    font-weight: 800;

    color: #172033;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


/* VS */

.match-upcoming-vs {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 30px;

    margin: 0 auto;

    border-radius: 9px;

    background: #f2f5f8;

    color: #667085;

    font-size: 11px;

    font-weight: 850;

    letter-spacing: 0.5px;
}


/* STATUS / TIME */

.match-upcoming-status {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    justify-content: center;

    gap: 4px;

    min-width: 0;

    text-align: right;

    color: #0f766e;

    font-size: 12px;

    font-weight: 800;
}


/* COUNT BADGE */

.match-upcoming-count {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 72px;

    padding: 7px 11px;

    border-radius: 999px;

    background: #f0fdfa;

    color: #0f766e;

    font-size: 11px;

    font-weight: 800;

    white-space: nowrap;
}


/* =========================================================
   UPCOMING - DARK MODE
   ========================================================= */

html[data-theme="dark"] .match-upcoming-item {
    background: #102536 !important;

    border-color: #1b3549 !important;

    box-shadow:
        0 8px 24px
        rgba(0, 0, 0, 0.20) !important;
}

html[data-theme="dark"] .match-upcoming-item:hover {
    border-color: #24506a !important;

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] .match-upcoming-date strong,
html[data-theme="dark"] .match-upcoming-team strong {
    color: #f1f5f9 !important;
}

html[data-theme="dark"] .match-upcoming-date span {
    color: #718096 !important;
}

html[data-theme="dark"] .match-upcoming-vs {
    background: #142a3d !important;

    color: #94a3b8 !important;
}

html[data-theme="dark"] .match-upcoming-status {
    color: #5eead4 !important;
}

html[data-theme="dark"] .match-upcoming-count {
    background: rgba(20, 184, 166, 0.12) !important;

    color: #5eead4 !important;
}


/* =========================================================
   UPCOMING - TABLET
   ========================================================= */

@media (max-width: 900px) {

    .match-upcoming-item {
        grid-template-columns:
            125px
            minmax(0, 1fr)
            95px;

        padding: 13px 15px;
    }

    .match-upcoming-team img {
        width: 38px;
        height: 38px;
    }

    .match-upcoming-team strong {
        font-size: 13px;
    }

}


/* =========================================================
   UPCOMING - MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .match-upcoming-list {
        gap: 9px;
    }

    .match-upcoming-item {
        grid-template-columns:
            1fr
            auto;

        min-height: auto;

        padding: 13px;

        border-radius: 14px;
    }

    .match-upcoming-date {
        grid-column: 1 / -1;

        flex-direction: row;

        align-items: center;

        justify-content: space-between;

        padding-bottom: 9px;

        margin-bottom: 2px;

        border-bottom:
            1px solid
            #edf0f4;
    }

    .match-upcoming-teams {
        grid-column: 1;

        grid-row: 2;

        grid-template-columns:
            minmax(0, 1fr)
            40px
            minmax(0, 1fr);

        gap: 6px;
    }

    .match-upcoming-team {
        gap: 6px;
    }

    .match-upcoming-team img {
        width: 34px;
        height: 34px;
    }

    .match-upcoming-team strong {
        font-size: 12px;
    }

    .match-upcoming-vs {
        width: 34px;
        height: 26px;

        font-size: 9px;
    }

    .match-upcoming-status {
        grid-column: 2;

        grid-row: 2;

        align-items: flex-end;

        font-size: 11px;
    }

    html[data-theme="dark"] .match-upcoming-date {
        border-color: #1b3549 !important;
    }

}


/* =========================================================
   UPCOMING - SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .match-upcoming-item {
        padding: 11px;
    }

    .match-upcoming-team img {
        width: 30px;
        height: 30px;
    }

    .match-upcoming-team strong {
        font-size: 11px;
    }

    .match-upcoming-vs {
        width: 30px;
        height: 24px;
    }

    .match-upcoming-status {
        font-size: 10px;
    }

}

/* =========================================================
   MATCH DETAIL — DARK MODE FINAL POLISH
   H2H + PREDICTION
   RADAR LIVESCORE
   ========================================================= */


/* =========================================================
   H2H — DARK MODE
   ========================================================= */

html[data-theme="dark"] .match-h2h-summary {

    background:
        linear-gradient(
            135deg,
            #102536,
            #0d1f2d
        ) !important;

    border:
        1px solid #1b3549 !important;

    box-shadow:
        0 8px 26px
        rgba(0, 0, 0, 0.18) !important;
}


html[data-theme="dark"] .match-h2h-team {

    color:
        #f8fafc !important;
}


html[data-theme="dark"] .match-h2h-team > strong {

    color:
        #f8fafc !important;
}


html[data-theme="dark"] .match-h2h-label {

    color:
        #94a3b8 !important;
}


/* H2H LOGO CONTAINER */

html[data-theme="dark"] .match-h2h-logo {

    background:
        #0d1f2d !important;

    border:
        1px solid #1b3549 !important;

    box-shadow:
        0 8px 22px
        rgba(0, 0, 0, 0.20) !important;
}


/* H2H DRAW BOX */

html[data-theme="dark"] .match-h2h-draw {

    background:
        #0d1f2d !important;

    border:
        1px solid #1b3549 !important;
}


html[data-theme="dark"] .match-h2h-draw strong {

    background:
        #172d3d !important;

    color:
        #f8fafc !important;
}


html[data-theme="dark"] .match-h2h-draw span {

    color:
        #94a3b8 !important;
}


/* H2H LAST MATCH CARDS */

html[data-theme="dark"] .match-h2h-match {

    background:
        linear-gradient(
            135deg,
            #102536,
            #0d1f2d
        ) !important;

    border:
        1px solid #1b3549 !important;

    box-shadow:
        0 8px 24px
        rgba(0, 0, 0, 0.16) !important;
}


/* =========================================================
   H2H CARD — DARK MODE HARD FIX
   ========================================================= */

html[data-theme="dark"] .match-h2h-match {

    background:
        #102536 !important;

    border:
        1px solid #1b3549 !important;

    box-shadow:
        0 10px 28px
        rgba(0, 0, 0, 0.28) !important;
}


/* CARD INNER CONTENT */

html[data-theme="dark"] .match-h2h-match-teams {

    background:
        transparent !important;
}


/* TEAM AREA */

html[data-theme="dark"] .match-h2h-match-team {

    background:
        transparent !important;
}

/* H2H MATCH META */

html[data-theme="dark"] .match-h2h-match-meta {

    border-bottom:
        1px solid #1b3549 !important;
}


html[data-theme="dark"] .match-h2h-match-meta span {

    color:
        #94a3b8 !important;
}


html[data-theme="dark"] .match-h2h-match-meta strong {

    color:
        #e2e8f0 !important;
}


/* H2H TEAM NAME */

html[data-theme="dark"] .match-h2h-match-team span {

    color:
        #e2e8f0 !important;
}


/* H2H SCORE BOX */

html[data-theme="dark"] .match-h2h-score {

    background:
        #0d1f2d !important;

    border:
        1px solid #1b3549 !important;
}


html[data-theme="dark"] .match-h2h-score strong {

    color:
        #cbd5e1 !important;
}


html[data-theme="dark"] .match-h2h-score strong.is-winner {

    color:
        #52dfcd !important;
}


html[data-theme="dark"] .match-h2h-score span {

    color:
        #64748b !important;
}


/* H2H RESULT BADGE */

html[data-theme="dark"] .match-h2h-result {

    background:
        #102536 !important;

    border:
        1px solid #1b3549 !important;

    color:
        #94a3b8 !important;
}


/* H2H LIST TITLE */

html[data-theme="dark"] .match-h2h-list-title span {

    color:
        #48d7c8 !important;
}


html[data-theme="dark"] .match-h2h-list-title strong {

    color:
        #94a3b8 !important;
}


/* =========================================================
   PREDICTION — DARK MODE
   ========================================================= */

html[data-theme="dark"] .match-prediction-header,
html[data-theme="dark"] .match-prediction-winner,
html[data-theme="dark"] .match-prediction-score,
html[data-theme="dark"] .match-prediction-probability,
html[data-theme="dark"] .match-prediction-comparison,
html[data-theme="dark"] .match-prediction-advice,
html[data-theme="dark"] .match-prediction-wrapper > div:last-child {

    background:
        #102536 !important;

    border:
        1px solid #1b3549 !important;

    box-shadow:
        0 8px 26px
        rgba(0, 0, 0, 0.18) !important;
}


/* PREDICTION PROBABILITY INNER BOX */

html[data-theme="dark"] .match-prediction-probability > div > div {

    background:
        #0d1f2d !important;

    border:
        1px solid #1b3549 !important;
}


html[data-theme="dark"] .match-prediction-probability
> div > div strong {

    color:
        #f8fafc !important;
}


html[data-theme="dark"] .match-prediction-probability
> div > div span {

    color:
        #94a3b8 !important;
}


/* PREDICTION COMPARISON */

html[data-theme="dark"] .match-prediction-comparison
> div > div {

    border-bottom-color:
        #1b3549 !important;
}


html[data-theme="dark"] .match-prediction-comparison
> div > div > strong {

    color:
        #f8fafc !important;
}


html[data-theme="dark"] .match-prediction-comparison
> div > div > span {

    color:
        #94a3b8 !important;
}


/* =========================================================
   PREDICTION REAL BARS — DARK MODE FINAL
   ========================================================= */

/* REAL BAR TRACK */

html[data-theme="dark"]
.match-prediction-comparison
> div
> div
> div:nth-child(2) {

    background:
        #1a3140 !important;

    border-radius:
        999px !important;

    height:
        6px !important;

    overflow:
        hidden !important;

    gap:
        3px !important;
}


/* HOME / LEFT BAR */

html[data-theme="dark"]
.match-prediction-comparison
> div
> div
> div:nth-child(2)
> span:first-child {

    background:
        #14b8a6 !important;

    opacity:
        0.90 !important;

    border-radius:
        999px 0 0 999px !important;
}


/* AWAY / RIGHT BAR */

html[data-theme="dark"]
.match-prediction-comparison
> div
> div
> div:nth-child(2)
> span:last-child {

    background:
        #0f766e !important;

    opacity:
        0.55 !important;

    border-radius:
        0 999px 999px 0 !important;
}


/* OVERALL BAR */

html[data-theme="dark"]
.match-prediction-comparison
> div
> div:last-child
> div:nth-child(2) {

    height:
        8px !important;

    background:
        #1a3140 !important;
}


/* =========================================================
   END REAL PREDICTION BARS
   ========================================================= */

/* =========================================================
   PREDICTION ADVICE
   ========================================================= */

html[data-theme="dark"] .match-prediction-advice {

    background:
        linear-gradient(
            135deg,
            #0c2928,
            #102b24
        ) !important;

    border:
        1px solid #1b4b46 !important;
}


html[data-theme="dark"] .match-prediction-advice > span {

    color:
        #5eead4 !important;
}


html[data-theme="dark"] .match-prediction-advice > strong {

    color:
        #d1fae5 !important;
}


/* =========================================================
   GOALS PREDICTION — DARK
   ========================================================= */

html[data-theme="dark"] .match-prediction-wrapper
> div:last-child {

    background:
        #102536 !important;

    border-color:
        #1b3549 !important;
}


html[data-theme="dark"] .match-prediction-wrapper
> div:last-child > span {

    color:
        #94a3b8 !important;
}


html[data-theme="dark"] .match-prediction-wrapper
> div:last-child > strong {

    color:
        #f8fafc !important;
}


/* =========================================================
   PREDICTION TEXT
   ========================================================= */

html[data-theme="dark"] .match-prediction-header h2 {

    color:
        #f8fafc !important;
}


html[data-theme="dark"] .match-prediction-winner > strong {

    color:
        #f8fafc !important;
}


html[data-theme="dark"] .match-prediction-score
> div > strong {

    color:
        #f8fafc !important;
}


/* =========================================================
   END DARK MODE FINAL POLISH
   ========================================================= */
   
   /* =========================================================
   H2H DARK MODE — FINAL HARD FIX
   RADAR LIVESCORE
   ========================================================= */


/* H2H HEADER TITLE */

html[data-theme="dark"]
.match-detail-body
.match-h2h-header
h2 {

    color:
        #ffffff !important;

    opacity:
        1 !important;
}


/* H2H HEADER SUBTITLE */

html[data-theme="dark"]
.match-detail-body
.match-h2h-header
p {

    color:
        #94a3b8 !important;

    opacity:
        1 !important;
}


/* H2H SUMMARY CARD */

html[data-theme="dark"]
.match-detail-body
.match-h2h-summary {

    background:
        #102536 !important;

    border:
        1px solid #1b3549 !important;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.30) !important;
}


/* H2H SUMMARY TEAM NAME */

html[data-theme="dark"]
.match-detail-body
.match-h2h-summary
.match-h2h-team
> strong {

    color:
        #ffffff !important;

    opacity:
        1 !important;
}


/* H2H WINS */

html[data-theme="dark"]
.match-detail-body
.match-h2h-summary
.match-h2h-wins {

    color:
        #ffffff !important;
}


/* H2H DRAW */

html[data-theme="dark"]
.match-detail-body
.match-h2h-summary
.match-h2h-draw {

    background:
        #0d1f2d !important;

    border:
        1px solid #1b3549 !important;
}


/* H2H DRAW NUMBER */

html[data-theme="dark"]
.match-detail-body
.match-h2h-summary
.match-h2h-draw
strong {

    background:
        #172d3d !important;

    color:
        #ffffff !important;
}


/* H2H DRAW LABEL */

html[data-theme="dark"]
.match-detail-body
.match-h2h-summary
.match-h2h-draw
span {

    color:
        #94a3b8 !important;
}


/* =========================================================
   H2H LAST MATCH CARD
   ========================================================= */

html[data-theme="dark"]
.match-detail-body
.match-h2h-match {

    background:
        #102536 !important;

    border:
        1px solid #1b3549 !important;

    box-shadow:
        0 10px 28px
        rgba(0, 0, 0, 0.28) !important;
}


/* LAST MATCH TEAM VS TEAM */

html[data-theme="dark"]
.match-detail-body
.match-h2h-match-team
span {

    color:
        #ffffff !important;

    opacity:
        1 !important;
}


/* =========================================================
   END H2H DARK MODE FINAL HARD FIX
   ========================================================= */
   
/* =========================================================
   H2H LAST MATCHES
   DARK MODE - SCORE BOX + RESULT BADGE
   ========================================================= */

/* =========================
   SCORE BOX
   ========================= */

html[data-theme="dark"] .match-h2h-score,
body.dark-mode .match-h2h-score,
body.dark .match-h2h-score {
    background: #0d1f2d !important;
    border: 1px solid #1b3549 !important;
    box-shadow: none !important;
}

/* Score text */
html[data-theme="dark"] .match-h2h-score strong,
body.dark-mode .match-h2h-score strong,
body.dark .match-h2h-score strong {
    color: #cbd5e1 !important;
}

/* Score separator / span */
html[data-theme="dark"] .match-h2h-score span,
body.dark-mode .match-h2h-score span,
body.dark .match-h2h-score span {
    color: #64748b !important;
}

/* Winner score */
html[data-theme="dark"] .match-h2h-score strong.is-winner,
body.dark-mode .match-h2h-score strong.is-winner,
body.dark .match-h2h-score strong.is-winner {
    color: #52dfcd !important;
}


/* =========================
   RESULT BADGE
   ========================= */

html[data-theme="dark"] .match-h2h-result,
body.dark-mode .match-h2h-result,
body.dark .match-h2h-result {
    background: #102556 !important;
    border: 1px solid #1b3549 !important;
    color: #4da3ff !important;
    box-shadow: none !important;
}

/* Semua isi badge */
html[data-theme="dark"] .match-h2h-result *,
body.dark-mode .match-h2h-result *,
body.dark .match-h2h-result * {
    color: inherit !important;
}

/* =========================================================
   H2H LAST MATCHES
   DARK MODE — FORCE DARK SCORE + RESULT
   ========================================================= */

/* SCORE BOX */
body.dark-mode .match-h2h-score,
body.dark .match-h2h-score,
html[data-theme="dark"] .match-h2h-score {
    background: #0d1f2d !important;
    border: 1px solid #1b3549 !important;
    box-shadow: none !important;
}

/* SCORE NUMBER */
body.dark-mode .match-h2h-score strong,
body.dark .match-h2h-score strong,
html[data-theme="dark"] .match-h2h-score strong {
    color: #cbd5e1 !important;
}

/* WINNER SCORE */
body.dark-mode .match-h2h-score strong.is-winner,
body.dark .match-h2h-score strong.is-winner,
html[data-theme="dark"] .match-h2h-score strong.is-winner {
    color: #52dfcd !important;
}

/* SCORE SEPARATOR */
body.dark-mode .match-h2h-score span,
body.dark .match-h2h-score span,
html[data-theme="dark"] .match-h2h-score span {
    color: #64748b !important;
}


/* =========================================================
   RESULT BADGE
   ========================================================= */

body.dark-mode .match-h2h-result,
body.dark .match-h2h-result,
html[data-theme="dark"] .match-h2h-result {
    background: #102536 !important;
    border: 1px solid #1b3549 !important;
    color: #94a3b8 !important;
    box-shadow: none !important;
}

/* RESULT TEXT */
body.dark-mode .match-h2h-result *,
body.dark .match-h2h-result *,
html[data-theme="dark"] .match-h2h-result * {
    color: inherit !important;
}