/* ==========================================================================
   HEARTBEAT.FM DJ QUEUE & PLAYLISTS DASHBOARD
   Direct Pixel-Perfect Clone of JustLyrics Desktop Spotify Dashboard
   ========================================================================== */

#screen-dj-queue {
  background-color: #000000;
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  display: none;
}

#screen-dj-queue.active {
  display: block;
}

/* 2-Column Desktop Grid Layout (300px sidebar, 1fr main, 90px player bar) */
.spotify-layout {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 90px;
  grid-template-columns: 290px 1fr;
  height: 100vh;
  padding: 8px;
  gap: 8px;
  box-sizing: border-box;
  background-color: #000000;
}

/* ==========================================================================
   SIDEBAR (NAVIGATION & YOUR LIBRARY)
   ========================================================================== */
.spotify-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  overflow: hidden;
}

.sidebar-nav,
.sidebar-library {
  background-color: #121212;
  border-radius: 8px;
  padding: 20px;
}

.sidebar-brand {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}

.sidebar-brand .brand-badge {
  background: #22c55e;
  color: #000000;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-nav a {
  color: #b3b3b3;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 4px 0;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: #ffffff;
}

.sidebar-nav i {
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

/* Library Section */
.sidebar-library {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.library-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #b3b3b3;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.library-header:hover {
  color: #ffffff;
}

.library-header i.fa-plus {
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  transition: color 0.2s;
}

.library-header i.fa-plus:hover {
  color: #ffffff;
  transform: scale(1.15);
}

.library-filters {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.library-filters::-webkit-scrollbar { display: none; }

.lib-chip {
  background: rgba(255, 255, 255, 0.08);
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.05);
  user-select: none;
}
.lib-chip:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}
.lib-chip.active {
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  border-color: #ffffff;
}

.library-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.library-list::-webkit-scrollbar { display: none; }

.lib-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.2s;
  position: relative;
}
.lib-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.lib-item.is-active {
  background: rgba(255, 255, 255, 0.12);
}
.lib-item.is-active .lib-item-info h4 {
  color: #1ed760;
}

