@font-face { font-family: "Manrope"; src: url("https://fonts.gstatic.com/s/manrope/v20/xn7_YHE41ni1AdIRqAuZuw1Bx9mbZk7PFO_F.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("https://fonts.gstatic.com/s/manrope/v20/xn7_YHE41ni1AdIRqAuZuw1Bx9mbZk4jE-_F.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("https://fonts.gstatic.com/s/manrope/v20/xn7_YHE41ni1AdIRqAuZuw1Bx9mbZk4aE-_F.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("https://fonts.gstatic.com/s/manrope/v20/xn7_YHE41ni1AdIRqAuZuw1Bx9mbZk59E-_F.ttf") format("truetype"); font-style: normal; font-weight: 800; font-display: swap; }

:root {
    color-scheme: dark;
    --bg: #060915;
    --bg-elev-1: #080c1a;
    --bg-elev-2: #0d1224;
    --bg-elev-3: #171f3b;
    --surface: #0d1224;
    --surface-2: #121931;
    --surface-3: #171f3b;
    --surface-soft: rgba(13, 18, 36, 0.76);
    --line: rgba(151, 163, 211, 0.16);
    --line-strong: rgba(124, 108, 255, 0.42);
    --text: #f6f7ff;
    --muted: #8f98b7;
    --accent: #7667ff;
    --accent-bright: #9b8cff;
    --accent-soft: rgba(118, 103, 255, 0.14);
    --accent-softer: rgba(118, 103, 255, 0.065);
    --accent-border: rgba(139, 124, 255, 0.34);
    --accent-shadow: rgba(93, 72, 255, 0.34);
    --cyan: #42d3ff;
    --live: #ff405c;
    --live-soft: rgba(255, 64, 92, 0.13);
    --live-border: rgba(255, 64, 92, 0.22);
    --live-shadow: rgba(255, 64, 92, 0.72);
    --success: #45d7a0;
    --danger: #ff6b7f;
    --body-glow-a: rgba(93, 72, 255, 0.16);
    --body-glow-b: rgba(24, 139, 255, 0.09);
    --body-top: #080c1a;
    --body-bottom: #050712;
    --panel-start: rgba(18, 25, 49, 0.98);
    --panel-end: rgba(10, 14, 29, 0.98);
    --overlay-center: rgba(26, 31, 61, 0.84);
    --overlay-edge: rgba(2, 3, 8, 0.94);
    --control-bg: rgba(6, 9, 18, 0.76);
    --control-hover: rgba(38, 31, 91, 0.86);
    --text-on-accent: #ffffff;
    --radius: 20px;
    --shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--bg);
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-elev-1);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 11px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: var(--bg-elev-1);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    border: 3px solid var(--bg-elev-1);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-bright), var(--accent));
    box-shadow: inset 0 0 0 1px var(--accent-border);
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--cyan), var(--accent));
}

body {
    display: flex;
    flex-direction: column;
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    font-family: "Manrope", "Arial Rounded MT Bold", ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
    letter-spacing: -0.012em;
    background:
        radial-gradient(circle at 78% 2%, var(--body-glow-a), transparent 28rem),
        radial-gradient(circle at 8% 30%, var(--body-glow-b), transparent 30rem),
        linear-gradient(180deg, var(--body-top) 0%, var(--bg) 55%, var(--body-bottom) 100%);
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 10px;
    color: #07111b;
    background: var(--cyan);
    font-weight: 800;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1480px, calc(100% - 48px));
    min-height: 104px;
    gap: 24px;
    margin: 16px auto 0;
    padding: 18px 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(110deg, var(--accent-softer), transparent 48%), var(--surface-soft);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .10), inset 0 1px rgba(255, 255, 255, .025);
}

.topbar::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 24px;
    width: 130px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.topbar .brand { min-width: 0; }
.topbar .site-brand-logo { flex: 0 0 auto; max-width: 90px; max-height: 54px; }
.topbar .brand-copy { gap: 7px; min-width: 0; }
.topbar .brand-copy strong { font-size: clamp(16px, 1.25vw, 21px); font-weight: 800; letter-spacing: -.045em; line-height: 1.2; }
.topbar .brand-copy small { margin-top: 0; font-size: 8px; color: var(--muted); letter-spacing: .2em; }

.social-header-group { display: flex; align-items: center; gap: 26px; min-width: 0; max-width: 60%; }
.social-header-copy { display: grid; gap: 7px; text-align: right; flex-shrink: 0; }
.social-header-kicker { color: var(--accent-bright); font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.social-header-heading { color: var(--muted); font-size: 12px; font-weight: 600; }

.brand,
.broadcast-status,
.stage-badges,
.now-playing,
.info-strip,
.panel-tabs,
.search-box,
.channel-card,
.match-card,
.player-controls {
    display: flex;
    align-items: center;
}

.brand {
    gap: 12px;
}

.site-socials {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    margin-right: 0;
    padding: 12px 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--accent-softer);
    line-height: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-border) transparent;
}

