﻿/* Giant Gamers portal: neon gaming room.
   Cyan/blue and violet/magenta lighting from the room artwork; obsidian panels; orange, green and
   purple stay as the logo's brand accents (Pixel/Panda, the giraffe, Chloe). */
:root {
  --bg: #05060f;
  --bg-deep: #03040a;
  --surface: #0b1120;
  --surface-2: #111a2e;
  --line: #22304a;
  --text: #eef2f7;
  --muted: #b2bccb;
  --faint: #8e9aad;

  --orange: #ff9400;
  --orange-soft: #ffb85e;
  --green: #62ff32;
  --green-soft: #a4ff84;
  --purple: #bb42ff;
  --purple-soft: #d8a0ff;
  --cyan: #33e6ff;
  --cyan-soft: #8ff2ff;
  --blue: #2f8cff;
  --blue-soft: #9cc9ff;
  --magenta: #ff3fd2;
  --danger: #ff6b81;

  --panel-bg: linear-gradient(180deg, rgba(12, 19, 38, .94), rgba(6, 9, 21, .95));
  --panel-line: rgba(84, 150, 255, .3);
  --radius: 14px;
  --wrap: 1240px;
  --gutter: clamp(16px, 3vw, 24px);
  --dock-h: 64px;
  --header-h: 60px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

/* Per-area accent tokens. */
.c-orange { --accent: var(--orange); --accent-soft: var(--orange-soft); }
.c-green { --accent: var(--green); --accent-soft: var(--green-soft); }
.c-purple { --accent: var(--purple); --accent-soft: var(--purple-soft); }
.c-cyan { --accent: var(--cyan); --accent-soft: var(--cyan-soft); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); scroll-padding-bottom: calc(var(--dock-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.55 var(--font);
  padding-bottom: var(--dock-h);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-soft); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.1rem); font-weight: 850; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); font-weight: 850; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
.i { width: 1.25em; height: 1.25em; flex: none; }
svg.i.c-orange, svg.i.c-green, svg.i.c-purple, svg.i.c-cyan { color: var(--accent-soft); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { --wrap: 1000px; }
/* Match giantgamers's desktop shell: fluid content with 100px side margins.
   All shared wrappers use the same gutter, so navigation, panels and dock align. */
@media (min-width: 1101px) {
  :root { --wrap: 100%; --gutter: 100px; }
  .wrap-narrow { --gutter: 24px; }
}
[hidden] { display: none !important; }

/* Focus: always visible for keyboard users. */
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .icon-btn:focus-visible, .play-btn:focus-visible, .tab:focus-visible { outline-offset: 4px; border-radius: 999px; }
#main:focus, h1:focus { outline: none; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--cyan); color: #00161c; font-weight: 800; padding: 12px 18px; border-radius: 12px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Room backdrop: atmosphere in the side gutters ---------- */
/* The scrim is darkest behind the 1240px content column and opens up toward both edges,
   so wide screens show the room's neon in their gutters. */
.backdrop {
  position: fixed; inset: 0; z-index: -10; pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(5, 6, 15, .15) 0, rgba(5, 6, 15, .3) calc(50% - 760px), rgba(5, 6, 15, .95) calc(50% - 560px),
      rgba(5, 6, 15, .97) 50%,
      rgba(5, 6, 15, .95) calc(50% + 560px), rgba(5, 6, 15, .3) calc(50% + 760px), rgba(5, 6, 15, .15) 100%),
    url("/assets/scenes/room-backdrop-960.webp") center / cover no-repeat,
    var(--bg);
}

