﻿/* ============================================================
   AdhesiveTwin — Global Design System
   Spotify-inspired dark theme
   ============================================================ */

/* ============================================================
   Custom Properties
   ============================================================ */
:root {
  /* Backgrounds */
  --bg:           #05070d;
  --bg-elevated:  #0c111c;
  --bg-highlight: #121b2c;
  --bg-press:     #1a2740;

  /* Brand Colours */
  --green:        #2fa9ff;
  --green-hover:  #5ec5ff;
  --green-dim:    rgba(47,169,255,0.2);
  --amber:        #8cbfff;
  --red:          #e5001a;

  /* Text */
  --text-base:    #f4f8ff;
  --text-sub:     #b3c5df;
  --text-muted:   #6f83a1;

  /* Border Radii */
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    16px;
  --radius-pill:  999px;

  /* Motion */
  --transition:   0.15s ease;

  /* Navigation */
  --nav-h:        64px;

  /* Chip tokens */
  --chip-neutral-bg: rgba(34, 53, 86, 0.45);
  --chip-neutral-border: rgba(138, 178, 235, 0.34);
  --chip-neutral-text: #d7e8ff;
  --chip-accent-bg: rgba(40, 99, 174, 0.42);
  --chip-accent-border: rgba(130, 187, 255, 0.48);
  --chip-accent-text: #eaf4ff;
  --chip-free-bg: rgba(37, 126, 216, 0.2);
  --chip-free-border: rgba(121, 186, 255, 0.4);
  --chip-free-text: #d8ecff;
}

/* ============================================================
   Reset / Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 20% 0%, rgba(47,169,255,0.14) 0%, rgba(47,169,255,0) 34%),
    radial-gradient(circle at 85% 85%, rgba(94,197,255,0.11) 0%, rgba(94,197,255,0) 36%),
    linear-gradient(155deg, #03060d 0%, #070b14 48%, #04070f 100%);
  color: var(--text-base);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 { letter-spacing: -0.02em; }
a { color: var(--green); }
a:hover { color: var(--green-hover); }
p { color: var(--text-sub); }

.text-secondary { color: #9eb4cf !important; }

:where(a, button, input, select, textarea, [role="button"], .btn):focus-visible {
  outline: 2px solid rgba(150, 213, 255, 0.95);
  outline-offset: 2px;
  box-shadow: 0 0 0 0.2rem rgba(90, 154, 230, 0.24);
}

/* ============================================================
   Layout Shell
   ============================================================ */
.shell-container {
  max-width: 100%;
  padding-inline: clamp(0.65rem, 1.4vw, 1.4rem);
  margin-inline: auto;
  width: 100%;
}

.app-main {
  flex: 1 0 auto;
  padding-top: clamp(1.25rem, 2vw, 2rem);
}

/* ============================================================
   Navigation
   ============================================================ */
.nav-shell {
  height: var(--nav-h);
  background: rgba(6,10,18,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(76,162,255,0.25);
  z-index: 1030;
}

.app-nav {
  height: var(--nav-h);
  padding-block: 0 !important;
}

/* Brand mark */
.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  color: var(--text-base) !important;
  text-decoration: none !important;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(110,190,255,0.55);
  box-shadow: 0 0 0 2px rgba(8,15,29,0.92), 0 8px 18px rgba(0,0,0,0.4);
  flex-shrink: 0;
}

.brand-text {
  color: #eaf3ff;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--green);
  color: #000;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Nav links */
.app-nav-links {
  display: flex;
  gap: 0.1rem;
  align-items: center;
}

.app-nav .nav-link {
  color: var(--text-sub) !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.375rem 0.7rem !important;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.app-nav .nav-link:hover {
  color: var(--text-base) !important;
  background: rgba(84,168,255,0.17);
}

.app-nav .nav-link.active {
  color: var(--text-base) !important;
  font-weight: 700;
}

/* ============================================================
   Page Fade Animation
   ============================================================ */
.page-fade {
  animation: pageFadeIn 0.3s ease forwards;
}

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

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  font-weight: 700;
  transition: all var(--transition);
}

.btn-aurora {
  background: var(--green);
  color: #000 !important;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.btn-aurora:hover,
.btn-aurora:focus {
  background: var(--green-hover);
  color: #000 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(47,169,255,0.28);
}

.btn-amber {
  background: linear-gradient(180deg, #19355f 0%, #122849 100%);
  border: 1px solid #2b568f;
  color: #e8f3ff !important;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.btn-amber:hover,
.btn-amber:focus {
  background: linear-gradient(180deg, #1f4273 0%, #16345c 100%);
  border-color: #3b6aa8;
  color: #f4f9ff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.btn-ghost {
  background: rgba(255,255,255,0.07);
  color: var(--text-base);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  color: var(--text-base);
}

/* ============================================================
   Content Cards (generic elevated surface)
   ============================================================ */
.content-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Bootstrap .card base overrides */
.card {
  background: var(--bg-elevated) !important;
  border-color: rgba(255,255,255,0.07) !important;
  color: var(--text-base) !important;
}

.card-body { color: var(--text-base); }

/* ============================================================
   Song / Music Cards
   ============================================================ */
.song-card {
  position: relative;
  background: linear-gradient(180deg, rgba(31,31,31,0.98) 0%, rgba(22,22,22,0.98) 100%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  transition: background var(--transition), border-color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.song-card:hover {
  background: linear-gradient(180deg, rgba(35,35,35,0.99) 0%, rgba(25,25,25,0.98) 100%);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0,0,0,0.34);
}

.song-cover-wrap {
  width: 100%;
  aspect-ratio: 1.02;
  overflow: hidden;
  background: linear-gradient(180deg, #131313 0%, #0d0d0d 100%);
  position: relative;
}

.song-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.song-play-icon {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 3;
  width: 1.1rem;
  height: 1.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.62rem;
  color: #f4f6fa;
  background: rgba(0,0,0,0.46);
  border: 1px solid rgba(255,255,255,0.26);
  pointer-events: none;
}

.song-access-chip {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  z-index: 3;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.16rem 0.48rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(156, 194, 245, 0.28);
  background: rgba(15, 30, 52, 0.58);
  color: #d9e9ff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  line-height: 1;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.94);
  font-size: 2rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.32) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.song-cover-wrap:hover .play-overlay {
  opacity: 1;
}

.card-icon-btn,
.card-arrow-btn,
.song-arrow-btn {
  width: 1.95rem;
  height: 1.95rem;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 0.45rem;
  border-color: rgba(212,227,248,0.74) !important;
  background: rgba(10,18,31,0.22);
  color: #f5f9ff !important;
}

.card-icon-btn.btn-outline-danger {
  border-color: rgba(255,125,140,0.76) !important;
  background: rgba(96,18,28,0.24);
  color: #ffd6dc !important;
}

.card-icon-btn i,
.card-arrow-btn i,
.song-arrow-btn i {
  font-size: 0.9rem;
  line-height: 1;
}

.card-icon-btn:hover,
.card-icon-btn:focus,
.card-arrow-btn:hover,
.card-arrow-btn:focus,
.song-arrow-btn:hover,
.song-arrow-btn:focus {
  border-color: rgba(229,240,255,0.95) !important;
  background: rgba(38,76,129,0.4);
  color: #ffffff !important;
}

.card-icon-btn.btn-outline-danger:hover,
.card-icon-btn.btn-outline-danger:focus {
  border-color: rgba(255,164,177,0.92) !important;
  background: rgba(135,24,38,0.34);
  color: #ffe9ed !important;
}

.song-card:hover .song-cover { transform: scale(1.06); filter: saturate(1.04) contrast(1.02); }

.home-song-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
  background: transparent;
  border: 0;
  overflow: visible;
}

.home-song-list .song-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 112px;
}

.home-song-list .song-cover-wrap {
  width: 108px;
  flex: 0 0 108px;
  aspect-ratio: 1;
  flex-shrink: 0;
}

.home-song-list .song-body {
  padding: 0.85rem 0.9rem;
  min-width: 0;
  justify-content: center;
}

.home-song-list .song-title {
  font-size: 0.92rem;
  white-space: normal;
  line-height: 1.28;
}

.home-song-list .song-meta {
  font-size: 0.8rem;
  white-space: normal;
  line-height: 1.25;
}

.home-song-list .song-duration {
  font-size: 0.8rem;
}

.home-song-list .song-price {
  font-size: 0.95rem;
}

.home-song-list .song-play-icon {
  display: none;
}

@media (max-width: 575.98px) {
  .song-card {
    border-radius: 12px;
  }

  .song-body {
    padding: 0.82rem 0.82rem 0.74rem;
    gap: 0.33rem;
  }

  .song-title {
    font-size: 0.92rem;
  }

  .song-meta {
    font-size: 0.79rem;
  }

  .card-icon-btn,
  .card-arrow-btn,
  .song-arrow-btn {
    width: 2.05rem;
    height: 2.05rem;
  }

  .card-footer-grid-inline {
    grid-template-columns: max-content 1fr auto;
    column-gap: 0.42rem;
  }

  .home-song-list {
    grid-template-columns: 1fr;
  }

  .home-song-list .song-card {
    flex-direction: column;
  }

  .home-song-list .song-cover-wrap {
    width: 100%;
    flex-basis: auto;
  }

  .home-song-list .song-right {
    padding: 0 0.9rem 0.9rem;
    align-items: flex-start;
    min-width: 0;
  }
}

.song-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  color: #95a3b4;
  background:
    radial-gradient(circle at 35% 30%, rgba(90,117,150,0.34) 0%, rgba(90,117,150,0) 55%),
    linear-gradient(135deg, rgba(30,36,46,0.92), rgba(14,16,20,0.98));
}

.song-body {
  padding: 0.95rem 0.95rem 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.song-title {
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.25;
  color: var(--text-base);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-title a {
  color: var(--text-base);
  text-decoration: none;
}

.song-title a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.28);
  text-underline-offset: 0.14em;
}

.song-meta {
  font-size: 0.8125rem;
  color: #9da8b6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.4rem 0.55rem;
  margin-top: 0.1rem;
}

.card-footer-grid-inline {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  column-gap: 0.5rem;
  row-gap: 0;
  flex-wrap: nowrap;
}

.card-footer-grid-inline .song-price {
  white-space: nowrap;
}

.card-footer-grid-inline .song-arrow-btn {
  grid-column: 3;
  justify-self: end;
  margin-left: 0;
}

.card-footer-grid-inline .song-price {
  justify-self: start;
  min-width: 0;
}

.song-footer .song-arrow-btn {
  margin-left: auto;
  flex-shrink: 0;
}

.song-footer.card-footer-grid-inline .song-arrow-btn {
  margin-left: 0;
}

.song-price {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--chip-accent-text);
  font-size: 0.84rem;
  min-width: 3.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--chip-accent-border);
  background: var(--chip-accent-bg);
  padding: 0.14rem 0.56rem;
  line-height: 1.2;
}

.song-duration {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  color: var(--chip-neutral-text);
  border-radius: var(--radius-pill);
  border: 1px solid var(--chip-neutral-border);
  background: var(--chip-neutral-bg);
  padding: 0.14rem 0.5rem;
  line-height: 1.2;
}

.badge-free {
  background: var(--chip-free-bg);
  color: var(--chip-free-text);
  border-color: var(--chip-free-border);
}

.badge-soft {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--chip-neutral-bg);
  color: var(--chip-neutral-text);
  border: 1px solid var(--chip-neutral-border);
}

.badge-media-audio,
.badge-media-video {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--chip-neutral-border);
  background: var(--chip-neutral-bg);
  color: var(--chip-neutral-text);
}

