﻿/* Proxyma Online — кислотный интернет-эфир.
   Палитра: #B14BFF (фиолетовый), #FF3DA6 (розовый), #B6FF3D (салатовый),
   #38F2FF (циан), #FF8A3D (апельсин). Тёмный фон, крупная типографика. */
@font-face {
  font-family: "Orbitron";
  src: url("/static/proxyma/radio/fonts/Orbitron-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --bg: #07040d;
  --bg2: #0d0717;
  --panel: #130a22;
  --panel2: #1a0e2e;
  --text: #f5f0ff;
  --muted: #b7a8d2;
  --dim: #8a77a8;
  --violet: #B14BFF;
  --pink: #FF3DA6;
  --lime: #B6FF3D;
  --cyan: #38F2FF;
  --orange: #FF8A3D;
  --line: rgba(177, 75, 255, 0.24);
  --line-soft: rgba(255, 255, 255, 0.08);
  --radius: 22px;
  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", "Consolas", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  font: 500 0.9em/1.2 var(--mono);
  color: var(--lime);
  background: rgba(182, 255, 61, 0.08);
  border: 1px solid rgba(182, 255, 61, 0.18);
  border-radius: 6px;
  padding: 1px 5px;
}

/* ---------- Кислотный фон (лёгкий, без тяжёлого композитинга) ----------
   Без mix-blend-mode / backdrop-filter / больших filter: blur() — на части
   Windows-машин GPU-слой с такими эффектами не отрисовывался и контент пропадал.
   Блобы — это радиальные градиенты, они и так мягкие. */
.acid-bg {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
  isolation: isolate; contain: strict;
  background: var(--bg);
}
.acid-orb {
  position: absolute; border-radius: 50%;
  width: min(46vw, 60vmax); height: min(46vw, 60vmax);
  opacity: 0.42; max-width: 60vmax; max-height: 60vmax;
}
.acid-orb--violet { left: -14vw; top: -16vw; width: min(46vw, 60vmax); height: min(46vw, 60vmax); background: radial-gradient(circle, rgba(177,75,255,.8), transparent 68%); animation: drift1 30s ease-in-out infinite; }
.acid-orb--pink { right: -8vw; top: 4vw; width: min(34vw, 52vmax); height: min(34vw, 52vmax); background: radial-gradient(circle, rgba(255,61,166,.75), transparent 66%); animation: drift2 26s ease-in-out infinite; }
.acid-orb--lime { right: 16vw; bottom: -10vw; width: min(26vw, 44vmax); height: min(26vw, 44vmax); background: radial-gradient(circle, rgba(182,255,61,.55), transparent 66%); animation: drift3 34s ease-in-out infinite; }
.acid-orb--cyan { left: 8vw; bottom: -14vw; width: min(30vw, 50vmax); height: min(30vw, 50vmax); background: radial-gradient(circle, rgba(56,242,255,.5), transparent 68%); animation: drift2 38s ease-in-out infinite reverse; }
.acid-blobs { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.42; }
.blob { transform-origin: center; animation: blobFloat 20s ease-in-out infinite; }
.blob--pink { animation-delay: -4s; }
.blob--lime { animation-delay: -9s; }
.blob--cyan { animation-delay: -13s; }
.acid-noise {
  position: absolute; inset: 0; opacity: 0.035;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.7) 0 1px, transparent 1px 4px);
}
@keyframes drift1 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(6vw,4vw,0) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate3d(0,0,0) scale(1.05); } 50% { transform: translate3d(-5vw,5vh,0) scale(0.92); } }
@keyframes drift3 { 0%,100% { transform: translate3d(0,0,0) scale(0.95); } 50% { transform: translate3d(-7vw,-4vh,0) scale(1.15); } }
@keyframes blobFloat { 0%,100% { transform: translate(0,0) rotate(0deg); } 33% { transform: translate(18px,-14px) rotate(2deg); } 66% { transform: translate(-14px,12px) rotate(-2deg); } }

.wrap { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 0 22px 64px; }
.footer { position: relative; z-index: 1; }

