@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;800;900&family=Orbitron:wght@600;700;800;900&family=Outfit:wght@400;500;600;700;800&family=Share+Tech+Mono&display=swap');

/* ==========================================================================
   ToolPage Full-Width Immersive Canvas Override for Radio Station
   ========================================================================== */
.tool-page:has(.rs-container) .container.tool-layout,
.tool-layout:has(.rs-container),
.tool-layout:has(#radioStationApp),
.tool-layout.tool-layout-immersive {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 1440px !important;
  width: 100% !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.tool-layout:has(.rs-container) > .tool-sidebar,
.tool-layout:has(#radioStationApp) > .tool-sidebar,
.tool-layout.tool-layout-immersive > .tool-sidebar {
  display: none !important;
}

.tool-widget:has(.rs-container),
.tool-widget:has(#radioStationApp),
.tool-widget.tool-widget-frameless {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  margin-bottom: 2rem !important;
}

.tool-page:has(.rs-container) .tool-page-header,
.tool-page:has(.rs-container) .tool-intro,
.tool-page:has(.rs-container) .breadcrumb {
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

:root {
  --rs-gold: #f59e0b;
  --rs-gold-glow: rgba(245, 158, 11, 0.45);
  --rs-gold-bright: #fbbf24;
  --rs-vfd-bg: #021217;
  --rs-vfd-cyan: #00f5ff;
  --rs-vfd-glow: rgba(0, 245, 255, 0.4);
  --rs-meter-bg: #fef3c7;
  --rs-meter-amber: #d97706;
  --rs-chassis-bg: #141518;
  --rs-metal-border: #3b3d44;
}

.rs-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #f1f5f9;
}

/* ==========================================================================
   Main Hi-Fi Receiver Deck Console (McIntosh / Pioneer Luxury Styling)
   ========================================================================== */
.rs-receiver-deck {
  background: 
    linear-gradient(180deg, #2a2b30 0%, #1e1f24 15%, #151619 50%, #0d0e11 100%);
  border: 3.5px solid #45474f;
  border-radius: 24px;
  box-shadow: 
    0 35px 80px -15px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 2px 4px rgba(255, 255, 255, 0.18),
    inset 0 -4px 12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  margin-bottom: 36px;
  position: relative;
}

/* Brushed aluminum top header bar */
.rs-chassis-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: linear-gradient(180deg, #32333a 0%, #202126 100%);
  border-bottom: 2px solid #1c1d22;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Heavy milled hex bolt */
.rs-chassis-screw {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #94a3b8 0%, #475569 55%, #1e293b 100%);
  border: 1px solid #1e293b;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 2px 5px rgba(0, 0, 0, 0.7);
  position: relative;
}
.rs-chassis-screw::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 2px;
  background: #0f172a;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.9);
}

.rs-brand-plate {
  text-align: center;
}
.rs-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #fbbf24;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}
.rs-brand-logo strong {
  font-family: 'Orbitron', sans-serif;
  color: #f1f5f9;
  letter-spacing: 0.12em;
  font-weight: 800;
}
.rs-model-badge {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #94a3b8;
  margin-top: 4px;
}

/* Receiver Faceplate Inner */
.rs-faceplate {
  padding: 28px;
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, #18191d 0%, #111215 100%);
}

/* ==========================================================================
   Dual Analog VU Meters (Stereo L / R - Warm Incandescent Glow)
   ========================================================================== */
.rs-vu-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.rs-vu-meter {
  height: 135px;
  background: 
    radial-gradient(ellipse at 50% 95%, #fffbeb 0%, #fef3c7 40%, #fde68a 70%, #d97706 100%);
  border: 4px solid #451a03;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    inset 0 0 25px rgba(180, 83, 9, 0.6),
    inset 0 2px 4px rgba(255, 255, 255, 0.6),
    0 6px 18px rgba(0, 0, 0, 0.6);
}

/* Diagonal glass glare highlight sheen */
.rs-vu-meter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.1) 32%,
    transparent 33%
  );
  pointer-events: none;
  z-index: 7;
}

.rs-vu-scale {
  position: absolute;
  top: 22px;
  left: 12%;
  right: 12%;
  display: flex;
  justify-content: space-between;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  font-weight: 800;
  color: #78350f;
  letter-spacing: 0.05em;
  z-index: 2;
}
.rs-vu-scale span.red {
  color: #dc2626;
  font-weight: 900;
  text-shadow: 0 0 4px rgba(220, 38, 38, 0.4);
}

.rs-vu-needle-pivot {
  position: absolute;
  bottom: -18px;
  left: 50%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #475569 0%, #1e293b 60%, #0f172a 100%);
  border: 1px solid #0f172a;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.8), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  z-index: 6;
}

.rs-vu-needle {
  position: absolute;
  bottom: 14px;
  left: 17px;
  width: 2px;
  height: 98px;
  background: linear-gradient(180deg, #dc2626 0%, #b91c1c 80%, #1e293b 100%);
  transform-origin: bottom center;
  transform: rotate(-38deg);
  transition: transform 0.07s cubic-bezier(0.1, 0.8, 0.2, 1);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.rs-vu-badge {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: #92400e;
  z-index: 7;
}

/* ==========================================================================
   Illuminated Dial Frequency Scale
   ========================================================================== */
.rs-dial-scale-frame {
  background: #07080a;
  border: 2px solid #272930;
  border-radius: 16px;
  padding: 10px 14px;
  margin-bottom: 24px;
  box-shadow: inset 0 3px 14px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(255, 255, 255, 0.03);
}

.rs-dial-glass {
  background: 
    radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.12) 0%, transparent 80%),
    linear-gradient(180deg, #181614 0%, #0d0c0a 100%);
  border-radius: 10px;
  padding: 14px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 25px rgba(245, 158, 11, 0.2);
}

.rs-dial-bands {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rs-dial-band-row {
  display: flex;
  justify-content: space-between;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #a8a29e;
}
.rs-dial-band-row.fm {
  color: #fbbf24;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.35);
}
.rs-dial-band-row.am {
  color: #38bdf8;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.35);
}
.rs-dial-band-row.web {
  color: #34d399;
  font-size: 11px;
}
.rs-band-name {
  font-weight: 900;
  width: 60px;
}
.rs-band-unit {
  font-size: 10px;
  opacity: 0.8;
}

.rs-tuning-needle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28%;
  width: 3.5px;
  background: #ef4444;
  box-shadow: 0 0 12px #ef4444, 0 0 4px #fff;
  transition: left 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  z-index: 5;
}
.rs-tuning-needle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: -4px;
  width: 11px;
  height: 8px;
  background: #ef4444;
  border-radius: 3px;
  box-shadow: 0 0 8px #ef4444;
}

/* ==========================================================================
   VFD / OLED Digital Screen (Deep Cyan Phosphor Glow)
   ========================================================================== */
.rs-vfd-display {
  background: var(--rs-vfd-bg);
  border: 2.5px solid #0891b2;
  border-radius: 16px;
  padding: 18px 24px;
  margin-bottom: 24px;
  box-shadow: inset 0 0 30px var(--rs-vfd-glow), 0 6px 18px rgba(0, 0, 0, 0.6);
  font-family: 'Share Tech Mono', monospace;
  color: var(--rs-vfd-cyan);
  position: relative;
  overflow: hidden;
}
.rs-vfd-display::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.35) 50%),
              linear-gradient(90deg, rgba(0, 245, 255, 0.04), rgba(0, 255, 128, 0.02), rgba(0, 245, 255, 0.04));
  background-size: 100% 3px, 3px 100%;
  pointer-events: none;
  z-index: 2;
}

