/* ==========================================================================
   Base Theme
   ========================================================================== */
@font-face {
    font-family: "Montserrat";
    src:
        url("./fonts/Montserrat-Latin-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Montserrat";
    src:
        url("./fonts/Montserrat-Latin-Medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Montserrat";
    src:
        url("./fonts/Montserrat-Latin-SemiBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Montserrat";
    src:
        url("./fonts/Montserrat-Latin-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --color-bg: #000000;
    --color-panel: #111111;
    --color-panel-dark: #0d0d0d;
    --color-text: #ffffff;
    --color-muted: #888888;
    --color-border: #333333;
    --color-accent: #ff3131;
    --color-accent-dark: #cc1f1f;
    --color-live-red: #d73244;
}
body {
    background-color: var(--color-bg);
    background-image: none;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--color-text);
    font-family: "Montserrat", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    margin: 0;
}

@supports (background-image: image-set(url("./background.webp") type("image/webp"))) {
    body {
        background-image: image-set(url("./background.webp") type("image/webp"));
    }
}

/* ==========================================================================
   Layout Shell & Branding
   ========================================================================== */
.livestream-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px 24px;
}
.brand-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 0;
}
.brand-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.brand-bar {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 14px 65px;
    background: #000 url("./headerbg.png") center/100% 100% no-repeat;
    border-radius: 14px;
    margin: 0;
    position: relative;
    min-height: 100px;
}
.brand-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-left: 0;
    align-self: auto;
    z-index: 4;
}
.brand-lang {
    position: absolute;
    top: 12px;
    right: 18px;
    z-index: 20;
}
.brand-shortcuts {
    margin-top: 14px;
    margin-left: 10px;
}
.brand-bar .brand-domain {
    display: block;
    margin-top: 0;
    color: var(--color-text);
    font-size: 1.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-align: left;
    white-space: nowrap;
}
.brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}
.brand-countdown-strip {
    width: 100%;
    margin: 8px auto 0;
    box-sizing: border-box;
}
.brand-countdown {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0 auto;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(18, 19, 24, 0.88), rgba(9, 10, 13, 0.94));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    box-sizing: border-box;
}
.brand-countdown__meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.brand-countdown__eyebrow {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.brand-countdown__title {
    color: #fff2d8;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.1;
}
.brand-countdown__status {
    min-height: 1em;
    color: #ffcf8a;
    font-size: 0.72rem;
    font-weight: 600;
}
.brand-countdown__clock {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.brand-countdown__segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 7px 8px 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.brand-countdown__value {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.brand-countdown__label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.brand-countdown__venue {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
    line-height: 1.25;
    text-align: right;
}
.brand-countdown__venue-label {
    color: #ffcf8a;
    font-weight: 700;
}
.brand-countdown__venue-text {
    font-weight: 500;
}
.brand-tagline {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
}
.brand-logo {
    width: auto;
    display: flex;
    justify-content: flex-start;
    flex: 1 1 auto;
    min-width: 0;
}
.brand-info {
    width: 100%;
}
.brand-text {
    width: 100%;
}
.brand-identity {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-text);
    text-decoration: none;
    margin: 0 0 15px;
    transform: none;
    width: 100%;
}
.is-mobile .brand-identity {
    justify-content: flex-start;
    flex-wrap: wrap;
}
.brand-identity > img {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    object-fit: cover;
}
.brand-identity > a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
    border-radius: 0;
}
.brand-identity > a img {
    border-radius: 6px;
}
.brand-logo img {
    max-height: 80px;
    width: auto;
}
.brand-title {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
}
.brand-nav .brand-menu {
    display: none;
}
.brand-shortcuts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
}
.brand-shortcuts--special-slot {
    flex: 0 0 auto;
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 0;
    max-width: none;
}
.brand-shortcut {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(241, 93, 106, 0.7);
    color: var(--color-text);
    text-decoration: none;
    background: linear-gradient(180deg, #df4d5b 0%, #ca3948 54%, #b82d3f 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(98, 14, 24, 0.42);
    flex: 0 0 auto;
    transform-origin: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.brand-shortcut:hover,
.brand-shortcut:focus-visible {
    transform: scale(1.06);
    box-shadow:
        0 10px 18px rgba(122, 11, 28, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(98, 14, 24, 0.42);
    filter: brightness(1.04);
}
@keyframes brand-special-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 0 12px rgba(255, 203, 71, 0.55),
            0 8px 18px rgba(171, 114, 0, 0.28),
            inset 0 1px 0 rgba(255, 250, 219, 0.95),
            inset 0 -1px 0 rgba(171, 114, 0, 0.26);
    }
    50% {
        transform: scale(1.08);
        box-shadow:
            0 0 20px rgba(255, 211, 90, 0.8),
            0 12px 24px rgba(171, 114, 0, 0.34),
            inset 0 1px 0 rgba(255, 251, 229, 1),
            inset 0 -1px 0 rgba(171, 114, 0, 0.28);
    }
}
.brand-shortcut--special {
    margin-left: auto;
    padding: 0 14px;
    color: #1f1602;
    background: linear-gradient(180deg, #fff2b0 0%, #ffd965 42%, #f0ba37 70%, #cf8f14 100%);
    border-color: rgba(255, 226, 128, 0.95);
    box-shadow:
        0 0 12px rgba(255, 203, 71, 0.55),
        0 10px 20px rgba(171, 114, 0, 0.28),
        inset 0 1px 0 rgba(255, 251, 229, 1),
        inset 0 -1px 0 rgba(171, 114, 0, 0.28);
    animation: brand-special-pulse 1.9s ease-in-out infinite;
}
.brand-shortcut--special:hover,
.brand-shortcut--special:focus-visible {
    animation-play-state: paused;
    transform: scale(1.18);
    box-shadow:
        0 0 24px rgba(255, 214, 96, 0.9),
        0 16px 30px rgba(171, 114, 0, 0.36),
        inset 0 1px 0 rgba(255, 252, 236, 1),
        inset 0 -1px 0 rgba(171, 114, 0, 0.3);
    filter: brightness(1.06);
}
.brand-shortcut__icon img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}
.brand-shortcut__text {
    display: flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}
.brand-shortcut--special .brand-shortcut__text {
    position: relative;
    top: 1px;
}
.brand-feature-wrapper {
    margin: 12px 0 18px;
}
.brand-feature-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}
.brand-feature-list li {
    margin: 0;
}
.brand-feature-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(241, 93, 106, 0.7);
    color: var(--color-text);
    text-decoration: none;
    background: linear-gradient(180deg, #df4d5b 0%, #ca3948 54%, #b82d3f 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(98, 14, 24, 0.42);
}
.brand-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.brand-feature-icon img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}
.brand-feature-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
@media (max-width: 540px) {
    .brand-feature-wrapper {
        margin: 10px 0 16px;
    }
    .brand-feature-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }
    .brand-feature-list li {
        min-width: 0;
    }
    .brand-feature-list a {
        width: 100%;
        justify-content: center;
        min-width: 0;
        padding: 0 10px;
    }
    .brand-feature-label {
        font-size: 0.82rem;
    }
}
.lang-switcher {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.lang-switcher__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 68px;
    height: 28px;
    padding: 0 12px;
    border: 1px solid rgba(241, 93, 106, 0.7);
    border-radius: 999px;
    background: linear-gradient(180deg, #df4d5b 0%, #ca3948 54%, #b82d3f 100%);
    color: var(--color-text);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(98, 14, 24, 0.42);
}
.lang-switcher__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    min-width: 92px;
    border-radius: 14px;
    background: rgba(18, 10, 12, 0.98);
    border: 1px solid rgba(241, 93, 106, 0.45);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.32);
    z-index: 25;
}
.lang-switcher__menu.is-open {
    display: flex;
}
.lang-switcher__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 44px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(241, 93, 106, 0.22);
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}
.lang-switcher__item.is-active {
    background: linear-gradient(180deg, #df4d5b 0%, #ca3948 54%, #b82d3f 100%);
    color: var(--color-text);
}
.main-banner-section {
    margin: 2px 0 2px;
}
.main-banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #090807;
    border: 1px solid rgba(225, 188, 94, 0.2);
}
.main-banner-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}
.main-banner-slide {
    min-width: 100%;
    aspect-ratio: 13 / 3;
}
.main-banner-slide > a,
.main-banner-slide > img,
.main-banner-slide > video {
    display: block;
    width: 100%;
    height: 100%;
}
.main-banner-slide img,
.main-banner-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.brand-notification {
    background: #050505;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 500;
}
.brand-notification-icon {
    font-size: 1.2rem;
}
.share-notification {
    margin-top: 12px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    overflow: hidden;
}
.share-notification-icon {
    font-size: 1.2rem;
}
.share-watchers-count {
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent);
    white-space: nowrap;
}
.share-notification-marquee {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}
.share-notification-text {
    display: inline-block;
    padding-left: 100%;
    animation: share-notice-scroll 18s linear infinite;
}
@keyframes share-notice-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
.livestream-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    justify-content: flex-start;
    align-items: flex-start;
}
.livestream-wrapper.has-collapsed-league {
    justify-content: center;
}