/* ---------- Шапка ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(7, 4, 13, 0.96);
  border-bottom: 1px solid rgba(177, 75, 255, 0.22);
}
.topbar-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 22px;
  display: flex; align-items: center; gap: 24px; min-height: 66px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px;
  display: grid; place-items: center;
  font: 900 14px/1 var(--font); letter-spacing: 0.04em; color: #12041f;
  background: linear-gradient(135deg, var(--lime), var(--cyan) 45%, var(--violet));
  box-shadow: 0 0 24px rgba(177, 75, 255, 0.55), inset 0 1px 0 rgba(255,255,255,.6);
}
.brand-name {
  font-family: "Orbitron", var(--font); font-weight: 800; font-size: 15px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.brand-name em {
  font-style: normal;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav { display: flex; gap: 3px; }
.nav a {
  color: var(--muted); font-size: 13.5px; padding: 8px 13px; border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}
.nav a:hover { color: var(--text); background: rgba(177, 75, 255, 0.14); text-decoration: none; }
.nav a.active { color: var(--text); background: rgba(177, 75, 255, 0.2); box-shadow: inset 0 0 0 1px rgba(177,75,255,.45); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-btn {
  font-size: 12px; font-weight: 600; color: var(--text);
  border: 1px solid rgba(177, 75, 255, 0.4); border-radius: 999px;
  padding: 7px 12px; background: rgba(177, 75, 255, 0.08);
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
}
.nav-btn:hover { background: rgba(177, 75, 255, 0.2); border-color: var(--violet); text-decoration: none; }
.nav-btn--shop { border-color: rgba(255, 61, 166, 0.45); background: rgba(255, 61, 166, 0.1); }
.nav-btn--shop:hover { background: rgba(255, 61, 166, 0.22); border-color: var(--pink); }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font: 800 10px/1 var(--font); letter-spacing: 0.14em; color: var(--lime);
  border: 1px solid rgba(182, 255, 61, 0.4); background: rgba(182, 255, 61, 0.08);
  padding: 7px 10px; border-radius: 999px; text-transform: uppercase;
}
.live-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulse 1.6s infinite; }
.station-clock { font: 600 12.5px/1 var(--mono); color: var(--muted); letter-spacing: 0.06em; }

/* ---------- Мастхед ---------- */
.masthead { padding: 34px 0 8px; position: relative; }
.eyebrow {
  margin: 0 0 8px; font: 700 11px/1 var(--font); letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--lime);
}
.mast-title {
  margin: 0; font-family: "Orbitron", var(--font); font-weight: 900;
  font-size: clamp(38px, 7.2vw, 106px); line-height: 0.94; letter-spacing: -0.045em;
  text-transform: uppercase;
  background: linear-gradient(96deg, #B6FF3D 0%, #38F2FF 26%, #B14BFF 55%, #FF3DA6 78%, #FF8A3D 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.mast-title span {
  color: transparent;
  background: linear-gradient(180deg, var(--pink), var(--orange));
  -webkit-background-clip: text; background-clip: text;
  margin-left: 0.07em;
  -webkit-text-stroke: 1px rgba(255, 61, 166, 0.5);
}
.mast-row { display: flex; align-items: flex-end; gap: 24px; margin-top: 10px; flex-wrap: wrap; }
.mast-sub { margin: 0; max-width: 620px; color: var(--muted); font-size: 14.5px; }
.mast-sub b { color: var(--text); }
.mast-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 9px;
  font: 800 11px/1 var(--font); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text);
  border: 1px solid rgba(182, 255, 61, 0.5); background: rgba(182, 255, 61, 0.07);
  border-radius: 999px; padding: 10px 16px; white-space: nowrap;
  box-shadow: 0 0 26px rgba(182, 255, 61, 0.15);
}
.mast-live b { color: var(--lime); letter-spacing: 0.1em; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: pulse 1.2s infinite; }