.badge-media-video {
  border-color: var(--chip-accent-border);
  background: var(--chip-accent-bg);
  color: var(--chip-accent-text);
}

.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.58rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--chip-neutral-border);
  background: var(--chip-neutral-bg);
  color: var(--chip-neutral-text);
}

.badge-chip-muted {
  border-color: var(--chip-neutral-border);
  background: var(--chip-neutral-bg);
  color: var(--chip-neutral-text);
}

.badge-chip-accent {
  border-color: var(--chip-accent-border);
  background: var(--chip-accent-bg);
  color: var(--chip-accent-text);
}

.badge-chip-success {
  border-color: rgba(125, 225, 185, 0.42);
  background: rgba(41, 128, 95, 0.34);
  color: #daf6ea;
}

.badge-chip-warning {
  border-color: rgba(255, 215, 148, 0.55);
  background: rgba(133, 93, 22, 0.38);
  color: #ffeccc;
}

.badge-chip-danger {
  border-color: rgba(255, 154, 171, 0.5);
  background: rgba(126, 32, 49, 0.36);
  color: #ffe0e7;
}
/* ============================================================
   Song Grid
   ============================================================ */
.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 1.1rem;
}

.music-browse-grid .song-play-icon {
  display: none;
}

.music-browse-grid .song-footer {
  margin-top: 0.1rem;
}

.music-browse-grid .song-footer .song-arrow-btn {
  margin-left: auto;
}

/* ============================================================
   Track List  (row-based tracklist)
   ============================================================ */
.track-list {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.track-list-header,
.track-row {
  display: grid;
  grid-template-columns: 32px 1fr 80px 90px 100px;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  align-items: center;
}

.track-list-header {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-sub);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.track-row {
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background var(--transition);
}

.track-row:last-child { border-bottom: none; }
.track-row:hover { background: var(--bg-highlight); }

/* ============================================================
   Hero Panel
   ============================================================ */
.hero-panel {
  background: linear-gradient(140deg, #0d2318 0%, #091a10 55%, var(--bg) 100%);
  border: 1px solid rgba(47,169,255,0.14);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3rem);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(47,169,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-panel-inner { position: relative; }

/* ---------- Card Glass / Hero Search ---------- */
.card-glass {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
}

.hero-search {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.section-header {
  padding: 0.3rem 0.1rem;
}

/* ============================================================
   Section Labels
   ============================================================ */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-left: 0.5rem;
}

/* ---------- Genre Pills ---------- */
.genre-pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--bg-highlight);
  color: var(--text-sub);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.genre-pill:hover,
.genre-pill.active {
  background: var(--green-dim);
  color: var(--green);
  border-color: var(--green);
}

/* ---------- Meta Chips ---------- */
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--bg-highlight);
  color: var(--text-sub);
  font-size: 0.8125rem;
  font-weight: 500;
  border: none;
}

/* ---------- Audio Shell ---------- */
.audio-shell {
  background: var(--bg-highlight);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.08);
}

audio {
  width: 100%;
  accent-color: var(--green);
}

/* ---------- Tables ---------- */
.table-modern,
.table {
  color: var(--text-base) !important;
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(255,255,255,0.03);
  --bs-table-hover-bg: rgba(255,255,255,0.06);
  --bs-table-border-color: rgba(255,255,255,0.06);
}

.table thead th {
  color: var(--text-sub);
  font-size: clamp(0.68rem, 0.2vw + 0.62rem, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  padding: clamp(0.62rem, 0.9vw, 0.75rem) clamp(0.65rem, 1.1vw, 1rem);
}

.table tbody td {
  padding: clamp(0.62rem, 1vw, 0.875rem) clamp(0.65rem, 1.1vw, 1rem);
  border-color: rgba(255,255,255,0.04);
  vertical-align: middle;
}

.table tbody tr:hover td { background: var(--bg-highlight); }

/* ---------- Forms ---------- */
.form-control,
.form-select {
  background: var(--bg-highlight) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: var(--text-base) !important;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  padding: 0.625rem 0.875rem;
  min-height: 44px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus,
.form-select:focus {
  background: var(--bg-press) !important;
  border-color: var(--green) !important;
  box-shadow: 0 0 0 3px rgba(47,169,255,0.18) !important;
  color: var(--text-base) !important;
  outline: none;
}

.form-control::placeholder { color: var(--text-muted); }
.form-label { font-weight: 600; font-size: 0.875rem; color: var(--text-sub); margin-bottom: 0.4rem; }

.duration-field .duration-hint {
  display: block;
  margin-top: 0.2rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity var(--transition), max-height var(--transition), margin-top var(--transition);
}

.duration-field:focus-within .duration-hint {
  opacity: 1;
  max-height: 2rem;
  margin-top: 0.35rem;
}

/* ---------- Alerts ---------- */
.alert-success {
  background: rgba(47,169,255,0.15) !important;
  border: 1px solid rgba(47,169,255,0.3) !important;
  color: #5ec5ff !important;
  border-radius: var(--radius-md);
}

.alert-danger {
  background: rgba(229,0,26,0.15) !important;
  border: 1px solid rgba(229,0,26,0.3) !important;
  color: #ff4d6a !important;
  border-radius: var(--radius-md);
}

.alert-info {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: var(--text-sub) !important;
  border-radius: var(--radius-md);
}

/* ---------- Badges ---------- */
.badge {
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
}

.badge.bg-success { background: var(--green) !important; color: #000 !important; }
.badge.bg-secondary { background: var(--bg-press) !important; color: var(--text-sub) !important; }

/* ---------- Footer ---------- */
.footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  margin-top: auto;
  flex-shrink: 0;
}

.footer-shell { text-align: center; }
.footer-shell p,
.footer-shell small { color: var(--text-sub); font-size: 0.8125rem; }

.footer-logo-secondary {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(110,190,255,0.42);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

/* ---------- Admin Hero ---------- */
.admin-hero {
  background: linear-gradient(135deg, #10233f 0%, #0a1628 60%, var(--bg) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 2vw, 2.5rem);
  margin-bottom: clamp(1.1rem, 1.8vw, 2rem);
  position: relative;
  overflow: hidden;
}

.admin-hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(47,169,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ---------- Admin Stat Cards ---------- */
.admin-stat-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: clamp(0.7rem, 1vw, 1rem);
  transition: background var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.admin-stat-card:hover {
  background: var(--bg-highlight);
  transform: translateY(-2px);
}

.admin-stat-card .stat-value { font-size: clamp(1.05rem, 0.85vw + 0.85rem, 1.5rem); font-weight: 700; color: var(--text-base); line-height: 1; }
.admin-stat-card .stat-label { font-size: 0.72rem; color: var(--text-sub); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.15rem; }
.admin-stat-card .stat-icon { font-size: 2.5rem; color: var(--green); opacity: 0.3; position: absolute; right: 1.25rem; bottom: 1rem; }
.admin-stat-card--accent { border-color: rgba(47,169,255,0.22); background: linear-gradient(135deg, rgba(47,169,255,0.08), rgba(255,255,255,0.03)); }

.admin-stat-card--compact {
  padding: 0.6rem 0.75rem;
}

.admin-stat-card--compact .stat-value {
  font-size: clamp(0.98rem, 0.7vw + 0.8rem, 1.3rem);
}

.admin-stat-card--compact .stat-label {
  font-size: 0.68rem;
}

.admin-dashboard-hero { padding: clamp(1.2rem, 2vw, 2.5rem); }

.admin-dashboard-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.admin-quick-actions { justify-content: flex-end; }

.admin-panel {
  border: 1px solid rgba(255,255,255,0.07);
}

.admin-chart-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
}

.admin-chart-card--compact {
  padding: 0.75rem;
}

.admin-chart-card--compact canvas {
  display: block;
  max-height: 150px;
}

.subscription-summary-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.subscription-summary-strip strong {
  display: block;
  color: var(--text-base);
  font-size: 1rem;
}

.subscription-summary-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-sub);
  margin-bottom: 0.15rem;
}

.admin-subscriber-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-subscriber-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.admin-subscriber-avatar {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(47,169,255,0.16);
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}

.admin-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  padding: 2rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.08);
}

.admin-empty-state i {
  font-size: 1.9rem;
  color: var(--text-muted);
}

/* ---------- Admin Table Shell ---------- */
.admin-table-shell {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.admin-table-shell .table { margin: 0; }

/* ---------- Gig Guide ---------- */

/* Hero */
.gig-hero {
  background: linear-gradient(140deg, #10233f 0%, #0a1628 55%, var(--bg) 100%);
  border: 1px solid rgba(47,169,255,0.14);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.gig-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(47,169,255,0.10) 0%, transparent 65%);
  pointer-events: none;
}

.gig-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.gig-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

.gig-hero-sub {
  color: var(--text-sub);
  font-size: 1rem;
  max-width: 480px;
}

.gig-hero-stats {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.gig-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.4rem;
  min-width: 90px;
  text-align: center;
}

.gig-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--green);
}

.gig-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-sub);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* Section labels */
.gig-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-sub);
  display: flex;
  align-items: center;
}

.gig-section-count {
  background: var(--bg-highlight);
  color: var(--text-sub);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}

/* Featured card */
.gig-featured-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(47,169,255,0.10) 0%, rgba(47,169,255,0.03) 100%);
  border: 1px solid rgba(47,169,255,0.28);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.gig-featured-card:hover {
  border-color: rgba(47,169,255,0.5);
  box-shadow: 0 0 0 1px rgba(47,169,255,0.12), 0 12px 32px rgba(0,0,0,0.3);
}

.gig-featured-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  min-width: 72px;
  text-align: center;
  flex-shrink: 0;
}

.gig-featured-body { flex: 1; min-width: 0; }

.gig-featured-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.45rem;
}

.gig-featured-meta {
  color: var(--text-sub);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.gig-featured-time {
  color: var(--text-sub);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.gig-featured-notes {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0;
  font-style: italic;
}

.gig-featured-action {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
}

/* Badges */
.gig-badge-featured {
  display: inline-flex;
  align-items: center;
  background: rgba(255,190,11,0.15);
  color: #ffd94a;
  border: 1px solid rgba(255,190,11,0.3);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
}

.gig-badge-soldout {
  display: inline-flex;
  align-items: center;
  background: rgba(229,0,26,0.15);
  color: #ff4d6a;
  border: 1px solid rgba(229,0,26,0.3);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
}

/* Timeline */
.gig-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gig-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background var(--transition);
}

.gig-item:last-child { border-bottom: none; }
.gig-item:hover { background: var(--bg-highlight); }
.gig-item--soldout { opacity: 0.55; }

.gig-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
  flex-shrink: 0;
  text-align: center;
}