.lib-item img,
.liked-icon {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.liked-icon {
  background: linear-gradient(135deg, #450af5, #c4efd9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #ffffff;
}

.lib-item-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
}

.lib-item-info h4 {
  font-size: 0.92rem;
  margin: 0 0 3px 0;
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lib-item-info p {
  font-size: 0.78rem;
  margin: 0;
  color: #b3b3b3;
  font-weight: 500;
}

/* ==========================================================================
   MAIN VIEW AREA
   ========================================================================== */
.spotify-main {
  background-color: #121212;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Header */
.main-header.solid-bg {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(18, 18, 18, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn {
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 0.9rem;
}
.nav-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.return-studio-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.return-studio-btn:hover {
  background: #22c55e;
  color: #000000;
  border-color: #22c55e;
}

.search-bar {
  background: #242424;
  border-radius: 24px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 320px;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.search-bar:focus-within {
  border-color: rgba(255, 255, 255, 0.25);
  background: #2a2a2a;
}
.search-bar i {
  color: #b3b3b3;
  font-size: 0.95rem;
}
.search-bar input {
  background: transparent;
  border: none;
  color: #ffffff;
  outline: none;
  width: 100%;
  font-size: 0.88rem;
  font-family: inherit;
}
.search-bar input::placeholder {
  color: #888888;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.broadcast-live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.broadcast-live-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse-badge 1.5s infinite;
}
@keyframes pulse-badge {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.add-track-btn {
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.add-track-btn:hover {
  background: #22c55e;
  transform: scale(1.04);
}

/* Home View Content */
.home-content {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px 40px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.home-content::-webkit-scrollbar { width: 6px; }
.home-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }

.top-chips {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.top-chips::-webkit-scrollbar { display: none; }

.top-chips .chip {
  background: rgba(255, 255, 255, 0.08);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  color: #ffffff;
}
.top-chips .chip:hover {
  background: rgba(255, 255, 255, 0.16);
}
.top-chips .chip.active {
  background: #ffffff;
  color: #000000;
}

/* Quick Access 6-Card Recent Grid (2 rows x 3 columns) */
.recent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.recent-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.25s;
  position: relative;
  height: 64px;
}
.recent-card:hover {
  background: rgba(255, 255, 255, 0.18);
}
.recent-card.is-active {
  background: rgba(34, 197, 94, 0.15);
}

.recent-card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  flex-shrink: 0;
}

.recent-card span {
  padding: 0 16px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.recent-card.is-active span {
  color: #22c55e;
}

.recent-card .play-overlay {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1ed760;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 14px;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.2s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,0.5);
  font-size: 1rem;
}
.recent-card:hover .play-overlay {
  opacity: 1;
  transform: scale(1);
}
.recent-card .play-overlay:hover {
  transform: scale(1.1);
  background: #22c55e;
}

/* Shelf Sections */
.shelf {
  margin-bottom: 38px;
}

.shelf-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
}
.shelf-header h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  letter-spacing: -0.3px;
}
.shelf-header span.shelf-sub {
  color: #b3b3b3;
  font-size: 0.85rem;
}

/* Queue Table */
.queue-table-container {
  width: 100%;
  overflow-x: auto;
}

.queue-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.queue-table thead th {
  color: #b3b3b3;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.queue-table tbody tr.queue-row {
  cursor: pointer;
  transition: background 0.2s ease;
  border-radius: 4px;
}
.queue-table tbody tr.queue-row:hover {
  background: rgba(255, 255, 255, 0.08);
}
.queue-table tbody tr.queue-row.is-active {
  background: rgba(34, 197, 94, 0.14);
}
.queue-table tbody tr.queue-row.now-playing-row {
  background: rgba(34, 197, 94, 0.12);
  border-left: 3px solid #22c55e;
}
.queue-table tbody tr.queue-row.now-playing-row:hover {
  background: rgba(34, 197, 94, 0.2);
}

/* Now Playing Live Broadcast Pill & Dot */
.now-playing-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #4ade80;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.live-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: liveDotPulseAnim 1.4s infinite ease-in-out;
}

@keyframes liveDotPulseAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* Equalizer sound wave animation for Now Playing */
.eq-bars-container {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  width: 14px;
  justify-content: center;
}

.eq-bar {
  width: 3px;
  background: #22c55e;
  border-radius: 1px;
  animation: eqBarBounce 0.9s ease-in-out infinite alternate;
}
.eq-bar:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.eq-bar:nth-child(3) { height: 40%; animation-delay: 0.2s; }

@keyframes eqBarBounce {
  0% { height: 25%; }
  100% { height: 100%; }
}

.queue-table td {
  padding: 10px 14px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.col-idx {
  width: 44px;
  text-align: center;
  color: #b3b3b3;
  font-size: 0.9rem;
}
.queue-row .col-idx .idx-number {
  display: block;
}
.queue-row .col-idx .idx-play-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 1rem;
}
.queue-row:hover .col-idx .idx-number {
  display: none;
}
.queue-row:hover .col-idx .idx-play-btn {
  display: inline-block;
}
.queue-row.is-active .col-idx {
  color: #22c55e;
}

.col-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.queue-thumb {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 4px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.queue-track-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.queue-track-title {
  font-weight: 700;
  font-size: 0.94rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.queue-row.is-active .queue-track-title {
  color: #22c55e;
}
.queue-track-artist {
  font-size: 0.8rem;
  color: #b3b3b3;
  margin-top: 2px;
}

.genre-pill {
  font-size: 0.75rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-block;
  font-weight: 600;
}

.col-duration {
  font-size: 0.85rem;
  color: #b3b3b3;
  font-variant-numeric: tabular-nums;
}

.col-actions {
  text-align: right;
  white-space: nowrap;
}
.action-icon-btn {
  background: none;
  border: none;
  color: #b3b3b3;
  cursor: pointer;
  padding: 6px 8px;
  font-size: 1rem;
  transition: color 0.2s, transform 0.15s;
}
.action-icon-btn:hover {
  color: #ffffff;
  transform: scale(1.1);
}
.action-icon-btn.liked {
  color: #1ed760;
}

/* Playlists Card Grid */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
}

.song-card {
  background: #181818;
  padding: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  position: relative;
}
.song-card:hover {
  background: #282828;
}

.song-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: block;
}

.song-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-card p {
  font-size: 0.8rem;
  color: #b3b3b3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.song-card .play-overlay {
  position: absolute;
  bottom: 84px;
  right: 24px;
  width: 46px;
  height: 46px;
  background: #1ed760;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 1.15rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}
.song-card:hover .play-overlay {
  opacity: 1;
  transform: translateY(0);
}
.song-card .play-overlay:hover {
  transform: scale(1.08);
  background: #22c55e;
}

/* ==========================================================================
   BOTTOM PLAYER CONTROLS (DIRECT JUSTLYRICS REPLICATION)
   ========================================================================== */
.spotify-player {
  grid-column: 1 / -1;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  height: 90px;
  z-index: 100;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Slightly lighter dark gray shade for Stream Playback Bar */
.spotify-player.stream-playback-active {
  background: linear-gradient(90deg, #181d24 0%, #151a22 50%, #181d24 100%) !important;
  border-top: 1px solid rgba(34, 197, 94, 0.45) !important;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(34, 197, 94, 0.12) !important;
}

.spotify-player.stream-playback-active .progress-bar {
  background: #2b3543 !important; /* Slightly lighter shade dark gray track */
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.spotify-player.stream-playback-active .progress-fill {
  background: #22c55e !important; /* Live broadcast green */
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6) !important;
}

.spotify-player.stream-playback-active .progress-bar:hover .progress-fill {
  background: #4ade80 !important;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.8) !important;
}

.spotify-player.stream-playback-active .progress-time {
  color: #a3e635 !important;
  font-weight: 600;
}


/* Left: Track Info */
.player-left {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 30%;
  min-width: 220px;
}

.player-left img {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.player-song-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.player-song-info h4 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-song-info p {
  margin: 3px 0 0 0;
  font-size: 0.78rem;
  color: #b3b3b3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-left i.fa-heart {
  color: #b3b3b3;
  cursor: pointer;
  font-size: 1.15rem;
  margin-left: 8px;
  transition: color 0.2s, transform 0.15s;
}
.player-left i.fa-heart:hover {
  color: #ffffff;
  transform: scale(1.15);
}
.player-left i.fa-heart.liked {
  color: #1ed760 !important;
}

/* Center: Controls & Scrubber */
.player-center {
  width: 40%;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 22px;
}

.player-controls i {
  color: #b3b3b3;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.15s;
}
.player-controls i:hover {
  color: #ffffff;
}
.player-controls i.active {
  color: #1ed760;
}

.play-pause-btn {
  background: #ffffff;
  color: #000000 !important;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s, background-color 0.15s;
}
.play-pause-btn:hover {
  transform: scale(1.08);
  background: #1ed760;
}
.play-pause-btn i {
  color: #000000 !important;
  font-size: 1rem;
}

.player-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.progress-time {
  font-size: 0.75rem;
  color: #b3b3b3;
  min-width: 36px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: height 0.15s;
}
.progress-bar:hover {
  height: 6px;
}
.progress-bar::after {
  content: '';
  position: absolute;
  top: -8px;
  bottom: -8px;
  left: 0;
  right: 0;
}
.progress-fill {
  height: 100%;
  background: #ffffff;
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}
.progress-bar:hover .progress-fill {
  background: #1ed760;
}

/* Right: Tools & Volume */
.player-right {
  width: 30%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.player-right i {
  color: #b3b3b3;
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.2s, transform 0.15s;
}
.player-right i:hover {
  color: #ffffff;
}
#player-play-now {
  color: #22c55e;
  cursor: pointer;
  font-size: 1.25rem;
  transition: color 0.2s, transform 0.2s, filter 0.2s;
}
#player-play-now:hover {
  color: #4ade80;
  transform: scale(1.18);
  filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.7));
}
.action-icon-btn.action-broadcast-btn {
  color: #22c55e;
}
.action-icon-btn.action-broadcast-btn:hover {
  color: #4ade80;
  transform: scale(1.22);
  filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.7));
}
.action-icon-btn.action-play-now-btn:hover {
  color: #22c55e;
  transform: scale(1.2);
}
.action-icon-btn.action-queue-btn:hover {
  color: #38bdf8;
  transform: scale(1.2);
}

.volume-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.volume-btn-group {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  overflow: hidden;
  height: 28px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.volume-btn-group:hover,
.volume-btn-group.menu-open {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.volume-arrow-btn {
  background: transparent;
  border: none;
  outline: none;
  padding: 0 6px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.15s, color 0.15s;
}

.volume-arrow-btn i {
  font-size: 0.75rem !important;
  color: #a3a3a3;
  transition: transform 0.2s ease, color 0.15s;
}

.volume-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.volume-arrow-btn:hover i {
  color: #ffffff;
}

.volume-speaker-btn {
  background: transparent;
  border: none;
  outline: none;
  padding: 0 7px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s, color 0.15s;
}

.volume-speaker-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.volume-speaker-btn i {
  font-size: 0.95rem !important;
  color: #b3b3b3;
  transition: color 0.15s;
}

.volume-speaker-btn:hover i {
  color: #ffffff;
}

.volume-source-indicator {
  font-size: 8px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.2s;
  user-select: none;
}

.volume-source-indicator.stream-active {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.45);
}

.volume-source-indicator.dj-active {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.45);
}

/* Volume Popover Menu */
.volume-source-popover {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: 295px;
  background: #111720;
  border: 1px solid #223040;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06);
  padding: 12px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: volPopoverIn 0.16s ease-out;
}

@keyframes volPopoverIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.volume-popover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.volume-popover-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #94a3b8;
  text-transform: uppercase;
}

.volume-popover-close {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.volume-popover-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.volume-source-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.volume-source-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #1a2533;
  background: #0a0f16;
  cursor: pointer;
  transition: all 0.15s;
}

.volume-source-option:hover {
  background: #141d28;
  border-color: #27374a;
}

.volume-source-option.active {
  background: #152230;
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
}

.volume-source-option#volSourceOption-stream.active {
  border-color: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.15);
}

