/* ════════════════════════════════════════════════════════════════════
   ELIZA FM — Modern Cyber-Deck Design System (2026 Edition)
   Aesthetic: Neo-Synthwave / High-End Cyberpunk / Retro-Futuristic Radio
   ════════════════════════════════════════════════════════════════════ */

:root {
  /* Brand Palette */
  --bg-darkest: #070510;
  --bg-primary: #0b081a;
  --bg-secondary: #120e2a;
  --bg-card: rgba(18, 14, 42, 0.72);
  --bg-card-hover: rgba(28, 22, 62, 0.82);
  --bg-glass: rgba(14, 10, 32, 0.65);

  --line: rgba(78, 52, 140, 0.28);
  --line-bright: rgba(138, 77, 255, 0.45);
  --line-cyan: rgba(0, 240, 255, 0.35);
  --line-pink: rgba(255, 43, 214, 0.4);

  /* Vivid Cyberpunk Accents */
  --neon-pink: #ff2bd6;
  --neon-pink-glow: rgba(255, 43, 214, 0.5);
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.5);
  --neon-violet: #8a4dff;
  --neon-amber: #ffd166;
  --neon-green: #00ff88;
  --neon-red: #ff3366;

  /* Typography */
  --text-main: #f0efff;
  --text-muted: #9693be;
  --text-dim: #635f8c;

  --font-display: "Orbitron", "Syne", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --max-width: 1440px;
  --nav-height: 70px;
  --dock-height: 84px;
  --transition-fast: 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-darkest);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ─────────────────────────────  SHELL LAYOUT (index.html)  ───────────────────────────── */
body.frame-shell {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.content-frame {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: 0;
  display: block;
  background: var(--bg-darkest);
}

/* ─────────────────────────────  PERSISTENT FOOTER DOCK  ───────────────────────────── */
.player-dock-shell {
  position: relative;
  flex-shrink: 0;
  height: var(--dock-height);
  background: linear-gradient(180deg, rgba(18, 14, 42, 0.98) 0%, rgba(8, 6, 18, 0.98) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--line-bright);
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.7);
  z-index: 50;
  display: flex;
  align-items: center;
}

.player-dock-shell::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-violet), var(--neon-cyan));
  box-shadow: 0 0 16px var(--neon-pink);
}

.dock-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Dock Left: Play Button + Cover + Track Metadata */
.dock-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1.2;
}

.dock-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff7fe4, var(--neon-pink) 60%, #9e0083 100%);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 24px rgba(255, 43, 214, 0.55), inset 0 -3px 8px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  flex-shrink: 0;
}

.dock-play-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 36px rgba(255, 43, 214, 0.8);
}

.dock-play-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.dock-play-btn .icon-pause { display: none; }
.dock-play-btn.playing .icon-play { display: none; }
.dock-play-btn.playing .icon-pause { display: block; }

.dock-cover {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line-pink);
  box-shadow: 0 0 12px rgba(255, 43, 214, 0.3);
  flex-shrink: 0;
  background: #140e32;
}

.dock-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dock-meta {
  min-width: 0;
}

.dock-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dock-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.dock-artist {
  font-size: 0.82rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Dock Center: Mini Canvas Visualizer */
.dock-center {
  display: none;
  align-items: center;
  gap: 16px;
  flex: 0 0 200px;
}

@media (min-width: 860px) {
  .dock-center {
    display: flex;
  }
}

.dock-canvas-wrap {
  width: 200px;
  height: 38px;
  background: rgba(8, 6, 20, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.dock-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Dock Right: Voting + Countdown + Volume + Toggles */
.dock-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.dock-time-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  white-space: nowrap;
}

.dock-time-pill b {
  color: var(--neon-amber);
  font-weight: 700;
}

.dock-votes {
  display: none;
  align-items: center;
  gap: 6px;
}

@media (min-width: 680px) {
  .dock-votes {
    display: flex;
  }
}

.dock-vote-btn {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(18, 14, 42, 0.7);
  border: 1px solid var(--line);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dock-vote-btn:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.dock-vote-btn.selected-up {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
}

.dock-vote-btn.selected-down {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  background: rgba(255, 43, 214, 0.15);
  box-shadow: 0 0 12px rgba(255, 43, 214, 0.35);
}

.dock-vote-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.dock-vol-wrap {
  display: none;
  align-items: center;
  gap: 10px;
  width: 140px;
}

@media (min-width: 960px) {
  .dock-vol-wrap {
    display: flex;
  }
}

.dock-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--neon-cyan) 0%, var(--neon-cyan) 75%, rgba(255, 255, 255, 0.1) 75%);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.dock-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  cursor: pointer;
}