.site-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-width: 78px;
    flex-shrink: 0;
    padding: 0 16px;
    color: var(--text);
    text-decoration: none;
    transition: color 200ms cubic-bezier(.22,.61,.36,1);
}

.site-social-link:hover {
    color: var(--accent-bright);
}

.site-social-link + .site-social-link { border-left: 1px solid var(--line); }

.site-social-link span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .055em;
    white-space: nowrap;
}

.site-social-icon {
    width: 1.5em;
    height: 1.5em;
    margin-bottom: .25em;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: center;
    backface-visibility: hidden;
    will-change: transform;
    animation: social-menu-blink 1000ms linear infinite;
}


.site-social-icon.social-icon--telegram,
.site-social-icon.social-icon--instagram,
.site-social-icon.social-icon--facebook,
.site-social-icon.social-icon--youtube { fill: currentColor; stroke: none; }
.site-social-icon .social-icon-fill { fill: currentColor; stroke: none; }
.site-social-icon.social-icon--youtube .social-icon-fill { fill: var(--bg-elev-1); }

@keyframes social-menu-blink {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.4); }
}

@media (max-width: 620px) {
    .topbar { min-height: 78px; gap: 10px; margin-top: 10px; padding: 12px 14px; border-radius: 16px; }
    .topbar .brand-copy { display: none; }
    .social-header-group { max-width: calc(100% - 65px); }
    .social-header-copy { display: none; }
    .site-socials { max-width: 100%; margin-right: 0; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
    .site-socials::-webkit-scrollbar { display: none; }
    .site-social-link { min-width: 62px; padding: 0 10px; }
    .site-social-icon { width: 1.3em; height: 1.3em; }
    .site-social-link span { font-size: 8px; }
}

@media (min-width: 621px) and (max-width: 900px) {
    .social-header-copy { display: none; }
    .topbar { padding: 16px 18px; gap: 16px; }
    .social-header-group { max-width: 50%; }
    .site-socials { max-width: 100%; overflow-x: auto; scrollbar-width: thin; }
    .site-social-link { min-width: 68px; padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .site-social-icon { animation: none !important; }
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--accent-border);
    border-radius: 13px;
    background: linear-gradient(145deg, var(--accent-bright), var(--accent));
    box-shadow: 0 10px 30px var(--accent-shadow), inset 0 1px rgba(255, 255, 255, 0.32);
    font-size: 22px;
    font-weight: 900;
    transform: skew(-5deg);
}

.brand-copy {
    display: grid;
    line-height: 1;
}

.brand-copy strong {
    letter-spacing: 0.18em;
    font-size: 17px;
}

.brand-copy small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.28em;
}

.broadcast-status {
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid var(--live-border);
    border-radius: 999px;
    color: var(--live);
    background: var(--live-soft);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.live-dot {
    display: inline-block;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 0 5px var(--live-soft), 0 0 16px var(--live-shadow);
    animation: live-pulse 1.7s ease-in-out infinite;
}

.page-shell {
    flex: 1 0 auto;
    width: min(1480px, calc(100% - 48px));
    margin: 0 auto;
    padding: 44px 0 54px;
}

.hero-copy {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 26px;
}

.eyebrow {
    margin: 0 0 9px;
    color: var(--accent-bright);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.19em;
}

h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.hero-note {
    max-width: 310px;
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 14px;
}

.app-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    gap: 22px;
    align-items: start;
}

.player-column,
.side-panel {
    min-width: 0;
}

.player-card,
.side-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--panel-start), var(--panel-end));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.player-card {
    position: relative;
}

.player-card::before {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 11%;
    width: 38%;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
}

.video-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #020306;
}

