/* Vybe Stream Radio™ - public site + artist dashboard, built to the
   "Stream Your Vibe" home design. © 2026 Spark Fire Technologies. */
:root {
  --bg: #080203;
  --bg2: #0e0405;
  --panel: #130607;
  --panel2: #1b090b;
  --line: #3a1015;
  --line2: #5a1219;
  --red: #e3141f;
  --red2: #b10d17;
  --gold: #f0bf2a;
  --gold2: #ffd966;
  --cream: #f5eee6;
  --muted: #b39a9c;
  --ok: #4fbf7a; --warn: #e0a42a; --bad: #ff5a6a;
  --radius: 12px;
  --side: 232px;
  --top: 92px;
  --glow: 0 0 0 1px rgba(227, 20, 31, .18), 0 10px 30px rgba(0, 0, 0, .55);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; padding-bottom: 76px; background: var(--bg); color: var(--cream); font: 15px/1.55 Inter, "Segoe UI", system-ui, sans-serif; }
a { color: var(--gold); }
a:hover { color: var(--gold2); }
img { max-width: 100%; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.1; font-weight: 500; }
h1 { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; letter-spacing: .03em; font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-family: Oswald, sans-serif; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); font-size: 1rem; margin-top: 1.2em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; } .tiny { font-size: .75rem; } .center { text-align: center; }
.ic { width: 20px; height: 20px; flex: none; }
.ic.gold { color: var(--gold); } .ic.red { color: var(--red); } .ic.big { width: 36px; height: 36px; }
.yt { width: 28px; height: 20px; flex: none; }

