/* BitChord HTML5 Player — Apple Music inspired aesthetic */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
  --bc-font: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bc-accent: #fa2d48;
  --bc-accent-hover: #ff3b56;
  --bc-accent-glow: rgba(250, 45, 72, 0.35);
  --bc-bg-glass: rgba(26, 26, 30, 0.72);
  --bc-border-glass: rgba(255, 255, 255, 0.12);
  --bc-text-primary: #ffffff;
  --bc-text-secondary: rgba(255, 255, 255, 0.65);
  --bc-text-muted: rgba(255, 255, 255, 0.4);
  --bc-surface-hover: rgba(255, 255, 255, 0.08);
  --bc-surface-active: rgba(255, 255, 255, 0.15);
  --bc-progress-bg: rgba(255, 255, 255, 0.16);
  --bc-radius-lg: 24px;
  --bc-radius-md: 14px;
  --bc-radius-sm: 8px;
  --bc-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bitchord-widget-container {
  font-family: var(--bc-font);
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--bc-radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--bc-border-glass);
  background: #0d0d10;
  color: var(--bc-text-primary);
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

/* Ambient artwork canvas glow behind the glass */
.bitchord-ambient-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px) saturate(220%);
  opacity: 0.65;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  transform: translate3d(0, 0, 0);
}

.bitchord-glass-layer {
  position: relative;
  z-index: 1;
  background: var(--bc-bg-glass);
  backdrop-filter: blur(48px) saturate(180%);
  -webkit-backdrop-filter: blur(48px) saturate(180%);
  display: flex;
  flex-direction: column;
}

/* Top bar with logo and mode toggles */
.bitchord-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bitchord-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.bitchord-brand svg {
  color: var(--bc-accent);
}

.bitchord-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bitchord-tab-btn {
  background: none;
  border: none;
  color: var(--bc-text-secondary);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--bc-transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.bitchord-tab-btn:hover {
  color: #fff;
}

.bitchord-tab-btn.active {
  background: var(--bc-surface-active);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Main Display Panels: Player / Lyrics / Queue */
.bitchord-content-area {
  min-height: 380px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.bitchord-panel {
  display: none;
  animation: bcFadeIn 0.3s ease;
  flex: 1;
}

.bitchord-panel.active {
  display: flex;
}

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

/* Player Panel Layout */
.bitchord-player-view {
  padding: 28px 32px 18px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
}

.bitchord-artwork-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--bc-radius-md);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.bitchord-artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.bitchord-artwork-wrap.playing .bitchord-artwork {
  transform: scale(1.02);
}

/* Hidden YouTube Player Frame */
.bitchord-yt-host {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.001;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Track Metadata & Controls Column */
.bitchord-player-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.bitchord-track-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bitchord-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bitchord-artist {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--bc-text-secondary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bitchord-badge-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}

.bitchord-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--bc-text-secondary);
  letter-spacing: 0.05em;
}

.bitchord-badge.hires {
  background: rgba(250, 45, 72, 0.2);
  color: var(--bc-accent);
  border: 1px solid rgba(250, 45, 72, 0.3);
}

/* Progress Scrubber */
.bitchord-scrubber-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bitchord-scrubber-bar {
  position: relative;
  width: 100%;
  height: 6px;
  background: var(--bc-progress-bg);
  border-radius: 6px;
  cursor: pointer;
  overflow: visible;
  transition: height 0.15s ease;
}

.bitchord-scrubber-bar:hover {
  height: 8px;
}

.bitchord-scrubber-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 6px;
  pointer-events: none;
  transition: width 0.08s linear;
}

.bitchord-scrubber-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%) scale(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  transition: transform 0.15s ease;
}

.bitchord-scrubber-bar:hover .bitchord-scrubber-thumb {
  transform: translate(-50%, -50%) scale(1);
}

.bitchord-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--bc-text-muted);
  font-variant-numeric: tabular-nums;
}

/* Playback Control Buttons */
.bitchord-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.bitchord-btn-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bitchord-icon-btn {
  background: none;
  border: none;
  color: var(--bc-text-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--bc-transition);
}

.bitchord-icon-btn:hover {
  background: var(--bc-surface-hover);
  color: #fff;
}

.bitchord-icon-btn:active {
  transform: scale(0.92);
}

.bitchord-icon-btn.active {
  color: var(--bc-accent);
}

.bitchord-play-btn {
  width: 52px;
  height: 52px;
  background: #ffffff;
  color: #000000;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
}