/* ---------- RADIO AI: тикер, цифровые бейджи, скан-линии ---------- */
.ai-ticker {
  position: relative; margin-top: 18px;
  display: flex; align-items: stretch; gap: 0;
  border: 1px solid rgba(56, 242, 255, 0.34);
  border-radius: 12px; overflow: hidden;
  background: rgba(10, 7, 20, 0.9);
}
.ai-ticker::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 4px);
  opacity: .55;
}
.ai-ticker-label {
  position: relative; z-index: 1; flex: 0 0 auto;
  display: inline-flex; align-items: center; padding: 0 14px;
  font: 800 11px/1 "Orbitron", var(--font); letter-spacing: .18em; text-transform: uppercase;
  color: #0b0416; background: linear-gradient(135deg, var(--lime), var(--cyan) 60%, var(--pink));
  white-space: nowrap;
}
.ai-ticker-viewport {
  position: relative; z-index: 1; flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.ai-ticker-track {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: 10px 0;
  animation: aiTicker 46s linear infinite;
}
.ai-ticker-item {
  font: 700 11px/1 "Orbitron", var(--font); letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(56, 242, 255, 0.45);
}
.ai-ticker-item--dim { color: var(--pink); text-shadow: 0 0 12px rgba(255, 61, 166, 0.4); }
.ai-ticker-sep { color: var(--lime); padding: 0 12px; font-size: 8px; text-shadow: 0 0 10px rgba(182,255,61,.5); }
@keyframes aiTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.ai-badge {
  display: inline-flex; align-items: center; gap: 5px;
  margin-left: auto;
  font: 800 8.5px/1 "Orbitron", var(--font); letter-spacing: .14em; text-transform: uppercase;
  color: #0b0416; background: linear-gradient(120deg, var(--lime), var(--cyan));
  padding: 5px 8px; border-radius: 6px; white-space: nowrap;
  box-shadow: 0 0 12px rgba(56, 242, 255, 0.25);
}
.ai-badge-dot { width: 4px; height: 4px; border-radius: 50%; background: #0b0416; }
.ai-badge--small { font-size: 7.5px; padding: 4px 6px; }

/* Фолбэк: если браузер/GPU не умеет эффекты — прячем только декор, контент остаётся. */
@supports not (filter: blur(1px)) {
  .acid-orb, .acid-blobs, .acid-noise { display: none; }
  body { background: radial-gradient(1200px 700px at 20% 0%, #1a0d2c, #07040d 65%) fixed; }
}

/* ---------- Hero / плеер ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(310px, 0.85fr); gap: 18px; padding-top: 20px; }
.card {
  position: relative;
  background: linear-gradient(160deg, rgba(31, 16, 52, 0.9), rgba(11, 6, 20, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,.05);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(182,255,61,.06), transparent 30%, transparent 70%, rgba(255,61,166,.08));
}
.player { padding: 24px 26px 20px; overflow: hidden; }
.player-main { display: flex; gap: 24px; align-items: flex-start; }

.cover-wrap { position: relative; flex: 0 0 212px; width: 212px; height: 212px; }
.cover-ring {
  position: absolute; inset: -12px; border-radius: 28px;
  background: conic-gradient(from 0deg, var(--lime), var(--cyan), var(--violet), var(--pink), var(--orange), var(--lime));
  filter: blur(18px); opacity: 0.55; transition: opacity 0.35s;
}
.playing .cover-ring { opacity: 1; animation: spin-glow 8s linear infinite; }
.cover {
  position: relative; width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 16%;
  border-radius: 20px; border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(145deg, #221038, #0c0616);
  box-shadow: 0 20px 48px rgba(0,0,0,.65);
}
.cover-badge {
  position: absolute; left: 12px; bottom: 12px;
  font: 800 9px/1 var(--font); letter-spacing: 0.18em; text-transform: uppercase;
  color: #17061f; background: var(--lime); padding: 6px 9px; border-radius: 7px;
  box-shadow: 0 4px 16px rgba(0,0,0,.55);
}

.now-meta { min-width: 0; flex: 1; padding-top: 2px; }
.now-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.onair {
  display: inline-flex; align-items: center; gap: 7px;
  font: 800 10px/1 var(--font); letter-spacing: 0.18em; text-transform: uppercase;
  color: #0c1602; background: linear-gradient(120deg, var(--lime), #d9ff8f);
  padding: 6px 11px; border-radius: 999px;
  box-shadow: 0 0 22px rgba(182,255,61,.4);
  animation: onairPulse 2.2s ease-in-out infinite;
}
.onair i { width: 6px; height: 6px; border-radius: 50%; background: #21340a; animation: pulse 1.1s infinite; }
.is-paused .onair { animation: none; background: rgba(255,255,255,.12); color: var(--muted); box-shadow: none; }
.is-paused .onair i { background: var(--muted); animation: none; }
.slot-chip {
  font: 800 10px/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pink); border: 1px solid rgba(255,61,166,.5);
  background: rgba(255,61,166,.1); padding: 6px 11px; border-radius: 999px;
}
.slot-time { font: 600 11px/1 var(--mono); color: var(--dim); letter-spacing: 0.04em; }

.now-title {
  font-size: 30px; line-height: 1.13; margin: 13px 0 7px; letter-spacing: -0.4px;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  text-shadow: 0 0 40px rgba(177,75,255,.35);
}
.now-sub { margin: 0 0 12px; color: var(--muted); font-size: 13.5px; line-height: 1.45; min-height: 20px; }
.host-row { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; }
.host-avatar {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
  border: 1px solid rgba(177,75,255,.6); background: #1a0e2e;
  box-shadow: 0 0 14px rgba(177,75,255,.35);
}
.host-line { display: flex; flex-direction: column; line-height: 1.25; }
.host-line b { font-size: 12.5px; }
.host-line span { font-size: 11px; color: var(--dim); }

.voice-live {
  display: flex; align-items: center; gap: 9px; margin: 0 0 11px;
  border: 1px solid rgba(56,242,255,.45); background: linear-gradient(90deg, rgba(56,242,255,.12), rgba(177,75,255,.08));
  border-radius: 12px; padding: 8px 11px;
  box-shadow: 0 0 22px rgba(56,242,255,.12);
}
.voice-live[hidden] { display: none; }
.voice-mic { font-size: 15px; }
.voice-body { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.voice-body b { font-size: 12px; color: var(--cyan); }
.voice-body span { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px; }
.voice-eq { margin-left: auto; display: flex; align-items: flex-end; gap: 2px; height: 16px; }
.voice-eq i { width: 2px; height: 5px; background: var(--cyan); border-radius: 2px; animation: eq 0.9s ease-in-out infinite; }
.voice-eq i:nth-child(2) { animation-delay: .15s; }
.voice-eq i:nth-child(3) { animation-delay: .3s; }

.equalizer { display: flex; align-items: flex-end; gap: 3px; height: 22px; opacity: 0.75; }
.equalizer span {
  width: 3px; height: 6px; border-radius: 2px;
  background: linear-gradient(180deg, var(--lime), var(--cyan));
  transform-origin: bottom;
}
.playing .equalizer { opacity: 1; }
.playing .equalizer span { animation: eq 1s ease-in-out infinite; }
.equalizer span:nth-child(2) { animation-delay: 0.12s; }
.equalizer span:nth-child(3) { animation-delay: 0.26s; }
.equalizer span:nth-child(4) { animation-delay: 0.06s; }
.equalizer span:nth-child(5) { animation-delay: 0.34s; }
.equalizer span:nth-child(6) { animation-delay: 0.18s; }
.equalizer span:nth-child(7) { animation-delay: 0.3s; }
.equalizer span:nth-child(8) { animation-delay: 0.09s; }
.equalizer span:nth-child(9) { animation-delay: 0.22s; }

.progress-block { margin-top: 18px; }
.time-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 500 11.5px/1 var(--mono); color: var(--muted); margin-bottom: 8px; }
.time-center { font: 500 10.5px/1 var(--font); color: var(--dim); text-align: center; letter-spacing: 0.04em; }
.seek {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--pink) 0%, var(--orange) var(--fill, 0%), rgba(255,255,255,.12) var(--fill, 0%));
  outline: none; cursor: pointer;
}
.seek::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--pink); box-shadow: 0 0 14px rgba(255,61,166,.9); cursor: grab;
}
.seek::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--pink); }
.seek:disabled { cursor: default; opacity: 0.55; }

.duck-meter { display: flex; align-items: center; gap: 8px; margin-top: 10px; font: 700 9px/1 var(--mono); letter-spacing: 0.12em; color: var(--dim); }
.duck-label { color: var(--dim); }
.duck-bar { flex: 1; height: 3px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.duck-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--lime), var(--cyan)); transition: width 0.25s ease, background 0.25s ease; }
.duck-meter.is-ducked .duck-bar i { background: linear-gradient(90deg, var(--orange), var(--pink)); }
.duck-meter.is-ducked .duck-value { color: var(--orange); }
.duck-value { color: var(--lime); min-width: 34px; text-align: right; }

.controls { display: flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.ctrl {
  appearance: none; cursor: pointer; color: var(--text);
  background: rgba(177,75,255,.12); border: 1px solid rgba(177,75,255,.35);
  border-radius: 12px; height: 42px; min-width: 42px; padding: 0 12px;
  font-size: 15px; transition: background .15s, border-color .15s, transform .1s;
}
.ctrl:hover { background: rgba(177,75,255,.24); border-color: var(--violet); }
.ctrl:active { transform: scale(0.96); }
.ctrl.play {
  width: 54px; height: 54px; min-width: 54px; border-radius: 50%;
  font-size: 19px; padding-left: 4px; color: #1a0410;
  background: linear-gradient(135deg, var(--lime), var(--cyan) 55%, var(--pink));
  border: none; box-shadow: 0 0 30px rgba(255,61,166,.45), inset 0 1px 0 rgba(255,255,255,.5);
}
.ctrl.play:hover { filter: brightness(1.08); }
.ctrl.sync { font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); border-color: rgba(56,242,255,.35); }
.volume { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.volume input[type="range"] { -webkit-appearance: none; appearance: none; width: 96px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.15); outline: none; cursor: pointer; }
.volume input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px rgba(56,242,255,.8); }
.volume input[type="range"]::-moz-range-thumb { width: 11px; height: 11px; border: none; border-radius: 50%; background: var(--cyan); }
.autoplay-note { margin: 14px 0 0; color: var(--dim); font-size: 11.5px; line-height: 1.5; }
.autoplay-note b { color: var(--muted); }
.autoplay-note.hidden { display: none; }
.stream-note { margin: 10px 0 0; font-size: 11.5px; color: var(--cyan); }
.stream-note[hidden] { display: none; }

/* ---------- Очередь ---------- */
.side { display: flex; flex-direction: column; padding: 16px 16px 12px; overflow: hidden; }
.side-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.tabs { display: flex; gap: 4px; background: rgba(177,75,255,.1); border-radius: 10px; padding: 3px; }
.tab { appearance: none; border: none; cursor: pointer; background: transparent; color: var(--muted); font: 700 11.5px/1 var(--font); padding: 7px 11px; border-radius: 8px; }
.tab.active { background: rgba(255,61,166,.18); color: var(--pink); }
.side-count { font: 500 10.5px/1 var(--mono); color: var(--dim); }
.queue { list-style: none; margin: 0; padding: 0; overflow-y: auto; max-height: 330px; scrollbar-width: thin; scrollbar-color: rgba(177,75,255,.35) transparent; }
.queue li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 8px 4px; border-bottom: 1px dashed rgba(255,255,255,.07); cursor: pointer; border-radius: 9px; }
.queue li:hover { background: rgba(177,75,255,.1); }
.queue .q-ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; background: rgba(56,242,255,.12); color: var(--cyan); border: 1px solid rgba(56,242,255,.3); }
.queue li.is-vo .q-ico { background: rgba(255,61,166,.16); color: var(--pink); border-color: rgba(255,61,166,.4); }
.queue .q-body { min-width: 0; }
.queue .q-title { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue .q-meta { display: block; font-size: 10.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue .q-time { font: 500 10.5px/1 var(--mono); color: var(--muted); text-align: right; }
.queue .q-time small { display: block; font-size: 9.5px; color: var(--dim); margin-top: 3px; }
.queue .empty { padding: 20px 6px; color: var(--dim); font-size: 12.5px; text-align: center; }
.side-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: 11px; }

/* ---------- Полоса блоков ---------- */
.slots-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.slot-card {
  position: relative; text-align: left; cursor: pointer;
  background: rgba(19, 10, 34, 0.75); border: 1px solid var(--line); border-radius: 15px;
  padding: 13px 15px; color: var(--muted); display: flex; flex-direction: column; gap: 2px;
  transition: border-color .2s, background .2s, transform .15s; overflow: hidden;
}
.slot-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent, var(--violet)); opacity: .55; }
.slot-card--night { --accent: var(--cyan); }
.slot-card--morning { --accent: var(--lime); }
.slot-card--day { --accent: var(--violet); }
.slot-card--evening { --accent: var(--pink); }
.slot-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.slot-card.active { border-color: var(--accent); background: rgba(31, 16, 52, 0.9); box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 22%, transparent); }
.slot-ico { font-size: 15px; color: var(--accent); }
.slot-name { font: 800 13.5px/1.2 var(--font); color: var(--text); }
.slot-hours { font: 500 10.5px/1 var(--mono); color: var(--dim); }
.slot-host { position: absolute; right: 13px; top: 13px; font-size: 10.5px; color: var(--muted); }
.slot-card.active .slot-host { color: var(--accent); }

