@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: rgba(17, 17, 17, 0.9);
  --bg-tertiary: rgba(30, 30, 40, 0.8);
  --bg-card: rgba(20, 20, 28, 0.95);

  /* Widget-style colors */
  --accent-cyan: #7ceeef;
  --accent-pink: #f78bb8;
  --accent-purple: #898bff;
  --accent-yellow: #ffff65;
  --gradient-pink-purple: linear-gradient(90deg, #f78bb8 0%, #898bff 100%);

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --priority: #f78bb8;
  --priority-glow: rgba(247, 139, 184, 0.3);
  --success: #4caf50;
  --danger: #ff5555;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  background: var(--bg-primary);
  background-image:
    radial-gradient(ellipse at top left, rgba(124, 238, 239, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(247, 139, 184, 0.05) 0%, transparent 50%);
  color: var(--text-primary);
  min-height: 100vh;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 30px;
}

/* Main Grid Layout */
.main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1024px) {
  .main-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .column-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .column-right {
    position: sticky;
    top: 30px;
  }

  .queue-section {
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    margin-bottom: 0;
  }
}

@media (min-width: 1400px) {
  .main-grid {
    grid-template-columns: 500px 1fr;
  }
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(124, 238, 239, 0.2);
}

.header h1 {
  font-size: 2rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--gradient-pink-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.status {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.request-mode-select {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  font-style: italic;
  background: var(--bg-tertiary);
  border: 2px solid var(--accent-cyan);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}

.request-mode-select:hover {
  background: rgba(124, 238, 239, 0.1);
}

.request-mode-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.request-mode-select.mode-open {
  border-color: var(--success);
  background: rgba(76, 175, 80, 0.2);
}

.request-mode-select.mode-priority {
  border-color: var(--accent-yellow);
  background: rgba(255, 255, 101, 0.15);
}

.request-mode-select.mode-closed {
  border-color: var(--danger);
  background: rgba(255, 85, 85, 0.2);
}

.status-badge {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  font-style: italic;
  background: var(--bg-tertiary);
  border-left: 3px solid var(--accent-cyan);
}

.status-badge.open {
  background: rgba(76, 175, 80, 0.2);
  border-left-color: var(--success);
  color: var(--success);
}

.status-badge.closed {
  background: rgba(255, 85, 85, 0.2);
  border-left-color: var(--danger);
  color: var(--danger);
}

.status-badge.connected {
  background: rgba(76, 175, 80, 0.2);
  border-left-color: var(--success);
  color: var(--success);
}

/* Now Playing */
.now-playing {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(124, 238, 239, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
}

.now-playing::before {
  content: 'NOW PLAYING';
  position: absolute;
  top: -12px;
  left: 30px;
  background: var(--bg-primary);
  padding: 4px 16px;
  font-size: 0.75rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  border: 1px solid rgba(124, 238, 239, 0.3);
  border-radius: 4px;
}

/* Now Playing Tier Colors */
.now-playing.tier-t3 {
  border-color: #ffd700;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.2);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 215, 0, 0.08) 100%);
}
.now-playing.tier-t3::before {
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.5);
}
.now-playing.tier-t3 .album-art {
  border-color: #ffd700;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
}

.now-playing.tier-mega {
  border-color: #898bff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 30px rgba(137, 139, 255, 0.2);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(137, 139, 255, 0.08) 100%);
}
.now-playing.tier-mega::before {
  color: #898bff;
  border-color: rgba(137, 139, 255, 0.5);
}
.now-playing.tier-mega .album-art {
  border-color: #898bff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(137, 139, 255, 0.3);
}

.now-playing.tier-high {
  border-color: #f78bb8;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 30px rgba(247, 139, 184, 0.2);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(247, 139, 184, 0.08) 100%);
}
.now-playing.tier-high::before {
  color: #f78bb8;
  border-color: rgba(247, 139, 184, 0.5);
}
.now-playing.tier-high .album-art {
  border-color: #f78bb8;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(247, 139, 184, 0.3);
}

.now-playing.tier-t2,
.now-playing.tier-medium {
  border-color: #7ceeef;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 30px rgba(124, 238, 239, 0.2);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(124, 238, 239, 0.08) 100%);
}
.now-playing.tier-t2::before,
.now-playing.tier-medium::before {
  color: #7ceeef;
  border-color: rgba(124, 238, 239, 0.5);
}
.now-playing.tier-t2 .album-art,
.now-playing.tier-medium .album-art {
  border-color: #7ceeef;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(124, 238, 239, 0.3);
}

.now-playing.tier-low {
  border-color: #a3e635;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 30px rgba(163, 230, 53, 0.15);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(163, 230, 53, 0.05) 100%);
}
.now-playing.tier-low::before {
  color: #a3e635;
  border-color: rgba(163, 230, 53, 0.5);
}
.now-playing.tier-low .album-art {
  border-color: #a3e635;
}

.now-playing.tier-t1 {
  border-color: #38bdf8;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 30px rgba(56, 189, 248, 0.15);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(56, 189, 248, 0.05) 100%);
}
.now-playing.tier-t1::before {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.5);
}
.now-playing.tier-t1 .album-art {
  border-color: #38bdf8;
}

.now-playing.tier-gift {
  border-color: #c084fc;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 30px rgba(192, 132, 252, 0.2);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(192, 132, 252, 0.08) 100%);
}
.now-playing.tier-gift::before {
  color: #c084fc;
  border-color: rgba(192, 132, 252, 0.5);
}
.now-playing.tier-gift .album-art {
  border-color: #c084fc;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(192, 132, 252, 0.3);
}

.album-art-container {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 20px auto 30px;
}

.album-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(124, 238, 239, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.album-art[src=""] {
  display: none;
}

.album-art[src=""] + .no-song {
  display: flex;
}

.no-song {
  display: none;
  width: 100%;
  height: 100%;
  background: var(--bg-tertiary);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
  font-weight: 700;
  font-style: italic;
}

.player-sync-status {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  font-style: italic;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.player-sync-status.synced {
  background: var(--success);
  color: white;
  box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
}

.player-sync-status.not-synced {
  background: var(--danger);
  color: white;
  box-shadow: 0 0 15px rgba(255, 85, 85, 0.5);
}

.player-sync-status.loading {
  background: var(--accent-yellow);
  color: #111;
  box-shadow: 0 0 15px rgba(255, 255, 101, 0.5);
}

.song-info {
  margin-bottom: 25px;
  min-height: 110px; /* Fixed height to prevent layout shift */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.song-title {
  font-size: 2rem;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 8px;
  text-transform: uppercase;
  /* Limit to 2 lines with ellipsis */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.2;
}

.song-artist {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 600;
  /* Limit to 1 line with ellipsis */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.requested-by {
  font-size: 1rem;
  color: var(--accent-pink);
  font-weight: 700;
  font-style: italic;
  /* Limit to 1 line */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Progress Bar */
.progress-container {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
  padding: 0 20px;
}

.progress-container span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  min-width: 50px;
  font-variant-numeric: tabular-nums;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: rgba(124, 238, 239, 0.15);
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.progress {
  height: 100%;
  background: var(--gradient-pink-purple);
  border-radius: 4px;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(247, 139, 184, 0.5);
}

/* Controls */
.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.control-btn {
  background: var(--bg-tertiary);
  border: 2px solid rgba(124, 238, 239, 0.2);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  color: white;
}

.control-btn:hover {
  background: rgba(124, 238, 239, 0.2);
  border-color: var(--accent-cyan);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(124, 238, 239, 0.3);
}

.play-btn {
  width: 72px;
  height: 72px;
  font-size: 2rem;
  background: var(--gradient-pink-purple);
  border: none;
}

.play-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 0 30px rgba(247, 139, 184, 0.5);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 30px;
  font-size: 1.2rem;
}

.volume-control input {
  width: 100px;
  height: 6px;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

.skip-timer {
  font-size: 1rem;
  color: var(--accent-yellow);
  font-weight: 700;
  font-style: italic;
}

.skip-votes {
  font-size: 1rem;
  color: var(--accent-coral);
  font-weight: 700;
  margin-top: 8px;
}

.skip-votes.has-votes {
  color: var(--accent-pink);
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* DJ Mode Section */
.dj-mode-section {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(124, 238, 239, 0.25);
  margin-bottom: 20px;
}

.dj-mode-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dj-search-container {
  position: relative;
}

.dj-search-container input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(124, 238, 239, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s;
}

.dj-search-container input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(124, 238, 239, 0.2);
}

.dj-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid rgba(124, 238, 239, 0.2);
  border-radius: 8px;
  margin-top: 4px;
  max-height: 350px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.dj-search-results.active {
  display: block;
}

.dj-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dj-result-item:hover {
  background: rgba(124, 238, 239, 0.1);
}

.dj-result-item:last-child {
  border-bottom: none;
}

.dj-result-art {
  width: 45px;
  height: 45px;
  border-radius: 4px;
  object-fit: cover;
}

.dj-result-info {
  flex: 1;
  min-width: 0;
}

.dj-result-title {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dj-result-artist {
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dj-result-actions {
  display: flex;
  gap: 6px;
}

.dj-btn-play, .dj-btn-add-playlist, .dj-btn-queue {
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.dj-btn-play {
  background: var(--accent-cyan);
  color: #000;
}

.dj-btn-play:hover {
  background: #5fdfe0;
  transform: scale(1.05);
}

.dj-btn-queue {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.dj-btn-queue:hover {
  background: rgba(255, 255, 255, 0.2);
}

.dj-btn-add-playlist {
  background: #1DB954;
  color: white;
}

.dj-btn-add-playlist:hover {
  background: #1ed760;
}

.dj-playlist-inline {
  padding: 6px 8px;
  border: none;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  background: #1DB954;
  color: white;
  transition: all 0.15s;
  max-width: 100px;
}

.dj-playlist-inline:hover {
  background: #1ed760;
}

.dj-playlist-inline:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(29, 185, 84, 0.4);
}

.dj-playlist-inline option {
  background: #1a1a25;
  color: #111;
  padding: 8px;
}

.dj-playlist-container {
  margin-top: 12px;
}

/* Playlist Picker - Modern Floating Panel */
.playlist-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
}

.playlist-picker {
  position: fixed;
  z-index: 9999;
  background: var(--bg-card, #14141c);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  width: 280px;
  max-height: 380px;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: pickerSlideIn 0.15s ease-out;
}

@keyframes pickerSlideIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.playlist-picker-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary, #999);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 4px 8px;
}

.playlist-picker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.playlist-picker-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.playlist-picker-item:active {
  background: rgba(29, 185, 84, 0.2);
}

.playlist-picker-art {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
}

.playlist-picker-info {
  flex: 1;
  min-width: 0;
}

.playlist-picker-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary, #fff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-picker-tracks {
  font-size: 0.7rem;
  color: var(--text-secondary, #999);
}

.playlist-picker-item.added {
  background: rgba(29, 185, 84, 0.15);
}

.playlist-picker-item.added .playlist-picker-name::after {
  content: ' ✓';
  color: #1DB954;
}

.playlist-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.15s;
  opacity: 0.7;
}

.playlist-btn:hover {
  background: rgba(29, 185, 84, 0.2);
  opacity: 1;
}

.dj-no-results {
  padding: 20px;
  text-align: center;
  color: var(--text-secondary);
}

.dj-loading {
  padding: 20px;
  text-align: center;
  color: var(--accent-cyan);
}

/* Recording Section */
.recording-section {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 85, 85, 0.15);
}

.recording-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 20px;
  color: #ff5555;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.recording-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-record {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 85, 85, 0.2);
  color: #ff5555;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-record:hover {
  background: rgba(255, 85, 85, 0.3);
  transform: scale(1.02);
}

.btn-record.recording {
  background: #ff5555;
  color: white;
  animation: pulse-record 1.5s infinite;
}

.btn-record.recording .rec-icon {
  animation: blink 1s infinite;
}

@keyframes pulse-record {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 85, 85, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255, 85, 85, 0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.recording-timer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(255, 85, 85, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 85, 85, 0.3);
}

.rec-dot {
  width: 10px;
  height: 10px;
  background: #ff5555;
  border-radius: 50%;
  animation: blink 1s infinite;
}

#recordingElapsed {
  font-weight: 700;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
  color: #ff5555;
}

#recordingSongCount {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.recording-log {
  margin-top: 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.recording-log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 85, 85, 0.1);
  border-bottom: 1px solid rgba(255, 85, 85, 0.2);
  font-weight: 700;
  color: #ff5555;
}

.export-buttons {
  display: flex;
  gap: 8px;
}

.export-buttons button {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.export-buttons button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.recording-log-list {
  max-height: 200px;
  overflow-y: auto;
}

.recording-log-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.recording-log-item:last-child {
  border-bottom: none;
}

.recording-log-item .timestamp {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-cyan);
  min-width: 60px;
}

.recording-log-item .song-info {
  flex: 1;
  min-width: 0;
}

.recording-log-item .song-title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recording-log-item .song-artist {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.recording-log-item .username {
  color: var(--accent-pink);
  font-size: 0.85rem;
}

/* Add Request Section */
.add-request-section {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(247, 139, 184, 0.15);
}

.add-request-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--accent-pink);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.add-request-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.add-request-form input,
.add-request-form select {
  padding: 14px 18px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}

.add-request-form input:focus,
.add-request-form select:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(124, 238, 239, 0.2);
}

.add-request-form input[type="text"]:first-child {
  flex: 1;
  min-width: 250px;
}

.add-request-form input[type="text"]:nth-child(2) {
  width: 140px;
}

.add-request-form select {
  width: 120px;
  cursor: pointer;
}

.add-request-form button {
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  background: var(--gradient-pink-purple);
  color: white;
  font-weight: 800;
  font-style: italic;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.add-request-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(247, 139, 184, 0.4);
}

.add-request-status {
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.add-request-status.success {
  color: var(--success);
}

.add-request-status.error {
  color: var(--danger);
}

/* Queue Section */
.queue-section {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(124, 238, 239, 0.15);
}

.queue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(124, 238, 239, 0.15);
}

.queue-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-cyan);
}

