:root {
  color-scheme: dark;
  --bg: #080b09;
  --surface: #0d110e;
  --raised: #121813;
  --raised-strong: #171e18;
  --line: #2c342d;
  --line-soft: #1d241e;
  --text: #f0f2ea;
  --muted: #8b928a;
  --faint: #606860;
  --lime: #b8f52b;
  --lime-dark: #789f12;
  --red: #df5c5c;
  --display: Bahnschrift, "Arial Narrow", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--bg) url("/assets/noise.svg") repeat; font-family: Arial, Helvetica, sans-serif; }
button, input, select { font: inherit; }
button, a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { width: 1px; height: 1px; padding: 0; position: absolute; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; background: var(--lime); color: var(--bg); font-size: 11px; font-weight: 900; text-transform: uppercase; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.topbar { height: 62px; padding: 0 clamp(18px, 4vw, 68px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(8, 11, 9, .97); position: sticky; top: 0; z-index: 20; }
.brand { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; cursor: pointer; font-family: var(--display); font-size: 18px; font-weight: 900; letter-spacing: -.03em; text-decoration: none; }
.top-actions { display: flex; align-items: center; gap: 24px; }
.header-settings { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 0 14px; cursor: pointer; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.header-settings:hover { border-color: var(--lime); background: rgba(179, 255, 34, .08); color: var(--text); }
.brand::before { content: "["; color: var(--lime); }
.brand::after { content: "]"; color: var(--lime); }
.topbar .brand svg { width: 22px; height: 22px; }

main { width: min(1540px, calc(100% - 48px)); margin: 0 auto; }
.library-view { padding-bottom: 120px; }
.library-heading { min-height: calc(100vh - 62px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.library-heading::before { content: ""; position: absolute; z-index: 0; inset: 0; background: radial-gradient(ellipse 24% 36% at 22% 48%, rgba(3, 6, 4, .72) 0%, rgba(3, 6, 4, .42) 48%, rgba(3, 6, 4, 0) 100%), radial-gradient(ellipse 20% 30% at 31% 65%, rgba(3, 6, 4, .56) 0%, rgba(3, 6, 4, .28) 48%, rgba(3, 6, 4, 0) 100%), radial-gradient(ellipse 16% 26% at 13% 64%, rgba(3, 6, 4, .42) 0%, rgba(3, 6, 4, 0) 100%), radial-gradient(ellipse 24% 28% at 73% 52%, rgba(3, 6, 4, .68) 0%, rgba(3, 6, 4, .38) 48%, rgba(3, 6, 4, 0) 100%), radial-gradient(ellipse 18% 22% at 65% 64%, rgba(3, 6, 4, .4) 0%, rgba(3, 6, 4, 0) 100%); pointer-events: none; }
.library-heading::after { content: ""; position: absolute; z-index: 2; top: clamp(72px, 9vw, 128px); bottom: clamp(72px, 9vw, 128px); left: 55%; width: 1px; background: #455047; pointer-events: none; }
.library-title { min-width: 0; padding: clamp(48px, 6vw, 92px); display: flex; align-items: center; position: relative; z-index: 1; }
.library-heading h1 { max-width: 820px; margin: 0; font-family: var(--display); font-size: clamp(58px, 6.1vw, 98px); font-weight: 900; line-height: .87; letter-spacing: -.07em; text-transform: uppercase; }
.library-heading h1 span { display: block; color: var(--lime); }
.spoiler-word { position: relative; border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; letter-spacing: inherit; line-height: inherit; padding: 0; text-transform: inherit; }
.spoiler-word > span { display: inline-block; filter: blur(14px); transition: filter 240ms ease; }
.spoiler-word[aria-pressed="true"] > span { filter: none; }
.library-heading h1, .library-summary { position: relative; z-index: 1; }
.library-summary { padding: clamp(48px, 6vw, 92px) clamp(48px, 6vw, 92px) clamp(48px, 6vw, 92px) clamp(32px, 3vw, 48px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; z-index: 1; transform: translateY(clamp(12px, 2vw, 28px)); }
.library-heading p { max-width: 510px; margin: 0 0 32px; color: #c2c8c0; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.5; }
.hero-action { width: fit-content; display: inline-flex; align-items: center; gap: 22px; padding: 0 0 12px; position: relative; color: var(--text); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.hero-action::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--lime); transform: scaleX(.68); transform-origin: left; transition: transform 220ms ease; }
.hero-action span { color: var(--lime); font-size: 18px; transition: transform 220ms ease; }
.hero-action:hover::after, .hero-action:focus-visible::after { transform: scaleX(1); }
.hero-action:hover span, .hero-action:focus-visible span { transform: translateY(3px); }

.continue-panel { min-height: 110px; display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; align-items: center; gap: 28px; background: var(--raised); }
.continue-kicker { padding-left: 28px; color: var(--lime); font-size: 12px; font-weight: 800; }
.continue-match { padding: 22px 28px; display: grid; gap: 7px; }
.continue-match span { color: var(--muted); font-size: 11px; }
.continue-match strong { font-family: var(--display); font-size: 28px; letter-spacing: -.035em; }
.continue-panel button { align-self: stretch; min-width: 220px; border: 0; background: var(--raised-strong); color: var(--text); cursor: pointer; font-size: 12px; font-weight: 800; }
.continue-panel button:hover { background: var(--lime); color: var(--bg); }

.catalog-section { padding-top: 88px; }
.section-heading { margin: 0 0 38px clamp(0px, 3vw, 48px); }
.section-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(38px, 4vw, 58px); line-height: .95; letter-spacing: -.045em; }
.section-heading p { margin: 10px 0 0; color: var(--muted); font-size: 17px; line-height: 1.5; }
.filter-panel { padding: 18px; display: grid; grid-template-columns: minmax(300px, .9fr) minmax(480px, 1.25fr) minmax(230px, .7fr) auto; align-items: end; gap: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(13, 17, 14, .78); }
.filter-block { min-width: 0; display: grid; gap: 9px; }
.filter-label { color: var(--faint); font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.filter-options { min-width: 0; padding: 4px; display: flex; background: #090d0a; }
.filter-options button { min-width: 0; min-height: 44px; flex: 1; border: 0; background: transparent; color: var(--muted); padding: 8px 12px; cursor: pointer; font-size: 13px; white-space: nowrap; }
.filter-options button:hover { background: var(--raised); color: var(--text); }
.filter-options button[aria-pressed="true"] { background: var(--raised-strong); color: var(--lime); font-weight: 700; }
.team-select-wrap { position: relative; display: block; background: #090d0a; }
.team-select-wrap::after { content: "↓"; position: absolute; top: 50%; right: 15px; color: var(--lime); transform: translateY(-50%); pointer-events: none; }
.team-select-wrap select { width: 100%; height: 52px; appearance: none; border: 0; background: transparent; color: var(--text); padding: 0 42px 0 15px; cursor: pointer; font-size: 13px; }
.team-select-wrap select:hover { background: var(--raised); }
.team-select-wrap option, .team-select-wrap optgroup { background: var(--surface); color: var(--text); }
.filter-summary { min-width: 72px; height: 52px; display: grid; align-content: center; justify-items: end; gap: 2px; color: var(--faint); }
.filter-summary strong { color: var(--text); font-family: var(--display); font-size: 22px; line-height: 1; }
.filter-summary span { font-size: 10px; }

.catalog-library { margin-top: 40px; display: grid; gap: 2px; }
.loading-copy { color: var(--muted); }
.vod-card { min-height: 228px; display: grid; grid-template-columns: 64px minmax(300px, 1fr) 240px minmax(320px, .8fr); align-items: stretch; background: rgba(13, 17, 14, .78); }
.vod-card:hover { background: var(--surface); }
.match-number { padding: 32px 0 0 18px; color: var(--faint); font-family: var(--display); font-size: 12px; font-weight: 800; }
.match-teams { min-width: 0; padding: 28px 34px 28px 0; display: grid; grid-template-columns: minmax(90px, 1fr) auto minmax(90px, 1fr); align-items: center; gap: clamp(14px, 2vw, 34px); }
.match-teams h3 { margin: 0; font-family: var(--display); font-size: 38px; text-transform: uppercase; }
.team-identity { min-width: 0; display: grid; justify-items: center; gap: 12px; }
.team-crest { width: 82px; height: 82px; display: grid; place-items: center; position: relative; }
.team-crest::before, .team-crest::after { content: ""; width: 14px; height: 14px; position: absolute; border-color: var(--line); }
.team-crest::before { inset: 0 auto auto 0; border-top: 1px solid; border-left: 1px solid; }
.team-crest::after { inset: auto 0 0 auto; border-right: 1px solid; border-bottom: 1px solid; }
.team-crest img { width: 60px; height: 60px; object-fit: contain; filter: grayscale(1) brightness(1.6); }
.team-crest b { color: var(--muted); font-family: var(--display); font-size: 24px; }
.team-crest.has-image b { display: none; }
.team-identity > strong { font-family: var(--display); font-size: clamp(24px, 2.4vw, 38px); letter-spacing: -.045em; text-transform: uppercase; }
.versus { color: var(--lime); font-family: var(--display); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.match-details { padding: 34px 28px; display: flex; flex-direction: column; justify-content: space-between; }
.match-details p { margin: 0; color: #c5cbc3; font-size: 14px; line-height: 1.5; }
.match-details span { color: var(--faint); font-size: 13px; font-weight: 700; }
.source-list { padding: 10px 12px; display: grid; gap: 2px; }
.source-list button { min-height: 72px; padding: 14px 16px; display: grid; align-content: center; gap: 5px; border: 0; background: #0a0e0b; text-align: left; cursor: pointer; }
.source-list button strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.source-list button span { color: var(--faint); font-size: 12px; }
.source-list button:hover { background: var(--lime); color: var(--bg); }
.source-list button:hover span { color: var(--bg); }
.empty-library { margin: 0; padding: 56px 20px; border-bottom: 1px solid var(--line); color: var(--muted); text-align: center; }

.player-view { min-height: calc(100vh - 62px); padding: 24px 0 80px; }
.player-topline { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.back-button { border: 0; padding: 7px 0; background: none; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 800; }
.back-button:hover { color: var(--lime); }
.watch-heading { min-height: 108px; padding: 18px 0 20px; display: flex; align-items: end; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.watch-matchup { margin-top: 12px; display: flex; align-items: center; gap: 14px; }
.watch-crest { display: inline-flex; align-items: center; gap: 8px; }
.watch-crest img { width: 34px; height: 34px; object-fit: contain; filter: grayscale(1) brightness(1.6); }
.watch-crest b { font-family: var(--display); font-size: clamp(28px, 3vw, 44px); letter-spacing: -.05em; }
.watch-versus { color: var(--faint); font-family: var(--display); font-size: 10px; font-weight: 900; }
.watch-source { display: grid; gap: 6px; text-align: right; }
.watch-source strong { color: #c6cbc4; font-size: 12px; }
.watch-layout { padding-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: stretch; }
.watch-layout.chat-visible { grid-template-columns: minmax(0, 1fr) clamp(290px, 22vw, 360px); }
.video-column { min-width: 0; }
.player-shell { aspect-ratio: 16 / 9; background: #030504; position: relative; overflow: hidden; border: 1px solid var(--line); }
#media-player, #media-player iframe { width: 100%; height: 100%; }
.player-shell.twitch-timeline-hidden #media-player iframe { position: absolute; top: -90px; left: 0; height: calc(100% + 180px) !important; }
.player-gate { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; padding: 24px; background: #050806; text-align: center; }
.player-gate::before { content: ""; position: absolute; inset: 18px; border: 1px solid var(--line-soft); pointer-events: none; }
.player-gate strong { font-family: var(--display); font-size: clamp(28px, 4vw, 54px); letter-spacing: -.055em; text-transform: uppercase; }
.player-gate > span { color: var(--muted); font-size: 13px; }
.player-gate button { border: 0; background: var(--lime); color: var(--bg); padding: 12px 18px; font-weight: 900; cursor: pointer; }
.player-gate button:hover { background: #d0ff65; }
.gate-icon { width: 56px; height: 56px; margin-bottom: 5px; fill: none; stroke: var(--lime); stroke-width: 2; }

.round-dock { min-height: 104px; display: grid; grid-template-columns: 230px minmax(0, 1fr); border: 1px solid var(--line); border-top: 3px solid var(--lime); background: var(--raised); }
.round-position { padding: 15px 18px; display: flex; flex-direction: column; justify-content: center; gap: 7px; border-right: 1px solid var(--line); }
.round-position strong { font-family: var(--display); font-size: 20px; letter-spacing: -.02em; }
.map-inline { display: flex; gap: 4px; margin-top: 3px; }
.map-inline button { min-height: 38px; border: 1px solid var(--line-soft); background: #0b0f0c; color: var(--muted); padding: 4px 12px; cursor: pointer; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.map-inline button:hover:not(:disabled) { border-color: var(--line); color: var(--text); }
.round-actions { display: grid; grid-template-columns: repeat(3, 1fr); }
.round-actions button { min-height: 112px; display: flex; align-items: center; justify-content: center; gap: 13px; border: 0; border-right: 1px solid var(--line); background: transparent; color: #c4cac2; cursor: pointer; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.round-actions button:last-child { border-right: 0; }
.round-actions button span { color: var(--lime); font-size: 18px; }
.round-actions button:hover:not(:disabled) { background: var(--raised-strong); color: var(--text); }
.round-actions .restart-button { background: var(--lime); color: var(--bg); }
.round-actions .restart-button span { color: var(--bg); }
.round-actions .restart-button:hover:not(:disabled) { background: #d0ff65; color: var(--bg); }
.round-actions button:disabled, .map-inline button:disabled, .player-controls button:disabled { opacity: .35; cursor: not-allowed; }
.player-controls { min-height: 64px; padding: 9px 12px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-top: 0; background: #090d0a; }
.control-group { min-width: 0; display: flex; align-items: center; gap: 4px; }
.control-group + .control-group { padding-left: 12px; border-left: 1px solid var(--line-soft); }
.player-controls button { min-width: 52px; height: 44px; border: 1px solid transparent; background: transparent; color: #a5ada7; padding: 0 13px; cursor: pointer; font-size: 12px; font-weight: 800; }
.player-controls button:hover:not(:disabled) { border-color: var(--line); color: var(--text); }
.player-controls input { width: 100px; accent-color: var(--lime); }
.player-controls input:disabled { opacity: .35; }
.quality-control { height: 42px; display: inline-flex; align-items: center; }
.quality-control select { min-width: 94px; height: 40px; border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 0 28px 0 11px; cursor: pointer; font-size: 12px; font-weight: 800; }
.quality-control select:disabled { opacity: .35; cursor: not-allowed; }
.controls-spacer { flex: 1; }

.chat-panel { min-height: 0; border: 1px solid var(--line); border-top: 3px solid var(--lime); background: var(--surface); overflow: hidden; }
.chat-heading { height: 50px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: #c6ccc4; font-size: 12px; font-weight: 800; }
.chat-heading i { width: 6px; height: 6px; background: var(--lime); }
.chat-messages { height: calc(100% - 50px); max-height: 820px; padding: 14px 15px 20px; overflow-y: auto; scrollbar-color: #424b45 var(--surface); }
.chat-message { margin: 0 0 9px; color: #dce2dc; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.chat-message time { margin-right: 6px; color: var(--faint); font-size: 9px; font-variant-numeric: tabular-nums; }
.chat-message strong { margin-right: 5px; color: #aeb7b1; }
.chat-message img { width: auto; max-width: 96px; height: 24px; margin: -5px 2px; object-fit: contain; vertical-align: middle; }
.chat-empty { margin: 0; color: var(--faint); font-size: 11px; line-height: 1.55; }

body.theater-mode main { width: 100%; }
.player-view.theater-active { padding: 18px clamp(16px, 2.5vw, 42px) 60px; }
.player-view.theater-active .watch-heading { min-height: 82px; }
.player-view.theater-active .watch-layout.chat-visible { grid-template-columns: minmax(0, 1fr) clamp(320px, 24vw, 420px); }
.player-view.theater-active .player-topline, .player-view.theater-active .watch-heading { max-width: none; }

.watch-layout:fullscreen { width: 100vw; height: 100vh; padding: 0; grid-template-columns: minmax(0, 1fr) clamp(300px, 24vw, 420px); gap: 0; background: #000; }
.watch-layout:fullscreen:not(.chat-visible) { grid-template-columns: 1fr; }
.watch-layout:fullscreen .video-column { min-height: 0; display: flex; flex-direction: column; background: #000; }
.watch-layout:fullscreen .player-shell { width: 100%; min-height: 0; height: 100%; flex: 1 1 auto; aspect-ratio: auto; border: 0; }
.watch-layout:fullscreen .round-dock { display: none; }
.watch-layout:fullscreen .player-controls { display: none; }
.watch-layout:fullscreen .chat-panel { height: 100vh; min-height: 0; border-top: 0; border-right: 0; border-bottom: 0; }

.settings-dialog { width: min(610px, calc(100% - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid #39443d; background: var(--surface); color: var(--text); box-shadow: 0 24px 90px #000; }
.settings-dialog::backdrop { background: rgba(0, 0, 0, .82); }
.settings-heading { padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.settings-heading h2 { margin: 0; font-family: var(--display); font-size: 34px; letter-spacing: -.045em; }
.settings-heading button { border: 1px solid var(--line); background: var(--raised); color: var(--text); padding: 9px 12px; cursor: pointer; font-size: 10px; font-weight: 800; }
.settings-list { padding: 8px 24px 22px; }
.settings-list label { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.settings-list label > span { display: grid; gap: 5px; }
.settings-list strong { font-size: 13px; }
.settings-list small { color: var(--muted); font-size: 11px; line-height: 1.4; }
.settings-list input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--lime); }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 28px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 16px; border: 1px solid var(--line); background: var(--raised); box-shadow: 0 16px 50px #000; color: var(--text); font-size: 12px; }

footer { min-height: 118px; padding: 26px clamp(20px, 4vw, 68px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; border-top: 1px solid var(--line); background: #050706; color: var(--faint); font-size: 10px; }
footer > span { color: var(--text); font-family: var(--display); font-weight: 900; }
footer nav { display: flex; gap: 18px; }
footer a:hover { color: var(--lime); }

.legal-page { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 94px 0 120px; }
.legal-page h1 { max-width: 940px; margin: 18px 0 32px; font-family: var(--display); font-size: clamp(58px, 10vw, 120px); line-height: .78; letter-spacing: -.07em; text-transform: uppercase; }
.legal-intro { max-width: 720px; margin: 0 0 72px 28%; color: var(--muted); font-size: 18px; line-height: 1.65; }
.legal-page section { padding: 30px 0; display: grid; grid-template-columns: minmax(180px, 28%) minmax(0, 1fr); gap: 30px; border-top: 1px solid var(--line); }
.legal-page h2 { margin: 0; font-family: var(--display); font-size: 21px; text-transform: uppercase; }
.legal-page section p { margin: 0; color: var(--muted); line-height: 1.75; }
.legal-page a { color: var(--lime); text-underline-offset: 3px; }
.legal-date { margin: 34px 0 0 28%; color: var(--faint); font-size: 11px; }

@media (max-width: 1220px) {
  .library-heading { grid-template-columns: 1fr; }
  .library-heading::after { display: none; }
  .library-title { min-height: 310px; border-right: 0; border-bottom: 1px solid var(--line); }
  .library-summary { min-height: 250px; transform: none; }
  .vod-card { grid-template-columns: 54px minmax(300px, 1fr) minmax(300px, .8fr); }
  .match-details { display: none; }
  .watch-layout.chat-visible { grid-template-columns: minmax(0, 1fr) 300px; }
  .round-dock { grid-template-columns: 190px minmax(0, 1fr); }
  .filter-panel { grid-template-columns: 1fr 1.35fr; }
  .filter-team { grid-column: 1 / 2; }
  .filter-summary { grid-column: 2 / 3; grid-row: 2; }
}

@media (max-width: 900px) {
  .filter-panel { grid-template-columns: 1fr; }
  .filter-team, .filter-summary { grid-column: auto; grid-row: auto; }
  .filter-summary { height: auto; display: flex; justify-content: flex-start; align-items: baseline; gap: 6px; }
  .continue-panel { grid-template-columns: 150px minmax(0, 1fr); }
  .continue-panel button { grid-column: 1 / -1; min-height: 58px; border-left: 0; }
  .vod-card { grid-template-columns: 46px minmax(260px, 1fr); }
  .source-list { grid-column: 1 / -1; border-top: 0; border-left: 0; }
  .source-list button { min-height: 62px; }
  .watch-layout.chat-visible { grid-template-columns: 1fr; }
  .chat-panel { min-height: 420px; }
  .round-dock { grid-template-columns: 1fr; }
  .round-position { min-height: 74px; border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  main { width: min(100% - 24px, 1540px); }
  .topbar { height: 56px; padding: 0 14px; }
  .library-heading { min-height: 0; }
  .library-title { min-height: 280px; padding: 40px 22px; }
  .library-heading h1 { font-size: clamp(48px, 14vw, 66px); }
  .library-summary { min-height: 0; padding: 34px 22px 46px; }
  .library-heading p { font-size: 17px; }
  .continue-panel { grid-template-columns: 1fr; padding-top: 20px; }
  .continue-kicker { padding: 0 20px; }
  .continue-match { padding: 18px 20px; border-left: 0; }
  .continue-panel button { grid-column: auto; }
  .catalog-section { padding-top: 72px; }
  .section-heading { margin-left: 0; }
  .section-heading h2 { font-size: 42px; }
  .filter-panel { padding: 14px; gap: 16px; }
  .filter-options { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; overflow-x: auto; }
  .filter-options button { min-width: max-content; padding-inline: 14px; }
  .catalog-library { margin-top: 50px; }
  .vod-card { grid-template-columns: 1fr; padding-top: 20px; }
  .match-number { padding: 0 0 12px; }
  .match-teams { padding: 20px 6px 28px; }
  .team-crest { width: 62px; height: 62px; }
  .team-crest img { width: 46px; height: 46px; }
  .team-identity > strong { font-size: 28px; }
  .source-list { grid-column: auto; }
  .player-view { padding-top: 14px; }
  .player-topline { align-items: start; }
  .watch-heading { min-height: 96px; align-items: start; flex-direction: column; gap: 14px; }
  .watch-source { text-align: left; }
  .watch-crest img { width: 28px; height: 28px; }
  .watch-crest b { font-size: 30px; }
  .player-shell { margin: 0 -12px; width: calc(100% + 24px); }
  .round-actions button { min-height: 92px; padding: 10px 5px; flex-direction: column; gap: 6px; font-size: 11px; }
  .round-position { min-height: 104px; }
  .player-controls { flex-wrap: wrap; gap: 6px; padding: 8px; }
  .player-controls input { display: none; }
  .control-group + .control-group { padding-left: 6px; }
  .player-controls button { min-width: 48px; height: 44px; padding: 0 10px; font-size: 11px; }
  .quality-control, .quality-control select { height: 40px; }
  .quality-control select { min-width: 82px; }
  .view-controls { flex: 1 0 100%; justify-content: flex-end; padding-top: 6px; border-top: 1px solid var(--line-soft); border-left: 0 !important; }
  .controls-spacer { display: none; }
  .chat-panel { min-height: 360px; }
  body.theater-mode main { width: 100%; }
  .player-view.theater-active { padding-inline: 12px; }
  footer { grid-template-columns: 1fr; align-items: start; }
  .legal-page { width: min(100% - 32px, 1120px); padding-top: 62px; }
  .legal-intro { margin-left: 0; }
  .legal-page section { grid-template-columns: 1fr; gap: 12px; }
  .legal-date { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