.dock-listeners {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  white-space: nowrap;
}

@media (min-width: 1100px) {
  .dock-listeners {
    display: block;
  }
}

.dock-listeners b {
  color: var(--neon-cyan);
}

.dock-settings-btn {
  background: rgba(20, 16, 46, 0.6);
  border: 1px solid var(--line);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dock-settings-btn:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
}

.dock-settings-btn.active {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
}

.audio-enhancement-panel { position: fixed; right: 1rem; bottom: 5.5rem; z-index: 1000; width: min(360px, calc(100vw - 2rem)); padding: 1rem; border: 1px solid var(--neon-cyan); background: rgba(5, 10, 24, .97); box-shadow: 0 0 30px rgba(0, 240, 255, .22); color: #fff; font: 13px/1.4 'JetBrains Mono', monospace; }
.audio-enhancement-panel[hidden] { display: none; }
.audio-enhancement-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; color: var(--neon-cyan); }
.audio-enhancement-head button { border: 0; background: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.audio-enhancement-panel label { display: grid; grid-template-columns: 1fr 110px 42px; align-items: center; gap: .5rem; margin: .55rem 0; }
.audio-enhancement-panel select { grid-column: 2 / 4; }
.audio-enhancement-panel input[type="range"] { width: 110px; }
.audio-enhancement-panel output { color: var(--neon-cyan); text-align: right; }
.audio-enhancement-note { margin: .8rem 0 0; color: rgba(255,255,255,.62); font-size: 11px; }

/* ─────────────────────────────  BACKGROUND & OVERLAYS  ───────────────────────────── */
.ambient-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-scene .glow-orb-1 {
  position: absolute;
  top: -10%;
  left: 10%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(255, 43, 214, 0.14) 0%, rgba(138, 77, 255, 0.08) 40%, transparent 70%);
  filter: blur(60px);
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.ambient-scene .glow-orb-2 {
  position: absolute;
  top: 30%;
  right: -5%;
  width: 55vw;
  height: 55vw;
  max-width: 750px;
  max-height: 750px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, rgba(80, 40, 200, 0.06) 45%, transparent 70%);
  filter: blur(70px);
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

.ambient-scene .synth-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(138, 77, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(138, 77, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vw, 5vh) scale(1.08); }
  100% { transform: translate(-3vw, -4vh) scale(0.95); }
}

.crt-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.35;
  transition: opacity 0.3s ease;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, 0.35) 3px,
    rgba(0, 0, 0, 0.35) 3px
  );
}

body.no-crt .crt-overlay {
  opacity: 0;
}

/* ─────────────────────────────  CONTENT PAGES SHARED STYLES  ───────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .container {
    padding: 0 36px;
  }
}

/* Page Navigation Bar */
.page-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-height);
  background: rgba(11, 8, 26, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: #140e32;
  border: 1px solid var(--line-pink);
  box-shadow: 0 0 16px rgba(255, 43, 214, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  background: linear-gradient(90deg, #ffffff 0%, var(--neon-pink) 50%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.nav-links-list {
  display: none;
  align-items: center;
  gap: 24px;
  list-style: none;
}

@media (min-width: 768px) {
  .nav-links-list {
    display: flex;
  }
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition-fast);
  padding: 6px 10px;
  border-radius: 4px;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 43, 214, 0.12);
  border: 1px solid rgba(255, 43, 214, 0.3);
}

.on-air-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 43, 214, 0.12);
  border: 1px solid var(--neon-pink);
  color: var(--neon-pink);
  box-shadow: 0 0 12px rgba(255, 43, 214, 0.3);
}

.on-air-pill .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-pink);
  box-shadow: 0 0 8px var(--neon-pink);
  animation: pulseNeon 1.5s infinite;
}

