
/* ═══════════════════════════════════════════════════════════════════════════
   1. CORE VARIABLES (Single source — TMC Green + Orange theme)
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  /* Primary colors */
  --primary: #14532d;
  --main-text: #1a1a1a;
  --secondary-text: #6b7280;
  --gray-light: #e5e7eb;
  --orange-main: #e96e00;
  --orange-main-light: #ffd3ad;
  --green-live: #22c55e;
  --placeholder-img: #f3f4f6;

  /* Mapped tokens (used by header/player components) */
  --brand-navy: var(--primary);
  --brand-accent: var(--orange-main);
  --brand-green: var(--green-live);
  --text: var(--main-text);
  --text-2: var(--secondary-text);
  --border: var(--gray-light);
  --ch-color-navy: var(--primary);
  --ch-color-accent: var(--orange-main);
  --ch-color-live: #dc2626;
  --ch-color-live-dark: #b91c1c;

  /* Header dimensions */
  --ch-height-top: 32px;
  --ch-height-main: 150px;
  --ch-height-nav-main: 44px;
  /* Fonts */
  --ch-font-sans: "Plus Jakarta Sans", sans-serif;
  --ch-font-heading: "Space Grotesk", sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════════════
   2. BASE STYLES
   ═══════════════════════════════════════════════════════════════════════════ */
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: #ffffff;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", sans-serif;
}

[x-cloak] { display: none !important; }

/* Prose (news articles) */
.prose {
  line-height: 1.7;
}
.prose h2, .prose h3 {
  color: var(--main-text);
  margin-top: 24px;
}
.prose p {
  margin-top: 12px;
}
.prose a {
  color: var(--orange-main);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════════════
   3. CUSTOM HEADER (ch-* components)
   ═══════════════════════════════════════════════════════════════════════════ */

/* --- Layout --- */
.ch-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  font-family: var(--ch-font-sans);
  background: white;
  box-shadow: none;
}

.ch-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
}

/* --- Responsive utilities --- */
.ch-hidden-desktop { display: block; }
.ch-hidden-mobile { display: none; }

@media (min-width: 1024px) {
  .ch-hidden-desktop { display: none; }
  .ch-hidden-mobile { display: block; }
  .ch-flex-desktop { display: flex; }
}

/* --- Top Bar (Row 1) --- */
.ch-topbar {
  height: var(--ch-height-top);
  background-color: var(--ch-color-navy);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  letter-spacing: 0.5px;
  display: none;
}

@media (min-width: 1024px) {
  .ch-topbar { display: block; }
}

.ch-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.ch-social {
  display: flex;
  gap: 12px;
}
.ch-social a {
  color: white;
  opacity: 0.7;
  transition: opacity 0.2s;
  text-decoration: none;
}
.ch-social a:hover { opacity: 1; }
.ch-social svg { width: 14px; height: 14px; }

/* --- Main Bar (Row 2) --- */
.ch-main {
  height: 64px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  border-bottom: 1px solid #f0f0f0;
}

@media (min-width: 1024px) {
  .ch-main { height: 124px; }
}

.ch-main-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
  gap: 14px;
}

/* Logo */
.ch-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.ch-logo img {
  height: 60px;
  width: auto;
  display: block;
}

@media (min-width: 1024px) {
  .ch-logo img { height: 108px; }
}

/* Actions */
.ch-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.ch-weather {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ch-color-navy);
}

@media (min-width: 1024px) {
  .ch-weather { display: flex; }
}

.ch-live-btn {
  background: var(--ch-color-live);
  color: white;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .ch-live-btn {
    padding: 8px 16px;
    font-size: 12px;
    gap: 8px;
  }
}
.ch-live-btn:hover {
  background: var(--ch-color-live-dark);
  filter: brightness(0.9);
}

.ch-live-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: ch-pulse 1.5s infinite;
}

.ch-login-btn {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #374151;
  text-decoration: none;
}
.ch-login-btn:hover {
  color: var(--ch-color-accent);
}

@keyframes ch-pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

/* --- Nav Main (Row 3) --- */
.ch-nav-main {
  background: linear-gradient(90deg, #fcfdfd 0%, #f2f7fa 100%);
  height: var(--ch-height-nav-main);
  display: none;
  border-top: 1px solid #e9eef2;
  border-bottom: 1px solid #e0e8ee;
}

@media (min-width: 1024px) {
  .ch-nav-main { display: block; }
}

.ch-menu-main {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.ch-menu-main > li > a {
  color: #333333;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0 8px;
  height: 100%;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.ch-menu-main > li > a:hover {
  color: var(--ch-color-accent);
}

.ch-menu-main > li > a.active {
  color: var(--ch-color-accent);
  font-weight: 700;
  position: relative;
}

.ch-menu-main > li > a.active::before {
  content: '';
  position: absolute;
  bottom: 7px;
  left: 8px;
  right: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-accent);
}

/* ── Search Toggle & Bar ── */
.ch-search-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
}

.ch-search-bar {
  background: #ffffff;
  border-bottom: none;
  padding: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.25s ease, opacity 0.25s ease;
}

.ch-search-bar.is-open {
  height: 60px;
  opacity: 1;
}

.ch-search-form {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 12px;
}

.ch-search-icon {
  width: 20px;
  height: 20px;
  color: #9ca3af;
  flex-shrink: 0;
}

.ch-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: var(--ch-font-heading);
  color: var(--main-text);
  background: transparent;
}

