:root {
  --red: #E5A93C;
  --fg: #FDFCFB;
  --muted: rgba(253, 252, 251, 0.5);
  --rail: rgba(255, 255, 255, 0.1);
  --rail-2: rgba(255, 255, 255, 0.25);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  --header-h: 64px;
  --donate-h: 42px;
  --cover-bg: url("uploads/radio-covers/default-logo.jpg");
  --font-ui: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
}

html { min-height: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--fg);
  background: #030202;
  position: relative;
  cursor: default;
}

a, button, [role="button"], input, select, textarea, label {
  cursor: pointer;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 50% 0%, #110c08 0%, #030202 70%);
}

.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--cover-bg);
  background-size: cover;
  background-position: center;
  filter: blur(80px) saturate(140%);
  opacity: 0.12;
  transition: background-image 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(3, 2, 2, 0.6);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header__slashes-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: var(--header-h);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.header__slashes {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  gap: 96px;
  transform: skewX(-28deg);
  transform-origin: bottom left;
  margin-left: 20px;
}

.header__slashes span {
  width: 96px;
  height: 100%;
  background-color: #8B1538;
}

.header__slashes span:nth-child(1) { opacity: 0.1; }
.header__slashes span:nth-child(2) { opacity: 0.2; }
.header__slashes span:nth-child(3) { opacity: 0.3; }
.header__slashes span:nth-child(4) { opacity: 0.4; }
.header__slashes span:nth-child(5) { opacity: 0.5; }
.header__slashes span:nth-child(6) { opacity: 0.6; }
.header__slashes span:nth-child(7) { opacity: 0.7; }
.header__slashes span:nth-child(8) { opacity: 0.8; }
.header__slashes span:nth-child(9) { opacity: 0.9; }
.header__slashes span:nth-child(10) { opacity: 1; }