.rs-vfd-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(6, 182, 212, 0.4);
  margin-bottom: 12px;
}
.rs-vfd-status {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rs-vfd-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #475569;
}
.rs-vfd-indicator.active {
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: rs-pulse 1.8s infinite;
}
.rs-vfd-indicator.buffering {
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
}
@keyframes rs-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.rs-vfd-badges {
  display: flex;
  gap: 6px;
}
.rs-badge {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  color: #a5f3fc;
}
.rs-badge.stereo {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fde68a;
}

.rs-vfd-main {
  margin-bottom: 14px;
}
.rs-vfd-station {
  font-family: 'Orbitron', 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #e0f2fe;
  text-shadow: 0 0 16px var(--rs-vfd-glow), 0 0 2px #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rs-vfd-country-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 6px;
  opacity: 0.95;
}
.rs-vfd-flag {
  font-size: 18px;
}
.rs-vfd-country {
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 0.04em;
  color: #bae6fd;
}
.rs-vfd-genre {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #fbbf24;
  font-weight: 800;
  text-transform: uppercase;
}

.rs-vfd-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11.5px;
  opacity: 0.9;
  border-top: 1px dashed rgba(6, 182, 212, 0.3);
  padding-top: 8px;
}
.rs-vfd-spectrum {
  background: transparent;
  width: 240px;
  height: 26px;
}
.rs-vfd-timer {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   Memory Presets Bar (P1 to P8)
   ========================================================================== */
.rs-presets-bar {
  background: linear-gradient(180deg, #1c1d22 0%, #121316 100%);
  border: 1px solid #33353d;
  border-radius: 16px;
  padding: 12px 20px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
}
.rs-presets-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #94a3b8;
  text-transform: uppercase;
}
.rs-presets-grid {
  display: flex;
  gap: 10px;
  flex: 1;
  overflow-x: auto;
}
.rs-preset-btn {
  flex: 1;
  min-width: 84px;
  background: linear-gradient(180deg, #2d3038 0%, #1a1c22 100%);
  border: 1.5px solid #3f424c;
  border-radius: 8px;
  padding: 8px 10px;
  color: #e2e8f0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.15s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.rs-preset-btn:hover {
  background: linear-gradient(180deg, #3d424e 0%, #242730 100%);
  border-color: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.5);
}
.rs-preset-btn.active {
  background: linear-gradient(180deg, #d97706 0%, #92400e 100%);
  border-color: #fde68a;
  color: #fff;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.4);
}
.rs-preset-num {
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0.9;
}
.rs-preset-name {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}

/* ==========================================================================
   Controls Console & Cluster
   ========================================================================== */
.rs-controls-console {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.rs-playback-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rs-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Rajdhani', 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
}
.rs-ctrl-btn.play-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #111215;
  padding: 13px 30px;
  font-size: 15px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45), inset 0 2px 2px rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.rs-ctrl-btn.play-btn:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.65);
}
.rs-ctrl-btn.play-btn.playing {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.rs-ctrl-btn.secondary {
  background: #27272a;
  color: #cbd5e1;
  border: 1px solid #3f3f46;
  padding: 10px 18px;
}
.rs-ctrl-btn.secondary:hover {
  background: #3f3f46;
  color: #fff;
}

.rs-ctrl-btn.record-btn {
  background: #1e293b;
  color: #f1f5f9;
  border: 1px solid #475569;
  padding: 10px 18px;
}
.rs-ctrl-btn.record-btn:hover {
  border-color: #ef4444;
}
.rs-ctrl-btn.record-btn.recording {
  background: #7f1d1d;
  color: #fecaca;
  border-color: #ef4444;
  animation: rs-rec-flash 1s infinite;
}
.rs-rec-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
}
@keyframes rs-rec-flash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Audio Cluster: Volume, EQ, Sleep Timer */
.rs-audio-cluster {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.rs-volume-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #27272a;
  padding: 6px 14px;
  border-radius: 10px;
  border: 1px solid #3f3f46;
}
.rs-mute-toggle {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.rs-mute-toggle:hover {
  color: #fbbf24;
}
.rs-vol-slider {
  width: 100px;
  accent-color: #f59e0b;
  cursor: pointer;
}
.rs-vol-value {
  font-size: 11px;
  font-weight: 800;
  width: 32px;
  color: #cbd5e1;
}

.rs-eq-selector, .rs-timer-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rs-opt-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #94a3b8;
}
.rs-eq-pills {
  display: flex;
  gap: 4px;
}
.rs-eq-pill {
  background: #27272a;
  border: 1px solid #3f3f46;
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.rs-eq-pill:hover {
  border-color: #f59e0b;
}
.rs-eq-pill.active {
  background: #f59e0b;
  color: #18181b;
  font-weight: 800;
}

.rs-timer-select {
  background: #27272a;
  color: #f1f5f9;
  border: 1px solid #3f3f46;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.rs-timer-badge {
  font-size: 10px;
  font-weight: 800;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   Global Radio Explorer Panel
   ========================================================================== */
.rs-explorer-panel {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.rs-explorer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.rs-explorer-title {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 4px 0;
}
.rs-explorer-subtitle {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
}

.rs-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 10px;
  padding: 10px 16px;
  width: 100%;
  max-width: 360px;
  color: #94a3b8;
  transition: border-color 0.15s;
}
.rs-search-bar:focus-within {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}
.rs-search-bar input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  width: 100%;
}
.rs-search-clear {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
}

/* Region Tabs */
.rs-region-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  border-bottom: 1px solid #27272a;
  margin-bottom: 18px;
}
.rs-region-tab {
  background: transparent;
  border: 1px solid #3f3f46;
  border-radius: 20px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.rs-region-tab:hover {
  background: #27272a;
  color: #fff;
}
.rs-region-tab.active {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #18181b;
  font-weight: 800;
}

/* Country Selector & Chips */
.rs-country-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.rs-country-dropdown-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rs-country-label {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
}
.rs-country-select {
  background: #27272a;
  border: 1px solid #3f3f46;
  color: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}
.rs-country-select:focus {
  border-color: #f59e0b;
}

.rs-country-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  flex: 1;
}
.rs-country-chip {
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 6px;
  padding: 6px 12px;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.rs-country-chip:hover {
  background: #3f3f46;
}
.rs-country-chip.active {
  background: #d97706;
  border-color: #fbbf24;
  color: #fff;
}

/* Genre Bar */
.rs-genre-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  border-bottom: 1px solid #27272a;
  margin-bottom: 24px;
}
.rs-genre-pill {
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 16px;
  padding: 6px 14px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.rs-genre-pill:hover {
  color: #fff;
  border-color: #71717a;
}
.rs-genre-pill.active {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #0f172a;
  font-weight: 800;
}

/* Station Results Grid */
.rs-grid-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 18px;
}
.rs-grid-filters {
  display: flex;
  gap: 16px;
}
.rs-filter-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 12px;
  color: #cbd5e1;
}