.video-stage video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.player-poster {
    position: absolute;
    z-index: 2;
    inset: 0;
    visibility: hidden;
    background: #020306;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.player-poster img{display:block;width:100%;height:100%;object-fit:cover}

.video-stage.is-paused .player-poster {
    visibility: visible;
    opacity: 1;
}

.stage-badges {
    position: absolute;
    z-index: 8;
    top: 18px;
    left: 18px;
    gap: 8px;
    pointer-events: none;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    backdrop-filter: blur(12px);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.live-badge {
    background: rgba(17, 16, 28, 0.75);
}

.player-overlay {
    position: absolute;
    z-index: 6;
    inset: 0;
    display: none;
    place-content: center;
    justify-items: center;
    gap: 10px;
    padding: 28px;
    text-align: center;
    background: radial-gradient(circle at center, var(--overlay-center), var(--overlay-edge));
}

.player-overlay.is-visible {
    display: grid;
}

.video-stage.is-starting .player-overlay {
    display: grid;
}

.player-overlay strong {
    margin-top: 4px;
    font-size: clamp(17px, 2vw, 22px);
}

.player-overlay span {
    max-width: 430px;
    color: var(--muted);
    font-size: 13px;
}

.loader {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--accent-bright);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.player-overlay[data-state="error"] .loader,
.player-overlay[data-state="offline"] .loader {
    display: none;
}

.center-play-button {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    display: grid;
    width: clamp(96px, 9vw, 124px);
    aspect-ratio: 1;
    place-items: center;
    border: 0;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    visibility: hidden;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    backdrop-filter: none;
    transition: color 180ms ease, opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.center-play-button svg {
    width: 64%;
    height: 64%;
    fill: currentColor;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.72));
    opacity: 0.78;
    transform: translateX(5%);
    transition: opacity 180ms ease, transform 180ms ease;
}

.video-stage.is-paused .center-play-button {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-stage.is-paused.is-starting .center-play-button {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
}

.center-play-button:hover {
    color: #fff;
    transform: translate(-50%, -50%) scale(1.06);
}

.center-play-button:hover svg {
    opacity: 1;
    transform: translateX(5%) scale(1.04);
}

.center-play-button:focus-visible {
    outline: 3px solid var(--accent-bright);
    outline-offset: 5px;
}

.primary-button,
.ghost-button {
    min-height: 42px;
    margin-top: 7px;
    padding: 0 18px;
    border-radius: 11px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.primary-button {
    border: 0;
    color: var(--text-on-accent);
    background: linear-gradient(135deg, var(--accent-bright), var(--accent));
    box-shadow: 0 10px 26px var(--accent-shadow);
}

.ghost-button {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.player-controls {
    position: absolute;
    z-index: 7;
    right: 0;
    bottom: 0;
    left: 0;
    gap: 8px;
    padding: 34px 16px 13px;
    opacity: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.86));
    transition: opacity 160ms ease;
}

.video-stage:hover .player-controls,
.video-stage:focus-within .player-controls,
.video-stage.is-paused .player-controls,
.player-controls:focus-within {
    opacity: 1;
}

.control-button {
    display: inline-grid;
    place-items: center;
    min-width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 11px;
    color: #f4f6ff;
    cursor: pointer;
    background: var(--control-bg);
    backdrop-filter: blur(10px);
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.control-button:hover {
    border-color: var(--accent-border);
    background: var(--control-hover);
    transform: translateY(-1px);
}

.control-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.control-button.is-active {
    color: var(--accent-bright);
    border-color: var(--accent-border);
    background: var(--control-hover);
}

.control-icon {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.play-toggle .icon-pause,
.mute-toggle .icon-volume-off {
    display: none;
}

.play-toggle.is-playing .icon-play,
.mute-toggle.is-muted .icon-volume-on {
    display: none;
}

.play-toggle.is-playing .icon-pause,
.mute-toggle.is-muted .icon-volume-off {
    display: block;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-right: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    background: var(--control-bg);
    backdrop-filter: blur(10px);
}

.volume-control .control-button {
    border: 0;
    background: transparent;
    backdrop-filter: none;
}

.volume-slider {
    width: 92px;
    height: 4px;
    margin: 0;
    border-radius: 999px;
    outline: 0;
    cursor: pointer;
    appearance: none;
    background: linear-gradient(90deg, var(--accent-bright), rgba(255, 255, 255, 0.3));
}

.volume-slider::-webkit-slider-thumb {
    width: 13px;
    height: 13px;
    border: 2px solid #fff;
    border-radius: 50%;
    appearance: none;
    background: var(--accent);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.volume-slider::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--accent);
}

.control-spacer {
    flex: 1;
}

.now-playing {
    min-height: 86px;
    gap: 14px;
    padding: 14px 18px;
    border-top: 1px solid var(--line);
}

.now-playing-logo-wrap {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 94px;
    height: 38px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.now-playing-logo-wrap img {
    max-width: 92px;
    max-height: 34px;
    object-fit: contain;
}

.now-playing-copy {
    min-width: 0;
}

.now-playing-copy span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.now-playing-copy h2 {
    margin: 5px 0 0;
    overflow: hidden;
    font-size: clamp(16px, 2vw, 21px);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.state-chip {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--accent-bright);
    background: var(--accent-soft);
    font-size: 10px;
    font-weight: 800;
}

.state-chip.is-live {
    color: #a9f4d4;
    background: rgba(69, 215, 160, 0.12);
}

.state-chip.is-error {
    color: #ffc0ca;
    background: var(--live-soft);
}

.info-strip {
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 15px 4px 0;
    color: var(--muted);
    font-size: 11px;
}

.info-strip strong {
    margin-right: 4px;
    color: var(--accent-bright);
}

.side-panel {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
}

.panel-tabs {
    flex: 0 0 auto;
    padding: 10px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-soft);
}

.tab-button {
    flex: 1;
    min-width: 0;
    min-height: 42px;
    border: 0;
    border-radius: 11px;
    color: var(--muted);
    cursor: pointer;
    background: transparent;
    font-size: 12px;
    font-weight: 800;
}

.tab-button.is-active {
    color: var(--text);
    background: linear-gradient(145deg, var(--accent-soft), var(--accent-softer));
    box-shadow: inset 0 0 0 1px var(--accent-border);
}

.count-badge {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 19px;
    margin-left: 6px;
    padding: 0 6px;
    border-radius: 999px;
    color: var(--accent-bright);
    background: var(--accent-soft);
    font-size: 9px;
}

.tab-panel {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    padding: 13px;
}

.search-box {
    flex: 0 0 auto;
    gap: 9px;
    min-height: 43px;
    margin-bottom: 11px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--muted);
    background: var(--surface-soft);
}

.search-box:focus-within {
    border-color: var(--line-strong);
    box-shadow: 0 0 0 3px var(--accent-softer);
}

.search-box input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font-size: 12px;
}

.search-box input::placeholder {
    color: var(--muted);
}

.content-list {
    min-height: 0;
    padding-right: 7px;
    overflow-y: auto;
    scrollbar-color: var(--accent) transparent;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
}

.content-list::-webkit-scrollbar {
    width: 7px;
}

.content-list::-webkit-scrollbar-track {
    margin-block: 4px;
    border-radius: 999px;
    background: var(--accent-softer);
}

.content-list::-webkit-scrollbar-thumb {
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-bright), var(--accent));
    background-clip: padding-box;
    box-shadow: 0 0 12px var(--accent-shadow);
}

