/* V-Pop! social — Discover feed, band pages, profiles, sign in, face claims, auditions, share, admin.
 * Owned by the social agent (docs/v-pop-round4.md §7). Every class starts with so-. It uses vpop.css's
 * tokens (--ink*, --text, --muted, --grad, --tap, --sa-*, --nav-h …) and never restyles core classes. */

/* ---------- Discover: a full-height, snap-scrolling feed ---------- */

.so-discover {
  --so-head-h: 52px;
  position: fixed; z-index: 15;
  top: 0; left: 0; right: 0; bottom: calc(var(--nav-h, 0px) + var(--sa-b, 0px));
  display: flex; flex-direction: column;
  background: #07050d; color: var(--text);
}
.so-discover.so-guest { --nav-h: 0px; bottom: 0; z-index: 1; }   /* core's ✕ (.disc-x) sits above at z-index ≥ 2 */
.so-head {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 6px;
  min-height: var(--so-head-h);
  padding: calc(4px + var(--sa-t, 0px)) calc(8px + var(--sa-r, 0px)) 4px calc(8px + var(--sa-l, 0px));
  background: linear-gradient(180deg, rgba(20, 16, 31, .96), rgba(20, 16, 31, .82));
  border-bottom: 1px solid var(--line);
}
.so-guest .so-head { padding-left: calc(56px + var(--sa-l, 0px)); }   /* room for core's ✕ back button */
.so-tabs { display: flex; gap: 2px; min-width: 0; flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; }
.so-tabs::-webkit-scrollbar { display: none; }
.so-tab {
  min-height: 40px; padding: 6px 10px; border: 0; border-radius: var(--r-pill, 999px); background: none;
  color: var(--muted); font-weight: 800; font-size: var(--fs-sm, 14px); white-space: nowrap;
}
.so-tab.on { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 -3px 0 var(--pink); }
.so-tools { display: flex; gap: 2px; flex: none; }
.so-tool {
  position: relative; width: var(--tap, 44px); height: var(--tap, 44px); display: grid; place-items: center;
  border: 0; border-radius: 50%; background: none; font-size: 20px; padding: 0; color: var(--text);
}
.so-tool:active { background: rgba(255, 255, 255, .1); }
.so-dot {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--pink); color: #fff; font: 800 11px/18px var(--font-body, system-ui); font-style: normal;
}

