/* Shared VRC.LOL watch-room design. Playback and account hooks stay in HTML. */
:root {
  color-scheme: dark;
  --bg: #06090d;
  --panel: rgba(17, 24, 39, .72);
  --line: rgba(255, 255, 255, .10);
  --text: #f8fafc;
  --muted: #a1a1aa;
  --accent: #22d3ee;
  --good: #22c55e;
  --warn: #f59e0b;
}

.admin-ops-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}
.admin-ops-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.035);
  border-radius: 6px;
}
.admin-ops-list span { color: var(--muted); font-size: .78rem; }
.admin-ops-list strong { font-size: .88rem; }
@media (max-width: 560px) { .admin-ops-list { grid-template-columns: 1fr; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body.live-page {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  background:
    radial-gradient(circle at 20% -10%, rgba(34, 211, 238, .18), transparent 30rem),
    radial-gradient(circle at 90% 10%, rgba(34, 197, 94, .12), transparent 28rem),
    linear-gradient(135deg, #05070a 0%, #0b1117 48%, #101114 100%);
}
body.live-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(0,0,0,.74);
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(.12,.86,.16,1);
}
body.live-page.is-theatre::before {
  opacity: 1;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 1.8s;
  animation-timing-function: cubic-bezier(.12,.86,.16,1);
}
a { color: #7dd3fc; text-underline-offset: 3px; }
.live-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(14px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 10, .72);
  backdrop-filter: blur(18px);
}
.live-header::after {
  content: "";
  position: absolute;
  left: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.40), rgba(167,139,250,.30), transparent);
  pointer-events: none;
}
.live-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
}
.live-brand span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981, #06b6d4);
}
.live-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.live-header nav a,
.button,
button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(148, 163, 184, .20);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.055);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.live-header nav a {
  min-height: 36px;
  padding: 8px 12px;
  color: #dff7ff;
  border-color: rgba(125,211,252,.18);
  background:
    linear-gradient(135deg, rgba(14,165,233,.10), rgba(167,139,250,.045)),
    rgba(255,255,255,.045);
}
.live-header nav a::after,
.hero-actions .button[target="_blank"]::after,
.status-actions .button[target="_blank"]::after,
.offline-actions .button[target="_blank"]::after {
  content: "↗";
  font-size: .72rem;
  line-height: 1;
  opacity: .72;
}
.live-header nav a:hover,
.button:hover,
button:hover {
  transform: translateY(-1px);
  border-color: rgba(125,211,252,.48);
  background: rgba(125,211,252,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 12px 26px rgba(14,165,233,.14);
}
.sound-permission {
  position: fixed;
  left: clamp(12px, 2vw, 24px);
  top: 74px;
  z-index: 20;
  width: min(420px, calc(100vw - 24px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(125,211,252,.30);
  border-radius: 14px;
  color: #e0f2fe;
  background: rgba(2, 6, 23, .92);
  box-shadow: 0 22px 52px rgba(0,0,0,.42);
  backdrop-filter: blur(18px);
}
.sound-permission strong {
  display: block;
  margin-bottom: 2px;
  font-size: .94rem;
}
.sound-permission p {
  margin: 0;
  color: #bae6fd;
  font-size: .82rem;
  line-height: 1.35;
}
.sound-permission button {
  min-height: 34px;
  white-space: nowrap;
}
.sound-permission .icon-button {
  width: 34px;
  padding: 0;
  font-size: 1.25rem;
  line-height: 1;
}
.live-shell {
  width: min(1380px, calc(100vw - 28px));
  margin: 18px auto 44px;
  display: grid;
  gap: 16px;
}
.live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
  gap: 16px;
  align-items: start;
}
.live-main-stack {
  min-width: 0;
  display: grid;
  gap: 14px;
}
.live-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 14px;
  align-items: stretch;
}
.broadcast-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.live-copy,
.live-now-card,
.player-card,
.side-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 22px 60px rgba(0,0,0,.34);
  backdrop-filter: blur(18px);
}
.live-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 4vw, 34px);
  isolation: isolate;
}
.live-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-banner);
  background-size: cover;
  background-position: center;
  opacity: .40;
  transform: scale(1.02);
}
.live-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2,6,23,.92), rgba(2,6,23,.74) 52%, rgba(2,6,23,.56)),
    radial-gradient(circle at 12% 18%, rgba(34,211,238,.20), transparent 24rem);
}
.live-copy-inner {
  max-width: 880px;
}
.eyebrow {
  margin: 0 0 8px;
  color: #86efac;
  text-transform: uppercase;
  letter-spacing: .10em;
  font-size: .72rem;
  font-weight: 950;
}
.live-copy h1 {
  margin: 0;
  padding-bottom: .08em;
  max-width: 820px;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 1;
  background: linear-gradient(135deg, #34d399 0%, #38bdf8 52%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.live-copy p {
  max-width: 780px;
  color: #d4d4d8;
  font-size: 1.05rem;
  line-height: 1.55;
}
.live-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.hero-actions,
.status-actions,
.offline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.hero-actions .button,
.status-actions .button,
.status-actions button,
.offline-actions .button,
.archive-grid.action-grid a,
.viewer-auth-button,
.viewer-profile-link,
.theatre-toggle {
  position: relative;
  min-height: 42px;
  padding: 9px 15px 9px 13px;
  border-color: rgba(125,211,252,.22);
  color: #e0f2fe;
  background:
    linear-gradient(135deg, rgba(14,165,233,.14), rgba(34,197,94,.055)),
    rgba(2,6,23,.50);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.075), 0 12px 28px rgba(0,0,0,.18);
}
.hero-actions .button::before,
.status-actions .button::before,
.status-actions button::before,
.offline-actions .button::before,
.archive-grid.action-grid a::before,
.viewer-auth-button::before,
.viewer-profile-link::before,
.theatre-toggle::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 999px;
  background: var(--pill-accent, #22d3ee);
  box-shadow: 0 0 16px color-mix(in srgb, var(--pill-accent, #22d3ee) 70%, transparent);
}
.hero-actions .button:hover,
.status-actions .button:hover,
.status-actions button:hover,
.offline-actions .button:hover,
.archive-grid.action-grid a:hover,
.viewer-auth-button:hover,
.viewer-profile-link:hover,
.theatre-toggle:hover {
  border-color: color-mix(in srgb, var(--pill-accent, #22d3ee) 55%, rgba(255,255,255,.16));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--pill-accent, #22d3ee) 20%, transparent), rgba(255,255,255,.045)),
    rgba(2,6,23,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 16px 34px color-mix(in srgb, var(--pill-accent, #22d3ee) 18%, rgba(0,0,0,.30));
}
.hero-actions .button:nth-child(2),
.archive-grid.action-grid a:nth-child(2),
.offline-actions .button:nth-child(2) {
  --pill-accent: #a78bfa;
}
.hero-actions .button:nth-child(3),
.archive-grid.action-grid a:nth-child(3) {
  --pill-accent: #86efac;
}
.archive-grid.action-grid a:nth-child(4) {
  --pill-accent: #fbbf24;
}
.primary-action {
  --pill-accent: #67e8f9;
  border-color: rgba(103,232,249,.46);
  color: #e0faff;
  background:
    linear-gradient(135deg, rgba(34,211,238,.24), rgba(34,197,94,.10)),
    rgba(3, 18, 28, .72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 14px 34px rgba(34,211,238,.18);
}
.primary-action:hover {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(34,211,238,.32), rgba(34,197,94,.14)),
    rgba(3, 18, 28, .82);
}
.primary-action::before {
  background: #67e8f9;
  box-shadow: 0 0 18px rgba(103,232,249,.60);
}
.live-pills span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d4d4d8;
  background: rgba(255,255,255,.045);
  font-weight: 900;
  font-size: .82rem;
}
.live-pills .is-live {
  color: #bbf7d0;
  border-color: rgba(34,197,94,.35);
  background: rgba(34,197,94,.10);
}
.live-pills .is-offline {
  color: #fde68a;
  border-color: rgba(245,158,11,.34);
  background: rgba(245,158,11,.10);
}
.live-now-card {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 18px;
}
.live-now-card strong {
  font-size: 1.55rem;
}
.live-now-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.live-next-mini {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(125,211,252,.18);
  border-radius: 12px;
  background: rgba(34,211,238,.07);
}
.live-next-mini span {
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .68rem;
  font-weight: 950;
}
.live-next-mini b {
  color: #f8fafc;
  font-size: .95rem;
  line-height: 1.35;
}
.live-kpi-grid {
  grid-template-columns: 1fr;
}
.status-actions {
  margin-top: 4px;
}
.status-actions .button,
.status-actions button {
  flex: 1 1 130px;
}
.mini-metrics {
  display: grid;
  gap: 7px;
}
.mini-metrics span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  color: #d4d4d8;
  background: rgba(0,0,0,.18);
  font-size: .88rem;
}
.mini-metrics i {
  color: #93c5fd;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .68rem;
}
.mini-metrics b {
  color: #f8fafc;
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.broadcast-strip article {
  position: relative;
  overflow: hidden;
  min-height: 126px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(125,211,252,.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 0%, rgba(34,211,238,.13), transparent 13rem),
    linear-gradient(180deg, rgba(15,23,42,.72), rgba(2,6,23,.80));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 16px 46px rgba(0,0,0,.24);
}
.broadcast-strip article::after {
  content: "";
  position: absolute;
  inset: auto 14px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.42), transparent);
}
.broadcast-strip span {
  width: max-content;
  padding: 5px 9px;
  border: 1px solid rgba(34,211,238,.22);
  border-radius: 999px;
  color: #a5f3fc;
  background: rgba(34,211,238,.08);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.broadcast-strip strong {
  color: #f8fafc;
  font-size: 1.04rem;
}
.broadcast-strip p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.48;
  font-size: .92rem;
}
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 6px 10px;
  border: 1px solid rgba(245,158,11,.30);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(245,158,11,.10);
  font-weight: 950;
  font-size: .78rem;
}
.live-dot i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--warn);
}
.live-dot.is-live {
  color: #bbf7d0;
  border-color: rgba(34,197,94,.30);
  background: rgba(34,197,94,.10);
}
.live-dot.is-live i {
  background: var(--good);
  box-shadow: 0 0 16px rgba(34,197,94,.78);
}
.player-card {
  overflow: hidden;
  border-color: rgba(125,211,252,.14);
  background:
    linear-gradient(180deg, rgba(15,23,42,.76), rgba(2,6,23,.86)),
    var(--panel);
}
.player-card:fullscreen,
.player-card:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  border: 0;
  border-radius: 0;
  background: #000;
}
.player-card:fullscreen .player-toolbar,
.player-card:-webkit-full-screen .player-toolbar,
.player-card:fullscreen .watch-strip,
.player-card:-webkit-full-screen .watch-strip {
  display: none;
}
.player-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(90deg, rgba(14,165,233,.10), rgba(34,197,94,.055)),
    rgba(2,6,23,.28);
}
.player-toolbar > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.player-toolbar strong {
  color: #e5e7eb;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.theatre-toggle,
[data-theatre-toggle],
.fullscreen-toggle,
[data-fullscreen-toggle] {
  --pill-accent: #a78bfa;
}
.fullscreen-toggle,
[data-fullscreen-toggle] {
  --pill-accent: #67e8f9;
}
.player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}
.player-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 32%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(2,6,23,.58));
  opacity: 0;
  transition: opacity .18s ease;
}
.player-frame:hover::after,
.player-frame:focus-within::after {
  opacity: 1;
}
.player-frame video,
.player-frame iframe,
.hls-player,
.webrtc-player,
.offline-slate {
  width: 100%;
  height: 100%;
}
.player-card:fullscreen .player-frame,
.player-card:-webkit-full-screen .player-frame {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}
.player-card:fullscreen .hls-player video,
.player-card:fullscreen .webrtc-player video,
.player-card:-webkit-full-screen .hls-player video,
.player-card:-webkit-full-screen .webrtc-player video {
  object-fit: contain;
}
.hls-player,
.webrtc-player {
  position: relative;
  display: grid;
  background: #020617;
  overflow: hidden;
}
.hls-player video,
.webrtc-player video {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}
.webrtc-message {
  position: absolute;
  left: 14px;
  bottom: 64px;
  max-width: min(620px, calc(100% - 28px));
  padding: 8px 10px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 10px;
  color: #cbd5e1;
  background: rgba(2, 6, 23, .78);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  font-size: .86rem;
  line-height: 1.35;
  backdrop-filter: blur(12px);
}
.webrtc-start {
  position: absolute;
  left: 50%;
  top: 50%;
  min-height: 46px;
  transform: translate(-50%, -50%);
  padding: 11px 16px;
  border: 1px solid rgba(125, 211, 252, .42);
  border-radius: 12px;
  color: #f8fafc;
  background: rgba(2, 6, 23, .82);
  box-shadow: 0 18px 42px rgba(0,0,0,.34);
  backdrop-filter: blur(14px);
  font-weight: 950;
}
.webrtc-start[hidden] {
  display: none;
}
.webrtc-message[data-tone="ok"] {
  color: #bbf7d0;
  border-color: rgba(34,197,94,.32);
}
.webrtc-message[data-tone="warn"] {
  color: #fed7aa;
  border-color: rgba(245,158,11,.34);
}
.webrtc-controls {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.hls-player:hover .webrtc-controls,
.hls-player:focus-within .webrtc-controls,
.webrtc-player:hover .webrtc-controls,
.webrtc-player:focus-within .webrtc-controls {
  opacity: 1;
  transform: translateY(0);
}
.webrtc-controls > * {
  pointer-events: auto;
}
.webrtc-controls button,
.webrtc-volume {
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 999px;
  color: #f8fafc;
  background:
    linear-gradient(180deg, rgba(15,23,42,.88), rgba(2,6,23,.86)),
    rgba(2, 6, 23, .82);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
}
.webrtc-controls button {
  position: relative;
  overflow: hidden;
  letter-spacing: 0;
}
.webrtc-controls button::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 52%);
  opacity: .65;
}
.webrtc-controls button > * {
  position: relative;
}
.sound-icon {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #fbbf24;
  box-shadow: 0 0 14px rgba(251,191,36,.65);
}
.webrtc-controls button[data-sound="on"] {
  border-color: rgba(34,197,94,.36);
  color: #dcfce7;
  background: linear-gradient(135deg, rgba(34,197,94,.26), rgba(14,165,233,.14)), rgba(2,6,23,.86);
}
.webrtc-controls button[data-sound="on"] .sound-icon {
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34,197,94,.65);
}
.webrtc-controls button[data-sound="off"] {
  border-color: rgba(251,191,36,.36);
  color: #fef3c7;
  background: linear-gradient(135deg, rgba(251,191,36,.22), rgba(244,63,94,.10)), rgba(2,6,23,.86);
}
.webrtc-controls button[data-hls-sound],
.webrtc-controls button[data-webrtc-sound] {
  min-width: 82px;
}
.webrtc-volume {
  --volume-fill: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 850;
  font-size: .86rem;
  min-width: 210px;
}
.webrtc-volume input {
  appearance: none;
  -webkit-appearance: none;
  width: 110px;
  height: 18px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.webrtc-volume input::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #22c55e 0 var(--volume-fill), rgba(148,163,184,.28) var(--volume-fill) 100%);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.35);
}
.webrtc-volume input::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(148,163,184,.28);
}
.webrtc-volume input::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}
.webrtc-volume input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -5px;
  border: 2px solid rgba(240,253,250,.92);
  border-radius: 999px;
  background: #0f172a;
  box-shadow: 0 4px 12px rgba(0,0,0,.38), 0 0 0 4px rgba(34,197,94,.16);
}
.webrtc-volume input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(240,253,250,.92);
  border-radius: 999px;
  background: #0f172a;
  box-shadow: 0 4px 12px rgba(0,0,0,.38), 0 0 0 4px rgba(34,197,94,.16);
}
.quality-action[aria-expanded="true"] {
  border-color: rgba(125,211,252,.55);
  color: #e0f2fe;
  background: linear-gradient(135deg, rgba(14,165,233,.24), rgba(167,139,250,.14)), rgba(2,6,23,.88);
}
.quality-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(260px, calc(100vw - 28px));
  padding: 12px;
  border: 1px solid rgba(125,211,252,.28);
  border-radius: 14px;
  color: #e5e7eb;
  background: rgba(2,6,23,.94);
  box-shadow: 0 20px 54px rgba(0,0,0,.44);
  backdrop-filter: blur(16px);
}
.quality-popover strong,
.quality-popover a,
.quality-popover small {
  display: block;
}
.quality-popover strong {
  margin-bottom: 8px;
  color: #f8fafc;
}
.quality-popover a {
  margin: 6px 0;
  padding: 9px 10px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 10px;
  color: #dff7ff;
  background: rgba(255,255,255,.055);
  text-decoration: none;
  font-weight: 850;
}
.quality-popover small {
  margin-top: 8px;
  color: #a5b4fc;
  line-height: 1.35;
}
.player-frame iframe {
  display: block;
  border: 0;
  background: #020617;
}
.player-status {
  border-top: 1px solid rgba(148, 163, 184, .18);
  background: rgba(15, 23, 42, .92);
  color: #cbd5e1;
  font-size: .86rem;
  line-height: 1.35;
  padding: .72rem .95rem;
}
.player-status[data-tone="ok"] {
  color: #bbf7d0;
}
.player-status[data-tone="warn"] {
  color: #fed7aa;
}
.offline-slate {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 22px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 15%, rgba(34,211,238,.12), transparent 20rem),
    linear-gradient(135deg, #020617, #09090b);
  overflow: hidden;
}
.offline-slate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--offline-art);
  background-size: cover;
  background-position: center;
  opacity: .42;
  transform: scale(1.02);
}
.offline-slate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 30%, rgba(15,23,42,.18), rgba(2,6,23,.72) 56%),
    linear-gradient(180deg, rgba(2,6,23,.22), rgba(2,6,23,.86));
}
.offline-slate span {
  padding: 6px 10px;
  border: 1px solid rgba(245,158,11,.30);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(245,158,11,.10);
  font-weight: 950;
}
.offline-slate h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
}
.offline-slate p {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  line-height: 1.5;
}
.offline-actions {
  justify-content: center;
}
.offline-slate.live-offline-overlay[hidden] {
  display: none !important;
}
.offline-slate.live-offline-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
}
.player-actions {
  display: none;
}
.watch-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(90deg, rgba(14,165,233,.08), rgba(167,139,250,.055)),
    rgba(2,6,23,.32);
}
.watch-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(125,211,252,.16);
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(255,255,255,.045);
  font-size: .78rem;
  font-weight: 900;
}
.watch-strip span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22d3ee;
  box-shadow: 0 0 12px rgba(34,211,238,.46);
}
.viewer-card {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 260px) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, .30);
}
.viewer-card > div,
.viewer-card label {
  display: grid;
  gap: 4px;
}
.viewer-card strong {
  font-size: .95rem;
}
.viewer-card span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}
.viewer-card input {
  min-height: 38px;
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255,255,255,.055);
  padding: 8px 10px;
  outline: none;
}
.viewer-card input:focus {
  border-color: rgba(34,211,238,.58);
  box-shadow: 0 0 0 3px rgba(34,211,238,.10);
}
.chat-card {
  display: grid;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(15,23,42,.84), rgba(8,13,20,.88)),
    var(--panel);
  box-shadow: 0 22px 60px rgba(0,0,0,.34);
  overflow: hidden;
}
.viewer-hub {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(8,47,73,.42), rgba(15,23,42,.78)),
    var(--panel);
  box-shadow: 0 22px 60px rgba(0,0,0,.30);
  overflow: hidden;
}
.viewer-banner {
  position: relative;
  min-height: 124px;
  margin: 0 -14px 2px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.viewer-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,.12), rgba(2,6,23,.76));
}
.viewer-banner img {
  position: absolute;
  left: 14px;
  bottom: -24px;
  z-index: 1;
  width: 72px;
  height: 72px;
  border: 3px solid rgba(2,6,23,.92);
  border-radius: 20px;
  background: #020617;
  box-shadow: 0 14px 34px rgba(0,0,0,.38);
}
.viewer-banner + .viewer-hub-head {
  padding-top: 22px;
}
.viewer-hub-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}
.viewer-hub-head span {
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .68rem;
  font-weight: 950;
}
.viewer-hub-head h2 {
  margin: 4px 0 0;
  font-size: 1.35rem;
  overflow-wrap: anywhere;
}
.viewer-hub p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.45;
}
.viewer-auth-button {
  width: 100%;
  --pill-accent: #86efac;
  border-color: rgba(125,211,252,.32);
  background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(167,139,250,.13));
}
.viewer-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid rgba(125,211,252,.24);
  border-left: 3px solid #22d3ee;
  border-radius: 999px;
  color: #dff7ff;
  background: rgba(125,211,252,.08);
  text-decoration: none;
  font-weight: 900;
}
.viewer-auth-message {
  min-height: 1.05rem;
  font-size: .82rem;
}
.viewer-auth-message[data-tone="ok"] {
  color: #bbf7d0;
}
.viewer-auth-message[data-tone="warn"] {
  color: #fed7aa;
}
.account-form {
  display: grid;
  gap: 8px;
}
.account-form input {
  min-height: 38px;
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255,255,255,.055);
  padding: 8px 10px;
  outline: none;
}
.password-field {
  position: relative;
  display: block;
}
.password-field[hidden] {
  display: none;
}
.password-field input {
  padding-right: 74px;
}
.password-field button {
  position: absolute;
  top: 50%;
  right: 7px;
  min-height: 28px;
  width: 58px;
  transform: translateY(-50%);
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.24);
  color: #dbeafe;
  background: rgba(15,23,42,.92);
  box-shadow: none;
  font-size: .76rem;
  font-weight: 900;
}
.password-field button:hover {
  border-color: rgba(34,211,238,.48);
  color: #ecfeff;
  background: rgba(14,116,144,.34);
}
.account-form small[hidden] {
  display: none;
}
.account-form small {
  margin-top: -3px;
  color: #a5b4fc;
  font-size: .78rem;
  line-height: 1.35;
}
.account-form input:focus {
  border-color: rgba(34,211,238,.58);
  box-shadow: 0 0 0 3px rgba(34,211,238,.10);
}
.account-form > div {
  display: grid;
  gap: 8px;
}
.account-form p {
  min-height: 1.1rem;
  color: var(--muted);
  font-size: .82rem;
}
.account-form p[data-tone="ok"] {
  color: #bbf7d0;
}
.account-form p[data-tone="warn"] {
  color: #fed7aa;
}
.password-strength {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: -2px;
}
.password-strength[hidden] {
  display: none;
}
.password-strength i {
  position: relative;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148,163,184,.18);
}
.password-strength i span {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: var(--strength-color, #64748b);
  transform: scaleX(var(--strength-scale, 0));
  transform-origin: left center;
  box-shadow: 0 0 18px color-mix(in srgb, var(--strength-color, #64748b) 50%, transparent);
  transition: transform .26s ease, background .18s ease, box-shadow .18s ease;
}
.password-strength strong {
  color: #cbd5e1;
  font-size: .78rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}
.password-strength:not(.has-password) strong {
  color: #94a3b8;
}
.password-strength[data-score="0"] { --strength-width: 0%; --strength-color: #64748b; }
.password-strength[data-score="1"] { --strength-width: 20%; --strength-color: #ef4444; }
.password-strength[data-score="2"] { --strength-width: 40%; --strength-color: #f97316; }
.password-strength[data-score="3"] { --strength-width: 60%; --strength-color: #facc15; }
.password-strength[data-score="4"] { --strength-width: 80%; --strength-color: #22c55e; }
.password-strength[data-score="5"] { --strength-width: 100%; --strength-color: #22d3ee; }
.viewer-hub.is-signed-in {
  border-color: rgba(34,197,94,.30);
  background:
    linear-gradient(180deg, rgba(20,83,45,.36), rgba(15,23,42,.78)),
    var(--panel);
}
.live-admin-link {
  border-color: rgba(251,113,133,.28);
  color: #ffe4e6;
  background: rgba(127,29,29,.22);
}
.live-admin-page {
  background:
    radial-gradient(circle at 12% -10%, rgba(251,113,133,.16), transparent 30rem),
    radial-gradient(circle at 92% 6%, rgba(34,211,238,.12), transparent 30rem),
    linear-gradient(135deg, #05070a 0%, #090f16 52%, #111014 100%);
}
.live-admin-shell {
  width: min(100% - clamp(18px, 4vw, 56px), 1380px);
  margin: clamp(18px, 4vw, 40px) auto clamp(28px, 5vw, 60px);
  display: grid;
  gap: 16px;
}
.admin-gate-card,
.admin-hero-card,
.admin-panel-card,
.admin-metric-grid article {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(34,211,238,.11), transparent 18rem),
    linear-gradient(180deg, rgba(15,23,42,.82), rgba(3,7,13,.90));
  box-shadow: 0 24px 70px rgba(0,0,0,.32);
  backdrop-filter: blur(18px);
}
.admin-gate-card {
  width: min(720px, 100%);
  margin: 8vh auto 0;
  display: grid;
  gap: 12px;
  padding: clamp(22px, 4vw, 38px);
}
.admin-gate-card span,
.admin-hero-card span,
.admin-panel-head span,
.admin-panel-card label span,
.admin-metric-grid span {
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .70rem;
  font-weight: 950;
}
.admin-gate-card h1,
.admin-hero-card h1,
.admin-panel-head h2 {
  margin: 0;
}
.admin-gate-card p,
.admin-hero-card p,
.admin-muted,
.admin-metric-grid p,
.admin-member-card small {
  margin: 0;
  color: #aab5c4;
  line-height: 1.45;
}
.admin-hero-card {
  min-height: 170px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
  background:
    linear-gradient(180deg, rgba(2,6,23,.18), rgba(2,6,23,.90)),
    radial-gradient(circle at 10% 0%, rgba(251,113,133,.24), transparent 28rem),
    radial-gradient(circle at 78% 0%, rgba(34,211,238,.20), transparent 26rem),
    #071018;
}
.admin-hero-card h1 {
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: .95;
}
.admin-hero-card img {
  width: clamp(64px, 9vw, 104px);
  height: clamp(64px, 9vw, 104px);
  border: 3px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: #020617;
  box-shadow: 0 18px 45px rgba(0,0,0,.36);
}
.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.admin-metric-grid article {
  min-height: 126px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 16px;
}
.admin-metric-grid strong {
  color: #f8fafc;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  line-height: 1;
}
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  gap: 16px;
  align-items: start;
}
.admin-panel-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}
.admin-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.admin-panel-head b {
  padding: 7px 10px;
  border: 1px solid rgba(34,211,238,.22);
  border-radius: 999px;
  color: #cffafe;
  background: rgba(34,211,238,.08);
  font-size: .78rem;
  white-space: nowrap;
}
.admin-panel-card form,
.admin-panel-card label {
  display: grid;
  gap: 8px;
}
.admin-panel-card input,
.admin-panel-card textarea,
.admin-panel-card select,
.admin-search input {
  width: 100%;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 12px;
  color: #f8fafc;
  background: rgba(255,255,255,.055);
  padding: 10px 11px;
  outline: none;
  font: inherit;
}
.admin-panel-card select {
  color: #f8fafc;
  background:
    linear-gradient(180deg, rgba(15,23,42,.96), rgba(2,6,23,.96));
}
.admin-panel-card select option {
  color: #f8fafc;
  background: #0f172a;
}
.admin-panel-card input[type="date"],
.admin-panel-card input[type="time"] {
  color-scheme: dark;
}
.admin-panel-card textarea {
  min-height: 112px;
  resize: vertical;
}
.admin-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}
.admin-check-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.admin-check {
  min-height: 44px;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(34,211,238,.16);
  border-radius: 12px;
  background: rgba(34,211,238,.055);
}
.admin-check input {
  width: auto;
}
.admin-actions,
.admin-search {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-actions button,
.admin-search button {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(125,211,252,.24);
  border-radius: 999px;
  color: #e0faff;
  background: rgba(2,6,23,.58);
  font-weight: 950;
  cursor: pointer;
}
.admin-actions button:disabled {
  opacity: .46;
  cursor: not-allowed;
}
.admin-actions .primary-action,
.admin-gate-card .primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  text-decoration: none;
  color: #ecfeff;
  border-color: rgba(34,211,238,.34);
  background: linear-gradient(135deg, rgba(34,211,238,.22), rgba(34,197,94,.10));
}
.admin-message {
  min-height: 1.1rem;
  margin: 0;
  color: #cbd5e1;
  font-size: .86rem;
}
.admin-message[data-tone="ok"] { color: #bbf7d0; }
.admin-message[data-tone="warn"] { color: #fecaca; }
.admin-member-list {
  display: grid;
  gap: 9px;
  max-height: 620px;
  overflow: auto;
  padding-right: 2px;
}
.admin-member-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}
.admin-member-card img {
  border-radius: 12px;
  background: #020617;
}
.admin-member-card strong,
.admin-member-card span,
.admin-member-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-member-card span {
  color: #a7f3d0;
  font-weight: 850;
}
.admin-member-card b,
.admin-member-card select {
  min-width: 118px;
}
.admin-member-card b {
  padding: 7px 9px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(2,6,23,.46);
  text-align: center;
  font-size: .8rem;
}
.admin-episode-panel {
  grid-column: 1 / -1;
}
.admin-episode-panel form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.admin-episode-panel form > label,
.admin-episode-panel form > .admin-form-row,
.admin-episode-panel form > .admin-message {
  grid-column: 1 / -1;
}
.admin-episode-panel input[type="datetime-local"] {
  color-scheme: dark;
}
.episode-form-actions {
  align-items: end;
  padding-bottom: 1px;
}
.admin-episode-list {
  display: grid;
  gap: 8px;
  max-height: 420px;
  overflow: auto;
}
.admin-episode-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
}
.admin-episode-row strong,
.admin-episode-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-episode-row span {
  color: #94a3b8;
  font-size: .78rem;
  text-transform: capitalize;
}
.live-admin-card {
  display: grid;
  gap: 12px;
  border-color: rgba(248,113,113,.24);
  background:
    radial-gradient(circle at 15% 0%, rgba(239,68,68,.18), transparent 17rem),
    linear-gradient(180deg, rgba(24,24,27,.86), rgba(7,10,16,.90));
}
.live-admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.live-admin-head span,
.live-admin-card label span {
  display: block;
  color: #fecaca;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .68rem;
  font-weight: 950;
}
.live-admin-head h2 {
  margin: 4px 0 0;
  font-size: 1.35rem;
}
.live-admin-head b {
  max-width: 45%;
  padding: 6px 9px;
  border: 1px solid rgba(248,113,113,.24);
  border-radius: 999px;
  color: #fee2e2;
  background: rgba(127,29,29,.26);
  font-size: .72rem;
  line-height: 1.25;
  text-align: right;
  overflow-wrap: anywhere;
}
.live-admin-card p {
  margin: 0;
  color: #e4e4e7;
  line-height: 1.45;
}
.live-admin-card label {
  display: grid;
  gap: 6px;
}
.live-admin-card input,
.live-admin-card textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255,255,255,.055);
  padding: 10px 11px;
  outline: none;
  font: inherit;
}
.live-admin-card textarea {
  min-height: 86px;
  resize: vertical;
}
.live-admin-card input:focus,
.live-admin-card textarea:focus {
  border-color: rgba(248,113,113,.55);
  box-shadow: 0 0 0 3px rgba(248,113,113,.11);
}
.live-admin-card .primary-action {
  --pill-accent: #fb7185;
  width: 100%;
  color: #fff7ed;
  border-color: rgba(251,113,133,.34);
  background:
    linear-gradient(135deg, rgba(239,68,68,.28), rgba(14,165,233,.12)),
    rgba(2,6,23,.52);
}
.live-admin-message {
  min-height: 1.2rem;
  color: #cbd5e1;
  font-size: .85rem;
}
.live-admin-message[data-tone="ok"] {
  color: #bbf7d0;
}
.live-admin-message[data-tone="warn"] {
  color: #fecaca;
}
.live-admin-message a {
  color: #bae6fd;
  font-weight: 900;
}
.account-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
}
.account-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .72);
  backdrop-filter: blur(10px);
}
.account-modal-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(125,211,252,.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 10% 0%, rgba(34,211,238,.16), transparent 18rem),
    linear-gradient(180deg, rgba(15,23,42,.96), rgba(2,6,23,.96));
  box-shadow: 0 28px 80px rgba(0,0,0,.55);
}
.account-modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 999px;
  font-size: 1.25rem;
}
.account-modal-copy {
  display: grid;
  gap: 6px;
  padding-right: 38px;
}
.account-modal-copy span {
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .68rem;
  font-weight: 950;
}
.account-modal-copy h2 {
  margin: 0;
  font-size: 1.55rem;
}
.account-modal-copy p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.45;
}
.account-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 999px;
  background: rgba(2,6,23,.46);
}
.account-tabs button {
  min-height: 38px;
  border-radius: 999px;
  border-color: transparent;
  color: #cbd5e1;
  background: transparent;
  box-shadow: none;
}
.account-tabs button.is-active {
  color: #ecfeff;
  border-color: rgba(34,211,238,.28);
  background: linear-gradient(135deg, rgba(34,211,238,.20), rgba(34,197,94,.10));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 24px rgba(14,165,233,.12);
}
.account-tabs button::before {
  display: none;
}
.account-form input[hidden] {
  display: none;
}
.account-form button[data-account-submit] {
  width: 100%;
  --pill-accent: #22d3ee;
  color: #ecfeff;
}
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.chat-head > div:first-child {
  min-width: 0;
}
.chat-head h2 {
  margin: 0;
  font-size: 1.35rem;
}
.chat-head strong,
.chat-head-actions strong {
  padding: 7px 10px;
  border: 1px solid rgba(34,211,238,.22);
  border-radius: 999px;
  color: #cffafe;
  background: rgba(34,211,238,.08);
  white-space: nowrap;
}
.chat-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.chat-head-actions button,
.chat-popout-action {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(125,211,252,.24);
  border-radius: 999px;
  color: #dff7ff;
  background: rgba(2,6,23,.56);
  font-size: .82rem;
  font-weight: 950;
  text-decoration: none;
}
.chat-head-actions button:hover,
.chat-popout-action:hover {
  border-color: rgba(125,211,252,.50);
  background: rgba(14,165,233,.14);
  transform: translateY(-1px);
}
.chat-feed {
  min-height: 260px;
  max-height: 360px;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  scrollbar-color: rgba(125,211,252,.45) rgba(255,255,255,.06);
}
.chat-empty {
  margin: auto;
  max-width: 240px;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}
