@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #101019;
  --panel: #181823;
  --surface: #20202f;
  --line: #303042;
  --text: #f6f5ff;
  --soft: #b7b5cc;
  --muted: #a19fb7;
  --accent: #c4b2ff;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  line-height: 1.45;
  color: var(--text);
  background: var(--page);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 5; padding: 8px 12px; border-radius: 6px; background: var(--accent); color: #1b1230; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.frame { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.masthead { background: #12121d; border-bottom: 1px solid #282838; }
.masthead-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: 1.28rem; font-weight: 830; letter-spacing: -.055em; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; color: #171127; background: var(--accent); }
.brand-mark .icon-play { border-left-width: 10px; border-block-width: 6px; }
.nav { display: flex; gap: 25px; height: 100%; align-items: center; }
.nav a { position: relative; display: grid; align-items: center; height: 100%; color: var(--soft); font-size: .84rem; font-weight: 650; }
.nav a:hover, .nav a.nav-current { color: var(--text); }
.nav-current::after { content: ""; position: absolute; bottom: -1px; height: 2px; inset-inline: 0; background: var(--accent); }
.mast-date { display: flex; gap: 8px; align-items: center; justify-self: end; font-size: .78rem; font-weight: 650; color: var(--soft); white-space: nowrap; }
.mast-date i { color: var(--accent); }
.intro { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 34px 0 25px; }
.intro h1 { font: 700 clamp(3.6rem, 7.4vw, 6.5rem)/.83 var(--display); letter-spacing: -.018em; }
.intro h1 span { color: var(--accent); }
.intro p { color: var(--soft); margin-top: 12px; font-size: .96rem; }
.stage-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 9px 13px; border-radius: 7px; font-weight: 720; font-size: .8rem; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 372px); align-items: start; column-gap: 23px; row-gap: 27px; padding-bottom: 45px; }
#watch, #guide { scroll-margin-top: 16px; }
.watch { grid-column: 1; display: flex; flex-direction: column; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.stage { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 1.85; min-height: 265px; isolation: isolate; background: #24213e url("/media/stadium-dusk.webp") center 55% / cover no-repeat; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(93deg, #121126e8 0%, #15132e99 33%, transparent 74%), linear-gradient(0deg, #100e1bd9, transparent 62%); }
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; background: #080810; }
.preroll { position: absolute; z-index: 1; inset: 0; background: #080810; }
.preroll video { object-fit: contain; }
.preroll-bar { position: absolute; inset: auto 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; padding: 8px; background: #101019e8; color: var(--text); font-size: .78rem; }
.preroll-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.preroll-actions > * { border: 1px solid #e5deff88; border-radius: 5px; padding: 5px 8px; color: var(--text); background: var(--surface); font: inherit; }
.preroll-actions > :disabled { opacity: .72; }
.stage-message { width: fit-content; max-width: 100%; padding: 24px clamp(24px, 4.5vw, 58px) clamp(27px, 5vw, 59px); }
.stage-symbol { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #d4c5ff90; background: #2b254ade; color: #e1d7ff; margin-bottom: 13px; }
.stage-symbol .icon-play { border-left-width: 13px; border-block-width: 8px; }
#screen-title { font: 700 clamp(2.25rem, 4.3vw, 4.05rem)/.94 var(--display); letter-spacing: -.012em; }
#screen-detail { max-width: 35ch; margin-top: 9px; font-size: .9rem; color: #e1daee; }
.stage-link { margin-top: 16px; border: 1px solid var(--accent); background: var(--accent); color: #1b1230; }
.stage-link:hover { border-color: #e8ddff; background: #e8ddff; }
.watch-bar { display: flex; gap: 14px; align-items: center; justify-content: space-between; min-height: 72px; padding: 13px 17px; border-top: 1px solid var(--line); }
.watch-heading { display: flex; align-items: center; min-width: 0; gap: 11px; }
.watch-icon { display: grid; place-items: center; flex: 0 0 37px; height: 37px; border-radius: 8px; background: #28243e; color: var(--accent); }
.watch-heading > div { min-width: 0; }
#watch-title { font-size: .94rem; font-weight: 790; overflow-wrap: anywhere; }
#watch-context { color: var(--muted); font-size: .74rem; }
.watch-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.source-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 13px; padding: 11px 17px; border-bottom: 1px solid var(--line); }
.source-toolbar label { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); font-weight: 720; font-size: .82rem; }
.source-toolbar label i { color: var(--accent); }
.source-toolbar select, .share-zone select { max-width: 100%; padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: var(--surface); font-size: .79rem; }
#stream { max-width: min(145px, 42vw); border: 1px solid var(--line); border-radius: 6px; background: var(--surface); font-size: .76rem; padding: 5px; }
.player-status { display: flex; align-items: center; gap: 6px; color: var(--soft); padding: 4px 8px; border: 1px solid var(--line); border-radius: 20px; white-space: nowrap; font-size: .71rem; font-weight: 675; }
.player-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.player-status[data-state="playing"] { color: #c2fad9; border-color: #365349; }
.player-status[data-state="playing"] i { background: #7bedb2; }
.player-status[data-state="loading"] i { background: #e9ba80; }
.player-status[data-state="error"] i { background: #f4a1a9; }
.guide { grid-column: 2; grid-row: 1 / span 2; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.guide-heading { display: flex; justify-content: space-between; align-items: center; padding: 15px 16px 8px; }
.guide-heading h2, .featured h2 { font-size: 1.08rem; font-weight: 800; letter-spacing: -.035em; }
.icon-button { display: grid; place-items: center; width: 33px; height: 33px; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--soft); }
.icon-button:hover { color: var(--text); border-color: #655682; }
.icon-button:disabled { opacity: .5; cursor: wait; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; margin-inline: 16px; border-bottom: 1px solid var(--line); }
.tabs button { padding: 10px 4px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: transparent; color: var(--soft); font-size: .86rem; font-weight: 725; }
.tabs button[aria-selected="true"] { color: var(--accent); border-color: var(--accent); }
.tabs button:hover { color: var(--text); }
.tabs button span:not(:empty) { margin-left: 4px; border-radius: 4px; padding: 2px 5px; background: #28263b; color: #c5bcdf; font-size: .7rem; font-variant-numeric: tabular-nums; }
.list-panel { padding: 12px 12px 7px; }
.search { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 0 4px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: #14141f; }
.search:focus-within { border-color: var(--accent); }
.search input { width: 100%; min-width: 0; padding: 1px; outline: none; border: 0; background: transparent; color: var(--text); font-size: .84rem; }
.search input::placeholder { color: var(--muted); }
.list { max-height: clamp(325px, 52vh, 550px); overflow: auto; scrollbar-width: thin; scrollbar-color: #494662 transparent; list-style: none; margin: 0; padding: 0 4px; }
.list-status { padding: 8px 4px; color: var(--soft); font-size: .83rem; }
.list-heading { padding: 12px 4px 6px; font-size: .73rem; font-weight: 780; color: #c9c3dc; }
.list-heading:not(:first-child) { margin-top: 4px; }
.list li:not(.list-heading) + li:not(.list-heading) { border-top: 1px solid #292936; }
.entry { width: 100%; display: grid; grid-template-columns: minmax(56px, auto) minmax(0, 1fr) 24px; align-items: center; gap: 9px; background: transparent; border: 1px solid transparent; border-radius: 7px; padding: 8px 4px; text-align: left; }
.entry:hover, .entry[aria-current="true"] { background: #252339; border-color: #37304e; }
.entry:focus-visible { outline-offset: -2px; }
.entry-time { font-size: .73rem; font-weight: 700; font-variant-numeric: tabular-nums; color: #ccc4e0; white-space: nowrap; }
.entry-channel { display: grid; place-items: center; width: 30px; height: 30px; color: var(--accent); border-radius: 6px; background: #292541; }
.entry:has(.entry-channel) { grid-template-columns: 30px minmax(0, 1fr) 24px; }
.entry-label { min-width: 0; display: grid; gap: 2px; }
.entry-label strong, .featured-info strong { font-size: .84rem; font-weight: 770; overflow-wrap: anywhere; }
.entry-label > span, .featured-info > span { color: var(--muted); font-size: .71rem; overflow-wrap: anywhere; }
.entry-action { display: grid; place-items: center; width: 22px; height: 22px; color: var(--muted); }
.entry-action.is-ready { border-radius: 6px; background: #332955; color: var(--accent); }
.entry-action.is-ready .icon-play { border-left-width: 6px; border-block-width: 4px; }
.guide-note { display: flex; align-items: center; gap: 7px; color: var(--muted); padding: 10px 16px; border-top: 1px solid #292936; font-size: .71rem; }
.featured { grid-column: 1; min-width: 0; }
.featured-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 11px; }
.featured-header a { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: .8rem; font-weight: 700; }
.featured-header a:hover { text-decoration: underline; }
.featured-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.featured-card { display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 62px; padding: 9px; text-align: left; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.featured-card:hover, .featured-card[aria-current="true"] { background: var(--surface); border-color: #645781; }
.channel-mark { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 6px; background: #31264b; color: #e5d7ff; font: 700 .77rem/1 var(--display); letter-spacing: .025em; }
.featured-card:nth-child(3n+2) .channel-mark { background: #293357; color: #cfdbff; }
.featured-card:nth-child(3n+3) .channel-mark { background: #4b2c43; color: #ffdaed; }
.featured-info { display: grid; gap: 1px; min-width: 0; }
.featured-icon { display: grid; place-items: center; margin-left: auto; color: var(--accent); padding: 3px; }
.featured-icon .icon-play { border-left-width: 6px; border-block-width: 4px; }
.icon-play { display: block; width: 0; height: 0; margin-left: 2px; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.icon-chevron { display: block; width: 6px; height: 6px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.icon-arrow { position: relative; display: inline-block; flex: 0 0 10px; width: 10px; height: 1px; background: currentColor; }
.icon-arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border: solid currentColor; border-width: 1px 1px 0 0; transform: rotate(45deg); }
.icon-dash { width: 7px; height: 1px; background: currentColor; }
.icon-screen { display: block; width: 14px; height: 10px; border: 1.5px solid; border-radius: 2px; position: relative; }
.icon-screen::after { content: ""; position: absolute; bottom: -4px; left: 2px; width: 7px; height: 1px; background: currentColor; }
.icon-search { display: block; flex: 0 0 11px; height: 11px; border: 1.5px solid; border-radius: 50%; position: relative; }
.icon-search::after { content: ""; position: absolute; width: 5px; height: 1px; left: 8px; top: 8px; background: currentColor; transform: rotate(45deg); }
.icon-calendar { position: relative; display: inline-block; width: 13px; height: 12px; border: 1.3px solid; border-radius: 2px; flex: 0 0 13px; }
.icon-calendar::before { content: ""; position: absolute; top: 3px; left: 0; right: 0; border-top: 1px solid; }
.icon-calendar::after { content: ""; position: absolute; top: -3px; left: 2px; right: 2px; height: 4px; border-inline: 1px solid; }
.icon-refresh { position: relative; width: 12px; height: 12px; border: 1.4px solid; border-right-color: transparent; border-radius: 50%; }
.icon-refresh::after { content: ""; position: absolute; right: -1px; top: -2px; width: 5px; height: 5px; border: solid; border-width: 0 1.4px 1.4px 0; }
.icon-clock { position: relative; width: 12px; height: 12px; border: 1px solid; border-radius: 50%; }
.icon-clock::after { content: ""; position: absolute; top: 2px; left: 4px; width: 3px; height: 4px; border: solid; border-width: 0 0 1px 1px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 1120px) {
  .frame { width: calc(100% - 60px); }
  .layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 335px); gap: 20px; }
  .featured-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .frame { width: calc(100% - 36px); }
  .layout { display: flex; flex-direction: column; gap: 18px; }
  .watch, .guide, .featured { width: 100%; }
  .list { max-height: min(60vh, 475px); }
  .intro { margin: 25px 0 21px; }
  .stage { min-height: 250px; }
}

@media (max-width: 540px) {
  .frame { width: calc(100% - 28px); }
  .masthead-inner { display: flex; justify-content: space-between; min-height: 55px; gap: 10px; }
  .mast-date { display: none; }
  .brand { font-size: 1.05rem; gap: 6px; }
  .brand-mark { width: 25px; height: 25px; border-radius: 6px; }
  .brand-mark .icon-play { border-left-width: 8px; border-block-width: 5px; }
  .nav { align-self: stretch; height: auto; gap: 12px; }
  .nav a { font-size: .72rem; }
  .intro p { font-size: .85rem; margin-top: 9px; }
  .stage { min-height: 232px; aspect-ratio: 1.47; background-position: 55% center; }
  .stage-message { padding: 23px 20px; }
  .stage-symbol { width: 35px; height: 35px; margin-bottom: 7px; }
  #screen-detail { font-size: .8rem; }
  .stage-link { margin-top: 11px; padding: 7px 10px; }
  .watch-bar { min-height: 64px; padding: 10px; gap: 7px; }
  .watch-icon { display: none; }
  .watch-actions { align-items: flex-end; flex-direction: column; gap: 4px; }
  .featured-card { min-height: 55px; padding: 7px; }
  .channel-mark { flex-basis: 30px; height: 30px; }
}

.home-lead, .broadcast-layout, .share-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 355px);
  align-items: start;
  gap: 20px;
}
.home-hero { width: 100%; min-width: 0; aspect-ratio: 2.23; min-height: 325px; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.home-hero .stage-message { max-width: 100%; padding-bottom: clamp(21px, 3.5vw, 45px); }
.hero-title { font: 700 clamp(2.4rem, 4.6vw, 4.6rem)/.95 var(--display); letter-spacing: -.015em; max-width: 24ch; text-wrap: balance; }
.hero-league { color: #e8ddff; font-size: .84rem; font-weight: 730; margin: 0 0 6px; }
.hero-kickoff { color: #e6e0ef; margin-top: 8px; font-size: .85rem; }
.feature-rail { grid-column: auto; grid-row: auto; }
.feature-rail .guide-heading { min-height: 58px; padding: 14px 17px; }
.feature-rail .guide-heading > i { color: var(--accent); }
.rail-matches { display: grid; gap: 0; padding: 0 14px; }
.compact-match { display: grid; position: relative; gap: 2px; padding: 11px 22px 11px 6px; border-top: 1px solid #2e2d3d; }
.compact-match:hover, .compact-match:focus-visible { background: #232139; }
.compact-match strong { overflow-wrap: anywhere; font-size: .89rem; }
.compact-match > span { color: var(--muted); font-size: .76rem; }
.compact-match .compact-meta { color: #dfd0ff; font-size: .7rem; font-weight: 700; }
.compact-match .icon-chevron { position: absolute; top: 50%; right: 6px; color: var(--accent); }
.rail-link { display: flex; align-items: center; justify-content: space-between; padding: 12px 17px; border-top: 1px solid #2e2d3d; color: var(--accent); font-weight: 700; font-size: .81rem; }
.rail-link:hover { background: #232139; }
.page-section { margin: 32px 0; scroll-margin-top: 14px; }
.directory-page { margin-top: 22px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 18px; margin-bottom: 14px; }
.section-head h2 { font: 700 clamp(1.7rem, 3vw, 2.6rem)/1 var(--display); letter-spacing: -.01em; }
.section-head p { color: var(--muted); margin-top: 5px; font-size: .84rem; }
.directory-search { margin: 0; min-width: min(230px, 100%); }
.match-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.match-card { min-width: 0; }
.match-card a { display: flex; flex-direction: column; min-height: 145px; height: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.match-card a:hover { border-color: #665782; background: #1d1c2a; }
.match-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.card-time { display: inline-flex; gap: 6px; align-items: center; color: #d5c9f6; font-size: .73rem; }
.card-time i, .broadcast-kickoff i { flex-shrink: 0; }
.ready-dot { display: block; width: 7px; height: 7px; margin-right: 2px; border-radius: 50%; background: #92eab8; }
.match-card h3 { margin: 0; font-size: 1rem; font-weight: 790; overflow-wrap: anywhere; }
.match-card p { margin-top: 3px; color: var(--muted); font-size: .77rem; }
.card-action, .text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-weight: 730; font-size: .79rem; }
.card-action { margin-top: auto; padding-top: 9px; }
.text-link { width: fit-content; padding: 0; border: 0; background: transparent; }
.text-link:hover { color: #e7dcff; text-decoration: underline; }
.empty-state { padding: 14px 0; color: var(--muted); font-size: .87rem; }
.channel-directory { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.broadcast-header { margin: 26px 0 21px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .77rem; }
.breadcrumb a:hover { color: var(--text); }
.broadcast-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-top: 14px; }
.broadcast-heading > div:first-child { min-width: 0; }
.broadcast-heading h1 { font: 700 clamp(2.8rem, 5.4vw, 5rem)/.96 var(--display); letter-spacing: -.012em; overflow-wrap: anywhere; }
.eyeline { color: var(--accent); font-weight: 730; font-size: .85rem; margin-bottom: 5px; }
.broadcast-kickoff { display: flex; align-items: center; gap: 7px; color: var(--soft); font-size: .83rem; margin-top: 10px; }
.broadcast-layout { margin: 0 0 36px; }
.broadcast-layout .rail-matches > .featured-card { margin-bottom: 7px; }
.archived-notice { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.archived-notice p { margin-top: 7px; color: var(--muted); }
.share-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.broadcast-share { justify-content: flex-end; flex-shrink: 0; }
.social-icon { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid var(--line); border-radius: 7px; color: var(--accent); background: var(--surface); }
.social-icon:hover { background: #2b2841; border-color: var(--accent); }
.player-column { min-width: 0; }
.player-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px 15px; margin-top: 12px; }
.match-banner { display: block; width: 320px; height: 50px; max-width: 100%; overflow: hidden; margin: 0 auto 18px; }
.match-banner iframe { display: block; width: 320px; height: 50px; max-width: 100%; border: 0; }
.telegram-join { background: #aadfff; border-color: #aadfff; color: #0c2535; }
.telegram-join:hover { background: #d6f0ff; border-color: #d6f0ff; }
.embed-dialog { width: min(565px, calc(100% - 32px)); padding: 18px; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 13px; }
.embed-dialog::backdrop { background: #0a0a13b8; }
.embed-dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 9px; margin-bottom: 13px; }
.embed-dialog-heading h2 { font-size: 1.15rem; font-weight: 800; }
.dialog-close { font-size: 1.23rem; }
.embed-dialog label { display: block; margin-bottom: 5px; color: var(--soft); font-size: .79rem; }
.embed-dialog :is(input, textarea) { width: 100%; margin-bottom: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--page); color: var(--text); font: inherit; font-size: .84rem; }
.embed-dialog textarea { resize: vertical; }
.embed-dialog .share-actions { justify-content: flex-end; }
.embed-layout { display: flex; flex-direction: column; height: 100svh; }
.embed-layout .watch { flex: 1; min-height: 240px; border: 0; border-radius: 0; }
.embed-layout .stage { flex: 1; min-height: 150px; aspect-ratio: auto; background: #080810; }
.embed-layout .stage::before { background: none; }
.embed-layout .stage-message { padding: 13px clamp(14px, 5vw, 40px); }
.embed-layout .stage-symbol { width: 34px; height: 34px; margin-bottom: 7px; }
.embed-layout #screen-title { font-size: clamp(1.9rem, 6vw, 3.2rem); }
.embed-layout .watch-bar { min-height: 0; justify-content: flex-end; padding: 0; border: 0; }
.embed-layout #stream-control { margin: 6px 10px; }
.embed-layout .source-toolbar { padding-block: 5px; }
.action-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 11px; border: 1px solid var(--accent); border-radius: 7px; background: var(--accent); color: #1b1230; font-size: .78rem; font-weight: 780; white-space: nowrap; }
.action-button:hover { background: #e7dcff; }
.action-button.secondary { background: var(--surface); border-color: var(--line); color: var(--text); }
.action-button.secondary:hover { background: #2b2841; }
.action-button:disabled, .action-button[aria-disabled="true"] { opacity: .48; cursor: default; }
.share-layout { grid-template-columns: minmax(0, 1.15fr) minmax(315px, .85fr); margin-bottom: 38px; }
.share-layout > .guide { grid-area: auto; }
.share-browser .guide-heading, .message-panel .guide-heading { padding: 13px 16px; }
.message-heading { flex-wrap: wrap; gap: 9px; }
.share-zone { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 650; font-size: .75rem; }
.share-browser .guide-heading > span { color: var(--accent); font-size: .76rem; }
.share-browser > .directory-search { margin-inline: 14px; }
.share-toolbar { display: flex; flex-wrap: wrap; gap: 14px; padding: 12px 16px 9px; }
.share-options { max-height: min(62vh, 570px); overflow: auto; scrollbar-width: thin; scrollbar-color: #494662 transparent; padding: 0 14px 10px; }
.share-option { cursor: pointer; display: flex; align-items: center; gap: 11px; padding: 10px 5px; border-top: 1px solid var(--line); }
.share-option:hover { background: var(--surface); }
.share-option > input { margin: 0 1px; width: 17px; height: 17px; accent-color: var(--accent); flex-shrink: 0; }
.share-option > span { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; font-size: .86rem; }
.share-option-meta { color: var(--muted); font-size: .74rem; }
.share-browser > .empty-state { padding-inline: 16px; }
.message-panel { padding-bottom: 14px; }
.message-panel textarea { display: block; width: calc(100% - 30px); height: 310px; min-height: 170px; margin-inline: 15px; padding: 12px; resize: vertical; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: #11111c; font: inherit; font-size: .85rem; }
.message-panel textarea::placeholder { color: var(--muted); }
.message-panel .share-actions, .share-pages { padding: 12px 15px 0; }
.share-pages { display: flex; justify-content: space-between; align-items: center; gap: 7px; color: var(--muted); font-size: .75rem; }
.site-footer { margin-top: 28px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 10px 18px; min-height: 64px; padding-block: 12px; }
.footer-brand { font-weight: 820; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 13px; color: var(--muted); font-size: .79rem; }
.site-footer nav a:hover { color: var(--text); }
.information-page { width: min(100%, 76ch); margin: 0 auto; }
.information-content { padding: clamp(18px, 4vw, 34px); border: 1px solid var(--line); border-radius: 12px; background: var(--panel); line-height: 1.65; overflow-wrap: anywhere; }
.information-content h2 { font-size: 1.25rem; line-height: 1.3; }
.information-content > * + * { margin-top: .75rem; }
.information-content > * + h2 { margin-top: 1.5rem; }
.information-content p { color: var(--soft); }
.information-content a { color: var(--accent); text-decoration: underline; text-underline-offset: .15em; }
.information-content a:hover { color: var(--text); }

@media (max-width: 820px) {
  .home-lead, .broadcast-layout, .share-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .home-hero { min-height: 295px; aspect-ratio: 1.9; }
  .match-grid, .channel-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .broadcast-heading { flex-wrap: wrap; align-items: start; }
  .broadcast-share { justify-content: flex-start; }
}
@media (max-width: 540px) {
  .masthead-inner { display: flex; flex-wrap: wrap; gap: 0 10px; min-height: 0; padding-top: 10px; }
  .mast-date { display: flex; font-size: .68rem; }
  .nav { order: 2; width: 100%; min-height: 40px; gap: 15px; }
  .nav a { height: 40px; }
  .home-hero { min-height: 270px; aspect-ratio: 1.4; }
  .home-hero .stage-message { max-width: 100%; }
  .match-grid { grid-template-columns: minmax(0, 1fr); }
  .match-card a { min-height: 116px; }
  .section-head .directory-search { width: 100%; }
  .broadcast-heading h1 { font-size: clamp(2.45rem, 11vw, 3.8rem); }
  .share-options { max-height: 360px; }
  .message-panel textarea { height: 255px; }
}