/* ---------- Программа ---------- */
.section { margin-top: 48px; }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 16px; flex-wrap: wrap; }
h2 { font-family: "Orbitron", var(--font); font-size: 21px; letter-spacing: 0.08em; margin: 0 0 6px; text-transform: uppercase; }
.section-sub { margin: 0; color: var(--muted); font-size: 13px; max-width: 760px; }
.program-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.stat-pill { font: 600 11px/1 var(--mono); color: var(--muted); border: 1px solid var(--line); background: rgba(177,75,255,.08); padding: 8px 10px; border-radius: 9px; white-space: nowrap; }
.stat-pill b { color: var(--lime); }

.program-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prog-card {
  position: relative; overflow: hidden;
  background: linear-gradient(175deg, rgba(28,14,48,.88), rgba(11,6,20,.94));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px;
  transition: border-color .2s;
}
.prog-card.active { border-color: var(--accent, var(--pink)); box-shadow: 0 0 40px color-mix(in srgb, var(--accent, var(--pink)) 18%, transparent); }
.prog-card[data-slot="night"] { --accent: var(--cyan); }
.prog-card[data-slot="morning"] { --accent: var(--lime); }
.prog-card[data-slot="day"] { --accent: var(--violet); }
.prog-card[data-slot="evening"] { --accent: var(--pink); }
.prog-head { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 10px; }
.prog-ico { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; display: grid; place-items: center; font-size: 16px; background: rgba(177,75,255,.14); border: 1px solid rgba(177,75,255,.35); color: var(--accent, var(--violet)); }
.prog-title-wrap { min-width: 0; flex: 1; }
.prog-title { margin: 0; font-size: 15.5px; font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.now-badge { font: 800 8.5px/1 var(--font); letter-spacing: 0.16em; text-transform: uppercase; color: #101800; background: var(--lime); padding: 4px 6px; border-radius: 5px; }
.prog-time { font: 500 10.5px/1.4 var(--mono); color: var(--dim); margin-top: 3px; }
.prog-host { display: flex; align-items: center; gap: 7px; margin: 10px 0 8px; font-size: 11.5px; color: var(--muted); }
.prog-host img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(177,75,255,.45); }
.prog-host b { color: var(--text); font-weight: 600; }
.prog-desc { color: var(--muted); font-size: 12.5px; margin: 0 0 10px; }
.prog-mood { display: inline-block; font: 700 10px/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan); border: 1px solid rgba(56,242,255,.3); background: rgba(56,242,255,.08); padding: 5px 8px; border-radius: 6px; margin-bottom: 10px; }
.prog-intro { font-size: 11.5px; color: var(--dim); border-left: 2px solid var(--accent, var(--violet)); padding-left: 9px; margin: 0 0 12px; }
.prog-list { list-style: none; margin: 0; padding: 0; max-height: 230px; overflow-y: auto; border-top: 1px solid var(--line-soft); scrollbar-width: thin; scrollbar-color: rgba(177,75,255,.35) transparent; }
.prog-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 6px 2px; border-bottom: 1px dashed rgba(255,255,255,.05); font-size: 11.5px; }
.prog-list .pt { font: 500 10px/1.3 var(--mono); color: var(--dim); }
.prog-list .pn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.prog-list .pn.vo { color: var(--pink); }
.prog-list .pn.digest { color: var(--orange); font-weight: 700; }
.prog-list .pd { font: 400 9.5px/1.3 var(--mono); color: var(--dim); }
.prog-foot { margin-top: 9px; font-size: 10.5px; color: var(--dim); display: flex; justify-content: space-between; gap: 10px; }