.chat-retention-note {
  margin: 0;
  padding: 8px 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #9ca3af;
  background: rgba(2,6,23,.22);
  font-size: .8rem;
  line-height: 1.35;
}
.chat-line {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 3px 9px;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
}
.chat-line img,
.chat-line i {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34,211,238,.28), rgba(167,139,250,.24));
}
.chat-line span,
.chat-line a {
  color: #a7f3d0;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}
.chat-line a:hover {
  color: #cffafe;
  text-decoration: underline;
}
.chat-line p {
  grid-column: 2 / -1;
  margin: 0;
  color: #e5e7eb;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.chat-line time {
  color: #94a3b8;
  font-size: .74rem;
}
.chat-compose {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(2,6,23,.32);
}
.chat-compose input {
  min-height: 38px;
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255,255,255,.055);
  padding: 8px 10px;
  outline: none;
}
.chat-compose input:disabled {
  opacity: .72;
  cursor: not-allowed;
}
.chat-compose input:focus {
  border-color: rgba(34,211,238,.58);
  box-shadow: 0 0 0 3px rgba(34,211,238,.10);
}
.chat-compose > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.chat-compose p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}
.chat-popout-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(34,211,238,.16), transparent 18rem),
    linear-gradient(135deg, #020617, #0b1117);
}
.chat-popout-shell {
  width: min(100vw - 18px, 520px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-items: stretch;
  padding: 6px 0;
}
.chat-popout-shell .chat-card {
  min-height: calc(100vh - 12px);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}
.chat-popout-shell .chat-feed {
  min-height: 0;
  max-height: none;
}
.chat-popout-shell .chat-head {
  padding: 10px 12px;
}
.chat-popout-shell .chat-head h2 {
  font-size: 1.16rem;
}
.chat-popout-shell .chat-head strong {
  padding: 5px 8px;
  font-size: .78rem;
}
.chat-popout-shell .chat-head p {
  margin: 2px 0 0;
  color: #94a3b8;
  font-size: .76rem;
}
.chat-popout-shell .chat-compose {
  gap: 5px;
  padding: 8px 10px;
}
.chat-popout-shell .chat-compose input {
  min-height: 34px;
}
.chat-popout-shell .chat-compose button {
  min-height: 34px;
  padding: 7px 11px;
}
.chat-popout-shell .chat-compose p {
  min-height: 0;
  font-size: .75rem;
}
.chat-popout-links {
  display: flex;
  gap: 7px;
  padding: 7px 10px 9px;
  border-top: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(90deg, rgba(14,165,233,.08), rgba(167,139,250,.055)),
    rgba(2,6,23,.30);
}
.chat-popout-links > * {
  flex: 1 1 0;
}
.chat-popout-links .chat-popout-action {
  min-height: 28px;
  padding: 5px 8px;
  gap: 6px;
  font-size: .74rem;
}
.chat-popout-action.is-primary {
  --pill-accent: #67e8f9;
  border-color: rgba(103,232,249,.46);
  color: #e0faff;
  background:
    linear-gradient(135deg, rgba(34,211,238,.24), rgba(34,197,94,.10)),
    rgba(3,18,28,.72);
}
.chat-popout-action::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 999px;
  background: var(--pill-accent, #22d3ee);
  box-shadow: 0 0 16px color-mix(in srgb, var(--pill-accent, #22d3ee) 70%, transparent);
}
.live-side {
  display: grid;
  gap: 12px;
  align-content: start;
}
.archive-hero .podcast-copy::before {
  opacity: .46;
}
.archive-hero .podcast-copy {
  min-height: 430px;
  display: grid;
  align-items: end;
  padding-bottom: clamp(24px, 5vw, 46px);
}
.archive-hero .podcast-copy h1 {
  max-width: 900px;
  line-height: 1.06;
  font-size: clamp(2.25rem, 5.2vw, 5rem);
}
.archive-hero .podcast-copy p {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
}
.podcast-status-card {
  border-color: rgba(167,139,250,.20);
  background:
    radial-gradient(circle at 20% 0%, rgba(167,139,250,.18), transparent 18rem),
    linear-gradient(180deg, rgba(15,23,42,.82), rgba(7,10,16,.88));
}
.podcast-grid {
  counter-reset: podcastFeature;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.podcast-feature-card,
.episode-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(15,23,42,.76), rgba(8,13,20,.88)),
    var(--panel);
  box-shadow: 0 20px 54px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
}
.podcast-feature-card {
  min-height: 190px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
  counter-increment: podcastFeature;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.podcast-feature-card::after {
  content: counter(podcastFeature, decimal-leading-zero);
  position: absolute;
  right: 16px;
  top: 14px;
  color: rgba(226,232,240,.10);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 950;
  letter-spacing: -.06em;
  pointer-events: none;
}
.episode-card {
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.podcast-feature-card:hover,
.episode-card:hover {
  transform: translateY(-2px);
  border-color: rgba(125,211,252,.24);
  background:
    linear-gradient(180deg, rgba(15,23,42,.88), rgba(8,13,20,.94)),
    var(--panel);
}
.podcast-feature-card::before,
.episode-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(34,211,238,.14), transparent 14rem),
    linear-gradient(135deg, rgba(167,139,250,.10), transparent 52%);
}
.podcast-feature-card > *,
.episode-card > * {
  position: relative;
}
.podcast-feature-card span,
.episode-card span {
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .70rem;
  font-weight: 950;
}
.podcast-feature-card h2,
.episode-card h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}
.podcast-feature-card p,
.episode-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.55;
}
.episode-list {
  display: grid;
  gap: 14px;
}
.episode-card {
  min-height: 230px;
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1fr);
  align-content: center;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
}
.episode-card:not(:has(.episode-art)) {
  grid-template-columns: 1fr;
}
.episode-art {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 9px;
  background: #020617;
}
.episode-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
}
.episode-card.is-empty {
  min-height: 280px;
  border-style: dashed;
  border-color: rgba(125,211,252,.28);
  background:
    radial-gradient(circle at 15% 0%, rgba(34,211,238,.18), transparent 18rem),
    radial-gradient(circle at 85% 20%, rgba(167,139,250,.15), transparent 16rem),
    linear-gradient(180deg, rgba(15,23,42,.72), rgba(8,13,20,.92));
}
.episode-card.is-empty h2 {
  max-width: 680px;
}
.episode-card.is-empty p {
  max-width: 760px;
}
.episode-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.episode-shell {
  max-width: 1180px;
}
.episode-detail {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 150px);
  padding: clamp(24px, 5vw, 64px) 0;
}
.episode-detail-art img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #020617;
  box-shadow: 0 30px 80px rgba(0,0,0,.36);
}
.episode-detail-copy h1 {
  margin: 8px 0 12px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.02;
}
.episode-meta {
  color: #93c5fd;
  font-weight: 850;
}
.episode-notes {
  margin: 22px 0;
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.7;
}
.episode-clips{margin:20px 0}.episode-clips h2{margin:0 0 10px;font-size:1rem}.episode-clips>div{display:grid;gap:7px}.episode-clips a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;color:#e2e8f0;background:rgba(255,255,255,.035);text-decoration:none}.episode-clips a:hover{border-color:rgba(34,211,238,.35);background:rgba(34,211,238,.06)}.episode-clips span{color:#93c5fd;font-size:.78rem;font-weight:850}
.side-card {
  padding: 16px;
  border-color: rgba(125,211,252,.14);
  background:
    radial-gradient(circle at 8% 0%, rgba(34,211,238,.10), transparent 14rem),
    linear-gradient(180deg, rgba(15,23,42,.74), rgba(2,6,23,.82));
}
.side-card h2 {
  margin: 0 0 8px;
  color: #f8fafc;
}
.side-card p {
  color: var(--muted);
  line-height: 1.5;
}
.side-card dl {
  display: grid;
  gap: 8px;
}
.side-card dl div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(0,0,0,.16);
}
.side-card dt {
  color: var(--muted);
  font-weight: 900;
}
.side-card dd {
  margin: 0;
  min-width: 0;
}
code {
  color: #d9f99d;
  overflow-wrap: anywhere;
}
.small {
  font-size: .86rem;
}
.setup-note {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(34,211,238,.18);
  border-radius: 10px;
  color: #d4d4d8;
  background: rgba(34,211,238,.07);
  line-height: 1.4;
}
.setup-note strong {
  color: #cffafe;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.archive-grid.action-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-color: rgba(125,211,252,.18);
  text-align: center;
}
.archive-grid span,
.archive-grid a {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  color: #d4d4d8;
  background: rgba(0,0,0,.16);
  font-weight: 850;
  font-size: .86rem;
  text-decoration: none;
}
.profile-shell {
  width: min(100% - clamp(20px, 4vw, 56px), 1120px);
  margin: clamp(18px, 4vw, 46px) auto;
}
.profile-card {
  overflow: hidden;
  border: 1px solid rgba(125,211,252,.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(34,211,238,.12), transparent 20rem),
    linear-gradient(180deg, rgba(15,23,42,.86), rgba(2,6,23,.92));
  box-shadow: 0 28px 80px rgba(0,0,0,.40);
}
.profile-cover {
  min-height: clamp(170px, 28vw, 320px);
  background:
    linear-gradient(180deg, rgba(2,6,23,.05), rgba(2,6,23,.74)),
    var(--profile-banner);
  background-size: cover;
  background-position: center;
}
.profile-body {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 0 clamp(18px, 4vw, 42px) clamp(22px, 4vw, 42px);
}
.profile-avatar {
  width: clamp(96px, 15vw, 138px);
  height: clamp(96px, 15vw, 138px);
  margin-top: calc(clamp(96px, 15vw, 138px) / -2);
  border: 4px solid rgba(2,6,23,.92);
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 18px 42px rgba(0,0,0,.42);
}
.profile-body h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: .98;
}
.profile-handle {
  margin: 0;
  color: #93c5fd;
  font-weight: 900;
}
.profile-copy {
  max-width: 720px;
  margin: 0;
  color: #d4d4d8;
  line-height: 1.55;
}
.profile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-facts span {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(255,255,255,.055);
  font-weight: 850;
}
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.live-page.is-theatre {
  background: #000;
}
.live-page.is-theatre .live-header {
  background: rgba(0,0,0,.88);
  border-bottom-color: rgba(255,255,255,.08);
}
.live-page.is-theatre .live-shell {
  width: min(1800px, calc(100vw - 18px));
  margin-top: 10px;
}
.live-page.is-theatre .live-hero,
.live-page.is-theatre .broadcast-strip,
.live-page.is-theatre .live-side {
  display: none;
}
.live-page.is-theatre .live-layout {
  display: block;
}
.live-page.is-theatre .player-card {
  border-color: rgba(125,211,252,.22);
  border-radius: 12px;
  background: #020617;
  box-shadow: 0 0 0 1px rgba(125,211,252,.10), 0 28px 120px rgba(0,0,0,.80);
  will-change: transform, filter;
}
.live-page.is-theatre .player-toolbar {
  background: rgba(0,0,0,.76);
}
.live-page.is-theatre .player-frame {
  min-height: min(calc(100vh - 170px), calc((100vw - 18px) * .5625));
}
.live-page.is-theatre .offline-slate h2 {
  font-size: clamp(1.8rem, 4vw, 4rem);
}
.league-stream-card {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(420px, 1.7fr);
  gap: 16px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid rgba(56, 189, 248, .26);
  border-radius: 8px;
  background: linear-gradient(115deg, rgba(7, 15, 28, .98), rgba(10, 24, 37, .96) 58%, rgba(9, 18, 31, .98));
  box-shadow: 0 18px 54px rgba(0, 0, 0, .28), inset 3px 0 0 rgba(34, 211, 238, .7);
  overflow: hidden;
}
.league-stream-card[hidden] { display: none !important; }
.league-stream-identity,
.league-stream-score {
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(2, 8, 18, .48);
}
.league-stream-identity {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 13px;
}
.league-stream-identity img {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(103, 232, 249, .42);
  border-radius: 6px;
  object-fit: cover;
}
.league-stream-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #67e8f9;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
}
.league-stream-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px #22c55e;
}
.league-stream-identity h2 {
  margin: 5px 0 2px;
  font-size: 1.18rem;
  letter-spacing: 0;
}
.league-stream-identity h2 small,
.league-stream-identity p {
  color: #94a3b8;
  font-size: .78rem;
}
.league-stream-identity p { margin: 0; }
.league-stream-score {
  display: grid;
  grid-template-columns: repeat(4, minmax(62px, 1fr));
}
.league-stream-score span {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  padding: 11px;
  border-right: 1px solid rgba(148, 163, 184, .12);
}
.league-stream-score span:last-child { border-right: 0; }
.league-stream-score i {
  color: #7dd3fc;
  font-size: .65rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}
