:root {
  --black: #f5f7ff;
  --blue: #78a4ff;
  --purple: #7893fe;
  --white: #0f121a;
  --muted: #8c96ab;
  --border: #2b3140;
  --text-secondary: #b5bfd4;
  --danger: #ff7c7c;
  --success: #3dd9a0;
  --warning: #f7bc58;
}

html,
body,
.main-content,
.navbar,
.admin-sidebar,
.admin-main {
  background: var(--white);
  color: var(--black);
}

.navbar,
.admin-sidebar,
.admin-main,
.nav-user-dropdown,
.search-form,
.admin-input,
input,
textarea,
select,
button,
.card,
.modal-content,
.lp-artist-card,
.lp-contract-scroll,
.lp-contract-iframe,
.sd-lyrics,
.sd-comments-count {
  border-color: var(--border);
}

.search-form {
  background: #161b26;
}

.search-form .search-input,
.admin-input,
input,
textarea,
select,
.dropdown-item,
.nav-link,
.nav-user,
.sd-credit-role,
.lp-contract-notice,
.lp-api-row code {
  color: var(--black);
}

input,
textarea,
select {
  background: #161b26;
}

html.dark-mode .error-page-card {
  background: #141a24;
  border-color: var(--border);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

html.dark-mode .error-page-code {
  color: #d6e4ff;
  background: rgba(120, 164, 255, 0.2);
  border-color: rgba(120, 164, 255, 0.4);
}

html.dark-mode .error-page-title {
  color: var(--black);
}

html.dark-mode .error-page-message,
html.dark-mode .error-page-hint {
  color: var(--text-secondary);
}

html.dark-mode .error-page-btn-primary {
  color: #0f121a;
  box-shadow: 0 10px 24px rgba(120, 164, 255, 0.26);
}

html.dark-mode .error-page-btn-secondary {
  background: #161b26;
  border-color: var(--border);
  color: var(--black);
}

html.dark-mode .error-page-btn-secondary:hover {
  border-color: rgba(120, 164, 255, 0.4);
  background: rgba(120, 164, 255, 0.16);
}

html.dark-mode .basic-landing-body {
  background: radial-gradient(circle at 50% -20%, rgba(120, 164, 255, 0.08), transparent 44%), #0f121a;
}

html.dark-mode .basic-header {
  background: rgba(15, 18, 26, 0.9);
  border-bottom-color: var(--border);
}

html.dark-mode .basic-nav a {
  color: var(--black);
}

html.dark-mode .basic-nav a:not(.basic-nav-btn):hover {
  background: rgba(120, 164, 255, 0.16);
  color: var(--blue);
}

html.dark-mode .basic-nav a.basic-nav-btn {
  background: var(--blue);
  color: var(--white);
}

html.dark-mode .basic-nav a.basic-nav-btn:hover {
  background: rgba(120, 164, 255, 0.85);
  color: var(--white);
}

html.dark-mode .basic-eyebrow {
  color: #d6e4ff;
  background: rgba(120, 164, 255, 0.15);
  border-color: rgba(120, 164, 255, 0.25);
}

html.dark-mode .basic-trust-row span {
  border-color: rgba(120, 164, 255, 0.2);
  background: rgba(120, 164, 255, 0.08);
  color: var(--black);
}

html.dark-mode .basic-hero-note {
  background: linear-gradient(180deg, #181d28, #121620);
  border-color: var(--border);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

html.dark-mode .basic-hero-note li {
  color: var(--text-secondary);
}

html.dark-mode .basic-hero-copy p,
html.dark-mode .basic-feature-card p,
html.dark-mode .basic-cta-strip p,
html.dark-mode .basic-footer p {
  color: var(--text-secondary);
}

html.dark-mode .basic-feature-card {
  background: #141a24;
  border-color: var(--border);
}

html.dark-mode .basic-feature-card:hover {
  border-color: rgba(120, 164, 255, 0.3);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

html.dark-mode .basic-cta-strip {
  background: linear-gradient(180deg, rgba(120, 164, 255, 0.15), rgba(120, 164, 255, 0.05));
  border-color: rgba(120, 164, 255, 0.2);
}

html.dark-mode .basic-footer {
  background: #121824;
  border-top-color: var(--border);
}

html.dark-mode .basic-footer a {
  color: var(--black);
}

html.dark-mode .basic-footer a:hover {
  color: var(--blue);
}

.search-input::placeholder,
input::placeholder,
textarea::placeholder,
.playlist-description,
.playlist-count,
.status-lock-icon,
.sd-detail-val,
.sd-credit-name,
.sd-description,
.lp-artist-handle {
  color: var(--text-secondary);
}

.nav-link:hover,
.nav-user:hover,
.dropdown-item:hover,
.admin-tab-link.active,
.admin-tab-link:hover,
.visibility-toggle:hover {
  background: rgba(120, 164, 255, 0.14);
}

.role-badge,
.lp-artist-badge {
  background: rgba(120, 164, 255, 0.16);
  color: var(--blue);
}

.visibility-toggle {
  background: rgba(22, 27, 38, 0.95);
  color: var(--text-secondary);
}

.auth-form-container,
.add-playlist-card {
  background: linear-gradient(180deg, #141a24 0%, #111723 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.lp-artist-card-top,
.sd-lyrics,
.lp-signature-canvas {
  background: #161b26;
}

html.dark-mode .sd-lyrics-tag {
  color: var(--text-secondary);
}

html.dark-mode .lyrics-editor-subtitle,
html.dark-mode .lyrics-sync-status,
html.dark-mode .lyrics-sync-row-tag {
  color: var(--text-secondary);
}

html.dark-mode .lyrics-sync-list {
  background: #161b26;
  border-color: var(--border);
}

html.dark-mode .lyrics-sync-row.is-current {
  background: rgba(120, 164, 255, 0.14);
  outline-color: rgba(120, 164, 255, 0.34);
}

html.dark-mode .lyrics-sync-row-time {
  color: #9facc6;
}

html.dark-mode .lyrics-sync-row-text {
  color: var(--black);
}

.lp-signature-canvas {
  border-color: var(--border);
}

.lp-api-row code {
  background: rgba(120, 164, 255, 0.12);
}

.sd-comments-count {
  background: #1b2130;
}

a,
.form-footer a,
.search-btn:hover,
.dropdown-item:hover,
.admin-tab-link.active,
.admin-tab-link:hover {
  color: var(--blue);
}

.register-link {
  background: var(--blue);
  color: #0f121a;
}

.register-link:hover {
  background: var(--purple);
}

.modal-footer,
.sd-comments,
.dropdown-item hr,
.lp-artist-card-top {
  border-color: var(--border);
}


.sd-chip {
  background: var(--white);
  color: var(--black);
}

html.dark-mode .detail-context-menu-trigger {
  background: rgba(12, 18, 30, 0.78);
  border-color: rgba(120, 164, 255, 0.3);
  color: #e7efff;
}

html.dark-mode .detail-context-menu-trigger:hover {
  background: rgba(120, 164, 255, 0.2);
  border-color: rgba(120, 164, 255, 0.48);
  color: #ffffff;
}

html.dark-mode .artist-release-context-trigger {
  background: rgba(12, 18, 30, 0.78);
  border-color: rgba(120, 164, 255, 0.3);
  color: #e7efff;
}

html.dark-mode .artist-release-context-trigger:hover {
  background: rgba(120, 164, 255, 0.2);
  border-color: rgba(120, 164, 255, 0.48);
  color: #ffffff;
}

html.dark-mode .lp-stat {
  background: #161b26 !important;
}

html.dark-mode .lp-list-item:hover {
  background: #171d2a !important;
}

html.dark-mode .lp-artist-card-top {
  background: #161b26 !important;
  border-bottom-color: var(--border) !important;
}

html.dark-mode .lp-token-box {
  background: #161b26 !important;
  color: var(--black) !important;
}

html.dark-mode .lp-api-row code {
  background: rgba(120, 164, 255, 0.12) !important;
}

html.dark-mode .lp-contract-scroll,
html.dark-mode .lp-signature-canvas {
  background: #161b26 !important;
}

html.dark-mode .lp-upload-progress-track {
  background: #2a3040 !important;
}

html.dark-mode .lp-stats-table {
  border-collapse: collapse;
  color: var(--black);
}

html.dark-mode .lp-stats-table th,
html.dark-mode .lp-stats-table td {
  border-bottom: 1px solid var(--border);
  color: var(--black);
  background: transparent;
  text-align: left;
  padding: 10px 12px;
}

html.dark-mode .lp-stats-table thead th {
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

html.dark-mode .handle-suggestions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

html.dark-mode .suggestion-chip {
  display: inline-block;
  background-color: #1a2130 !important;
  border: 1px solid #33405a !important;
  color: #dbe7ff !important;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}

html.dark-mode .suggestion-chip:hover {
  background-color: #26324a !important;
  border-color: #5d79b7 !important;
  color: #ffffff !important;
}

html.dark-mode .error-message {
  color: #ff6f6f;
}

html.dark-mode .success-message {
  color: #54e4a6;
}

html.dark-mode body.auth-page {
  background: #0b0f17;
}

html.dark-mode .auth-page .main-content {
  background: #0b0f17;
}

html.dark-mode .auth-split {
  background: #0b0f17;
}

html.dark-mode .auth-visual {
  background:
    radial-gradient(circle at 16% 18%, rgba(120, 164, 255, 0.24), transparent 44%),
    radial-gradient(circle at 84% 20%, rgba(127, 158, 255, 0.2), transparent 48%),
    radial-gradient(circle at 76% 84%, rgba(100, 137, 255, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(20, 26, 36, 0.88), rgba(15, 18, 26, 0.96));
}

html.dark-mode .auth-visual::before {
  background: radial-gradient(circle, rgba(120, 164, 255, 0.3), rgba(120, 164, 255, 0));
}

html.dark-mode .auth-visual::after {
  background: radial-gradient(circle, rgba(132, 161, 255, 0.28), rgba(132, 161, 255, 0));
}

html.dark-mode .auth-visual-tile {
  border-color: rgba(43, 49, 64, 0.9);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  background: linear-gradient(145deg, rgba(24, 30, 42, 0.96), rgba(17, 22, 32, 0.94));
}

html.dark-mode .auth-visual-tile::before {
  opacity: 0.9;
  filter: saturate(1.2) brightness(0.86);
}

html.dark-mode .auth-visual-tile::after {
  background:
    linear-gradient(180deg, rgba(8, 12, 20, 0.22), rgba(8, 12, 20, 0.46)),
    linear-gradient(120deg, rgba(120, 164, 255, 0.24), rgba(120, 164, 255, 0.02) 44%);
}

html.dark-mode .auth-visual-fade {
  background: linear-gradient(90deg, rgba(11, 15, 23, 0.08) 0%, rgba(11, 15, 23, 0.4) 55%, rgba(11, 15, 23, 0.9) 100%);
}

html.dark-mode .auth-brand-accent {
  color: var(--blue);
}

html.dark-mode .auth-page-register .register-wizard-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #dbe7ff;
}

html.dark-mode .auth-page-register .register-wizard-pill.is-active {
  background: rgba(120, 164, 255, 0.18);
  border-color: rgba(120, 164, 255, 0.34);
  color: #ffffff;
}

html.dark-mode .mobile-top-nav {
  background: rgba(15, 18, 26, 0.86);
  border-bottom-color: rgba(43, 49, 64, 0.92);
}

html.dark-mode .mobile-top-nav-action {
  color: var(--black);
}

html.dark-mode .mobile-top-nav-avatar {
  border-color: rgba(120, 164, 255, 0.3);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

html.dark-mode .mobile-top-nav-action > .fa-chevron-right {
  color: var(--text-secondary);
}

html.dark-mode .mobile-top-search-wrap {
  background: rgba(15, 18, 26, 0.9);
  border-bottom-color: rgba(43, 49, 64, 0.92);
}

html.dark-mode .mobile-library-edit-wrap {
  background: rgba(15, 18, 26, 0.9);
  border-bottom-color: rgba(43, 49, 64, 0.92);
}

html.dark-mode .mobile-library-edit-inner {
  background: rgba(120, 164, 255, 0.14);
  border-color: rgba(120, 164, 255, 0.3);
}

html.dark-mode .mobile-library-edit-label {
  color: var(--text-secondary);
}

html.dark-mode .mobile-library-edit-toggle {
  background: var(--blue);
  color: #0f121a;
}

html.dark-mode .invite-code-row {
  background: #161b26;
  border-color: var(--border);
}

html.dark-mode .invite-code-code {
  color: #ffffff;
}

html.dark-mode .invite-code-meta {
  color: var(--text-secondary);
}

html.dark-mode .invite-badge-used {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
}

html.dark-mode body.mobile-library-edit-mode .mobile-library-edit-toggle {
  background: #5f8fe8;
  color: #0f121a;
}

html.dark-mode .mobile-top-search-form {
  background: rgba(120, 164, 255, 0.14);
  border-color: rgba(120, 164, 255, 0.3);
}

html.dark-mode .mobile-top-search-form input {
  color: var(--black);
}

html.dark-mode .mobile-top-search-form input::placeholder {
  color: var(--text-secondary);
}

html.dark-mode .mobile-top-search-form button {
  background: var(--blue);
  color: #0f121a;
}

html.dark-mode .mobile-account-overlay {
  background: rgba(2, 4, 8, 0.45);
}

html.dark-mode .mobile-account-panel {
  background: var(--white);
}

html.dark-mode .mobile-account-panel-header {
  border-bottom-color: var(--border);
}

html.dark-mode .mobile-account-close {
  border-color: var(--border);
  color: var(--black);
  background: #161b26;
}

html.dark-mode .mobile-account-link {
  border-color: var(--border);
  background: #141a24;
  color: var(--black);
}

html.dark-mode .mobile-account-link:hover {
  border-color: rgba(120, 164, 255, 0.4);
  background: rgba(120, 164, 255, 0.16);
}

html.dark-mode .mobile-bottom-nav {
  background: rgba(15, 18, 26, 0.9);
  border-top-color: rgba(43, 49, 64, 0.92);
}

html.dark-mode .mobile-bottom-link {
  color: var(--text-secondary);
}

html.dark-mode .mobile-bottom-link.is-active {
  color: var(--blue);
}

html.dark-mode .sidebar-footer-links .footer-link {
  color: var(--text-secondary);
}

html.dark-mode .sidebar-footer-links .footer-link:hover {
  color: var(--blue);
}

html.dark-mode .sidebar-footer-links .footer-sep {
  color: var(--border);
}

html.dark-mode #playerSection {
  background: var(--white);
  border-top-color: var(--border);
}

html.dark-mode .player-expanded-panel {
  background: linear-gradient(180deg, rgba(10, 14, 24, 0.96) 0%, rgba(12, 18, 30, 0.95) 100%);
  backdrop-filter: blur(16px) saturate(120%);
}

html.dark-mode .player-expanded-content {
  background: transparent;
  border: none;
  box-shadow: none;
}

html.dark-mode .player-expanded-info h2 {
  color: #f3f7ff;
}

html.dark-mode .player-expanded-info p {
  color: var(--text-secondary);
}

html.dark-mode .player-expanded-lyrics-card {
  background: rgba(14, 20, 34, 0.62);
  border-color: rgba(120, 164, 255, 0.34);
  color: #f3f7ff;
}

html.dark-mode .player-expanded-lyrics-label {
  color: var(--text-secondary);
}

html.dark-mode .player-expanded-lyrics-line.is-prev,
html.dark-mode .player-expanded-lyrics-line.is-next {
  color: #b8c5de;
}

html.dark-mode .player-expanded-lyrics-line.is-current {
  color: #ffffff;
}

html.dark-mode .player-expanded-progress .progress-bar {
  background: rgba(120, 164, 255, 0.2);
}

html.dark-mode .player-expanded-progress .time {
  color: #d8e4ff;
}

html.dark-mode .player-expanded-header {
  background: rgba(15, 18, 26, 0.62);
  border-bottom-color: var(--border);
}

html.dark-mode .player-expanded-cover {
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(120, 164, 255, 0.24);
}

html.dark-mode .player-btn-large {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.38);
}

html.dark-mode .player-btn-large:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.44);
}

html.dark-mode .player-btn-large.player-play-btn {
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.5);
}

html.dark-mode .lyrics-theater-backdrop {
  background:
    radial-gradient(circle at 16% 14%, rgba(var(--lyrics-theater-bg-rgb), 0.86), rgba(var(--lyrics-theater-bg-rgb), 0.34) 52%, rgba(2, 4, 10, 0.96) 100%),
    linear-gradient(180deg, rgba(2, 4, 10, 0.26), rgba(2, 4, 10, 0.76));
}

html.dark-mode .lyrics-theater-close,
html.dark-mode .lyrics-theater-go-current {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(2, 6, 14, 0.4);
}

html.dark-mode .lyrics-theater-line {
  color: rgba(255, 255, 255, 0.64);
}

html.dark-mode .lyrics-theater-line.is-current {
  color: #ffffff;
}

html.dark-mode #playerExpandedPrevBtn,
html.dark-mode #playerExpandedNextBtn {
  background: transparent;
  border: none;
  color: var(--black);
  box-shadow: none;
}

html.dark-mode #playerExpandedPrevBtn:hover,
html.dark-mode #playerExpandedNextBtn:hover {
  background: transparent;
  border: none;
  color: var(--black);
  box-shadow: none;
}

@media (max-width: 1024px) {
  html.dark-mode #playerSection {
    background: rgba(15, 18, 26, 0.92);
    border-color: rgba(43, 49, 64, 0.92);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
  }
}

html.dark-mode .custom-context-menu-list::before {
  background: rgba(255, 255, 255, 0.32) !important;
}

html.dark-mode .sa-search-input {
  color: var(--text, #e2e4e9);
}

html.dark-mode .sa-dropdown {
  background: var(--white);
  border-color: var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

html.dark-mode .sa-dropdown-item:hover {
  background: #1a1d28;
}

html.dark-mode .sa-dropdown-name {
  color: var(--text, #e2e4e9);
}

html.dark-mode .sa-dropdown-handle {
  color: var(--muted, #6b7280);
}

html.dark-mode .sa-item {
  background: var(--white, #1a1d28);
  border-color: var(--border, #2b3140);
}

html.dark-mode .sa-name {
  color: var(--text, #e2e4e9);
}

html.dark-mode .sa-handle {
  color: var(--muted, #6b7280);
}

html.dark-mode .sa-remove-btn {
  color: var(--muted, #6b7280);
}

html.dark-mode .sa-remove-btn:hover {
  color: #ef4444;
}

html.dark-mode .sa-avatar-icon {
  color: var(--muted, #6b7280);
}

html.dark-mode .sa-dropdown-avatar-icon {
  color: var(--muted, #6b7280);
}

html.dark-mode .sa-inline-link {
  color: var(--muted, #9ca3af);
}

html.dark-mode .sa-inline-link:hover {
  color: var(--accent, #818cf8);
}

html.dark-mode .sa-separator {
  color: var(--muted, #9ca3af);
}

html.dark-mode .artist-stat-card {
  background: #141a24;
  border-color: var(--border);
}

html.dark-mode .artist-stat-card.is-highlight {
  background: rgba(120, 164, 255, 0.14);
  border-color: rgba(120, 164, 255, 0.32);
}

html.dark-mode .artist-stat-label {
  color: var(--text-secondary);
}

html.dark-mode .artist-stat-value {
  color: var(--black);
}

html.dark-mode .artist-stat-change.is-positive {
  background: rgba(61, 217, 160, 0.2);
  color: #6ef2bf;
}

html.dark-mode .artist-stat-change.is-negative {
  background: rgba(255, 124, 124, 0.2);
  color: #ff9a9a;
}

html.dark-mode .lyrics-status-pill.is-synced {
  background: rgba(61, 217, 160, 0.2);
  border-color: rgba(61, 217, 160, 0.45);
  color: #6ef2bf;
}

html.dark-mode .lyrics-status-pill.is-unsynced {
  background: rgba(255, 185, 92, 0.2);
  border-color: rgba(255, 185, 92, 0.42);
  color: #ffd08a;
}

html.dark-mode .lyrics-status-pill.is-empty {
  background: rgba(120, 164, 255, 0.18);
  border-color: rgba(120, 164, 255, 0.4);
  color: #bfd6ff;
}

html.dark-mode .artist-analytics-chart-card {
  background: #121824;
  border-color: var(--border);
}

html.dark-mode .artist-chart-meta p {
  color: var(--text-secondary);
}

html.dark-mode .artist-chart-switch {
  border-color: #34405a;
  background: rgba(120, 164, 255, 0.1);
  color: var(--text-secondary);
}

html.dark-mode .artist-chart-switch:hover,
html.dark-mode .artist-chart-switch.is-active {
  border-color: rgba(120, 164, 255, 0.5);
  background: rgba(120, 164, 255, 0.22);
  color: var(--blue);
}

html.dark-mode .artist-smoothed-chart {
  border-color: var(--border);
  background: rgba(120, 164, 255, 0.1);
}

html.dark-mode .artist-chart-grid line {
  stroke: rgba(245, 247, 255, 0.12);
}

html.dark-mode .artist-chart-axis-labels {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  html.dark-mode .mobile-top-blend-release .playlist-cover-large::after {
    background: linear-gradient(to bottom, rgba(2, 4, 8, 0) 34%, rgba(2, 4, 8, 0.32) 70%, var(--white) 100%);
  }

  html.dark-mode .mobile-top-blend-release .playlist-cover-large-image {
    filter: saturate(1.06) contrast(1.04);
  }

  html.dark-mode .mobile-top-blend-release .playlist-header-info {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  }

  html.dark-mode .mobile-top-blend-release .playlist-type,
  html.dark-mode .mobile-top-blend-release .playlist-description,
  html.dark-mode .mobile-top-blend-release .meta-item {
    color: rgba(224, 233, 248, 0.9);
  }

  html.dark-mode .mobile-top-blend-release .playlist-title,
  html.dark-mode .mobile-top-blend-release .release-title-link,
  html.dark-mode .mobile-top-blend-release .release-artist-link {
    color: #f6f9ff;
  }

  html.dark-mode .mobile-top-blend-release.cover-tone-light .playlist-type,
  html.dark-mode .mobile-top-blend-release.cover-tone-light .meta-item,
  html.dark-mode .mobile-top-blend-release.cover-tone-light .playlist-description,
  html.dark-mode .mobile-top-blend-release.cover-tone-light .playlist-title,
  html.dark-mode .mobile-top-blend-release.cover-tone-light .release-title-link,
  html.dark-mode .mobile-top-blend-release.cover-tone-light .release-artist-link {
    color: #ffffff;
    text-shadow: 0 1px 10px rgba(36, 36, 36, 0.5);
  }

  html.dark-mode .mobile-top-blend-release.cover-tone-dark .playlist-type,
  html.dark-mode .mobile-top-blend-release.cover-tone-dark .playlist-description,
  html.dark-mode .mobile-top-blend-release.cover-tone-dark .meta-item,
  html.dark-mode .mobile-top-blend-release.cover-tone-dark .playlist-title,
  html.dark-mode .mobile-top-blend-release.cover-tone-dark .release-title-link,
  html.dark-mode .mobile-top-blend-release.cover-tone-dark .release-artist-link,
  html.dark-mode .mobile-top-blend-release.cover-tone-auto .playlist-type,
  html.dark-mode .mobile-top-blend-release.cover-tone-auto .playlist-description,
  html.dark-mode .mobile-top-blend-release.cover-tone-auto .meta-item,
  html.dark-mode .mobile-top-blend-release.cover-tone-auto .playlist-title,
  html.dark-mode .mobile-top-blend-release.cover-tone-auto .release-title-link,
  html.dark-mode .mobile-top-blend-release.cover-tone-auto .release-artist-link {
    color: #f7faff;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.16), 0 2px 14px rgba(0, 0, 0, 0.66);
  }

  html.dark-mode .mobile-top-blend-song .sd-cover-wrap::after {
    background: linear-gradient(to bottom, rgba(2, 4, 8, 0) 34%, rgba(2, 4, 8, 0.34) 72%, var(--white) 100%);
  }

  html.dark-mode .mobile-top-blend-song .sd-cover-img {
    filter: saturate(1.06) contrast(1.05);
  }

  html.dark-mode .mobile-top-blend-song .sd-meta {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  }

  html.dark-mode .mobile-top-blend-song .sd-artist-link,
  html.dark-mode .mobile-top-blend-song .sd-title {
    color: #f6f9ff;
  }

  html.dark-mode .mobile-top-blend-song .sd-chip {
    color: #edf2ff;
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(8, 13, 24, 0.48);
    backdrop-filter: blur(4px);
  }

  html.dark-mode .mobile-top-blend-song .sd-plays-chip {
    color: #ffffff;
    background: rgba(8, 13, 24, 0.62);
  }

  html.dark-mode .mobile-top-blend-song.cover-tone-light .sd-artist-link,
  html.dark-mode .mobile-top-blend-song.cover-tone-light .sd-title {
    color: #ffffff;
    text-shadow: 0 1px 10px rgba(36, 36, 36, 0.5);
  }

  html.dark-mode .mobile-top-blend-song.cover-tone-light .sd-chip {
    color: #101626;
    border-color: rgba(20, 26, 38, 0.18);
    background: rgba(255, 255, 255, 0.9);
  }

  html.dark-mode .mobile-top-blend-song.cover-tone-light .sd-plays-chip {
    color: #0e1422;
    background: rgba(255, 255, 255, 0.96);
  }

  html.dark-mode .mobile-top-blend-song.cover-tone-dark .sd-artist-link,
  html.dark-mode .mobile-top-blend-song.cover-tone-dark .sd-title,
  html.dark-mode .mobile-top-blend-song.cover-tone-auto .sd-artist-link,
  html.dark-mode .mobile-top-blend-song.cover-tone-auto .sd-title {
    color: #f7faff;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.16), 0 2px 14px rgba(0, 0, 0, 0.66);
  }

  html.dark-mode .mobile-top-blend-song.cover-tone-dark .sd-chip,
  html.dark-mode .mobile-top-blend-song.cover-tone-auto .sd-chip {
    color: #edf2ff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(8, 13, 24, 0.5);
  }

  html.dark-mode .mobile-top-blend-song.cover-tone-dark .sd-plays-chip,
  html.dark-mode .mobile-top-blend-song.cover-tone-auto .sd-plays-chip {
    color: #ffffff;
    background: rgba(8, 13, 24, 0.64);
  }

  html.dark-mode .mobile-top-blend-profile .profile-cover::after {
    background: linear-gradient(to bottom, rgba(2, 4, 8, 0) 28%, rgba(2, 4, 8, 0.3) 68%, var(--white) 100%);
  }

  html.dark-mode .mobile-top-blend-profile .profile-info {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.44);
  }

  html.dark-mode .mobile-top-blend-profile .profile-details h1,
  html.dark-mode .mobile-top-blend-profile .profile-social-proof,
  html.dark-mode .mobile-top-blend-profile .stat-number {
    color: #f6f9ff;
  }

  html.dark-mode .mobile-top-blend-profile .profile-bio,
  html.dark-mode .mobile-top-blend-profile .stat-label {
    color: rgba(221, 230, 245, 0.9);
  }

  html.dark-mode .mobile-top-blend-profile .profile-role {
    background: rgba(120, 164, 255, 0.2);
    border: 1px solid rgba(120, 164, 255, 0.28);
    color: #d8e5ff;
  }

  html.dark-mode .mobile-top-blend-profile .profile-actions .follow-btn {
    background: rgba(8, 13, 24, 0.68);
    border-color: rgba(120, 164, 255, 0.26);
    color: #eaf0ff;
  }

  html.dark-mode .mobile-top-blend-profile .profile-actions #followBtn {
    background: linear-gradient(135deg, #78a4ff 0%, #5f84ea 100%);
    color: #0f121a;
    border-color: transparent;
  }
}

html.dark-mode .onboard-shell {
  border-color: rgba(120, 164, 255, 0.24);
  background: linear-gradient(150deg, rgba(120, 164, 255, 0.16), rgba(120, 164, 255, 0.05) 45%, rgba(15, 18, 26, 0.96));
}

html.dark-mode .onboard-brand {
  background: rgba(15, 18, 26, 0.72);
  border-color: rgba(120, 164, 255, 0.26);
  color: #dce8ff;
}

html.dark-mode .onboard-header p,
html.dark-mode .onboard-stage-head p,
html.dark-mode .onboard-summary-card p {
  color: var(--text-secondary);
}

html.dark-mode .onboard-progress-pill {
  background: rgba(15, 18, 26, 0.66);
  border-color: rgba(120, 164, 255, 0.22);
  color: #c6d2ea;
}

html.dark-mode .onboard-progress-pill span {
  background: rgba(120, 164, 255, 0.2);
  color: #dce8ff;
}

html.dark-mode .onboard-progress-pill.is-active,
html.dark-mode .onboard-progress-pill.is-complete {
  border-color: rgba(120, 164, 255, 0.46);
  color: #f3f7ff;
}

html.dark-mode .onboard-progress-pill.is-active span,
html.dark-mode .onboard-progress-pill.is-complete span {
  background: var(--blue);
  color: #0f121a;
}

html.dark-mode .onboard-stage {
  background: rgba(14, 20, 34, 0.8);
  border-color: rgba(120, 164, 255, 0.18);
}

html.dark-mode .onboard-genre-card,
html.dark-mode .onboard-artist-card,
html.dark-mode .onboard-summary-card,
html.dark-mode .onboard-search-box,
html.dark-mode .onboard-loading-card {
  background: #161b26;
  border-color: var(--border);
}

html.dark-mode .onboard-search-box input {
  background: #161b26;
  border-color: var(--border);
  color: var(--black);
}

html.dark-mode .onboard-genre-card.is-selected,
html.dark-mode .onboard-artist-card.is-selected {
  background: rgba(120, 164, 255, 0.12);
  border-color: rgba(120, 164, 255, 0.42);
}

html.dark-mode .onboard-genre-card:hover {
  border-color: rgba(120, 164, 255, 0.48);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

html.dark-mode .onboard-genre-card-meta span,
html.dark-mode .onboard-artist-meta span,
html.dark-mode .onboard-hint,
html.dark-mode .onboard-empty,
html.dark-mode .onboard-loading-card p {
  color: var(--text-secondary);
}

html.dark-mode .onboard-selected-chip,
html.dark-mode .onboard-summary-chips span {
  border-color: rgba(120, 164, 255, 0.34);
  background: rgba(120, 164, 255, 0.18);
  color: #dce8ff;
}

html.dark-mode .onboard-empty {
  border-color: rgba(120, 164, 255, 0.2);
  background: rgba(15, 18, 26, 0.62);
}

html.dark-mode .onboard-loading {
  background: rgba(8, 12, 22, 0.74);
}

html.dark-mode .onboard-loading-card {
  border-color: rgba(120, 164, 255, 0.3);
  box-shadow: 0 28px 44px rgba(0, 0, 0, 0.4);
}

html.dark-mode .onboard-loading-spinner {
  border-color: rgba(120, 164, 255, 0.26);
  border-top-color: var(--blue);
}