.vol-source-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vol-source-icon i {
  font-size: 0.85rem !important;
  color: #94a3b8;
}

.volume-source-option#volSourceOption-stream.active .vol-source-icon {
  background: rgba(34, 197, 94, 0.18);
}
.volume-source-option#volSourceOption-stream.active .vol-source-icon i {
  color: #22c55e;
}

.volume-source-option#volSourceOption-dj_pc.active .vol-source-icon {
  background: rgba(56, 189, 248, 0.18);
}
.volume-source-option#volSourceOption-dj_pc.active .vol-source-icon i {
  color: #38bdf8;
}

.vol-source-text {
  flex: 1;
  min-width: 0;
}

.vol-source-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vol-source-pill {
  font-size: 8.5px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: 0.4px;
}

.vol-source-pill.stream-pill {
  background: #14532d;
  color: #86efac;
}

.vol-source-pill.dj-pill {
  background: #075985;
  color: #7dd3fc;
}

.vol-source-desc {
  font-size: 10.5px;
  color: #8a99ad;
  margin-top: 2px;
  line-height: 1.25;
}

.vol-source-check {
  color: #22c55e;
  display: none;
  font-size: 0.85rem;
}

.volume-source-option.active .vol-source-check {
  display: block;
}

.volume-source-option#volSourceOption-dj_pc.active .vol-source-check {
  color: #38bdf8;
}