.so-feed {
  flex: 1 1 auto; min-height: 0;
  height: calc(100dvh - var(--nav-h, 0px) - var(--so-head-h));
  overflow-y: auto; overflow-x: hidden;
  scroll-snap-type: y mandatory; overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.so-feed::-webkit-scrollbar { display: none; }
.so-card {
  position: relative; height: 100%; width: 100%; max-width: 560px; margin: 0 auto;
  scroll-snap-align: start; scroll-snap-stop: always;
  overflow: hidden; background: #0d0916;
}
.so-card.so-gone { opacity: .5; }
.so-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.so-stage > .stage { width: auto; height: 100%; max-width: 100%; border-radius: 0; }
.so-ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: #1a1228;
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--c1, #ff4f9a) 45%, #0d0916), #0d0916 70%);
  color: var(--muted);
}
.so-ph .vp-logo, .so-ph .so-logo { transform: scale(2.2); }
.so-stagefb {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(160deg, var(--c1, #ff4f9a), var(--c2, #8b5cff)); color: #fff; font-size: 22px;
}
.so-stagefb span { font-size: 56px; }
.so-sound {
  position: absolute; top: 10px; left: 10px; z-index: 3; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(0, 0, 0, .45); font-size: 16px; pointer-events: none;
}
.so-info {
  position: absolute; z-index: 3; left: 0; right: 76px; bottom: 0;
  padding: 40px 12px 14px calc(12px + var(--sa-l, 0px));
  background: linear-gradient(0deg, rgba(5, 3, 10, .85), rgba(5, 3, 10, 0));
  pointer-events: none; min-width: 0;
}
.so-info > * { pointer-events: auto; }
.so-bname { display: flex; align-items: center; gap: 8px; font-size: 20px; line-height: 1.15; min-width: 0; }
.so-bname b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.so-owner {
  display: inline-block; min-height: 32px; padding: 4px 0; border: 0; background: none; color: var(--text);
  font-weight: 700; font-size: var(--fs-sm, 14px); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.so-song { font-size: var(--fs-sm, 14px); color: #fff; opacity: .92; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-badge {
  display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: var(--r-pill, 999px);
  background: rgba(255, 255, 255, .16); font-size: 12px; font-weight: 700;
}
.so-badge.up { background: rgba(255, 79, 154, .35); }
/* Round 5: a song made with tracks, and the 🎙 vocals badge */
.so-badges { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.so-badge.vox { background: rgba(139, 92, 255, .45); }
.so-rail {
  position: absolute; z-index: 3; right: calc(6px + var(--sa-r, 0px)); bottom: 16px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.so-rb {
  width: 58px; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  border: 0; background: none; color: #fff; padding: 2px 0; text-shadow: 0 1px 4px rgba(0, 0, 0, .7);
}
.so-ri {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(0, 0, 0, .38); font-size: 20px; line-height: 1;
}
.so-rb small { font-size: 11px; font-weight: 700; max-width: 58px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-rb.on .so-ri { background: var(--grad); }
.so-like.on .so-ri { color: #fff; background: var(--pink); }
.so-rb:active .so-ri { transform: scale(.9); }
.so-msg {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 24px; text-align: center; color: var(--muted);
}
.so-msg p { margin: 0; max-width: 32ch; }
.so-big { font-size: 48px; line-height: 1; }
.so-loading { color: var(--muted); text-align: center; padding: 24px 0; }

/* ---------- shared bits inside the social modals ---------- */

.so-modal { overflow-wrap: anywhere; }
.so-inp { font-size: 16px; width: 100%; }          /* 16px: iOS never zooms into the field */
.so-ta { font-family: var(--font-body, system-ui); word-break: normal; min-height: 80px; }
.so-err {
  margin: 10px 0; padding: 10px 12px; border-radius: var(--r-sm, 10px);
  background: rgba(255, 93, 115, .14); color: #ffd0d8; font-size: var(--fs-sm, 14px);
}
.so-ok { margin: 10px 0; padding: 10px 12px; border-radius: var(--r-sm, 10px); background: rgba(46, 230, 160, .14); color: #c6ffe9; }
.so-tip {
  margin: 10px 0; padding: 8px 12px; border-radius: var(--r-sm, 10px); background: rgba(34, 211, 238, .1);
  color: var(--muted); font-size: var(--fs-sm, 14px);
}
.so-h { margin: 20px 0 8px; font-size: var(--fs-md, 17px); }
.so-h4 { margin: 16px 0 6px; font-size: var(--fs-sm, 14px); color: var(--muted); }
.so-chips { flex-wrap: wrap; }
.so-mini {
  min-width: 36px; min-height: 36px; padding: 4px 8px; border: 1px solid var(--line); border-radius: var(--r-pill, 999px);
  background: var(--ink-3); color: var(--text); font-size: 14px;
}
.so-mini.on { background: var(--grad); border-color: transparent; }
.so-seg2 { grid-template-columns: 1fr 1fr; }
.so-role { font-size: 12px; }
.so-roles { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0; }
.so-fb { font-size: 42px; display: grid; place-items: center; height: 100%; }
.so-prog { height: 8px; margin: 10px 0; border-radius: 4px; background: var(--ink-3); overflow: hidden; }
.so-prog i { display: block; height: 100%; background: var(--grad); transition: width .2s; }
.so-applied { color: var(--green, #2ee6a0); font-weight: 800; }
.so-none { list-style: none; padding: 8px 0; }

/* ---------- sign in / report ---------- */

.so-sign .btn.full { margin-top: 12px; }
.so-sign .lbl { display: block; margin-top: 12px; }
.so-reasons { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.so-reasons .chip { min-height: var(--tap, 44px); }

/* ---------- band page ---------- */

.so-bstage {
  position: relative; width: min(100%, 36dvh); margin: 0 auto; border-radius: 18px; overflow: hidden; cursor: pointer;
  background: #0d0916;
}
.so-bstage > .stage { width: 100%; }
.so-songs { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 4px; scrollbar-width: none; }
.so-songs .chip { flex: none; }
.so-btitle { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.so-btitle h2 { margin: 0; }
.so-btitle p { margin: 2px 0 0; }
.so-brow { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.so-brow .btn.on { background: var(--grad); color: #fff; }
.so-mems { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.so-mem { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; min-width: 0; }
.so-mem b { font-size: var(--fs-sm, 14px); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-bust, .so-abust, .so-ubust {
  width: 72px; aspect-ratio: 5 / 6; border-radius: 14px; overflow: hidden; background: var(--ink-3); flex: none;
}
.so-bust svg, .so-abust svg, .so-ubust svg { width: 100%; height: 100%; display: block; }
.so-guestchip { border: 0; background: rgba(34, 211, 238, .16); color: var(--cyan, #22d3ee); border-radius: 999px; padding: 4px 8px; font-size: 12px; min-height: 30px; }
.so-cform { gap: 6px; margin-bottom: 8px; }
.so-clist { list-style: none; margin: 0; padding: 0; }
.so-c { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.so-cuser { grid-column: 1; justify-self: start; border: 0; background: none; color: var(--pink); font-weight: 800; padding: 0; min-height: 28px; }
.so-ct { grid-column: 1; }
.so-c > small { grid-column: 1; }
.so-cbtns { grid-column: 2; grid-row: 1 / span 3; display: flex; gap: 4px; align-items: flex-start; }
.so-owner-tools { margin-top: 20px; }
.so-when { margin-top: 16px; }

/* ---------- profile ---------- */

.so-bio { margin: 6px 0; }
.so-prow { gap: 6px; margin: 8px 0; }
.so-prow .btn.on { background: var(--grad); color: #fff; }
.so-fccard { display: flex; gap: 14px; align-items: flex-end; padding: 12px; border-radius: 18px; background: var(--grad-soft); }
.so-fcfig { width: 120px; flex: none; aspect-ratio: 92 / 212; }
.so-fcfig svg { width: 100%; height: 100%; display: block; }
.so-fcinfo { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.so-fcname { font-size: var(--fs-lg, 20px); }
.so-clipb.on { background: var(--grad); color: #fff; }
.so-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.so-tile {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; min-height: 96px;
  border: 0; border-radius: 16px; color: #fff; text-align: center;
  background: linear-gradient(150deg, var(--c1), var(--c2));
  background: linear-gradient(150deg, color-mix(in srgb, var(--c1) 70%, #140f22), color-mix(in srgb, var(--c2) 60%, #140f22));
}
.so-tile b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-danger { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- inbox, search ---------- */

.so-inbox { list-style: none; margin: 0; padding: 0; }
.so-ibrow {
  width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: var(--tap, 44px);
  padding: 10px 6px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); text-align: left;
}
.so-ibrow.new { background: rgba(255, 79, 154, .08); }
.so-users { display: flex; flex-direction: column; gap: 6px; }
.so-urow {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px; border: 0; border-radius: 14px;
  background: var(--ink-3); color: var(--text); text-align: left;
}
.so-urow .so-ubust { width: 44px; display: grid; place-items: center; font-size: 22px; }

/* ---------- face-claim editor ---------- */

.so-fcprev {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: center; gap: 12px;
  margin: 0 calc(-1 * var(--pad, 14px)); padding: 8px var(--pad, 14px);
  background: linear-gradient(180deg, var(--ink-2) 80%, rgba(30, 24, 48, 0));
}
.so-fcfull { width: 96px; aspect-ratio: 92 / 212; }
.so-fcbust { width: 110px; aspect-ratio: 5 / 6; border-radius: 16px; overflow: hidden; background: var(--ink-3); }
.so-fcfull svg, .so-fcbust svg { width: 100%; height: 100%; display: block; }
.so-hairs { display: grid; grid-auto-flow: column; grid-auto-columns: 84px; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.so-hair {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px; border: 2px solid transparent;
  border-radius: 14px; background: var(--ink-3); color: var(--text);
}
.so-hair.on { border-color: var(--pink); }
.so-hair small { font-size: 11px; line-height: 1.2; text-align: center; }
.so-hthumb { width: 70px; aspect-ratio: 5 / 6; display: block; }
.so-hthumb svg { width: 100%; height: 100%; display: block; }
.so-sws { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.so-sw {
  position: relative; width: 38px; height: 38px; padding: 0; border-radius: 50%;
  border: 3px solid transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .2);
}
.so-sw.on { border-color: #fff; }
.so-custom { display: grid; place-items: center; background: var(--ink-3); overflow: hidden; cursor: pointer; }
.so-custom input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.so-cliprow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
/* Round 5: the builder tabs (💇 Hair · 🙂 Face · 👗 Outfit · 🧍 Pose), one styler panel at a time */
.so-fctabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 12px 0 6px; padding: 4px; border-radius: 14px; background: var(--ink, #14101f); }
.so-fctab {
  min-height: 48px; min-width: 0; padding: 4px 2px; border: 0; border-radius: 10px; background: transparent; color: var(--muted, #b8aed3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font: 700 12px/1.1 var(--font-body, system-ui);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.so-fctab span { font-size: 19px; line-height: 1.1; }
.so-fctab.on { background: var(--grad, linear-gradient(120deg, #ff4f9a, #8b5cff 55%, #22d3ee)); color: #fff; }
.so-fcpanel { min-width: 0; max-width: 100%; margin-bottom: 6px; }
.so-fcpanel .sy-top { position: static; background: none; padding-top: 0; }
.so-file { position: relative; overflow: hidden; }
.so-file input { position: absolute; inset: 0; opacity: 0; }
.so-rec { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px; border-radius: 14px; background: rgba(255, 93, 115, .12); }
.so-recdot { color: var(--red, #ff5d73); animation: so-blink 1s steps(2) infinite; }
.so-meter { flex: 1 1 120px; height: 10px; border-radius: 5px; background: var(--ink-3); overflow: hidden; }
.so-meter i { display: block; height: 100%; background: var(--grad); transition: width .1s linear; }
@keyframes so-blink { 50% { opacity: .2; } }

/* ---------- auditions ---------- */

.so-calls { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.so-callrow {
  display: flex; flex-direction: column; align-items: stretch; gap: 4px; width: 100%; padding: 12px; margin: 6px 0;
  border: 1px solid var(--line); border-radius: 16px; background: var(--ink-3); color: var(--text); text-align: left;
}
.so-cband { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; border: 0; background: none; color: var(--text); padding: 0; text-align: left; }
.so-cband.big { font-size: var(--fs-lg, 20px); min-height: var(--tap, 44px); }
.so-ctext { overflow-wrap: anywhere; }
.so-ctext.big { font-size: var(--fs-md, 17px); margin: 10px 0 4px; }
.so-cmeta { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.so-app { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.so-ainfo { min-width: 0; flex: 1; }
.so-anote { margin: 4px 0; font-style: italic; }
.so-applybox { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; }
.so-applybox .btn { margin-top: 8px; }

/* ---------- share sheet ---------- */

.so-shstage { margin: 8px 0; border-radius: 18px; overflow: hidden; }
.so-shsongs { display: flex; flex-direction: column; gap: 6px; }
.so-shsong { display: flex; gap: 6px; align-items: center; }
.so-shsong .chip { flex: 1; justify-content: flex-start; min-height: var(--tap, 44px); }
.so-done { text-align: center; }

/* ---------- the Label screen card ---------- */

.so-acct-card {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; text-align: left; color: var(--text);
  border: 1px solid var(--line-2); background: var(--grad-soft);
}
.so-acct-i { font-size: 28px; }
.so-acct-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.so-acct-t small { color: var(--muted); }

/* ---------- admin ---------- */

.so-atop { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding-right: 44px; }
.so-rep { padding: 10px 12px; margin: 8px 0; border-radius: 14px; background: var(--ink-3); }
.so-rep.done { opacity: .6; }
.so-rep .row { gap: 6px; margin-top: 6px; }
.so-pv { margin: 6px 0; padding: 6px 8px; border-left: 3px solid var(--pink); background: rgba(0, 0, 0, .2); }

@media (max-width: 380px) {
  .so-tab { padding: 6px 7px; font-size: 13px; }
  .so-tool { width: 40px; }
}
@media (min-width: 700px) {
  .so-fcfull { width: 120px; }
  .so-fcbust { width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .so-recdot { animation: none; }
  .so-prog i, .so-meter i { transition: none; }
}

/* ==========================================================================================
 * Round 6 (docs/v-pop-round6.md §10): email accounts, karaoke and music videos on the feed and the
 * band page, album tracklists, the 🎧 Music tab and its player bar. Still only so- classes.
 * ========================================================================================== */

/* ---------- sign in with an email, forgot password, the new-password and link sheets ---------- */

.so-hint { margin: 4px 2px 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.so-link {
  display: inline-block; min-height: var(--tap, 44px); margin: 2px 0 0; padding: 10px 2px; border: 0; background: none;
  color: var(--cyan, #22d3ee); font-weight: 700; font-size: var(--fs-sm, 14px); text-decoration: underline; text-underline-offset: 3px;
}
.so-forgot .lbl, .so-reset .lbl, .so-mailset .lbl { display: block; margin-top: 12px; }
.so-forgot .btn.full, .so-reset .btn.full { margin-top: 14px; }
.so-sent, .so-vfail { text-align: center; }
.so-sent .so-ok { text-align: left; }
.so-mailset .row { margin-top: 14px; }

/* ---------- ⚙️ Account: the ✉️ Email row ---------- */

.so-em {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; align-items: center;
  padding: 12px; border-radius: 16px; background: var(--ink-3); border: 1px solid var(--line);
}
.so-em-i { grid-row: span 2; align-self: start; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; font-size: 22px; background: rgba(34, 211, 238, .14); }
.so-em-t { display: flex; flex-direction: column; min-width: 0; }
.so-em-t small { color: var(--muted); overflow-wrap: anywhere; }
.so-em-b { display: flex; flex-wrap: wrap; gap: 6px; }
.so-em-b .btn { min-height: var(--tap, 44px); }
.so-em-ok .so-em-i { background: rgba(46, 230, 160, .16); }
.so-em-ok .so-em-t small { color: var(--green, #2ee6a0); font-weight: 700; }
.so-em-wait .so-em-i { background: rgba(255, 176, 32, .16); }
.so-em-note { margin: 6px 2px 0; }

/* ---------- karaoke and music videos on the stages ---------- */

.so-kara { pointer-events: none; }
.so-kara[hidden] { display: none; }
.so-card .so-kara {
  position: absolute; z-index: 4; left: 10px; right: 80px; bottom: 150px;
  padding: 6px 10px; border-radius: 14px; background: rgba(5, 3, 10, .55);
}
.so-bkara { margin: 8px auto 0; width: min(100%, 36dvh); min-height: 44px; padding: 6px 10px; border-radius: 14px; background: var(--ink-3); }
.so-bst { position: relative; }
.so-bst > .stage { width: 100%; }
.so-mvon { background: #07050d; }
.so-stage.so-mvon > * { max-width: 100%; max-height: 100%; }
.so-badge.ly { background: rgba(34, 211, 238, .32); }
.so-badge.mv { background: rgba(255, 176, 32, .36); }
.so-badge.al { background: rgba(46, 230, 160, .3); }

/* ---------- the band page: the picked song, its likes and plays, an album's tracklist ---------- */

.so-srow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 4px 0 2px; }
.so-srow .so-badges .so-badge { margin-top: 0; }
.so-slike.on { background: var(--pink); color: #fff; border-color: transparent; }
.so-splays { color: var(--muted); font-size: var(--fs-sm, 14px); font-weight: 700; }
.so-listen { margin-left: auto; }
.so-tl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.so-tlrow {
  width: 100%; min-height: 48px; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 28px; align-items: center; gap: 8px;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--ink-3); color: var(--text); text-align: left;
}
.so-tlrow:active { background: var(--ink-4); }
.so-tln { font-weight: 800; color: var(--muted); text-align: center; }
.so-tlt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.so-tlstar { color: var(--gold, #ffd166); font-weight: 800; }
.so-tli { color: var(--muted); }
.so-tlp { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; font-size: 12px; }

/* ---------- 🎧 the Music tab ---------- */

.so-music { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.so-music.so-guest { height: 100%; overflow-y: auto; overflow-x: hidden; padding: 8px 12px 0; -webkit-overflow-scrolling: touch; }
.so-music.so-guest .so-mu-head { padding-right: 52px; }   /* room for core's ✕ */
.so-mu-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.so-mu-top h2 { margin: 0; font-size: var(--fs-xl, 24px); line-height: 1.15; }
.so-mu-acct { flex: none; }
.so-mu-tabs {
  display: flex; gap: 6px; margin: 10px 0 2px; padding-bottom: 4px;
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
}
.so-mu-tabs::-webkit-scrollbar { display: none; }
.so-mu-tab {
  flex: none; min-height: var(--tap, 44px); display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
  border: 1px solid var(--line-2); border-radius: var(--r-pill, 999px); background: var(--ink-3); color: var(--muted);
  font: 800 var(--fs-sm, 14px)/1 var(--font-body, system-ui); white-space: nowrap;
}
.so-mu-tab span { font-size: 17px; }
.so-mu-tab.on { color: #fff; border-color: transparent; background: var(--grad); box-shadow: 0 4px 16px rgba(255, 79, 154, .3); }
.so-mu-list { display: flex; flex-direction: column; gap: 8px; }
.so-mu-card {
  position: relative; display: flex; align-items: stretch; gap: 4px; min-width: 0;
  border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden;
}
.so-mu-card.now { border-color: rgba(255, 79, 154, .6); background: linear-gradient(120deg, rgba(255, 79, 154, .14), rgba(139, 92, 255, .12) 60%, var(--ink-2)); }
.so-mu-play {
  flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 4px 10px 10px;
  border: 0; background: none; color: var(--text); text-align: left;
}
.so-mu-art {
  position: relative; flex: none; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 14px; overflow: hidden;
  background: linear-gradient(145deg, var(--c1, #ff4f9a), var(--c2, #8b5cff));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 6px 14px rgba(0, 0, 0, .3);
}
.so-mu-art .vp-logo, .so-mu-art .so-logo { transform: scale(1.15); }
.so-mu-pi {
  position: absolute; right: 4px; bottom: 4px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 10px; padding-left: 2px;
}
.so-mu-eq { display: none; position: absolute; left: 0; right: 0; bottom: 6px; height: 20px; justify-content: center; align-items: flex-end; gap: 3px; font-style: normal; }
.so-mu-eq b { display: block; width: 4px; height: 30%; border-radius: 2px; background: #fff; box-shadow: 0 0 6px rgba(255, 255, 255, .6); animation: so-eq .9s ease-in-out infinite; }
.so-mu-eq b:nth-child(2) { animation-delay: -.3s; }
.so-mu-eq b:nth-child(3) { animation-delay: -.6s; }
.so-mu-card.playing .so-mu-eq, .so-pb.playing .so-pb-art .so-mu-eq { display: flex; }
.so-mu-card.playing .so-mu-pi { display: none; }
.so-mu-card.playing .so-mu-art .vp-logo, .so-mu-card.playing .so-mu-art .so-logo { opacity: .35; }
@keyframes so-eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.so-mu-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.so-mu-title { font-size: var(--fs-md, 17px); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-mu-sub { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-mu-tags { display: flex; flex-wrap: wrap; gap: 3px 8px; margin-top: 2px; color: var(--dim, #8379a3); font-size: 12px; font-weight: 700; }
.so-mu-side { flex: none; width: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px 6px 6px 0; }
.so-mu-like, .so-mu-mv {
  width: 52px; min-height: var(--tap, 44px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  border: 0; border-radius: 14px; background: none; color: var(--text); padding: 2px 0; font-size: 18px; line-height: 1.1;
}
.so-mu-like small { font-size: 11px; font-weight: 800; color: var(--muted); }
.so-mu-like.on { color: var(--pink); }
.so-mu-like.on small { color: var(--pink); }
.so-mu-like:active, .so-mu-mv:active { background: rgba(255, 255, 255, .08); }
.so-mu-plays { font-size: 11px; font-weight: 800; color: var(--dim, #8379a3); }
.so-mu-msg { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 16px; text-align: center; color: var(--muted); }
.so-mu-msg p { margin: 0; max-width: 32ch; }
.so-mu-more { margin: 6px 0 12px; }
.so-mu-search { margin: 2px 0 8px; }
.so-mu-hint { margin: 6px 2px; }
.so-mu-bandbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.so-mu-bandbar .chip { min-height: var(--tap, 44px); }
.so-mu-bandname { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: var(--fs-md, 17px); }
.so-mu-bandname b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-mu-pbhost:empty, .so-mu-pbhost[hidden] { display: none; }
.so-music.so-guest .so-mu-pbhost { position: sticky; bottom: 0; z-index: 3; padding: 8px 0 calc(8px + var(--sa-b, 0px)); background: linear-gradient(to top, var(--ink, #14101f) 70%, rgba(20, 16, 31, 0)); }

/* ---------- the player bar (#mbar above the Today bar, or its own slot) ---------- */

.so-pb { position: relative; pointer-events: auto; max-width: 440px; margin: 0 auto 8px; }
.so-pb[hidden], .so-pb:not(.on) { display: none; }
.so-pb.on {
  display: block; border-radius: 18px; overflow: hidden;
  background: linear-gradient(120deg, rgba(42, 34, 66, .97), rgba(30, 24, 48, .97));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 79, 154, .12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.so-pb.playing { border-color: rgba(255, 79, 154, .45); }
.so-pb-prog { position: relative; height: 4px; background: rgba(255, 255, 255, .1); }
.so-pb-prog i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .25s linear; }
.so-pb-prog.seek { height: 6px; cursor: pointer; }
.so-pb-row { display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 8px; min-width: 0; }
.so-pb-art {
  position: relative; flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; overflow: hidden;
  background: linear-gradient(145deg, var(--c1, #ff4f9a), var(--c2, #8b5cff));
}
.so-pb-art .vp-logo, .so-pb-art .so-logo { transform: scale(.8); }
.so-pb.playing .so-pb-art .vp-logo, .so-pb.playing .so-pb-art .so-logo { opacity: .35; }
.so-pb-art .so-mu-eq { bottom: 4px; height: 16px; }
.so-pb-meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; padding: 0 4px; }
.so-pb-title { font-size: var(--fs-sm, 14px); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-pb-sub { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.so-pb-b {
  flex: none; width: var(--tap, 44px); height: var(--tap, 44px); display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 50%; background: none; color: var(--text); font-size: 18px;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.so-pb-b:active { background: rgba(255, 255, 255, .1); }
.so-pb-main { background: var(--grad); color: #fff; box-shadow: 0 4px 14px rgba(255, 79, 154, .35); }
.so-pb-main:disabled { opacity: .7; }
.so-pb-like.on { color: var(--pink); }
.so-pb-kara { padding: 0 12px 8px; min-height: 22px; font-size: 14px; }
.so-pb-kara[hidden] { display: none; }
.so-pb-x {
  position: absolute; z-index: 2; top: 4px; right: 0; width: var(--tap, 44px); height: var(--tap, 44px); padding: 0;
  border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 13px;
}
.so-pb.paused .so-pb-row { padding-right: 40px; }
.so-pb-float {
  position: fixed; z-index: 95; left: calc(10px + var(--sa-l, 0px)); right: calc(10px + var(--sa-r, 0px)); bottom: calc(10px + var(--sa-b, 0px));
}

@media (max-width: 359px) {
  .so-mu-art { width: 50px; height: 50px; }
  .so-mu-side { width: 54px; }
  .so-pb-art { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .so-mu-eq b { animation: none; height: 60%; }
  .so-pb-prog i { transition: none; }
}

/* ---------- round 7 (2026-10-01): her profile picture as a band's or the label's picture ----------
 * social.pfpBadgeHTML: the face claim's bust, cropped round her head, on the band's colours (--l1 / --l2). It sits
 * wherever an emoji logo badge sat, at the same 1.9em size; the Music cards and the player bar fill their art box. */
.so-pfp {
  position: relative; display: inline-block; width: 1.9em; height: 1.9em; flex: none; vertical-align: middle; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 42%), linear-gradient(135deg, var(--l1, #ff4f9a), var(--l2, #8b5cff));
  box-shadow: inset 0 -.12em .25em rgba(0, 0, 0, .2), 0 .08em .3em rgba(0, 0, 0, .3), 0 0 0 .08em rgba(255, 255, 255, .55);
}
.so-pfp > svg { display: block; width: 100%; height: 100%; max-width: none; }
.so-pfp > .so-fb { display: grid; place-items: center; width: 100%; height: 100%; font-size: 1.05em; }
.so-pfp.so-pfp-lock { font-size: .8em; }
.so-ph .so-pfp { transform: scale(2.2); }
.so-mu-art .so-pfp, .so-pb-art .so-pfp { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.so-mu-card.playing .so-mu-art .so-pfp, .so-pb.playing .so-pb-art .so-pfp { opacity: .35; }