@keyframes pulseNeon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

/* ─────────────────────────────  HERO SECTION (start.html)  ───────────────────────────── */
.hero-section {
  padding: 56px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
  }
}

.frequency-hud {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  padding: 6px 14px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.25), inset 0 0 10px rgba(0, 240, 255, 0.08);
  border-radius: var(--radius-sm);
  width: fit-content;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.hero-title .title-gradient {
  background: linear-gradient(180deg, #ffffff 0%, var(--neon-pink) 65%, #b1008f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.hero-title .subtitle-gradient {
  background: linear-gradient(180deg, #ffffff 0%, var(--neon-cyan) 65%, #0087a3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.hero-claim {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--neon-cyan);
  margin-bottom: 20px;
}

.hero-claim em {
  font-style: normal;
  color: var(--neon-pink);
  font-weight: 700;
}

.hero-quote-card {
  background: linear-gradient(135deg, rgba(22, 16, 52, 0.8) 0%, rgba(12, 9, 28, 0.9) 100%);
  border-left: 3px solid var(--neon-pink);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  margin-bottom: 24px;
}

.hero-quote-card p {
  color: var(--text-main);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0 0 6px;
}

.hero-quote-card .quote-author {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--neon-cyan);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.btn-cyber {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(90deg, var(--neon-pink) 0%, #ca06a8 100%);
  color: #ffffff;
  box-shadow: 0 0 24px rgba(255, 43, 214, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(255, 43, 214, 0.75);
}

.btn-ghost {
  background: rgba(14, 10, 32, 0.6);
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
  box-shadow: inset 0 0 12px rgba(0, 240, 255, 0.12);
}

.btn-ghost:hover {
  background: rgba(0, 240, 255, 0.12);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
  transform: translateY(-2px);
}

/* Hero Player Card */
.cyber-player-card {
  position: relative;
  background: linear-gradient(180deg, rgba(22, 16, 52, 0.85) 0%, rgba(9, 7, 22, 0.95) 100%);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow:
    0 0 0 1px rgba(255, 43, 214, 0.2),
    0 24px 64px rgba(0, 0, 0, 0.7),
    inset 0 0 60px rgba(138, 77, 255, 0.1);
  overflow: hidden;
}

.cyber-player-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-violet), var(--neon-cyan));
  box-shadow: 0 0 16px var(--neon-pink);
}

.player-turntable-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
}

@media (max-width: 540px) {
  .player-turntable-row {
    grid-template-columns: 100px 1fr;
    gap: 16px;
  }
}

.vinyl-deck {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #0d0a1d;
  box-shadow:
    0 0 0 4px #1c1538,
    0 0 0 6px rgba(255, 43, 214, 0.25),
    0 16px 32px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.4s ease;
}

@media (max-width: 540px) {
  .vinyl-deck {
    width: 100px;
    height: 100px;
  }
}

.vinyl-grooves {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    #130e2c 0,
    #130e2c 4px,
    #0c081e 5px,
    #0c081e 9px
  );
  opacity: 0.85;
}

.vinyl-center-label {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
  z-index: 2;
}

@media (max-width: 540px) {
  .vinyl-center-label {
    width: 44px;
    height: 44px;
  }
}

.vinyl-center-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vinyl-deck.spinning {
  animation: spinVinyl 5s linear infinite;
}

@keyframes spinVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.track-main-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-main-artist {
  font-size: 0.96rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 12px;
}

/* ─────────────────────────────  STEREO LED AUSSTEUERUNGSANZEIGE (VU METER)  ───────────────────────────── */
.vu-meter-console {
  background: rgba(8, 6, 20, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 16px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.85), 0 0 14px rgba(0, 240, 255, 0.08);
}

.vu-console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.vu-console-header .vu-active-tag {
  color: var(--neon-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vu-console-header .vu-active-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green);
}

.vu-stereo-channel {
  display: grid;
  grid-template-columns: 38px 1fr 52px;
  align-items: center;
  gap: 10px;
}

.vu-ch-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