.bitchord-play-btn:hover {
  background: #f0f0f5;
  color: #000;
  transform: scale(1.05);
}

.bitchord-play-btn:active {
  transform: scale(0.95);
}

/* Volume Slider */
.bitchord-volume-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 140px;
}

.bitchord-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: var(--bc-progress-bg);
  outline: none;
  cursor: pointer;
}

.bitchord-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease;
}

.bitchord-volume-slider:hover::-webkit-slider-thumb {
  transform: scale(1.2);
}

/* Lyrics Panel (Apple Music & am-lyrics inspired) */
.bitchord-lyrics-view {
  flex-direction: column;
  padding: 32px 40px;
  height: 380px;
  overflow-y: auto;
  scroll-behavior: smooth;
  gap: 20px;
}

.bitchord-lyrics-view::-webkit-scrollbar {
  width: 6px;
}

.bitchord-lyrics-view::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
}

.bitchord-lyric-line {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  transform-origin: left center;
  margin: 0;
}

.bitchord-lyric-line:hover {
  color: rgba(255, 255, 255, 0.6);
}

.bitchord-lyric-line.active {
  color: #ffffff;
  transform: scale(1.04);
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.45));
}

.bitchord-lyric-line.passed {
  color: rgba(255, 255, 255, 0.45);
}

/* Queue Panel Layout */
.bitchord-queue-view {
  flex-direction: column;
  padding: 20px 24px;
  max-height: 380px;
  overflow-y: auto;
}

.bitchord-queue-view::-webkit-scrollbar {
  width: 6px;
}

.bitchord-queue-view::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
}

.bitchord-queue-header {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bc-text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  padding: 0 8px;
}

.bitchord-queue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--bc-radius-md);
  cursor: pointer;
  transition: var(--bc-transition);
}

.bitchord-queue-item:hover {
  background: var(--bc-surface-hover);
}

.bitchord-queue-item.active {
  background: var(--bc-surface-active);
}

.bitchord-queue-item.active .bitchord-q-title {
  color: var(--bc-accent);
}

.bitchord-q-left {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}

.bitchord-q-art {
  width: 44px;
  height: 44px;
  border-radius: var(--bc-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.bitchord-q-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.bitchord-q-title {
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.bitchord-q-artist {
  font-size: 0.82rem;
  color: var(--bc-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.bitchord-q-duration {
  font-size: 0.8rem;
  color: var(--bc-text-muted);
  font-variant-numeric: tabular-nums;
}

/* Search Panel Layout */
.bitchord-search-view {
  flex-direction: column;
  padding: 20px 24px;
  max-height: 380px;
  overflow-y: auto;
  gap: 16px;
}

.bitchord-search-view::-webkit-scrollbar {
  width: 6px;
}

.bitchord-search-view::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
}

.bitchord-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.bitchord-search-icon {
  position: absolute;
  left: 14px;
  color: var(--bc-text-muted);
  pointer-events: none;
}

.bitchord-search-input {
  width: 100%;
  padding: 12px 40px 12px 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--bc-transition);
}

.bitchord-search-input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(250, 45, 72, 0.6);
  box-shadow: 0 0 16px rgba(250, 45, 72, 0.2);
}

.bitchord-search-clear {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--bc-text-muted);
  cursor: pointer;
  padding: 4px;
  display: none;
}

.bitchord-search-clear.visible {
  display: block;
}

.bitchord-search-filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bitchord-filter-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--bc-text-secondary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--bc-transition);
}

.bitchord-filter-chip:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.bitchord-filter-chip.active {
  background: rgba(250, 45, 72, 0.2);
  color: var(--bc-accent);
  border-color: rgba(250, 45, 72, 0.4);
}

.bitchord-search-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bitchord-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--bc-radius-md);
  transition: var(--bc-transition);
}

.bitchord-search-item:hover {
  background: var(--bc-surface-hover);
  border-color: rgba(255, 255, 255, 0.12);
}

.bitchord-s-left {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  flex: 1;
}