.gig-day {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.02em;
}

.gig-month {
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.08em;
  margin-top: 0.1rem;
}

.gig-year {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.gig-item-body { flex: 1; min-width: 0; }

.gig-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gig-venue {
  color: var(--text-sub);
  font-size: 0.84rem;
  margin-bottom: 0.15rem;
}

.gig-time {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 0;
}

.gig-notes {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.gig-item-action { flex-shrink: 0; }

/* Empty state */
.gig-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 4rem 2rem;
  background: var(--bg-elevated);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  text-align: center;
}

.gig-empty-state i {
  font-size: 2.5rem;
  color: var(--text-muted);
}

.gig-empty-state p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-sub);
  margin: 0;
}

/* Archive table */
.gig-archive-table {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gig-archive-header,
.gig-archive-row {
  display: grid;
  grid-template-columns: 130px 1fr 1fr 160px;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  align-items: center;
}

.gig-archive-header {
  background: var(--bg-highlight);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-sub);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.gig-archive-row {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.875rem;
  transition: background var(--transition);
}

.gig-archive-row:last-child { border-bottom: none; }
.gig-archive-row:hover { background: var(--bg-highlight); }

.gig-archive-date { color: var(--text-sub); font-variant-numeric: tabular-nums; }
.gig-archive-title { font-weight: 600; color: var(--text-base); }
.gig-archive-venue { color: var(--text-sub); }
.gig-archive-location { color: var(--text-muted); }

/* ---------- Subscription ---------- */
.subscription-hero {
  background: linear-gradient(135deg, #10233f 0%, #0a1628 100%);
  border: 1px solid rgba(47,169,255,0.2);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
}

.subscription-shell {
  border: 1px solid rgba(255,255,255,0.08);
}

.subscription-price {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green);
}

.subscription-state {
  border: 1px solid rgba(255,255,255,0.1);
}

/* ---------- Song Detail ---------- */
.song-detail-shell {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.song-detail-shell .detail-banner {
  background: linear-gradient(135deg, #10233f 0%, #0a1628 100%);
  padding: 3rem 2.5rem;
  position: relative;
}

.song-detail-hero {
  background: linear-gradient(140deg, rgba(47,169,255,0.08) 0%, rgba(47,169,255,0.02) 36%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  overflow: hidden;
}

.song-detail-title {
  font-size: clamp(1.75rem, 3.1vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.song-detail-artist {
  color: var(--text-sub);
  font-size: 0.97rem;
  letter-spacing: 0.01em;
}

.song-art-panel,
.song-detail-panel {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.song-art-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.song-detail-cover {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.06);
}

.song-detail-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--bg-highlight), var(--bg-press));
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: var(--text-sub);
}

.song-detail-placeholder i {
  font-size: 2.2rem;
  color: var(--green);
}

.song-detail-summary {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 1rem;
  color: var(--text-sub);
  line-height: 1.72;
}

.btn-detail-buy {
  background: linear-gradient(135deg, var(--green) 0%, #78f0a4 100%);
  border: none;
  color: #062311;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.btn-detail-buy:hover {
  color: #04180d;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(47,169,255,0.28);
}

.meta-chip.meta-owned {
  background: rgba(47,169,255,0.18);
  color: #7ff0ad;
  border: 1px solid rgba(47,169,255,0.35);
}

.preview-gate-shell {
  background:
    radial-gradient(circle at 15% 15%, rgba(66, 139, 245, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(240, 165, 0, 0.16) 0%, transparent 48%),
    linear-gradient(160deg, rgba(20, 22, 32, 0.95) 0%, rgba(16, 18, 26, 0.98) 100%);
  border: 1px solid rgba(156, 178, 220, 0.28);
}

.preview-gate-title {
  color: #b9d2ff;
  letter-spacing: 0.08em;
}

.preview-audio-source {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.preview-timer-shell {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(12, 14, 21, 0.76);
  border: 1px solid rgba(185, 210, 255, 0.24);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.preview-timer-shell.preview-locked {
  border-color: rgba(240, 165, 0, 0.55);
  box-shadow: 0 0 0 1px rgba(240, 165, 0, 0.18), 0 14px 30px rgba(0, 0, 0, 0.35);
}

.preview-orb {
  --preview-progress: 0%;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  flex-shrink: 0;
  padding: 5px;
  overflow: hidden;
  background:
    conic-gradient(from 180deg, #f0a500 0 var(--preview-progress), rgba(255, 255, 255, 0.12) var(--preview-progress) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.15),
    0 12px 22px rgba(0, 0, 0, 0.32);
}

.preview-orb-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(160deg, #101627 0%, #0c111d 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0.45rem;
}

.preview-orb-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #9eb4da;
  line-height: 1.1;
}

.preview-orb-time {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
  color: #f8fbff;
}

.preview-timer-content {
  min-width: 0;
}

.preview-toggle-btn {
  min-width: 11.25rem;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  min-height: 2rem;
  padding: 0.34rem 0.7rem;
  white-space: nowrap;
}

.mixtape-preview-btn {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(105, 174, 255, 0.72);
  background: linear-gradient(180deg, rgba(54, 127, 214, 0.34) 0%, rgba(24, 66, 124, 0.6) 100%);
  color: #eaf4ff;
  min-width: 10.25rem;
  max-width: 100%;
  position: relative;
  z-index: 2;
  touch-action: manipulation;
}

.mixtape-preview-btn:hover,
.mixtape-preview-btn:focus-visible {
  border-color: rgba(129, 192, 255, 0.9);
  color: #ffffff;
  background: linear-gradient(180deg, rgba(62, 141, 233, 0.42) 0%, rgba(29, 79, 147, 0.74) 100%);
}

.mixtape-preview-btn .js-preview-toggle-icon {
  font-size: 0.92rem;
}

.mixtape-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.mixtape-preview-track-meta {
  min-width: 0;
  flex: 1 1 260px;
}

.mixtape-preview-track-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.28;
  word-break: break-word;
}

.mixtape-preview-track-duration {
  display: inline-block;
  margin-top: 0.18rem;
}

.mixtape-preview-btn .preview-btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.mixtape-preview-btn .preview-btn-countdown {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  line-height: 1.1;
}

.preview-btn-text-mobile {
  display: none;
}

.full-stream-shell {
  border-color: rgba(123, 207, 166, 0.4);
  background:
    radial-gradient(circle at 12% 22%, rgba(123, 207, 166, 0.14) 0%, transparent 45%),
    rgba(12, 14, 21, 0.76);
}

.full-stream-shell .preview-orb {
  width: 104px;
  height: 104px;
}

.full-stream-shell .preview-orb-inner {
  padding: 0.35rem;
}

.full-stream-shell .preview-orb-label {
  font-size: 0.5rem;
}

.full-stream-shell .preview-orb-time {
  font-size: 0.82rem;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.preview-timer-kicker {
  margin: 0;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9eb4da;
}

.detail-live-wave {
  display: inline-flex;
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translateY(2px) scaleY(0.88);
  transform-origin: left bottom;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    max-height 220ms ease,
    margin-top 220ms ease,
    visibility 0s linear 220ms;
}

.preview-timer-shell.is-playing .detail-live-wave {
  max-height: 1rem;
  margin-top: 0.5rem;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scaleY(1);
  transition-delay: 0s;
}

.detail-live-wave .enterprise-now-wave-bar {
  animation-play-state: paused;
}

.detail-share-panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.detail-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.detail-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: var(--radius-pill);
  padding: 0.38rem 0.72rem;
  font-size: 0.78rem;
  line-height: 1.15;
  border-color: rgba(255,255,255,0.2);
}

.detail-share-btn i {
  font-size: 0.92rem;
}

.detail-share-btn:hover,
.detail-share-btn:focus-visible {
  border-color: rgba(47,169,255,0.54);
  color: #eaf4ff;
  background: rgba(47,169,255,0.14);
}

@media (max-width: 575.98px) {
  .detail-share-actions {
    gap: 0.4rem;
  }

  .detail-share-btn {
    padding: 0.34rem 0.62rem;
    font-size: 0.74rem;
  }
}

.preview-timer-shell.is-playing .detail-live-wave .enterprise-now-wave-bar {
  animation-play-state: running;
}

@media (max-width: 575.98px) {
  .preview-timer-shell {
    flex-direction: column;
    text-align: center;
  }

  .preview-toggle-btn {
    width: 100%;
    min-height: 2.15rem;
    min-width: 0;
    padding: 0.42rem 0.5rem;
    font-size: 0.72rem;
    line-height: 1;
    letter-spacing: 0.02em;
  }

  .preview-btn-text {
    display: none;
  }

  .preview-btn-text-mobile {
    display: inline;
  }

  .mixtape-preview-btn {
    width: auto;
    min-width: 0;
    padding: 0.45rem 0.58rem;
    font-size: 0.72rem;
  }

  .mixtape-preview-head {
    align-items: flex-start;
    gap: 0.5rem;
  }

  .mixtape-preview-track-meta {
    flex-basis: 100%;
  }

  .mixtape-preview-btn .preview-btn-text {
    display: inline-flex;
  }

  .mixtape-preview-btn .preview-btn-text-mobile {
    display: none;
  }

  .mixtape-preview-btn .preview-btn-countdown {
    padding: 0.08rem 0.38rem;
    font-size: 0.69rem;
  }
}

.detail-stack-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
}

.detail-reveal {
  opacity: 0;
  animation: detailReveal 0.45s ease forwards;
}

.detail-reveal:nth-of-type(2) { animation-delay: 0.08s; }
.detail-reveal:nth-of-type(3) { animation-delay: 0.14s; }

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

.detail-side-rail {
  position: sticky;
  top: 86px;
}

.detail-fact-list {
  list-style: none;
  padding: 0;
}

.detail-fact-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 0.75rem;
}

.detail-fact-list li:last-child {
  border-bottom: 0;
}

.detail-fact-list span {
  color: var(--text-sub);
  font-size: 0.84rem;
}

.detail-fact-list strong {
  color: var(--text-base);
  font-size: 0.9rem;
  text-align: right;
}

/* ---------- Comment Cards ---------- */
.comment-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem;
  transition: background var(--transition);
}

.comment-card:hover { background: var(--bg-highlight); }

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ---------- Cart ---------- */
.cart-hero {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 1.6vw, 2rem) clamp(1rem, 2vw, 2.5rem);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: clamp(1rem, 1.8vw, 2rem);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}

.cart-item:hover { background: var(--bg-highlight); }

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-highlight);
  flex-shrink: 0;
}

.price-tag { font-weight: 700; color: var(--green); font-size: 1rem; }

.sticky-summary {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem;
  position: sticky;
  top: 80px;
}

/* ---------- Orders ---------- */
.orders-hero {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 1.6vw, 2rem) clamp(1rem, 2vw, 2.5rem);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: clamp(1rem, 1.8vw, 2rem);
}

.order-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  margin-bottom: 1rem;
  transition: border-color var(--transition);
}

.order-card:hover { border-color: rgba(47,169,255,0.25); }