.vu-meter-bar {
  display: flex;
  gap: 3px;
  height: 12px;
  background: rgba(0, 0, 0, 0.6);
  padding: 2px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.vu-led {
  flex: 1;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.06);
  transition: opacity 0.04s ease;
}

.vu-led.green.active {
  background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green);
}

.vu-led.amber.active {
  background: var(--neon-amber);
  box-shadow: 0 0 8px var(--neon-amber);
}

.vu-led.red.active {
  background: var(--neon-red);
  box-shadow: 0 0 10px var(--neon-red);
}

.vu-db-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--neon-amber);
  text-align: right;
  min-width: 5ch;
  font-weight: 700;
}

.visualizer-canvas-container {
  margin: 22px 0 16px;
  position: relative;
  height: 90px;
  background: rgba(8, 6, 20, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.7);
}

.visualizer-canvas-container canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ─────────────────────────────  SUBPAGE HEADER  ───────────────────────────── */
.subhero-section {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 60% at 10% 30%, rgba(255, 43, 214, 0.12) 0%, transparent 60%);
}

.crumb-nav {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.crumb-nav a {
  color: var(--neon-cyan);
  text-decoration: none;
}

.subhero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin: 0 0 12px;
}

.subhero-title span {
  color: var(--neon-pink);
}

.subhero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 720px;
}

/* ─────────────────────────────  DR. BYTE SECTION  ───────────────────────────── */
.byte-dossier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
}

@media (min-width: 960px) {
  .byte-dossier-grid {
    grid-template-columns: 440px 1fr;
  }
}

.avatar-hud-frame {
  position: relative;
  aspect-ratio: 1;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-cyan);
  background: radial-gradient(circle at 50% 40%, rgba(138, 77, 255, 0.25) 0%, rgba(10, 8, 24, 0.95) 70%);
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15), 0 24px 60px rgba(0, 0, 0, 0.6);
}

.avatar-hud-frame img, .avatar-hud-frame svg {
  width: 82%;
  height: auto;
  display: block;
  margin: 10% auto 0;
  filter: drop-shadow(0 0 24px rgba(255, 43, 214, 0.35));
}

.traits-badge-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.trait-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: rgba(18, 14, 42, 0.7);
  border: 1px solid var(--line);
  color: var(--text-muted);
}

.trait-badge.pink { border-color: var(--neon-pink); color: var(--neon-pink); }
.trait-badge.cyan { border-color: var(--neon-cyan); color: var(--neon-cyan); }

/* ─────────────────────────────  PROGRAMM SCHEDULE GRID  ───────────────────────────── */
.schedule-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 48px 0;
}

.schedule-card {
  background: linear-gradient(180deg, rgba(20, 15, 48, 0.75) 0%, rgba(10, 8, 26, 0.85) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition-smooth);
}

.schedule-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.3), 0 20px 40px rgba(0, 0, 0, 0.5);
}

.schedule-card.live-now {
  border-color: var(--neon-pink);
  box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.4), inset 0 0 30px rgba(255, 43, 214, 0.08);
}

/* ─────────────────────────────  TERMINAL / TRANSMISSION  ───────────────────────────── */
.cyber-terminal {
  max-width: 880px;
  margin: 48px auto;
  background: #06050e;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.15), 0 30px 80px rgba(0, 0, 0, 0.7);
}

.terminal-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: linear-gradient(180deg, #181238 0%, #0e0a24 100%);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.terminal-workspace {
  padding: 28px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.field-error {
  color: var(--neon-pink);
  font-size: 0.8rem;
}
.term-input[aria-invalid="true"] {
  border-color: var(--neon-pink);
}
.transmission button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.term-input, .term-select, .term-textarea {
  width: 100%;
  background: #0c091d;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  padding: 12px 14px;
  outline: none;
}

.term-textarea {
  min-height: 110px;
  resize: vertical;
}

.term-input:focus, .term-select:focus, .term-textarea:focus {
  border-color: var(--neon-pink);
  box-shadow: 0 0 0 1px var(--neon-pink), 0 0 18px rgba(255, 43, 214, 0.3);
}

/* ─────────────────────────────  FOOTER (PAGES)  ───────────────────────────── */
.page-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--line);
  padding: 60px 0 120px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-grid a:hover {
  color: var(--neon-pink);
}