.ch-search-input::placeholder {
  color: #9ca3af;
}

.ch-search-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b7280;
  cursor: pointer;
  flex-shrink: 0;
}

.ch-menu-main > li > a::after {
  display: none;
}

/* --- Mobile Elements --- */
.ch-mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ch-color-navy);
}
.ch-mobile-btn svg { width: 32px; height: 32px; stroke-width: 2.2; color: #111; }

@media (min-width: 1024px) {
  .ch-mobile-btn { display: none; }
}

/* Mobile Drawer */
.ch-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 88%;
  max-width: 340px;
  background: #fff;
  z-index: 1100;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.ch-mobile-drawer.open { transform: translateX(0); }

.ch-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1099;
  display: none;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.ch-mobile-backdrop.open { display: block; }

/* Drawer Header */
.ch-md-header {
  background: #f7f7f7;
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
  border-bottom: 1px solid #e5e5e5;
}

/* Search bar in mobile drawer */
.ch-md-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50px;
  padding: 8px 16px;
  height: 38px;
}
.ch-md-search svg {
  color: #999;
  flex-shrink: 0;
}
.ch-md-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  color: #333;
  background: transparent;
}
.ch-md-search input::placeholder {
  color: #aaa;
}

.ch-md-close {
  color: #666;
  background: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}

/* Drawer Nav */
.ch-md-nav {
  padding: 12px 0;
  flex: 1;
}

.ch-md-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-bottom: none;
  transition: background 0.15s;
}
.ch-md-link:active {
  background: #f5f5f5;
}

/* Separator line between nav and categories */
.ch-md-cat-title {
  margin: 8px 24px 0;
  padding: 16px 0 10px;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ch-color-accent);
  font-weight: 800;
  letter-spacing: 1.5px;
  border-top: 1px solid #eee;
}

/* Category links indented */
.ch-md-link.ch-md-cat-link {
  padding-left: 38px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

/* Mobile drawer social footer */
.ch-md-footer {
  padding: 20px 24px 80px;
  border-top: 1px solid #eee;
  flex-shrink: 0;
}
.ch-md-footer-social {
  display: flex;
  gap: 12px;
}
.ch-md-footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.ch-md-footer-social a svg { width: 18px; height: 18px; }

@media (min-width: 1024px) {
  .ch-mobile-drawer,
  .ch-mobile-backdrop {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   4. CATEGORIES DRAWER
   ═══════════════════════════════════════════════════════════════════════════ */
.ch-cat-toggle {
  position: relative;
  z-index: 100;
}

.ch-cat-btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: transparent;
  color: var(--ch-color-accent);
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .ch-cat-btn { display: flex; }
}

.ch-cat-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 9998;
}
.ch-cat-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.ch-cat-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: white;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}
.ch-cat-drawer.open {
  transform: translateX(0);
}

.ch-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}

.ch-cat-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  padding: 0;
}
.ch-cat-close svg {
  width: 18px;
  height: 18px;
}
.ch-cat-close:hover {
  background: #eee;
  color: var(--ch-color-accent);
}

.ch-cat-search { padding: 20px 24px; }

.ch-cat-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 25px;
  font-size: 14px;
  background: #f9f9f9;
  transition: all 0.2s;
}
.ch-cat-input:focus {
  outline: none;
  border-color: var(--ch-color-accent);
  background: white;
}

.ch-cat-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0 0 20px;
}

.ch-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
  border-bottom: 1px solid #f0f0f0;
}
.ch-cat-link:hover {
  background: #f9f9f9;
  color: var(--ch-color-accent);
}

.ch-cat-link-main {
  font-weight: 700;
  color: var(--ch-color-accent);
  background: #fff5f2;
}

.ch-cat-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border-top: 1px solid #eee;
  background: #f9f9f9;
}

.ch-social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
}