.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.header__logo img {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  white-space: nowrap;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-link--active {
  color: var(--red);
  background: rgba(229, 169, 60, 0.06);
  text-shadow: 0 0 12px rgba(229, 169, 60, 0.3);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-share-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  padding: 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 0.4s ease;
}

.nav-share-btn:hover {
  color: var(--red);
  background: rgba(229, 169, 60, 0.08);
  filter: drop-shadow(0 0 8px rgba(229, 169, 60, 0.4));
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.burger:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.burger span {
  width: 16px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--red); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--red); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  gap: 4px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav__link {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.mobile-nav__link:hover,
.mobile-nav__link--active {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.donate-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 24px;
  background: linear-gradient(90deg, #DCA342, #F7D070, #DCA342);
  background-size: 200% auto;
  color: #030202;
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 20px rgba(229, 169, 60, 0.15);
  animation: goldShimmer 6s linear infinite;
}

@keyframes goldShimmer {
  to { background-position: 200% center; }
}

.donate-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 115%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  transform: translateX(-115%);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 0;
}

.donate-bar:hover::before { transform: translateX(0); }

.donate-bar__heart,
.donate-bar__text,
.donate-bar__arrow {
  position: relative;
  z-index: 1;
  color: #030202;
  line-height: 1;
}

.donate-bar__heart {
  font-size: 14px;
  display: inline-block;
}

.donate-bar:hover .donate-bar__heart {
  animation: heartbeat 0.8s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes heartbeat {
  0%, 80%, 100% { transform: scale(1); }
  20%  { transform: scale(1.3); }
  60%  { transform: scale(1.1); }
}

.donate-bar__arrow { font-size: 16px; }

.wrap {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: calc(var(--header-h) + var(--donate-h) + 6vh);
  padding-bottom: 0;
  padding-left: 20px;
  padding-right: 20px;
}

.player {
  width: min(540px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cover {
  width: min(280px, 60vw);
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px -10px rgba(0,0,0,0.9), 0 0 50px rgba(229, 169, 60, 0.12);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
  pointer-events: none;
  z-index: 3;
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
}

.cover.loading img {
  transform: scale(0.92);
  opacity: 0.4;
}

.cover.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(icons/spinner-white.svg) center / 36px no-repeat;
  z-index: 2;
  pointer-events: none;
  opacity: 0.5;
}

.live-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  background: rgba(3, 2, 2, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.live-badge.is-live {
  color: #fff;
  border-color: rgba(229, 169, 60, 0.3);
  background: rgba(229, 169, 60, 0.15);
  box-shadow: 0 0 20px rgba(229, 169, 60, 0.2);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  transition: background 0.4s ease;
}

.live-badge.is-live .live-dot {
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: live-pulse 1.6s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

h1 {
  font-size: clamp(20px, 4vw, 32px);
  margin: 0;
  height: clamp(28px, 4.5vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
}

#program,
#hosts {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  justify-content: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

#program:not(.marquee) .track-inner,
#hosts:not(.marquee) .track-inner { justify-content: center; }

#program .track-inner,
#hosts .track-inner {
  display: inline-flex;
  align-items: center;
  gap: 60px;
  white-space: nowrap;
}

#program.marquee,
#hosts.marquee { justify-content: flex-start; }

#program.marquee .track-inner,
#hosts.marquee .track-inner { animation: marquee-loop 24s linear infinite; }

#program.marquee:hover .track-inner,
#hosts.marquee:hover .track-inner { animation-play-state: paused; }

.track-title {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}

@keyframes marquee-loop {
  0%, 10% { transform: translateX(0); }
  70%, 90% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.hosts {
  margin: 0;
  color: var(--muted);
  text-align: center;
  min-height: 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.skeleton {
  color: transparent !important;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

h1.skeleton {
  width: 65%;
  margin-left: auto;
  margin-right: auto;
}

.hosts.skeleton {
  width: 40%;
  display: block;
  -webkit-mask-image: none;
  mask-image: none;
  margin-left: auto;
  margin-right: auto;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%);
  animation: shimmer 1.8s infinite;
}

@keyframes shimmer { 100% { transform: translateX(100%); } }

.progress {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  position: relative;
}

.time {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

.hour-track {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

.hour-bar {
  height: 100%;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 12px rgba(229, 169, 60, 0.8);
  transition: width 0.1s linear;
}

.timeline-tip {
  position: absolute;
  top: -30px;
  background: rgba(15, 10, 8, 0.95);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transform: translateX(-50%);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  border: 1px solid rgba(229, 169, 60, 0.15);
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
}

.timeline-tip.visible {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.controls {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}

.btn {
  appearance: none;
  border: 0;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  color: #030202;
  cursor: pointer;
  border-radius: 999px;
  display: grid;
  place-items: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 64px;
  height: 64px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.8), inset 0 -2px 5px rgba(0,0,0,0.1), inset 0 2px 5px rgba(255,255,255,0.8);
  outline: none;
  flex-shrink: 0;
}

.btn:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 45px rgba(0,0,0,0.9), 0 0 30px rgba(229, 169, 60, 0.2), inset 0 -2px 5px rgba(0,0,0,0.1);
}

.btn:active {
  transform: scale(0.96);
}

.btn svg { width: 28px; height: 28px; fill: #030202; }

.btn.play.is-playing { animation: play-pulse 2s infinite ease-in-out; }

.btn.loading svg { display: none; }
.btn.loading::after {
  content: "";
  width: 24px;
  height: 24px;
  border: 2.5px solid rgba(3, 2, 2, 0.1);
  border-top-color: #030202;
  border-radius: 50%;
  animation: btn-spin 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  display: block;
}

@keyframes btn-spin {
  100% { transform: rotate(360deg); }
}

@keyframes play-pulse {
  0%, 100% { box-shadow: 0 12px 35px rgba(0,0,0,0.8), 0 0 20px rgba(229, 169, 60, 0.2); }
  50% { box-shadow: 0 12px 35px rgba(0,0,0,0.8), 0 0 45px rgba(229, 169, 60, 0.6); }
}

.btn--history {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}

.btn--history:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 25px rgba(0,0,0,0.5), 0 0 15px rgba(229, 169, 60, 0.15);
  transform: scale(1.06);
}

.btn--history.active {
  background: rgba(229, 169, 60, 0.1);
  color: var(--red);
  border-color: rgba(229, 169, 60, 0.3);
  box-shadow: 0 0 20px rgba(229, 169, 60, 0.2);
}

.btn--history svg { width: 20px; height: 20px; fill: none; stroke: currentColor; }

.volume-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-vol {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.3);
  padding: 6px;
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  outline: none;
}

.btn-vol:hover { color: #fff; filter: drop-shadow(0 0 5px rgba(255,255,255,0.3)); }

.vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 90px;
  height: 4px;
  background: transparent;
  cursor: pointer;
  outline: none;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--red) 0%,
    var(--red) var(--vol-pct, 100%),
    rgba(255,255,255,0.08) var(--vol-pct, 100%),
    rgba(255,255,255,0.08) 100%
  );
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 0 10px rgba(229, 169, 60, 0.4);
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.vol-slider::-webkit-slider-thumb:hover { transform: scale(1.3); }

.vol-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 0 10px rgba(229, 169, 60, 0.4);
}

.history-btn-wrap {
  position: relative;
}

.history-popup {
  position: absolute;
  bottom: calc(100% + 16px);
  right: 0;
  width: 320px;
  background: rgba(8, 5, 5, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.9), 0 0 30px rgba(229, 169, 60, 0.05);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 200;
}

.history-popup.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.history-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.history-popup__all {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.history-popup__all:hover { color: #fff; text-shadow: 0 0 8px rgba(255,255,255,0.4); }

.history-popup__list {
  padding: 10px 0;
}

.history-popup__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  transition: all 0.3s ease;
  border-left: 2px solid transparent;
}

.history-popup__item:hover { 
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  border-left-color: var(--red);
}

.history-popup__time {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  min-width: 36px;
}

.history-popup__title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
}

.history-popup__empty {
  padding: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  font-weight: 500;
}

.mobile-history-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-history-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-history-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(8, 5, 5, 0.95);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.8);
  z-index: 301;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  padding-bottom: env(safe-area-inset-bottom, 20px);
}

.mobile-history-sheet.open {
  transform: translateY(0);
}

.mobile-history-sheet__handle {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  margin: 16px auto 0;
}

.mobile-history-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.mobile-history-sheet__all {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.mobile-history-sheet__list {
  padding: 10px 0;
  max-height: 50vh;
  overflow-y: auto;
}

.mobile-history-sheet__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  transition: background 0.3s ease;
}

.mobile-history-sheet__item:active { background: rgba(255,255,255,0.04); }

.mobile-history-sheet__time {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.25);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  min-width: 40px;
  letter-spacing: 0.05em;
}

.mobile-history-sheet__title {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
}

.status-msg {
  min-height: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  transition: opacity 0.4s ease;
  margin-top: -10px;
}

.status-msg:empty { opacity: 0; }

.preloader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: #030202;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.preloader .loader {
  border: 2px solid rgba(255,255,255,0.03);
  border-top: 2px solid var(--red);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  animation: spin 0.9s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  box-shadow: 0 0 20px rgba(229, 169, 60, 0.2);
}

@keyframes spin { 100% { transform: rotate(360deg); } }

.footer {
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
  background: linear-gradient(to top, rgba(10, 7, 5, 0.8) 0%, rgba(3, 2, 2, 0) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(229, 169, 60, 0.15) 50%, transparent 100%);
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  border-top: none;
}

.footer__col--brand .footer__logo {
  height: 30px;
  width: auto;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.05));
}