/* ==========================================================================
   Banner Placements
   ========================================================================== */
/* Top Banner */
.top-banner img,
.top-banner video {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    display: block;
}
/* ==========================================================================
   League Sidebar
   ========================================================================== */
.left-panel {
    width: 280px;
    background: var(--color-panel);
    padding: 10px;
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.left-panel h3 {
    color: var(--color-text);
    margin-top: 0;
}
#leagueList {
    list-style: none;
    padding: 0;
    margin: 0;
}
#leagueList li {
    padding: 8px;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}
#leagueList li span {
    flex: 1;
    white-space: normal;
}
#leagueList li:hover,
#leagueList li.active {
    background: #1d1d1d;
}
.league-list-badge {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}
.league-box {
    max-height: 500px;
    overflow-y: auto;
}
.top-league-panel .league-box {
    max-height: none !important;
    overflow-y: visible !important;
}
.top-league-panel {
    height: auto;
    max-height: none;
}
.left-panel.is-hidden {
    display: none;
}
.livestream-wrapper.has-collapsed-league .left-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 320px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.5);
    display: block;
}
.livestream-wrapper.has-collapsed-league .left-panel.show {
    transform: translateX(0);
}
.livestream-wrapper.has-collapsed-league .left-panel.is-hidden {
    display: none;
}

/* ==========================================================================
   Sidebar Promotions
   ========================================================================== */
.sidebar-social {
    margin-top: 20px;
    text-align: center;
    padding: 18px 12px 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, #121212, #0a0a0a);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 12px 25px rgba(0,0,0,0.55);
}
.sidebar-social-subtitle {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--color-accent);
    text-transform: uppercase;
}
.sidebar-social-title {
    margin: 6px 0 15px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text);
}
.sidebar-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.sidebar-social-icons .social-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.sidebar-social-icons .social-icon svg {
    width: 34px;
    height: 34px;
    display: block;
}
.sidebar-social-icons .social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.55);
    background: rgba(255,255,255,0.07);
}
.sidebar-social-icons .social-icon.is-disabled {
    background: rgba(255,255,255,0.02);
    color: rgba(255,255,255,0.32);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
    cursor: not-allowed;
}
.sidebar-social-icons .social-icon.is-disabled:hover {
    transform: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.02);
}
.sidebar-latest-posts {
    margin-top: 20px;
    padding: 18px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #111, #0a0a0a);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
    text-align: left;
}
.sidebar-latest-posts ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar-latest-posts li a {
    color: #f5ba45;
    text-decoration: none;
    font-weight: 600;
}
.sidebar-latest-posts li a:hover {
    text-decoration: underline;
}
/* ==========================================================================
   Match Feed & Controls
   ========================================================================== */