.volume-popover-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 7px;
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
}

.volume-bar-container {
  width: 90px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: height 0.15s;
}
.volume-bar-container:hover {
  height: 6px;
}
.volume-bar-container::after {
  content: '';
  position: absolute;
  top: -8px;
  bottom: -8px;
  left: 0;
  right: 0;
}
.volume-bar-fill {
  height: 100%;
  background: #ffffff;
  border-radius: 2px;
  width: 70%;
}
.volume-bar-container:hover .volume-bar-fill {
  background: #1ed760;
}

/* ==========================================================================
   MODAL DIALOG (ADD CUSTOM TRACK / STREAM)
   ========================================================================== */
.djq-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.djq-modal {
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 26px;
  width: 92%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  color: #ffffff;
}

.djq-modal h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
}

/* ==========================================================================
   JUSTLYRICS EXACT DESKTOP CREATE MODAL (MATCHING SCREENSHOT 1)
   ========================================================================== */
.desktop-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 999999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.desktop-modal {
  background: #282828 !important;
  border-radius: 8px !important;
  width: 400px !important;
  max-width: 90vw !important;
  padding: 24px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.desktop-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.desktop-modal .modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  font-family: inherit;
}
.desktop-modal .modal-header i {
  font-size: 1.5rem;
  color: #a7a7a7;
  cursor: pointer;
  transition: color 0.2s;
}
.desktop-modal .modal-header i:hover {
  color: #ffffff;
}
.desktop-modal .modal-options,
.modal-options,
.djq-create-options {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.desktop-modal .modal-opt,
.modal-opt,
.djq-create-opt {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  padding: 15px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: background 0.2s ease, transform 0.1s ease !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.desktop-modal .modal-opt:hover,
.modal-opt:hover,
.djq-create-opt:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}
.desktop-modal .modal-opt i,
.modal-opt i,
.djq-create-opt i {
  font-size: 1.5rem !important;
  width: 24px !important;
  text-align: center !important;
  color: #fff !important;
  flex-shrink: 0 !important;
}
.desktop-modal .modal-opt .opt-text,
.modal-opt .opt-text,
.djq-create-opt .opt-text {
  display: flex !important;
  flex-direction: column !important;
}
.desktop-modal .modal-opt .opt-text h4,
.modal-opt .opt-text h4,
.djq-create-opt .opt-text h4 {
  margin: 0 0 4px 0 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  font-family: inherit !important;
}
.desktop-modal .modal-opt .opt-text p,
.modal-opt .opt-text p,
.djq-create-opt .opt-text p {
  margin: 0 !important;
  font-size: 0.85rem !important;
  color: #a7a7a7 !important;
  font-family: inherit !important;
}

/* ==========================================================================
   JUSTLYRICS CREATE VIEWS IN MAIN AREA (MATCHING SCREENSHOTS 2, 3, 4)
   ========================================================================== */
.view-section {
  flex: 1;
  overflow-y: auto;
}
.create-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
  padding-top: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}
