/* The site's form (website/holo.css) on the Live page outside a room: the classic wall, its controls and every dialog.
   The classic wall is the deck of the main room seen without its scene. The bar, the switches and the viewing desk
   are glass inside a lit line; every screen stands in a ring of light and its caption (name, state, sound, full
   screen) hangs below it, as in a room, so nothing is drawn in front of a player. The dialogs, the toast and the
   way out of cinema mode wear the same form in every mode, rooms included.

   Weight: every rule starts at body:not(#old). No element has that id, so the selector always matches and adds the
   weight of an id; together with the element's own id, where the older sheets name one, a rule here outranks
   theirs without repeating their selectors. A classic-wall rule also starts at html:not([data-room]), so it cannot
   reach a room (rooms.css loads after this file and keeps the last word there).

   Geometry: the grid, its columns and gaps and every player's size stay as the older sheets set them. A tile keeps
   its 1 px border, which is the first pixel of its ring; the rest of the ring and its glow are painted on a layer
   under all screens. The one added space is the caption strip under each row of screens (--hw-cap). */

body:not(#old) {
  /* Local values (holo.css has none for them) */
  --hw-cap: 38px;                 /* the caption strip under a screen */
  --hw-lit: #6ff6ff12;            /* a row under the pointer */
  --hw-lit-on: #6ff6ff1f;         /* the current row, a pressed quiet control */
  --hw-cell: #6ff6ff0a;           /* a quiet cell inside a panel */
  --hw-field: #041232b3;          /* the ground of an input */
  --hw-thumb: #2a7bff;            /* the scroll thumb, as on the page */
  --hw-glow-fill: 0 0 18px -3px var(--holo-blue);   /* the light of a filled control */
  --hw-red: #ff4d74;              /* the red of the reconnect key's number and of its offline state */
  --hw-title-glow: 0 0 22px #1e7bffb3;              /* a title on the wall or in a dialog: the glow of a News lead */
  --hw-plate: linear-gradient(180deg, #0a2a6cf5, #061538fa);   /* a small plate that floats over anything: the glass, nearly opaque */
  /* A screen's ring on the wall. The tile's own border is its first pixel; the glow is kept close, because the
     caption under a screen stands on the sky and must stay readable there. */
  --hw-ring: 0 0 0 .5px var(--holo-accent), 0 0 26px -8px var(--holo-glow);
  --hw-ring-near: 0 0 0 .5px var(--holo-edge), 0 0 30px -6px var(--holo-blue);
  --hw-ring-on: 0 0 0 1px var(--holo-bright), 0 0 30px -5px var(--holo-accent);
  --hw-ring-off: 0 0 0 .5px var(--holo-line), 0 0 22px -12px var(--holo-glow);
  --hw-ring-picked: 0 0 0 2px var(--holo-edge), 0 0 30px -5px var(--holo-accent);
}

/* =====================================================================================================
   The classic wall
   ===================================================================================================== */

/* The older sheets read their colours from these names; outside a room they are the deck's. */
html:not([data-room]) body:not(#old) {
  --desk-ink: var(--holo-ink); --desk-muted: var(--holo-dim); --desk-accent: var(--holo-accent);
  --desk-surface: var(--holo-glass-thin); --desk-border: var(--holo-line); --desk-line: var(--holo-hair);
  --text: var(--holo-ink); --muted: var(--holo-dim); --subtle: var(--holo-faint); --line: var(--holo-hair); --line-strong: var(--holo-line);
  --hw-light: var(--holo-live);
}
html:not([data-room]) body:not(#old)[data-section=economy] { --hw-light: var(--holo-economy); }

html:not([data-room]) body:not(#old) :is(.broadcast-intro, .broadcast-grid) :focus-visible { outline: 2px solid var(--holo-bright); outline-offset: 3px; }

/* ---------- Opening: the section's name as a title of the deck, three clocks in light numerals ---------- */
html:not([data-room]) body:not(#old) .broadcast-intro {
  padding: 30px 24px 26px; gap: 26px 40px; border: 0; overflow: visible;
  background: var(--holo-rule) left bottom / 100% 1px no-repeat;
}
html:not([data-room]) body:not(#old) .broadcast-intro .universe-kicker { display: flex; align-items: center; gap: 10px; }
html:not([data-room]) body:not(#old) .broadcast-intro .universe-kicker::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--hw-light); box-shadow: 0 0 12px var(--hw-light); }
html:not([data-room]) body:not(#old) .broadcast-intro h1 {
  margin: 12px 0 0; font: 600 clamp(32px, 4.6vw, 62px)/1.04 var(--holo-font); letter-spacing: .012em;
  color: var(--holo-bright) !important; text-shadow: var(--holo-title-glow); text-wrap: balance;
}
html:not([data-room]) body:not(#old) .broadcast-intro h1 em { font: inherit; font-style: normal; color: var(--holo-accent); }
html:not([data-room]) body:not(#old) .broadcast-intro-copy p { margin: 0 0 20px; font: 400 15px/1.6 var(--holo-read); color: var(--holo-text); opacity: 1; }
html:not([data-room]) body:not(#old) .timezone-row {
  gap: 10px 28px; padding-top: 14px; border-top: 1px solid var(--holo-hair);
  font: 600 10px/1.4 var(--holo-font); letter-spacing: .24em; text-transform: uppercase; color: var(--holo-dim);
}
html:not([data-room]) body:not(#old) .timezone-row b {
  display: block; margin: 6px 0 0; font: 300 26px/1 var(--holo-font); letter-spacing: .06em; color: var(--holo-bright);
  font-variant-numeric: tabular-nums; text-shadow: 0 0 16px var(--holo-blue);
}
html:not([data-room]) body:not(#old) .broadcast-index {
  padding: 0; font: 600 62px/.9 var(--holo-font); letter-spacing: .1em; text-align: end; color: #0000;
  -webkit-text-stroke: 1px var(--holo-line); filter: drop-shadow(0 0 10px var(--holo-glow));
}

/* ---------- Page frame: the same margins as before, written for both reading directions ---------- */
html:not([data-room]) body:not(#old) .broadcast-grid { padding-inline: 0 24px; }
html:not([data-room]) body:not(#old) .workspace { padding-inline: 24px 0; }

/* ---------- Viewing desk: a glass panel that keeps its place while the wall scrolls ---------- */
/* The panel scrolls inside itself, so the frame is its own background (it stays put) under the panel's own cut. */
html:not([data-room]) body:not(#old) .channel-sidebar {
  top: 14px; max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px);
  margin: 22px 0 0; margin-inline-start: 24px; padding: 22px 0 20px; padding-inline: 16px 12px; border: 0;
  background: var(--holo-frame), var(--holo-scan), var(--holo-sheen), var(--holo-glass);
  clip-path: var(--holo-chamfer); box-shadow: var(--holo-inner); color: var(--holo-ink);
  scrollbar-color: var(--holo-line) #0000;
}
html:not([data-room]) body:not(#old) .desk-label {
  gap: 9px; padding-bottom: 16px; font: 600 10px/1.4 var(--holo-font); letter-spacing: .14em; text-transform: uppercase;
  color: var(--holo-accent); text-shadow: var(--holo-label-glow);
}
html:not([data-room]) body:not(#old) .desk-label i { width: 8px; height: 8px; flex: none; border-radius: 0; background: var(--holo-edge); box-shadow: 0 0 12px var(--holo-accent); }
html:not([data-room]) body:not(#old) .sidebar-actions { gap: 0; margin-bottom: 22px; }
html:not([data-room]) body:not(#old) .sidebar-actions :is(a, button) {
  gap: 8px; min-height: 38px; padding: 4px 6px; border-bottom: 1px solid var(--holo-hair); border-radius: 8px;
  font: 600 12px/1.3 var(--holo-font); letter-spacing: .04em; text-align: start; color: var(--holo-ink);
}
html:not([data-room]) body:not(#old) .sidebar-actions span { font-size: 15px; line-height: 1; color: var(--holo-accent); }
html:not([data-room]) body:not(#old) .sidebar-actions span[data-icon] { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; }
html:not([data-room]) body:not(#old) .sidebar-actions span[data-icon] svg { width: 19px; height: 19px; }
html:not([data-room]) body:not(#old) .sidebar-actions b { margin: 0; margin-inline-start: auto; font-size: 11px; color: var(--holo-accent); opacity: 1; }
html:not([data-room]) body:not(#old) .source-list-head {
  align-items: baseline; gap: 10px; padding: 0 8px 10px; border-bottom: 1px solid var(--holo-hair);
  font: 600 10px/1.4 var(--holo-font); letter-spacing: .2em; text-transform: uppercase; color: var(--holo-dim);
}
html:not([data-room]) body:not(#old) .source-list-head b { font: 300 22px/1 var(--holo-font); letter-spacing: .06em; color: var(--holo-bright); font-variant-numeric: tabular-nums; text-shadow: 0 0 16px var(--holo-blue); }
html:not([data-room]) body:not(#old) .source-list { padding: 6px 0 8px; }
html:not([data-room]) body:not(#old) .source-list button {
  gap: 10px; min-height: 34px; padding: 7px 8px; padding-inline-start: 6px; border: 0; border-bottom: 1px solid var(--holo-hair); border-inline-start: 2px solid #0000; border-radius: 6px;
  font: 400 12.5px/1.4 var(--holo-read); text-align: start; color: var(--holo-text); opacity: 1;
}
html:not([data-room]) body:not(#old) .source-list button span { font: 600 10px/1 var(--holo-font); letter-spacing: .1em; color: var(--holo-faint); opacity: 1; font-variant-numeric: tabular-nums; }
html:not([data-room]) body:not(#old) .source-list button.is-selected { border-inline-start-color: var(--holo-accent); background: var(--hw-lit-on); color: var(--holo-bright); }
html:not([data-room]) body:not(#old) .source-list button.is-selected::after { margin: 0; margin-inline-start: auto; color: var(--holo-accent); }
html:not([data-room]) body:not(#old) .sidebar-note { margin-top: 6px; padding: 16px 8px 0; border-top: 1px solid var(--holo-hair); }
html:not([data-room]) body:not(#old) .sidebar-note > span { font: 600 10px/1.4 var(--holo-font); letter-spacing: .2em; color: var(--holo-accent); }
html:not([data-room]) body:not(#old) .sidebar-note p { margin: 10px 0; font: 400 12px/1.6 var(--holo-read); color: var(--holo-dim); opacity: 1; }
html:not([data-room]) body:not(#old) .sidebar-note button {
  display: inline-flex; align-items: center; min-height: 30px; font: 600 10.5px/1.5 var(--holo-font); letter-spacing: .14em; text-transform: uppercase;
  text-align: start; color: var(--holo-accent); text-decoration: underline; text-decoration-color: var(--holo-line); text-underline-offset: 4px;
}

/* ---------- Bar: the deck's control bar, standing above the wall ---------- */
html:not([data-room]) body:not(#old) .workspace .topbar {
  height: auto; min-height: 0; margin: 0 0 14px; padding: 7px 8px; gap: 8px 14px;
  border: 1px solid var(--holo-line); border-radius: 14px; background: var(--holo-glass-thin) !important;
  box-shadow: var(--holo-inner); color: var(--holo-ink);
}
html:not([data-room]) body:not(#old) .topbar-lead { gap: 8px 10px; }
html:not([data-room]) body:not(#old) .topbar-actions { gap: 8px; margin: 0; margin-inline-start: auto; padding: 0; }
html:not([data-room]) body:not(#old) .topbar .collection-btn {
  width: auto; min-width: 118px; max-width: min(240px, 44vw); height: 36px !important; min-height: 36px; padding: 0 12px; gap: 8px;
  border: 1px solid var(--holo-line) !important; border-radius: 8px !important; background: var(--holo-glass-thin) !important;
  color: var(--holo-ink) !important; font: 600 12px/1 var(--holo-font); letter-spacing: .14em; text-transform: uppercase;
}
html:not([data-room]) body:not(#old) .topbar .collection-btn > span[data-icon] { margin: 0; margin-inline-start: auto; }
html:not([data-room]) body:not(#old) .topbar .collection-btn > span[data-icon] svg { color: var(--holo-dim); }
html:not([data-room]) body:not(#old) .topbar .collection-flag svg { color: var(--holo-accent); }
/* The two walls are one control whose current side is lit; each dot is its section's light. */
html:not([data-room]) body:not(#old) .topbar .site-tabs { gap: 3px; padding: 2px; border: 1px solid var(--holo-line); border-radius: 10px; background: var(--holo-glass-thin); box-shadow: var(--holo-inner); }
html:not([data-room]) body:not(#old) .topbar .site-tab {
  gap: 8px; min-height: 30px; padding: 0 13px !important; border: 0 !important; border-radius: 7px !important; background: none !important;
  color: var(--holo-dim) !important; opacity: 1; font: 600 12px/1 var(--holo-font) !important; letter-spacing: .16em; text-transform: uppercase;
}
html:not([data-room]) body:not(#old) .topbar .site-tab[data-tab=live] { --dot: var(--holo-live); }
html:not([data-room]) body:not(#old) .topbar .site-tab[data-tab=economy] { --dot: var(--holo-economy); }
html:not([data-room]) body:not(#old) .topbar .site-tab .site-tab-dot {
  display: inline-block !important; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--dot, var(--holo-accent));
  box-shadow: 0 0 10px var(--dot, var(--holo-accent)); opacity: 1; animation: none;
}
html:not([data-room]) body:not(#old) .topbar .site-tab[aria-pressed=true] { background: var(--holo-fill) !important; color: var(--holo-on-accent) !important; box-shadow: var(--hw-glow-fill); }
html:not([data-room]) body:not(#old) .topbar .site-tab[aria-pressed=true] .site-tab-dot { background: var(--holo-on-accent); box-shadow: none; }
/* One family of square glass keys */
html:not([data-room]) body:not(#old) .topbar .icon-btn {
  width: 36px !important; height: 36px !important; min-width: 36px !important; min-height: 36px; padding: 0;
  border: 1px solid var(--holo-line) !important; border-radius: 8px !important; background: var(--holo-glass-thin) !important;
  color: var(--holo-ink) !important; box-shadow: none !important;
}
html:not([data-room]) body:not(#old) .topbar .icon-btn svg { width: 17px; height: 17px; stroke-width: 1.7; }
html:not([data-room]) body:not(#old) .topbar .icon-btn:active { background: var(--hw-lit-on) !important; }
html:not([data-room]) body:not(#old) .topbar .icon-btn:disabled { opacity: .45; }
/* Sound on: the key is lit. */
html:not([data-room]) body:not(#old) .topbar #muteBtn[aria-pressed=false] { border-color: #0000 !important; background: var(--holo-fill) !important; color: var(--holo-on-accent) !important; box-shadow: var(--hw-glow-fill) !important; }
/* Reconnect is the round key (the keyboard help names it so): a ring of light turns around it while the wall
   reconnects, and a red number counts offline screens. */
html:not([data-room]) body:not(#old) .topbar #goLiveBtn { position: relative; overflow: visible; border-radius: 50% !important; }
html:not([data-room]) body:not(#old) .topbar #goLiveBtn.is-busy:disabled { opacity: 1; }
html:not([data-room]) body:not(#old) .topbar #goLiveBtn.is-busy::before { inset: -6px; border-color: #0000; border-top-color: var(--holo-accent); border-right-color: var(--holo-accent); }
html:not([data-room]) body:not(#old) .topbar #goLiveBtn.has-offline { border-color: var(--hw-red) !important; background: var(--holo-glass-thin) !important; color: var(--hw-red) !important; }
html:not([data-room]) body:not(#old) .topbar #goLiveBtn .reconnect-badge {
  top: -7px; right: auto; inset-inline-end: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 6px;
  background: var(--hw-red); color: var(--holo-on-accent); font: 600 10.5px/18px var(--holo-font); letter-spacing: 0;
  box-shadow: 0 0 0 2px var(--holo-space), 0 0 12px var(--hw-red) !important;
}
html:not([data-room]) body:not(#old) .topbar .audio-dock { gap: 8px; min-height: 0; padding: 0; }
html:not([data-room]) body:not(#old) .topbar .audio-controls { gap: 8px; }
html:not([data-room]) body:not(#old) .topbar .dock-divider { width: 1px; height: 20px; margin: 0 2px; background: var(--holo-line); }
/* Volume: a line of light with a bright knob */
html:not([data-room]) body:not(#old) .topbar .volume-control { gap: 8px; color: var(--holo-dim); }
html:not([data-room]) body:not(#old) .topbar .volume-control input[type=range] { -webkit-appearance: none; appearance: none; width: 72px; height: 30px; margin: 0; background: none; cursor: pointer; }
html:not([data-room]) body:not(#old) .topbar .volume-control input[type=range]::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: var(--holo-line); }
html:not([data-room]) body:not(#old) .topbar .volume-control input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -6px; border: 0; border-radius: 50%; background: var(--holo-edge); box-shadow: 0 0 10px var(--holo-accent); }
html:not([data-room]) body:not(#old) .topbar .volume-control input[type=range]::-moz-range-track { height: 2px; border-radius: 2px; background: var(--holo-line); }
html:not([data-room]) body:not(#old) .topbar .volume-control input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--holo-edge); box-shadow: 0 0 10px var(--holo-accent); }
html:not([data-room]) body:not(#old) .topbar .utc-clock {
  margin: 0 4px; font: 600 11px/1 var(--holo-font); letter-spacing: .14em; color: var(--holo-dim) !important; font-variant-numeric: tabular-nums;
}

/* ---------- Market strip: the provider's readout in a glass strip ---------- */
html:not([data-room]) body:not(#old) .market-tape {
  margin: 0 0 2px; border: 1px solid var(--holo-line) !important; border-radius: 10px; background: var(--holo-glass-thin) !important;
  box-shadow: var(--holo-inner); color: var(--holo-ink); font: 600 11px/1.4 var(--holo-font); letter-spacing: .14em;
}
html:not([data-room]) body:not(#old) .market-tape-credit { border: 0; border-inline-start: 1px solid var(--holo-hair); color: var(--holo-dim) !important; }
/* The Economy wall asks the provider for its light readout (tape.js), whose figures are dark: there the strip is lit. */
html:not([data-room]) body:not(#old)[data-section=economy] .market-tape { border-color: #0000 !important; background: linear-gradient(180deg, var(--holo-bright), var(--holo-edge)) !important; box-shadow: var(--hw-glow-fill); color: var(--holo-on-accent); }
html:not([data-room]) body:not(#old)[data-section=economy] .market-tape-credit { border-inline-start-color: var(--holo-on-accent); color: var(--holo-on-accent) !important; }

/* ---------- Arrangement: a label, one segmented switch, the ways into a room and a wider wall ---------- */
html:not([data-room]) body:not(#old) .view-switch { flex-wrap: wrap; justify-content: flex-start; gap: 10px 14px; padding: 14px 0; border: 0; background: var(--holo-rule) left bottom / 100% 1px no-repeat; }
html:not([data-room]) body:not(#old) .view-switch > span {
  font: 600 11px/1.4 var(--holo-font); letter-spacing: .26em; text-transform: uppercase; color: var(--holo-accent);
  text-shadow: var(--holo-label-glow); opacity: 1;
}
html:not([data-room]) body:not(#old) .view-switch > span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 10px; background: var(--holo-edge); box-shadow: 0 0 12px var(--holo-accent); }
html:not([data-room]) body:not(#old) .view-switch > div { gap: 3px; padding: 2px; border: 1px solid var(--holo-line); border-radius: 10px; background: var(--holo-glass-thin); box-shadow: var(--holo-inner); }
html:not([data-room]) body:not(#old) .view-switch button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border: 1px solid #0000; border-radius: 7px;
  background: none; color: var(--holo-dim); font: 600 11.5px/1 var(--holo-font); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
html:not([data-room]) body:not(#old) .view-switch button svg { width: 15px; height: 15px; }
html:not([data-room]) body:not(#old) .view-switch .room-button { min-height: 36px; padding: 0 14px; border-color: var(--holo-line); border-radius: 8px; background: var(--holo-glass-thin); color: var(--holo-ink); }
html:not([data-room]) body:not(#old) .view-switch .rm-enter { margin: 0; margin-inline-start: auto; border-color: var(--holo-accent); color: var(--holo-bright); box-shadow: 0 0 18px -6px var(--holo-accent), var(--holo-inner); }
html:not([data-room]) body:not(#old) .view-switch .rm-enter + .room-button { margin: 0; }
html:not([data-room]) body:not(#old) .view-switch button[aria-pressed=true] { border-color: #0000; background: var(--holo-fill); color: var(--holo-on-accent); box-shadow: var(--hw-glow-fill); }

/* ---------- Wall heading, ticker, the players notice ---------- */
html:not([data-room]) body:not(#old) .toolbar { min-height: 0; padding: 20px 0 10px; gap: 12px 16px; align-items: end; background: none; color: inherit; }
html:not([data-room]) body:not(#old) .wall-display-title {
  margin: 0 0 6px; font: 600 clamp(20px, 2.1vw, 28px)/1.15 var(--holo-font) !important; letter-spacing: .02em;
  color: var(--holo-bright); text-shadow: var(--hw-title-glow);
}
html:not([data-room]) body:not(#old) .wall-description { margin: 0; font: 400 13px/1.6 var(--holo-read); color: var(--holo-dim); opacity: 1; }
html:not([data-room]) body:not(#old) .grid-controls :is(.btn-quiet, .icon-btn) {
  min-height: 36px; padding: 0 14px; border: 1px solid var(--holo-line); border-radius: 8px; background: var(--holo-glass-thin);
  color: var(--holo-ink); font: 600 11.5px/1 var(--holo-font); letter-spacing: .14em; text-transform: uppercase;
}
html:not([data-room]) body:not(#old) .toolbar .ticker {
  --ink: #071a3f; /* the strip's own blue, for the fades at its ends */ height: 38px; border: 1px solid var(--holo-line); border-radius: 8px; background: var(--holo-glass-thin);
  box-shadow: var(--holo-inner); font: 600 13px/38px var(--holo-font); letter-spacing: .04em;
}
html:not([data-room]) body:not(#old) .ticker-item { border-color: var(--holo-hair); }
html:not([data-room]) body:not(#old) .ticker-name { font-size: 11px; letter-spacing: .16em; color: var(--holo-dim); }
html:not([data-room]) body:not(#old) .ticker-value { color: var(--holo-bright); font-weight: 600; }
html:not([data-room]) body:not(#old) .ticker-change { font-size: 12px; font-weight: 600; color: var(--holo-dim); }
html:not([data-room]) body:not(#old) .ticker-item[data-direction=up] .ticker-change { color: var(--holo-ok); }
html:not([data-room]) body:not(#old) .ticker-item[data-direction=down] .ticker-change { color: var(--holo-live); }
html:not([data-room]) body:not(#old) .media-notice {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 0 0 16px; padding: 9px 14px !important;
  border: 1px solid var(--holo-hair) !important; border-radius: 8px !important; background: var(--hw-cell) !important;
  font: 400 12px/1.6 var(--holo-read); color: var(--holo-text); opacity: 1;
}
html:not([data-room]) body:not(#old) .media-notice a { margin: -6px 0; margin-inline-start: auto; padding: 6px 0; color: var(--holo-accent); text-decoration: underline; text-decoration-color: var(--holo-line); text-underline-offset: 3px; }

/* ---------- The wall: screens in rings of light, captions below them ---------- */
/* The wall is one layer of its own: the rings (z-index -1) are painted under every screen of the wall, so no ring
   or glow can lie over a player, a neighbour's included. A tile must not make a layer of its own for that. */
html:not([data-room]) body:not(#old) .main > #wall { isolation: isolate; }
html:not([data-room]) body:not(#old) #wall > .tile {
  overflow: visible; margin-block-end: var(--hw-cap);
  border: 1px solid var(--holo-accent) !important; border-radius: 8px !important; background: var(--holo-deep) !important; box-shadow: none !important;
}
html:not([data-room]) body:not(#old) #wall > .tile::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 9px; pointer-events: none; box-shadow: var(--hw-ring); }
html:not([data-room]) body:not(#old) #wall > .tile:focus-within::before { box-shadow: var(--hw-ring-near); }
html:not([data-room]) body:not(#old) #wall > .tile.unavailable { border-color: var(--holo-line) !important; }
html:not([data-room]) body:not(#old) #wall > .tile.unavailable::before { box-shadow: var(--hw-ring-off); }
html:not([data-room]) body:not(#old) #wall > .tile.desk-selected { border-color: var(--holo-edge) !important; }
html:not([data-room]) body:not(#old) #wall > .tile.desk-selected::before { box-shadow: var(--hw-ring-picked); }
html:not([data-room]) body:not(#old) #wall > .tile.listening { border-color: var(--holo-bright) !important; }
html:not([data-room]) body:not(#old) #wall > .tile.listening::before { box-shadow: var(--hw-ring-on); }
/* The screen's ground lies under the player; the caption leaves the screen's box, so the box itself clips nothing. */
html:not([data-room]) body:not(#old) #wall > .tile > .tile-media { overflow: visible; border-radius: 7px; background: var(--holo-scan), var(--holo-sheen), var(--holo-deep); }
html:not([data-room]) body:not(#old) #wall .tile-media > :is(.player-host, .preview-play) { border-radius: 7px; overflow: hidden; }
html:not([data-room]) body:not(#old) #wall .tile-media:fullscreen { border-radius: 0; }
html:not([data-room]) body:not(#old) #wall .tile-media:fullscreen > * { border-radius: 0; }
html:not([data-room]) body:not(#old) #wall .tile-media:fullscreen .tile-hud { display: none !important; }
html:not([data-room]) body:not(#old) #wall .tile-media:-webkit-full-screen > * { border-radius: 0; }
html:not([data-room]) body:not(#old) #wall .tile-media:-webkit-full-screen .tile-hud { display: none !important; }
/* A screen that waits: a ring with the play mark and what a press does */
html:not([data-room]) body:not(#old) #wall .preview-play { inset: 0; width: auto; height: auto; padding: 8px; gap: 8px; border: 0; background: none; color: var(--holo-ink); box-shadow: none; }
html:not([data-room]) body:not(#old) #wall .preview-play > svg {
  width: 38px; height: 38px; padding: 10px; border: 1.5px solid var(--holo-accent); border-radius: 50%; background: var(--holo-glass-thin);
  color: var(--holo-bright); box-shadow: 0 0 18px -2px var(--holo-glow), var(--holo-inner);
}
html:not([data-room]) body:not(#old) #wall .preview-play > span {
  display: block; max-width: 100%; padding: 0; overflow: hidden; border-radius: 0; background: none; white-space: nowrap; text-overflow: ellipsis;
  font: 600 9.5px/1.2 var(--holo-font); letter-spacing: .2em; text-transform: uppercase; color: var(--holo-accent); text-shadow: var(--holo-label-glow);
}
/* A screen without a broadcast says so on its own ground (the player is taken away first). */
html:not([data-room]) body:not(#old) #wall .tile-media:is([data-status=offline], [data-status=unknown])::after { border-radius: 7px; }
html:not([data-room]) body:not(#old) #wall .player-message { border-radius: 7px; background: var(--holo-scan), var(--holo-sheen), var(--holo-deep); color: var(--holo-dim); font: 400 12px/1.5 var(--holo-read); }
html:not([data-room]) body:not(#old) #wall .player-message strong { font: 600 12px/1.3 var(--holo-font); letter-spacing: .14em; text-transform: uppercase; color: var(--holo-bright); }
/* Caption: the name over the state and the place, the screen's two keys at its end */
html:not([data-room]) body:not(#old) #wall .tile-hud {
  inset-block: 100% auto; inset-inline: 0; height: var(--hw-cap); min-height: 0; padding: 5px 1px 0; gap: 8px;
  align-items: center; justify-content: space-between; background: none; opacity: 1 !important; pointer-events: auto !important; transition: none;
}
html:not([data-room]) body:not(#old) #wall .tile-ident {
  display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); grid-template-areas: "name name" "state place"; align-items: center;
  gap: 4px 8px; flex: 1 1 auto; min-width: 0; max-width: none; overflow: hidden; color: var(--holo-ink); text-shadow: none; visibility: visible !important;
}
html:not([data-room]) body:not(#old) #wall .tile-ident .tile-name {
  grid-area: name; display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font: 600 12px/1.2 var(--holo-font) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--holo-bright) !important;
}
html:not([data-room]) body:not(#old) #wall .tile-hud .tile-country {
  grid-area: place; display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font: 600 9.5px/1.2 var(--holo-font); letter-spacing: .12em; text-transform: uppercase; color: var(--holo-dim);
}
html:not([data-room]) body:not(#old) #wall .tile-hud .stream-state {
  grid-area: state; max-width: 100%; font: 600 9.5px/1.2 var(--holo-font) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--holo-dim);
}
html:not([data-room]) body:not(#old) #wall .tile-hud .stream-state::before { width: 5px; height: 5px; margin: 0; margin-inline-end: 6px; border-radius: 50%; background: var(--holo-dim); }
html:not([data-room]) body:not(#old) #wall .tile-hud .stream-state[data-state=playing] { color: var(--holo-accent); text-shadow: var(--holo-label-glow); }
html:not([data-room]) body:not(#old) #wall .tile-hud .stream-state[data-state=playing]::before { background: var(--holo-accent); box-shadow: 0 0 8px var(--holo-accent); }
/* The warm state is read on the sky, at its brightest too: its words are a lighter warm than its dot. */
html:not([data-room]) body:not(#old) #wall .tile-hud .stream-state:is([data-state=error], [data-state=blocked], [data-state=unknown], [data-state=offline], [data-state=ended]) { color: var(--holo-warn); color: color-mix(in srgb, var(--holo-warn) 65%, var(--holo-bright)); }
html:not([data-room]) body:not(#old) #wall .tile-hud .stream-state:is([data-state=error], [data-state=blocked], [data-state=unknown], [data-state=offline], [data-state=ended])::before { background: var(--holo-warn); }
html:not([data-room]) body:not(#old) #wall .tile-actions { flex: none; flex-direction: row; gap: 2px; pointer-events: auto; }
html:not([data-room]) body:not(#old) #wall .tile-btn {
  width: 30px !important; height: 30px !important; min-width: 30px; min-height: 30px; padding: 0; border: 1px solid #0000; border-radius: 8px;
  background: none; color: var(--holo-dim); -webkit-backdrop-filter: none; backdrop-filter: none; visibility: visible !important;
}
html:not([data-room]) body:not(#old) #wall .tile-btn svg { width: 15px; height: 15px; }
html:not([data-room]) body:not(#old) #wall .tile-btn:focus-visible { border-color: var(--holo-line); background: var(--hw-lit); color: var(--holo-bright); }
html:not([data-room]) body:not(#old) #wall .tile .listen-btn[aria-pressed=true] { border-color: #0000; background: var(--holo-fill); color: var(--holo-on-accent); box-shadow: var(--hw-glow-fill); }
html:not([data-room]) body:not(#old)[data-view=comfort] #wall .tile-ident .tile-name { font-size: 13px !important; }
html:not([data-room]) body:not(#old)[data-view=focus] #wall .tile-ident .tile-name { font-size: 14px !important; }
/* The wall before it has screens, and a wall with none */
html:not([data-room]) body:not(#old) :is(#wall, noscript) .empty-state {
  position: relative; isolation: isolate; gap: 12px; min-height: 240px; padding: 34px 24px; border: 0; border-radius: var(--holo-cut);
  box-shadow: var(--holo-halo); color: var(--holo-text); font: 400 14px/1.6 var(--holo-read);
}
html:not([data-room]) body:not(#old) :is(#wall, noscript) .empty-state::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; clip-path: var(--holo-chamfer);
  background: var(--holo-frame), var(--holo-scan), var(--holo-sheen), var(--holo-glass); box-shadow: var(--holo-inner);
}
html:not([data-room]) body:not(#old) :is(#wall, noscript) .empty-state:not(:has(*)) { font: 600 11px/1.6 var(--holo-font); letter-spacing: .26em; text-transform: uppercase; color: var(--holo-accent); text-shadow: var(--holo-label-glow); }
html:not([data-room]) body:not(#old) :is(#wall, noscript) .empty-state svg { width: 30px; height: 30px; color: var(--holo-accent); }
html:not([data-room]) body:not(#old) :is(#wall, noscript) .empty-state :is(h2, h3) { margin: 0; font: 600 22px/1.2 var(--holo-font); letter-spacing: .02em; color: var(--holo-bright); text-shadow: var(--hw-title-glow); }
html:not([data-room]) body:not(#old) :is(#wall, noscript) .empty-state p { max-width: 44ch; margin: 0; font-size: 14px; color: var(--holo-text); }
html:not([data-room]) body:not(#old) :is(#wall, noscript) .empty-state .btn {
  min-height: 40px; margin-top: 4px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--holo-fill); color: var(--holo-on-accent);
  font: 600 12px/1 var(--holo-font); letter-spacing: .16em; text-transform: uppercase; box-shadow: var(--hw-glow-fill);
}
/* Under the wall */
html:not([data-room]) body:not(#old) .wall-caption {
  flex-wrap: wrap; gap: 6px 24px; margin-top: 4px; padding: 16px 0 6px; background: var(--holo-rule) left top / 100% 1px no-repeat;
  font: 600 10.5px/1.6 var(--holo-font); letter-spacing: .16em; text-transform: uppercase; color: var(--holo-dim); opacity: 1;
}
html:not([data-room]) body:not(#old) .wall-caption i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--holo-ok); box-shadow: 0 0 10px var(--holo-ok); }

/* ---------- Narrower windows: the same margins and wraps as before ---------- */
@media (max-width: 1100px) {
  html:not([data-room]) body:not(#old) .broadcast-intro { padding-inline: 18px; }
  html:not([data-room]) body:not(#old) .broadcast-grid { padding-inline-end: 18px; }
  html:not([data-room]) body:not(#old) .workspace { padding-inline-start: 18px; }
  html:not([data-room]) body:not(#old) .channel-sidebar { margin-inline-start: 18px; padding: 20px 0 18px; padding-inline: 12px 8px; }
}
/* Where one row cannot hold the label, the switch and both room keys: the label takes a row of its own first, and
   in a narrower window the two keys share the row under the switch. */
@media (min-width: 1101px) and (max-width: 1279px) {
  html:not([data-room]) body:not(#old) .view-switch > span { flex: 1 0 100%; }
}
@media (max-width: 900px) {
  html:not([data-room]) body:not(#old) .view-switch { display: grid; grid-template-columns: fit-content(60%) minmax(0, 1fr); justify-items: start; align-items: center; }
  html:not([data-room]) body:not(#old) .view-switch > :is(span, div) { grid-column: 1 / -1; }
  html:not([data-room]) body:not(#old) .view-switch .room-button { padding-block: 6px; line-height: 1.2; text-align: start; white-space: normal; }
  html:not([data-room]) body:not(#old) .view-switch .rm-enter { margin-inline-start: 0; }
}
@media (max-width: 700px) {
  html:not([data-room]) body:not(#old) .broadcast-intro { padding: 22px 18px 20px; gap: 18px; }
  html:not([data-room]) body:not(#old) .broadcast-intro-copy p { margin-bottom: 16px; font-size: 14px; }
  html:not([data-room]) body:not(#old) .timezone-row { justify-content: flex-start; gap: 10px 22px; font-size: 9.5px; letter-spacing: .18em; }
  html:not([data-room]) body:not(#old) .timezone-row b { display: block; margin: 5px 0 0; font-size: 21px; }
  html:not([data-room]) body:not(#old) .broadcast-grid { padding-inline: 18px; }
  html:not([data-room]) body:not(#old) .workspace { padding-inline: 0; }
  html:not([data-room]) body:not(#old) .workspace .topbar { min-height: 0; gap: 8px; }
  html:not([data-room]) body:not(#old) .topbar .collection-btn { min-width: 0; flex: 0 1 auto; font-size: 11px; letter-spacing: .1em; }
  html:not([data-room]) body:not(#old) .topbar .site-tab { padding: 0 10px !important; font-size: 11px !important; letter-spacing: .1em; }
  html:not([data-room]) body:not(#old) .view-switch { gap: 8px; }
  html:not([data-room]) body:not(#old) .view-switch button { padding: 0 10px; font-size: 11px; letter-spacing: .1em; }
  html:not([data-room]) body:not(#old) .view-switch .room-button { padding: 0 11px; }
  html:not([data-room]) body:not(#old) .media-notice { display: block; }
  html:not([data-room]) body:not(#old) .media-notice a { margin-inline-start: 6px; }
  html:not([data-room]) body:not(#old) .wall-caption { font-size: 10px; letter-spacing: .12em; }
}
@media (max-width: 540px) {
  html:not([data-room]) body:not(#old) .view-switch > span { font-size: 10px; letter-spacing: .2em; }
}
@media (max-width: 420px) {
  html:not([data-room]) body:not(#old) .topbar .site-tab { gap: 0; padding: 0 9px !important; letter-spacing: .06em; }
  html:not([data-room]) body:not(#old) .topbar .site-tab .site-tab-dot { display: none !important; }
  html:not([data-room]) body:not(#old) .view-switch button { letter-spacing: .06em; }
}
/* The wider wall leaves the desk out; its margins are equal on both sides. */
html:not([data-room]) body:not(#old).room-expanded .broadcast-grid { padding-inline: 20px !important; }
html:not([data-room]) body:not(#old).room-expanded .workspace { padding-inline: 0; }

/* =====================================================================================================
   Dialogs, the toast and the way out of cinema mode: in every mode, rooms included
   ===================================================================================================== */

/* A dialog is a glass panel of the deck. It may scroll inside itself, so the frame is the dialog's own background
   (it stays put while the content moves) under the dialog's own cut; its halo is the light of the backdrop. */
body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory, #shortcuts) {
  --text: var(--holo-ink); --muted: var(--holo-dim); --subtle: var(--holo-faint); --line: var(--holo-hair); --line-strong: var(--holo-line);
  --modal-paper: #0000; --modal-tint: var(--hw-lit-on); --modal-ink: var(--holo-ink); --section: var(--holo-accent);
  border: 0 !important; border-radius: 0 !important; clip-path: var(--holo-chamfer-lg);
  background: var(--holo-frame-lg), var(--holo-scan), var(--holo-sheen), var(--holo-glass) !important;
  box-shadow: var(--holo-inner); color: var(--holo-ink) !important; color-scheme: dark; font-family: var(--holo-read);
  scrollbar-color: var(--hw-thumb) #0000;
}
/* The backdrop spells its two colours out (the deck's space and its glow): not every browser hands a backdrop the
   page's values. */
body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory, #shortcuts)::backdrop {
  background: radial-gradient(70% 60% at 50% 46%, #1e9bff2e, #0000 72%), #030a24d9;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory, #shortcuts) :is(.country-nav, .directory-list, .picker-body, .search-field) { color-scheme: dark; scrollbar-color: var(--hw-thumb) #0000; }
/* Where a browser draws these scrollers from the older sheets' own parts, their thumb is the deck's too. */
body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory, #shortcuts)::-webkit-scrollbar-thumb,
body:not(#old) :is(#picker, #directory) :is(.country-nav, .directory-list)::-webkit-scrollbar-thumb { background-color: var(--hw-thumb); }
body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory, #shortcuts) :focus-visible { outline: 2px solid var(--holo-bright) !important; outline-offset: 3px; }

/* Headings: a label of the deck over a title */
body:not(#old) :is(#picker, #directory, #shortcuts) .dialog-heading { color: inherit; }
body:not(#old) :is(#picker, #directory, #shortcuts) .dialog-heading .icon-btn { margin: 0; }
body:not(#old) :is(#picker, #directory, #shortcuts) .eyebrow {
  display: flex; align-items: center; gap: 10px; font: 600 11px/1.3 var(--holo-font); letter-spacing: .28em; text-transform: uppercase;
  color: var(--holo-accent) !important; text-shadow: var(--holo-label-glow);
}
body:not(#old) :is(#picker, #directory, #shortcuts) .eyebrow::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--holo-edge); box-shadow: 0 0 12px var(--holo-accent); }
body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory, #shortcuts) h2 {
  font-family: var(--holo-font); font-weight: 600; font-style: normal; letter-spacing: .02em; color: var(--holo-bright) !important; text-shadow: var(--hw-title-glow);
}
body:not(#old) :is(#picker, #directory, #shortcuts) .dialog-heading p { font: 400 13px/1.55 var(--holo-read); color: var(--holo-dim) !important; }

/* Controls: square glass keys, quiet buttons, one filled button for the main step */
body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory, #shortcuts) .icon-btn {
  border: 1px solid var(--holo-line) !important; border-radius: 8px !important; background: var(--holo-glass-thin) !important;
  color: var(--holo-ink) !important; box-shadow: none;
}
body:not(#old) :is(#picker, #directory, #shortcuts) .icon-btn { width: 36px; height: 36px; }
body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory, #shortcuts) .icon-btn svg { width: 17px; height: 17px; }
body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory, #shortcuts) :is(.btn, .picker-share button) {
  gap: 8px; border: 1px solid var(--holo-line) !important; border-radius: 8px !important;
  background: var(--holo-glass-thin) !important; color: var(--holo-ink) !important;
  font: 600 11.5px/1 var(--holo-font); letter-spacing: .14em; text-transform: uppercase; box-shadow: none; filter: none;
}
body:not(#old) :is(#picker, #directory, #shortcuts) :is(.btn, .picker-share button) { min-height: 36px; padding: 0 14px; }
body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory, #shortcuts) :is(.btn-primary, .btn[aria-pressed=true]) {
  border-color: #0000 !important; background: var(--holo-fill) !important; color: var(--holo-on-accent) !important; box-shadow: var(--hw-glow-fill);
}
body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory, #shortcuts) :is(.btn, .icon-btn):disabled { opacity: .45; }
body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory, #shortcuts) :is(.btn, .icon-btn, .picker-share button):active { background: var(--hw-lit-on) !important; }
body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory, #shortcuts) :is(.btn-primary, .btn[aria-pressed=true]):active { background: var(--holo-fill) !important; filter: brightness(.94); }

/* Fields: glass with a line that lights up */
body:not(#old) :is(#picker, #directory) :is(.country-search, .search-field) {
  border: 1px solid var(--holo-line) !important; border-radius: 8px !important; background: var(--hw-field) !important;
  color: var(--holo-dim) !important; box-shadow: var(--holo-inner);
}
body:not(#old) :is(#picker, #directory) :is(.country-search, .search-field):focus-within {
  border-color: var(--holo-accent) !important; background: var(--hw-field) !important; box-shadow: 0 0 0 1px var(--holo-accent), 0 0 24px -4px var(--holo-glow);
}
body:not(#old) :is(#picker, #directory) :is(.country-search, .search-field) svg { color: var(--holo-accent) !important; }
body:not(#old) :is(#picker, #directory) :is(.country-search, .search-field) input {
  min-height: 42px; border: 0; background: none !important; color: var(--holo-bright) !important; font-family: var(--holo-read); outline: 0 !important; box-shadow: none !important;
}
body:not(#old) :is(#picker, #directory) :is(.country-search, .search-field) input::placeholder { color: var(--holo-faint); opacity: 1; }
body:not(#old) #picker #shareWallLink {
  min-height: 40px; padding: 0 12px; border: 1px solid var(--holo-line); border-radius: 8px; background: var(--hw-field);
  color: var(--holo-bright); font-family: var(--holo-read); box-shadow: var(--holo-inner);
}

/* ---------- Players choice ---------- */
body:not(#old) #mediaConsent .consent-head { background: none !important; color: inherit !important; }
body:not(#old) #mediaConsent .consent-brand > .consent-label {
  margin-inline: auto 0; font: 600 10.5px/1.3 var(--holo-font); letter-spacing: .24em; color: var(--holo-accent); text-shadow: var(--holo-label-glow);
}
body:not(#old) #mediaConsent h2 { margin: 18px 0 8px; font-size: 34px; line-height: 1.08; letter-spacing: .012em; text-shadow: var(--holo-title-glow); }
body:not(#old) #mediaConsent p { font-family: var(--holo-read); }
body:not(#old) #mediaConsent .consent-intro { color: var(--holo-text); }
body:not(#old) #mediaConsent .consent-facts { gap: 12px; margin: 0; padding: 0 28px; }
body:not(#old) #mediaConsent .consent-facts > div { padding: 16px; border: 1px solid var(--holo-hair); border-radius: 8px; background: var(--hw-cell); }
body:not(#old) #mediaConsent .consent-symbol {
  border: 1.5px solid var(--holo-accent); background: var(--holo-glass-thin); color: var(--holo-bright);
  box-shadow: 0 0 14px -2px var(--holo-glow), var(--holo-inner);
}
body:not(#old) #mediaConsent .consent-facts p { color: var(--holo-text); }
body:not(#old) #mediaConsent .consent-facts p strong { font: 600 14.5px/1.3 var(--holo-font); letter-spacing: .02em; color: var(--holo-bright); }
body:not(#old) #mediaConsent .consent-decide { background: none; color: inherit; }
body:not(#old) #mediaConsent .consent-terms { color: var(--holo-dim) !important; }
body:not(#old) #mediaConsent a { color: var(--holo-accent); text-decoration-color: var(--holo-line); text-decoration-thickness: 1px; }
/* The two answers keep the approved wording as it is written. */
body:not(#old) #mediaConsent .consent-actions .btn {
  min-height: 46px; padding: 8px 16px; font: 600 14px/1.25 var(--holo-font); letter-spacing: .06em; text-transform: none;
  white-space: normal; text-align: center;
}
body:not(#old) #mediaConsent .consent-session { color: var(--holo-faint) !important; }

/* ---------- Collection picker ---------- */
body:not(#old) #picker :is(.picker-head, .picker-fixed, .picker-body, .picker-share) { background: none !important; color: inherit !important; }
body:not(#old) #picker .picker-fixed { border-bottom: 1px solid var(--holo-hair); }
/* Global and the watchlist: two small panels with a light numeral */
body:not(#old) #picker .picker-fixed .nav-item {
  position: relative; isolation: isolate; border: 0; border-radius: 8px; background: none !important; color: var(--holo-ink) !important;
  font: 600 14px/1.25 var(--holo-font); letter-spacing: .1em; text-transform: uppercase;
}
body:not(#old) #picker .picker-fixed .nav-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; clip-path: var(--holo-chamfer-sm);
  background: var(--holo-frame-sm), var(--holo-scan), var(--hw-cell);
}
body:not(#old) #picker .picker-fixed .nav-item[aria-current=page]::before { background: var(--holo-frame-sm), var(--holo-scan), var(--hw-lit-on); }
body:not(#old) #picker .picker-fixed .nav-item small { font: 400 12px/1.5 var(--holo-read); letter-spacing: 0; text-transform: none; color: var(--holo-dim) !important; }
body:not(#old) #picker .picker-fixed .nav-icon { border: 0 !important; color: var(--holo-accent) !important; }
body:not(#old) #picker .picker-fixed .nav-count {
  font: 300 30px/1 var(--holo-font); letter-spacing: .04em; text-align: end; color: var(--holo-bright) !important;
  font-variant-numeric: tabular-nums; text-shadow: 0 0 16px var(--holo-blue);
}
body:not(#old) #picker .picker-fixed .nav-count::after { margin-top: 6px; font: 600 9px/1 var(--holo-font); letter-spacing: .2em; color: var(--holo-dim) !important; text-shadow: none; }
body:not(#old) #picker .picker-countries-head { border-bottom: 1px solid var(--holo-hair) !important; }
body:not(#old) #picker .sidebar-label { font: 600 11px/1.3 var(--holo-font); letter-spacing: .26em; color: var(--holo-accent) !important; text-shadow: var(--holo-label-glow); }
body:not(#old) #picker .picker-legend { font-family: var(--holo-read); color: var(--holo-dim) !important; }
/* Countries: rows that light up */
body:not(#old) #picker .country-nav { padding-inline: 0 6px; }
body:not(#old) #picker .country-nav .nav-item {
  border: 0; border-bottom: 1px solid var(--holo-hair); border-inline-start: 2px solid #0000; border-radius: 6px; background: none !important;
  color: var(--holo-ink) !important; font: 400 13.5px/1.2 var(--holo-read);
}
body:not(#old) #picker .country-nav .nav-count { font: 600 12px/1 var(--holo-font); letter-spacing: .06em; color: var(--holo-dim) !important; font-variant-numeric: tabular-nums; }
body:not(#old) #picker .country-nav .nav-item[aria-current=page] { border-inline-start-color: var(--holo-accent); background: var(--hw-lit-on) !important; color: var(--holo-bright) !important; }
body:not(#old) #picker .country-nav .nav-item[aria-current=page] .nav-count { color: var(--holo-accent) !important; }
body:not(#old) #picker .nav-empty { font-family: var(--holo-read); color: var(--holo-dim); }
body:not(#old) #picker .picker-share { border-top: 1px solid var(--holo-hair); }
body:not(#old) #picker .picker-share button svg { color: var(--holo-accent); }

/* ---------- Channel directory ---------- */
body:not(#old) #directory .directory-filters { border-bottom: 1px solid var(--holo-hair); }
body:not(#old) #directory .directory-filters select {
  min-height: 34px; border: 1px solid var(--holo-line) !important; border-radius: 8px; background: var(--hw-field) !important;
  flex: 1 1 110px; min-width: 0; color: var(--holo-ink) !important; color-scheme: dark !important; font: 400 12.5px/1.2 var(--holo-read);
}
body:not(#old) #directory .directory-filters > span {
  text-align: end; font: 600 10.5px/1.4 var(--holo-font); letter-spacing: .16em; text-transform: uppercase; color: var(--holo-dim) !important;
}
body:not(#old) #directory .directory-row { border-bottom: 1px solid var(--holo-hair); border-radius: 8px; }
body:not(#old) #directory .channel-avatar {
  border: 1px solid var(--holo-line); border-radius: 8px; background: var(--hw-lit); color: var(--holo-accent) !important;
  font: 600 12px/1 var(--holo-font); letter-spacing: .06em;
}
body:not(#old) #directory .directory-info { color: var(--holo-ink) !important; }
body:not(#old) #directory .directory-info strong { font: 600 15px/1.25 var(--holo-font) !important; letter-spacing: .03em; color: var(--holo-bright) !important; }
body:not(#old) #directory .directory-info span { font: 400 12px/1.5 var(--holo-read); color: var(--holo-dim) !important; }
body:not(#old) #directory .directory-actions .icon-btn { width: 34px; height: 34px; }
body:not(#old) #directory .directory-actions .btn { min-height: 34px; padding: 0 12px; }
body:not(#old) #directory .directory-actions .btn svg { color: var(--holo-accent); }
body:not(#old) #directory .favorite-btn[aria-pressed=true] { border-color: var(--holo-accent) !important; background: var(--hw-lit-on) !important; color: var(--holo-accent) !important; }
body:not(#old) #directory .empty-state { border: 0; color: var(--holo-dim); font-family: var(--holo-read); }
body:not(#old) #directory .empty-state h3 { font: 600 18px/1.25 var(--holo-font); letter-spacing: .02em; color: var(--holo-bright) !important; }
body:not(#old) #directory .empty-state p { color: var(--holo-dim) !important; }

/* ---------- Keyboard controls ---------- */
body:not(#old) #shortcuts { clip-path: var(--holo-chamfer); background: var(--holo-frame), var(--holo-scan), var(--holo-sheen), var(--holo-glass) !important; }
body:not(#old) #shortcuts > p { font: 400 13px/1.6 var(--holo-read); color: var(--holo-text) !important; }
body:not(#old) #shortcuts .shortcut-row { border-color: var(--holo-hair); font: 400 13px/1.4 var(--holo-read); color: var(--holo-ink); }
body:not(#old) #shortcuts kbd {
  min-width: 28px; height: 26px; padding: 0 7px; border: 1px solid var(--holo-line); border-radius: 6px; background: var(--hw-lit);
  color: var(--holo-bright); font: 600 12px/1 var(--holo-font); letter-spacing: .04em;
}

/* ---------- Enlarged channel: the stage stays whole between two lines of light ---------- */
body:not(#old) #viewer .viewer-header { border-bottom: 1px solid var(--holo-line); background: none !important; color: inherit; padding-inline: 24px 18px; }
body:not(#old) #viewer .viewer-header small { font: 600 10px/1.12 var(--holo-font); letter-spacing: .2em; color: var(--holo-accent); text-shadow: var(--holo-label-glow); }
body:not(#old) #viewer .viewer-header h2 { letter-spacing: .06em; text-transform: uppercase; }
/* The keys keep the room they had, so the stage keeps its size: 32 px in a window, 30 px on a phone. */
body:not(#old) #viewer .viewer-tools .icon-btn { width: 32px; height: 32px; }
body:not(#old) #viewer .viewer-tools .btn { min-height: 32px; margin: 0 2px; padding: 0 12px; }
body:not(#old) #viewer .viewer-stage { background: var(--holo-space); }
body:not(#old) #viewer .viewer-stage:is([data-status=offline], [data-status=unknown])::after,
html:not([data-room]) body:not(#old) #wall .tile-media:is([data-status=offline], [data-status=unknown])::after {
  padding: 8px; background: var(--holo-scan), var(--holo-sheen), var(--holo-deep); color: var(--holo-dim);
  font: 600 11px/1.4 var(--holo-font); letter-spacing: .24em; text-transform: uppercase; text-align: center;
}
body:not(#old) #viewer .preview-play { background: none; color: var(--holo-ink); }
body:not(#old) #viewer .preview-play > svg {
  width: 46px; height: 46px; padding: 12px; border: 1.5px solid var(--holo-accent); border-radius: 50%; background: var(--holo-glass-thin);
  color: var(--holo-bright); box-shadow: 0 0 18px -2px var(--holo-glow), var(--holo-inner);
}
body:not(#old) #viewer .viewer-footer {
  padding-inline: 24px; border-top: 1px solid var(--holo-line); background: none !important;
  font: 600 10.5px/1.4 var(--holo-font); letter-spacing: .14em; text-transform: uppercase; color: var(--holo-dim);
}
body:not(#old) #viewer .viewer-footer a { color: var(--holo-accent); }
/* Across the whole screen the panel has no corners to cut. */
body:not(#old) #viewer:fullscreen { clip-path: none; }
body:not(#old) #viewer:-webkit-full-screen { clip-path: none; }

/* ---------- Toast: a short notice on a small glass plate ---------- */
body:not(#old) .toast {
  padding: 10px 16px; border: 1px solid var(--holo-line); border-radius: 8px; background: var(--hw-plate);
  color: var(--holo-ink); font: 600 12px/1.45 var(--holo-font); letter-spacing: .08em; box-shadow: var(--holo-halo-near), var(--holo-inner);
}

/* ---------- The way out of cinema mode ---------- */
body:not(#old) #cinemaExit {
  width: 36px; height: 36px; border: 1px solid var(--holo-line); border-radius: 8px; background: var(--hw-plate); color: var(--holo-ink);
  box-shadow: var(--holo-halo), var(--holo-inner);
}
body:not(#old) #cinemaExit:focus-visible { outline: 2px solid var(--holo-bright); outline-offset: 3px; }

/* ---------- Phones: a smaller cut, so the frame keeps its proportions ---------- */
@media (max-width: 640px) {
  body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory) { clip-path: var(--holo-chamfer); background: var(--holo-frame), var(--holo-scan), var(--holo-sheen), var(--holo-glass) !important; }
  body:not(#old) #mediaConsent h2 { font-size: 28px; }
  body:not(#old) #mediaConsent .consent-facts { padding: 0 18px; }
  body:not(#old) :is(#picker, #directory) :is(.country-search, .search-field) input { font-size: 16px; }
  body:not(#old) #viewer .viewer-header { padding-inline: 10px; }
  body:not(#old) #viewer .viewer-footer { padding-inline: 12px; font-size: 9.5px; letter-spacing: .1em; }
  body:not(#old) #viewer[data-size=wide] { clip-path: none; }
}
@media (max-width: 800px) {
  body:not(#old) #viewer .viewer-tools .icon-btn { width: 30px; height: 30px; }
  body:not(#old) #viewer .viewer-tools .btn { min-height: 30px; margin: 0; padding: 0 8px; gap: 5px; font-size: 10px; letter-spacing: .02em; text-transform: none; }
}
@media (min-width: 426px) and (max-width: 639px) {
  body:not(#old) #viewer .viewer-tools .icon-btn { width: 32px; height: 32px; }
}
@media (max-width: 425px) {
  body:not(#old) #viewer .viewer-tools .btn { padding: 0 5px; font-size: 9.5px; letter-spacing: 0; }
}
@media (max-width: 520px) {
  body:not(#old) #mediaConsent .consent-brand > .consent-label { margin-inline: 0; }
}

/* ---------- A pointer over a control: its line and its light come nearer ---------- */
@media (hover: hover) {
  html:not([data-room]) body:not(#old) .sidebar-actions :is(a, button):hover { background: var(--hw-lit); color: var(--holo-bright); }
  html:not([data-room]) body:not(#old) .source-list button:hover { background: var(--hw-lit); color: var(--holo-bright); }
  html:not([data-room]) body:not(#old) .sidebar-note button:hover { color: var(--holo-bright); text-decoration-color: currentColor; }
  html:not([data-room]) body:not(#old) .topbar .collection-btn:hover { border-color: var(--holo-accent) !important; background: var(--hw-lit-on) !important; color: var(--holo-bright) !important; }
  html:not([data-room]) body:not(#old) .topbar .site-tab:not([aria-pressed=true]):hover { background: var(--hw-lit-on) !important; color: var(--holo-bright) !important; }
  html:not([data-room]) body:not(#old) .topbar .icon-btn:hover { border-color: var(--holo-accent) !important; background: var(--hw-lit-on) !important; color: var(--holo-bright) !important; }
  html:not([data-room]) body:not(#old) .topbar #muteBtn[aria-pressed=false]:hover { border-color: #0000 !important; background: var(--holo-fill) !important; color: var(--holo-on-accent) !important; filter: brightness(1.1); }
  html:not([data-room]) body:not(#old) .topbar #goLiveBtn.has-offline:hover { border-color: var(--hw-red) !important; color: var(--hw-red) !important; }
  html:not([data-room]) body:not(#old) .topbar #goLiveBtn[data-tip]:hover::after,
  html:not([data-room]) body:not(#old) .topbar #goLiveBtn[data-tip]:focus-visible::after {
    top: calc(100% + 10px); padding: 8px 11px; border: 1px solid var(--holo-line); border-radius: 8px; background: var(--hw-plate);
    color: var(--holo-ink); font: 600 11px/1 var(--holo-font); letter-spacing: .14em; text-transform: uppercase; box-shadow: var(--holo-halo-near);
  }
  html:not([data-room]) body:not(#old) .market-tape-credit:hover { color: var(--holo-bright) !important; }
  html:not([data-room]) body:not(#old)[data-section=economy] .market-tape-credit:hover { color: var(--holo-on-accent) !important; }
  html:not([data-room]) body:not(#old) .view-switch button:not([aria-pressed=true]):hover { border-color: var(--holo-line); background: var(--hw-lit-on); color: var(--holo-bright); }
  html:not([data-room]) body:not(#old) .view-switch .room-button:not([aria-pressed=true]):hover { border-color: var(--holo-accent); }
  html:not([data-room]) body:not(#old) .view-switch button[aria-pressed=true]:hover { filter: brightness(1.1); }
  html:not([data-room]) body:not(#old) .media-notice a:hover { color: var(--holo-bright); text-decoration-color: currentColor; }
  html:not([data-room]) body:not(#old) #wall > .tile:hover::before { box-shadow: var(--hw-ring-near); }
  html:not([data-room]) body:not(#old) #wall > .tile.desk-selected:hover::before { box-shadow: var(--hw-ring-picked); }
  html:not([data-room]) body:not(#old) #wall > .tile.listening:hover::before { box-shadow: var(--hw-ring-on); }
  html:not([data-room]) body:not(#old) #wall .preview-play:hover > svg, body:not(#old) #viewer .preview-play:hover > svg { background: var(--hw-lit-on); box-shadow: 0 0 26px var(--holo-blue), var(--holo-inner); }
  html:not([data-room]) body:not(#old) #wall .tile-btn:hover { border-color: var(--holo-line); background: var(--hw-lit); color: var(--holo-bright); }
  html:not([data-room]) body:not(#old) #wall .tile .listen-btn[aria-pressed=true]:hover { border-color: #0000; background: var(--holo-fill); color: var(--holo-on-accent); filter: brightness(1.1); }
  html:not([data-room]) body:not(#old) :is(#wall, noscript) .empty-state .btn:hover { filter: brightness(1.1); }
  body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory, #shortcuts) :is(.btn, .icon-btn, .picker-share button):hover { border-color: var(--holo-accent) !important; background: var(--hw-lit-on) !important; color: var(--holo-bright) !important; filter: none; }
  body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory, #shortcuts) :is(.btn-primary, .btn[aria-pressed=true]):hover { border-color: #0000 !important; background: var(--holo-fill) !important; color: var(--holo-on-accent) !important; filter: brightness(1.1); }
  body:not(#old) #mediaConsent a:hover, body:not(#old) #viewer .viewer-footer a:hover { color: var(--holo-bright); text-decoration-color: currentColor; }
  body:not(#old) #picker .picker-fixed .nav-item:hover::before { filter: brightness(1.3); }
  body:not(#old) #picker .country-nav .nav-item:hover { background: var(--hw-lit) !important; color: var(--holo-bright) !important; }
  body:not(#old) #picker .country-nav .nav-item[aria-current=page]:hover { background: var(--hw-lit-on) !important; }
  body:not(#old) #directory .directory-row:hover { background: var(--hw-lit); }
  body:not(#old) #cinemaExit:hover { border-color: var(--holo-accent); color: var(--holo-bright); }
}

/* ---------- Motion: light eases in; nothing moves under reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html:not([data-room]) body:not(#old) :is(.sidebar-actions :is(a, button), .source-list button, .collection-btn, .site-tab, .topbar .icon-btn, .view-switch button, .tile-btn, .media-notice a),
  body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory, #shortcuts) :is(.btn, .icon-btn, .nav-item, .directory-row, .country-search, .search-field, .picker-share button) {
    transition: background-color .25s var(--holo-ease), border-color .25s var(--holo-ease), color .25s var(--holo-ease), box-shadow .25s var(--holo-ease), filter .25s var(--holo-ease);
  }
  html:not([data-room]) body:not(#old) #wall > .tile { transition: border-color .35s var(--holo-ease); }
  html:not([data-room]) body:not(#old) #wall > .tile::before { transition: box-shadow .35s var(--holo-ease); }
  body:not(#old) #picker .picker-fixed .nav-item::before { transition: filter .25s var(--holo-ease); }
}

/* ---------- Forced colours and paper ---------- */
@media (forced-colors: active) {
  html:not([data-room]) body:not(#old) .channel-sidebar, body:not(#old) :is(#mediaConsent, #picker, #viewer, #directory, #shortcuts) { clip-path: none; border: 1px solid CanvasText !important; }
  html:not([data-room]) body:not(#old) :is(#wall, noscript) .empty-state::before, body:not(#old) #picker .picker-fixed .nav-item::before { display: none; }
  html:not([data-room]) body:not(#old) :is(#wall, noscript) .empty-state, body:not(#old) #picker .picker-fixed .nav-item { border: 1px solid CanvasText; }
}
@media print {
  html:not([data-room]) body:not(#old) .channel-sidebar { clip-path: none; background: none; }
  html:not([data-room]) body:not(#old) :is(#wall, noscript) .empty-state::before { display: none; }
}