/* ----------------------------------------------------------------- top bar -- */
.topbar { position: sticky; top: 0; z-index: 40; height: var(--top); display: flex; align-items: center; gap: 22px; padding: 0 22px;
  background: linear-gradient(180deg, #120405, #080203); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--cream); flex: none; }
.brand img { filter: drop-shadow(0 0 10px rgba(227, 20, 31, .45)); }
.wordmark { display: flex; flex-direction: column; font-family: Oswald, sans-serif; font-weight: 300; line-height: 1.05; }
.wm1 { font-size: 2rem; letter-spacing: .16em; }
.wm2 { font-size: .9rem; letter-spacing: .5em; margin-top: 4px; }
.wordmark em { color: var(--red); font-style: normal; }
.wm2 em { color: var(--gold); }
.wordmark sup { font-size: .4em; letter-spacing: 0; }
.search { flex: 1; max-width: 460px; display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 44px; border-radius: 999px;
  background: #151012; border: 1px solid #2a2224; color: var(--muted); }
.search input { flex: 1; background: none; border: 0; color: var(--cream); font: inherit; outline: none; min-width: 0; padding: 0; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.top-live, .top-yt { display: flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--cream); font: 500 .95rem Oswald, sans-serif; letter-spacing: .06em; cursor: pointer; text-decoration: none; }
.top-live .ic { width: 26px; height: 26px; }
.top-yt span { font: 700 1.05rem Inter, sans-serif; letter-spacing: -.02em; }
.bell { position: relative; color: var(--cream); display: flex; }
.bell .ic { width: 24px; height: 24px; }
.bell b { position: absolute; top: -8px; right: -9px; background: var(--red); color: #fff; font-size: .68rem; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.account { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-weight: 500; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, var(--red), #4a0409); color: #fff; font-weight: 700; box-shadow: 0 0 0 2px #2a0a0d; }
.avatar.ghost { background: #1a1112; color: var(--muted); }
.navtoggle { display: none; background: none; border: 1px solid var(--line); color: var(--cream); border-radius: 10px; padding: 6px; cursor: pointer; }

/* ----------------------------------------------------------------- sidebar -- */
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: calc(100vh - var(--top)); }
.sidenav { position: sticky; top: var(--top); align-self: start; height: calc(100vh - var(--top) - 76px); overflow-y: auto; padding: 12px 0; background: var(--bg); border-right: 1px solid #1a0a0c; }
.sidenav a { display: flex; align-items: center; gap: 14px; margin: 3px 10px; padding: 11px 14px; border-radius: 8px; color: var(--cream); text-decoration: none; font-size: 1rem; }
.sidenav a:hover { background: #1a0a0c; color: #fff; }
.sidenav a.on { background: linear-gradient(90deg, var(--red), #c20d18); color: #fff; margin-left: 0; border-radius: 0 8px 8px 0; padding-left: 24px; box-shadow: 0 6px 18px rgba(227, 20, 31, .3); }
.sidenav a.boxed { border: 1px solid var(--gold); box-shadow: inset 0 0 12px rgba(240, 191, 42, .12); }
.sidenav a.boxed .ic { color: var(--gold); }
.sidenav .ic { width: 22px; height: 22px; }
.mobile-search { display: none; }
main { min-width: 0; padding: 14px 18px 30px; }

@media (max-width: 1100px) { .search { max-width: 280px; } .wm1 { font-size: 1.5rem; } .wm2 { font-size: .72rem; } .top-actions { gap: 14px; } }
@media (max-width: 900px) {
  :root { --top: 66px; }
  .navtoggle { display: flex; }
  .topbar { gap: 10px; padding: 0 12px; }
  .brand img { width: 42px; height: 42px; }
  .wm1 { font-size: 1.1rem; letter-spacing: .1em; } .wm2 { font-size: .56rem; letter-spacing: .38em; }
  .search { display: none; }
  .top-live span, .top-yt span, .account > span:not(.avatar) { display: none; }
  .avatar { width: 34px; height: 34px; }
  .shell { grid-template-columns: 1fr; }
  .sidenav { position: fixed; z-index: 35; top: var(--top); left: 0; width: 260px; height: calc(100vh - var(--top)); transform: translateX(-100%); transition: transform .2s; box-shadow: 10px 0 30px rgba(0,0,0,.6); }
  .sidenav.open { transform: none; }
  .sidenav .mobile-search { display: flex; margin: 4px 10px 10px; max-width: none; }
  main { padding: 12px 12px 24px; }
}

/* ------------------------------------------------------------------ panels -- */
.dash { display: grid; gap: 14px; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); }
.dash.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.dash > .wide, .dash > .row4, .dash > .cms-extra, .dash > .genre-hero { grid-column: 1 / -1; }
.panel { position: relative; min-width: 0; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--glow); }
.ph { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ph h2 { font-family: Oswald, sans-serif; font-weight: 500; font-size: 1.2rem; letter-spacing: .05em; text-transform: uppercase; margin: 0; color: var(--cream); }
.ph .ic { width: 24px; height: 24px; }
.viewall { margin-left: auto; display: flex; align-items: center; gap: 6px; font: 500 .78rem Inter, sans-serif; letter-spacing: .04em; color: var(--cream); text-decoration: none; }
.viewall .ic { width: 16px; height: 16px; }
.eyebrow { display: block; font: 500 .82rem Oswald, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); margin-bottom: 6px; }

.hero-banner { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line2); box-shadow: 0 0 0 1px rgba(227,20,31,.25), 0 0 40px rgba(227, 20, 31, .18); background: #000; }
.hero-banner img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 909 / 284; }

/* Listen Live */
.listen .live-pill { margin-left: auto; display: flex; align-items: center; gap: 6px; background: var(--red); color: #fff; border: 0; border-radius: 6px; padding: 7px 12px; font: 700 .85rem Oswald, sans-serif; letter-spacing: .06em; cursor: pointer; box-shadow: 0 0 16px rgba(227, 20, 31, .45); }
.listen .live-pill .ic { width: 14px; height: 14px; }
.ll-body { display: flex; gap: 16px; align-items: center; }
.ll-art { width: 112px; height: 112px; border-radius: 8px; object-fit: cover; flex: none; border: 1px solid #2a1215; }
.ll-text { display: flex; flex-direction: column; min-width: 0; }
.ll-text b { font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ll-station { font: 500 1.2rem Oswald, sans-serif !important; letter-spacing: .02em; }
.ll-now { color: var(--red); font-size: .85rem; margin: 2px 0 8px; }
.ll-controls { display: flex; align-items: center; gap: 14px; margin: 14px 0 10px; }
.viz { flex: 1; min-width: 0; width: 100%; height: 44px; display: block; }
.bigplay { flex: none; width: 62px; height: 62px; border-radius: 50%; background: #0c0304; border: 3px solid var(--red); color: var(--cream); display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 18px rgba(227, 20, 31, .5); }
.bigplay .ic { width: 26px; height: 26px; }
.ll-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.vol { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 120px; color: var(--cream); }
.vol input { width: 100%; accent-color: var(--red); }
.hq { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #3a2a2c; border-radius: 6px; padding: 5px 10px; font: 600 .72rem Inter, sans-serif; letter-spacing: .06em; }
.hq .ic { width: 14px; height: 14px; }

/* Genres */
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.gtile { position: relative; aspect-ratio: 1.1; border-radius: 6px; overflow: hidden; background: #140709 center/cover no-repeat; border: 1px solid #3a1a14; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 6px; box-shadow: inset 0 -44px 30px -10px rgba(0,0,0,.92); transition: transform .15s, border-color .15s; }
.gtile:hover { transform: translateY(-2px); border-color: var(--gold); }
.gtile span { font: 500 .78rem Oswald, sans-serif; letter-spacing: .02em; color: #fff; text-align: center; text-shadow: 0 1px 3px #000; line-height: 1.1; }
.gtile em { position: absolute; top: 6px; right: 6px; font: 600 .62rem Inter, sans-serif; font-style: normal; background: rgba(227,20,31,.85); color: #fff; padding: 1px 6px; border-radius: 4px; }
.genre-grid.compact { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
.genre-hero { border-radius: var(--radius); min-height: 180px; background: center/cover no-repeat; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; box-shadow: inset 0 -120px 80px -20px rgba(0,0,0,.9); border: 1px solid var(--line2); }
.genre-hero h1 { margin: 0; } .genre-hero p { margin: 0; color: #e6d6d7; }

/* Now playing + up next */
.nowplaying { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; }
.np-left { display: flex; gap: 16px; align-items: center; }
.np-art { width: 150px; height: 150px; border-radius: 8px; object-fit: cover; flex: none; border: 1px solid #3a1a14; }
.np-left > div { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.np-title { font: 500 1.35rem Oswald, sans-serif; letter-spacing: .01em; }
.np-left .np-live { margin: 8px 0; }
.np-left .viz { width: 100%; height: 40px; }
.np-live { display: inline-block; font: 700 .7rem Inter, sans-serif; letter-spacing: .1em; color: #fff; background: var(--red); padding: 2px 8px; border-radius: 4px; }
.upnext { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; }
.upnext li { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; border-bottom: 1px solid #22100f; padding-bottom: 8px; }
.upnext img { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; }
.upnext span { min-width: 0; display: flex; flex-direction: column; }
.upnext b, .upnext small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upnext small { color: var(--muted); }
.upnext time { font-size: .82rem; color: var(--cream); }

/* Store promo */
.storepromo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, 150px); gap: 10px; align-items: center; overflow: hidden; background: radial-gradient(circle at 80% 50%, #3a0508, transparent 60%), linear-gradient(180deg, var(--panel2), var(--panel)); }
.sp-title { display: flex; align-items: center; gap: 8px; white-space: nowrap; font: 400 clamp(1.4rem, 1.9vw, 2.2rem) "Bebas Neue", Impact, sans-serif; letter-spacing: .06em; margin: 0; }
.sp-title em { color: var(--red); font-style: normal; }
.sp-sub { margin: 2px 0 10px; font: 500 .72rem Inter, sans-serif; letter-spacing: .14em; }
.storepromo ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 4px; font-size: .9rem; }
.storepromo li::before { content: "★"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 10px; border-radius: 50%; background: var(--gold); color: #3a2400; font-size: .62rem; }
.sp-art { width: 100%; border-radius: 10px; object-fit: cover; align-self: end; }
@media (max-width: 1100px) { .storepromo { grid-template-columns: minmax(0, 1fr) minmax(120px, 240px); } }

/* Row of four */
.row4 { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.row4.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chart { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; }
.chart li { display: grid; grid-template-columns: 22px 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.chart .rank { font: 500 1rem Oswald, sans-serif; text-align: center; }
.chart img { width: 34px; height: 34px; border-radius: 4px; object-fit: cover; }
.chart .ct { min-width: 0; display: flex; flex-direction: column; }
.chart b, .chart small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chart small { color: var(--muted); font-size: .78rem; }
.chart .cstat { font-size: .78rem; color: var(--gold); }
.chart.big li { grid-template-columns: 34px 48px minmax(0, 1fr) auto; padding: 6px 0; border-bottom: 1px solid #22100f; }
.chart.big img { width: 48px; height: 48px; }
.chart.big .rank { font-size: 1.3rem; color: var(--gold); }
.sched { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sched li { display: grid; grid-template-columns: 44px 66px minmax(0, 1fr); column-gap: 8px; align-items: center; }
.sched li small { grid-column: 3; color: var(--muted); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sched li b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.sched time { font-size: .85rem; text-align: right; }
.sched.big li { padding: 6px 0; border-bottom: 1px solid #22100f; }
.upload .badge-gold { position: absolute; top: 14px; right: 14px; font: 700 .7rem Inter, sans-serif; letter-spacing: .04em; color: #2a1a00; background: var(--gold); border-radius: 6px; padding: 4px 8px; }
.upload p { margin: 6px 0; }
.meter { height: 12px; background: #1d1012; border-radius: 999px; overflow: hidden; border: 1px solid #2a1719; margin: 10px 0 4px; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold2), var(--gold)); }
.links a { color: var(--cream); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.links .ic { width: 14px; height: 14px; }
.yt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 0 12px; }
.yt-grid img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; display: block; }
.yt-grid.big { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.youtube .ph .yt { width: 34px; height: 24px; }

@media (max-width: 1280px) { .row4, .row4.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .dash, .dash.two { grid-template-columns: minmax(0, 1fr); }
  .nowplaying, .storepromo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .row4, .row4.three { grid-template-columns: minmax(0, 1fr); }
  .np-art { width: 96px; height: 96px; }
  .ll-art { width: 84px; height: 84px; }
  .genre-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .panel { padding: 12px; }
}

/* ----------------------------------------------------------------- buttons -- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 8px; border: 1px solid var(--red2);
  background: linear-gradient(180deg, var(--red), var(--red2)); color: #fff; font: 700 .9rem Oswald, sans-serif; letter-spacing: .05em; text-decoration: none; cursor: pointer; transition: filter .12s, transform .12s; }
.btn:hover { filter: brightness(1.12); color: #fff; transform: translateY(-1px); }
.btn .ic { width: 18px; height: 18px; }
.btn.gold { background: linear-gradient(180deg, var(--gold2), var(--gold)); border-color: var(--gold); color: #2a1800; }
.btn.gold:hover { color: #2a1800; }
.btn.red { background: linear-gradient(180deg, var(--red), var(--red2)); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--cream); }
.btn.small { padding: 6px 12px; font-size: .8rem; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ------------------------------------------------------- shared components -- */
.song-grid, .store-grid, .item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.song-card, .store-card, .item-card { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 10px; background: #150709; border: 1px solid var(--line); color: var(--cream); text-decoration: none; min-width: 0; }
.song-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; margin-bottom: 6px; }
.song-card span, .store-card span { color: var(--muted); font-size: .88rem; }
.song-card em, .store-card em { color: var(--gold); font-style: normal; font-size: .8rem; }
.store-card:hover { border-color: var(--gold); }
.item-card img { border-radius: 8px; margin-bottom: 8px; aspect-ratio: 1; object-fit: cover; }
.item-card .kind { text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; color: var(--muted); }
.item-card .price { color: var(--gold); font-weight: 700; }
.item-card .btn { margin-top: auto; }
.sf-banner { width: 100%; max-height: 300px; object-fit: cover; border-radius: var(--radius); }
.disclaimer { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line); color: var(--cream); text-decoration: none; font-size: .88rem; }
.lead { font-size: 1.1rem; color: #e6d6d7; }
.notice { border-left: 3px solid var(--gold); background: rgba(240,191,42,.08); padding: 9px 13px; border-radius: 0 8px 8px 0; font-size: .88rem; }
code { background: #1a0b0d; padding: 1px 6px; border-radius: 5px; }

/* CMS blocks inside panels / below the dashboard */
.cms-extra { display: grid; gap: 14px; }
.blk { margin: 0 0 16px; }
.blk.text { max-width: 860px; }
.blk.text h2, .cta h2 { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--gold); font-size: 1.4rem; }
.cta { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.hero { border-radius: var(--radius); padding: 30px; background: linear-gradient(135deg, #3b0710, #0d0305); border: 1px solid var(--line2); position: relative; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.hero-copy { position: relative; }
.ad { position: relative; border: 1px dashed var(--line2); border-radius: var(--radius); padding: 12px; background: rgba(27, 9, 11, .7); }
.ad a { display: flex; flex-direction: column; gap: 4px; color: var(--cream); text-decoration: none; }
.ad img { border-radius: 8px; }
.ad strong { color: var(--gold); }
.ad-label { position: absolute; top: 6px; right: 10px; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
figure.image { margin: 0 0 16px; } figure.image img { border-radius: var(--radius); } figcaption { color: var(--muted); font-size: .88rem; }

/* ------------------------------------------------------------------- forms -- */
.form { display: grid; gap: 12px; }
.form.narrow { max-width: 620px; }
.form label { display: grid; gap: 5px; font-weight: 500; font-size: .9rem; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
input, textarea, select { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: #0e0405; color: var(--cream); font: inherit; font-size: .95rem; }
input[type=checkbox] { width: auto; margin-top: 4px; accent-color: var(--gold); }
input[type=range] { padding: 0; border: 0; background: none; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.search input:focus { outline: none; }
.formmsg { min-height: 1.3em; margin: 0; font-size: .9rem; }
.formmsg.err { color: var(--bad); } .formmsg.ok { color: var(--ok); }

/* ------------------------------------------------------ artist dashboard -- */
.app { padding: 6px 0 30px; }
.app h1 { margin-bottom: 8px; }
.app h2 { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--gold); font-size: 1.3rem; }
.card { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; box-shadow: var(--glow); min-width: 0; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 16px; }
.tabs button { background: var(--panel); border: 1px solid var(--line); color: var(--cream); padding: 8px 15px; border-radius: 8px; cursor: pointer; font: 500 .9rem Inter, sans-serif; }
.tabs button.on { background: linear-gradient(180deg, var(--red), var(--red2)); border-color: var(--red); color: #fff; }
.status { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.status.placed, .status.approved, .status.active, .status.signed { background: rgba(79,191,122,.16); color: var(--ok); }
.status.processing, .status.waitlisted, .status.pending, .status.sent { background: rgba(224,164,42,.16); color: var(--warn); }
.status.review { background: rgba(240,191,42,.18); color: var(--gold); }
.status.rejected, .status.canceled, .status.past_due { background: rgba(255,90,106,.14); color: var(--bad); }
.songrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.songrow:first-child { border-top: 0; }
.songrow .meta { color: var(--muted); font-size: .88rem; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 12px 0; }
table.list { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.list th { text-align: left; color: var(--muted); font-weight: 500; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; padding: 8px; border-bottom: 1px solid var(--line); }
table.list td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tablewrap { overflow-x: auto; }
.standards { background: #0e0405; border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; margin: 8px 0 12px; }
.standards h3 { margin: 0 0 4px; }
.standards ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.standards li { display: grid; grid-template-columns: 18px 1fr; column-gap: 8px; font-size: .88rem; }
.standards li::before { content: "\2713"; color: var(--gold); font-weight: 700; grid-row: span 2; }
.standards li span { color: var(--muted); font-size: .8rem; }
.terms { font-size: .86rem; background: #0e0405; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.terms summary { cursor: pointer; font-weight: 600; color: var(--gold); }
.terms ol { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; color: #e6d6d7; }
.std-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.std-list li { display: grid; grid-template-columns: 22px 1fr; column-gap: 8px; background: #0e0405; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.std-list li::before { content: "\2713"; color: var(--gold); font-weight: 700; grid-row: span 2; }
.std-list li span { color: var(--muted); font-size: .84rem; }
.terms-list { padding-left: 20px; display: grid; gap: 6px; color: #e6d6d7; margin-bottom: 16px; }
.issues { margin: 6px 0; padding-left: 18px; }
.contract-body { white-space: pre-wrap; background: #0e0405; border: 1px solid var(--line); border-radius: 8px; padding: 14px; max-height: 420px; overflow: auto; font-size: .9rem; }
@media (max-width: 640px) { .songrow { grid-template-columns: minmax(0, 1fr); } .songrow audio { max-width: 100% !important; } }

/* ------------------------------------------------------------- player bar -- */
.playerbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: 68px; display: flex; align-items: center; gap: 12px; padding: 0 16px;
  background: linear-gradient(180deg, #1a0507, #0a0203); border-top: 2px solid var(--red); }
.playerbar .play { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--red); background: #0c0304; color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.playerbar .play .ic { width: 18px; height: 18px; }
.pb-art { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; flex: none; }
.playerbar .np { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; overflow: hidden; white-space: nowrap; }
.playerbar .np b { overflow: hidden; text-overflow: ellipsis; }
.playerbar .np span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.playerbar .np-live { flex: none; align-self: center; }
.np-meta { display: flex; align-items: center; gap: 10px; color: var(--gold); font-size: .82rem; }
.like { background: var(--panel2); border: 1px solid var(--line); color: var(--cream); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.like.liked { color: var(--red); border-color: var(--red); }
.playerbar .vol { flex: none; width: 150px; min-width: 0; }
@media (max-width: 700px) { .playerbar .vol, .np-meta [data-np-genre] { display: none; } .playerbar .np { flex-direction: column; gap: 0; } .playerbar .np-live { display: none; } }

/* ----------------------------------------------------------------- footer -- */
.footer { margin-top: 22px; padding: 20px 0 6px; border-top: 1px solid var(--line); }
.footer .ad { margin-bottom: 16px; }
.foot-inner { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; color: var(--muted); font-size: .86rem; }
.foot-inner p { margin: 0; flex: 1 1 260px; }
.foot-links a { color: var(--cream); }

@media print {
  .topbar, .sidenav, .playerbar, .footer, .ad, .tabs, .btn { display: none !important; }
  .shell { display: block; }
  body { background: #fff; color: #000; padding: 0; }
  .card, .panel { border: 1px solid #ccc; background: #fff; box-shadow: none; }
}