.content-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--cyan), var(--accent));
    background-clip: padding-box;
}

.channel-card,
.match-card {
    width: 100%;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: inherit;
    cursor: pointer;
    text-align: left;
    background: transparent;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.channel-card {
    position: relative;
    display: grid;
    grid-template-columns: 28px 38px minmax(0, 1fr) 94px;
    gap: 10px;
    min-height: 70px;
    padding: 10px 8px;
}

.channel-card:hover,
.match-card:hover {
    border-color: var(--line-strong);
    background: var(--accent-softer);
    transform: none;
}

.channel-card.is-active {
    border-color: var(--accent-border);
    background: linear-gradient(90deg, var(--accent-soft), transparent 72%);
    box-shadow: inset 2px 0 var(--accent-bright);
}

.channel-live-icon {
    position: relative;
    display: block;
    width: 27px;
    height: 19px;
    border: 2px solid #dce2f4;
    border-radius: 2px;
}

.channel-live-icon::before {
    position: absolute;
    top: 4px;
    left: 8px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #dce2f4;
    content: "";
}

.channel-live-icon::after {
    position: absolute;
    bottom: -5px;
    left: 7px;
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: #dce2f4;
    content: "";
}

.channel-live-badge {
    padding: 3px 5px;
    color: var(--live);
    background: var(--live-soft);
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.02em;
}

.channel-logo {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    width: 94px;
    height: 38px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.channel-logo img {
    max-width: 92px;
    max-height: 34px;
    object-fit: contain;
}

.channel-meta,
.match-meta {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.channel-meta strong,
.match-meta strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.channel-meta span,
.match-meta span {
    color: var(--muted);
    font-size: 10px;
}

.channel-meta span {
    display: none;
}

.channel-meta strong {
    font-size: 12px;
    letter-spacing: 0.01em;
}

.active-indicator {
    display: none;
    position: absolute;
    right: 2px;
    bottom: 4px;
    color: var(--success);
    font-size: 8px;
    font-weight: 850;
}

.channel-card.is-active .active-indicator {
    display: block;
}

.match-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 10px;
    min-height: 76px;
    padding: 11px 8px;
}

.team-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
}

.team-mark img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.team-mark-fallback {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border: 1px solid var(--accent-border);
    border-radius: 50%;
    color: var(--accent-bright);
    background: var(--accent-soft);
    font-size: 11px;
    font-weight: 900;
}

.match-meta {
    gap: 7px;
}

.match-details {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.match-sport {
    flex: 0 0 auto;
    color: var(--accent-bright) !important;
    font-weight: 800;
}

.match-schedule {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.match-teams strong {
    display: block;
    min-width: 0;
    max-width: 44%;
    overflow: hidden;
    color: var(--text);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-away {
    text-align: right;
}

.match-separator {
    flex: 0 0 auto;
    color: #525b7a !important;
}

.skeleton-card {
    height: 68px;
    margin-bottom: 7px;
    border-radius: 13px;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0.035) 30%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.035) 60%);
    background-size: 240% 100%;
    animation: skeleton 1.4s ease infinite;
}

.empty-state {
    display: grid;
    flex: 1;
    place-content: center;
    gap: 7px;
    padding: 28px 16px;
    color: var(--muted);
    text-align: center;
}

.empty-state strong {
    color: var(--text);
    font-size: 14px;
}

.empty-state span {
    max-width: 250px;
    font-size: 11px;
    line-height: 1.5;
}

.is-hidden {
    display: none !important;
}

.footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: min(1480px, calc(100% - 48px));
    margin: 0 auto;
    padding: 20px 24px 20px 18px;
    border-top: 1px solid var(--line);
    border-right: 2px solid var(--accent);
    color: var(--muted);
    background: rgba(0, 0, 0, 0.16);
}