.order-card-header {
  background: var(--bg-highlight);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.order-total { font-weight: 700; color: var(--green); }
.order-items { padding: 1rem 1.25rem; }

.order-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.875rem;
}

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

/* ---------- Browse Filter ---------- */
.browse-filter-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.browse-filter-form {
  margin-bottom: 1.5rem;
}

.home-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-strip-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--bg-elevated);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  min-height: 100%;
}

.home-strip-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47,169,255,0.35);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.home-strip-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.home-strip-body {
  padding: 0.88rem 0.9rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.home-strip-kicker {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #8eb7df;
  font-weight: 700;
}

.home-strip-title {
  color: var(--text-base);
  font-size: 0.96rem;
  line-height: 1.28;
  font-weight: 700;
}

.home-strip-note {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.45;
}

/* ---------- Enterprise Home ---------- */
.enterprise-home {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.enterprise-hero {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  min-height: clamp(460px, 64vh, 740px);
  padding: clamp(0.4rem, 0.9vw, 0.7rem) 0;
  box-shadow: none;
  overflow: hidden;
}

/* --- Hero background image --- */
.enterprise-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #040810;
}

.enterprise-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  display: block;
  image-rendering: auto;
  opacity: 0.9;
  filter: saturate(0.96) contrast(1.03) brightness(0.9);
  animation: heroBgZoom 16s ease forwards;
  transform-origin: right center;
}

@keyframes heroBgZoom {
  from { transform: scale(1.03); }
  to   { transform: scale(1.0); }
}

@media (prefers-reduced-motion: reduce) {
  .enterprise-hero-bg-img {
    animation: none;
  }
}

.enterprise-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* Left reading gradient — keeps text legible over the image */
    linear-gradient(108deg,
      rgba(4,8,20,0.88) 0%,
      rgba(5,10,24,0.72) 22%,
      rgba(5,10,22,0.48) 46%,
      rgba(5,10,22,0.18) 66%,
      rgba(5,10,22,0.04) 100%),
    /* Top-to-bottom dark seal */
    linear-gradient(180deg, rgba(3,8,18,0.28) 0%, rgba(3,8,18,0) 35%, rgba(3,8,18,0.36) 100%),
    /* Subtle brand-blue ambient on left */
    radial-gradient(ellipse 55% 60% at 5% 55%, rgba(20,70,200,0.06) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.enterprise-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* Corner vignette */
    radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.28) 100%),
    /* Hard bottom seal so content transitions cleanly */
    linear-gradient(180deg, rgba(0,0,0,0) 68%, rgba(4,8,20,0.52) 100%);
  z-index: 1;
  pointer-events: none;
}

.enterprise-hero > .row {
  position: relative;
  z-index: 2;
  min-height: inherit;
}

.enterprise-control,
.enterprise-catalog-panel,
.enterprise-cta {
  background: rgba(4, 10, 20, 0.72);
  border: 1px solid rgba(169,208,255,0.16);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 1.4vw, 1.35rem);
  backdrop-filter: blur(2px);
}

.enterprise-hero-main {
  max-width: min(860px, 100%);
  margin-inline: 0;
  padding: clamp(0.85rem, 1.1vw, 1.15rem);
  min-height: clamp(380px, 52vh, 580px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}

.enterprise-variant-switch {
  position: absolute;
  top: clamp(0.7rem, 1.2vw, 1rem);
  right: clamp(0.7rem, 1.2vw, 1rem);
  z-index: 3;
}

.enterprise-hero-head {
  margin-bottom: 0.5rem !important;
}

.enterprise-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 12ch;
  text-align: left;
  margin-inline: 0;
}

.enterprise-sub {
  color: #bfd3ee;
  max-width: 54ch;
  text-align: left;
  margin-inline: 0;
}

.enterprise-hero-main .enterprise-sub {
  max-width: 50ch;
  margin-bottom: 0.85rem !important;
}

.enterprise-hero-actions {
  margin-bottom: 0.8rem !important;
}

.enterprise-hero-actions .btn-lg {
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
}

.ab-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.26rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(118, 186, 255, 0.28);
  background: rgba(7, 18, 34, 0.86);
}

.ab-switch-btn {
  text-decoration: none;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.3rem 0.58rem;
  border-radius: var(--radius-pill);
  color: #a7bfdd;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.ab-switch-btn:hover {
  color: #d7e8fb;
  background: rgba(47,169,255,0.16);
}

.ab-switch-btn.active {
  color: #e9f4ff;
  background: rgba(47,169,255,0.22);
  border-color: rgba(118, 186, 255, 0.38);
}

.enterprise-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 760px;
}

.enterprise-kpi-card {
  background: rgba(11, 24, 44, 0.84);
  border: 1px solid rgba(118, 186, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.enterprise-kpi-label {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9bb9dd;
}

.enterprise-kpi-value {
  font-size: clamp(1.2rem, 1.1vw + 0.95rem, 1.8rem);
  line-height: 1;
}

.enterprise-kpi-note {
  font-size: 0.76rem;
  color: #95abc9;
}

.enterprise-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.enterprise-proof-item {
  background: rgba(9, 22, 42, 0.82);
  border: 1px solid rgba(118, 186, 255, 0.19);
  border-radius: var(--radius-md);
  padding: 0.62rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.enterprise-proof-value {
  font-size: clamp(1rem, 0.9vw + 0.82rem, 1.45rem);
  font-weight: 800;
  line-height: 1;
  color: #f0f6ff;
}

.enterprise-proof-label {
  font-size: 0.73rem;
  color: #9ab4d3;
  letter-spacing: 0.02em;
}

.enterprise-control-head p {
  letter-spacing: 0.08em;
  color: #95afd2;
}

.enterprise-home-side {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.enterprise-now-module,
.enterprise-drop-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(118, 186, 255, 0.2);
  background: rgba(8, 18, 34, 0.78);
  padding: 0.78rem;
}

.enterprise-now-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.enterprise-now-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #69c2ff;
  box-shadow: 0 0 0 0 rgba(105,194,255,0.45);
  animation: pulseDot 1.8s ease-out infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(105,194,255,0.45); }
  70% { box-shadow: 0 0 0 8px rgba(105,194,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(105,194,255,0); }
}

.enterprise-now-label,
.enterprise-drop-kicker {
  font-size: 0.67rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #9ec0e6;
  font-weight: 700;
}

.enterprise-now-track {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0.72rem;
}

.enterprise-now-cover-wrap {
  display: block;
  border-radius: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  animation: nowCoverFloat 5.2s ease-in-out infinite;
}

@keyframes nowCoverFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.enterprise-now-cover {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.enterprise-now-cover-placeholder {
  background: rgba(20,33,55,0.8);
  color: #b6c9e3;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.enterprise-now-kicker {
  display: inline-block;
  font-size: 0.64rem;
  color: #8eb3da;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.enterprise-now-title,
.enterprise-drop-title {
  color: #f2f7ff;
  font-size: 0.98rem;
  line-height: 1.25;
}

.enterprise-now-meta,
.enterprise-drop-meta {
  color: #a7bfdc;
  font-size: 0.79rem;
  line-height: 1.4;
}

.enterprise-now-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.2rem;
  height: 0.9rem;
  margin-bottom: 0.55rem;
}

.enterprise-now-wave-bar {
  width: 0.18rem;
  min-height: 0.18rem;
  background: linear-gradient(180deg, #86d0ff 0%, #3c8fd8 100%);
  border-radius: 999px;
  opacity: 0.92;
  transform-origin: bottom;
  animation: nowWave 1.05s ease-in-out infinite;
}

.enterprise-now-wave-bar:nth-child(1) { animation-delay: -0.9s; }
.enterprise-now-wave-bar:nth-child(2) { animation-delay: -0.4s; }
.enterprise-now-wave-bar:nth-child(3) { animation-delay: -0.75s; }
.enterprise-now-wave-bar:nth-child(4) { animation-delay: -0.2s; }
.enterprise-now-wave-bar:nth-child(5) { animation-delay: -0.6s; }
.enterprise-now-wave-bar:nth-child(6) { animation-delay: -0.15s; }
.enterprise-now-wave-bar:nth-child(7) { animation-delay: -0.5s; }
.enterprise-now-wave-bar:nth-child(8) { animation-delay: -0.3s; }

@keyframes nowWave {
  0%, 100% { height: 0.2rem; }
  50% { height: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .enterprise-now-cover-wrap,
  .enterprise-now-wave-bar {
    animation: none;
  }
}

.enterprise-now-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.enterprise-drop-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.72rem;
  align-items: center;
}

.enterprise-drop-thumb-wrap {
  border-radius: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  display: block;
}

.enterprise-drop-thumb {
  width: 100%;
  height: 100%;
  min-height: 82px;
  object-fit: cover;
  display: block;
}

.enterprise-brand-seal {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(118, 186, 255, 0.24);
  background: rgba(8, 16, 31, 0.84);
  box-shadow: 0 10px 20px rgba(0,0,0,0.26);
}

.enterprise-brand-seal-img {
  width: 100%;
  max-height: 155px;
  object-fit: cover;
  display: block;
}

.enterprise-op-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.enterprise-op-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
  padding: 0.62rem 0.68rem;
  border-radius: var(--radius-md);
  background: rgba(20, 33, 55, 0.68);
  border: 1px solid rgba(118, 186, 255, 0.16);
}

.enterprise-op-item i {
  font-size: 1rem;
  color: #7cc5ff;
  line-height: 1.4;
}

.enterprise-op-item strong {
  display: block;
  margin-bottom: 0.12rem;
  color: #edf5ff;
  font-size: 0.9rem;
}

.enterprise-op-item p {
  color: #a9bfdc;
  font-size: 0.82rem;
  line-height: 1.4;
}

.enterprise-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.enterprise-trust-item {
  border: 1px solid rgba(101, 175, 255, 0.24);
  background: rgba(7, 17, 33, 0.82);
  border-radius: var(--radius-md);
  padding: 0.66rem 0.72rem;
  font-size: 0.8rem;
  color: #bdd1eb;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.enterprise-trust-item i {
  color: #79c4ff;
}

.enterprise-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.enterprise-pillar-card {
  background: linear-gradient(165deg, rgba(8, 17, 34, 0.94) 0%, rgba(10, 22, 43, 0.94) 100%);
  border: 1px solid rgba(118, 186, 255, 0.17);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.enterprise-pillar-kicker {
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8eb7df;
}

.enterprise-pillar-card p {
  color: #afc5e0;
}

.enterprise-media-grid .song-card {
  border-color: rgba(109, 183, 255, 0.15);
  background: linear-gradient(180deg, rgba(11, 20, 35, 0.98) 0%, rgba(8, 16, 29, 0.98) 100%);
}

.enterprise-media-grid .song-card:hover {
  border-color: rgba(120, 192, 255, 0.34);
  box-shadow: 0 20px 34px rgba(0,0,0,0.34);
}

.enterprise-media-grid .song-card:not(.video-card) .song-footer {
  margin-top: auto;
}

.enterprise-catalog-panel {
  min-height: 100%;
}

.enterprise-latest-song-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr));
}

.enterprise-latest-song-grid .song-footer {
  margin-top: auto;
}

.enterprise-cta {
  margin-top: 0.2rem;
  background:
    radial-gradient(360px 160px at 90% 0%, rgba(47,169,255,0.19) 0%, rgba(47,169,255,0) 70%),
    rgba(6, 13, 26, 0.66);
}

@media (max-width: 1199.98px) {
  .enterprise-kpi-grid,
  .enterprise-pillars,
  .enterprise-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enterprise-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enterprise-now-track,
  .enterprise-drop-row {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .enterprise-title {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .enterprise-hero {
    min-height: clamp(420px, 58vh, 560px);
    padding: 0.68rem 0;
  }

  .enterprise-title {
    font-size: clamp(1.5rem, 7.2vw, 2rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 17ch;
    margin-bottom: 0.8rem !important;
  }

  .enterprise-sub {
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 44ch;
    margin-bottom: 1rem !important;
  }

  .enterprise-hero .btn-lg {
    padding: 0.58rem 0.95rem;
    font-size: 0.9rem;
  }

  .enterprise-hero-main {
    min-height: clamp(320px, 46vh, 440px);
    justify-content: flex-start;
  }

  .enterprise-variant-switch {
    position: static;
    z-index: auto;
    margin-bottom: 0.55rem;
  }

  .enterprise-hero-bg-img {
    object-position: center 12%;
    opacity: 0.74;
  }

  .enterprise-hero::before {
    background:
      linear-gradient(180deg, rgba(4,8,20,0.82) 0%, rgba(4,8,20,0.54) 42%, rgba(4,8,20,0.72) 100%),
      radial-gradient(ellipse 80% 50% at 50% 0%, rgba(20,60,180,0.08) 0%, transparent 70%);
  }

  .enterprise-hero::after {
    background:
      radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.40) 100%),
      linear-gradient(180deg, rgba(0,0,0,0) 62%, rgba(4,8,20,0.78) 100%);
  }

  .enterprise-kpi-grid,
  .enterprise-pillars,
  .enterprise-trust-strip {
    grid-template-columns: 1fr;
  }

  .enterprise-proof-grid {
    grid-template-columns: 1fr;
  }

  .enterprise-control,
  .enterprise-catalog-panel,
  .enterprise-cta {
    padding: 0.9rem;
    background: rgba(4, 10, 20, 0.8);
    border-color: rgba(169,208,255,0.2);
  }

  .enterprise-hero-main {
    padding: 0.9rem;
  }

  .enterprise-op-item {
    grid-template-columns: 1fr;
  }

  .enterprise-now-track,
  .enterprise-drop-row {
    grid-template-columns: 1fr;
  }

  .enterprise-now-cover,
  .enterprise-drop-thumb {
    max-height: 180px;
  }

  .footer-logo-secondary {
    width: 38px;
    height: 38px;
  }

  .ab-switch {
    width: 100%;
    justify-content: space-between;
  }

  .ab-switch-btn {
    flex: 1;
    text-align: center;
    padding-inline: 0.35rem;
  }
}

@media (max-width: 575.98px) {
}

/* ---------- Artist Profile ---------- */
.artist-banner {
  background: linear-gradient(160deg, #10233f 0%, #0a1628 50%, var(--bg) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.artist-banner-duo {
  min-height: 540px;
}

.artist-banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.artist-banner-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.artist-banner-lead {
  max-width: 720px;
  font-size: 1.05rem;
  color: var(--text-sub);
}

.artist-banner-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.artist-stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.95rem;
}

.artist-stat-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.artist-stat-card strong {
  color: var(--text-base);
  font-size: 0.95rem;
}

.artist-anthem {
  max-width: 620px;
  border-left: 3px solid var(--green);
  padding-left: 1rem;
}

.artist-anthem-kicker {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.artist-banner-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(150px, 0.8fr);
  gap: 0.9rem;
  align-items: stretch;
}

.artist-feature-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.24);
}