.footer__tagline {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(229, 169, 60, 0.4);
  margin: 0 0 8px;
}

.footer__city {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.25);
  margin: 0;
  letter-spacing: 0.05em;
}

.footer__col-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(229, 169, 60, 0.5);
  margin: 0 0 20px;
}

.footer__link {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  margin-bottom: 12px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  letter-spacing: 0.02em;
  user-select: text;
  -webkit-user-select: text;
}

.footer__link:hover {
  color: #fff;
  transform: translateX(6px);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px 40px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.2);
  border-top: none;
  position: relative;
  text-align: center;
}

.footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
}

.snow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  border-radius: 20px;
}

.particle { position: absolute; pointer-events: none; will-change: transform, opacity; }
.particle.winter { background: #fff; border-radius: 50%; box-shadow: 0 0 4px rgba(255,255,255,0.4); }
.particle.winter.depth-far  { width: 2px; height: 2px; opacity: 0.3; filter: blur(1px); }
.particle.winter.depth-mid  { width: 3px; height: 3px; opacity: 0.5; }
.particle.winter.depth-near { width: 4px; height: 4px; opacity: 0.8; }
.particle.spring { background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(229,169,60,0.5)); border-radius: 50% 0 50% 0; }
.particle.spring.depth-far  { width: 4px; height: 4px; opacity: 0.4; }
.particle.spring.depth-mid  { width: 6px; height: 6px; opacity: 0.6; }
.particle.spring.depth-near { width: 9px; height: 9px; opacity: 0.9; }
.particle.summer { border-radius: 50%; mix-blend-mode: screen; background: rgba(229,169,60,0.8); box-shadow: 0 0 10px rgba(229,169,60,0.4);}
.particle.summer.depth-far  { width: 4px; height: 4px; opacity: 0.2; }
.particle.summer.depth-mid  { width: 8px; height: 8px; opacity: 0.4; filter: blur(1px); }
.particle.summer.depth-near { width: 14px; height: 14px; opacity: 0.6; filter: blur(2px); }
.particle.autumn { border-radius: 2px 10px 2px 10px; background: rgba(229,169,60,0.7); opacity: 0.8; }
.particle.autumn.depth-far  { width: 5px; height: 5px; opacity: 0.4; }
.particle.autumn.depth-mid  { width: 8px; height: 8px; opacity: 0.6; }
.particle.autumn.depth-near { width: 11px; height: 11px; opacity: 0.9; }

.pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
  color: #fff;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  outline: none;
  backdrop-filter: blur(10px);
}

.pill:hover { border-color: rgba(229, 169, 60, 0.4); background: rgba(255,255,255,0.05); box-shadow: 0 5px 15px rgba(0,0,0,0.3); transform: translateY(-1px);}
.pill.active { background: rgba(229, 169, 60, 0.15); border-color: var(--red); box-shadow: 0 0 15px rgba(229, 169, 60, 0.2); }

@media (max-width: 767px) {
  :root { --header-h: 60px; --donate-h: 38px; }

  .header__nav { display: none; }
  .nav-share-btn { display: none; }
  .burger { display: flex; }

  .wrap { padding-left: 16px; padding-right: 16px; padding-top: calc(var(--header-h) + var(--donate-h) + 4vh); }

  .vol-slider { width: 60px; }

  .history-popup { display: none; }

  .mobile-history-overlay { display: block; }
  .mobile-history-sheet { display: block; }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 20px;
  }

  .footer__col--brand {
    grid-column: 1 / -1;
  }

  .footer__bottom { padding: 16px 20px 32px; }

  .btn { width: 56px; height: 56px; }
  .btn svg { width: 24px; height: 24px; }
  .cover { width: min(280px, 70vw); }
}

@media (min-width: 768px) {
  .mobile-history-overlay,
  .mobile-history-sheet { display: none !important; }
  .burger { display: none; }
}

@media (min-width: 1024px) {
  .player { gap: 32px; }
  .cover { width: min(340px, 40vw); }
  h1 { font-size: clamp(24px, 3vw, 36px); }
  .btn { width: 72px; height: 72px; }
  .btn svg { width: 32px; height: 32px; }
  .vol-slider { width: 120px; }
}

@media (hover: none) {
  .btn:hover { transform: none; box-shadow: 0 12px 35px rgba(0,0,0,0.8), inset 0 -2px 5px rgba(0,0,0,0.1), inset 0 2px 5px rgba(255,255,255,0.8); }
  .vol-slider::-webkit-slider-thumb:hover { transform: none; }
  .pill:hover { transform: none; }
  .footer__link:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .skeleton::after { background: none !important; }
  .cover.loading::after { content: none !important; }
  #program.marquee .track-inner,
  #hosts.marquee .track-inner { animation: none !important; }
  .btn.play.is-playing { box-shadow: 0 0 30px rgba(229,169,60,0.4); }
  .donate-bar { animation: none !important; }
}