/* ---------- О радио ---------- */
.about { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: start; }
.about-card { padding: 24px 26px; }
.about-card h2 { margin-bottom: 12px; }
.about-card p { color: var(--muted); font-size: 13.5px; margin: 0 0 12px; }
.about-card b { color: var(--text); }
.about-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 14px; }
.about-facts div { background: rgba(177,75,255,.08); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.about-facts b { display: block; font: 800 20px/1.1 "Orbitron", var(--font); color: var(--lime); margin-bottom: 4px; }
.about-facts span { font-size: 10.5px; color: var(--dim); line-height: 1.3; display: block; }
.about-note { font-size: 11px !important; color: var(--dim) !important; margin-bottom: 0 !important; }
.hosts { display: grid; gap: 10px; }
.host-card { display: flex; gap: 13px; align-items: center; background: linear-gradient(120deg, rgba(28,14,48,.9), rgba(11,6,20,.9)); border: 1px solid var(--line); border-radius: 15px; padding: 13px 15px; }
.host-card img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(177,75,255,.5); }
.host-card .hc-name { font-size: 13.5px; font-weight: 800; margin: 0 0 2px; }
.host-card .hc-role { font-size: 10.5px; color: var(--pink); margin: 0 0 4px; }
.host-card .hc-desc { font-size: 11.5px; color: var(--muted); margin: 0; line-height: 1.4; }