.queue-stats {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.queue-stats span {
  color: var(--accent-yellow);
}

.clear-queue-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  background: var(--danger);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  font-style: italic;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.clear-queue-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 85, 85, 0.4);
}

.queue-group {
  margin-bottom: 24px;
}

.queue-group h3 {
  font-size: 1.1rem;
  font-weight: 700;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.priority-queue h3 {
  color: var(--accent-pink);
  border-bottom-color: rgba(247, 139, 184, 0.3);
}

.queue-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.queue-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.queue-item:hover {
  background: rgba(124, 238, 239, 0.08);
  border-left-color: var(--accent-cyan);
}

.queue-item.priority {
  border-left: 4px solid var(--accent-pink);
  background: linear-gradient(90deg, rgba(247, 139, 184, 0.15) 0%, var(--bg-tertiary) 100%);
}

.queue-item.priority:hover {
  background: linear-gradient(90deg, rgba(247, 139, 184, 0.25) 0%, rgba(124, 238, 239, 0.08) 100%);
}

/* Tier-specific row colors with gradients */
.queue-item.tier-t3 {
  border-left: 4px solid #ffd700;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.2) 0%, var(--bg-tertiary) 100%);
}
.queue-item.tier-t3:hover {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 170, 0, 0.1) 100%);
}