.ch-social-fb { background: #1877F2; }
.ch-social-yt { background: #FF0000; }
.ch-social-tw { background: #000000; }
.ch-social-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.ch-social-tt { background: #000000; }

/* ═══════════════════════════════════════════════════════════════════════════
   5. NEWS TICKER
   ═══════════════════════════════════════════════════════════════════════════ */
.ch-ticker {
  height: 46px;
  background: #ffffff;
  display: none;
  overflow: hidden;
  border-top: 1px solid #f0f0f0;
  border-bottom: 2px solid #f0f0f0;
}

@media (min-width: 1024px) {
  .ch-ticker { display: block; }
}

.ch-ticker-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
}

.ch-ticker-label {
  background: transparent;
  color: var(--ch-color-accent);
  padding: 0 4px 0 0;
  border-radius: 0;
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0;
  font-synthesis: none;
  font-family: var(--ch-font-heading);
}

.ch-ticker-divider {
  width: 1px;
  height: 22px;
  background: #e0e0e0;
  margin: 0 16px;
  flex-shrink: 0;
}

.ch-ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
}

.ch-ticker-content {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}
.ch-ticker-content:hover {
  animation-play-state: paused;
}

.ch-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #374151;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.ch-ticker-item:hover {
  color: var(--ch-color-accent);
}

.ch-ticker-dot {
  width: 5px;
  height: 5px;
  background: var(--ch-color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   6. CONTENT LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */
#appContent {
  padding-top: 68px;
  padding-bottom: 88px;
}

@media (min-width: 1024px) {
  #appContent {
    padding-top: 248px !important;
    padding-bottom: 100px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   7. PLAYER BAR — Spotify/Modern Radio Style
   ═══════════════════════════════════════════════════════════════════════════ */
.player-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  color: #fff;
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.player-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
}

/* Left: Cover + Meta */
.player-left {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 14px;
  min-width: 0;
  margin-left: -20px;
}

.player-cover {
  width: 76px;
  align-self: stretch;
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.4s ease;
}

.player-bar.is-playing .player-cover {
  background: rgba(29, 185, 84, 0.15);
}

.player-cover-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  opacity: 0.55;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.player-bar.is-playing .player-cover-icon {
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(29, 185, 84, 0.4));
}

.player-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.player-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.player-subtitle {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.4s ease;
}

.player-bar.is-playing .player-subtitle {
  color: #1db954;
}

/* Center: Waveform + Play */
.player-center {
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  gap: 16px;
}

.player-toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  color: #000;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  outline: none;
  transition: background 0.2s ease;
}

.player-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 2px;
}

.player-bar.is-playing .player-toggle {
  background: #1db954;
  color: #000;
}

.player-icon {
  width: 26px;
  height: 26px;
}
.player-icon:first-child { margin-left: 3px; }

/* Waveform bars */
.player-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
  flex-shrink: 0;
}

.player-waveform span {
  display: block;
  width: 3px;
  height: 5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.3s ease;
}

.player-bar.is-playing .player-waveform span {
  background: #1db954;
  animation: waveBar 0.8s ease-in-out infinite alternate;
}

.player-bar.is-playing .player-waveform span:nth-child(1) { animation-duration: 0.5s;  animation-delay: 0s; }
.player-bar.is-playing .player-waveform span:nth-child(2) { animation-duration: 0.72s; animation-delay: 0.08s; }
.player-bar.is-playing .player-waveform span:nth-child(3) { animation-duration: 0.45s; animation-delay: 0.18s; }
.player-bar.is-playing .player-waveform span:nth-child(4) { animation-duration: 0.62s; animation-delay: 0.04s; }
.player-bar.is-playing .player-waveform span:nth-child(5) { animation-duration: 0.8s;  animation-delay: 0.12s; }

@keyframes waveBar {
  from { height: 5px; }
  to   { height: 22px; }
}

/* Right: Live badge + Volume */
.player-right {
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.player-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  transition: background 0.4s ease, color 0.4s ease;
}

.player-bar.is-playing .player-live-badge {
  background: rgba(29, 185, 84, 0.15);
  color: #1db954;
}

.player-live-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.4s ease;
}

.player-bar.is-playing .player-live-pip {
  background: #1db954;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.player-mute {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.player-mute:hover { color: #fff; }

.player-vol-icon {
  width: 18px;
  height: 18px;
}

/* Volume slider */
#playerVolume.player-range {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 96px !important;
  height: 4px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  outline: none !important;
  border: none !important;
  padding: 0 !important;
  background: linear-gradient(to right,
    #888 0%, #888 var(--volume-pct, 80%),
    #333 var(--volume-pct, 80%), #333 100%
  ) !important;
}
#playerVolume.player-range::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  background: #fff !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .5) !important;
  border: none !important;
  margin-top: 0 !important;
}
#playerVolume.player-range::-moz-range-thumb {
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  border: none !important;
  background: #fff !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .5) !important;
}
#playerVolume.player-range::-moz-range-progress {
  background: #888 !important;
  border-radius: 4px !important;
  height: 4px !important;
}

/* Player responsive */
@media (max-width: 768px) {
  .player-inner {
    height: 62px;
    display: flex;
    align-items: stretch;
    padding: 0 12px 0 0;
    gap: 0;
  }
  .player-left {
    flex: 1;
    margin-left: 0;
    gap: 10px;
  }
  .player-center {
    order: 0;
    gap: 8px;
    padding-right: 4px;
  }
  .player-waveform { display: none; }
  .player-right { display: none; }
  .player-toggle { width: 46px; height: 46px; align-self: center; }
  .player-icon { width: 22px; height: 22px; }
  .player-cover { width: 62px; }
  .player-cover-icon { width: 34px; height: 34px; }
  .player-name { font-size: 13px; font-weight: 700; }
  .player-subtitle { font-size: 10px; }
  .player-meta { gap: 1px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   8. LIVE PLAYER PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.live-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 20px;
}

.live-container {
  width: 100%;
  max-width: 420px;
}

/* Toggle checkbox */
.toggle-checkbox:checked { right: 0; border-color: #10B981; }
.toggle-checkbox:checked + .toggle-label { background-color: #10B981; }