/* ---------- Подвал ---------- */
.footer { border-top: 1px solid var(--line-soft); background: rgba(7,4,13,.85); padding: 20px 0; margin-top: 18px; }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 0 22px; display: flex; gap: 18px; flex-wrap: wrap; color: var(--dim); font-size: 12px; }
.footer-inner a { color: var(--muted); }
.footer-note { margin-left: auto; }

.load-error { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; font-size: 12.5px; color: #ffb4c8; border: 1px solid rgba(255,61,166,.45); background: rgba(255,61,166,.08); }

/* ---------- Баннер включения звука (autoplay muted) ---------- */
.sound-banner {
  position: relative; margin: 14px 0 0;
  display: flex; align-items: center; gap: 14px;
  max-width: 640px; padding: 12px 14px;
  background: linear-gradient(135deg, rgba(35,17,58,.98), rgba(11,6,20,.99));
  border: 1px solid rgba(255,61,166,.55); border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.55), 0 0 28px rgba(255,61,166,.2);
}
.sound-banner[hidden] { display: none; }
.sound-banner[data-mode="blocked"] { border-color: rgba(182,255,61,.55); box-shadow: 0 24px 60px rgba(0,0,0,.65), 0 0 34px rgba(182,255,61,.25); }
.sound-btn {
  appearance: none; border: none; cursor: pointer;
  font: 800 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
  color: #17061f; padding: 13px 20px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(135deg, var(--lime), var(--cyan) 55%, var(--pink));
  box-shadow: 0 0 26px rgba(255,61,166,.4), inset 0 1px 0 rgba(255,255,255,.55);
  transition: filter .15s, transform .1s;
}
.sound-btn:hover { filter: brightness(1.1); }
.sound-btn:active { transform: scale(.97); }
.sound-ico { margin-right: 4px; }
.sound-hint { font-size: 11.5px; color: var(--muted); line-height: 1.35; max-width: 235px; }
@media (max-width: 560px) {
  .sound-banner { flex-direction: column; gap: 8px; max-width: none; text-align: center; }
  .sound-hint { max-width: none; }
}