.right-panel {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
}
.livestream-wrapper.has-collapsed-league .right-panel {
    max-width: 1200px;
    width: 100%;
}
.top-banner.compact {
    max-width: 100%;
    margin-bottom: 15px;
}
.top-banner.compact img,
.top-banner.compact video {
    max-height: none;
    object-fit: contain;
}
.date-buttons {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.filter-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    flex-wrap: wrap;
}
.sport-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}
.sport-switcher__btn {
    width: 34px;
    height: 34px;
    border: 0;
    padding: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent url("./tab-dark.png") center/100% 100% no-repeat;
    color: #d5b06a;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}
.sport-switcher__btn.is-active {
    background: transparent url("./tab-active.png") center/100% 100% no-repeat;
    color: #fff6d8;
}
.sport-switcher__icon {
    transform: translateY(1px);
}
.filter-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-search .search-field {
    flex: 0 1 240px;
}
.controls-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.search-field {
    flex: 0 1 240px;
    min-width: 200px;
    position: relative;
}
.major-league-filter {
    position: relative;
    flex: 0 0 auto;
    margin-left: 4px;
}
.major-league-filter.is-hidden-by-sport {
    display: none;
}
.major-league-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    background: transparent url("./tab-dark.png") center/100% 100% no-repeat;
    color: var(--color-accent);
    padding: 6px 12px;
    min-width: 40px;
    min-height: 32px;
    font-weight: 500;
    cursor: pointer;
}
.major-trigger-icon {
    font-size: 1rem;
    line-height: 1;
}
.major-trigger-image {
    display: none;
    width: 44px;
    height: 34px;
    object-fit: fill;
}
.major-trigger-label {
    white-space: nowrap;
}
.major-league-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 260px;
    max-height: 320px;
    overflow-y: auto;
    background: #111;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 6px;
    z-index: 30;
    display: none;
}
.major-league-filter.open .major-league-menu {
    display: block;
}
.major-league-option {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: var(--color-text);
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
}
.major-league-option:hover,
.major-league-option:focus-visible {
    background: #1f1f1f;
    outline: none;
}
.major-league-option.active {
    background: var(--color-accent);
    color: #000;
    font-weight: 700;
}
.search-field input {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(94, 94, 94, 0.7);
    border-radius: 999px;
    padding: 6px 10px;
    min-width: 180px;
    padding-left: 34px;
    background: transparent url("./searchframe.png") center/100% 100% no-repeat;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.search-field::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 12px;
    width: 12px;
    height: 12px;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 3a7.5 7.5 0 105.276 13.005l3.61 3.61a1 1 0 001.414-1.414l-3.61-3.61A7.5 7.5 0 0010.5 3zm0 2a5.5 5.5 0 110 11 5.5 5.5 0 010-11z' fill='%23ffffff'/%3E%3C/svg%3E") center/contain no-repeat;
    pointer-events: none;
    z-index: 1;
}
.search-field input::placeholder {
    color: var(--color-muted);
}
.current-date {
    color: var(--color-live-red);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
}
.current-date-group {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    border: 0;
    background: transparent url("./datebtn.png") center/100% 100% no-repeat;
}
.date-nav-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--color-live-red);
    font-size: 1.4rem;
    line-height: 1;
    padding: 0 4px;
    cursor: pointer;
}
.date-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}
.login-trigger {
    border: 0;
    border-radius: 999px;
    background: var(--color-accent);
    color: var(--color-text);
    font-weight: 600;
    padding: 6px 16px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.login-trigger:hover,
.login-trigger:focus-visible {
    background: var(--color-accent-dark);
    outline: none;
}
.login-trigger:active {
    transform: scale(0.97);
}
.register-trigger {
    border: 1px solid var(--color-accent);
    border-radius: 999px;
    background: transparent;
    color: var(--color-accent);
    font-weight: 600;
    padding: 6px 16px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.register-trigger:hover,
.register-trigger:focus-visible {
    background: var(--color-accent);
    color: #000;
    outline: none;
}
.register-trigger:active {
    transform: scale(0.97);
}
.date-btn {
    padding: 6px 15px;
    margin-right: 0;
    background: transparent url("./tab-dark.png") center/100% 100% no-repeat;
    color: var(--color-accent);
    border: 0;
    border-radius: 999px;
    font-weight: 500;
}
.date-btn.active {
    background: transparent url("./tab-active.png") center/100% 100% no-repeat;
}

/* ==========================================================================
   Player Module
   ========================================================================== */
.player-shell {
    position: relative;
}
.player-wrapper {
    display: none;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    background: #000;
    min-height: 220px;
    aspect-ratio: 16 / 9;
}
.player-wrapper.has-video {
    display: block;
}
.player-scroll-text {
    position: absolute;
    top: 8px;
    left: 12px;
    right: 12px;
    z-index: 12;
    overflow: hidden;
    color: var(--player-scroll-text-color, #ffffff);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0));
    border-radius: 999px;
    padding: 5px 0;
}
.player-scroll-text__link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.player-scroll-text__link:hover,
.player-scroll-text__link:focus {
    color: inherit;
    text-decoration: none;
}
.player-scroll-text__track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    min-width: 100%;
    padding-left: 100%;
    white-space: nowrap;
    will-change: transform;
    animation: player-scroll-marquee 24s linear infinite;
}
.player-scroll-text__track span {
    display: inline-block;
}
@keyframes player-scroll-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
.player-headline {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}
.player-chat-overlay {
    position: absolute;
    inset: 0;
    z-index: 6;
    overflow: hidden;
    pointer-events: none;
}
.player-chat-overlay.is-disabled {
    display: none;
}
.player-chat-float {
    position: absolute;
    left: 100%;
    max-width: 20ch;
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(0.82rem, 1.7vw, 1.12rem);
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.85);
    will-change: transform;
    animation: player-chat-float var(--player-chat-duration, 10s) linear forwards;
}
@keyframes player-chat-float {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100vw - 100%));
    }
}
.tcplayer-watermark {
    position: absolute;
    top: 12px;
    right: 12px;
    width: min(12.6%, 92px);
    min-width: 50px;
    z-index: 5;
    pointer-events: auto;
}
.tcplayer-watermark,
.tcplayer-watermark img {
    display: block;
    width: 100%;
}
.tcplayer-watermark img {
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.player-hint {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}
.player-message {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #b0b0b0;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 12px;
    z-index: 4;
}
.player-ad-overlay {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: #000;
    z-index: 8;
    overflow: hidden;
}
.player-ad-overlay.is-active {
    display: flex;
}
.player-ad-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #000;
}
.player-ad-clickthrough {
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.player-ad-label {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.player-ad-skip {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.player-ad-skip:hover,
.player-ad-skip:focus-visible {
    background: rgba(0, 0, 0, 0.92);
    transform: translateY(-1px);
    outline: none;
}
#live-player {
    position: relative;
    display: block;
    z-index: 1;
    background: #000;
}
#live-player,
.player-wrapper .video-js {
    width: 100% !important;
    max-width: 100%;
    height: 100% !important;
    object-fit: cover;
}
.current-match {
    position: static;
    display: none;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.8);
    font-weight: 600;
    border-radius: 6px;
    z-index: 8;
    color: #fff;
    text-align: center;
    line-height: 1.25;
}
.player-shell.has-video .current-match {
    display: block;
}
.player-wrapper.show-message .player-message {
    display: flex;
}
.player-wrapper.show-message #live-player {
    opacity: 0.15;
}
.player-wrapper .vjs-error-display,
.player-wrapper .tcplayer-msg {
    display: none !important;
}
.player-chat-panel {
    display: none;
    align-items: center;
    gap: 8px;
    margin: -8px 0 18px;
}
.player-shell.has-video .player-chat-panel {
    display: flex;
}
.player-chat-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    font-size: 0.9rem;
    padding: 0 11px;
    outline: none;
}
.player-chat-input::placeholder {
    color: rgba(255, 255, 255, 0.48);
}
.player-chat-input:focus {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(0, 0, 0, 0.55);
}
.player-chat-input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.player-chat-send,
.player-chat-toggle {
    flex: 0 0 auto;
    height: 38px;
    border: 0;
    border-radius: 6px;
    font-size: 0.86rem;
    font-weight: 800;
    padding: 0 14px;
    cursor: pointer;
    transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
}
.player-chat-send {
    min-width: 74px;
    background: #ffcf33;
    color: #121212;
}
.player-chat-toggle {
    min-width: 62px;
    background: rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.player-chat-send:hover,
.player-chat-send:focus-visible,
.player-chat-toggle:hover,
.player-chat-toggle:focus-visible {
    filter: brightness(1.06);
    transform: translateY(-1px);
    outline: none;
}
.player-chat-toggle.is-muted {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.58);
}
.player-chat-send:disabled {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none;
    filter: none;
}
.channel-btn {
    border: 0;
    color: #111111;
    background: transparent;
    padding: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    width: 42px;
    height: 42px;
    justify-content: center;
}
.channel-btn__image {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}
.channel-btn:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}
.league-section {
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(8, 10, 18, 0.78);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.league-title {
    background: linear-gradient(135deg, rgba(35, 38, 54, 0.96), rgba(18, 20, 31, 0.96));
    color: #fff;
    padding: 11px 15px;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.league-title .league-badge {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 6px 16px rgba(0, 0, 0, 0.3);
}
.league-title .league-badge--empty {
    position: relative;
}
.league-title .league-badge--empty::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    margin: 5px auto 0;
    border-radius: 999px;
    background: var(--color-live-red);
    box-shadow: 0 0 14px rgba(245, 66, 101, 0.65);
}
.match-row {
    font-size: 1rem;
}
.match-row {
    display: grid;
    grid-template-columns: 94px minmax(0, 1.2fr) minmax(86px, 116px) minmax(0, 1.2fr) 58px;
    column-gap: 14px;
    padding: 14px 15px;
    margin: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    align-items: center;
    background:
        radial-gradient(circle at 20% 50%, rgba(233, 44, 91, 0.14), transparent 32%),
        radial-gradient(circle at 78% 50%, rgba(20, 102, 255, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(11, 15, 29, 0.98), rgba(6, 8, 16, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 24px rgba(0, 0, 0, 0.24);
}
.league-section .match-row:last-child {
    margin-bottom: 12px;
}
.match-row > .match-time {
    min-width: 0;
    white-space: normal;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}
.match-time .match-date .match-clock .match-home .match-away .match-score .match-status .match-action {
    font-size: inherit;
}
.match-home {
    text-align: right;
}
.match-home .team-cell {
    justify-content: flex-end;
}
.match-away {
    text-align: left;
}
.match-away .team-cell {
    justify-content: flex-start;
}
.team-cell {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    max-width: 100%;
}
.team-cell img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.6));
}
.team-cell span {
    display: inline-block;
    min-width: 0;
    font-weight: 600;
    line-height: 1.25;
}
.match-score {
    text-align: center;
    letter-spacing: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.match-score-main {
    font-weight: 700;
    color: var(--color-live-red);
    font-size: 1.45rem;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0 0 16px rgba(245, 66, 101, 0.45);
}
.match-row--basketball {
    grid-template-columns: 94px minmax(0, 1.35fr) minmax(104px, 132px) minmax(0, 1.35fr) 58px;
}
.match-row--basketball .match-score {
    padding: 0 8px;
}
.match-row--basketball .match-score-main {
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.match-score-mobile {
    display: none;
}
.match-score-meta {
    min-height: 1em;
    font-size: 0.78rem;
    line-height: 1;
    color: var(--color-live-red);
    font-weight: 700;
}
.match-status {
    display: none;
}
.match-action {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
.match-action .channel-btn {
    font-size: 0.75rem;
    box-shadow: 0 0 18px rgba(245, 66, 101, 0.35);
}
.match-row.empty {
    grid-template-columns: 1fr;
    text-align: center;
    color: #aaa;
}
.inline-match-banner {
    width: 100%;
    margin: 10px 0 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: #000;
}
.inline-match-banner a {
    display: block;
}
.inline-match-banner img,
.inline-match-banner video {
    width: 100%;
    height: auto;
    display: block;
}
.under-player-banner {
    display: none;
    width: 100%;
    margin: 12px 0 10px;
    border-radius: 18px;
    overflow: hidden;
    background: #090807;
    border: 1px solid rgba(225, 188, 94, 0.2);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
.player-shell.has-video + .under-player-banner {
    display: block;
}
.under-player-banner a,
.under-player-banner img {
    display: block;
    width: 100%;
}
.under-player-banner img {
    height: auto;
}

@media (max-width: 900px) {
    .league-section {
        overflow: visible;
    }
    .player-scroll-text {
        top: 6px;
        left: 8px;
        right: 8px;
        font-size: 0.74rem;
        padding: 4px 0;
    }
    .player-scroll-text__track {
        gap: 38px;
        animation-duration: 20s;
    }
    .inline-match-banner {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
    .under-player-banner {
        margin-top: 10px;
        border-radius: 16px;
    }
}


.footer-banner-stack {
    margin-top: 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.footer-banner-item {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}
.footer-banner-item img,
.footer-banner-item video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Sticky Bottom Banner */
.sticky-bottom-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.95);
    padding: 6px 6px 6px 6px;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    gap: 10px;
}
.sticky-bottom-banner a {
    display: block;
}
.sticky-bottom-banner img,
.sticky-bottom-banner video {
    width: 100%;
    height: auto;
    max-height: 90px;
    object-fit: contain;
}
.sticky-banner-close {
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.sticky-bottom-banner.is-hidden {
    display: none !important;
}
body.has-sticky-banner {
    padding-bottom: 120px;
}

/* ==========================================================================
   Responsive: Tablet
   ========================================================================== */
@media (max-width: 1100px) {

.livestream-wrapper {
        flex-direction: column;
    }

    .left-panel {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        box-shadow: 2px 0 10px rgba(0,0,0,0.5);
    }
    .top-league-panel {
        height: auto;
        max-height: none;
        padding-bottom: 20px;
    }
    .left-panel.show {
        transform: translateX(0);
    }
    .left-panel .league-box {
        max-height: calc(100vh - 80px);
    }

    .controls-right {
        flex: 1;
        justify-content: flex-end;
    }

    .right-panel {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 20px;
        position: relative;
    }
}

/* ==========================================================================
   Responsive: Mobile
   ========================================================================== */
@media (max-width: 820px) {

    .date-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    .controls-right {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .search-field input {
        width: 100%;
        min-width: 0;
    }
    .sticky-bottom-banner {
        display: block;
    }
}

@media (max-width: 600px) {
    .brand-bar {
        padding-top: 10px;
    }
    .brand-nav .brand-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    .brand-nav .brand-menu li a {
        font-size: 2rem;
        line-height: 1.2;
    }
    .match-row {
        grid-template-columns: 64px 1fr 38px 44px;
        grid-template-areas:
            "time home score action"
            "time away score action";
        column-gap: 6px;
        row-gap: 6px;
    }
    .match-row > .match-time {
        grid-area: time;
    }
    .match-row > .match-home {
        grid-area: home;
        text-align: left;
    }
    .match-row > .match-away {
        grid-area: away;
        text-align: left;
    }
    .match-row > .match-score {
        grid-area: score;
        text-align: center;
    }
    .match-row > .match-action {
        grid-area: action;
        text-align: right;
        align-self: center;
    }
    .controls-right {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .search-field {
        flex: 1;
        width: 100%;
    }
    .search-field input {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    .login-trigger {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 1rem;
    }
    .register-trigger {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 1rem;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 820px) {
    .brand-nav {
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: 8px;
        top: auto;
        display: block;
        width: auto;
        text-align: left;
        margin: 0;
        transform: none;
        z-index: 7;
    }
    .brand-info {
        margin-top: 0;
    }
    .brand-lang {
        top: 30px;
        right: 52px;
    }
    .brand-nav .brand-menu {
        display: none;
    }
    .brand-shortcuts {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        padding-bottom: 0;
        margin-top: 0;
        margin-left: 0;
        align-items: center;
        justify-items: stretch;
    }
    .brand-shortcut {
        height: 35px;
        padding: 0 10px;
        gap: 6px;
        min-width: 0;
        max-width: 100%;
        justify-content: center;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .brand-shortcut--special {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin-left: 0;
        padding-left: 8px;
        padding-right: 8px;
        grid-column: span 2;
    }
    .brand-shortcut__icon img {
        width: 14px;
        height: 14px;
    }
    .brand-shortcut__text {
        display: flex;
        align-items: center;
        font-size: 0.68rem;
        font-weight: 700;
        line-height: 1;
        overflow: visible;
        text-overflow: clip;
        white-space: nowrap;
    }
    .brand-shortcut--special .brand-shortcut__text {
        font-size: 0.64rem;
        letter-spacing: 0;
        flex-wrap: nowrap;
    }
    .lang-switcher {
        gap: 6px;
        justify-content: flex-end;
    }
    .lang-switcher__trigger {
        min-width: 58px;
        height: 24px;
        padding: 0 9px;
        font-size: 0.68rem;
        margin-top: 45px;
        margin-right: -10px;
    }
    .lang-switcher__menu {
        min-width: 72px;
    }
}

@media (max-width: 768px) {
}

body.is-mobile .left-panel h3,
body.is-mobile #leagueList li,
body.is-mobile .league-title {
    font-size: 2.5rem;
}
body.is-mobile .match-row {
    font-size: 2rem;
}
body.is-mobile .left-panel {
    width: 800px;
}
body.is-mobile .left-panel .league-box {
    max-height: calc(100vh - 80px);
}
body.is-mobile .date-buttons {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
body.is-mobile .controls-right {
    margin-left: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
body.is-mobile .search-field {
    flex: 1;
    display: none;
}
body.is-mobile .search-field input {
    width: 50%;
    font-size: 2rem;
    padding: 8px 12px;
    background-image: none;
}
body.is-mobile .current-date-group {
    order: -1;
    width: fit-content;
    max-width: 100%;
    position: relative;
    left: 2px;
}
body.is-mobile .current-date {
    font-size: 0.95rem;
}
body.is-mobile .date-btn {
    font-size: 0.95rem;
}
body.is-mobile .brand-nav .brand-menu li a {
    font-size: 2rem;
}
body.is-mobile .brand-identity,
body.is-mobile .brand-identity span {
    font-size: 2rem;
}
body.is-mobile .brand-sponsor {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-left: 0;
}
body.is-mobile .brand-secondary-logo {
    height: 72px;
    top: -10px;
}
body.is-mobile .brand-sponsor-text {
    font-size: 1.6rem;
}
body.is-mobile .brand-feature-wrapper {
    padding: 8px 0 0;
}
body.is-mobile .brand-feature-list {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 12px;
    padding-bottom: 2px;
    width: 100%;
}
body.is-mobile .brand-feature-list li {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
}
body.is-mobile .brand-feature-icon img {
    width: 42px;
    height: 42px;
}
body.is-mobile .brand-feature-label {
    font-size: 0.82rem;
}
body.is-mobile .share-notification-text {
    animation-duration: 12s;
}
body.is-mobile .live-score-wrapper {
    max-height: 600px;
    overflow: auto;
}
body.is-mobile .live-score-wrapper iframe {
    height: 600px;
}
body.is-mobile .highlight-wrapper .rows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.is-mobile .highlight-wrapper .column {
    width: 100% !important;
}
body.is-mobile .news-hero-image {
    width: 45%;
    max-width: 200px;
}
body.is-mobile .news-hero-content p {
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
body.is-mobile .news-card-image {
    max-height: 160px;
}
body.is-mobile .news-card-body p {
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
body.is-mobile .livestream-footer-intro,
body.is-mobile .livestream-footer,
body.is-mobile .livestream-footer-copy {
    font-size: 2rem;
}
body.is-mobile .news-cat-btn,
body.is-mobile .news-meta,
body.is-mobile .news-hero,
body.is-mobile .news-card-body p,
body.is-mobile .single-article-content,
body.is-mobile .single-article-content p,
body.is-mobile .single-article-meta {
    font-size: 2rem;
}
body.is-mobile .single-article-cats a {
    font-size: 1.8rem;
}
body.is-mobile .news-section.has-sidebar {
    grid-template-columns: 1fr;
}
body.is-mobile .news-sidebar {
    display: none !important;
}

.startup-banner {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.startup-banner.is-visible {
    display: flex;
}
body.startup-banner-open {
    overflow: hidden;
}
.startup-banner__panel {
    position: relative;
    width: min(840px, 96vw);
    border-radius: 20px;
    padding: 28px;
    background: #050505;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65);
}
.startup-banner__icon {
    position: absolute;
    top: -32px;
    left: 32px;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}
.startup-banner__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.startup-banner__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.startup-banner__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, background 0.3s ease;
}
.startup-banner__close:hover {
    background: rgba(255, 255, 255, 0.2);
}
.startup-banner__close.is-hidden {
    opacity: 0;
    pointer-events: none;
}
.is-mobile .startup-banner__close {
    width: 4rem;
    height: 4rem;
    font-size: 3rem;
}

.live-score-wrapper {
    margin-top: 30px;
    padding: 10px;
    border-radius: 18px;
    background: var(--color-panel);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    max-height: 600px;
    overflow: auto;
}
.live-score-wrapper iframe {
    border: none;
    border-radius: 12px;
    width: 100%;
    height: 600px;
}
.highlight-wrapper {
    margin-top: 30px;
    padding: 18px 18px 10px;
    border-radius: 18px;
    background: var(--color-panel);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    max-height: none;
    overflow: visible;
}
.highlight-wrapper .rows {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.highlight-wrapper .column {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
}
.highlight-wrapper .column > a {
    display: block;
}
.highlight-wrapper .column img {
    width: 100%;
    border-radius: 12px;
    display: block;
}
.highlight-wrapper .column .dataTitle {
    margin-top: 6px;
}
.highlight-wrapper .rows::after {
    display: none !important;
}
.highlights-error {
    color: #fff;
    text-align: center;
    margin: 20px 0;
}

@media (max-width: 600px) {
    .startup-banner {
        padding: 16px;
    }
    .startup-banner__panel {
        width: min(95vw, 560px);
        padding: 22px;
        border-radius: 18px;
    }
    .startup-banner__icon {
        top: -24px;
        left: 16px;
        width: 60px;
        height: 60px;
    }
    .startup-banner__close {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    .live-score-wrapper {
        margin-top: 24px;
        padding: 8px;
        border-radius: 14px;
    }
    .live-score-wrapper iframe {
        border-radius: 10px;
    }
}

.matchlist-disabled .left-panel,
.matchlist-disabled .date-buttons,
.matchlist-disabled #matchList,
.matchlist-disabled .sticky-bottom-banner,
.matchlist-disabled .filter-buttons,
.matchlist-disabled .controls-right {
    display: none !important;
}
.matchlist-disabled .right-panel {
    max-width: 1200px;
    margin: 0 auto;
}

#modal-wrapper {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
}
body.is-show-modal #modal-wrapper,
#modal-wrapper.is-active {
    visibility: visible;
    opacity: 1;
}

/* ==========================================================================
   News & Articles
   ========================================================================== */
.news-section {
    width: 100%;
    margin: 40px 0 60px;
    box-sizing: border-box;
}
.news-section.has-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 30px;
    align-items: flex-start;
}
.news-section.no-sidebar .news-content {
    width: 100%;
}
.news-content {
    flex: 1;
    min-width: 0;
}
.news-section.has-sidebar .news-content {
    flex: 1 1 auto;
}
.news-category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}
.news-cat-btn {
    display: inline-block;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--color-text);
    text-decoration: none;
    background: rgba(224, 149, 23, 0.15);
    transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

/* ==========================================================================
   Mobile Layout Refresh
   ========================================================================== */
@media (max-width: 820px) {
    .livestream-wrapper {
        gap: 8px;
        margin-top: 4px;
    }
    .brand-bar {
        min-height: 0;
        padding: 8px 10px 12px;
        flex-direction: column;
        gap: 0;
    }
    .right-panel {
        max-width: none;
        padding-top: 0;
    }
    .brand-logo {
        justify-content: flex-start;
        margin-bottom: 0;
        position: relative;
        left: auto;
        top: auto;
        width: calc(100% - 28px);
        transform: none;
        z-index: 4;
    }
    .brand-info,
    .brand-text {
        width: auto;
        gap: 0;
    }
    .brand-identity {
        transform: none;
        justify-content: flex-start;
        gap: 8px;
        font-size: 1rem;
        margin: 8px 0 4px;
        width: 100%;
        align-items: center;
    }
    .brand-identity > img {
        width: 54px;
        height: 54px;
    }
    .brand-identity > a {
        padding: 0;
        background: transparent;
        border-radius: 0;
    }
    .brand-identity > a img,
    .brand-identity .custom-logo {
        max-height: 80px;
        width: auto;
        display: block;
        margin-bottom: 0;
    }
    .brand-bar .brand-domain {
        font-size: 1.1rem;
        line-height: 1.05;
        white-space: normal;
    }
    .brand-tagline {
        font-size: 0.7rem;
        line-height: 1;
    }
    .brand-countdown-strip {
        margin-top: 8px;
    }
    .brand-countdown {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px 10px;
    }
    .brand-countdown__meta,
    .brand-countdown__venue {
        text-align: center;
        justify-content: center;
    }
    .brand-countdown__title {
        font-size: 0.92rem;
    }
    .brand-countdown__clock {
        width: 100%;
        min-width: 0;
        gap: 4px;
    }
    .brand-countdown__segment {
        min-width: 0;
        padding: 7px 2px 6px;
    }
    .brand-countdown__value {
        font-size: 1rem;
    }
    .brand-countdown__label,
    .brand-countdown__venue {
        font-size: 0.58rem;
    }
    .brand-countdown__label {
        letter-spacing: 0.03em;
    }
    .date-buttons {
        margin: 0;
        display: block;
    }
    .filter-search {
        display: grid;
        grid-template-columns: auto auto minmax(0, 1fr) 42px;
        grid-template-areas:
            "sport date search major"
            "filters filters filters filters";
        align-items: center;
        column-gap: 0;
        row-gap: 0;
    }
    .sport-switcher {
        grid-area: sport;
        gap: 5px;
    }
    .sport-switcher__btn {
        width: 32px;
        height: 32px;
        font-size: 0.94rem;
    }
    .current-date-group {
        grid-area: date;
        width: fit-content;
        max-width: 100%;
        justify-content: center;
        margin: 0;
        padding: 6px 5px;
        position: relative;
        left: 0;
    }
    .current-date {
        font-size: 0.95rem;
        color: var(--color-live-red);
    }
    .date-nav-btn {
        font-size: 1.45rem;
        padding: 0 6px;
    }
    .filter-buttons {
        grid-area: filters;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .date-btn {
        width: 100%;
        margin: 0;
        padding: 10px 0;
        border-radius: 999px;
        font-size: 0.95rem;
        font-weight: 500;
        background: transparent url("./tab-dark.png") center/100% 100% no-repeat;
        border: 0;
        color: var(--color-accent);
    }
    .date-btn.active {
        background: transparent url("./tab-active.png") center/100% 100% no-repeat;
        color: var(--color-text);
    }
    .search-field {
        grid-area: search;
        display: block;
        width: 100%;
        max-width: 95%;
        min-width: 0;
        flex: 1 1 auto;
    }
    .search-field input {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 32px;
        border-radius: 999px;
        border: 1px solid rgba(94, 94, 94, 0.7);
        background-color: transparent;
        color: #fff;
        font-size: 0.86rem;
        padding: 4px 10px 4px 28px;
        background: transparent url("./searchframe.png") center/100% 100% no-repeat;
        box-sizing: border-box;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    }
    .major-league-filter {
        grid-area: major;
        min-width: 0;
        justify-self: end;
        display: flex;
        align-items: center;
        width: 44px;
        margin-left: 12px;
        margin-right: 2px;
    }
    .major-league-trigger {
        padding: 0;
        width: 44px;
        height: 32px;
        border-radius: 999px;
        border: 0;
        min-width: 44px;
        min-height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: transparent url("./tab-dark.png") center/100% 100% no-repeat;
        box-shadow: none;
        overflow: visible;
        color: var(--color-accent);
        font-weight: 500;
        gap: 6px;
    }
    .major-trigger-image {
        display: none;
        width: 48px;
        height: 37px;
    }
    .major-trigger-label {
        display: none;
        white-space: nowrap;
    }
    .major-trigger-icon {
        display: inline;
    }
    .major-league-menu {
        right: 0;
        left: auto;
        width: min(320px, calc(100vw - 24px));
        max-height: 50vh;
    }
    #matchList {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .league-section {
        margin-bottom: 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        background: rgba(8, 10, 18, 0.76);
    }
    .league-title {
        font-size: 1rem;
        padding: 10px 12px;
        background: linear-gradient(135deg, rgba(35, 38, 54, 0.96), rgba(18, 20, 31, 0.96));
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-weight: 700;
    }
    .league-title .league-badge {
        width: 30px;
        height: 30px;
        border-radius: 9px;
        padding: 4px;
    }
    .match-row {
        grid-template-columns: 58px 1fr minmax(42px, 58px) minmax(40px, 54px);
        grid-template-areas:
            "time home score action"
            "time away score action";
        column-gap: 6px;
        row-gap: 8px;
        padding: 12px;
        margin: 9px;
        border: 1px solid rgba(255, 255, 255, 0.07);
        border-radius: 12px;
        background:
            radial-gradient(circle at 12% 48%, rgba(233, 44, 91, 0.13), transparent 34%),
            radial-gradient(circle at 82% 50%, rgba(20, 102, 255, 0.13), transparent 36%),
            linear-gradient(135deg, rgba(11, 15, 29, 0.98), rgba(6, 8, 16, 0.98));
        font-size: 0.96rem;
    }
    .match-row > .match-time {
        grid-area: time;
        min-width: 0;
        font-size: 0.78rem;
        line-height: 1.2;
        color: var(--color-accent);
    }
    .match-row > .match-home {
        grid-area: home;
        text-align: left;
        font-weight: 400;
    }
    .match-home .team-cell {
        justify-content: flex-start;
        flex-direction: row-reverse;
    }
    .match-row > .match-away {
        grid-area: away;
        text-align: left;
        color: var(--color-text);
    }
    .match-away .team-cell {
        justify-content: flex-start;
    }
    .match-row > .match-score {
        grid-area: score;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-width: 0;
        gap: 0;
    }
    .match-row > .match-score .match-score-main {
        display: none;
    }
    .match-row > .match-score .match-score-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--color-live-red);
        line-height: 1;
    }
    .match-row > .match-score .match-score-row {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-width: 0;
    }
    .match-row > .match-score .match-score-meta-inline {
        display: inline-block;
        min-width: 0;
        font-size: 0.95rem;
        line-height: 1;
        color: var(--color-live-red);
        font-weight: 700;
        white-space: nowrap;
        letter-spacing: 0;
    }
    .match-row > .match-score .match-score-meta {
        display: block;
        min-height: 0;
        margin-top: 0;
        font-size: 0;
        line-height: 1;
        overflow: hidden;
    }
    .match-row > .match-action {
        grid-area: action;
        justify-content: flex-end;
        align-items: center;
    }
    .match-action .channel-btn {
        min-width: 32px;
        min-height: 32px;
        padding: 6px;
        border-radius: 50%;
    }
    .player-headline {
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 2;
        display: block;
        margin-bottom: 0;
    }
    .tcplayer-watermark {
        position: absolute;
        top: 8px;
        right: 8px;
        width: min(9.6vw, 38px);
        min-width: 29px;
    }
    .player-ad-label {
        top: 8px;
        left: 8px;
        padding: 4px 8px;
        font-size: 0.72rem;
    }
    .player-ad-skip {
        right: 8px;
        bottom: 8px;
        padding: 7px 11px;
        font-size: 0.74rem;
    }
    .current-match {
        padding: 6px 8px;
        font-size: 0.82rem;
        margin-bottom: 6px;
    }
    .team-cell img {
        width: 28px;
        height: 28px;
        padding: 3px;
    }
    .team-cell {
        gap: 8px;
    }
    .team-cell span {
        font-weight: 600;
    }
    .sticky-bottom-banner {
        width: 100%;
        max-width: none;
        left: 0;
        right: 0;
        padding: 0 0 10px;
        background: transparent;
    }
    .sticky-bottom-banner img,
    .sticky-bottom-banner video {
        width: 100%;
        border-radius: 0;
    }
    .footer-banner-stack {
        width: calc(100% + 20px);
        margin-left: -10px;
        margin-right: -10px;
    }
    .footer-banner-item img,
    .footer-banner-item video {
        width: 100%;
        border-radius: 0;
    }
    body.has-sticky-banner {
        padding-bottom: 88px;
    }
}

body.is-mobile .left-panel h3,
body.is-mobile #leagueList li,
body.is-mobile .league-title {
    font-size: 1rem;
}
body.is-mobile .match-row {
    font-size: 0.96rem;
}
body.is-mobile .left-panel {
    width: 280px;
}
body.is-mobile .search-field {
    display: block;
}
body.is-mobile .search-field input {
    width: 100%;
    font-size: 0.9rem;
    max-width: 100%;
    min-height: 32px;
    padding: 5px 12px 5px 30px;
    box-sizing: border-box;
}
body.is-mobile .current-date {
    font-size: 0.82rem;
}
body.is-mobile .date-btn {
    font-size: 0.95rem;
}
body.is-mobile .brand-identity,
body.is-mobile .brand-identity span {
    font-size: 1rem;
}
body.is-mobile .brand-sponsor-text {
    font-size: 0.9rem;
}
body.is-mobile .brand-feature-label {
    font-size: 0.9rem;
}
body.is-mobile .livestream-footer-intro,
body.is-mobile .livestream-footer,
body.is-mobile .livestream-footer-copy,
body.is-mobile .news-cat-btn,
body.is-mobile .news-meta,
body.is-mobile .news-hero,
body.is-mobile .news-card-body p,
body.is-mobile .single-article-content,
body.is-mobile .single-article-content p,
body.is-mobile .single-article-meta {
    font-size: 1rem;
}

@media (max-width: 820px) {
    .brand-nav {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        top: auto;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        margin: 5px 0 0;
        transform: none;
        z-index: 7;
    }
    .brand-lang {
        top: 30px;
        right: 52px;
    }
    .brand-nav .brand-menu {
        display: none;
    }
    .brand-shortcuts {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        padding-bottom: 0;
        margin-top: 0;
        margin-left: 0;
        align-items: center;
    }
    .brand-shortcut {
        height: 35px;
        padding: 0 10px;
        gap: 6px;
        min-width: 0;
        justify-content: center;
    }
    .brand-shortcut__icon img {
        width: 14px;
        height: 14px;
    }
    .brand-shortcut__text {
        display: flex;
        align-items: center;
        font-size: 0.68rem;
        font-weight: 700;
        line-height: 1;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .lang-switcher {
        gap: 6px;
        justify-content: flex-end;
    }
    .lang-switcher__trigger {
        min-width: 58px;
        height: 24px;
        padding: 0 9px;
        font-size: 0.68rem;
        margin-top: 45px;
        margin-right: -10px;
    }
    .lang-switcher__menu {
        min-width: 72px;
        top: calc(100% + 6px);
    }
    .lang-switcher__item {
        min-width: 40px;
        height: 28px;
        font-size: 0.7rem;
        padding: 0 7px;
    }
    .top-banner.compact {
        margin-bottom: 2px;
    }
}

@media (max-width: 360px) {
    .brand-bar .brand-domain {
        font-size: 0.9rem;
    }
    .brand-tagline {
        font-size: 0.54rem;
    }
}

@media (min-width: 769px) {
    .date-buttons {
        flex-wrap: nowrap;
    }
    .filter-search {
        flex-wrap: nowrap;
    }
}

/* ==========================================================================
   App Download Prompt
   ========================================================================== */
.app-download-prompt[hidden] {
    display: none;
}
.app-download-prompt {
    width: 100%;
    max-width: 1200px;
    margin: 10px auto 10px;
    padding: 0 15px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.app-download-prompt.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.app-download-prompt__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(5, 5, 5, 0.96), rgba(28, 18, 2, 0.96)),
        linear-gradient(135deg, rgba(212, 162, 65, 0.14), rgba(212, 162, 65, 0.04));
    border: 1px solid rgba(212, 162, 65, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
}
.app-download-prompt__copy {
    flex: 1;
    min-width: 0;
}
.app-download-prompt__text {
    margin: 0;
    color: #f7e4ab;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}
.app-download-prompt__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}
.app-download-prompt__cta,
.app-download-prompt__dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.app-download-prompt__cta {
    background: linear-gradient(180deg, #f8df95, #d5a33b);
    color: #111111;
    border: 1px solid #f2d173;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.app-download-prompt__dismiss {
    background: transparent;
    color: #d7b15a;
    border: 1px solid rgba(215, 177, 90, 0.4);
}
.app-download-prompt__cta:hover,
.app-download-prompt__dismiss:hover {
    transform: translateY(-1px);
}
.app-download-prompt__dismiss:hover {
    border-color: rgba(215, 177, 90, 0.7);
    color: #f2d173;
}

/* ==========================================================================
   Menu Popup Modal
   ========================================================================== */
.menu-popup[hidden] {
    display: none;
}
.menu-popup {
    position: fixed;
    inset: 0;
    z-index: 12000;
}
.menu-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}
.menu-popup__panel {
    position: relative;
    max-width: 420px;
    margin: 12vh auto 0;
    background: #050505;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    padding: 20px 20px 16px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.menu-popup__header h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
}
.menu-popup__body {
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}
.menu-popup__actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}
.menu-popup-open body {
    overflow: hidden;
}
.menu-popup__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}
.menu-popup__btn--primary {
    background: var(--color-accent, #dd9933);
    color: #0b0b0b;
    border-color: var(--color-accent, #dd9933);
}
.menu-popup__btn--ghost {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Floating Sidebar
   ========================================================================== */
.floating-sidebar {
    position: fixed;
    right: calc(12px + env(safe-area-inset-right, 0px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 999;
    pointer-events: none;
}
.floating-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    pointer-events: auto;
}
.floating-sidebar__item {
    margin: 0;
    flex: 0 0 auto;
}
.floating-sidebar__link {
    width: 72px;
    min-height: 78px;
    padding: 2px 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    color: #666666;
    text-align: center;
    text-decoration: none;
}
.floating-sidebar__icon {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    overflow: hidden;
}
.floating-sidebar__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.floating-sidebar__label {
    font-size: 0.72rem;
    line-height: 1.2;
    font-weight: 600;
    word-break: break-word;
}
@media (max-width: 540px) {
    .app-download-prompt {
        margin-top: 8px;
        margin-bottom: 8px;
    }
    .app-download-prompt__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px;
        border-radius: 14px;
    }
    .app-download-prompt__text {
        font-size: 0.95rem;
        text-align: center;
    }
    .app-download-prompt__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .app-download-prompt__cta,
    .app-download-prompt__dismiss {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: none;
        align-self: auto;
        min-height: 38px;
        padding: 5px 10px;
        font-size: 0.76rem;
        line-height: 1.12;
        text-align: center;
        white-space: normal;
    }
    .menu-popup__panel {
        margin: 16vh 16px 0;
    }
}
@media (max-width: 768px) {
    .floating-sidebar {
        right: calc(8px + env(safe-area-inset-right, 0px));
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }
    .floating-sidebar__list {
        padding: 0;
        gap: 0;
        border-radius: 0;
        align-items: flex-end;
    }
    .floating-sidebar__link {
        width: 66px;
        min-height: 72px;
        padding: 1px 1px;
    }
    .floating-sidebar__icon {
        width: 62px;
        height: 62px;
    }
    .floating-sidebar__label {
        font-size: 0.68rem;
    }
}
.news-cat-btn.active,
.news-cat-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}
.news-title {
    margin: 10px 0 20px;
    font-size: 1.5rem;
}
.news-hero {
    display: flex;
    gap: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 15px;
    background: var(--color-panel);
    margin-bottom: 25px;
}
.news-hero-image,
.news-card-image {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.news-hero-image img,
.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-hero-image {
    width: 320px;
    max-width: 40%;
}
.news-hero-content h3 {
    margin: 0 0 10px;
}
.news-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.6);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.news-card {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    background: var(--color-panel-dark);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.news-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.news-card-body h4 {
    margin: 0;
    font-size: 1rem;
}
.news-placeholder {
    width: 100%;
    padding-top: 63%;
    background: rgba(255,255,255,0.05);
}
.news-sidebar {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.single-post-container {
    padding-top: 30px;
}
.single-post-layout .news-content {
    width: 100%;
}
.single-article {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: var(--color-panel);
    padding: 25px;
    color: var(--color-text);
}
.single-article-head h1 {
    margin: 10px 0 20px;
    font-size: 2rem;
}
.single-article-hero {
    margin: 20px 0;
    border-radius: 20px;
    overflow: hidden;
}
.single-article-hero img {
    display: block;
    width: 100%;
    height: auto;
}
.single-article-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.6);
    flex-wrap: wrap;
}
.single-article-cats a {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid var(--color-accent);
    background: var(--color-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}
.single-article-cats a:hover {
    background: transparent;
    color: var(--color-text);
}
.single-article-content {
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}
.single-article-content p {
    margin-bottom: 1.2em;
}
.news-pagination {
    margin: 20px 0;
    text-align: center;
}
.news-pagination .page-numbers {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.2);
}
.news-pagination .current {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.livestream-footer {
    padding: 30px 15px 40px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text);
}
.livestream-footer-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.livestream-footer-icons .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-weight: 700;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.livestream-footer-icons .social-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}
.livestream-footer-icons .social-icon:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.12);
}
.livestream-footer-icons .social-icon.is-disabled {
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.28);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
    cursor: not-allowed;
}
.livestream-footer-icons .social-icon.is-disabled:hover {
    transform: none;
    background: rgba(255,255,255,0.03);
}
.livestream-footer-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--color-text);
}
.livestream-footer-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
}
.livestream-footer-links span {
    color: rgba(255,255,255,0.4);
}
.livestream-footer-intro {
    max-width: 1100px;
    margin: 30px auto 40px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    text-align: left;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
}
.livestream-footer-intro h1 {
    text-align: center;
}
.livestream-footer-intro p:last-child {
    margin-bottom: 0;
}
.livestream-footer-copy {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}
.livestream-footer-intro {
    margin-bottom: 24px;
}
.livestream-footer-intro p {
    margin-bottom: 1.2em;
}
.maincontainer {
    max-width: 1200px;
    margin: 30px auto 40px;
}
.rowarea {
    display: flex;
    align-items: center;
}
.livestream-box2 {
    width: 100%;
}
.footerlogo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
}
.footerlogo img {
    height: 40px;
    margin-right: 5px;
}

@media (min-width: 320px) and (max-width: 768px) {
    .rowarea {
        flex-flow: column;
    }
}

@media (max-width: 900px) {
    .news-section.has-sidebar {
        display: flex;
        flex-direction: column;
    }
    .news-sidebar {
        display: none;
    }
    .news-hero {
        flex-direction: column;
    }
    .news-hero-image {
        width: 100%;
        max-width: unset;
    }
}
.news-cat-btn {
    display: inline-block;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--color-text);
    text-decoration: none;
    background: rgba(224, 149, 23, 0.15);
    transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}