.bitchord-s-art {
  width: 44px;
  height: 44px;
  border-radius: var(--bc-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.bitchord-s-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.bitchord-s-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.bitchord-s-artist {
  font-size: 0.82rem;
  color: var(--bc-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.bitchord-s-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.bitchord-action-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--bc-transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bitchord-action-btn:hover {
  background: var(--bc-accent);
  border-color: var(--bc-accent);
}

.bitchord-action-btn.play {
  background: #ffffff;
  color: #000000;
}

.bitchord-action-btn.play:hover {
  background: #f0f0f5;
  transform: scale(1.05);
}

.bitchord-search-empty {
  text-align: center;
  color: var(--bc-text-muted);
  font-size: 0.9rem;
  padding: 40px 20px;
}

/* Custom Add Track Box */
.bitchord-custom-add-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--bc-radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bitchord-custom-row {
  display: flex;
  gap: 8px;
}

.bitchord-custom-input {
  flex: 1;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
}

.bitchord-custom-input:focus {
  border-color: var(--bc-accent);
}

/* Compact Widget Mode Modifier */
.bitchord-widget-container.compact {
  max-width: 460px;
}

.bitchord-widget-container.compact .bitchord-player-view {
  grid-template-columns: 1fr;
  padding: 24px 24px 18px;
  gap: 20px;
}

.bitchord-widget-container.compact .bitchord-artwork-wrap {
  width: 180px;
  margin: 0 auto;
}

.bitchord-widget-container.compact .bitchord-volume-wrap {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .bitchord-player-view {
    grid-template-columns: 1fr;
    padding: 20px 20px 16px;
    gap: 18px;
  }
  .bitchord-artwork-wrap {
    width: 200px;
    margin: 0 auto;
  }
  .bitchord-volume-wrap {
    display: none;
  }
  .bitchord-title {
    font-size: 1.25rem;
  }
  .bitchord-lyric-line {
    font-size: 1.15rem;
  }
}

/* =====================================================================
   VAN DJ REMOTE & CAR KARAOKE STYLING
   ===================================================================== */
.bitchord-mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 8px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 8px;
}

.bitchord-role-group {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px;
  border-radius: 20px;
}

.bc-role-btn {
  background: transparent;
  border: none;
  color: var(--bc-text-secondary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--bc-transition);
}

.bc-role-btn:hover {
  color: #fff;
}

.bc-role-btn.active {
  background: var(--bc-accent);
  color: #fff;
  box-shadow: 0 2px 8px var(--bc-accent-glow);
}

.bc-sync-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.bc-sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: bcPulse 2s infinite;
}

@keyframes bcPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.bc-karaoke-top-btn {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.35);
  transition: var(--bc-transition);
}

.bc-karaoke-top-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.5);
}

.bc-remote-banner {
  background: linear-gradient(90deg, rgba(250, 45, 72, 0.18) 0%, rgba(99, 102, 241, 0.18) 100%);
  border-bottom: 1px solid rgba(250, 45, 72, 0.3);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bc-rb-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bc-rb-icon {
  font-size: 20px;
}

.bc-rb-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--bc-accent);
  letter-spacing: 0.5px;
}

.bc-rb-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.bc-rb-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bc-action-btn {
  border: none;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--bc-transition);
}

.bc-action-btn.banger {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.bc-action-btn.banger:hover {
  background: rgba(245, 158, 11, 0.35);
}

.bc-action-btn.skip {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.bc-action-btn.skip:hover {
  background: rgba(239, 68, 68, 0.35);
}

/* Fullscreen Karaoke Singalong Modal */
.bitchord-karaoke-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at 50% 20%, #200518 0%, #0a0a0f 80%);
  display: flex;
  flex-direction: column;
  color: #fff;
  padding: 24px;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  animation: bcFadeIn 0.3s ease;
}

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

.bc-km-badge {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ec4899;
}

.bc-km-title {
  font-size: 1.1rem;
  font-weight: 700;
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bc-km-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 24px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--bc-transition);
}

.bc-km-close:hover {
  background: var(--bc-accent);
}

.bc-km-body {
  flex: 1;
  overflow-y: auto;
  padding: 40px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  scroll-behavior: smooth;
}

.bc-km-lyric {
  font-size: 1.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 8px 16px;
  border-radius: 16px;
  line-height: 1.4;
}

.bc-km-lyric:hover {
  color: rgba(255, 255, 255, 0.7);
}

.bc-km-lyric.active {
  color: #ffffff;
  font-size: 2.3rem;
  font-weight: 900;
  transform: scale(1.06);
  text-shadow: 0 0 25px rgba(236, 72, 153, 0.9), 0 0 50px rgba(168, 85, 247, 0.5);
}

.bc-km-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.bc-km-jump {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 6px 14px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
}
