@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #090c17;
  --surface: #101626;
  --raised: #192238;
  --line: #28334b;
  --text: #f4f5ff;
  --muted: #a5b0c9;
  --accent: #62d9f6;
  --accent-ink: #071521;
  --violet: #aa8cff;
  --pink: #ef71c4;
  --coral: #ff9c80;
  --brand-gradient: linear-gradient(110deg, #62d9f6, #a7a0ff 65%, #e89edb);
  --radius: 14px;
  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse 65% 450px at 75% 0, #43317d1c, transparent),
    var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
}
button:disabled {
  cursor: default;
  opacity: 0.42;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select,
input {
  outline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
}
h1,
h2,
h3,
p {
  margin: 0;
}
svg {
  display: block;
}
button svg {
  flex-shrink: 0;
}
[hidden] {
  display: none !important;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  padding: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  height: 82px;
  border-bottom: 1px solid var(--line);
  background: #0c101e;
  position: relative;
}
.site-header:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    #62d9f600,
    #62d9f670 25%,
    #aa8cff80 55%,
    #ef71c440 80%,
    #ef71c400
  );
}
.header-inner {
  height: 100%;
  max-width: 1536px;
  margin: auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  width: 139px;
  height: auto;
}
.brand-product {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid #aa8cff35;
  border-radius: 7px;
  background: linear-gradient(115deg, #62d9f610, #aa8cff16, #ef71c40a);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.3px;
  color: #d8d6fc;
}
.brand-signal {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 16px;
}
.brand-signal i {
  width: 2px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
}
.brand-signal i:nth-child(2),
.brand-signal i:nth-child(4) {
  height: 11px;
  background: var(--violet);
}
.brand-signal i:nth-child(3) {
  height: 16px;
  background: var(--pink);
}
.main-nav {
  height: 100%;
  display: flex;
}
.nav-link {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  position: relative;
}
.nav-link.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.connection-state {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin-right: 12px;
}
.connection-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
}
.connection-state.connected .connection-dot {
  background: var(--accent);
}
.connection-state.offline .connection-dot {
  background: #f0b26f;
}
.icon-button {
  height: 38px;
  width: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  transition:
    background 0.15s,
    color 0.15s;
}
.icon-button:hover {
  background: var(--raised);
  color: var(--text);
}
.icon-button[aria-pressed="true"] {
  color: var(--accent);
  background: #1e2d49;
}
.page {
  max-width: 1536px;
  margin: 0 auto;
  padding: 38px 48px 0;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 29px;
  gap: 20px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.8px;
  color: var(--muted);
}
.page-heading .eyebrow {
  color: var(--accent);
  margin-bottom: 7px;
}
h1 {
  font-size: 36px;
  letter-spacing: -1.4px;
  font-weight: 550;
  line-height: 1.2;
}
.page-description {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}
.live-summary {
  font-size: 12px;
  color: #bac6df;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
}
.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
}
.watch-stage {
  min-width: 0;
}
.player-shell {
  background: #070a14;
  position: relative;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
}
.player-media {
  position: relative;
  aspect-ratio: 16/9;
}
.player-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #070a14;
}
.player-topline {
  position: absolute;
  top: 19px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  text-shadow: 0 1px 8px #000;
}
.on-air {
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 5px;
  background: #e54740;
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.2px;
  padding: 4px 8px;
  text-shadow: none;
}
.on-air .live-dot {
  width: 5px;
  height: 5px;
  background: #fff;
}
.player-brand {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffffb3;
}
.player-brand span {
  font-weight: 450;
  letter-spacing: 1px;
}
.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 35px 28px;
  background:
    radial-gradient(ellipse at 3% 105%, #ff9c802b, transparent 36%),
    radial-gradient(ellipse at 20% 90%, #ef71c430, transparent 46%),
    radial-gradient(ellipse at 85% 10%, #386dca42, transparent 55%),
    radial-gradient(ellipse at 55% 110%, #8254df30, transparent 50%), #0b1020;
  z-index: 2;
}
.player-overlay:before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    105deg,
    #080c1800 0,
    #080c1830 25px,
    #b4a0ff0d 26px,
    #080c1800 52px
  );
  mask-image: linear-gradient(120deg, #000, transparent 65%, #000);
  pointer-events: none;
  z-index: -1;
}
.signal-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin-bottom: 25px;
  border-radius: 50%;
  background: linear-gradient(145deg, #62d9f612, #aa8cff20);
  border: 1px solid #aa8cff40;
  box-shadow:
    0 0 55px #7660e91a,
    inset 0 0 24px #62d9f60a;
  color: #c5c6ff;
}
.signal-art span {
  position: absolute;
  inset: -14px;
  border: 1px solid #aa8cff20;
  border-radius: 50%;
}
.signal-art span + span {
  inset: -28px;
  border-color: #aa8cff10;
}
.signal-art > .icon {
  height: 29px;
  width: 29px;
  stroke-width: 1.3;
}
.overlay-eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--accent);
  margin: 0 0 10px;
}
.player-overlay h2 {
  font-size: clamp(20px, 2.1vw, 29px);
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.25;
}
.player-overlay > p:last-of-type {
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
  max-width: 340px;
}
.player-overlay .button {
  margin-top: 20px;
}
.player-overlay.buffering {
  background: #070a14d9;
}
.player-overlay.buffering .signal-art {
  animation: breathe 1.8s ease-in-out infinite;
}
.player-overlay.is-paused {
  background: #070a1480;
}
.player-overlay.is-paused .signal-art,
.player-overlay.is-paused .overlay-eyebrow {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  min-height: 40px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button .icon {
  width: 17px;
  height: 17px;
}
.button-primary {
  background: var(--brand-gradient);
  color: var(--accent-ink);
}
.button-primary:hover {
  background: #9cecff;
}
.button-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: #dce4fa;
}
.button-secondary:hover {
  background: var(--raised);
}
.sound-prompt {
  position: absolute;
  top: 59px;
  left: 20px;
  background: #090c17df;
  backdrop-filter: blur(12px);
  border: 1px solid #ffffff30;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 11px;
  border-radius: 6px;
  z-index: 3;
}
.sound-prompt .icon {
  width: 15px;
  height: 15px;
}
.player-controls {
  position: relative;
  flex-shrink: 0;
  padding: 12px 17px 10px;
  border-top: 1px solid var(--line);
  background: #0d1424;
  z-index: 4;
}
.stream-timeline {
  height: 28px;
  position: relative;
  margin: 0 5px;
}
.timeline-track {
  position: absolute;
  inset: 12px 0 auto;
  height: 4px;
  background: #ffffff36;
  border-radius: 4px;
  overflow: hidden;
}
.timeline-track span {
  position: absolute;
  display: block;
  height: 100%;
  width: 0;
  background: #ffffff50;
}
#playedProgress {
  background: var(--accent);
}
.seek-slider {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
}
.seek-slider::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}
.seek-slider::-moz-range-track {
  height: 4px;
  background: transparent;
}
.seek-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--accent);
}
.seek-slider::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
}
.seek-slider:disabled { cursor: default; opacity: .4; }
.seek-slider:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.seek-preview {
  position: absolute;
  bottom: 26px;
  transform: translateX(-50%);
  padding: 5px 8px;
  border-radius: 5px;
  background: #050a14;
  color: white;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.timeline-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3px 12px;
  margin: 0 5px 5px;
  font-size: 11px;
  color: var(--muted);
}
.stream-time { color: #e7ecff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.time-caption { color: var(--muted); }
#timelineHint { font-variant-numeric: tabular-nums; }
.control-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.player-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  height: 35px;
  width: 35px;
  border-radius: 6px;
}
.player-button:hover {
  background: #ffffff20;
}
.player-button .icon {
  height: 19px;
  width: 19px;
}
.volume-slider {
  width: 65px;
  height: 3px;
  accent-color: var(--accent);
  cursor: pointer;
  margin: 0 12px 0 0;
}
.go-live {
  display: flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: white;
  padding: 8px;
}
.go-live.behind .live-dot {
  background: var(--muted);
}
.control-spacer {
  flex: 1;
}
.player-quality {
  font-size: 10px;
  font-weight: 600;
  color: #e7ecff;
  margin: 0 5px;
  letter-spacing: 0.5px;
}
.player-shell:fullscreen {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}
.player-shell:fullscreen .player-media {
  flex: 1;
  min-height: 0;
  aspect-ratio: auto;
}
.player-shell:fullscreen .player-controls {
  padding-bottom: 20px;
}
.player-shell:fullscreen .player-overlay h2 {
  font-size: 36px;
}
.stream-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 23px 0;
}
.stream-identity {
  display: flex;
  gap: 13px;
  align-items: center;
  min-width: 0;
}
.channel-avatar {
  width: 46px;
  height: 46px;
  background: #1c2441;
  border: 1px solid #3b4370;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}
.channel-avatar .icon {
  width: 23px;
  height: 23px;
}
.stream-heading-text {
  min-width: 0;
}
.stream-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 1.5px;
  margin-bottom: 3px;
}
.stream-heading h2 {
  font-size: 21px;
  line-height: 1.25;
  font-weight: 550;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
}
.stream-heading p:last-child {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.stream-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.preferences {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 90px;
  align-items: center;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(100deg, #141d31, #161a30 70%, #1d1932);
  padding: 16px 18px;
  gap: 18px;
  width: 100%;
  margin: 0;
  box-shadow: 0 12px 32px #03061325;
}
.preference {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
  padding-right: 15px;
  border-right: 1px solid var(--line);
}
.preference-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
}
.preference-label .icon {
  width: 13px;
  height: 13px;
  color: var(--accent);
}
.preference:nth-child(2) .icon {
  color: var(--violet);
}
.preference:nth-child(3) .icon {
  color: var(--pink);
}
select {
  width: 100%;
  min-width: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  border: 0;
  padding: 2px 15px 2px 0;
  cursor: pointer;
}
select:disabled {
  opacity: 0.5;
  cursor: default;
}
option {
  background: var(--surface);
}
.diagnostics-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
  padding: 2px 0 2px 4px;
  min-height: 44px;
  border-radius: 6px;
}
.diagnostics-button:hover,
.diagnostics-button[aria-pressed="true"] {
  color: var(--accent);
}
.diagnostics-button .icon {
  height: 17px;
  width: 17px;
}
.watch-note {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding: 22px 0;
}
.watch-note-icon {
  color: #92a2c5;
  display: grid;
  place-items: center;
  width: 31px;
  flex-shrink: 0;
}
.watch-note-icon .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.3;
}
.watch-note h3 {
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 3px;
}
.watch-note p {
  font-size: 11px;
  color: var(--muted);
}
.dub-status {
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}
.room-browser {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 23px 19px 0;
  scroll-margin-top: 18px;
  min-width: 0;
}
.browser-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 21px;
}
.browser-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 1.6px;
  margin-bottom: 5px;
}
.browser-heading h2 {
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.count-badge {
  background: #253253;
  color: #c6d8fa;
  min-width: 22px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 500;
}
.browser-heading .icon-button {
  width: 30px;
  height: 30px;
}
.browser-heading .icon {
  width: 16px;
  height: 16px;
}
.search-field {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0b1020;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  color: var(--muted);
}
.search-field:focus-within {
  border-color: var(--accent);
}
.search-field .icon {
  width: 15px;
  height: 15px;
}
.search-field input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 11px;
  outline: none;
  line-height: 30px;
}
.search-field input::placeholder {
  color: #93a2c0;
}
.room-filters {
  display: flex;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  margin-top: 16px;
  padding-bottom: 13px;
}
.filter-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: transparent;
  border-radius: 5px;
  color: var(--muted);
  font-size: 10px;
}
.filter-button.active {
  background: #233255;
  color: #d0e2ff;
}
.filter-button .live-dot {
  width: 4px;
  height: 4px;
}
.rooms {
  padding: 8px 0 16px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.room-card {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 12px;
  transition:
    background 0.15s,
    border-color 0.15s;
  position: relative;
}
.room-card:hover:not(:disabled) {
  background: #1a2440;
}
.room-card.selected {
  border-color: #798fee;
  background: #1a2a49;
}
.room-card:disabled {
  opacity: 1;
}
.room-card:disabled .room-name {
  color: var(--muted);
}
.room-card.selected:before {
  content: "";
  width: 3px;
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: -1px;
  border-radius: 0 2px 2px 0;
  background: var(--accent);
}
.room-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.room-art {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(ellipse at 20% 0, #344f86, transparent 85%), #141c35;
  border: 1px solid #8baaff30;
  color: var(--accent);
}
.room-art .icon {
  height: 21px;
  width: 21px;
  stroke-width: 1.3;
}
.room-art.tone-1 {
  background:
    radial-gradient(ellipse at 20% 0, #4e3b7d, transparent 85%), #20182f;
  color: #cebafa;
}
.room-art.tone-2 {
  background:
    radial-gradient(ellipse at 20% 0, #784553, transparent 85%), #301c2c;
  color: #ffc0bf;
}
.room-art.offline {
  background: #1a2032;
  color: #8795b4;
}
.room-info {
  min-width: 0;
  flex: 1;
}
.room-name {
  font-size: 12px;
  font-weight: 550;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.room-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #acbedd;
  font-size: 9px;
  margin-top: 5px;
}
.room-status .live-dot {
  width: 4px;
  height: 4px;
}
.room-status.offline .live-dot {
  background: #8795b4;
}
.room-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 13px;
  font-size: 9px;
  color: var(--muted);
}
.room-meta span + span:before {
  content: "·";
  margin-right: 5px;
  color: #7583a6;
}
.watching-label {
  margin-left: auto !important;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
}
.watching-label:before {
  display: none;
}
.equalizer {
  height: 10px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.equalizer i {
  display: block;
  width: 2px;
  height: 7px;
  background: currentColor;
}
.equalizer i:nth-child(2) {
  height: 10px;
}
.equalizer i:nth-child(3) {
  height: 5px;
}
.browser-footer {
  border-top: 1px solid var(--line);
  padding: 17px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
}
.browser-footer .live-dot {
  width: 4px;
  height: 4px;
  background: #aa8cff;
}
.room-empty {
  padding: 28px 8px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.room-empty .icon {
  margin: 0 auto 12px;
  width: 23px;
  height: 23px;
  color: #bba5f6;
}
.room-empty strong {
  display: block;
  color: #dae4fa;
  font-weight: 500;
  margin-bottom: 5px;
}
.room-empty p {
  font-size: 11px;
  line-height: 1.6;
}
.room-empty button {
  margin: 13px auto 0;
}
.room-skeleton {
  height: 100px;
  margin-top: 7px;
  border-radius: 8px;
  background: linear-gradient(110deg, #182036 20%, #23304c 45%, #182036 70%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}
.notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-top: 13px;
  border: 1px solid #354c77;
  border-radius: 8px;
  background: #19273e;
  color: #c6dafa;
  font-size: 12px;
}
.notice.warn {
  background: #302617;
  border-color: #614b28;
  color: #eed2a8;
}
.notice.err {
  background: #331e1c;
  border-color: #6b3a32;
  color: #ffd1c6;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--accent);
  padding: 3px 0;
  font-size: 12px;
  font-weight: 500;
}
.text-button:hover {
  text-decoration: underline;
}
.text-button .icon {
  width: 15px;
  height: 15px;
}
.statsbox {
  position: absolute;
  top: 55px;
  left: 18px;
  right: 18px;
  max-width: 390px;
  background: #0e162bf2;
  border: 1px solid #425982;
  border-radius: 8px;
  padding: 13px 15px;
  z-index: 5;
  backdrop-filter: blur(10px);
  font-size: 11px;
}
.statsbox dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 18px;
  margin: 0;
}
.statsbox dt {
  color: var(--muted);
}
.statsbox dd {
  margin: 0;
  color: #e5ecff;
  font-variant-numeric: tabular-nums;
}
.statsbox h3 {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding: 22px 0 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 10px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.footer-brand img {
  width: 83px;
  height: auto;
  opacity: 0.8;
}
.footer-brand span {
  color: #b8b9df;
  font-size: 10px;
  letter-spacing: 0.2px;
}
.site-footer .text-button {
  margin-left: auto;
  font-size: 10px;
  color: #b7c5e7;
}
.watch-layout.theater {
  grid-template-columns: minmax(0, 1fr);
}
.watch-layout.theater .companion-rail {
  display: none;
}
.watch-layout.theater .player-shell {
  max-height: 80vh;
  aspect-ratio: 16/9;
  width: 100%;
}
dialog {
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: #131b2e;
  color: var(--text);
  border: 1px solid #3a4768;
  border-radius: 16px;
  padding: 27px;
  box-shadow: 0 24px 80px #0008;
}
dialog::backdrop {
  background: #050915b8;
  backdrop-filter: blur(5px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 17px;
}
.dialog-heading h2 {
  font-size: 23px;
  letter-spacing: -0.8px;
  font-weight: 550;
}
.dialog-heading .eyebrow {
  font-size: 8px;
  margin-bottom: 4px;
  color: var(--accent);
}
dialog p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.form-label {
  display: block;
  font-size: 12px;
  margin: 21px 0 8px;
}
.text-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #3a4768;
  border-radius: 7px;
  padding: 10px 12px;
  background: #0b1020;
  color: var(--text);
  font-size: 13px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.form-error {
  margin-top: 10px;
  color: #ffbaab;
}
.help-item {
  display: flex;
  gap: 15px;
  margin-top: 22px;
}
.help-item > .icon {
  color: var(--accent);
  margin-top: 3px;
  width: 19px;
  height: 19px;
}
.help-item h3 {
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 4px;
}
.share-message {
  margin-top: 10px;
}
.noscript {
  padding: 20px;
  background: #382819;
  color: #ffe4b9;
  text-align: center;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@keyframes breathe {
  50% {
    opacity: 0.45;
  }
}
@media (min-width: 1600px) {
  .page {
    padding-top: 45px;
  }
  .page-heading {
    margin-bottom: 34px;
  }
  .watch-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 32px;
  }
}
@media (max-width: 1100px) {
  .header-inner {
    padding: 0 28px;
    gap: 40px;
  }
  .page {
    padding: 30px 28px 0;
  }
  .watch-layout {
    grid-template-columns: minmax(0, 1fr) 275px;
    gap: 20px;
  }
  .room-browser {
    padding: 20px 14px 0;
  }
  .preferences {
    padding: 12px;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 65px;
  }
  .preference {
    padding-right: 10px;
  }
  .stream-heading h2 {
    font-size: 18px;
  }
  .stream-actions .button {
    padding: 9px 12px;
  }
  .signal-art {
    width: 62px;
    height: 62px;
    margin-bottom: 21px;
  }
  .player-overlay > p:last-of-type {
    font-size: 11px;
  }
  .overlay-eyebrow {
    font-size: 8px;
  }
  .watch-note p {
    max-width: 390px;
  }
}
@media (max-width: 850px) {
  .watch-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .room-browser {
    padding: 21px 20px 0;
  }
  .rooms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }
  .room-empty {
    grid-column: 1/-1;
  }
  .room-filters {
    margin-top: 12px;
  }
  .room-card {
    min-height: 98px;
  }
  .browser-heading {
    margin-bottom: 15px;
  }
  .search-field {
    max-width: 100%;
  }
  .browser-footer {
    justify-content: flex-start;
  }
  .watch-note {
    margin-top: 22px;
    padding: 18px 0;
  }
  .page-heading {
    margin-bottom: 25px;
  }
  .theater-button {
    display: none;
  }
  .signal-art {
    width: 82px;
    height: 82px;
    margin-bottom: 25px;
  }
  .player-overlay h2 {
    font-size: 27px;
  }
  .watch-layout.theater .companion-rail {
    display: block;
  }
  .player-overlay > p:last-of-type {
    font-size: 12px;
  }
  .header-inner {
    gap: 35px;
  }
  .stream-heading h2 {
    font-size: 21px;
  }
}
@media (max-width: 560px) {
  .site-header {
    height: 68px;
  }
  .header-inner {
    padding: 0 18px;
    gap: 12px;
  }
  .brand {
    gap: 9px;
  }
  .brand-logo {
    width: 108px;
  }
  .brand-product {
    font-size: 10px;
    padding: 4px 7px;
    gap: 5px;
    letter-spacing: 0;
  }
  .main-nav {
    display: none;
  }
  .connection-state {
    display: none;
  }
  .header-actions {
    gap: 2px;
  }
  .header-actions .icon-button {
    height: 35px;
    width: 35px;
  }
  .page {
    padding: 25px 16px 0;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 23px;
    gap: 9px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
    margin-bottom: 7px;
  }
  h1 {
    font-size: 28px;
    letter-spacing: -1px;
  }
  .page-description {
    font-size: 11px;
    margin-top: 7px;
  }
  .live-summary {
    margin-top: 5px;
    font-size: 9px;
    gap: 5px;
    max-width: 88px;
    line-height: 1.6;
  }
  .live-summary .live-dot {
    width: 5px;
    height: 5px;
  }
  .player-shell {
    border-radius: 11px 11px 0 0;
  }
  .player-overlay {
    padding: 18px 15px;
  }
  .signal-art {
    width: 39px;
    height: 39px;
    margin-bottom: 13px;
  }
  .signal-art > .icon {
    width: 20px;
    height: 20px;
  }
  .signal-art span {
    inset: -8px;
  }
  .signal-art span + span {
    inset: -15px;
  }
  .overlay-eyebrow {
    display: none;
  }
  .player-overlay h2 {
    font-size: 19px;
    letter-spacing: -0.4px;
  }
  .player-overlay > p:last-of-type {
    font-size: 10px;
    margin-top: 6px;
    max-width: 265px;
  }
  .player-overlay .button {
    margin-top: 12px;
    min-height: 32px;
    font-size: 10px;
    padding: 7px 11px;
  }
  .player-topline {
    left: 13px;
    right: 13px;
    top: 12px;
  }
  .on-air {
    font-size: 8px;
    padding: 3px 6px;
  }
  .player-brand {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .player-controls {
    padding: 10px 8px 4px;
  }
  .control-row {
    gap: 0;
  }
  .player-button {
    width: 36px;
    height: 36px;
  }
  .player-button .icon {
    width: 17px;
    height: 17px;
  }
  .volume-slider {
    display: none;
  }
  .go-live {
    font-size: 9px;
    gap: 5px;
    padding: 8px;
  }
  .player-quality {
    font-size: 9px;
  }
  .sound-prompt {
    top: 42px;
    left: 13px;
    padding: 5px 8px;
    font-size: 9px;
  }
  .sound-prompt .icon {
    width: 12px;
    height: 12px;
  }
  .stream-heading {
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
  }
  .channel-avatar {
    width: 39px;
    height: 39px;
    border-radius: 11px;
  }
  .channel-avatar .icon {
    width: 20px;
    height: 20px;
  }
  .stream-identity {
    gap: 10px;
  }
  .stream-heading h2 {
    font-size: 17px;
  }
  .stream-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 1.2px;
  }
  .stream-heading p:last-child {
    font-size: 10px;
  }
  .stream-actions .button {
    height: 35px;
    min-height: 35px;
    padding: 8px 10px;
  }
  .stream-actions .button span {
    display: none;
  }
  .preferences {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
    gap: 10px 12px;
    border-radius: 0 0 11px 11px;
  }
  .preference {
    gap: 4px;
    padding-right: 12px;
  }
  .preference:nth-child(2) {
    border-right: 0;
    padding-right: 0;
  }
  .preference-label {
    font-size: 10px;
    gap: 6px;
  }
  .preference-label .icon {
    width: 11px;
    height: 11px;
  }
  select {
    font-size: 12px;
    min-height: 36px;
  }
  .diagnostics-button {
    width: 100%;
    padding: 10px;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    background: #aa8cff0c;
    border: 1px solid #aa8cff25;
  }
  .diagnostics-button span {
    display: inline;
    font-size: 11px;
  }
  .diagnostics-button .icon {
    width: 12px;
    height: 12px;
  }
  .watch-note {
    gap: 9px;
    margin-top: 22px;
    padding: 16px 0 0;
    border-top: 0;
  }
  .watch-note h3 {
    font-size: 11px;
  }
  .watch-note p {
    font-size: 10px;
  }
  .watch-note-icon {
    width: 23px;
  }
  .watch-note-icon .icon {
    width: 20px;
    height: 20px;
  }
  .watch-layout {
    gap: 26px;
  }
  .room-browser {
    padding: 20px 15px 0;
  }
  .rooms {
    display: flex;
  }
  .browser-heading h2 {
    font-size: 20px;
  }
  .room-card {
    padding: 12px;
    min-height: 0;
  }
  .room-name {
    font-size: 13px;
  }
  .room-status {
    font-size: 10px;
  }
  .room-meta {
    font-size: 10px;
  }
  .watching-label {
    font-size: 9px;
  }
  .search-field {
    height: 42px;
  }
  .search-field input {
    font-size: 16px;
  }
  .filter-button {
    font-size: 11px;
    min-height: 35px;
  }
  .site-footer {
    margin-top: 28px;
    gap: 13px;
    flex-wrap: wrap;
  }
  .site-footer .text-button {
    font-size: 10px;
  }
  .statsbox {
    top: 43px;
    left: 10px;
    right: 10px;
    padding: 10px;
    font-size: 9px;
    max-height: calc(100% - 87px);
    overflow: auto;
  }
  .statsbox dl {
    gap: 3px 12px;
  }
  .statsbox h3 {
    font-size: 8px;
    margin-bottom: 5px;
  }
  .notice {
    align-items: flex-start;
    flex-direction: column;
    font-size: 11px;
  }
  .dialog-heading h2 {
    font-size: 21px;
  }
  dialog {
    padding: 22px;
  }
  .text-input {
    font-size: 16px;
  }
  .dialog-actions .button {
    font-size: 11px;
  }
  .room-art {
    width: 49px;
    height: 49px;
  }
}
@media (pointer: coarse) {
  .player-button,
  .icon-button {
    min-width: 44px;
    min-height: 44px;
  }
  .filter-button {
    min-height: 44px;
  }
  .sound-prompt {
    min-height: 32px;
  }
  select {
    min-height: 44px;
  }
}
@media (max-width: 340px) {
  .player-quality {
    display: none;
  }
  .header-inner {
    gap: 8px;
  }
  .brand-logo {
    width: 88px;
  }
  .brand {
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