.queue-item.tier-mega {
  border-left: 4px solid #898bff;
  background: linear-gradient(90deg, rgba(137, 139, 255, 0.2) 0%, var(--bg-tertiary) 100%);
}
.queue-item.tier-mega:hover {
  background: linear-gradient(90deg, rgba(137, 139, 255, 0.3) 0%, rgba(167, 139, 250, 0.1) 100%);
}

.queue-item.tier-high {
  border-left: 4px solid #f78bb8;
  background: linear-gradient(90deg, rgba(247, 139, 184, 0.2) 0%, var(--bg-tertiary) 100%);
}
.queue-item.tier-high:hover {
  background: linear-gradient(90deg, rgba(247, 139, 184, 0.3) 0%, rgba(244, 114, 182, 0.1) 100%);
}

.queue-item.tier-t2,
.queue-item.tier-medium {
  border-left: 4px solid #7ceeef;
  background: linear-gradient(90deg, rgba(124, 238, 239, 0.2) 0%, var(--bg-tertiary) 100%);
}
.queue-item.tier-t2:hover,
.queue-item.tier-medium:hover {
  background: linear-gradient(90deg, rgba(124, 238, 239, 0.3) 0%, rgba(34, 211, 238, 0.1) 100%);
}

.queue-item.tier-low {
  border-left: 4px solid #a3e635;
  background: linear-gradient(90deg, rgba(163, 230, 53, 0.2) 0%, var(--bg-tertiary) 100%);
}
.queue-item.tier-low:hover {
  background: linear-gradient(90deg, rgba(163, 230, 53, 0.3) 0%, rgba(132, 204, 22, 0.1) 100%);
}