.artist-feature-card-main {
  min-height: 540px;
}

.artist-feature-stack {
  display: grid;
  gap: 0.9rem;
}

.artist-feature-card-small {
  min-height: 0;
  height: 100%;
}

.artist-feature-card-offset {
  transform: translateY(0.85rem);
}

.artist-feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.artist-feature-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(5,8,14,0.2), rgba(5,8,14,0.88));
  backdrop-filter: blur(8px);
}

.artist-feature-tag {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.artist-feature-caption strong {
  display: block;
  font-size: 1rem;
  color: var(--text-base);
}

.artist-story-layout {
  align-items: start;
}

.artist-story-card {
  background: rgba(10, 14, 22, 0.86);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.artist-quote-card {
  background: linear-gradient(180deg, rgba(47,169,255,0.12) 0%, rgba(10,14,22,0.86) 100%);
  border: 1px solid rgba(47,169,255,0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.artist-quote-mark {
  margin: 0;
  font-size: 3rem;
  line-height: 0.8;
  color: var(--green);
}

.artist-quote-text {
  font-size: 1.05rem;
  color: var(--text-base);
}

.artist-quote-source {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.artist-info-card-accent {
  background: linear-gradient(180deg, rgba(47,169,255,0.1) 0%, rgba(12,17,28,1) 100%);
  border-color: rgba(47,169,255,0.18);
}

.artist-avatar-lg {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--green);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  border: 4px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
  letter-spacing: -0.02em;
  overflow: hidden;
}

.artist-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-sub);
  margin-bottom: 0.875rem;
}

/* Notable release rows */
.notable-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  transition: background var(--transition);
  border-radius: 0;
}

.notable-row:hover { background: var(--bg-highlight); }
.notable-row + .notable-row { border-top: 1px solid rgba(255,255,255,0.04); }

.notable-num {
  width: 20px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-sub);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.notable-cover {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.notable-info { flex: 1; min-width: 0; }
.notable-title { font-weight: 600; font-size: 0.9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notable-feat { font-size: 0.8125rem; color: var(--text-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.notable-streams {
  font-size: 0.8125rem;
  color: var(--text-sub);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.artist-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.9rem;
}

.artist-gallery-section {
  background: rgba(10, 14, 22, 0.86);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.artist-gallery-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: row dense;
  grid-auto-rows: minmax(180px, auto);
  gap: 0.9rem;
}

/* ============================================================
   Utility
   ============================================================ */

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

/* ============================================================
   Playlist Pages
   ============================================================ */

/* -- Hero -- */
.pl-hero {
  background: linear-gradient(135deg, rgba(47,169,255,0.12) 0%, rgba(18,18,18,0) 60%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
}

.pl-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pl-hero-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.pl-hero-sub {
  font-size: 0.9375rem;
  color: var(--text-sub);
}

.pl-create-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.pl-create-form .form-control {
  width: 220px;
}

/* -- Playlist card list -- */
.pl-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pl-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  transition: background var(--transition), border-color var(--transition);
}

.pl-card:hover {
  background: var(--bg-highlight);
  border-color: rgba(255,255,255,0.12);
}

.pl-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--green-dim);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pl-card-body {
  flex: 1;
  min-width: 0;
}

.pl-card-name {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-base);
}

.pl-card-name:hover { color: var(--green); }

.pl-card-meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-sub);
}

.pl-card-actions {
  display: flex;
  gap: 0.375rem;
  flex-shrink: 0;
}

/* -- Recently played list -- */
.pl-recent-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.pl-recent-item {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 0.625rem 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background var(--transition);
}

.pl-recent-item:hover { background: var(--bg-highlight); }

.pl-recent-cover {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.pl-recent-placeholder {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-highlight);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.pl-recent-title {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-base);
}

.pl-recent-title:hover { color: var(--green); }

.pl-recent-artist {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pl-recent-plays {
  font-size: 0.8125rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* -- Empty state -- */
.pl-empty {
  background: var(--bg-elevated);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-sub);
}

.pl-empty i {
  font-size: 2rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.75rem;
}

/* -- Playlist detail hero -- */
.pl-detail-hero {
  background: linear-gradient(135deg, rgba(47,169,255,0.1) 0%, rgba(18,18,18,0) 55%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

/* -- Song list -- */
.pl-song-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.pl-song-row {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 0.625rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background var(--transition), border-color var(--transition);
  cursor: grab;
}

.pl-song-row:hover { background: var(--bg-highlight); }
.pl-song-row.dragging { opacity: 0.45; border-color: var(--green); cursor: grabbing; }

.pl-song-num {
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  width: 1.5rem;
  text-align: right;
  flex-shrink: 0;
}

.pl-drag-handle {
  color: var(--text-muted);
  font-size: 1rem;
  flex-shrink: 0;
  cursor: grab;
}

.pl-song-cover {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.pl-song-cover-placeholder {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-highlight);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

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

.pl-song-title {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-base);
}

.pl-song-title:hover { color: var(--green); }

.pl-song-artist {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pl-song-actions {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}

/* -- Responsive -- */
@media (max-width: 575.98px) {
  .pl-hero { padding: 1.25rem; }
  .pl-hero-inner { flex-direction: column; align-items: flex-start; }
  .pl-create-form { width: 100%; }
  .pl-create-form .form-control { width: 100%; }
  .pl-song-num { display: none; }
}

.artist-gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), filter var(--transition);
  position: relative;
  min-height: 240px;
}

.artist-gallery-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47,169,255,0.4);
  box-shadow: 0 14px 30px rgba(0,0,0,0.28);
  filter: saturate(1.05);
}

.artist-gallery-card-hero {
  min-height: 360px;
  grid-column: span 7;
  grid-row: span 2;
}

.artist-gallery-layout .artist-gallery-card:nth-of-type(2),
.artist-gallery-layout .artist-gallery-card:nth-of-type(3) {
  grid-column: span 5;
}

.artist-gallery-layout .artist-gallery-card:nth-of-type(4),
.artist-gallery-layout .artist-gallery-card:nth-of-type(5),
.artist-gallery-layout .artist-gallery-card:nth-of-type(6) {
  grid-column: span 4;
}

.artist-gallery-badge {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  z-index: 1;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(5,8,14,0.78);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-base);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artist-gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1rem 0.95rem;
  background: linear-gradient(180deg, rgba(7,10,15,0) 0%, rgba(7,10,15,0.88) 100%);
}

.artist-gallery-overlay strong {
  color: var(--text-base);
  font-size: 0.98rem;
}

.artist-gallery-overlay-compact {
  padding-top: 1.4rem;
}

.artist-gallery-image {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.artist-gallery-card-hero .artist-gallery-image {
  object-position: center 30%;
}

/* Artist info cards (sidebar) */
.artist-info-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.artist-info-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-sub);
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.artist-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.artist-info-list li {
  font-size: 0.9rem;
  color: var(--text-base);
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.artist-info-list li:last-child { border-bottom: none; }

/* Collaborator pills */
.collab-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.collab-pill {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--bg-highlight);
  color: var(--text-sub);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition);
}

.collab-pill:hover {
  background: var(--green-dim);
  color: var(--green);
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-pill);
  background: var(--bg-highlight);
  color: var(--text-sub);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.social-chip:hover {
  background: var(--green-dim);
  color: var(--green);
  border-color: rgba(47,169,255,0.3);
}