/* ---------- Анимации ---------- */
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes eq { 0%,100% { height: 5px; } 50% { height: 21px; } }
@keyframes spin-glow { to { transform: rotate(360deg); } }
@keyframes onairPulse { 0%,100% { box-shadow: 0 0 18px rgba(182,255,61,.35); } 50% { box-shadow: 0 0 34px rgba(182,255,61,.65); } }
@media (prefers-reduced-motion: reduce) {
  .acid-orb, .blob, .playing .equalizer span, .playing .cover-ring, .live-pill .dot,
  .onair, .onair i, .pulse-dot, .voice-eq i, .ai-ticker-track { animation: none !important; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .topbar-actions .station-clock { display: none; }
  .nav-btn { padding: 6px 10px; font-size: 11px; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .hosts { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .host-card { flex-direction: column; text-align: center; }
  .host-card img { width: 64px; height: 64px; }
  .mast-title { white-space: normal; }
  .nav { display: none; }
}
@media (max-width: 720px) {
  .player-main { flex-direction: column; align-items: stretch; }
  .cover-wrap { width: 100%; height: auto; aspect-ratio: 1 / 1; max-width: 280px; flex-basis: auto; }
  .now-title { font-size: 23px; }
  .slots-strip { grid-template-columns: 1fr 1fr; }
  .program-stats { display: none; }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .hosts { grid-template-columns: 1fr; }
  .volume { margin-left: 0; width: 100%; }
  .mast-live { margin-left: 0; }
  .topbar-actions .nav-btn { display: none; }
  .topbar-actions .nav-btn--shop { display: inline-block; }
  .voice-body span { max-width: 240px; }
}
@media (max-width: 480px) {
  .slots-strip { grid-template-columns: 1fr; }
  .now-title { font-size: 20px; }
  .player { padding: 16px; }
  .brand-name { font-size: 14px; }
  .nav-btn--shop { display: none !important; }
  .live-pill { display: none; }
  .voice-body span { max-width: 180px; }
}

/* Обложки/портреты в карточках очереди (вместо эмодзи) */
.queue .q-ico { overflow: hidden; padding: 0; }
.queue .q-ico img { width: 100%; height: 100%; object-fit: cover; display: block; object-position: 50% 18%; }
.queue .q-ico--art { background: rgba(56,242,255,.10); border-color: rgba(56,242,255,.25); }
.queue .q-ico--host { background: rgba(255,61,166,.16); border-color: rgba(255,61,166,.4); }
.queue .q-ico--host img { border-radius: 50%; }



/* ---------- Material Icons (локальные шрифты: remote-шрифты с proxyon.ru
   не отдаются с CORS, поэтому подключаем копии из /static/proxyma/radio/fonts/) ---------- */
@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  src: url("/static/proxyma/radio/fonts/icons.woff2") format("woff2");
  font-display: block;
}
@font-face {
  font-family: "Material Icons Outlined";
  font-style: normal;
  font-weight: 400;
  src: url("/static/proxyma/radio/fonts/icons-outlined.woff2") format("woff2");
  font-display: block;
}
.material-icons {
  font-family: "Material Icons", sans-serif;
}
.material-icons-outlined {
  font-family: "Material Icons Outlined", sans-serif;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  vertical-align: middle;
}

/* ---------- Иконки в интерфейсе ---------- */
.nav-btn { display: inline-flex; align-items: center; gap: 5px; }
.nav-btn .material-icons { font-size: 16px; }
.ctrl { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.ctrl .material-icons { font-size: 22px; }
.ctrl.sync .material-icons { font-size: 18px; }
.ctrl.play {
  display: grid;
  place-items: center;
  line-height: 1;
  padding: 0;
}
.ctrl.play .material-icons {
  font-size: 26px;
  margin: 0;
  transform: none;
}
.ctrl.play .material-icons.is-play { margin-left: 2px; }
.slot-ico.material-icons { font-size: 16px; }
.prog-ico.material-icons { font-size: 18px; }
.voice-mic.material-icons { font-size: 18px; }
.ai-badge .material-icons { font-size: 10px; }
.q-ico .material-icons { font-size: 16px; }

/* ---------- Онлайн-чип в шапке ---------- */
.online-chip {
  display: inline-flex; align-items: center; gap: 4px;
  height: 26px; padding: 0 9px; border-radius: 999px;
  border: 1px solid rgba(56, 242, 255, 0.35);
  background: rgba(56, 242, 255, 0.08);
  color: var(--cyan); font: 700 10.5px/1 var(--mono);
  letter-spacing: 0.04em; white-space: nowrap;
}
.online-chip .material-icons-outlined { font-size: 15px; }
.online-chip b { color: var(--lime); font-weight: 700; }
.online-label { color: var(--dim); font: 600 10px/1 var(--font); letter-spacing: 0.06em; }

/* ---------- Соцсчётчики в плеере ---------- */
.social-row {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  margin: 0 0 12px;
}
.social-btn {
  appearance: none; display: inline-flex; align-items: center; gap: 5px;
  min-height: 26px; padding: 3px 9px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted); font: 600 11.5px/1 var(--font);
  text-decoration: none; cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.social-btn:hover {
  color: var(--text); border-color: rgba(255, 61, 166, 0.4);
  background: rgba(255, 61, 166, 0.08); text-decoration: none;
}
.social-btn .material-icons-outlined { font-size: 16px; }
.social-btn--like.is-liked { color: var(--pink); border-color: rgba(255, 61, 166, 0.55); background: rgba(255, 61, 166, 0.12); }
.social-btn--like.is-liked .material-icons-outlined { color: var(--pink); }
.social-count { font: 700 11px/1 var(--mono); color: var(--text); min-width: 12px; }
.social-btn--online { cursor: default; }
.social-btn--online::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 8px var(--lime);
  animation: pulse 1.8s ease-in-out infinite;
}
.social-btn--online .social-count { color: var(--lime); }

@media (max-width: 1080px) {
  .online-chip { display: none; }
}
@media (max-width: 720px) {
  .social-row { gap: 5px; }
  .social-btn { font-size: 10.5px; padding: 3px 7px; }
  .social-btn .material-icons-outlined { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .social-btn--online::before { animation: none; }
}
