/*
========================================
   RADIO BRAQUAGE - STYLESHEETS
========================================
   Loaded in this order by index.html (the order matters for the cascade):
   css/base.css         1. variables & resets, 2. base & canvas (visualizer)
   css/layout.css       3. layout & navigation (channel menu, trackbar,
                           listeners, live badge, cover)
   css/panels.css       4. modules (panels, chat, history)
   css/overlays.css     5. overlays (splash, pause, about page, modals)
   css/about-panes.css  the about page's tabs: stations, schedule, settings,
                        dev menu
   css/mobile.css       6. mobile responsiveness
   css/zen.css          zen mode
========================================
*/

/* =====================================
   1. VARIABLES & RESETS
===================================== */
:root {
  --theme-color: rgb(255, 255, 255);
  --bg-color: rgba(0, 0, 0);
}

*, *::before, *::after {
  box-sizing: border-box;
  font-family: inherit;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-color, black);
  transition: background 0.3s ease;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  font-family: monospace;
}

#channel-selector,
#current-channel,
.channel-option,
#about-toggle,
#about-close,
#schedule-toggle,
#archive-link,
#copy-track-btn,
#report-track-btn,
#splash-screen {
  user-select: none;
  -webkit-user-select: none; /* safari bullshit */
}

/* =====================================
   2. BASE & CANVAS (Visualizer)
===================================== */
#canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
}

#ascii {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ascii-edge {
  position: fixed;
  top: 0;
  z-index: 5;
  font-size: 14px;
  color: var(--theme-color);
  white-space: pre;
  pointer-events: none;
  opacity: 0.7;
  animation: scrollVertical 40s linear infinite;
}

#ascii-left { left: 20px; }
#ascii-right { right: 20px; text-align: right; }

@keyframes scrollVertical {
  0% { transform: translateY(100vh); }
  100% { transform: translateY(-100%); }
}

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

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