/* ---------- Auth Pages ---------- */
.auth-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  padding: clamp(1.1rem, 1.8vw, 2.5rem);
  max-width: min(100%, 520px);
  margin: clamp(1rem, 2vw, 2rem) auto;
}

.auth-submit {
  background: linear-gradient(180deg, #eceff3 0%, #d8dee6 100%);
  border: 1px solid #c9d0d9;
  color: #171c22 !important;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.auth-submit:hover,
.auth-submit:focus {
  background: linear-gradient(180deg, #f4f6f9 0%, #e0e5ec 100%);
  border-color: #d4dbe3;
  color: #0f141a !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

/* ---------- Login Partial Nav ---------- */
.auth-nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.auth-nav-chip.login-chip {
  background: transparent;
  color: var(--text-sub);
  border: 1px solid rgba(255,255,255,0.2);
}

.auth-nav-chip.login-chip:hover {
  background: var(--bg-highlight);
  color: var(--text-base);
}

.auth-nav-chip.register-chip {
  background: var(--green);
  color: #000;
  border: none;
}

.auth-nav-chip.register-chip:hover { background: var(--green-hover); }

/* ---------- Bootstrap Component Overrides ---------- */
.dropdown-menu {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
}

.dropdown-item { color: var(--text-sub); font-size: 0.875rem; }
.dropdown-item:hover { background: var(--bg-highlight); color: var(--text-base); }

.nav-tabs { border-bottom: 1px solid rgba(255,255,255,0.1); }

.nav-tabs .nav-link {
  color: var(--text-sub);
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.nav-tabs .nav-link.active {
  color: var(--text-base);
  background: transparent;
  border-bottom-color: var(--green);
}

.pagination .page-link {
  background: var(--bg-elevated);
  border-color: rgba(255,255,255,0.1);
  color: var(--text-sub);
}

.pagination .page-item.active .page-link {
  background: var(--green);
  border-color: var(--green);
  color: #000;
}

.modal-content {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-base);
}

.modal-header,
.modal-footer { border-color: rgba(255,255,255,0.08); }

.mixtape-tracklist-modal-dialog {
  max-width: min(920px, 92vw);
}

.mixtape-tracklist-modal-content {
  background: linear-gradient(180deg, rgba(12,20,36,0.98) 0%, rgba(7,12,24,0.98) 100%);
  border: 1px solid rgba(145,196,255,0.24);
  overflow: hidden;
}

.mixtape-tracklist-modal-header {
  position: sticky;
  top: 0;
  z-index: 4;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(14,24,43,0.92) 0%, rgba(12,21,37,0.8) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

.mixtape-tracklist-modal-body {
  max-height: min(72vh, 640px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.mixtape-tracklist-table-wrap thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(9,18,31,0.98);
}

.mixtape-tracklist-modal .btn-close:focus-visible {
  outline-offset: 3px;
}

.mixtape-tracklist-modal .modal-content {
  animation: tracklistModalIn 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes tracklistModalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 575.98px) {
  .mixtape-tracklist-modal-dialog {
    max-width: calc(100vw - 1rem);
    margin: 0.5rem auto;
  }

  .mixtape-tracklist-modal-body {
    max-height: 78vh;
  }

  .mixtape-tracklist-table-wrap thead th {
    font-size: 0.74rem;
    letter-spacing: 0.03em;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero-panel   { padding: 2.5rem 1.5rem; }
  .admin-hero   { padding: 1.75rem 1.5rem; }
  .sticky-summary { position: static; }
  .detail-side-rail { position: static; }
  .gig-hero     { padding: 2rem 1.25rem; }
  .gig-hero-inner { flex-direction: column; align-items: flex-start; }
  .gig-hero-stats { width: 100%; }
  .gig-stat-pill  { flex: 1; }
  .gig-featured-card { flex-direction: column; }
  .gig-featured-action { align-self: flex-start; }
  .gig-item     { flex-direction: column; gap: 0.75rem; padding: 1rem; }
  .gig-item-action { align-self: flex-start; }
  .gig-archive-header,
  .gig-archive-row { grid-template-columns: 110px 1fr; }
  .gig-archive-venue,
  .gig-archive-location { display: none; }
  .subscription-hero { padding: 1.75rem 1.25rem; }
  .subscription-price { font-size: 1.4rem; }
  .admin-dashboard-hero { padding: 1.75rem 1.25rem; }
  .admin-dashboard-hero-inner { flex-direction: column; align-items: flex-start; }
  .admin-quick-actions { justify-content: flex-start; }
  .subscription-summary-strip { grid-template-columns: 1fr; }
  .artist-banner { padding: 2rem 1.5rem; }
  .artist-banner-grid { grid-template-columns: 1fr; }
  .artist-banner-visuals { grid-template-columns: 1fr; }
  .artist-banner-duo { min-height: auto; }
  .artist-banner-copy { padding: 1rem; }
  .artist-banner-lead { font-size: 0.95rem; }
  .artist-hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .artist-banner-stats { grid-template-columns: 1fr; gap: 0.5rem; }
  .artist-stat-card { padding: 0.75rem 0.85rem; }
  .artist-feature-card-main { min-height: 280px; }
  .artist-feature-card-small { min-height: 170px; }
  .artist-feature-card-offset { display: none; }
  .artist-gallery-layout { grid-template-columns: 1fr; }
  .artist-gallery-card-hero { min-height: 260px; grid-row: auto; }
  .artist-gallery-card { min-height: 210px; }
  .artist-gallery-layout .artist-gallery-card:nth-of-type(2),
  .artist-gallery-layout .artist-gallery-card:nth-of-type(3),
  .artist-gallery-layout .artist-gallery-card:nth-of-type(4),
  .artist-gallery-layout .artist-gallery-card:nth-of-type(5) {
    grid-column: auto;
  }
  .artist-gallery-layout {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(78vw, 1fr);
    grid-template-columns: none;
    overflow-x: auto;
    gap: 0.75rem;
    padding-bottom: 0.25rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .artist-gallery-layout::-webkit-scrollbar { height: 0; }
  .artist-gallery-card,
  .artist-gallery-card-hero {
    scroll-snap-align: start;
    min-height: 280px;
  }
  .artist-gallery-card-hero {
    grid-column: auto;
    grid-row: auto;
  }
  .artist-gallery-card:nth-of-type(2),
  .artist-gallery-card:nth-of-type(3),
  .artist-gallery-card:nth-of-type(4),
  .artist-gallery-card:nth-of-type(5) {
    grid-column: auto;
  }
  .artist-gallery-image {
    min-height: 280px;
    max-height: 320px;
  }
  .home-photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-strip-image { height: 150px; }
  .artist-gallery { grid-template-columns: 1fr; }
  .artist-gallery-card:nth-child(1),
  .artist-gallery-card:nth-child(2),
  .artist-gallery-card:nth-child(3),
  .artist-gallery-card:nth-child(4),
  .artist-gallery-card:nth-child(5),
  .artist-gallery-card:nth-child(6) { grid-column: auto; }
  .artist-gallery-image { min-height: 220px; }
}

@media (min-width: 992px) and (max-width: 1240px) {
  .brand-mark {
    gap: 0.4rem;
    font-size: 1rem;
  }

  .app-nav .nav-link {
    font-size: 0.8rem;
    padding: 0.35rem 0.52rem !important;
  }

  .app-nav-links {
    gap: 0.08rem;
  }

  .auth-nav .nav-link {
    font-size: 0.8rem;
    padding: 0.34rem 0.55rem !important;
  }

  .nav-action-btn {
    padding-inline: 0.82rem;
    font-size: 0.76rem;
  }

  .account-chip {
    max-width: 135px;
  }
}

@media (min-width: 1240px) {
  .brand-mark {
    gap: 0.82rem;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 575.98px) {
  .brand-mark {
    gap: 0.55rem;
    font-size: 0.95rem;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
    box-shadow: 0 0 0 1px rgba(8,15,29,0.92), 0 6px 14px rgba(0,0,0,0.36);
  }
}

@media (max-width: 991.98px) {
  .nav-shell {
    height: auto;
    min-height: var(--nav-h);
  }

  .app-nav {
    height: auto;
    padding-block: 0.42rem;
  }

  .app-nav-collapse {
    margin-top: 0.7rem;
    padding: 0.8rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    transform-origin: top center;
    transition: opacity 100ms ease-out, transform 140ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  .app-nav-collapse.collapsing {
    opacity: 0;
    transform: translateY(-8px) scaleY(0.98);
  }

  .app-nav-collapse.collapse.show {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }

  .app-nav-links {
    width: 100%;
    margin-bottom: 0.55rem !important;
  }

  .app-nav-links .nav-item {
    width: 100%;
  }

  .app-nav-links .nav-link {
    display: block;
    width: 100%;
    padding: 0.55rem 0.75rem !important;
  }

  .auth-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.55rem;
    padding-top: 0.15rem;
  }

  .auth-nav .nav-item {
    width: 100%;
  }

  .auth-nav .nav-link,
  .auth-nav .btn,
  .auth-nav-form,
  .auth-nav-form .btn {
    width: 100%;
  }

  .account-chip {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-nav-collapse,
  .app-nav-collapse.collapsing,
  .app-nav-collapse.collapse.show {
    transition: none !important;
    transform: none !important;
  }
}

/* ============================================================
   Account Manage Pages
   ============================================================ */

.mgr-shell {
  display: grid;
  grid-template-columns: minmax(205px, 235px) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: start;
}

.mgr-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.mgr-sidebar-head {
  padding: 0 0.5rem 1rem;
}

.mgr-sidebar-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

/* Nav links */
.mgr-nav {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.mgr-nav-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-sub);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}

.mgr-nav-link i {
  font-size: 1rem;
  width: 1.2rem;
  text-align: center;
  flex-shrink: 0;
}

.mgr-nav-link:hover {
  color: var(--text-base);
  background: var(--bg-highlight);
}

.mgr-nav-link.active {
  color: var(--text-base);
  background: var(--bg-highlight);
  font-weight: 700;
}

.mgr-nav-link.active i { color: var(--green); }

.mgr-nav-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 0.5rem 0.75rem;
}

/* Content panel */
.mgr-content {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 1.8vw, 2rem);
  min-width: 0;
}

@media (min-width: 1600px) {
  .hero-panel p.lead {
    max-width: 700px;
  }

  .track-list,
  .admin-table-shell,
  .auth-card,
  .mgr-content {
    border-radius: 14px;
  }
}

/* Section header */
.mgr-section-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mgr-section-icon {
  font-size: 1.75rem;
  color: var(--green);
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.mgr-section-icon--danger { color: var(--red); }

.mgr-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.125rem;
}

.mgr-section-sub {
  font-size: 0.875rem;
  color: var(--text-sub);
  margin-bottom: 0;
}

/* Forms */
.mgr-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mgr-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.mgr-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
}

.mgr-input {
  background: var(--bg-highlight) !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: var(--text-base) !important;
  border-radius: var(--radius-md) !important;
}

.mgr-input:focus {
  border-color: var(--green) !important;
  box-shadow: 0 0 0 3px rgba(47,169,255,0.15) !important;
  background: var(--bg-highlight) !important;
}

.mgr-input:disabled { opacity: 0.55; cursor: not-allowed; }

/* Email badges */
.mgr-badge-confirmed {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-dim);
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.5rem;
  letter-spacing: 0.04em;
}

.mgr-badge-unconfirmed {
  font-size: 0.7rem;
  font-weight: 700;
  color: #f0a500;
  background: rgba(240,165,0,0.12);
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.5rem;
  letter-spacing: 0.04em;
}

/* 2FA status strip */
.mgr-2fa-status {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid;
}

.mgr-2fa-status i { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }

.mgr-2fa-status--on {
  background: rgba(47,169,255,0.08);
  border-color: rgba(47,169,255,0.25);
  color: var(--green);
}

.mgr-2fa-status--on > div { color: var(--text-base); }

.mgr-2fa-status--off {
  background: rgba(229,0,26,0.06);
  border-color: rgba(229,0,26,0.2);
  color: var(--red);
}

.mgr-2fa-status--off > div { color: var(--text-base); }

/* Personal data cards */
.mgr-data-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-highlight);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.mgr-data-card--danger {
  border-color: rgba(229,0,26,0.2);
  background: rgba(229,0,26,0.04);
}

.mgr-data-card-icon {
  font-size: 1.5rem;
  width: 2.5rem;
  text-align: center;
  color: var(--text-muted);
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.mgr-data-card--danger .mgr-data-card-icon { color: var(--red); }

/* External login list */
.mgr-logins-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.mgr-login-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-highlight);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
}

.mgr-login-provider { font-weight: 600; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 767.98px) {
  .mgr-shell {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .mgr-sidebar { position: static; }

  .mgr-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .mgr-nav-link {
    padding: 0.4rem 0.625rem;
    font-size: 0.8125rem;
  }

  .mgr-content { padding: 1.25rem; }
}

/* ============================================================
   Social Auth Buttons
   ============================================================ */

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: rgba(255,255,255,0.06);
  color: var(--text-base);
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  transition: background var(--transition), border-color var(--transition);
}

.btn-google:hover,
.btn-google:focus {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.25);
  color: var(--text-base);
}

.video-shell {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  background: rgba(255,255,255,0.02);
}

.video-shell video {
  border-radius: calc(var(--radius-md) - 2px);
  background: #000;
}

.video-card .chip-stream {
  background: rgba(58, 134, 255, 0.16);
  color: #bfd6ff;
}

.video-card .chip-new {
  background: rgba(244, 162, 97, 0.22);
  color: #ffd7b1;
}

/* ---------- Video Browse ---------- */
.vbrowse-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(153,179,218,0.24);
  border-radius: var(--radius-lg);
  padding: clamp(0.9rem, 1.5vw, 1.3rem);
  background:
    radial-gradient(120% 95% at 88% 0%, rgba(95,146,221,0.18) 0%, rgba(95,146,221,0) 58%),
    radial-gradient(90% 80% at 0% 100%, rgba(151,118,223,0.12) 0%, rgba(151,118,223,0) 62%),
    linear-gradient(145deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.01) 42%, rgba(255,255,255,0.03) 100%);
}