.queue-item.tier-t1 {
  border-left: 4px solid #38bdf8;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.2) 0%, var(--bg-tertiary) 100%);
}
.queue-item.tier-t1:hover {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.3) 0%, rgba(14, 165, 233, 0.1) 100%);
}

.queue-item.tier-gift {
  border-left: 4px solid #c084fc;
  background: linear-gradient(90deg, rgba(192, 132, 252, 0.2) 0%, var(--bg-tertiary) 100%);
}
.queue-item.tier-gift:hover {
  background: linear-gradient(90deg, rgba(192, 132, 252, 0.3) 0%, rgba(168, 85, 247, 0.1) 100%);
}

.queue-item.new {
  animation: slideIn 0.5s ease-out;
}

.queue-item.boosted {
  animation: boost 0.8s ease-out;
}

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

@keyframes boost {
  0% {
    transform: scale(1);
    box-shadow: none;
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 30px var(--priority-glow);
  }
  100% {
    transform: scale(1);
    box-shadow: none;
  }
}

.queue-position {
  font-size: 1.2rem;
  font-weight: 800;
  font-style: italic;
  color: var(--accent-yellow);
  min-width: 32px;
  text-align: center;
}

.queue-item-art {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.queue-item-info {
  flex: 1;
  min-width: 0;
}

.queue-item-title-row {  display: flex;  align-items: center;  gap: 12px;  margin-bottom: 4px;}
.queue-item-title {
  flex: 1;
  min-width: 0;
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  
}

.queue-item-artist {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 4px;
}

.queue-item-user {
  font-size: 1.15rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent-cyan);
  font-weight: 700;
  
  
  
  
}

.queue-item-username {
  font-size: 1.05rem;
  font-weight: 700;
}

.queue-item-type {
  font-size: 1.1rem;
  padding: 8px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-pink) 0%, #ff4081 100%);
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
  flex-shrink: 0;
  margin-left: auto;
}