.footer-site,
.footer-provider {
    display: flex;
    align-items: center;
    color: var(--text);
    text-decoration: none;
}

.footer-site {
    gap: 11px;
    min-width: 0;
}

.footer-site-avatar {
    display: grid;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--accent-bright);
    background: transparent;
    font-size: 18px;
    font-weight: 900;
}

.footer-site-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-site-copy {
    display: grid;
    gap: 3px;
}

.footer-site-copy strong {
    color: var(--accent-bright);
    font-size: 16px;
    line-height: 1;
}

.footer-site-copy small {
    color: var(--muted);
    font-size: 10px;
}

.footer-provider {
    flex: 0 0 auto;
    gap: 9px;
    padding: 5px 0 5px 8px;
    transition: opacity 160ms ease, transform 160ms ease;
}

.footer-provider:hover {
    opacity: 0.86;
    transform: translateY(-2px);
}

.footer-provider img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-provider > span {
    display: grid;
    gap: 1px;
}

.footer-provider small {
    color: var(--muted);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.footer-provider strong {
    color: var(--accent-bright);
    font-size: 13px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes live-pulse {
    0%, 100% { opacity: 0.62; transform: scale(0.88); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes skeleton {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

@media (max-width: 1050px) {
    .app-grid {
        grid-template-columns: 1fr;
    }

    .side-panel {
        height: 560px;
        min-height: 0;
    }
}

@media (max-width: 720px) {
    .topbar,
    .page-shell,
    .footer {
        width: min(100% - 28px, 1480px);
    }

    .topbar {
        min-height: 70px;
    }

    .page-shell {
        padding: 30px 0 38px;
    }

    .hero-copy {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .hero-note {
        margin: 0;
    }

    .app-grid {
        gap: 15px;
    }

    .side-panel {
        height: 520px;
    }

    .info-strip {
        display: none;
    }

    .player-controls {
        opacity: 1;
    }

    .footer {
        gap: 14px;
        padding: 17px 14px 17px 10px;
    }

    .footer-site-avatar {
        width: 42px;
        height: 42px;
    }

    .footer-site-copy strong {
        font-size: 13px;
    }

    .footer-site-copy small {
        font-size: 8px;
    }

    .footer-provider img {
        width: 28px;
        height: 28px;
    }

    .footer-provider small {
        font-size: 7px;
    }

    .footer-provider strong {
        font-size: 10px;
    }
}

@media (max-width: 430px) {
    .topbar,
    .page-shell,
    .footer {
        width: min(100% - 20px, 1480px);
    }

    .broadcast-status {
        padding: 8px 10px;
        font-size: 9px;
    }

    .brand-copy small {
        display: none;
    }

    h1 {
        font-size: 31px;
    }

    .stage-badges {
        top: 10px;
        left: 10px;
    }

    .now-playing {
        min-height: 75px;
        gap: 10px;
        padding: 10px;
    }

    .now-playing-logo-wrap {
        width: 58px;
        height: 46px;
    }

    .now-playing-logo-wrap img {
        max-width: 49px;
        max-height: 31px;
    }

    .state-chip {
        max-width: 72px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .volume-slider {
        width: 64px;
    }

    .side-panel {
        height: 500px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