.vbrowse-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  opacity: 0.16;
  pointer-events: none;
}

.vbrowse-filter-card {
  position: relative;
  border: 1px solid rgba(146,171,209,0.3);
  background: linear-gradient(165deg, rgba(9,13,24,0.9) 0%, rgba(14,20,35,0.8) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.vbrowse-filter-card .form-control,
.vbrowse-filter-card .form-select {
  border-color: rgba(165,191,226,0.26);
  background: rgba(8,12,22,0.72);
}

.vbrowse-filter-card .form-control:focus,
.vbrowse-filter-card .form-select:focus {
  border-color: rgba(172,204,246,0.62);
  box-shadow: 0 0 0 0.18rem rgba(120,156,220,0.18);
}

.vbrowse-count-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.62rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(143,174,222,0.36);
  background: linear-gradient(135deg, rgba(58,89,138,0.34) 0%, rgba(58,89,138,0.2) 100%);
  color: #d8e8ff;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vbrowse-grid .video-card {
  border: 1px solid rgba(147,174,213,0.24);
  background: linear-gradient(165deg, rgba(10,14,25,0.94) 0%, rgba(14,20,35,0.84) 100%);
  box-shadow: 0 12px 26px rgba(0,0,0,0.26);
}

.vbrowse-grid .video-card:hover {
  border-color: rgba(173,204,245,0.42);
  background: linear-gradient(165deg, rgba(12,17,30,0.98) 0%, rgba(18,26,44,0.88) 100%);
  box-shadow: 0 18px 34px rgba(0,0,0,0.34);
}

.vbrowse-grid .video-card .song-cover-wrap {
  border-bottom: 1px solid rgba(148,176,219,0.2);
  aspect-ratio: 16 / 9;
}

.video-card .video-cover-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.18) 56%, rgba(0,0,0,0.42) 100%);
  pointer-events: none;
}

.video-card .video-play-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  color: #f4f8ff;
  background: radial-gradient(circle at 30% 25%, rgba(180,214,255,0.4) 0%, rgba(92,132,199,0.34) 60%, rgba(72,104,166,0.28) 100%);
  border: 1px solid rgba(194,222,255,0.45);
  box-shadow: 0 0 20px rgba(113,157,224,0.36);
  opacity: 0;
  transition: opacity 190ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.vbrowse-grid .video-card:hover .video-play-glow {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.vbrowse-grid .video-card .song-title {
  font-size: 0.98rem;
  line-height: 1.28;
}

.vbrowse-grid .video-card .song-meta {
  color: #b9c8dc;
}

.vbrowse-grid .video-card .badge-soft {
  border-color: var(--chip-neutral-border);
  background: var(--chip-neutral-bg);
  color: var(--chip-neutral-text);
}

.vbrowse-grid .video-card .song-price {
  color: var(--chip-accent-text);
  font-weight: 600;
}

/* ---------- Video Details ---------- */
.vdetail-shell {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(76,129,201,0.2) 0%, rgba(76,129,201,0) 56%),
    radial-gradient(95% 80% at 0% 100%, rgba(155,116,255,0.14) 0%, rgba(155,116,255,0) 62%),
    linear-gradient(150deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.012) 45%, rgba(255,255,255,0.026) 100%);
  border: 1px solid rgba(160,189,234,0.28);
  border-radius: var(--radius-lg);
  padding: clamp(0.95rem, 1.7vw, 1.4rem);
  box-shadow: 0 24px 56px rgba(0,0,0,0.35);
}

.vdetail-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0) 52%);
  pointer-events: none;
}

.vdetail-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  opacity: 0.16;
  pointer-events: none;
}

.vdetail-stage,
.vdetail-info,
.vdetail-notes {
  position: relative;
  background: linear-gradient(166deg, rgba(9,13,24,0.92) 0%, rgba(13,18,30,0.84) 100%);
  border: 1px solid rgba(146,172,215,0.26);
  border-radius: var(--radius-lg);
  padding: clamp(0.95rem, 1.6vw, 1.35rem);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 12px 28px rgba(0,0,0,0.22);
}

.vdetail-stage-head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.95rem;
}

.vdetail-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fd0ff;
  font-weight: 800;
  text-shadow: 0 0 16px rgba(96,158,255,0.3);
}

.vdetail-title {
  font-size: clamp(1.45rem, 2.45vw, 2.28rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 900;
  color: #f4f7ff;
  text-wrap: balance;
}

.vdetail-player-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(155,182,225,0.3);
  background: #05070d;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(139,178,235,0.2), 0 20px 36px rgba(0,0,0,0.46);
}

.vdetail-player-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 34%);
  pointer-events: none;
  z-index: 1;
}

.vdetail-player-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -90px 130px rgba(0,0,0,0.38);
  pointer-events: none;
  z-index: 1;
}

.vdetail-player {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
  z-index: 0;
}

.vdetail-lock-state {
  min-height: min(56vw, 380px);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1.35rem;
}

.vdetail-lock-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(106,160,220,0.18);
  color: #def3ff;
  border: 1px solid rgba(147,190,244,0.44);
  font-size: 1.2rem;
  box-shadow: 0 0 18px rgba(103,161,233,0.28);
}

.vdetail-stage-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.95rem;
}

.vdetail-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.34rem 0.68rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(139,173,220,0.38);
  color: #d6e7ff;
  background: linear-gradient(135deg, rgba(51,81,132,0.38) 0%, rgba(41,67,112,0.24) 100%);
  font-size: 0.79rem;
  font-weight: 600;
}

.vdetail-thumb-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(142,177,224,0.3);
  box-shadow: 0 0 0 1px rgba(136,169,228,0.16), 0 14px 26px rgba(0,0,0,0.3);
}

.vdetail-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.vdetail-thumb-placeholder {
  display: grid;
  place-content: center;
  gap: 0.4rem;
  text-align: center;
  color: #ccd7e6;
  background: linear-gradient(145deg, #101522, #161e30);
}

.vdetail-thumb-placeholder i {
  font-size: 1.8rem;
  color: #9fb8ff;
}

.vdetail-artist {
  font-size: 0.95rem;
  color: #b4c4d9;
  letter-spacing: 0.01em;
}

.vdetail-copy {
  color: #d9e2f1;
  line-height: 1.65;
}

.vdetail-notes {
  margin-top: 0.9rem;
}

.vdetail-info .btn-aurora {
  box-shadow: 0 10px 20px rgba(47,169,255,0.2);
}

.vdetail-info .btn-outline-light:hover {
  border-color: #b2c9f0;
  color: #eef3ff;
  background: rgba(69,95,146,0.22);
}

@media (hover: hover) {
  .vdetail-stage,
  .vdetail-info,
  .vdetail-notes {
    transition: border-color 180ms ease, transform 200ms ease, box-shadow 200ms ease;
  }

  .vdetail-stage:hover,
  .vdetail-info:hover,
  .vdetail-notes:hover {
    border-color: rgba(169,191,230,0.44);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 14px 30px rgba(0,0,0,0.25);
    transform: translateY(-1px);
  }
}

@media (hover: none), (pointer: coarse) {
  .vdetail-stage,
  .vdetail-info,
  .vdetail-notes,
  .vdetail-player-wrap,
  .vdetail-thumb-wrap {
    transform: none !important;
    transition: none !important;
  }

  .vdetail-stage,
  .vdetail-info,
  .vdetail-notes {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 18px rgba(0,0,0,0.2);
  }

  .vdetail-player-wrap {
    box-shadow: 0 0 0 1px rgba(139,178,235,0.16), 0 12px 22px rgba(0,0,0,0.32);
  }

  .vdetail-info .btn-aurora {
    box-shadow: 0 6px 12px rgba(47,169,255,0.14);
  }

  .vdetail-info .btn-outline-light:hover,
  .vdetail-info .btn-outline-light:active {
    border-color: rgba(178,201,240,0.65);
    color: #eef3ff;
    background: rgba(69,95,146,0.14);
  }

  .vdetail-info .btn,
  .vdetail-lock-state .btn {
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
  }
}

@media (max-width: 1199.98px) {
  .vdetail-stage,
  .vdetail-info {
    min-height: auto !important;
  }
}

@media (max-width: 767.98px) {
  .vdetail-shell {
    padding: 0.74rem;
  }

  .vdetail-stage,
  .vdetail-info,
  .vdetail-notes {
    padding: 0.78rem;
  }

  .vdetail-stage-foot {
    gap: 0.38rem;
  }

  .vdetail-pill {
    font-size: 0.74rem;
    padding: 0.28rem 0.55rem;
  }

  .vdetail-title {
    font-size: clamp(1.32rem, 7vw, 1.72rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vdetail-stage,
  .vdetail-info,
  .vdetail-notes {
    transition: none !important;
    transform: none !important;
  }
}

/* ---------- Mixtapes ---------- */
.mixtape-hero {
  background: linear-gradient(140deg, #0e1e38 0%, #08111f 60%, var(--bg) 100%);
  border: 1px solid rgba(47,169,255,0.18);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 2.5vw, 2.4rem);
}

.mixtape-featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

.mixtape-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.1rem;
}

.mixtape-card {
  background: linear-gradient(165deg, rgba(13,20,34,0.96) 0%, rgba(9,14,25,0.96) 100%);
  border: 1px solid rgba(153,193,255,0.2);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 26px rgba(0,0,0,0.28);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.mixtape-card:hover {
  border-color: rgba(94,197,255,0.45);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0,0,0,0.34);
}

.mixtape-card--featured {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% -6%, rgba(160,208,255,0.28) 0%, rgba(160,208,255,0) 34%),
    radial-gradient(circle at 80% 8%, rgba(79,149,245,0.2) 0%, rgba(79,149,245,0) 42%),
    linear-gradient(160deg, rgba(25,52,95,0.94) 0%, rgba(13,26,47,0.98) 58%, rgba(9,16,30,0.99) 100%);
  border-color: rgba(122,182,255,0.45);
  grid-column: span 1;
}

.mixtape-card--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(165,209,255,0.2);
  pointer-events: none;
  z-index: 0;
}