/* Tier-specific colors matching widget.html */
.queue-item-type.tier-t3 {
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  color: #000;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.queue-item-type.tier-mega {
  background: linear-gradient(135deg, #898bff, #a78bfa);
  color: #fff;
  box-shadow: 0 4px 12px rgba(137, 139, 255, 0.4);
}

.queue-item-type.tier-high {
  background: linear-gradient(135deg, #f78bb8, #f472b6);
  color: #000;
  box-shadow: 0 4px 12px rgba(247, 139, 184, 0.4);
}

.queue-item-type.tier-t2,
.queue-item-type.tier-medium {
  background: linear-gradient(135deg, #7ceeef, #22d3ee);
  color: #000;
  box-shadow: 0 4px 12px rgba(124, 238, 239, 0.4);
}

.queue-item-type.tier-low {
  background: linear-gradient(135deg, #a3e635, #84cc16);
  color: #000;
  box-shadow: 0 4px 12px rgba(163, 230, 53, 0.4);
}

.queue-item-type.tier-t1 {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #000;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

.queue-item-type.tier-gift {
  background: linear-gradient(135deg, #c084fc, #a855f7);
  color: #fff;
  box-shadow: 0 4px 12px rgba(192, 132, 252, 0.4);
}

.queue-item-actions {
  display: flex;
  gap: 10px;
}

.queue-item-actions button {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.1rem;
  opacity: 1;
  transition: all 0.2s;
}

.queue-item-actions button:hover {
  opacity: 1;
  background: rgba(124, 238, 239, 0.2);
  transform: scale(1.1);
}

/* History */
.history-section {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.history-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.history-count {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 300px;
  overflow-y: auto;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--bg-tertiary);
  border-radius: 8px;
  opacity: 0.7;
  transition: all 0.2s;
}

.history-item:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}

.history-item-art {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}

.history-item-info {
  flex: 1;
  min-width: 0;
}

.history-item-title {
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.history-item-artist {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.history-item-user {
  font-size: 0.8rem;
  color: var(--accent-purple);
  font-weight: 600;
}

.history-item-time {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}

/* History item type badge - same style as queue */
.history-item-type {
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent-pink) 0%, #ff4081 100%);
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  margin-left: auto;
}

/* History tier colors - same as queue */
.history-item-type.tier-t3 {
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  color: #000;
}
.history-item-type.tier-mega {
  background: linear-gradient(135deg, #898bff, #a78bfa);
  color: #fff;
}
.history-item-type.tier-high {
  background: linear-gradient(135deg, #f78bb8, #f472b6);
  color: #000;
}
.history-item-type.tier-t2,
.history-item-type.tier-medium {
  background: linear-gradient(135deg, #7ceeef, #22d3ee);
  color: #000;
}
.history-item-type.tier-low {
  background: linear-gradient(135deg, #a3e635, #84cc16);
  color: #000;
}
.history-item-type.tier-t1 {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #000;
}
.history-item-type.tier-gift {
  background: linear-gradient(135deg, #c084fc, #a855f7);
  color: #fff;
}

/* History item priority border glow */
.history-item.priority {
  opacity: 0.85;
}
.history-item.tier-t3 {
  border-left: 3px solid #ffd700;
}
.history-item.tier-mega {
  border-left: 3px solid #898bff;
}
.history-item.tier-high {
  border-left: 3px solid #f78bb8;
}
.history-item.tier-t2,
.history-item.tier-medium {
  border-left: 3px solid #7ceeef;
}
.history-item.tier-low {
  border-left: 3px solid #a3e635;
}
.history-item.tier-t1 {
  border-left: 3px solid #38bdf8;
}
.history-item.tier-gift {
  border-left: 3px solid #c084fc;
}

.history-empty {
  text-align: center;
  padding: 30px;
  color: var(--text-secondary);
  font-style: italic;
}

/* Leaderboard */
.leaderboard-section {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 101, 0.15);
}

.leaderboard-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.leaderboard {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  border-left: 4px solid var(--accent-yellow);
}

.leaderboard-rank {
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  color: var(--accent-yellow);
  min-width: 40px;
}

.leaderboard-name {
  flex: 1;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.leaderboard-stats {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.leaderboard-item.top-3 {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(255, 255, 101, 0.1) 100%);
}

.leaderboard-item.top-3 .leaderboard-name {
  color: var(--accent-yellow);
}

.leaderboard-empty {
  text-align: center;
  color: var(--text-secondary);
  padding: 20px;
  font-style: italic;
}

/* Alert Toast */
.alert-overlay {
  position: fixed;
  top: 30px;
  right: 30px;
  left: auto;
  bottom: auto;
  z-index: 1000;
  pointer-events: none;
}

.alert-overlay.hidden {
  opacity: 0;
}

.alert-overlay.hidden .alert-card {
  transform: translateX(120%);
}

.alert-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 30px rgba(247, 139, 184, 0.2);
  border-left: 4px solid var(--accent-pink);
  transform: translateX(0);
  transition: transform 0.3s ease-out;
  max-width: 400px;
}

.alert-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

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

.alert-title {
  display: none;
}

.alert-song {
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alert-user {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.alert-type {
  display: inline-block;
  padding: 6px 14px;
  background: var(--gradient-pink-purple);
  color: white;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  text-transform: uppercase;
}

/* Empty state */
.queue-empty {
  text-align: center;
  padding: 30px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-style: italic;
}

/* Drag & Drop */
.drag-handle {
  cursor: grab;
  opacity: 0.4;
  font-size: 1.2rem;
  user-select: none;
  padding: 0 6px;
}

.drag-handle:hover {
  opacity: 1;
}

.queue-item {
  cursor: grab;
}

.queue-item.dragging {
  opacity: 0.4;
  cursor: grabbing;
  transform: scale(0.98);
}

.queue-item.drag-over {
  border-top: 3px solid var(--accent-cyan);
  margin-top: -3px;
}

.queue-position {
  cursor: pointer;
  transition: all 0.2s;
}

.queue-position:hover {
  color: var(--accent-cyan);
  transform: scale(1.2);
}

/* Move Modal */
.move-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.move-modal.visible {
  display: flex;
}

.move-modal-content {
  background: var(--bg-card);
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  min-width: 320px;
  border: 1px solid rgba(124, 238, 239, 0.2);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
}

.move-modal-content h3 {
  margin-bottom: 24px;
  font-size: 1.3rem;
  font-weight: 800;
  font-style: italic;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.move-modal-content input {
  width: 120px;
  padding: 16px;
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  border: 2px solid rgba(124, 238, 239, 0.3);
  border-radius: 12px;
  background: var(--bg-primary);
  color: var(--accent-yellow);
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
}

.move-modal-content input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(124, 238, 239, 0.3);
}

.move-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.move-modal-buttons button {
  padding: 14px 32px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
}

.move-modal-buttons .btn-confirm {
  background: var(--gradient-pink-purple);
  color: white;
}

.move-modal-buttons .btn-confirm:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(247, 139, 184, 0.4);
}

.move-modal-buttons .btn-cancel {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}

.move-modal-buttons .btn-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Boost Form */
.boost-form {
  text-align: left;
  margin-bottom: 24px;
}

.boost-form label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.boost-form select,
.boost-form input[type="number"] {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 2px solid rgba(124, 238, 239, 0.3);
  border-radius: 8px;
  background: var(--bg-primary);
  color: white;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.boost-form select:focus,
.boost-form input[type="number"]:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.boost-form > div {
  margin-bottom: 8px;
}

/* Session History Section */
.session-history-section {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.session-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 5px 0;
}

.session-history-header h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
}

.toggle-arrow {
  display: inline-block;
  transition: transform 0.2s;
  font-size: 0.8rem;
}

.toggle-arrow.open {
  transform: rotate(90deg);
}

.session-history-content {
  margin-top: 15px;
}

/* Queue Search */
.queue-search {
  margin-bottom: 15px;
}

.queue-search input {
  width: 100%;
  padding: 10px 15px;
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.queue-search input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

/* Session History - Simplified Layout */
.session-top-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.session-top-bar input {
  flex: 1;
  padding: 10px 15px;
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.session-top-bar button {
  padding: 10px 16px;
  background: var(--accent-cyan);
  border: none;
  border-radius: 8px;
  color: #000;
  font-weight: 600;
  cursor: pointer;
}

.session-top-bar .btn-new {
  background: var(--accent-pink);
}

.session-search-results {
  background: var(--bg-tertiary);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  max-height: 200px;
  overflow-y: auto;
}

.session-main-grid {
  display: grid;
  grid-template-columns: 200px 1fr 180px;
  gap: 15px;
  max-height: 350px;
}

.session-panel {
  background: var(--bg-tertiary);
  border-radius: 8px;
  padding: 12px;
  overflow-y: auto;
}

.session-panel h4 {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.session-detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.session-stats-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-stat .label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.mini-stat .value {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.session-list-container {
  overflow-y: auto;
  max-height: 400px;
}

.session-card {
  background: var(--bg-tertiary);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.session-card:hover {
  background: rgba(124, 238, 239, 0.05);
}

.session-card.active {
  border-color: var(--accent-cyan);
}

.session-card.current {
  border-color: var(--accent-pink);
}

.session-card .name {
  font-weight: 600;
  color: var(--accent-cyan);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.session-card .date {
  font-size: 0.85rem;
  color: var(--text-primary);
}

.session-card .meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.session-detail-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.session-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px;
  background: var(--bg-tertiary);
  border-radius: 8px;
}

.session-actions input {
  flex: 1;
  min-width: 120px;
  padding: 8px 12px;
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.85rem;
}

.session-actions button {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent-cyan);
  color: #000;
}

.session-actions .btn-load {
  background: var(--success);
  color: #fff;
}

.session-actions .btn-delete {
  background: var(--danger);
  color: #fff;
}

.session-songs-list {
  overflow-y: auto;
  max-height: 340px;
}

.session-song-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--bg-tertiary);
  border-radius: 8px;
  margin-bottom: 6px;
}

.session-song-row img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
}

.session-song-row .info {
  flex: 1;
  min-width: 0;
}

.session-song-row .title {
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.session-song-row .artist {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.session-song-row .requester {
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.session-song-row .platform {
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.session-song-row .platform.spotify { background: #1db954; }
.session-song-row .platform.youtube { background: #ff0000; }
.session-song-row .platform.soundcloud { background: #ff5500; }
.session-song-row .platform.local { background: #666; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.stat-card {
  background: var(--bg-tertiary);
  border-radius: 8px;
  padding: 15px;
}

.stat-card h4 {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-row .count {
  color: var(--accent-cyan);
  font-weight: 600;
}

.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.search-bar input {
  flex: 1;
  padding: 10px 15px;
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.search-bar button {
  padding: 10px 20px;
  background: var(--accent-cyan);
  border: none;
  border-radius: 8px;
  color: #000;
  font-weight: 600;
  cursor: pointer;
}

.empty-state {
  text-align: center;
  color: var(--text-secondary);
  padding: 30px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .sessions-grid {
    grid-template-columns: 1fr;
  }

  .session-list-container {
    max-height: 200px;
  }
}

/* History Modal Button */
.history-modal-btn {
  padding: 8px 16px;
  background: var(--accent-purple);
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.history-modal-btn:hover {
  background: var(--accent-pink);
  transform: scale(1.05);
}

/* History Modal */
.history-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.history-modal.visible {
  display: flex;
}

.history-modal-content {
  background: var(--bg-card);
  border-radius: 16px;
  width: 95%;
  max-width: 1200px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(124, 238, 239, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.history-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-tertiary);
}

.history-modal-header h2 {
  font-size: 1.4rem;
  font-weight: 800;
  font-style: italic;
  color: var(--accent-purple);
  text-transform: uppercase;
}

.history-modal-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.history-modal-actions input {
  padding: 10px 16px;
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  width: 200px;
}

.history-modal-actions input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.history-modal-actions button {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--accent-cyan);
  color: #000;
}

.history-modal-actions .btn-new-session {
  background: var(--accent-pink);
  color: white;
}

.history-modal-actions .btn-close {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.2rem;
  padding: 8px 14px;
}

.history-modal-actions .btn-close:hover {
  background: var(--danger);
}

.history-modal-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  flex: 1;
  overflow: hidden;
}

.history-sessions-panel {
  background: var(--bg-tertiary);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  overflow-y: auto;
}

.history-sessions-panel h3 {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.history-sessions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-sessions-list .session-card {
  background: var(--bg-primary);
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.history-sessions-list .session-card:hover {
  background: rgba(124, 238, 239, 0.05);
}

.history-sessions-list .session-card.active {
  border-color: var(--accent-cyan);
}

.history-sessions-list .session-card.current {
  border-color: var(--accent-pink);
}

.history-sessions-list .session-card .name {
  font-weight: 600;
  color: var(--accent-cyan);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.history-sessions-list .session-card .date {
  font-size: 0.85rem;
  color: var(--text-primary);
}

.history-sessions-list .session-card .meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.history-detail-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.history-session-info {
  padding: 16px 20px;
  background: var(--bg-tertiary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.session-info-header {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.session-name-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.session-name-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.session-info-header button {
  padding: 10px 18px;
  background: var(--accent-cyan);
  border: none;
  border-radius: 6px;
  color: #000;
  font-weight: 600;
  cursor: pointer;
}

.session-info-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.session-info-actions {
  display: flex;
  gap: 10px;
}

.session-info-actions button {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.session-info-actions .btn-load {
  background: var(--success);
  color: white;
}

.session-info-actions .btn-load:hover {
  box-shadow: 0 0 15px rgba(76, 175, 80, 0.4);
}

.session-info-actions .btn-delete {
  background: var(--danger);
  color: white;
}

.session-info-actions .btn-delete:hover {
  box-shadow: 0 0 15px rgba(255, 85, 85, 0.4);
}

.history-songs-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.history-songs-list .session-song-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-tertiary);
  border-radius: 8px;
  margin-bottom: 8px;
}

.history-songs-list .session-song-row img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}

.history-songs-list .session-song-row .info {
  flex: 1;
  min-width: 0;
}

.history-songs-list .session-song-row .title {
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-songs-list .session-song-row .artist {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.history-songs-list .session-song-row .requester {
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

.history-songs-list .empty-state {
  text-align: center;
  color: var(--text-secondary);
  padding: 40px;
  font-size: 0.95rem;
}

.history-modal-footer {
  display: flex;
  gap: 24px;
  justify-content: center;
  padding: 16px 24px;
  background: var(--bg-tertiary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.history-stat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.history-stat .label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.history-stat .value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

@media (max-width: 768px) {
  .history-modal-body {
    grid-template-columns: 1fr;
  }

  .history-sessions-panel {
    max-height: 200px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .history-modal-actions {
    flex-wrap: wrap;
  }

  .history-modal-actions input {
    width: 100%;
  }
}

/* Session History Button */
.session-history-section {
  margin-bottom: 20px;
}

.history-modal-btn.full-width {
  width: 100%;
  padding: 16px 24px;
  font-size: 1.1rem;
}

/* Previous Queue in Queue Section */
.previous-queue {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.previous-queue h3 {
  color: var(--accent-purple);
}

.previous-list {
  max-height: 300px;
  overflow-y: auto;
}

.previous-list .history-item {
  opacity: 0.7;
  transition: opacity 0.2s;
}

.previous-list .history-item:hover {
  opacity: 1;
}

/* Confirm Modal */
.confirm-modal-content {
  text-align: center;
}

.confirm-modal-content p {
  margin: 20px 0;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.btn-delete {
  background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%) !important;
}

.btn-delete:hover {
  background: linear-gradient(135deg, #ff6666 0%, #ee0000 100%) !important;
}

/* Edit Song Modal */
.edit-modal-content {
  max-width: 500px;
  width: 90%;
}

.edit-modal-content input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 12px;
}

.edit-modal-content input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.edit-current {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding: 10px;
  background: var(--bg-secondary);
  border-radius: 8px;
  border-left: 3px solid var(--accent-pink);
}

.edit-results {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.edit-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.edit-result:hover {
  background: var(--bg-secondary);
}

.edit-result img {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  object-fit: cover;
}

.edit-result-info {
  flex: 1;
  min-width: 0;
}

.edit-result-title {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.edit-result-artist {
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.edit-result-platform {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--accent-cyan);
  color: var(--bg-primary);
  font-weight: 600;
  text-transform: uppercase;
}

.edit-hint, .edit-loading, .edit-error {
  text-align: center;
  padding: 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.edit-error {
  color: #ff6b6b;
}

/* Edit Modal Tabs */
.edit-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.edit-tab {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.edit-tab:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.edit-tab.active {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-pink) 100%);
  color: white;
  font-weight: 600;
}

.edit-tab-content {
  display: none;
}

.edit-tab-content.active {
  display: block;
}

/* Manual Edit Fields */
.edit-field {
  margin-bottom: 16px;
}

.edit-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.edit-field input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 1rem;
}

.edit-field input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

#editTabManual .btn-confirm {
  width: 100%;
  margin-top: 8px;
}

/* History Badge - indicates song was played before */
.history-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  color: white;
  vertical-align: middle;
  cursor: help;
}

.queue-item.played-before {
  border-left: 3px solid #ff9800;
}

.queue-item.played-before .queue-item-title {
  color: #ffb74d;
}

/* Demo Test Section */
.demo-test-section {
  background: rgba(124, 238, 239, 0.05);
  border: 1px solid rgba(124, 238, 239, 0.2);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
}

.demo-test-section h2 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #7ceeef;
}

.demo-btn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.demo-btn {
  padding: 10px 8px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s;
}

.demo-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.demo-btn:active {
  transform: translateY(0);
}

.demo-btn.demo-t3 {
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  color: #000;
}

.demo-btn.demo-mega {
  background: linear-gradient(135deg, #898bff, #a78bfa);
  color: #fff;
}

.demo-btn.demo-high {
  background: linear-gradient(135deg, #f78bb8, #f472b6);
  color: #000;
}

.demo-btn.demo-medium {
  background: linear-gradient(135deg, #7ceeef, #22d3ee);
  color: #000;
}

.demo-btn.demo-low {
  background: linear-gradient(135deg, #a3e635, #84cc16);
  color: #000;
}

.demo-btn.demo-t1 {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #000;
}

.demo-btn.demo-free {
  background: #444;
  color: #fff;
  grid-column: span 3;
}

/* ===================
   Stream Moments Tracker
   =================== */

.moments-section {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 193, 7, 0.25);
  margin-bottom: 20px;
}

.moments-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 20px;
  color: #ffc107;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.moments-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.btn-mark-moment {
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-mark-moment:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 193, 7, 0.5);
}

.btn-mark-moment:active {
  transform: scale(0.98);
}

.btn-mark-moment .mark-icon {
  font-size: 1.2rem;
}

.moments-note-form {
  display: flex;
  flex: 1;
  min-width: 200px;
  gap: 8px;
}

.moments-note-form input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(255, 193, 7, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}

.moments-note-form input:focus {
  outline: none;
  border-color: #ffc107;
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.2);
}

.moments-note-form input::placeholder {
  color: var(--text-secondary);
}

.moments-note-form button {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.moments-note-form button:hover {
  background: rgba(255, 193, 7, 0.3);
  transform: scale(1.05);
}

.moments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 193, 7, 0.2);
}

.moments-header span {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

.moments-export-buttons {
  display: flex;
  gap: 8px;
}

.moments-export-buttons button {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.moments-export-buttons button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.moments-export-buttons .btn-clear-moments {
  background: rgba(255, 85, 85, 0.2);
  color: #ff5555;
}

.moments-export-buttons .btn-clear-moments:hover {
  background: rgba(255, 85, 85, 0.3);
}

.moments-list {
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.moments-empty {
  text-align: center;
  padding: 30px;
  color: var(--text-secondary);
  font-style: italic;
}

.moment-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-tertiary);
  border-radius: 8px;
  border-left: 3px solid #ffc107;
  transition: all 0.2s;
  animation: momentSlideIn 0.3s ease-out;
}

@keyframes momentSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.moment-item:hover {
  background: rgba(255, 193, 7, 0.08);
}

.moment-item.moment-note {
  border-left-color: var(--accent-cyan);
}

.moment-timestamp {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #ffc107;
  min-width: 70px;
  font-size: 0.9rem;
}

.moment-item.moment-note .moment-timestamp {
  color: var(--accent-cyan);
}

.moment-content {
  flex: 1;
  min-width: 0;
}

.moment-song-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.moment-song-art {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.moment-song-details {
  flex: 1;
  min-width: 0;
}

.moment-song-title {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.moment-song-artist {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.moment-song-user {
  font-size: 0.75rem;
  color: var(--accent-pink);
  margin-top: 2px;
}

.moment-note-text {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-style: italic;
}

.moment-note-text::before {
  content: '"';
  color: var(--accent-cyan);
}

.moment-note-text::after {
  content: '"';
  color: var(--accent-cyan);
}

.moment-delete {
  padding: 4px 8px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.moment-item:hover .moment-delete {
  opacity: 1;
}

.moment-delete:hover {
  background: rgba(255, 85, 85, 0.2);
  color: #ff5555;
}