.create-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.create-form label {
  font-weight: 600;
  color: #a1a1aa;
  font-size: 0.95rem;
  font-family: inherit;
}
.create-form input[type="text"],
.create-form input[type="file"],
.create-form textarea {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  padding: 12px 14px !important;
  border-radius: 8px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 0.95rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.create-form input[type="text"]:focus,
.create-form textarea:focus {
  border-color: #1ed760 !important;
  outline: none;
  background: rgba(255, 255, 255, 0.14) !important;
}

/* File Input Custom Styling Matching JustLyrics */
.create-form input[type="file"]::file-selector-button {
  background-color: #333333 !important;
  color: white !important;
  border: none !important;
  padding: 8px 18px !important;
  border-radius: 20px !important;
  margin-right: 15px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  transition: background 0.2s, transform 0.1s !important;
}
.create-form input[type="file"]::file-selector-button:hover {
  background-color: #444444 !important;
}
.create-form input[type="file"]::file-selector-button:active {
  transform: scale(0.98) !important;
}

.create-form textarea {
  resize: vertical;
  line-height: 1.5;
  min-height: 160px;
}
.create-form .btn-primary {
  background: #1ed760 !important;
  color: #000 !important;
  font-weight: 700 !important;
  padding: 15px !important;
  font-size: 1.1rem !important;
  border-radius: 500px !important;
  margin-top: 10px !important;
  border: none !important;
  cursor: pointer !important;
  transition: transform 0.2s, background 0.2s !important;
  width: 100% !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}
.create-form .btn-primary:hover {
  background: #1fdf64 !important;
  transform: scale(1.02);
}

.djq-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
}

.djq-modal-form label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #b3b3b3;
  margin-bottom: 6px;
  display: block;
}

.djq-modal-form input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}
.djq-modal-form input:focus {
  border-color: #1ed760;
  background: rgba(255, 255, 255, 0.12);
}
.djq-modal-form input[type="file"] {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.djq-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

.djq-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}
.djq-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.djq-btn-primary {
  background: #1ed760;
  border: none;
  color: #000000;
  padding: 9px 22px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}