/* ---------- Network utility bar ---------- */
.network-utility { position: relative; z-index: 60; border-bottom: 1px solid rgba(132, 158, 218, .14); background: rgba(3, 4, 10, .92); color: #9da8ba; font-size: .78rem; }
.utility-inner { width: min(100%, var(--wrap)); min-height: 34px; padding-inline: var(--gutter); margin-inline: auto; display: flex; align-items: center; gap: 14px; }
.utility-inner p, .utility-inner span { margin: 0; }
.utility-here { display: flex; align-items: center; gap: 8px; color: #d4d9e3; font-weight: 650; white-space: nowrap; }
.utility-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
  animation: blink-emerald-live 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.utility-live.is-live {
  animation: blink-emerald-live 0.75s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes blink-emerald-live {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 14px var(--green), 0 0 5px var(--green);
  }
  50% {
    opacity: 0.15;
    transform: scale(0.8);
    box-shadow: 0 0 2px var(--green);
  }
}
.nav-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(98, 255, 50, 0.16);
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.live-dot-blink {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink-emerald-live 0.75s ease-in-out infinite;
}
.utility-links { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.utility-controls { margin-left: auto; }
.utility-shortcuts { display: flex; align-items: center; gap: 2px; }
.utility-shortcuts a { display: inline-flex; align-items: center; min-height: 28px; padding: 0 6px; border-radius: 7px; color: #d4d9e3; font-weight: 700; text-decoration: none; white-space: nowrap; }
.utility-shortcuts a:hover, .utility-shortcuts a:focus-visible { color: #fff; background: rgba(51, 230, 255, .09); }
.utility-shortcuts a + a::before { content: ""; width: 2px; height: 2px; margin-right: 10px; border-radius: 50%; background: #667187; }
.utility-label { color: #7d889c; margin-right: 4px !important; }
.utility-links time { color: #d4d9e3; font-variant-numeric: tabular-nums; }
.utility-direct { color: #d4d9e3; font-weight: 700; text-decoration: none; }
.utility-direct:hover { color: var(--cyan-soft); }
.utility-menu { position: relative; }
.utility-menu summary { cursor: pointer; color: #d4d9e3; font-weight: 700; list-style: none; }
.utility-menu summary::-webkit-details-marker { display: none; }
.utility-menu summary::after { content: "⌄"; margin-left: 6px; color: var(--cyan); }
.utility-menu div { position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #0a0c17; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.utility-menu:not([open]) div { display: none; }
.utility-menu a { display: block; padding: 8px 10px; border-radius: 7px; color: #e9edf5; text-decoration: none; }
.utility-menu a:hover { background: rgba(255, 255, 255, .07); color: var(--cyan); }
.language-panel { display: grid !important; gap: 7px; min-width: 250px !important; }
.language-panel strong { color: #fff; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.language-panel span { padding: 8px 10px; border-radius: 7px; color: var(--cyan-soft); background: rgba(51, 230, 255, .08); }
.language-panel small { padding: 2px 10px 7px; color: var(--muted); line-height: 1.45; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(5, 7, 16, .86);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(84, 150, 255, .18);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan) 25%, var(--purple) 60%, var(--magenta) 80%, transparent);
  opacity: .45;
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-right: 18px; text-decoration: none; border-radius: 12px; }
.brand img { width: 52px; height: 52px; margin-block: -4px; filter: drop-shadow(0 0 10px rgba(187, 66, 255, .4)); }
.brand-word, .footer-word { display: inline-flex; gap: .28em; font: 900 1.3rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .03em; }
.w-giant, .w-gamers { -webkit-background-clip: text; background-clip: text; color: transparent; }
.w-giant { background-image: linear-gradient(180deg, #fff 0%, #e9eef5 45%, #a7b1bf 55%, #eef2f7 100%); }
.w-gamers { background-image: linear-gradient(180deg, #ffe0ad 0%, #ffad3d 45%, #ff8400 56%, #ffb24f 100%); }

.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; cursor: pointer; }
.menu-toggle .i { width: 22px; height: 22px; }
.site-nav { margin-right: auto; }
.site-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.site-nav li { list-style: none; }
.site-nav a { color: var(--text); text-decoration: none; }
.site-nav > ul > li > a, .nav-mega > summary {
  position: relative; display: flex; align-items: center; min-height: 40px; padding: 0 13px;
  border-radius: 8px; color: #e4e9f2; font-size: .9rem; font-weight: 700; text-decoration: none; cursor: pointer; list-style: none;
}
.nav-mega > summary::-webkit-details-marker { display: none; }
.nav-mega > summary::after { content: "⌄"; margin-left: 6px; color: var(--accent-soft); transform: translateY(-1px); }
.nav-mega[open] > summary, .nav-mega > summary:hover, .site-nav > ul > li > a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.site-nav a[aria-current="page"] { color: var(--cyan-soft); }
.site-nav > ul > li > a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}
.nav-mega[open] > summary::after { transform: rotate(180deg) translateY(1px); }
.nav-mega > summary::after { transition: transform .16s ease; }
.muted-link { color: var(--muted); cursor: default; text-decoration: none; }
.nav-mega { position: relative; }
.mega-panel { position: absolute; top: calc(100% + 12px); left: 0; width: 510px; padding: 12px; border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line)); border-radius: 16px; background: rgba(7, 9, 19, .98); box-shadow: 0 24px 70px rgba(0, 0, 0, .66), 0 0 35px color-mix(in srgb, var(--accent) 12%, transparent); display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 8px; }
.nav-mega:not([open]) .mega-panel { display: none; }
.mega-panel p { margin: 0; padding: 16px; border-radius: 12px; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 15%, transparent), rgba(255, 255, 255, .025)); }
.mega-panel p span { display: block; margin-bottom: 8px; color: var(--accent-soft); font-size: .68rem; font-weight: 900; letter-spacing: .13em; }
.mega-panel p strong { font-size: 1.05rem; line-height: 1.25; }
.mega-panel a { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 84px; padding: 13px; border-radius: 12px; color: #f5f7fb; font-weight: 800; }
.mega-panel a:hover { background: rgba(255, 255, 255, .06); color: var(--accent-soft); }
.mega-panel a[aria-current="page"] { background: rgba(51, 230, 255, .08); }
.mega-panel small { color: #939db0; font-weight: 500; line-height: 1.35; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px; border-radius: 8px; color: #fff; font-size: .85rem; font-weight: 800; text-decoration: none; border: 1px solid rgba(51, 230, 255, .6); background: rgba(51, 230, 255, .08); }
.header-cta:hover { color: #fff; border-color: var(--cyan); box-shadow: 0 0 20px rgba(51, 230, 255, .25); }

/* ---------- Text helpers ---------- */
.gloss, .gloss-orange, .gloss-green, .gloss-purple { -webkit-background-clip: text; background-clip: text; color: transparent; }
.gloss { background-image: linear-gradient(180deg, #fff 0%, #eef2f8 42%, #b4bdca 54%, #e8edf4 72%, #fff 100%); filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .65)) drop-shadow(0 0 22px rgba(187, 66, 255, .18)); }
.gloss-orange { background-image: linear-gradient(180deg, #ffe4b8 0%, #ffb547 42%, #ff8c00 56%, #ffb653 100%); }
.gloss-green { background-image: linear-gradient(180deg, #e6ffdb 0%, #92ff6a 42%, #4cec18 56%, #a6ff86 100%); }
.gloss-purple { background-image: linear-gradient(180deg, #f3e2ff 0%, #d697ff 42%, #b154f5 56%, #dcaaff 100%); }
.gloss-xl { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem); letter-spacing: -.02em; }

.eyebrow, .kicker { margin: 0 0 10px; font: 800 .8125rem/1.3 var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--accent-soft, var(--cyan-soft)); }
.lede { font-size: clamp(1rem, .96rem + .25vw, 1.125rem); color: var(--muted); max-width: 62ch; }
.chip { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 2px 10px; border-radius: 999px; font: 700 .78rem/1.5 var(--font); color: var(--accent-soft, var(--text)); background: color-mix(in srgb, var(--accent, #8e9aad) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent, #8e9aad) 40%, transparent); vertical-align: middle; letter-spacing: 0; }
.chip-ok { --accent: var(--green); --accent-soft: var(--green-soft); }
.chip-plan { --accent: var(--orange); --accent-soft: var(--orange-soft); }
.mini-label { margin: 0 0 8px; color: var(--faint); font: 800 .72rem/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.mini-label span { margin-left: 8px; color: #7d889c; font-weight: 600; letter-spacing: .02em; text-transform: none; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 20px; border-radius: 10px; border: 0; cursor: pointer;
  font: 800 .95rem/1.2 var(--font); text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, filter .15s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1.0625rem; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .875rem; }
.btn-block { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-block: 8px; }
.btn-orange { background: linear-gradient(180deg, #ffb540, #ff8a00); color: #1b0f00; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 8px 26px rgba(255, 138, 0, .3); }
.btn-orange:hover { color: #1b0f00; }
.btn-purple { background: linear-gradient(180deg, #a53ff0, #7c1ecc); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 0 1px rgba(216, 160, 255, .35), 0 8px 26px rgba(187, 66, 255, .38); }
.btn-purple:hover { color: #fff; }
.btn-blue { background: linear-gradient(180deg, #1a63e0, #0f4bb8); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1px rgba(140, 196, 255, .4), 0 8px 26px rgba(47, 140, 255, .35); }
.btn-blue:hover { color: #fff; }
.btn-green { background: linear-gradient(180deg, #8dff63, #45e014); color: #062000; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 8px 26px rgba(98, 255, 50, .28); }
.btn-green:hover { color: #062000; }
.btn-ghost-green { background: rgba(98, 255, 50, .06); color: var(--green-soft); box-shadow: inset 0 0 0 2px rgba(98, 255, 50, .7); }
.btn-ghost-green:hover { color: #fff; box-shadow: inset 0 0 0 2px var(--green), 0 0 22px rgba(98, 255, 50, .3); }
.btn-ghost { background: rgba(5, 8, 18, .55); color: var(--text); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.btn-ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--accent, var(--cyan)), 0 0 20px color-mix(in srgb, var(--accent, var(--cyan)) 30%, transparent); }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; font-weight: 800; font-size: .875rem; color: var(--accent-soft, var(--cyan-soft)); text-decoration: none; }
.text-link:hover { color: #fff; }
.text-link .i { width: 15px; height: 15px; transition: transform .15s ease; }
.text-link:hover .i { transform: translateX(3px); }

/* ---------- Home hero ---------- */
.portal-hero { position: relative; isolation: isolate; overflow: clip; display: flex; align-items: center; min-height: 300px; border-bottom: 1px solid rgba(84, 150, 255, .2); background: var(--bg-deep); }
.hero-scene img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 40%; }
.portal-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 5, 14, .97) 0%, rgba(4, 5, 14, .9) 28%, rgba(4, 5, 14, .45) 50%, rgba(4, 5, 14, 0) 68%),
    linear-gradient(0deg, rgba(4, 5, 14, .85) 0%, transparent 28%);
}
.hero-inner { position: relative; width: min(100%, var(--wrap)); margin-inline: auto; padding: 22px var(--gutter); }
.hero-copy { max-width: 640px; }
/* Below 1280px, keep the copy clear of the logo badge on the right. */
@media (min-width: 700px) and (max-width: 1279px) { .hero-copy { max-width: min(640px, calc(100% - clamp(140px, 13vw, 190px) - 32px)); } }
.hero-copy .eyebrow { color: var(--cyan-soft); font-size: .75rem; letter-spacing: .24em; }
.hero-copy h1 { margin-bottom: 12px; font-size: clamp(2rem, 1.2rem + 2vw, 2.65rem); line-height: 1.06; letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }
.hero-copy h1 em { font-style: normal; background: linear-gradient(90deg, #6fd8ff, #4f8cff 55%, #b56bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy .lede { margin-bottom: 18px; font-size: 1rem; color: #c3cad8; max-width: 58ch; }

/* The approved logo as a modest neon wall badge, never resized out of its square proportions. */
.hero-logo { position: absolute; top: 50%; right: var(--gutter); width: clamp(140px, 13vw, 190px); aspect-ratio: 1; transform: translateY(-50%); }
.hero-logo img { position: relative; width: 100%; aspect-ratio: 1; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .6)) drop-shadow(0 0 16px rgba(187, 66, 255, .35)); animation: float 7s ease-in-out infinite; }
.halo { position: absolute; inset: 10%; border-radius: 50%; background: conic-gradient(from 0deg, var(--cyan), var(--purple), var(--magenta), var(--orange), var(--cyan)); filter: blur(30px); opacity: .45; animation: spin 26s linear infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
@keyframes spin { to { transform: rotate(1turn); } }

/* ---------- Dashboard panels ---------- */
.home-dashboard { display: grid; gap: 14px; padding-block: 16px 24px; }
.dash-row { display: grid; gap: 14px; }
@media (min-width: 1180px) { .dash-row { grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); } }
.dashboard-panel {
  min-width: 0; overflow: hidden;
  border: 1px solid var(--panel-line); border-radius: var(--radius);
  background: var(--panel-bg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .04);
  container-type: inline-size;
}
.panel-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 44px; padding: 4px 16px;
  border-bottom: 1px solid rgba(84, 150, 255, .18);
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent, var(--cyan)) 12%, transparent), transparent 70%);
}
.panel-heading h2 { display: flex; align-items: center; gap: 10px; margin: 0; font: 850 .875rem/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #f2f5fa; }
.panel-heading h2 .i { width: 18px; height: 18px; color: var(--accent-soft, var(--cyan-soft)); filter: drop-shadow(0 0 6px var(--accent, var(--cyan))); }
.panel-heading > a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--accent-soft, var(--cyan-soft)); font-size: .8rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.panel-heading > a:hover { color: #fff; }
.panel-heading > a .i { width: 14px; height: 14px; }

/* Stream panel: the consent-gated dock beside the streamer card. */
.stream-body { display: grid; gap: 14px; padding: 12px; }
/* The dock column keeps the stage at least 400px wide, the minimum Twitch's player accepts. */
@container (min-width: 660px) { .stream-body { grid-template-columns: minmax(404px, 1.15fr) minmax(0, 1fr); align-items: start; } }
.streamer .btn-block { font-size: .9rem; }
.streamer { display: grid; gap: 10px; align-content: start; padding: 4px 4px 2px; }
.streamer-id { display: flex; align-items: center; gap: 12px; }
.streamer-avatar { width: 58px; height: 58px; flex: none; overflow: hidden; border-radius: 50%; background: #1a0f2c; border: 2px solid var(--purple); box-shadow: 0 0 0 4px rgba(187, 66, 255, .14), 0 0 18px rgba(187, 66, 255, .5); }
/* The panda from the approved logo, cropped in place rather than redrawn. */
.streamer-avatar img { width: 250%; max-width: none; margin: -14% 0 0 -48%; }
.streamer-id h3 { margin: 0; font-size: 1.3rem; }
.streamer-id p { margin: 0; color: var(--purple-soft); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.streamer-copy { margin: 0; color: var(--muted); font-size: .92rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tag-list li { padding: 2px 8px; border-radius: 7px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #dfe5ef; font-size: .75rem; font-weight: 650; }
.streamer-note { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--faint); font-size: .8rem; }
.streamer-note .i { width: 15px; height: 15px; color: var(--cyan-soft); }

.stream-dock { --accent: #a970ff; --accent-soft: #c9a6ff; border-radius: 12px; overflow: hidden; background: #070a12; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 18px 50px rgba(0, 0, 0, .45), 0 0 36px color-mix(in srgb, var(--accent) 14%, transparent); }
.stream-dock[data-platform="kick"] { --accent: var(--green); --accent-soft: var(--green-soft); }
.stream-tabs { display: flex; gap: 6px; padding: 6px; background: rgba(11, 17, 32, .95); border-bottom: 1px solid var(--line); }
.tab { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: .875rem; font-weight: 800; cursor: pointer; }
.tab .i { width: 17px; height: 17px; }
.tab:hover { color: #fff; border-color: var(--faint); }
.tab[aria-selected="true"] { color: #fff; background: color-mix(in srgb, var(--accent) 22%, transparent); border-color: var(--accent); box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 28%, transparent); }
.stream-stage { position: relative; isolation: isolate; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: #07090d; }
.stream-stage.loaded iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Idle, the home stage stays compact; a loaded player gets Twitch's recommended 300px minimum height. */
.stream-stage.loaded { min-height: 300px; }
.consent { max-width: 540px; padding: 22px 20px; text-align: center; display: grid; justify-items: center; }
/* Illustrated idle cover (the room's monitors). It is labelled and never presented as stream footage. */
.stage-cover { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) brightness(.5); }
.consent::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 80% at 50% 55%, rgba(5, 6, 15, .78), rgba(5, 6, 15, .35)); }
.stage-tag { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(3, 4, 10, .75); border: 1px solid rgba(255, 255, 255, .16); color: #c9d1de; font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.consent-icon { width: 40px; height: 40px; color: var(--accent-soft); filter: drop-shadow(0 0 14px var(--accent)); margin-bottom: 6px; }
.consent h3 { margin-bottom: 6px; font-size: 1.2rem; }
.consent p { color: #c3cad8; }
.consent .actions { justify-content: center; margin-bottom: 10px; }
.consent .fine { font-size: .82rem; color: #a3adbf; margin: 0; }
.stream-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 10px 14px; background: var(--surface); border-top: 1px solid var(--line); }
.stream-bar p { margin: 0; color: var(--muted); font-size: .875rem; }
/* On the home dashboard the platform tabs float over the idle cover; once a player loads they return to their own row. */
@media (min-width: 700px) {
  [data-dock-size="compact"] .stream-dock { position: relative; }
  [data-dock-size="compact"] .stream-dock:not(:has(.stream-stage.loaded)) .stream-tabs { position: absolute; top: 0; right: 0; z-index: 2; background: none; border: 0; }
  [data-dock-size="compact"] .stream-dock:not(:has(.stream-stage.loaded)) .tab:not([aria-selected="true"]) { background: rgba(3, 4, 10, .7); }
  [data-dock-size="compact"] .consent { padding: 30px 16px 12px; }
}
[data-dock-size="compact"] .consent-icon { width: 30px; height: 30px; margin-bottom: 2px; }
[data-dock-size="compact"] .consent h3 { margin-bottom: 4px; font-size: 1rem; }
[data-dock-size="compact"] .consent p { margin-bottom: 8px; font-size: .8rem; line-height: 1.4; }
[data-dock-size="compact"] .consent .btn { min-height: 38px; padding: 0 14px; font-size: .85rem; }
[data-dock-size="compact"] .consent .actions { margin-bottom: 6px; gap: 8px; }
[data-dock-size="compact"] .consent .fine { font-size: .74rem; }

/* Radio panel. */
.radio-body { display: grid; gap: 12px; padding: 12px 14px 0; }
.radio-console { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.radio-cover { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 10px; border: 1px solid rgba(51, 230, 255, .35); box-shadow: 0 0 22px rgba(51, 230, 255, .15); }
.radio-cover img { width: 100%; height: 100%; object-fit: cover; }
.radio-cover .radio-wave { position: absolute; left: 8px; bottom: 6px; height: 22px; }
.radio-console-copy { min-width: 0; }
.radio-console-copy p { margin: 0; }
.now-label { margin: 0 0 4px; font: 800 .72rem/1.3 var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--cyan-soft); }
.now-track { font: 800 clamp(1.05rem, 1rem + .4vw, 1.5rem)/1.25 var(--font-display); margin-bottom: 8px; overflow-wrap: anywhere; }
.radio-console-copy .now-track { overflow: hidden; margin: 2px 0; font-size: 1.05rem; text-overflow: ellipsis; white-space: nowrap; }
.now-state { display: flex; align-items: center; gap: 8px; color: var(--muted); margin-bottom: 18px; }
.radio-console-copy .now-state { margin: 0; font-size: .85rem; }
.radio-volume { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--cyan-soft); }
.radio-volume .i { width: 16px; height: 16px; }
.radio-volume input { flex: 1; min-width: 0; max-width: 220px; height: 24px; accent-color: var(--cyan); cursor: pointer; }
.radio-facts { list-style: none; display: grid; }
.radio-facts li { display: flex; justify-content: space-between; gap: 14px; padding: 6px 2px; border-top: 1px solid rgba(151, 171, 214, .1); font-size: .84rem; }
.radio-facts strong { color: var(--cyan-soft); font-weight: 750; white-space: nowrap; }
.radio-facts span { color: var(--muted); text-align: right; }
.panel-foot { display: flex; align-items: center; justify-content: space-between; min-height: 42px; margin-inline: -14px; padding: 0 14px; border-top: 1px solid rgba(84, 150, 255, .18); color: var(--cyan-soft); font-size: .875rem; font-weight: 800; text-decoration: none; }
.panel-foot:hover { color: #fff; background: rgba(51, 230, 255, .05); }
.panel-foot .i { width: 16px; height: 16px; }

/* Community forum panel. */
.forum-body { display: grid; gap: 14px; padding: 14px 16px 16px; }
@container (min-width: 700px) { .forum-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } .fact-cards { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr) !important; } }
@container (min-width: 1100px) { .forum-body { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, .8fr); } .fact-cards { grid-column: auto; grid-template-columns: 1fr 1fr !important; } .fact-cards li { min-height: 76px; } }
.forum-intro h3 { margin-bottom: 8px; font-size: 1.3rem; }
.forum-intro p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.dest-list { list-style: none; display: grid; gap: 5px; }
.dest { display: flex; align-items: center; gap: 12px; min-height: 36px; padding: 4px 10px; border-radius: 9px; border: 1px solid rgba(84, 150, 255, .14); background: rgba(255, 255, 255, .025); color: var(--text); text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.dest:hover { color: #fff; border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.dest > .i { width: 26px; height: 26px; padding: 4px; border-radius: 7px; color: var(--accent-soft); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.dest span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.dest strong { font-size: .9rem; }
.dest small { color: var(--faint); font-size: .8rem; }
.dest em { margin-left: auto; padding: 2px 9px; border-radius: 6px; font-style: normal; font-size: .72rem; font-weight: 750; color: #d5dcea; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); white-space: nowrap; }
.dest.is-locked { opacity: .72; }
.dest.is-locked:hover { border-color: rgba(84, 150, 255, .14); background: rgba(255, 255, 255, .025); }
.fact-cards { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.fact-cards li { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, transparent), rgba(255, 255, 255, .02)); }
.fact-cards .i { width: 26px; height: 26px; color: var(--accent-soft); filter: drop-shadow(0 0 8px var(--accent)); }
.fact-cards span { display: grid; line-height: 1.2; }
.fact-cards strong { font: 850 1.15rem/1.1 var(--font-display); color: #fff; }
.fact-cards small { color: var(--muted); font-size: .76rem; }

/* Projects panel. */
.project-grid { list-style: none; display: grid; gap: 12px; padding: 12px 12px 0; }
@container (min-width: 820px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }
.project { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 112px; padding: 10px 16px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: #070a14; }
.project-art { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 72%; height: 100%; object-fit: cover; }
.project::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #070a14 28%, rgba(7, 10, 20, .82) 48%, rgba(7, 10, 20, .1) 85%); }
.project-copy { max-width: 64%; }
.project h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 4px; font-size: 1.15rem; }
.project h3 .chip { font-size: .68rem; padding: 1px 8px; }
.project p { margin: 0 0 4px; color: #c3cad8; font-size: .83rem; line-height: 1.4; }
.project-soon { color: var(--faint) !important; font-weight: 700; }
.project.is-planned .project-art { filter: saturate(.8); }
@container (min-width: 1100px) {
  .project-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .project { padding-inline: 12px; }
  .project-copy { max-width: 82%; }
  .project h3 { font-size: 1rem; }
  .project p { font-size: .76rem; line-height: 1.3; }
  .project .text-link { font-size: .76rem; }
  .project-art { width: 100%; opacity: .5; }
  .project::before { background: linear-gradient(90deg, #070a14 8%, rgba(7, 10, 20, .88) 54%, rgba(7, 10, 20, .35)); }
}
.launch-strip { display: grid; gap: 4px 14px; padding: 10px 12px 12px; }
.launch-strip .mini-label { margin: 0; }
.launch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@container (min-width: 1000px) {
  .launch-strip { grid-template-columns: 190px minmax(0, 1fr); align-items: center; }
  .launch-strip .mini-label span { display: block; margin: 2px 0 0; line-height: 1.35; }
  .launch-grid { grid-template-columns: repeat(4, 1fr); }
}
.launch-card {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); border-radius: 10px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 8%, rgba(17, 24, 39, .95)), rgba(7, 11, 20, .96));
  color: var(--text); text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease;
}
.launch-card:hover { color: #fff; border-color: var(--accent); box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 16%, transparent); }
.launch-card > .i { width: 24px; height: 24px; color: var(--accent-soft); }
.launch-card > span { display: grid; min-width: 0; }
.launch-card strong { font-size: .9rem; }
.launch-card small { color: var(--muted); font-size: .76rem; line-height: 1.35; }
.launch-card .end { width: 14px; height: 14px; margin-left: auto; color: var(--faint); }

/* Updates panel. */
.update-grid { list-style: none; display: grid; gap: 12px; padding: 12px; }
@container (min-width: 820px) { .update-grid { grid-template-columns: repeat(3, 1fr); } }
.update { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: start; padding: 8px; border-radius: 10px; border: 1px solid rgba(84, 150, 255, .14); background: rgba(255, 255, 255, .02); }
.update img { width: 112px; height: 100%; min-height: 84px; object-fit: cover; border-radius: 8px; }
.update h3 { margin: 0 0 3px; font-size: .98rem; }
.update p { margin: 0 0 2px; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.update .update-tag { margin-bottom: 2px; color: var(--accent-soft); font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Inner pages ---------- */
.section { padding-block: clamp(36px, 5vw, 64px); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(20px, 3vw, 32px); }
.section-head p:not(.kicker) { color: var(--muted); }
.band { border-top: 1px solid var(--line); background: rgba(5, 7, 15, .4); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.band-purple { --accent: var(--purple); --accent-soft: var(--purple-soft); }
.band-purple::before { background: radial-gradient(60% 70% at 100% 0%, rgba(187, 66, 255, .14), transparent 70%); }

.page-hero { position: relative; padding-block: clamp(36px, 5vw, 64px) clamp(26px, 3.5vw, 40px); border-bottom: 1px solid rgba(84, 150, 255, .2); isolation: isolate; overflow: clip; background: var(--bg-deep); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(4, 5, 14, .97) 0%, rgba(4, 5, 14, .88) 45%, rgba(4, 5, 14, .45) 100%),
  url("/assets/scenes/room-1100.webp") 70% 40% / cover no-repeat; }
.page-orange { --accent: var(--orange); --accent-soft: var(--orange-soft); }
.page-green { --accent: var(--green); --accent-soft: var(--green-soft); }
.page-purple { --accent: var(--purple); --accent-soft: var(--purple-soft); }
.page-cyan { --accent: var(--cyan); --accent-soft: var(--cyan-soft); }
.page-hero h1 { max-width: 20ch; }

/* Neon-edged card base for inner pages. */
.wv-panel, .info-card, .place, .now-card, .cta-row {
  position: relative; background: var(--panel-bg);
  border: 1px solid color-mix(in srgb, var(--accent, #5496ff) 34%, var(--line));
  border-radius: var(--radius);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.wv-panel:hover, .info-card:hover, .place:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent, var(--cyan)) 55%, var(--line));
  box-shadow: 0 16px 44px rgba(0, 0, 0, .45), 0 0 26px color-mix(in srgb, var(--accent, var(--cyan)) 12%, transparent);
}
.wv-panel::before, .info-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent, var(--cyan)) 85%, transparent), transparent);
  opacity: .85; border-radius: var(--radius) var(--radius) 0 0;
}

.wv-hero { display: grid; gap: clamp(24px, 4vw, 44px); align-items: center; }
@media (min-width: 760px) { .wv-hero { grid-template-columns: auto 1fr; } }
.wv-portrait { position: relative; width: clamp(140px, 18vw, 210px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid var(--purple); box-shadow: 0 0 0 6px rgba(187, 66, 255, .14), 0 0 46px rgba(187, 66, 255, .45); background: #12091c; }
/* Crops the approved logo to Luna and Potato, so no new artwork is invented. */
.wv-portrait img { position: absolute; width: 175%; max-width: none; left: -37.5%; top: -31%; }
.wv-panels { display: grid; gap: 16px; }
@media (min-width: 1040px) { .wv-panels { grid-template-columns: repeat(3, 1fr); } }
.wv-panel { --accent: var(--purple); --accent-soft: var(--purple-soft); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.wv-panel header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 8px; }
.wv-panel header .i { width: 30px; height: 30px; color: var(--purple-soft); }
.wv-panel header h3 { margin: 0; flex: 1 1 160px; }
.wv-panel p { color: var(--muted); }
.wv-panel p strong { color: var(--text); }
.trait-groups { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.trait-groups li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: rgba(187, 66, 255, .08); border: 1px solid rgba(187, 66, 255, .2); font-size: .9rem; }
.trait-groups b { font: 900 1.05rem/1 var(--font-display); color: var(--purple-soft); }
.ticks { list-style: none; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 10px var(--purple); }
.status-line { display: flex; flex-wrap: wrap; gap: 10px; }
.wv-page-hero .chip { --accent: var(--purple); --accent-soft: var(--purple-soft); }
.rules { list-style: none; counter-reset: rule; display: grid; gap: 16px; }
@media (min-width: 900px) { .rules { grid-template-columns: repeat(3, 1fr); } }
.rules li { counter-increment: rule; position: relative; padding: 58px 22px 22px; border-radius: var(--radius); background: rgba(12, 19, 38, .85); border: 1px solid rgba(187, 66, 255, .3); }
.rules li::before { content: "0" counter(rule); position: absolute; top: 16px; left: 22px; font: 900 1.8rem/1 var(--font-display); background: linear-gradient(180deg, #f3e2ff, #b154f5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rules p { color: var(--muted); margin: 0; }
.cta-row { --accent: var(--purple); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(22px, 3.5vw, 36px); }
.cta-row > div { flex: 1 1 360px; }
.cta-row p { color: var(--muted); margin: 0; max-width: 60ch; }

.now-card { --accent: var(--green); padding: 26px; overflow: hidden; }
.now-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent); box-shadow: 0 0 18px var(--cyan); }
.now-card .now-label { color: var(--green-soft); }
.now-card-lg { padding: clamp(24px, 4vw, 40px); }
.radio-stage { display: grid; gap: 20px; }
@media (min-width: 960px) { .radio-stage { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.radio-request-head { align-items: end; }
.radio-request-head > p { max-width: 620px; color: var(--muted); line-height: 1.65; }
.radio-request-card { overflow: hidden; border: 1px solid rgba(171, 89, 255, .42); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(25, 17, 54, .92), rgba(5, 12, 26, .97)); box-shadow: 0 22px 60px rgba(0, 0, 0, .32), inset 0 1px rgba(255, 255, 255, .04); }
.radio-request-intro { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 24px; }
.radio-request-intro > .i { width: 42px; height: 42px; padding: 9px; border: 1px solid currentColor; border-radius: 14px; background: rgba(171, 89, 255, .09); }
.radio-request-intro h3 { margin: 0 0 5px; font-size: 1.15rem; }
.radio-request-intro p { margin: 0; color: var(--muted); line-height: 1.55; }
.radio-request-stage { border-top: 1px solid rgba(171, 89, 255, .28); background: #070a12; }
.radio-request-stage iframe { display: block; width: 100%; height: min(760px, 78vh); min-height: 620px; border: 0; background: #070a12; }
.home-radio-requests { margin-bottom: 16px; }
.home-radio-requests .radio-request-intro { grid-template-columns: minmax(0, 1fr) auto; padding: 18px; gap: 14px; }
.home-radio-requests h3 { color: var(--cyan-soft); }
.home-radio-requests .radio-request-intro p { font-size: .84rem; }
.home-radio-requests .radio-request-stage > a { margin: 12px 16px; }
.home-radio-requests .radio-request-stage iframe { height: 440px; min-height: 440px; }
@media (max-width: 699px) { .home-radio-requests .radio-request-intro { grid-template-columns: 1fr; } }
.eq { display: flex; align-items: flex-end; gap: 5px; height: 42px; margin-bottom: 18px; }
.eq span { width: 8px; height: 22%; border-radius: 3px; background: linear-gradient(180deg, var(--cyan-soft), var(--blue)); opacity: .55; }
:root[data-radio="playing"] .eq span { opacity: 1; box-shadow: 0 0 10px rgba(51, 230, 255, .5); animation: eq 1.1s ease-in-out infinite; }
.eq span:nth-child(2) { animation-delay: -.3s !important; } .eq span:nth-child(3) { animation-delay: -.6s !important; }
.eq span:nth-child(4) { animation-delay: -.15s !important; } .eq span:nth-child(5) { animation-delay: -.8s !important; }
.eq span:nth-child(6) { animation-delay: -.45s !important; } .eq span:nth-child(7) { animation-delay: -.95s !important; }
@keyframes eq { 0%, 100% { height: 20%; } 50% { height: 100%; } }

.onair { width: 10px; height: 10px; border-radius: 50%; background: #5d6878; flex: none; }
.onair[data-state="playing"] { background: var(--green); box-shadow: 0 0 0 4px rgba(98, 255, 50, .2), 0 0 12px var(--green); animation: pulse-emerald 1.8s ease-in-out infinite; }
.onair[data-state="connecting"], .onair[data-state="buffering"] { background: var(--orange); animation: blink 1s ease-in-out infinite; }
.onair[data-state="error"] { background: var(--danger); }
@keyframes blink { 50% { opacity: .35; } }
@keyframes pulse-emerald {
  0%, 100% {
    box-shadow: 0 0 7px var(--green), 0 0 0 0 rgba(98, 255, 50, .45);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 16px var(--green), 0 0 0 5px rgba(98, 255, 50, 0);
    opacity: .88;
  }
}

.radio-wave { display: inline-flex; align-items: center; gap: 3px; width: 30px; height: 34px; flex: none; }
.radio-wave i { width: 3px; height: 20%; border-radius: 3px; background: linear-gradient(var(--cyan), var(--purple)); opacity: .6; }
:root[data-radio="playing"] .radio-wave i { opacity: 1; animation: radio-wave .9s ease-in-out infinite; box-shadow: 0 0 8px rgba(51, 230, 255, .45); }
.radio-wave i:nth-child(2) { animation-delay: -.2s !important; }
.radio-wave i:nth-child(3) { animation-delay: -.4s !important; }
.radio-wave i:nth-child(4) { animation-delay: -.6s !important; }
.radio-wave i:nth-child(5) { animation-delay: -.8s !important; }
@keyframes radio-wave { 50% { height: 90%; } }

.info-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.info-card { padding: clamp(20px, 3vw, 28px); }
.info-card h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.info-card p { color: var(--muted); margin: 0; }
.plain-list { list-style: none; display: grid; gap: 12px; }
.plain-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.plain-list .i { width: 22px; height: 22px; margin-top: 1px; }
.plain-list strong { color: var(--text); }

.community-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.place { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; overflow: hidden; }
.place::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 18px var(--accent); }
.place-icon { width: 36px; height: 36px; color: var(--accent-soft); }
.place h2 { font-size: 1.35rem; margin: 0; }
.place p:not(.chip) { color: var(--muted); margin: 0; }
.place .btn { margin-top: auto; }

.policy-date { color: var(--faint); font-size: .9rem; font-weight: 650; }
.policy-document > .wrap { display: grid; gap: 14px; }
.policy-document section { padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-bg); }
.policy-document h2 { margin-bottom: 10px; font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
.policy-document p { color: var(--muted); }
.policy-document p:last-child { margin-bottom: 0; }
.policy-document a { color: var(--cyan-soft); font-weight: 700; }

/* ---------- Network directory ---------- */
.network-directory { border-block: 1px solid var(--line); background: linear-gradient(135deg, rgba(51, 230, 255, .04), rgba(187, 66, 255, .035)); }
.directory-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(280px, .55fr); align-items: end; gap: 22px; margin-bottom: 20px; }
.directory-head p:last-child { margin: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.service-card { position: relative; display: flex; flex-direction: column; gap: 5px; min-height: 104px; padding: 20px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 15px; color: var(--text); text-decoration: none; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface)); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.service-card::after { content: "↗"; position: absolute; top: 16px; right: 17px; color: var(--accent-soft); font-weight: 900; }
.service-card strong { color: #fff; font-size: 1.05rem; }
.service-card span { max-width: 26ch; color: var(--muted); font-size: .9rem; }
.service-card:hover { transform: translateY(-2px); border-color: var(--accent-soft); box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 13%, transparent); }
@media (max-width: 899px) {
  .directory-head { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: rgba(3, 4, 10, .94); border-top: 1px solid rgba(84, 150, 255, .2); padding-top: 16px; }
.footer-inner { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--gutter); display: grid; gap: 14px 28px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 1.7fr repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: auto; align-items: flex-start; }
}
.footer-brand img { width: 72px; height: 72px; flex: none; }
.footer-word { margin: 4px 0 6px; font-size: 1.1rem; }
.footer-brand p:not(.footer-word) { margin: 0; color: var(--muted); font-size: .85rem; max-width: 30ch; }
.footer-nav h2 { margin: 0 0 4px; font: 800 .72rem/1.3 var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--faint); }
.footer-nav ul { list-style: none; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 24px; color: #d9dfe9; font-size: .84rem; font-weight: 600; text-decoration: none; }
.footer-nav a:hover { color: var(--cyan-soft); }
.footer-legal { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px 22px; width: min(100%, var(--wrap)); margin: 8px auto 0; padding: 6px var(--gutter) 8px; border-top: 1px solid var(--line); color: var(--faint); font-size: .82rem; }
.footer-privacy { justify-self: start; }
.footer-copyright { justify-self: center; text-align: center; }
.footer-privacy summary { display: inline-flex; align-items: center; min-height: 30px; cursor: pointer; color: #c3cad8; font-weight: 700; }
.footer-privacy summary::-webkit-details-marker { color: var(--cyan); }
.footer-privacy ul { margin: 6px 0 4px; padding-left: 1.1em; color: var(--muted); display: grid; gap: 6px; font-size: .85rem; }
.footer-status { display: inline-flex; align-items: center; justify-self: end; min-height: 30px; color: var(--text); text-decoration: none; font-weight: 750; }
.footer-status span { width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px var(--green); animation: blink-emerald-live 1.2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.footer-status:hover { color: var(--cyan-soft); }
.noscript { margin: 24px var(--gutter); padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--cyan); }

/* ---------- Persistent radio dock ---------- */
.radio-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(5, 7, 16, .95); backdrop-filter: blur(14px) saturate(1.3);
  border-top: 1px solid var(--line); box-shadow: 0 -12px 36px rgba(0, 0, 0, .55);
  padding-bottom: env(safe-area-inset-bottom);
}
.radio-dock::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple), var(--magenta)); opacity: .8; }
.dock-inner { display: flex; align-items: center; gap: 12px; width: min(100%, var(--wrap)); margin-inline: auto; padding: 8px var(--gutter); }
.play-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: linear-gradient(180deg, #1a63e0, #0f4bb8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 0 1px rgba(140, 196, 255, .45), 0 0 20px rgba(47, 140, 255, .45); }
.play-btn .i { width: 22px; height: 22px; }
.play-btn:hover { filter: brightness(1.12); }
.dock-meta { flex: 1; min-width: 0; }
.dock-meta p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-station { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .92rem; }
.dock-station .tag { padding: 0 7px; border-radius: 6px; font-size: .75rem; font-weight: 800; color: var(--cyan-soft); border: 1px solid rgba(51, 230, 255, .45); }
.dock-now { color: var(--muted); font-size: .84rem; }
.dock-now .sep { margin-inline: 6px; color: var(--faint); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; text-decoration: none; font-weight: 700; font-size: .88rem; }
.icon-btn:hover { border-color: var(--faint); color: #fff; }
.icon-btn .i { width: 20px; height: 20px; }
.dock-volume { position: relative; flex: none; }
.vol-toggle { display: none; }
.vol-pop { display: flex; align-items: center; gap: 8px; }
.vol-pop input { width: 130px; height: 28px; accent-color: var(--cyan); cursor: pointer; }
.dock-link { flex: none; padding: 0 14px; }

/* Two-state icons: both are in the markup and the control's own state picks one. */
[data-radio-toggle][aria-pressed="true"] .ic-play, [data-radio-toggle]:not([aria-pressed="true"]) .ic-pause,
[data-radio-mute][aria-pressed="true"] .ic-unmuted, [data-radio-mute]:not([aria-pressed="true"]) .ic-muted,
.menu-toggle[aria-expanded="true"] .ic-menu, .menu-toggle:not([aria-expanded="true"]) .ic-close,
.stream-dock[data-platform="kick"] .ic-twitch, .stream-dock:not([data-platform="kick"]) .ic-kick { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-cta { display: none; }
  .utility-here { display: none; }
}

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .utility-controls { display: none; }
  .utility-inner { padding-right: 0; }
  .utility-shortcuts { width: 100%; overflow-x: auto; padding-right: var(--gutter); scrollbar-width: none; }
  .utility-shortcuts::-webkit-scrollbar { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand { margin-right: auto; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--bg-deep); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0, 0, 0, .55); max-height: calc(100vh - var(--header-h) - var(--dock-h)); overflow-y: auto; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 6px; padding: 12px var(--gutter) 20px; }
  .site-nav > ul > li > a, .nav-mega > summary { min-height: 54px; padding: 0 18px; border-radius: 12px; font-size: 1.05rem; background: var(--surface); border-left: 3px solid var(--accent, var(--cyan)); }
  .site-nav > ul > li > a[aria-current="page"]::after { display: none; }
  .nav-mega { width: 100%; }
  .mega-panel { position: static; width: auto; grid-template-columns: 1fr; margin: 6px 0 10px; box-shadow: none; }
  .mega-panel p { display: none; }
  .mega-panel a { min-height: 60px; }
  .brand-word { font-size: 1.15rem; }
  .portal-hero { min-height: 0; }
  .footer-nav a, .footer-privacy summary, .footer-status { min-height: 44px; }
  .footer-legal { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-privacy, .footer-copyright, .footer-status { justify-self: center; }
  .text-link, .dest { min-height: 44px; }
  .icon-btn { min-width: 44px; height: 44px; }
  .btn-sm, [data-dock-size="compact"] .consent .btn, .tab { min-height: 44px; }
  .panel-heading > a { min-height: 44px; }
}

/* Phones: the room sits above the headline, cropped to the monitors and chair. */
@media (max-width: 699px) {
  .radio-request-intro { grid-template-columns: auto 1fr; padding: 18px; }
  .radio-request-intro .btn { grid-column: 1 / -1; width: 100%; }
  .radio-request-stage iframe { height: 760px; min-height: 680px; }
  .portal-hero { align-items: flex-end; min-height: 520px; }
  .hero-scene img { object-position: 50% 0; height: 74%; }
  .portal-hero::before { background: linear-gradient(0deg, rgba(4, 5, 14, 1) 34%, rgba(4, 5, 14, .7) 52%, rgba(4, 5, 14, .1) 72%, rgba(4, 5, 14, 0) 100%); }
  .hero-inner { padding-top: 180px; padding-bottom: 22px; }
  .hero-logo { top: 18px; right: var(--gutter); width: 104px; transform: none; }
  .hero-copy h1 { font-size: clamp(1.8rem, 7.4vw, 2.2rem); }
  .hero-copy .actions .btn { flex: 1 1 140px; }
  .radio-console { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; }
  .radio-facts span { text-align: left; }
  .radio-facts li { flex-direction: column; gap: 0; }
  .project { min-height: 120px; }
  .project-art { width: 80%; }
  .project-copy { max-width: 72%; }
  .update { grid-template-columns: 92px minmax(0, 1fr); }
  .update img { width: 92px; }
  .vol-toggle { display: inline-flex; }
  .vol-pop { display: none; position: absolute; right: 0; bottom: calc(100% + 14px); padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 0, 0, .6); }
  .dock-volume.open .vol-pop { display: flex; }
  .vol-pop input { width: 160px; }
  .icon-btn { min-width: 44px; height: 44px; }
  .dock-link { padding: 0; width: 44px; }
  .dock-link-text { display: none; }
  .dock-inner { gap: 10px; }
  .play-btn { width: 48px; height: 48px; }
  .stream-dock .consent .actions { flex-direction: column; width: 100%; }
  .stream-dock .consent .btn { width: 100%; }
  [data-stream-dock] .stream-stage { aspect-ratio: auto; min-height: 330px; }
}
@media (max-width: 479px) { .dock-station .tag { display: none; } }

.stream-roster { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); background: #0b1120; }
.stream-roster label { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .8rem; font-weight: 750; }
.stream-roster select { min-height: 44px; max-width: 100%; padding: 8px 32px 8px 12px; border: 1px solid #7752ad; border-radius: 9px; background: #12172c; color: var(--text); font: inherit; cursor: pointer; }
.stream-roster [role="status"] { color: var(--muted); font-size: .75rem; }
.stream-roster > [data-streamer-art] { flex-basis: 100%; }
.stream-roster [data-streamer-art] img { display: block; width: 100%; height: auto; border-radius: 10px; object-fit: contain; }
.onair[data-health="online"] { background: #39ff14; box-shadow: 0 0 10px #39ff1480; animation: station-pulse 1.8s ease-in-out infinite; }
.onair[data-health="offline"] { background: #ff516f; box-shadow: 0 0 10px #ff516f80; animation: station-pulse 1.8s ease-in-out infinite; }
.onair[data-health="unknown"] { background: #8e9aad; box-shadow: none; animation: none; }
@keyframes station-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* ---------- Motion & contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover { transform: none; }
}
@media (forced-colors: active) {
  .gloss, .gloss-orange, .gloss-green, .gloss-purple, .w-giant, .w-gamers, .rules li::before, .hero-copy h1 em { color: CanvasText; background: none; filter: none; }
  .btn, .play-btn, .tab, .icon-btn { border: 2px solid ButtonText; }
}

