*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; font-family: Inter, Segoe UI, Arial, sans-serif; background: #08101c; color: #edf2ff; }
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.shell { max-width: 1440px; margin: 0 auto; padding: 0 24px 40px; margin-top: 5px;}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; position: sticky; top: 0; background: rgba(8,16,28,.92); backdrop-filter: blur(18px); z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0; }
.brand-mark { width: 12px; height: 12px; border-radius: 999px; background: linear-gradient(135deg, #7c5cff, #17c7d6); box-shadow: 0 0 22px rgba(124,92,255,.7); }

.brand-logo { display: block; width: auto; height: 34px; max-width: 180px; object-fit: contain; }
.branding-preview { display: block; width: 100%; max-height: 220px; object-fit: contain; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); padding: 10px; margin-top: 12px; }
.nav { display: flex; align-items: center; gap: 10px; }
.nav a { padding: 10px 12px; border-radius: 8px; color: #9fb0d1; }
.nav a.active, .nav a:hover { color: #edf2ff; background: rgba(255,255,255,.06); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.mobile-nav-toggle { display: none; }
.mobile-subnav-wrap { display: contents; }
.mobile-subnav-wrap > summary { display: none; }
.page { display: grid; gap: 28px; }
.button { border: 0; border-radius: 8px; padding: 12px 16px; background: linear-gradient(135deg, #7c5cff, #5ed0ff); color: #07111e; font-weight: 700; cursor: pointer; }
.button.secondary { background: #1b2740; color: #edf2ff; }
.button.ghost { background: transparent; color: #c9d7f7; border: 1px solid rgba(201,215,247,.18); }
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; padding: 28px; border-radius: 8px; background: linear-gradient(180deg, rgba(124,92,255,.14), rgba(18,27,44,.94)); border: 1px solid rgba(255,255,255,.08);}
.hero.compact { grid-template-columns: 1fr; }
.hero-copy h1, .dashboard-head h1 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 52px); line-height: 1.02; }
.lead { color: #c8d6f6; font-size: 18px; line-height: 1.6; max-width: 60ch; }
.eyebrow { text-transform: uppercase; color: #7fdcff; font-size: 12px; font-weight: 700; letter-spacing: .08em; margin: 0 0 10px; }
.hero-actions, .card-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-grid, .card-grid, .stats-grid { display: grid; gap: 16px; }
.hero-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.card-grid.three, .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metric-card, .card, .panel, .stat, .notice-panel { border-radius: 8px; border: 1px solid rgba(255,255,255,.08); background: #10192a; padding: 20px; }
.metric-card strong, .stat strong { display: block; font-size: 24px; margin: 8px 0; }
.metric-label, .card-meta, .stat span { color: #8ea4cf; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.muted { color: #9fb0d1; line-height: 1.6; }
.section-grid { display: grid; gap: 16px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.text-link { color: #7fdcff; font-weight: 600; }
.flash-stack {
  position: fixed;
  top: 92px;
  right: 24px;
  z-index: 9999;
  width: min(420px, calc(100vw - 32px));
  display: grid;
  gap: 12px;
  pointer-events: none;
}
.flash {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 14px;
  padding: 14px 14px 14px 16px;
  border-radius: 14px;
  margin: 0;
  color: #edf2ff;
  box-shadow: 0 18px 50px rgba(0,0,0,.34);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  transform: translateY(0);
  opacity: 1;
  transition: opacity .22s ease, transform .22s ease;
}
.flash.is-dismissing { opacity: 0; transform: translateY(-8px); }
  .flash.success { background: rgba(12,48,34,.94); border: 1px solid rgba(41,197,106,.58); }
  .flash.error { background: rgba(58,21,29,.94); border: 1px solid rgba(255,95,109,.62); }
  .flash.info { background: rgba(18,38,62,.94); border: 1px solid rgba(127,220,255,.54); }

.flash-body { line-height: 1.45; }
.flash-close {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #edf2ff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  padding: 0;
}
.flash-close:hover { background: rgba(255,255,255,.16); }
@media (max-width: 720px) {
  .flash-stack { top: 76px; right: 16px; left: 16px; width: auto; }
}
.auth-shell { display: grid; place-items: center; min-height: calc(100vh - 140px); }
.auth-panel { width: min(560px, 100%); display: grid; gap: 14px; }
label { display: grid; gap: 8px; color: #dce6ff; }
input, select { width: 100%; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); background: #0c1524; color: #edf2ff; padding: 12px 14px; }
.form-grid.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dashboard-head { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.stat strong { font-size: 36px; }
.badge { display: inline-flex; align-items: center; padding: 8px 10px; border-radius: 999px; background: rgba(124,92,255,.16); color: #d8ccff; font-size: 13px; }
.clean-list { margin: 0; padding-left: 18px; color: #c8d6f6; line-height: 1.7; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; }
.table-panel { border-radius: 8px; border: 1px solid rgba(255,255,255,.08); background: #10192a; padding: 20px; overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,.08); vertical-align: top; }
.data-table th { color: #8ea4cf; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 1100px) {
  .hero, .dashboard-head, .section-head, .topbar { grid-template-columns: 1fr; display: grid; }
  .card-grid.three, .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .shell { padding: 0 16px 32px; }
  .card-grid.three, .card-grid.two, .stats-grid, .form-grid.two { grid-template-columns: 1fr; }
  .nav, .nav-actions { flex-wrap: wrap; }
}

.form-panel { margin-bottom: 1.5rem; }
.stack-form { display: grid; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.stack-form label { display: grid; gap: .45rem; color: var(--muted); font-size: .92rem; }
.stack-form input, .stack-form select, .stack-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.12); background: rgba(8,13,24,.82); color: var(--ink); border-radius: 14px; padding: .8rem .95rem; }
.status-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: .25rem .55rem; background: rgba(23,199,214,.12); color: var(--accent); border: 1px solid rgba(23,199,214,.22); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.station-player { width: min(680px, 100%); margin: 1rem 0; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }

/* Final v2 completion polish: denser desktop dashboards, persistent player, operational nav */
:root { --bg:#08101c; --panel:#10192a; --panel2:#121f34; --line:rgba(255,255,255,.09); --ink:#edf2ff; --muted:#9fb0d1; --accent:#17c7d6; --violet:#7c5cff; --good:#29c56a; --warn:#ffbd5a; --bad:#ff5f6d; }
body { background: radial-gradient(circle at top left, rgba(124,92,255,.16), transparent 34rem), radial-gradient(circle at top right, rgba(23,199,214,.12), transparent 30rem), var(--bg); }
.shell { max-width: 1560px; }
.topbar { border-bottom: 1px solid var(--line); }
.page { padding-bottom: 96px; }
.subnav { display:flex; flex-wrap:wrap; gap:.55rem; margin: 0 0 1rem; padding:.75rem; border:1px solid var(--line); border-radius:14px; background:rgba(16,25,42,.72); }
.subnav a { color:var(--muted); padding:.55rem .8rem; border-radius:10px; }
.subnav a:hover,.subnav a.active { color:var(--ink); background:rgba(255,255,255,.07); }
.ops-grid { display:grid; grid-template-columns: 260px minmax(0,1fr); gap:1rem; align-items:start; }
.ops-sidebar { position:sticky; top:86px; display:grid; gap:.5rem; padding:1rem; border:1px solid var(--line); border-radius:16px; background:rgba(16,25,42,.82); }
.ops-sidebar a { color:var(--muted); padding:.7rem .85rem; border-radius:10px; }
.ops-sidebar a:hover { color:var(--ink); background:rgba(255,255,255,.06); }
.ops-main { min-width:0; display:grid; gap:1rem; }
.kpi-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:1rem; }
.kpi { border:1px solid var(--line); border-radius:16px; background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(16,25,42,.8)); padding:1rem; }
.kpi b { display:block; font-size:1.8rem; margin-top:.4rem; }
.action-strip { display:flex; flex-wrap:wrap; gap:.6rem; align-items:center; }
.empty-state { border:1px dashed rgba(255,255,255,.18); border-radius:16px; padding:2rem; text-align:center; color:var(--muted); background:rgba(255,255,255,.025); }
.persistent-player { position:fixed; left:50%; bottom:16px; transform:translateX(-50%); width:min(1180px,calc(100% - 32px)); z-index:50; border:1px solid rgba(127,220,255,.25); border-radius:18px; background:rgba(9,16,28,.94); backdrop-filter: blur(20px); box-shadow:0 18px 60px rgba(0,0,0,.38); padding:.8rem 1rem; display:grid; grid-template-columns: minmax(220px,1fr) minmax(260px,540px) auto; gap:1rem; align-items:center; }
.persistent-player small { color:var(--muted); display:block; }
.persistent-player strong { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.persistent-player audio { width:100%; height:38px; }
.persistent-player .mini-actions { display:flex; gap:.5rem; }
.badge.live { background:rgba(41,197,106,.14); color:#98ffc0; }
.badge.offline { background:rgba(255,95,109,.12); color:#ffc0c6; }
.badge.draft { background:rgba(255,189,90,.12); color:#ffe0ad; }
.table-scroll { overflow:auto; max-width:100%; }
.data-table td form { display:inline-flex; gap:.4rem; flex-wrap:wrap; align-items:center; }
.data-table input,.data-table select { min-width:110px; }
@media(max-width:1100px){ .ops-grid{grid-template-columns:1fr}.ops-sidebar{position:static;display:flex;flex-wrap:wrap}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.persistent-player{grid-template-columns:1fr} }
@media(max-width:720px){ .kpi-grid{grid-template-columns:1fr}.persistent-player{bottom:8px;width:calc(100% - 16px)} }

/* Creator upload metadata workbench */
.upload-grid { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:1rem; align-items:start; }
.upload-main { min-width:0; display:grid; gap:1rem; }
.metadata-status { border:1px solid rgba(127,220,255,.18); background:rgba(23,199,214,.07); border-radius:12px; padding:.75rem .9rem; }
.artwork-preview-card { border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.035); padding:1rem; display:grid; gap:.8rem; }
.artwork-preview { aspect-ratio:1/1; display:grid; place-items:center; overflow:hidden; border-radius:14px; border:1px dashed rgba(255,255,255,.2); background:rgba(0,0,0,.2); color:var(--muted); text-align:center; }
.artwork-preview img { width:100%; height:100%; object-fit:cover; display:block; }
.metadata-readout { margin:0; display:grid; gap:.6rem; }
.metadata-readout div { display:flex; justify-content:space-between; gap:1rem; border-top:1px solid var(--line); padding-top:.6rem; }
.metadata-readout dt { color:var(--muted); }
.metadata-readout dd { margin:0; color:var(--ink); font-weight:700; }
.track-cell { display:flex; gap:.75rem; align-items:center; min-width:220px; }
.thumb { width:48px; height:48px; object-fit:cover; border-radius:10px; border:1px solid var(--line); }
.small { font-size:.85rem; }
.actions { display:flex; gap:.75rem; flex-wrap:wrap; align-items:center; }
.checkline { display:flex !important; grid-template-columns:auto 1fr; align-items:center; gap:.5rem; }
.checkline input { width:auto; }
@media(max-width:980px){ .upload-grid{grid-template-columns:1fr}.artwork-preview-card{max-width:420px} }

.feature-toolbar { gap: .7rem; align-items: stretch; }
.feature-toolbar .button { display:inline-flex; align-items:center; justify-content:center; min-height:42px; }
.nav { flex-wrap: wrap; }
@media (max-width: 960px) {
  .nav { width: 100%; order: 3; justify-content: flex-start; }
  .topbar { align-items: start; }
}

/* Track & Station hero layouts */
.track-hero, .station-hero { padding: 1.5rem; }
.track-hero-inner, .station-hero-inner { display: flex; gap: 1.5rem; align-items: flex-start; }
.track-artwork-lg, .station-artwork-lg { width: 180px; height: 180px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); flex-shrink: 0; }
.artwork-placeholder-lg { width: 180px; height: 180px; border-radius: 14px; border: 1px dashed rgba(255,255,255,.2); background: rgba(255,255,255,.04); display: grid; place-items: center; flex-shrink: 0; color: var(--muted); font-size: 2.5rem; }
.track-hero-copy, .station-hero-copy { flex: 1; min-width: 0; display: grid; gap: .75rem; align-content: start; }
.track-artist-line { color: var(--muted); font-size: 1.1rem; margin: 0; }
.lyrics-body { font-family: inherit; white-space: pre-wrap; line-height: 1.8; margin: 0; font-size: .97rem; }
.comment-form { margin-bottom: 1.25rem; }
.comment-list { display: grid; gap: 1rem; margin-top: .75rem; }
.comment-item { border-top: 1px solid var(--line); padding-top: .9rem; display: grid; gap: .3rem; }
.comment-item p { margin: 0; line-height: 1.6; }
@media (max-width: 720px) {
  .track-hero-inner, .station-hero-inner { flex-direction: column; }
  .track-artwork-lg, .station-artwork-lg, .artwork-placeholder-lg { width: 100%; height: 200px; }
}

/* Playlist programming workbench */
.playlist-stats-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; margin:0 0 1rem; }
.playlist-add-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin:1rem 0; }
.playlist-add-card { border:1px solid var(--line); border-radius:18px; background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(16,25,42,.78)); padding:1rem; display:grid; gap:.85rem; }
.playlist-add-card--ad { border-color:rgba(255,189,90,.22); background:linear-gradient(180deg,rgba(255,189,90,.08),rgba(16,25,42,.78)); }
.playlist-add-card__head { display:flex; justify-content:space-between; gap:1rem; align-items:flex-start; }
.playlist-add-card h2,.playlist-builder h2 { margin:.1rem 0 0; }
.playlist-add-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.75rem; align-items:center; }
.playlist-builder { display:grid; gap:1rem; }
.playlist-builder__head { display:flex; justify-content:space-between; gap:1rem; align-items:flex-start; }
.playlist-order-list { list-style:none; margin:0; padding:0; display:grid; gap:.65rem; }
.playlist-order-item { display:grid; grid-template-columns:42px 54px minmax(0,1fr) auto auto; gap:.8rem; align-items:center; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.035); padding:.75rem; }
.playlist-order-item.is-ad { border-color:rgba(255,189,90,.25); background:rgba(255,189,90,.055); }
.playlist-order-item__number { width:34px; height:34px; border-radius:999px; display:grid; place-items:center; background:rgba(255,255,255,.07); color:var(--muted); font-weight:800; }
.playlist-order-item__title { font-weight:800; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.playlist-order-item__meta { color:var(--muted); font-size:.9rem; display:flex; flex-wrap:wrap; gap:.35rem; align-items:center; }
.playlist-type-pill { border-radius:999px; padding:.3rem .65rem; font-size:.78rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.playlist-type-pill.music { color:#98ffc0; background:rgba(41,197,106,.14); }
.playlist-type-pill.ad { color:#ffe0ad; background:rgba(255,189,90,.14); }
.playlist-order-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:.4rem; }
.button.tiny { min-height:32px; padding:.35rem .6rem; font-size:.82rem; }
.button.danger { background:rgba(255,95,109,.12); color:#ffc0c6; border:1px solid rgba(255,95,109,.32); }
.button.danger:hover { background:rgba(255,95,109,.2); }
.button:disabled { opacity:.35; cursor:not-allowed; }
.badge.warn { background:rgba(255,189,90,.12); color:#ffe0ad; }
@media(max-width:980px){ .playlist-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.playlist-add-grid{grid-template-columns:1fr}.playlist-add-form{grid-template-columns:1fr}.playlist-builder__head{display:grid}.playlist-order-item{grid-template-columns:34px 48px minmax(0,1fr);}.playlist-type-pill,.playlist-order-actions{grid-column:3}.playlist-order-actions{justify-content:flex-start} }
@media(max-width:620px){ .playlist-stats-grid{grid-template-columns:1fr}.playlist-order-item{grid-template-columns:32px minmax(0,1fr)}.playlist-order-item .thumb{display:none}.playlist-type-pill,.playlist-order-actions{grid-column:2} }

/* Official admin playlist builder */
.official-playlist-scope { display:grid; gap:1rem; }
.official-playlist-head { margin-bottom:0; }
.official-playlist-stats { margin:0; }
.official-playlist-workbench {
    display:grid;
    grid-template-columns:minmax(360px, .9fr) minmax(480px, 1.1fr);
    gap:1rem;
    align-items:start;
}
.official-library-column {
    display:grid;
    grid-template-rows:minmax(360px, 1fr) minmax(180px, .42fr);
    gap:1rem;
    height:calc(100vh - 280px);
    min-height:620px;
}
.official-library-panel,
.official-playlist-builder {
    min-height:0;
    border:1px solid var(--line);
    border-radius:16px;
    background:rgba(16,25,42,.82);
}
.official-library-panel { padding:1rem; display:grid; grid-template-rows:auto auto minmax(0,1fr); gap:.75rem; }
.official-library-panel--ads { border-color:rgba(255,189,90,.22); background:rgba(255,189,90,.045); }
.official-library-head { display:flex; justify-content:space-between; gap:1rem; align-items:flex-start; }
.official-library-head h2 { margin:.1rem 0 0; }
.official-library-filter { display:grid; grid-template-columns:minmax(0,1fr) minmax(150px,220px) auto; gap:.5rem; align-items:center; }
.official-library-filter input,
.official-library-filter select { width:100%; }
.official-inventory-list { min-height:0; overflow:auto; display:grid; align-content:start; gap:.5rem; padding-right:.25rem; }
.official-inventory-list--ads { max-height:100%; }
.official-inventory-item {
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    gap:.65rem;
    align-items:center;
    border:1px solid var(--line);
    border-radius:10px;
    padding:.55rem;
    background:rgba(255,255,255,.025);
}
.official-inventory-thumb { width:42px; height:42px; border-radius:7px; object-fit:cover; }
.official-inventory-thumb--empty { display:grid; place-items:center; background:rgba(255,255,255,.06); color:var(--muted); font-weight:800; }
.official-inventory-copy { min-width:0; display:grid; gap:.12rem; }
.official-inventory-copy strong,
.official-inventory-copy span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.official-inventory-copy span { color:var(--muted); font-size:.78rem; }
.official-playlist-builder {
    position:sticky;
    top:86px;
    height:calc(100vh - 120px);
    overflow:hidden;
    padding:1rem;
    grid-template-rows:auto minmax(0,1fr);
}
.official-playlist-order { overflow:auto; padding-right:.25rem; }
.official-playlist-order .playlist-order-item { cursor:grab; }
.official-playlist-order .playlist-order-item.is-dragging { opacity:.45; cursor:grabbing; }
.official-playlist-order .playlist-order-item.is-drop-target { outline:2px solid var(--accent); outline-offset:2px; }
@media(max-width:1100px){
    .official-playlist-workbench { grid-template-columns:1fr; }
    .official-library-column { height:auto; min-height:0; grid-template-rows:auto; }
    .official-library-panel { max-height:520px; }
    .official-playlist-builder { position:static; height:auto; max-height:none; }
}
@media(max-width:720px){
    .official-library-filter { grid-template-columns:1fr; }
    .official-inventory-item { grid-template-columns:38px minmax(0,1fr); }
    .official-inventory-item form { grid-column:2; }
}

/* Persistent player artwork guard: prevents page/playlist artwork styles from expanding the fixed player. */
.persistent-player {
    max-height: 132px;
    overflow: hidden;
}

.persistent-player .persistent-player-art {
    width: 64px;
    height: 64px;
    min-width: 64px;
    max-width: 64px;
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(127,220,255,.22);
    color: var(--muted);
    font-size: 1.5rem;
}

.persistent-player .persistent-player-art img,
.persistent-player img[data-player-artwork] {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    flex: 0 0 64px;
}

.persistent-player .persistent-player-info {
    min-width: 0;
    display: grid;
    gap: .18rem;
}

.persistent-player .player-progress {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.12);
    margin-top: .25rem;
}

.persistent-player .player-progress span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--violet));
}

.persistent-player .player-progress-text {
    font-size: .75rem;
}

@media (max-width: 1100px) {
    .persistent-player {
        max-height: none;
        grid-template-columns: 64px 1fr;
    }

    .persistent-player audio,
    .persistent-player .mini-actions {
        grid-column: 1 / -1;
    }
}

/* Persistent player hard reset after playlist manager styles.
   Keep this block at the end of app.css so page artwork/list styles cannot hijack the fixed player. */
html body .persistent-player[data-persistent-player] {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 16px !important;
    transform: translateX(-50%) !important;
    width: min(1180px, calc(100% - 32px)) !important;
    max-width: calc(100% - 32px) !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) minmax(260px, 520px) auto !important;
    align-items: center !important;
    gap: .85rem !important;
    padding: .75rem .9rem !important;
    border: 1px solid rgba(127,220,255,.25) !important;
    border-radius: 18px !important;
    background: rgba(9,16,28,.96) !important;
    backdrop-filter: blur(18px) !important;
    box-shadow: 0 18px 60px rgba(0,0,0,.42) !important;
}

html body .persistent-player[data-persistent-player][hidden] {
    display: none !important;
}

html body .persistent-player[data-persistent-player] *,
html body .persistent-player[data-persistent-player] *::before,
html body .persistent-player[data-persistent-player] *::after {
    box-sizing: border-box !important;
}

html body .persistent-player[data-persistent-player] .persistent-player-art {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    flex: 0 0 64px !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    border: 1px solid rgba(127,220,255,.22) !important;
    background: rgba(255,255,255,.06) !important;
    color: var(--muted) !important;
    font-size: 1.5rem !important;
}

html body .persistent-player[data-persistent-player] .persistent-player-art img,
html body .persistent-player[data-persistent-player] img[data-player-artwork] {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body .persistent-player[data-persistent-player] .persistent-player-info {
    min-width: 0 !important;
    width: auto !important;
    display: grid !important;
    gap: .16rem !important;
}

html body .persistent-player[data-persistent-player] small,
html body .persistent-player[data-persistent-player] strong {
    margin: 0 !important;
    line-height: 1.2 !important;
}

html body .persistent-player[data-persistent-player] strong {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

html body .persistent-player[data-persistent-player] audio {
    width: 100% !important;
    min-width: 240px !important;
    max-width: 520px !important;
    height: 38px !important;
    display: block !important;
}

html body .persistent-player[data-persistent-player] .mini-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: .45rem !important;
    flex-wrap: nowrap !important;
      min-width: 0 !important;
  }

html body .persistent-player[data-persistent-player].is-popout-active {
      grid-template-columns: minmax(0, 1fr) !important;
}

html body .persistent-player[data-persistent-player].is-popout-active > :not(.persistent-player-popout-notice) {
      display: none !important;
}

html body .persistent-player[data-persistent-player] .persistent-player-popout-notice {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: .35rem 1rem;
      align-items: center;
}

html body .persistent-player[data-persistent-player] .persistent-player-popout-notice[hidden] {
      display: none !important;
}

html body .persistent-player[data-persistent-player] .persistent-player-popout-notice strong {
      color: var(--ink);
}

html body .persistent-player[data-persistent-player] .persistent-player-popout-notice span {
      color: var(--muted);
      font-size: .9rem;
}

html body .persistent-player[data-persistent-player] .persistent-player-popout-notice .mini-actions {
      grid-row: 1 / span 2;
      grid-column: 2;
}

html body .persistent-player[data-persistent-player] .mini-actions .button {
    white-space: nowrap !important;
    min-height: 36px !important;
    padding: .48rem .7rem !important;
}

html body .persistent-player[data-persistent-player] .player-progress {
    width: 100% !important;
    height: 6px !important;
    max-height: 6px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    background: rgba(255,255,255,.12) !important;
    margin: .24rem 0 0 !important;
}

html body .persistent-player[data-persistent-player] .player-progress span {
    display: block !important;
    width: 0%;
    height: 100% !important;
    border-radius: inherit !important;
    background: linear-gradient(90deg, var(--accent), var(--violet)) !important;
}

html body .persistent-player[data-persistent-player] .player-progress-text {
    font-size: .75rem !important;
}

html body .persistent-player[data-persistent-player] .persistent-player-mobile-toggle {
    display: none !important;
}

@media (max-width: 980px) {
    html body .persistent-player[data-persistent-player] {
        bottom: 8px !important;
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        grid-template-columns: 56px minmax(0, 1fr) !important;
        gap: .65rem !important;
        padding: .7rem !important;
    }

    html body .persistent-player[data-persistent-player] .persistent-player-art,
    html body .persistent-player[data-persistent-player] .persistent-player-art img,
    html body .persistent-player[data-persistent-player] img[data-player-artwork] {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
    }

    html body .persistent-player[data-persistent-player] audio,
    html body .persistent-player[data-persistent-player] .mini-actions {
        grid-column: 1 / -1 !important;
        max-width: none !important;
        width: 100% !important;
    }

     html body .persistent-player[data-persistent-player] .mini-actions {
          justify-content: stretch !important;
          flex-wrap: wrap !important;
      }

      html body .persistent-player[data-persistent-player] .persistent-player-popout-notice {
          grid-template-columns: 1fr;
      }

      html body .persistent-player[data-persistent-player] .persistent-player-popout-notice .mini-actions {
          grid-row: auto;
          grid-column: auto;
      }

    html body .persistent-player[data-persistent-player] .mini-actions .button {
        flex: 1 1 auto !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 760px) {
    body {
        overflow-x: hidden;
    }

    .topbar {
        position: sticky;
        top: 0;
        z-index: 1000;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: .65rem;
        padding: .75rem 1rem;
    }

    .brand {
        min-width: 0;
        overflow: hidden;
    }

    .brand span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 8px;
        padding: .45rem .7rem;
        color: var(--ink);
        background: rgba(255,255,255,.07);
        font-weight: 800;
    }

    .nav,
    .nav-actions {
        display: none;
    }

    body.mobile-nav-open .nav,
    body.mobile-nav-open .nav-actions {
        display: grid;
        grid-column: 1 / -1;
        width: 100%;
        gap: .4rem;
    }

    body.mobile-nav-open .nav a,
    body.mobile-nav-open .nav-actions a,
    body.mobile-nav-open .nav-actions button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    body.mobile-nav-open .nav-actions form {
        width: 100%;
    }

    .shell {
        padding-inline: 12px;
    }

    .mobile-subnav-wrap {
        display: block;
        margin: 0 0 1rem;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(255,255,255,.04);
        overflow: hidden;
    }

    .mobile-subnav-wrap summary {
        cursor: pointer;
        padding: .8rem .9rem;
        color: var(--ink);
        font-weight: 800;
    }

    .mobile-subnav-wrap .subnav {
        display: grid;
        max-height: min(58vh, 460px);
        overflow: auto;
        margin: 0;
        border: 0;
        border-top: 1px solid var(--line);
        border-radius: 0;
        padding: .55rem;
    }

    .mobile-subnav-wrap .subnav a {
        width: 100%;
    }

    html body .persistent-player[data-persistent-player] {
        left: auto !important;
        right: 10px !important;
        bottom: 10px !important;
        transform: none !important;
        width: min(360px, calc(100% - 20px)) !important;
        max-width: calc(100% - 20px) !important;
        grid-template-columns: 48px minmax(0, 1fr) auto !important;
        gap: .55rem !important;
        padding: .55rem !important;
        border-radius: 16px !important;
    }

    html body .persistent-player[data-persistent-player] .persistent-player-mobile-toggle {
        display: inline-grid !important;
        place-items: center !important;
        grid-column: 3 !important;
        grid-row: 1 !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        border: 1px solid rgba(127,220,255,.25) !important;
        border-radius: 999px !important;
        color: var(--ink) !important;
        background: rgba(127,220,255,.12) !important;
        font-size: 1.05rem !important;
        font-weight: 900 !important;
    }

    html body .persistent-player[data-persistent-player] .persistent-player-art,
    html body .persistent-player[data-persistent-player] .persistent-player-art img,
    html body .persistent-player[data-persistent-player] img[data-player-artwork] {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        border-radius: 12px !important;
    }

    html body .persistent-player[data-persistent-player] .persistent-player-info {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    html body .persistent-player[data-persistent-player] .persistent-player-info small:first-child,
    html body .persistent-player[data-persistent-player] .player-progress-text {
        display: none !important;
    }

    html body .persistent-player[data-persistent-player] audio,
    html body .persistent-player[data-persistent-player] .mini-actions {
        grid-column: 1 / -1 !important;
    }

    html body .persistent-player[data-persistent-player][data-mobile-player-mode="icon"] {
        width: 58px !important;
        height: 58px !important;
        padding: 0 !important;
        display: grid !important;
        place-items: center !important;
        grid-template-columns: 1fr !important;
        border-radius: 999px !important;
    }

    html body .persistent-player[data-persistent-player][data-mobile-player-mode="icon"] > :not(.persistent-player-mobile-toggle) {
        display: none !important;
    }

    html body .persistent-player[data-persistent-player][data-mobile-player-mode="icon"] .persistent-player-mobile-toggle {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 58px !important;
        height: 58px !important;
        border-radius: 999px !important;
        border: 0 !important;
        background: transparent !important;
    }

    html body .persistent-player[data-persistent-player][data-mobile-player-mode="mini"] audio,
    html body .persistent-player[data-persistent-player][data-mobile-player-mode="mini"] .mini-actions,
    html body .persistent-player[data-persistent-player][data-mobile-player-mode="mini"] .player-progress,
    html body .persistent-player[data-persistent-player][data-mobile-player-mode="mini"] .persistent-player-popout-notice {
        display: none !important;
    }

    html body .persistent-player[data-persistent-player][data-mobile-player-mode="mini"] .persistent-player-info small:last-child {
        display: none !important;
    }

    html body .persistent-player[data-persistent-player][data-mobile-player-mode="full"] {
        left: 10px !important;
        right: 10px !important;
        width: calc(100% - 20px) !important;
        grid-template-columns: 52px minmax(0, 1fr) 40px !important;
        max-height: calc(100vh - 24px) !important;
        overflow: auto !important;
    }
}

.playlist-ajax-status { border:1px solid rgba(31,227,160,.25); background:rgba(31,227,160,.09); color:var(--ink); border-radius:14px; padding:.7rem .9rem; margin:0 0 1rem; font-weight:800; }
.is-navigating .page { opacity:.72; transition:opacity .14s ease; }
/* FULL-WIDTH HEADER FIX */
.topbar {

    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 760px) {
    .topbar {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Progress bar visibility fix: keep at very end of app.css */
html body .persistent-player[data-persistent-player] .player-progress {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 6px !important;
    background: rgba(255,255,255,.16) !important;
    overflow: hidden !important;
    border-radius: 999px !important;
}

html body .persistent-player[data-persistent-player] .player-progress span[data-player-progress-bar] {
    position: relative !important;
    display: block !important;
    height: 100% !important;
    min-width: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, var(--accent), var(--violet)) !important;
}
/* Dedicated pop-out player */
.popout-player-body { min-height: 100vh; overflow-x: hidden; background: #050914; color: var(--ink); }
.popout-shell { min-height: 100vh; display: grid; place-items: center; padding: 18px; position: relative; isolation: isolate; }
.popout-shell::before, .popout-shell::after { content: ""; position: fixed; inset: auto; border-radius: 999px; filter: blur(12px); opacity: .72; z-index: -1; }
.popout-shell::before { width: 320px; height: 320px; left: -90px; top: -80px; background: rgba(124,92,255,.38); }
.popout-shell::after { width: 280px; height: 280px; right: -90px; bottom: -90px; background: rgba(23,199,214,.30); }
.popout-card { width: min(430px, 100%); border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(11,17,31,.92)); box-shadow: 0 28px 90px rgba(0,0,0,.48); padding: 24px; display: grid; gap: 22px; backdrop-filter: blur(22px); }
.popout-topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.popout-topbar h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 6vw, 2.4rem); line-height: 1; letter-spacing: -.04em; }
.popout-live-pill { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 8px 11px; background: rgba(41,197,106,.13); border: 1px solid rgba(41,197,106,.26); color: #a8ffca; font-weight: 800; font-size: .78rem; white-space: nowrap; }
.popout-live-pill::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; box-shadow: 0 0 15px currentColor; }
.popout-stage { display: grid; place-items: center; gap: 22px; padding: 16px 0 6px; }
.popout-disc { width: min(260px, 72vw); aspect-ratio: 1; border-radius: 50%; padding: 14px; background: radial-gradient(circle at center, #0b1222 0 14%, transparent 14.5%), conic-gradient(from 90deg, rgba(127,220,255,.25), rgba(124,92,255,.65), rgba(23,199,214,.45), rgba(255,255,255,.12), rgba(127,220,255,.25)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 28px 70px rgba(0,0,0,.38); display: grid; place-items: center; animation: popoutSpin 7s linear infinite; animation-play-state: paused; }
.is-playing .popout-disc { animation-play-state: running; }
.popout-disc span { width: 42%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.92), rgba(127,220,255,.34) 28%, rgba(5,9,20,.96) 31%); border: 1px solid rgba(255,255,255,.16); }
.popout-visualizer { height: 64px; display: flex; align-items: end; justify-content: center; gap: 8px; }
.popout-visualizer i { width: 10px; height: 22px; border-radius: 999px; background: linear-gradient(180deg, #7fdcff, #7c5cff); opacity: .82; animation: popoutBars 1.05s ease-in-out infinite alternate; animation-play-state: paused; }
.is-playing .popout-visualizer i { animation-play-state: running; }
.popout-visualizer i:nth-child(2) { animation-delay: .12s; height: 42px; }
.popout-visualizer i:nth-child(3) { animation-delay: .22s; height: 28px; }
.popout-visualizer i:nth-child(4) { animation-delay: .32s; height: 54px; }
.popout-visualizer i:nth-child(5) { animation-delay: .42s; height: 36px; }
.popout-visualizer i:nth-child(6) { animation-delay: .52s; height: 48px; }
.popout-visualizer i:nth-child(7) { animation-delay: .62s; height: 26px; }
.popout-visualizer i:nth-child(8) { animation-delay: .72s; height: 40px; }
.popout-controls { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.popout-play { grid-column: 1 / -1; border: 0; border-radius: 18px; min-height: 58px; padding: 14px 18px; background: linear-gradient(135deg, #7fdcff, #7c5cff); color: #050914; font-weight: 900; font-size: 1.05rem; cursor: pointer; box-shadow: 0 14px 35px rgba(23,199,214,.20); }
.popout-volume { grid-column: 1 / -1; color: var(--muted); display: grid; gap: 8px; font-size: .86rem; }
.popout-volume input { accent-color: #7fdcff; padding: 0; height: 6px; }
.popout-hint { margin: -6px 0 0; color: var(--muted); line-height: 1.5; font-size: .9rem; text-align: center; }
.popout-theme-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.popout-theme-row button { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: var(--ink); border-radius: 999px; padding: 8px 12px; cursor: pointer; }
[data-popout-theme="midnight"] .popout-shell::before { background: rgba(30,55,120,.44); }
[data-popout-theme="midnight"] .popout-shell::after { background: rgba(4,9,22,.78); }
[data-popout-theme="midnight"] .popout-card { background: linear-gradient(180deg, rgba(32,48,86,.34), rgba(4,8,18,.96)); }
[data-popout-theme="midnight"] .popout-play { background: linear-gradient(135deg, #b8c7ff, #5f7cff); }
[data-popout-theme="sunset"] .popout-shell::before { background: rgba(255,126,76,.42); }
[data-popout-theme="sunset"] .popout-shell::after { background: rgba(255,189,90,.34); }
[data-popout-theme="sunset"] .popout-card { background: linear-gradient(180deg, rgba(255,126,76,.20), rgba(24,10,22,.94)); }
[data-popout-theme="sunset"] .popout-play { background: linear-gradient(135deg, #ffbd5a, #ff5f6d); }
[data-popout-theme="sunset"] .popout-visualizer i { background: linear-gradient(180deg, #ffbd5a, #ff5f6d); }
@keyframes popoutSpin { to { transform: rotate(360deg); } }
@keyframes popoutBars { from { transform: scaleY(.46); opacity: .55; } to { transform: scaleY(1.1); opacity: 1; } }
@media (max-width: 520px) { .popout-card { padding: 18px; border-radius: 22px; } .popout-topbar { display: grid; } .popout-controls { grid-template-columns: 1fr; } }

/* Pop-out spinning CD cover art restore */
.popout-disc.popout-disc-artwork {
    position: relative;
    overflow: hidden;
    padding: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #0b1222 0 13%, transparent 13.5%),
        conic-gradient(from 90deg, rgba(127,220,255,.25), rgba(124,92,255,.65), rgba(23,199,214,.45), rgba(255,255,255,.12), rgba(127,220,255,.25));
}

.popout-disc.popout-disc-artwork img[data-popout-artwork] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    z-index: 1;
}

.popout-disc.popout-disc-artwork span[data-popout-artwork-fallback] {
    position: relative;
    z-index: 2;
}

.popout-disc.popout-disc-artwork::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at center,
            rgba(5,9,20,.96) 0 13%,
            rgba(255,255,255,.88) 13.4% 15.7%,
            transparent 16.2%),
        radial-gradient(circle at 34% 24%, rgba(255,255,255,.28), transparent 24%),
        linear-gradient(135deg, rgba(255,255,255,.16), transparent 45%, rgba(0,0,0,.24));
    z-index: 3;
    pointer-events: none;
}

.popout-disc.popout-disc-artwork::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.22);
    z-index: 4;
    pointer-events: none;
}

/* Local track preview player: page-only audio, separate from persistent station player */
.track-local-preview {
    display: grid;
    gap: .35rem;
    min-width: min(360px, 100%);
    padding: .75rem;
    border: 1px solid rgba(127, 220, 255, .22);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
}
.track-local-preview audio {
    width: 100%;
    min-width: 260px;
}
@media (max-width: 720px) {
    .track-local-preview audio { min-width: 0; }
}

.checkbox-row { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.checkbox-row input { margin-top: .25rem; width: auto; }

/* Spotify-style station page hero. Kept page-scoped so persistent player/progress CSS is untouched. */
.station-spotify-hero {
    position: relative;
    min-height: clamp(340px, 38vw, 520px);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 26px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 12% 10%, rgba(124,92,255,.34), transparent 34%),
        radial-gradient(circle at 82% 12%, rgba(23,199,214,.24), transparent 32%),
        linear-gradient(135deg, #10192a 0%, #07111e 100%);
    box-shadow: 0 30px 90px rgba(0,0,0,.34);
}

.station-spotify-hero.has-header-art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: var(--station-hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.03);
    filter: saturate(1.12) contrast(1.05);
}

.station-spotify-hero.has-header-art::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    backdrop-filter: blur(1px);
    background:
        linear-gradient(90deg, rgba(4,8,15,.96) 0%, rgba(4,8,15,.78) 39%, rgba(4,8,15,.36) 100%),
        linear-gradient(0deg, rgba(4,8,15,.94) 0%, rgba(4,8,15,.28) 62%, rgba(4,8,15,.68) 100%);
}

.station-spotify-hero.no-header-art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(115deg, rgba(124,92,255,.34), transparent 34%),
        linear-gradient(300deg, rgba(23,199,214,.24), transparent 32%);
}

.station-spotify-hero__shade {
    position: absolute;
    inset: auto 0 0;
    height: 55%;
    z-index: -1;
    background: linear-gradient(0deg, rgba(4,8,15,.98), transparent);
}

.station-spotify-hero__content {
    min-height: inherit;
    display: flex;
    align-items: flex-end;
    gap: clamp(18px, 3vw, 34px);
    padding: clamp(24px, 4vw, 48px);
}

.station-spotify-hero__art {
    width: clamp(132px, 18vw, 240px);
    aspect-ratio: 1;
    flex: 0 0 auto;
    border-radius: 22px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 35% 20%, rgba(127,220,255,.22), transparent 34%),
        linear-gradient(135deg, rgba(124,92,255,.44), rgba(23,199,214,.20));
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 22px 70px rgba(0,0,0,.56);
}

.station-spotify-hero__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.station-spotify-hero__art span {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1;
    filter: drop-shadow(0 12px 26px rgba(0,0,0,.45));
}

.station-spotify-hero__copy {
    min-width: 0;
    max-width: 920px;
    display: grid;
    gap: .72rem;
}

.station-spotify-hero__type {
    margin: 0;
    color: #7fdcff;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.station-spotify-hero__copy h1 {
    margin: 0;
    font-size: clamp(2.4rem, 7.2vw, 6.8rem);
    line-height: .92;
    letter-spacing: -.065em;
    text-wrap: balance;
    text-shadow: 0 8px 28px rgba(0,0,0,.55);
}

.station-spotify-hero__tagline {
    margin: 0;
    max-width: 72ch;
    color: #edf2ff;
    font-size: clamp(1rem, 1.55vw, 1.35rem);
    font-weight: 750;
    line-height: 1.35;
}

.station-spotify-hero__description {
    margin: 0;
    max-width: 78ch;
    color: rgba(237,242,255,.78);
    line-height: 1.55;
}

.station-spotify-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .72rem;
    color: rgba(237,242,255,.76);
    font-size: .95rem;
}

.station-spotify-hero__meta > span:not(.station-status-dot):not([data-station-np-listeners])::before {
    content: "•";
    margin-right: .72rem;
    color: rgba(237,242,255,.42);
}

.station-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
    flex: 0 0 auto;
    background: #ff5f6d;
    box-shadow: 0 0 18px rgba(255,95,109,.52);
}

.station-status-dot.is-live {
    background: #29c56a;
    box-shadow: 0 0 18px rgba(41,197,106,.68);
}

.station-spotify-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: .45rem;
}

.station-spotify-hero__actions form {
    margin: 0;
}

.station-spotify-hero__actions .button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

#station-player-card {
    scroll-margin-top: 120px;
}

#station-comments {
    scroll-margin-top: 120px;
}

@media (max-width: 860px) {
    .station-spotify-hero {
        min-height: auto;
        border-radius: 20px;
    }

    .station-spotify-hero.has-header-art::after {
        background:
            linear-gradient(0deg, rgba(4,8,15,.98), rgba(4,8,15,.54)),
            linear-gradient(90deg, rgba(4,8,15,.88), rgba(4,8,15,.42));
    }

    .station-spotify-hero__content {
        align-items: flex-start;
        flex-direction: column;
    }

    .station-spotify-hero__art {
        width: min(170px, 52vw);
        border-radius: 18px;
    }

    .station-spotify-hero__copy h1 {
        font-size: clamp(2.2rem, 14vw, 4.4rem);
    }
}

@media (max-width: 560px) {
    .station-spotify-hero__content {
        padding: 20px;
    }

    .station-spotify-hero__meta {
        display: grid;
        gap: .38rem;
    }

    .station-spotify-hero__meta > span:not(.station-status-dot):not([data-station-np-listeners])::before {
        content: "";
        margin: 0;
    }

    .station-spotify-hero__actions .button,
    .station-spotify-hero__actions form,
    .station-spotify-hero__actions form .button {
        width: 100%;
    }
}

/* == Site notice banner == */
.site-notice {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem 1.1rem;
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.4;
}
.site-notice--info        { background: rgba(124,92,255,.18); color: #d8ccff; border-bottom: 1px solid rgba(124,92,255,.3); }
.site-notice--warning     { background: rgba(255,189,90,.15); color: #ffe0ad; border-bottom: 1px solid rgba(255,189,90,.3); }
.site-notice--maintenance { background: rgba(255,95,109,.14); color: #ffc0c6; border-bottom: 1px solid rgba(255,95,109,.3); }
.site-notice__msg  { flex: 1; }
.site-notice__link { color: inherit; text-decoration: underline; white-space: nowrap; }
.site-notice__close {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    opacity: .65;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0 .2rem;
    flex-shrink: 0;
}
.site-notice__close:hover { opacity: 1; }

/* == Notification bell == */
.notif-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--muted);
    text-decoration: none;
    transition: color .15s, background .15s;
}
.notif-bell:hover { color: #fff; background: rgba(255,255,255,.07); }
.notif-bell svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notif-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #7c5cff;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    pointer-events: none;
}
.notif-badge--hidden { display: none; }

/* == Notifications list == */
.notif-list { display: grid; gap: .5rem; max-width: 740px; }
.notif-item {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: .75rem;
    align-items: start;
    padding: .85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
}
.notif-item--unread { border-color: rgba(124,92,255,.45); background: rgba(124,92,255,.07); }
.notif-item__icon { font-size: 1.1rem; padding-top: .1rem; text-align: center; }
.notif-item__body { min-width: 0; }
.notif-item__title { margin: 0 0 .15rem; font-weight: 600; font-size: .95rem; }
.notif-item__desc { margin: 0 0 .25rem; font-size: .85rem; }
.notif-item__time { margin: 0; font-size: .78rem; }
.notif-item__actions { display: flex; gap: .4rem; flex-shrink: 0; }

/* == Official badge == */
.official-badge {
    background: rgba(255,189,90,.14);
    color: #ffe0ad;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .03em;
}

/* == Creator profile hero == */
.creator-profile-hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 2rem;
    min-height: 220px;
    background: rgba(255,255,255,.04);
    display: flex;
    align-items: flex-end;
}
.creator-profile-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--creator-header, linear-gradient(135deg, rgba(124,92,255,.25), rgba(9,16,28,.9)));
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.creator-profile-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(9,16,28,.92) 0%, rgba(9,16,28,.35) 60%, transparent 100%);
    z-index: 1;
}
.creator-profile-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    width: 100%;
}
.creator-profile-hero__avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.18);
    object-fit: cover;
    flex-shrink: 0;
}
.creator-profile-hero__avatar-fallback {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.18);
    background: rgba(124,92,255,.25);
    display: grid;
    place-items: center;
    font-size: 2.2rem;
    flex-shrink: 0;
}
.creator-profile-hero__copy { min-width: 0; }
.creator-profile-hero__copy h1 { margin: 0 0 .2rem; font-size: clamp(1.5rem, 4vw, 2.4rem); }
.creator-profile-hero__tagline { margin: 0 0 .35rem; color: var(--muted); font-size: .92rem; }
.creator-profile-hero__meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .82rem; color: var(--muted); margin: 0; }

/* == Station switcher panel == */
.station-switcher-panel {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    width: min(380px, calc(100vw - 24px));
    border: 1px solid rgba(127,220,255,.22);
    border-radius: 14px;
    background: rgba(9,16,28,.97);
    backdrop-filter: blur(24px);
    box-shadow: 0 12px 48px rgba(0,0,0,.5);
    overflow: hidden;
    z-index: 60;
}
.station-switcher-header {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem .9rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    flex-wrap: wrap;
}
.station-switcher-title {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-right: auto;
}
.station-switcher-list {
    max-height: 320px;
    overflow-y: auto;
    padding: .4rem;
    display: grid;
    gap: .3rem;
}
.station-switcher-item {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: .5rem;
    align-items: center;
    padding: .45rem .55rem;
    border-radius: 9px;
    cursor: pointer;
    transition: background .12s;
    border: 1px solid transparent;
}
.station-switcher-item:hover { background: rgba(255,255,255,.06); }
.station-switcher-item.is-active { border-color: rgba(124,92,255,.45); background: rgba(124,92,255,.1); }
.station-switcher-item__art {
    width: 36px;
    height: 36px;
    border-radius: 7px;
    object-fit: cover;
}
.station-switcher-item__art-fallback {
    width: 36px;
    height: 36px;
    border-radius: 7px;
    background: rgba(255,255,255,.06);
    display: grid;
    place-items: center;
    font-size: .9rem;
}
.station-switcher-item__name { font-size: .85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.station-switcher-item__sub  { font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.station-switcher-item__live {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #29c56a;
    box-shadow: 0 0 6px #29c56a;
    flex-shrink: 0;
}
.station-switcher-loading { display: block; text-align: center; color: var(--muted); font-size: .83rem; padding: 1rem; }
.station-switcher-empty   { display: block; text-align: center; color: var(--muted); font-size: .83rem; padding: 1rem; }
.station-switcher-library {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .55rem .9rem;
    border-top: 1px solid rgba(255,255,255,.07);
}
.station-switcher-lib-label { font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* mini-actions needs relative positioning for switcher panel */
.persistent-player .mini-actions { position: relative; }

/* == Site footer == */
.site-footer {
    margin-top: 4rem;
    padding: 2.5rem 1.5rem;
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.018);
}
.site-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    gap: 1.1rem;
}
.site-footer__brand { font-weight: 700; font-size: .95rem; }
.site-footer__nav, .site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer__nav a, .site-footer__legal a { color: var(--muted); font-size: .85rem; text-decoration: none; }
.site-footer__nav a:hover, .site-footer__legal a:hover { color: #fff; }
.site-footer__legal a { font-size: .78rem; }
.site-footer__version { margin: 0; font-size: .75rem; color: rgba(255,255,255,.25); }

/* == Compose box == */
.feed-compose {
    display: flex;
    gap: .75rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}
.feed-compose__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(124,92,255,.25);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: .95rem;
    color: #d8ccff;
}
.feed-compose__avatar img { width: 100%; height: 100%; object-fit: cover; }
.feed-compose__form { flex: 1; }
.feed-compose__form textarea {
    width: 100%;
    border-radius: 12px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--line);
    color: inherit;
    padding: .7rem .9rem;
    font-size: .92rem;
    resize: vertical;
    transition: border-color .15s;
}
.feed-compose__form textarea:focus { outline: none; border-color: rgba(124,92,255,.6); }
.feed-compose__footer { display: flex; justify-content: flex-end; margin-top: .5rem; }

/* == Feed list == */
.feed-list { display: flex; flex-direction: column; gap: 0; }

/* == Feed post == */
.feed-post {
    display: flex;
    gap: .75rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.feed-post:last-child { border-bottom: none; }
.feed-post--reply { padding: .7rem 0 .7rem .2rem; }

.feed-post__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(124,92,255,.2);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: .9rem;
    color: #c8b8ff;
    align-self: flex-start;
}
.feed-post__avatar img { width: 100%; height: 100%; object-fit: cover; }
.feed-post__avatar--sm { width: 30px; height: 30px; font-size: .75rem; }

.feed-post__main { flex: 1; min-width: 0; }

.feed-post__header {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    margin-bottom: .3rem;
    flex-wrap: wrap;
}
.feed-post__name {
    font-weight: 700;
    font-size: .92rem;
    color: inherit;
    text-decoration: none;
}
a.feed-post__name:hover { text-decoration: underline; }

/* New-comment slide-in animation */
.feed-post--new {
    animation: feedSlideIn .35s ease both;
}
@keyframes feedSlideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.feed-post__time {
    font-size: .78rem;
    color: var(--muted);
}

.feed-post__body {
    font-size: .92rem;
    line-height: 1.55;
    word-break: break-word;
    margin-bottom: .55rem;
}

.feed-post__actions {
    display: flex;
    gap: .75rem;
    align-items: center;
}

.feed-post__like-btn {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    font-size: .82rem;
    padding: 0;
    transition: color .15s;
}
.feed-post__like-btn svg { width: 15px; height: 15px; }
.feed-post__like-btn:hover { color: #ff6b8a; }
.feed-post__like-btn.is-liked { color: #ff6b8a; }
.feed-post__like-btn--static { cursor: default; }
.feed-post__like-btn--static:hover { color: var(--muted); }

.feed-post__reply-btn,
.feed-post__thread-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    font-size: .82rem;
    padding: 0;
    transition: color .15s;
}
.feed-post__reply-btn:hover,
.feed-post__thread-btn:hover { color: #fff; }

/* @mention inside a thread reply */
.feed-post__mention {
    color: var(--accent-a, #6c63ff);
    font-weight: 600;
    margin-right: .3em;
}

/* == Thread panel == */
.feed-thread {
    margin-top: .75rem;
    border-left: 2px solid rgba(255,255,255,.1);
    padding-left: .9rem;
}
.feed-thread__replies { display: flex; flex-direction: column; gap: .25rem; }

/* == Thread reply form == */
.feed-thread__reply-form { margin-top: .75rem; }
.feed-thread__reply-input {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
}
.feed-thread__reply-input textarea {
    flex: 1;
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--line);
    color: inherit;
    padding: .55rem .75rem;
    font-size: .87rem;
    resize: vertical;
}
.feed-thread__reply-input textarea:focus { outline: none; border-color: rgba(124,92,255,.5); }
.feed-thread__reply-actions { display: flex; justify-content: flex-end; margin-top: .4rem; }

/* == Listener profiles == */
.listener-card { display: flex; gap: .75rem; align-items: flex-start; }
.listener-card__avatar { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--surface-alt); display: flex; align-items: center; justify-content: center; }
.listener-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.listener-card__body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.listener-card__name { font-size: 1rem; }
.listener-card__bio { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.avatar-initial { font-size: 1.4rem; font-weight: 700; color: var(--primary, #7c5cff); line-height: 1; }
.avatar-initial--lg { font-size: 2.5rem; }

/* == Social links == */
.social-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--muted); transition: background .18s, color .18s; }
.social-link:hover { background: rgba(124,92,255,.18); color: var(--primary, #7c5cff); }

/* == Share buttons == */
.share-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: 1rem; }
.share-buttons__label { margin-right: .25rem; }
.share-btn { display: inline-block; padding: .3rem .65rem; border-radius: 6px; font-size: .78rem; font-weight: 600; background: rgba(255,255,255,.06); color: var(--muted); text-decoration: none; transition: background .18s, color .18s; border: 1px solid var(--line); }
.share-btn:hover { background: rgba(124,92,255,.18); color: var(--primary, #7c5cff); border-color: rgba(124,92,255,.4); }

/* ── Analytics ─────────────────────────────────────────────────── */
.analytics-totals { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-bottom: 1.5rem; }

.two-col-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 768px) { .two-col-panels { grid-template-columns: 1fr; } }

.revenue-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 120px;
    padding: 0 1.25rem .5rem;
    overflow-x: auto;
}
.rev-bar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex: 1 0 18px;
    min-width: 18px;
    height: 100%;
    cursor: default;
}
.rev-bar {
    width: 100%;
    background: var(--accent, #7c5cff);
    border-radius: 3px 3px 0 0;
    min-height: 2px;
    transition: opacity .15s;
}
.rev-bar-wrap:hover .rev-bar { opacity: .75; }
.rev-bar-label {
    font-size: .6rem;
    color: var(--text-muted, #888);
    margin-top: 4px;
    white-space: nowrap;
    transform: rotate(-45deg);
    transform-origin: top left;
    display: block;
    height: 20px;
}

/* Track detail engagement controls */
.track-social-line {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .75rem 0 0;
}
.track-social-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .05);
    color: var(--muted);
    font-size: .86rem;
}
.track-social-pill.is-liked,
.track-like-button.is-liked {
    color: #ff6b8a;
    border-color: rgba(255, 107, 138, .42);
}
.track-like-button {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.track-like-button__heart {
    font-size: 1.05rem;
    line-height: 1;
}
.track-like-button__count {
    opacity: .8;
}

/* Public profile polish: aligns creator/listener profiles with station page hero treatment. */
.creator-profile-hero {
    position: relative;
    min-height: clamp(320px, 36vw, 500px);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 26px;
    overflow: hidden;
    margin-bottom: 1.6rem;
    background: #07101d;
    isolation: isolate;
    display: block;
}
.creator-profile-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(135deg, rgba(9,18,32,.84), rgba(20,34,54,.62)),
        var(--creator-header, linear-gradient(135deg, rgba(35,61,86,.95), rgba(8,16,28,.98)));
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}
.creator-profile-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(0deg, rgba(4,8,15,.98), rgba(4,8,15,.30) 58%, rgba(4,8,15,.10)),
        linear-gradient(90deg, rgba(4,8,15,.86), rgba(4,8,15,.20) 72%);
}
.creator-profile-hero__shade {
    position: absolute;
    inset: auto 0 0;
    height: 55%;
    z-index: -1;
    background: linear-gradient(0deg, rgba(4,8,15,.98), transparent);
}
.creator-profile-hero__content {
    min-height: inherit;
    display: flex;
    align-items: flex-end;
    gap: clamp(18px, 3vw, 34px);
    padding: clamp(24px, 4vw, 48px);
    width: auto;
    position: relative;
    z-index: 1;
}
.creator-profile-hero__avatar {
    width: clamp(132px, 18vw, 230px);
    height: auto;
    aspect-ratio: 1;
    flex: 0 0 auto;
    border-radius: 22px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 24px 60px rgba(0,0,0,.48);
    object-fit: initial;
}
.creator-profile-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.creator-profile-hero__avatar span,
.profile-avatar-initial {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1;
    color: rgba(237,242,255,.94);
}
.creator-profile-hero__copy {
    min-width: 0;
    max-width: 920px;
    display: grid;
    gap: .72rem;
}
.creator-profile-hero__type {
    margin: 0;
    color: #7fdcff;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}
.creator-profile-hero__copy h1 {
    margin: 0;
    font-size: clamp(2.4rem, 7vw, 6.2rem);
    line-height: .96;
    letter-spacing: 0;
    text-wrap: balance;
    overflow-wrap: anywhere;
}
.creator-profile-hero__tagline {
    margin: 0;
    max-width: 72ch;
    color: #edf2ff;
    font-size: clamp(1rem, 1.45vw, 1.28rem);
    font-weight: 750;
    line-height: 1.45;
}
.creator-profile-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .72rem;
    color: rgba(237,242,255,.76);
    font-size: .94rem;
    margin: 0;
}
.creator-profile-hero__meta .text-link {
    max-width: min(100%, 44ch);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.profile-station-card {
    overflow: hidden;
}
.profile-station-card__media {
    position: relative;
    min-height: 128px;
    margin: -1.25rem -1.25rem .95rem;
    background: linear-gradient(135deg, rgba(32,54,76,.9), rgba(10,18,30,.98));
    background-size: cover;
    background-position: center;
}
.profile-station-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4,8,15,.62), rgba(4,8,15,.08));
}
.profile-station-card__media img {
    position: absolute;
    left: 14px;
    bottom: 12px;
    z-index: 1;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.24);
    box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

.track-directory-filters {
    margin-bottom: 1rem;
}
.track-directory-filters[open] {
    padding-bottom: 1rem;
}
.track-directory-filters__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}
.track-directory-filters__summary::-webkit-details-marker {
    display: none;
}
.track-directory-filters__summary::after {
    content: "+";
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #7fdcff;
}
.track-directory-filters[open] .track-directory-filters__summary {
    margin-bottom: 1rem;
}
.track-directory-filters[open] .track-directory-filters__summary::after {
    content: "-";
}
.track-directory-filters__summary strong {
    margin-left: auto;
    color: #7fdcff;
    font-size: .82rem;
}
.track-directory-load {
    display: grid;
    place-items: center;
    gap: .5rem;
    margin: 1.25rem 0;
}
[data-track-scroll-sentinel] {
    min-height: 1px;
}
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: .65rem 0;
}
.tag-pill {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    border: 1px solid rgba(127,220,255,.24);
    border-radius: 999px;
    padding: .25rem .55rem;
    color: #bceeff;
    background: rgba(127,220,255,.08);
    font-size: .78rem;
    overflow-wrap: anywhere;
}
@media (max-width: 860px) {
    .creator-profile-hero {
        min-height: auto;
        border-radius: 20px;
    }
    .creator-profile-hero__content {
        align-items: flex-start;
        flex-direction: column;
    }
    .creator-profile-hero__avatar {
        width: min(170px, 52vw);
        border-radius: 18px;
    }
    .creator-profile-hero__copy h1 {
        font-size: clamp(2.2rem, 13vw, 4.2rem);
    }
}
@media (max-width: 560px) {
    .creator-profile-hero__content {
        padding: 20px;
    }
    .creator-profile-hero__meta {
        display: grid;
        gap: .38rem;
    }
}

.explicit-badge {
    background: rgba(255, 196, 87, .16);
    border-color: rgba(255, 196, 87, .5);
    color: #ffd98a;
}
.content-flag-panel {
    margin-top: 1rem;
}
.moderation-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 1rem;
}
.moderation-note {
    border-bottom: 1px solid var(--border, rgba(255,255,255,.1));
    padding: .7rem 0;
}
.moderation-note:last-child {
    border-bottom: 0;
}
.meta-list {
    display: grid;
    gap: .55rem;
}
.meta-list div {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: .75rem;
}
.meta-list dt {
    color: var(--muted);
}
@media (max-width: 900px) {
    .moderation-grid { grid-template-columns: 1fr; }
}

.dj-room-progress {
    width: 100%;
    height: 8px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    overflow: hidden;
    margin-top: .75rem;
}
.dj-room-progress span {
    display: block;
    height: 100%;
    min-width: 0;
    background: linear-gradient(90deg, #7fdcff, #ffd36a);
    transition: width .25s ease;
}