.mixtape-card--featured:hover {
  border-color: rgba(165,209,255,0.62);
  box-shadow: 0 22px 42px rgba(0,0,0,0.4);
}

.mixtape-card-art {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: var(--bg-highlight);
  flex-shrink: 0;
}

.mixtape-card--featured .mixtape-card-art {
  aspect-ratio: 16 / 7;
}

.mixtape-featured-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,233,177,0.65);
  background: linear-gradient(180deg, rgba(255,209,108,0.26) 0%, rgba(255,166,77,0.2) 100%);
  color: #fff2d1;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 0.22rem 0.62rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.24);
}

.mixtape-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.mixtape-card:hover .mixtape-card-art img {
  transform: scale(1.04);
}

.mixtape-play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.2s ease;
  font-size: 3rem;
  color: #fff;
}

.mixtape-card:hover .mixtape-play-overlay {
  opacity: 1;
}

.mixtape-card-body {
  padding: 1rem 1rem 1.05rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mixtape-card--featured .mixtape-card-body {
  padding: 1.1rem 1.1rem 1.2rem;
  gap: 0.3rem;
}

.mixtape-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-base);
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.mixtape-card--featured .mixtape-title {
  font-size: 1.2rem;
  line-height: 1.25;
  min-height: 2.5em;
}

.mixtape-card--featured .mixtape-artist {
  font-size: 0.9rem;
  color: #d3e6ff;
}

.mixtape-artist {
  font-size: 0.84rem;
  color: var(--text-sub);
  margin-bottom: 0;
}

.mixtape-desc {
  font-size: 0.82rem;
  color: var(--text-sub);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.mixtape-card--featured .mixtape-desc {
  color: #c8daf3;
  -webkit-line-clamp: 3;
}

.mixtape-duration-chip {
  background: var(--chip-accent-bg);
  color: var(--chip-accent-text);
  border: 1px solid var(--chip-accent-border);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.17rem 0.55rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.mixtape-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.mixtape-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  color: var(--text-sub);
  padding: 0.1rem 0.5rem;
}

.mixtape-price-chip {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--chip-accent-border);
  background: var(--chip-accent-bg);
  color: var(--chip-accent-text);
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.01em;
  padding: 0.26rem 0.72rem;
}

.mixtape-card-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mixtape-card-actions .btn {
  min-width: 102px;
}

.mixtape-card--featured .js-tracklist-btn {
  border-color: rgba(146,201,255,0.42);
  color: #dcebff;
  background: rgba(65,110,168,0.2);
}

.mixtape-card--featured .js-tracklist-btn:hover,
.mixtape-card--featured .js-tracklist-btn:focus {
  border-color: rgba(172,218,255,0.7);
  background: rgba(83,132,196,0.34);
  color: #f4f9ff;
}

.mixtape-card--featured .btn-amber {
  border-color: rgba(174,218,255,0.62);
  box-shadow: 0 8px 16px rgba(0,0,0,0.22);
}

@media (min-width: 992px) {
  .mixtape-card--featured {
    display: grid;
    grid-template-columns: minmax(360px, 42%) 1fr;
    align-items: stretch;
    min-height: 320px;
  }

  .mixtape-card--featured .mixtape-card-art {
    aspect-ratio: auto;
    min-height: 320px;
    height: 100%;
  }

  .mixtape-card--featured .mixtape-card-body {
    padding: 1.35rem 1.35rem 1.4rem;
  }

  .mixtape-card--featured .mixtape-card-actions .btn {
    min-width: 118px;
  }

  .mixtape-card--featured .mixtape-price-chip {
    font-size: 0.95rem;
    padding: 0.32rem 0.86rem;
  }
}

@media (max-width: 575.98px) {
  .mixtape-grid,
  .mixtape-featured-grid {
    grid-template-columns: 1fr;
  }

  .mixtape-card-actions {
    width: 100%;
  }

  .mixtape-card-actions .btn {
    flex: 1 1 0;
    min-width: 0;
  }

  .mixtape-card-footer {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.65rem !important;
  }

  .mixtape-price-chip {
    width: fit-content;
    min-width: 84px;
    justify-content: center;
    align-self: flex-start;
    font-size: 0.93rem;
    border-width: 1.5px;
    background: linear-gradient(180deg, rgba(54,127,214,0.42) 0%, rgba(24,66,124,0.62) 100%);
    color: #f2f8ff;
    box-shadow: 0 6px 14px rgba(0,0,0,0.24);
  }
}

.mixtape-detail-cover-shell {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mixtape-detail-media {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.12);
  background: #090f1a;
  max-height: 420px;
}

.mixtape-detail-media + .preview-timer-shell {
  margin-top: 0.9rem !important;
}

.mixtape-player {
  margin-top: auto;
  height: 36px;
  accent-color: var(--green);
}

/* ---------- Merchandise ---------- */
.merch-hero {
  background: linear-gradient(140deg, #10233f 0%, #0a1628 58%, var(--bg) 100%);
  border: 1px solid rgba(47,169,255,0.2);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 2vw, 2rem);
}

.merch-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Grid --- */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
}

/* --- Card shell --- */
.merch-card {
  position: relative;
  background: linear-gradient(175deg, rgba(11,22,42,0.98) 0%, rgba(7,14,27,0.98) 100%);
  border: 1px solid rgba(80,150,255,0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.merch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(100,175,255,0.28);
  border-color: rgba(100,175,255,0.32);
}

/* --- Image zone --- */
.merch-card-visual {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 60% 20%, rgba(47,120,255,0.22) 0%, transparent 70%),
    linear-gradient(160deg, rgba(14,32,64,0.95) 0%, rgba(7,14,28,0.98) 100%);
}

.merch-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.merch-card:hover .merch-card-visual img {
  transform: scale(1.04);
}

/* Gradient fade at bottom of image for smooth text bleed */
.merch-card-visual::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: linear-gradient(to top, rgba(7,14,27,0.92) 0%, rgba(7,14,27,0) 100%);
  pointer-events: none;
}

/* Placeholder when no image */
.merch-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.merch-card-placeholder i {
  font-size: 3rem;
  color: rgba(140,180,255,0.35);
}

/* Badge — floated top-right over image */
.merch-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(255,191,0,0.18);
  border: 1px solid rgba(255,200,50,0.45);
  color: #ffd966;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
}

/* Category chip — floated bottom-left over image */
.merch-category-chip {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200,220,255,0.8);
  background: rgba(6,14,30,0.6);
  border: 1px solid rgba(120,170,255,0.2);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.6rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* --- Card body --- */
.merch-card-body {
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

.merch-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #eef4ff;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.merch-description {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  flex-grow: 1;
}

/* Price + sizes row */
.merch-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.merch-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #e8f4ff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.merch-size-chip {
  font-size: 0.72rem;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.55rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 11ch;
}

/* --- Add to cart controls --- */
.merch-add-form {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.merch-add-controls {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 0.5rem;
}

.merch-select-wrap,
.merch-qty-wrap {
  position: relative;
}

.merch-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.05)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2380aae8' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat right 0.65rem center / 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: #dde9fb;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.48rem 1.8rem 0.48rem 0.7rem;
  transition: border-color 0.15s;
  cursor: pointer;
}

.merch-select:focus {
  outline: none;
  border-color: rgba(100,175,255,0.55);
  box-shadow: 0 0 0 3px rgba(47,169,255,0.14);
}

.merch-qty {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: #dde9fb;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.48rem 0.4rem;
  text-align: center;
  transition: border-color 0.15s;
}

.merch-qty:focus {
  outline: none;
  border-color: rgba(100,175,255,0.55);
  box-shadow: 0 0 0 3px rgba(47,169,255,0.14);
}

.merch-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(30,70,140,0.95) 0%, rgba(20,50,110,0.95) 100%);
  border: 1px solid rgba(80,140,255,0.35);
  color: #cce0ff;
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.12s, box-shadow 0.18s;
}

.merch-add-btn:hover {
  background: linear-gradient(135deg, rgba(40,90,175,0.98) 0%, rgba(28,65,140,0.98) 100%);
  border-color: rgba(100,170,255,0.55);
  color: #e0edff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,40,120,0.35);
}

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

.merch-out-of-stock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--text-muted);
  font-size: 0.83rem;
  font-weight: 600;
  margin-top: auto;
}

.merch-admin-table-shell {
  border-color: rgba(255,255,255,0.07);
}

.merch-admin-table {
  color: var(--text-base);
}

.merch-admin-table thead th {
  color: #dce9f8;
  border-bottom-color: rgba(255,255,255,0.14);
}

.merch-admin-table tbody td {
  color: #eef4fb;
  border-top-color: rgba(255,255,255,0.08);
}

.merch-admin-row:nth-child(odd) {
  background: rgba(255,255,255,0.03);
}

.merch-admin-row:hover {
  background: rgba(140,191,255,0.1);
}

@media (max-width: 767.98px) {
  .merch-hero {
    padding: 1rem;
  }

  .merch-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
    gap: 1rem;
  }

  .merch-card-visual {
    height: 220px;
  }

  .merch-card-body {
    padding: 1rem;
  }

  .merch-title {
    font-size: 0.97rem;
  }

  .merch-price {
    font-size: 1.15rem;
  }
}