.league-stream-score b { font-size: 1rem; white-space: nowrap; }
.league-stream-context {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(2, 8, 18, .4);
}
.league-stream-context span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 12px;
  border-right: 1px solid rgba(148, 163, 184, .12);
}
.league-stream-context span:last-child { border-right: 0; }
.league-stream-context i,
.league-stream-teams > div > span {
  color: #7dd3fc;
  font-size: .62rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}
.league-stream-context b {
  overflow: hidden;
  color: #e2e8f0;
  font-size: .78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.league-stream-teams {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.league-stream-objectives {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(45, 212, 191, .2);
  background: rgba(8, 47, 45, .18);
}
.league-stream-objectives[hidden] { display: none !important; }
.league-stream-objectives > span {
  color: #5eead4;
  font-size: .64rem;
  font-weight: 900;
  text-transform: uppercase;
}
.league-stream-objectives div { display: grid; gap: 2px; min-width: 0; }
.league-stream-objectives b { color: #f8fafc; font-size: .75rem; }
.league-stream-objectives small { color: #a7f3d0; font-size: .67rem; line-height: 1.35; }
.league-stream-objectives i { color: #64748b; font-size: .68rem; font-style: normal; font-weight: 900; text-transform: uppercase; }
.league-stream-teams > div {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(2, 8, 18, .4);
}
.league-stream-teams > div > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(76px, 1fr));
  gap: 6px;
  margin-top: 7px;
}
.league-stream-teams > div > div > span {
  display: grid;
  grid-template-columns: 30px auto;
  grid-template-rows: auto auto;
  min-width: 0;
  padding: 5px 8px 5px 5px;
  border: 1px solid rgba(148, 163, 184, .13);
  border-radius: 5px;
  background: rgba(15, 23, 42, .72);
}
.league-stream-teams img {
  grid-row: 1 / 3;
  width: 30px;
  height: 30px;
  margin-right: 7px;
  border-radius: 4px;
  object-fit: cover;
}
.league-stream-teams b { font-size: .72rem; }
.league-stream-teams small { color: #94a3b8; font-size: .63rem; }
.league-stream-card footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #64748b;
  font-size: .72rem;
}
.league-stream-card footer a {
  color: #67e8f9;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .league-stream-card { grid-template-columns: 1fr 1.45fr; }
}

@media (prefers-reduced-motion: reduce) {
  body.live-page::before,
  .podcast-feature-card,
  .episode-card {
    transition: none;
  }
  .episode-detail {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}
@media (max-width: 900px) {
  .live-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .live-header nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }
  .live-header nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .live-hero,
  .live-layout {
    grid-template-columns: 1fr;
  }
  .live-hero {
    grid-template-columns: 1fr;
  }
  .broadcast-strip {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
  }
  .broadcast-strip article {
    scroll-snap-align: start;
  }
  .podcast-grid {
    grid-template-columns: 1fr;
  }
  .podcast-feature-card {
    min-height: 150px;
  }
  .admin-metric-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }
}
@media (hover: none), (pointer: coarse) {
  .webrtc-controls {
    opacity: 1;
    transform: none;
  }
  .player-frame::after {
    opacity: 1;
  }
}
@media (max-width: 560px) {
  .live-shell {
    width: min(100vw - 16px, 1380px);
    margin-top: 10px;
  }
  .league-stream-card {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 10px;
  }
  .league-stream-identity { grid-column: auto; }
  .league-stream-score { grid-template-columns: repeat(2, 1fr); }
  .league-stream-score span:nth-child(2) { border-right: 0; }
  .league-stream-score span:nth-child(-n+2) { border-bottom: 1px solid rgba(148, 163, 184, .12); }
  .league-stream-context { grid-template-columns: 1fr; }
  .league-stream-context span {
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
  }
  .league-stream-context span:last-child { border-bottom: 0; }
  .league-stream-context b { white-space: normal; }
  .league-stream-teams { grid-template-columns: 1fr; }
  .league-stream-teams > div > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .league-stream-objectives {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .league-stream-objectives i { display: none; }
  .league-stream-card footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .player-actions,
  .side-card dl div {
    grid-template-columns: 1fr;
  }
  .live-copy {
    padding: 18px;
  }
  .live-copy h1 {
    font-size: clamp(2rem, 12vw, 3.1rem);
  }
  .live-copy p {
    font-size: .96rem;
  }
  .live-now-card {
    padding: 14px;
  }
  .broadcast-strip {
    display: none;
  }
  .live-side {
    display: grid;
    gap: 12px;
  }
  .player-actions {
    justify-content: stretch;
  }
  .player-actions > * {
    width: 100%;
  }
  .player-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .player-toolbar > div {
    justify-content: space-between;
  }
  .player-toolbar-actions {
    display: none;
  }
  .player-toolbar strong {
    font-size: .95rem;
  }
  .live-page.is-theatre .player-frame {
    min-height: auto;
  }
  .viewer-card {
    grid-template-columns: 1fr;
  }
  .webrtc-controls {
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: grid;
    grid-template-columns: minmax(82px, auto) minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 18px;
    background: rgba(2, 6, 23, .72);
    backdrop-filter: blur(14px);
  }
  .desktop-player-action {
    display: none !important;
  }
  .desktop-player-action.mobile-fullscreen-action {
    display: inline-flex !important;
    min-width: 0;
    width: 42px;
    padding: 0;
    font-size: 0;
  }
  .desktop-player-action.mobile-fullscreen-action::after {
    content: "⛶";
    position: relative;
    z-index: 1;
    font-size: 1rem;
  }
  .webrtc-controls button[data-hls-sound],
  .webrtc-controls button[data-webrtc-sound] {
    min-width: 0;
    width: 100%;
    padding: 9px 11px;
    min-height: 40px;
  }
  .webrtc-volume {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    justify-content: space-between;
  }
  .webrtc-volume span {
    font-size: .78rem;
  }
  .webrtc-volume input {
    width: min(42vw, 150px);
  }
  .watch-strip {
    display: none;
  }
  .webrtc-message {
    left: 12px;
    right: 12px;
    bottom: 76px;
    max-width: none;
    font-size: .82rem;
  }
  .chat-compose > div {
    grid-template-columns: 1fr;
  }
  .sound-permission {
    top: 10px;
    grid-template-columns: 1fr;
  }
  .sound-permission .icon-button {
    position: absolute;
    right: 8px;
    top: 8px;
  }
  .account-form > div {
    grid-template-columns: 1fr;
  }
  .account-tabs {
    border-radius: 16px;
    grid-template-columns: 1fr;
  }
  .account-modal-card {
    padding: 16px;
  }
  .admin-hero-card {
    align-items: start;
    flex-direction: column-reverse;
  }
  .admin-form-row,
  .admin-check-row,
  .admin-member-card {
    grid-template-columns: 1fr;
  }
  .admin-member-card img {
    width: 52px;
    height: 52px;
  }
  .admin-member-card b,
  .admin-member-card select,
  .admin-actions button,
  .admin-search button,
  .admin-search input {
    width: 100%;
  }
  .admin-episode-panel form,
  .admin-episode-row {
    grid-template-columns: 1fr;
  }
  .episode-card {
    min-height: 220px;
    grid-template-columns: 1fr;
  }
}

/* October watch-room presentation */
:root { --bg:#080d14; --panel:#111b28; --line:#2b394c; --muted:#aebbd0; --accent:#58d6df; --gold:#f0bd55; --violet:#b58cf0; }
body.live-page { background:radial-gradient(ellipse at 80% 0%,#16445666,transparent 45%),radial-gradient(ellipse at 0% 55%,#38274640,transparent 45%),var(--bg); }
.live-header { padding:20px max(24px,calc((100vw - 1380px)/2)); background:#080d14ed; }
.live-brand>span { border-radius:8px; background:#58d6df14; border:1px solid #58d6df60; color:var(--accent); box-shadow:inset 0 -3px 0 #0004; }
.live-header nav a { color:var(--muted); font-size:12px; letter-spacing:.015em; }
.live-shell { margin-top:28px; gap:24px; }
.live-layout { gap:24px; grid-template-columns:minmax(0,1fr) 340px; }
.live-main-stack { gap:24px; }
.live-hero { order:-1; grid-template-columns:minmax(0,1fr) 260px; gap:20px; }
.live-copy,.live-now-card,.player-card,.side-card,.chat-card { border-radius:10px; background:linear-gradient(135deg,#162132,var(--panel)); box-shadow:0 14px 45px #0003; }
.live-copy { border:0; padding:26px 0 26px 28px; background:transparent; box-shadow:none; }
.live-copy::before { opacity:.12; mask-image:linear-gradient(90deg,transparent,#000); }
.live-copy::after { background:linear-gradient(90deg,#080d14,#080d1488); }
.live-copy h1 { font-size:clamp(29px,3vw,44px); line-height:1.1; letter-spacing:-.045em; margin:10px 0 16px; }
.live-copy p { max-width:470px; color:var(--muted); line-height:1.65; }
.live-copy .eyebrow { color:var(--accent); font-size:10px; letter-spacing:.17em; }
.live-now-card { border-top:2px solid var(--gold); padding:22px; }
.live-now-card>strong { font-size:17px; letter-spacing:-.02em; }
.live-now-card p { font-size:12px; line-height:1.6; }
.live-kpi-grid { gap:8px; }
.live-kpi-grid>span { min-width:0; padding:9px; background:#080d1455; }
.live-kpi-grid b { overflow-wrap:anywhere; font-size:11px; }
.live-now-card .status-actions { gap:8px; }
.live-pills span { border-radius:4px; font-size:10px; padding:5px 9px; }
.live-page .button,.live-page button:not(.account-modal-close):not(.icon-button) { --button-accent:var(--accent); min-height:40px; padding:12px 15px; border:1px solid color-mix(in srgb,var(--button-accent) 48%,transparent); border-radius:5px; color:#f4f6fc; background:color-mix(in srgb,var(--button-accent) 7%,transparent); box-shadow:inset 0 -2px 0 #0004; font-size:10px; font-weight:900; letter-spacing:.07em; text-transform:uppercase; transition:background .18s,border-color .18s; }
.live-page .primary-action,.live-page .viewer-auth-button { background:color-mix(in srgb,var(--accent) 20%,transparent)!important; border-color:var(--accent)!important; box-shadow:inset 0 -3px 0 #0005,0 0 0 2px #58d6df12; }
.live-page .community-action { --button-accent:var(--violet); }
.live-page .button:hover,.live-page button:not(:disabled):hover { background:color-mix(in srgb,var(--accent) 24%,transparent); border-color:var(--accent); }
.live-page button:disabled { opacity:.5; cursor:not-allowed; }
.live-page a:focus-visible,.live-page button:focus-visible,.live-page input:focus-visible,.live-page textarea:focus-visible { outline:3px solid var(--gold); outline-offset:4px; }
.live-page .button::before { display:none; }
.player-toolbar { background:#111b28; border-bottom:1px solid var(--line); padding:13px 20px; }
.player-toolbar strong { font-size:13px; }
.offline-slate { gap:16px; padding:36px 24px; }
.offline-slate::before { opacity:.32; }
.offline-slate::after { background:linear-gradient(135deg,#080d14ab,#080d1444),radial-gradient(ellipse at 50% 25%,#152c4055,#080d14c9 75%); }
.channel-icon { width:58px; height:58px; color:var(--accent); filter:drop-shadow(0 0 20px #58d6df44); }
.offline-slate>span { border-radius:4px; font-size:9px; letter-spacing:.14em; font-weight:900; }
.offline-slate h2 { font-size:clamp(24px,3vw,38px); letter-spacing:-.04em; }
.offline-slate p { max-width:420px; font-size:13px; }
.broadcast-strip { gap:14px; }
.broadcast-strip article { border:1px solid var(--line); border-top:2px solid var(--accent); background:#111b28; border-radius:8px; padding:20px; }
.broadcast-strip article:nth-child(2) { border-top-color:var(--violet); }
.broadcast-strip article:nth-child(3) { border-top-color:var(--gold); }
.broadcast-strip article>span { font-size:9px; letter-spacing:.15em; color:var(--accent); }
.broadcast-strip strong { font-size:14px; }
.broadcast-strip p { font-size:12px; line-height:1.65; }
.chat-card { border-top:2px solid var(--violet); }
.chat-card h2,.side-card h2 { font-size:18px; letter-spacing:-.025em; }
.chat-card textarea { border:1px solid var(--line); border-radius:5px; background:#080d14; }
.live-skip { position:absolute;top:-100px;left:20px;z-index:100; }
.live-skip:focus { top:12px;background:var(--panel);padding:12px; }
@media(max-width:1100px){.live-layout{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.live-hero{grid-template-columns:1fr}.live-now-card{display:none}.live-copy{padding:18px}.hero-actions{gap:8px}.live-page .hero-actions .button{padding:12px}.live-copy h1{font-size:34px}}
@media(max-width:800px){.live-layout{grid-template-columns:1fr}.live-header{padding:16px 18px;position:relative}.live-header nav{gap:12px}.live-shell{width:calc(100% - 28px);margin-top:18px}.live-copy{padding:12px 4px}.live-copy h1{font-size:32px}.live-main-stack{gap:18px}.live-hero{gap:16px}.live-now-card{display:block}.broadcast-strip{grid-template-columns:1fr}.broadcast-strip article{padding:18px}.offline-slate{padding:24px 16px;gap:12px}.channel-icon{width:44px;height:44px}.offline-slate h2{font-size:25px}.offline-actions{gap:8px}.player-toolbar{padding:12px}.player-toolbar-actions{gap:5px}.live-page .player-toolbar button{font-size:9px;padding:9px;min-height:36px}.live-header nav{flex-wrap:wrap}.live-header{flex-wrap:wrap}.live-brand strong{font-size:15px}.live-copy .hero-actions{flex-wrap:wrap}.live-now-card{padding:20px}.live-kpi-grid{grid-template-columns:1fr 1fr}.live-page .offline-actions .button{font-size:9px;padding:11px}.live-page.is-theatre .live-now-card{display:none}}
@media(prefers-reduced-motion:reduce){.live-page *{scroll-behavior:auto!important;transition:none!important}}
.channel-masthead{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:10px 0 8px}.channel-masthead .eyebrow{font-size:10px;color:var(--accent);letter-spacing:.16em;margin:0 0 10px}.channel-masthead h1{font-size:clamp(28px,3vw,43px);letter-spacing:-.045em;line-height:1.15;margin:0 0 12px}.channel-masthead p{color:var(--muted);font-size:14px;margin:0}.live-hero{order:0}.live-copy h2{font-size:28px;letter-spacing:-.04em;margin:10px 0 16px}.live-header nav a{border-radius:5px;background:#58d6df08;border-color:#58d6df35}.live-copy{min-height:0}.live-now-card{min-height:0}.live-now-card .status-actions{display:flex;flex-wrap:wrap}.live-now-card .status-actions>*{flex:1}.live-now-card .mini-metrics{margin:12px 0}.live-now-card .live-next-mini{padding:10px}.live-now-card p{margin-bottom:12px}@media(max-width:650px){.channel-masthead{align-items:start;flex-direction:column;gap:18px;padding:8px 0}.channel-masthead h1{font-size:31px}.channel-masthead p{font-size:13px}.live-hero{order:0}.live-copy h2{font-size:27px}}
@media(max-width:800px){body.live-page[data-live-online="0"] .player-frame{min-height:300px}.offline-slate{min-height:100%}}
/* A focused watch room, with a discoverable community beyond the player. */
.watch-room-page .live-brand>span svg{width:24px;height:24px}.watch-room-page .live-header nav a{padding:10px 15px;background:transparent;border:1px solid transparent;font-size:11px}.watch-room-page .live-header nav a[aria-current=page]{border-color:#58d6df50;background:#58d6df12;color:var(--accent)}
.watch-room-page .channel-masthead{padding:16px 0 17px;border-bottom:1px solid var(--line);margin-bottom:6px}.watch-room-page .channel-masthead h1{font-size:clamp(30px,3.2vw,45px);background:linear-gradient(100deg,#f4f6fc,#b1e7eb);background-clip:text;-webkit-text-fill-color:transparent}.watch-benefits{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0 0}.watch-benefits span{padding:5px 9px;border:1px solid #58d6df25;border-radius:4px;background:#58d6df06;color:var(--muted);font-size:9px;letter-spacing:.03em}.watch-benefits span:nth-child(2){border-color:#b58cf030}.watch-benefits span:nth-child(3){border-color:#f0bd5530}
.watch-room-page .live-layout{grid-template-columns:minmax(0,1fr) 320px;gap:22px}.watch-room-page .player-card{border:1px solid #58d6df50;box-shadow:0 0 0 4px #58d6df05,0 25px 70px #0004;border-radius:12px}.watch-room-page .player-toolbar{background:linear-gradient(90deg,#172638,#111b28);padding:15px 18px}.watch-room-page .offline-slate:before{opacity:.5}.watch-room-page .offline-slate:after{background:radial-gradient(ellipse at 50% 25%,#0c223799,#080d14ba 72%),linear-gradient(100deg,#080d1499,transparent)}.watch-room-page .offline-slate .channel-icon{width:66px;height:66px;padding:8px;border:1px solid #58d6df38;background:#58d6df08;border-radius:12px}.watch-room-page .offline-slate h2{font-size:clamp(25px,2.6vw,36px);letter-spacing:-.035em;max-width:520px}.watch-room-page .offline-slate p{max-width:460px;font-size:13px;line-height:1.7}.watch-room-page .offline-slate>span{color:var(--gold);padding:5px 9px}.watch-room-page .offline-actions{margin-top:5px}.watch-room-page .viewer-hub{border-radius:10px;border-top:2px solid var(--accent);gap:9px;background:linear-gradient(145deg,#142a36,#111b28)}.watch-room-page .viewer-banner{min-height:78px}.watch-room-page .viewer-banner img{width:50px;height:50px;border-radius:9px;bottom:-18px}.watch-room-page .viewer-hub-head{padding-top:5px}.watch-room-page .viewer-hub-head h2{font-size:20px;letter-spacing:-.025em}.watch-room-page .viewer-hub p{font-size:12px;margin:0}.watch-room-page .chat-card{border:1px solid #b58cf045;border-top:2px solid var(--violet);min-height:480px;border-radius:10px;grid-template-rows:auto minmax(200px,1fr) auto auto}.watch-room-page .chat-head{padding:16px 14px;gap:10px;flex-wrap:wrap}.watch-room-page .chat-head h2{display:flex;align-items:center;gap:8px;font-size:17px;white-space:nowrap}.room-icon{width:22px;height:22px;flex-shrink:0}.watch-room-page .chat-head h2 .room-icon{color:var(--violet)}.watch-room-page .chat-head-actions{gap:7px}.watch-room-page .chat-head-actions strong{font-size:9px;padding:7px}.watch-room-page .chat-head-actions button{font-size:9px;padding:8px;min-height:34px}.watch-room-page .chat-compose input{border-radius:5px;border:1px solid var(--line);background:#080d14}.watch-room-page .chat-retention-note{font-size:10px}.watch-room-page .side-card{border-radius:10px;padding:22px}.watch-room-page .live-copy{padding:24px;border:1px solid var(--line);border-top:2px solid var(--accent);border-radius:10px;box-shadow:none}.watch-room-page .live-copy h2{font-size:26px}.watch-room-page .live-now-card{border-radius:10px}.watch-room-page .broadcast-strip article{background:linear-gradient(135deg,#152334,#111b28)}
.watch-discover{margin-top:35px}.watch-section-title{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:23px}.watch-eyebrow{font-size:10px;letter-spacing:.15em;font-weight:900;color:var(--accent);margin:0 0 12px}.watch-section-title h2,.watch-community h2{font-size:31px;letter-spacing:-.035em;margin:0 0 12px;line-height:1.2}.watch-section-title>p{font-size:13px;color:var(--muted);max-width:270px}.watch-destinations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.watch-destinations a{--destination-accent:var(--violet);display:flex;align-items:start;flex-direction:column;padding:27px;border:1px solid var(--line);border-top:2px solid var(--destination-accent);border-radius:10px;background:linear-gradient(135deg,#171f30,#111b28);color:var(--text);text-decoration:none}.watch-destinations a:nth-child(2){--destination-accent:var(--gold)}.watch-destinations a:nth-child(3){--destination-accent:var(--accent)}.watch-destinations .room-icon{width:31px;height:31px;margin-bottom:24px;color:var(--destination-accent)}.watch-destinations small{font-size:9px;letter-spacing:.13em;font-weight:900;color:var(--destination-accent)}.watch-destinations strong{font-size:23px;letter-spacing:-.025em;margin:12px 0}.watch-destinations p{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 20px}.watch-destinations b{font-size:10px;color:var(--destination-accent);margin-top:auto}.watch-destinations a:hover{border-color:var(--destination-accent);background:#192536}.watch-community{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:30px;border:1px solid #b58cf050;border-radius:12px;background:radial-gradient(ellipse at 90% 0%,#b58cf018,transparent 60%),#111b28;margin:25px 0}.watch-community .watch-eyebrow{color:var(--violet)}.watch-community p:not(.watch-eyebrow){font-size:13px;color:var(--muted);margin:0}.watch-footer{display:flex;flex-wrap:wrap;gap:24px;padding:15px 0 20px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}.watch-footer span{margin-right:auto}.watch-footer a{color:var(--muted);text-decoration:none}.live-page.is-theatre .watch-discover,.live-page.is-theatre .watch-community,.live-page.is-theatre .watch-footer{display:none}
@media(max-width:1050px){.watch-room-page .live-layout{grid-template-columns:minmax(0,1fr) 290px;gap:18px}.watch-room-page .live-hero{grid-template-columns:1fr}.watch-room-page .channel-masthead h1{font-size:37px}.watch-destinations{gap:15px}.watch-destinations a{padding:23px}.watch-destinations strong{font-size:21px}}
@media(max-width:800px){.watch-room-page .live-layout{grid-template-columns:1fr}.watch-room-page .live-header{padding:16px}.watch-room-page .live-header nav{width:100%;gap:6px}.watch-room-page .live-header nav a{padding:9px 12px;font-size:10px}.watch-room-page .channel-masthead{padding:4px 0 20px}.watch-room-page .channel-masthead h1{font-size:32px}.watch-benefits{margin-top:13px;gap:6px}.watch-benefits span{font-size:8px;padding:4px 7px}.watch-room-page .offline-slate .channel-icon{width:52px;height:52px}.watch-room-page .offline-slate h2{font-size:25px}.watch-room-page .offline-slate p{font-size:12px}.watch-room-page .player-toolbar{padding:12px}.watch-room-page .viewer-hub{gap:10px}.watch-room-page .viewer-hub-head h2{font-size:21px}.watch-room-page .chat-head{justify-content:space-between}.watch-room-page .chat-head-actions strong{font-size:10px}.watch-section-title{align-items:start;flex-direction:column;gap:0}.watch-section-title>p{max-width:none;margin-top:0}.watch-destinations{grid-template-columns:1fr;gap:15px}.watch-destinations a{padding:25px}.watch-destinations strong{font-size:24px}.watch-discover{margin-top:15px}.watch-community{align-items:start;flex-direction:column;padding:25px}.watch-community .button{width:100%;justify-content:center}.watch-section-title h2,.watch-community h2{font-size:29px}.watch-room-page .live-copy{padding:22px}.watch-room-page .chat-card{min-height:450px}}
@media(max-width:370px){.watch-room-page .offline-slate h2{font-size:22px}.watch-room-page .offline-slate{padding:22px 15px}.watch-room-page .channel-masthead h1{font-size:29px}.watch-room-page .player-toolbar strong{font-size:11px}.watch-room-page .live-header nav a{padding:9px 10px}}.watch-room-page .live-shell{width:calc(100% - 48px);max-width:1440px}
@media(max-width:800px){.watch-room-page .live-shell{width:calc(100% - 28px)}.watch-room-page .live-header nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.watch-room-page .live-header nav a{padding:9px 5px;text-align:center;font-size:9px}}
@media(max-width:370px){.watch-room-page .live-header nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