.djq-btn-primary:hover {
  background: #22c55e;
  transform: scale(1.04);
}

/* Modal Navigation Tabs */
.djq-modal-tabs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 10px;
}

.djq-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #a7a7a7;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.djq-tab-btn.active {
  background: #282828;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.djq-tab-btn:hover:not(.active) {
  color: #ffffff;
}

/* YouTube Live Preview Card */
.djq-preview-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
  margin-top: 6px;
}

.djq-preview-thumb {
  width: 72px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  background: #222;
}

.djq-preview-info {
  flex: 1;
  min-width: 0;
}

.djq-preview-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.djq-preview-sub {
  font-size: 0.78rem;
  color: #a7a7a7;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Status message banner */
.djq-status-box {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.4;
  display: none;
  animation: fadeIn 0.2s ease;
}

.djq-status-box.info {
  display: block;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #d8b4fe;
}

.djq-status-box.success {
  display: block;
  background: rgba(30, 215, 96, 0.15);
  border: 1px solid rgba(30, 215, 96, 0.4);
  color: #1ed760;
}

.djq-status-box.warning {
  display: block;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #facc15;
}

.djq-status-box.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* Verified DJ Library badge in sidebar */
.djq-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.djq-badge-citizen {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #94a3b8;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ============================================================
   📺 DJ AD PANEL — Stream Ad Management Control Center
   ============================================================ */

.dj-ad-panel {
  display: none;
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 290px;
  z-index: 200;
  animation: adPanelFadeIn 0.3s ease;
}

#screen-lofi.active .dj-ad-panel,
.lofi-studio-active #screen-lofi.active .dj-ad-panel {
  display: block;
}

body.clean-display-active .dj-ad-panel,
.clean-display-active .dj-ad-panel {
  display: none !important;
}

#screen-dj-queue.active .dj-ad-panel {
  display: none !important;
}

@keyframes adPanelFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.ad-panel-inner {
  background: rgba(14, 14, 20, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 16px 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 90, 120, 0.12);
  backdrop-filter: blur(14px);
}

.ad-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ad-panel-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e0e0e0;
  letter-spacing: 0.04em;
}

.ad-toggle-btn {
  border: none;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.ad-toggle-on {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}

.ad-toggle-off {
  background: rgba(80, 80, 100, 0.4);
  color: #aaa;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-toggle-btn:hover {
  transform: scale(1.05);
}

.ad-slot-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 90, 120, 0.06);
  border: 1px solid rgba(255, 90, 120, 0.15);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  color: #c0c0d0;
}

.ad-slot-info strong {
  color: #ff5a78;
  font-size: 0.82rem;
}

.ad-settings-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.ad-settings-row label {
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  color: #888;
  gap: 4px;
  flex: 1;
}

.ad-number-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #e0e0e0;
  font-size: 0.82rem;
  padding: 5px 8px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}

.ad-number-input:focus {
  border-color: rgba(255, 90, 120, 0.5);
}

.ad-upload-row {
  margin-bottom: 8px;
}

.ad-upload-label {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.78rem;
  color: #9090b0;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.ad-upload-label:hover {
  background: rgba(255, 90, 120, 0.08);
  border-color: rgba(255, 90, 120, 0.35);
  color: #ff5a78;
}

.ad-upload-status {
  font-size: 0.72rem;
  color: #22c55e;
  min-height: 16px;
  margin-top: 4px;
  padding-left: 2px;
}

.ad-images-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
  min-height: 20px;
}

.ad-file-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.7rem;
  color: #aaa;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ad-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ad-trigger-btn {
  flex: 1;
  background: linear-gradient(135deg, #ff5a78, #c0002a);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 10px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(255, 90, 120, 0.3);
}

.ad-trigger-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(255, 90, 120, 0.5);
}

.ad-trigger-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.ad-live-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: #ff5a78;
  letter-spacing: 0.08em;
  animation: adPulseBadge 1s ease-in-out infinite alternate;
}

@keyframes adPulseBadge {
  from { opacity: 0.6; }
  to   { opacity: 1; }
}