.rs-stations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

/* Individual Station Card - Luxury Lacquer Finish */
.rs-card {
  background: linear-gradient(180deg, #222329 0%, #16171b 100%);
  border: 1px solid #333640;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}
.rs-card:hover {
  background: linear-gradient(180deg, #2a2c34 0%, #1c1d23 100%);
  border-color: #fbbf24;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 16px rgba(245, 158, 11, 0.15);
}
.rs-card.playing {
  border-color: #10b981;
  background: linear-gradient(180deg, #182e25 0%, #121b17 100%);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25), inset 0 1px 1px rgba(52, 211, 153, 0.2);
}

.rs-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.rs-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #2b2e38;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  overflow: hidden;
  border: 1.5px solid #414654;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.rs-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rs-card-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.rs-card-bitrate {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.rs-card-fav {
  background: none;
  border: none;
  font-size: 17px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 2px;
}
.rs-card-fav.active, .rs-card-fav:hover {
  color: #fbbf24;
  transform: scale(1.15);
}

.rs-card-info {
  margin-bottom: 14px;
}
.rs-card-name {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}
.rs-card-loc {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11.5px;
  color: #94a3b8;
  margin: 0 0 8px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rs-card-genre {
  font-family: 'Outfit', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rs-card-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}
.rs-card-play-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}
.rs-card.playing .rs-card-play-label {
  color: #34d399;
}

/* Animated Sound Wave Bars in Card */
.rs-card-soundwaves {
  display: none;
  gap: 3px;
  align-items: flex-end;
  height: 14px;
}
.rs-card.playing .rs-card-soundwaves {
  display: flex;
}
.rs-sound-bar {
  width: 3px;
  height: 100%;
  background: #10b981;
  border-radius: 1px;
  animation: rs-wave 0.8s ease-in-out infinite alternate;
}
.rs-sound-bar:nth-child(2) { animation-delay: 0.2s; }
.rs-sound-bar:nth-child(3) { animation-delay: 0.4s; }
@keyframes rs-wave {
  0% { height: 20%; }
  100% { height: 100%; }
}

/* State Boxes */
.rs-state-box {
  padding: 40px;
  text-align: center;
  color: #94a3b8;
}
.rs-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #27272a;
  border-top-color: #f59e0b;
  border-radius: 50%;
  animation: rs-spin 0.8s linear infinite;
  margin: 0 auto 16px auto;
}
@keyframes rs-spin {
  to { transform: rotate(360deg); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .rs-vu-section {
    grid-template-columns: 1fr;
  }
  .rs-vfd-station {
    font-size: 18px;
  }
  .rs-controls-console {
    flex-direction: column;
    align-items: stretch;
  }
  .rs-playback-cluster {
    flex-wrap: wrap;
    justify-content: center;
  }
  .rs-audio-cluster {
    flex-direction: column;
    align-items: stretch;
  }
  .rs-volume-box {
    justify-content: center;
  }
}
