/* ================================================================
   EGWU DESIGN SYSTEM  —  ds.css  (loaded after app.css, overrides it)
   Palette, type and tokens follow the mobile app theme (FlutterFlowTheme, dark mode):
     primary #004AAD · secondary #39D2C0 · tertiary #EE8B60 · alternate #262D34
     primaryText #FFFFFF · secondaryText #95A1AC
     primaryBackground #1D2428 · secondaryBackground #14181B
     success #249689 · warning #F9CF58 · error #FF5963 · purple #C21DC8
   Type: Inter Tight 600 (headings) + Inter (body). Spacing 4/8/16/24/32. Radius 8/16/24.
================================================================ */

:root {
  /* brand */
  --primary:   #004aad;
  --primary-h: #0a5bd0;            /* hover — lifted primary for dark surfaces */
  --primary-t: #5b9bf5;            /* primary as text/icon on dark (contrast) */
  --primary-a: rgba(0,74,173,.22);
  --secondary: #39d2c0;
  --secondary-a: rgba(57,210,192,.13);
  --tertiary:  #ee8b60;
  --tertiary-a: rgba(238,139,96,.14);
  --purple:    #c21dc8;
  --success:   #249689;  --success-t:#39d2c0;  --success-a:rgba(36,150,137,.16);
  --warning:   #f9cf58;  --warning-a:rgba(249,207,88,.13);
  --error:     #ff5963;  --error-a:rgba(255,89,99,.13);

  /* surfaces */
  --bg:   #14181b;    /* secondaryBackground — page */
  --sf:   #1a1f23;    /* sidebar / top bar / inputs */
  --card: #1d2428;    /* primaryBackground — cards */
  --raise:#262d34;    /* alternate — raised / hover / segmented on */
  --line: #262d34;    /* borders */
  --line2:#323b44;

  /* text */
  --tx:  #ffffff;
  --tx2: #e3e8ec;
  --mu:  #95a1ac;     /* secondaryText */
  --fa:  #5f6b76;

  /* tokens */
  --sp1:4px; --sp2:8px; --sp3:16px; --sp4:24px; --sp5:32px;
  --r-sm:8px; --r-md:16px; --r-lg:24px;
  --sh-sm:0 1px 3px rgba(0,0,0,.1); --sh-md:0 3px 6px rgba(0,0,0,.1); --sh-lg:0 8px 15px rgba(0,0,0,.1); --sh-xl:0 16px 25px rgba(0,0,0,.1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-h: 'Inter Tight', 'Inter', system-ui, sans-serif;

  /* legacy variables used across app.css / page templates, remapped */
  --blue: var(--primary); --blue2: #003a8a; --blue3: var(--primary-t); --blue-a: var(--primary-a);
  --s1: var(--sf); --s2: var(--card); --s3: var(--raise);
  --brd: var(--line); --brd2: var(--line2);
  --txt: var(--tx2); --dim: var(--mu); --faint: var(--fa);
  --green: var(--success-t); --amber: var(--warning); --red: var(--error);
  --sb-w: 248px; --tb-h: 60px;
}

/* ── Base ─────────────────────────────────────────────────────── */
html { font-size: 14px; }
body { font-family: var(--font); background: var(--bg); color: var(--tx2); line-height: 1.5; font-feature-settings: "cv11","ss01"; }
h1,h2,h3,h4 { font-family: var(--font-h); font-weight: 600; color: var(--tx); letter-spacing: -.01em; }
::placeholder { color: var(--fa); }
::-webkit-scrollbar-thumb { background: var(--line2); }
::selection { background: rgba(0,74,173,.45); color: #fff; }
.num, .sc-val, .tbl td, .mi-stat { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--primary-t); outline-offset: 2px; }

/* ── Shell ────────────────────────────────────────────────────── */
.dash-shell { background: var(--bg); }
.sidebar {
  width: var(--sb-w); background: var(--sf); border-right: 1px solid var(--line);
  padding: 18px 14px 14px; display: flex; flex-direction: column; gap: 0;
}
.sb-brand { padding: 4px 8px 14px; display: flex; align-items: center; height: auto; border: 0; margin: 0; }
.sb-brand img { height: 30px !important; width: auto; }
.sb-nav { flex: 1; overflow-y: auto; padding: 0; margin: 0 -4px; padding: 0 4px; }
.sb-group {
  font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--fa); padding: 18px 10px 6px;
}
.sb-group:first-child { padding-top: 6px; }
.sb-link {
  display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; margin: 1px 0;
  border-radius: var(--r-sm); color: var(--mu); font-size: 13.5px; font-weight: 500;
  transition: background .15s, color .15s;
}
.sb-link svg { width: 17px; height: 17px; flex-shrink: 0; opacity: .9; }
.sb-link:hover { background: rgba(255,255,255,.04); color: var(--tx); }
.sb-link.active { background: var(--primary-a); color: #fff; font-weight: 600; }
.sb-link.active svg { color: var(--primary-t); opacity: 1; }
.sb-link .sb-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--warning-a); color: var(--warning); font-size: 11px; font-weight: 600; display: grid; place-items: center; }

.sb-bottom { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; }
.sb-plan {
  display: block; border: 1px solid var(--line); border-radius: 12px; padding: 14px;
  background: linear-gradient(160deg, rgba(0,74,173,.28), rgba(0,74,173,0) 62%), var(--card);
  transition: border-color .15s;
}
.sb-plan:hover { border-color: var(--line2); }
.sb-plan-top { display: flex; align-items: center; gap: 8px; font-family: var(--font-h); font-weight: 600; font-size: 14px; color: #fff; }
.sb-plan-top svg { width: 15px; height: 15px; color: var(--warning); }
.sb-plan-sub { font-size: 12px; color: var(--mu); margin: 3px 0 10px; }
.sb-meter { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.sb-meter i { display: block; height: 100%; border-radius: 3px; background: var(--primary-t); transition: width .4s; }
.sb-meter-lbl { display: flex; justify-content: space-between; font-size: 11px; color: var(--mu); margin-top: 6px; }
.sb-plan.free .sb-plan-top svg { color: var(--mu); }
.sb-plan.none { background: var(--warning-a); border-color: rgba(249,207,88,.25); }
.sb-plan.none .sb-plan-top svg { color: var(--warning); }

.sb-me { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; position: relative; cursor: pointer; }
.sb-me:hover { background: rgba(255,255,255,.04); }
.sb-av {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; overflow: hidden;
  background: linear-gradient(135deg, #1a6ef0, var(--primary)); color: #fff; font: 600 12px var(--font);
}
.sb-av img { width: 100%; height: 100%; object-fit: cover; }
.sb-me-info { min-width: 0; flex: 1; }
.sb-uname { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-urole { font-size: 12px; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-me > svg { width: 16px; height: 16px; color: var(--mu); flex-shrink: 0; }
.sb-user, .sb-foot { display: none; }   /* replaced by .sb-me */

/* top bar */
.main { margin-left: var(--sb-w); }
.topbar {
  height: var(--tb-h); background: rgba(20,24,27,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); padding: 0 32px; gap: 12px;
}
.tb-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mu); min-width: 0; }
.tb-crumb .sep { color: var(--fa); }
.tb-title { font: 500 13px var(--font); color: var(--tx); letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-logo { display: none; }
.tb-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tb-av { width: 34px; height: 34px; font: 600 12px var(--font); background: linear-gradient(135deg,#1a6ef0,var(--primary)); border: 0; }
.tb-ham { display: none; width: 36px; height: 36px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--sf); color: var(--mu); }
.tb-dd { background: var(--card); border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.45); padding: 6px; min-width: 230px; }
.tb-dd-head { padding: 10px; }
.tb-dd hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.tb-dd-item { border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--tx2); padding: 8px 10px; display: flex; align-items: center; gap: 10px; }
.tb-dd-item svg { width: 15px; height: 15px; color: var(--mu); }
.tb-dd-item:hover { background: var(--raise); }
.tb-dd-item.danger { color: var(--error); }
.tb-dd-item.danger svg { color: var(--error); }
.main-inner { padding: 28px 32px 56px; max-width: 1360px; }

/* page header */
.page-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: 24px; line-height: 1.2; }
.page-head p { color: var(--mu); margin-top: 4px; font-size: 14px; }
.page-head-r { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ── Cards ────────────────────────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-sm); margin-bottom: 16px; overflow: hidden; }
.card-hd { padding: 16px 20px; border-bottom: 1px solid var(--line); gap: 12px; }
.card-hd h3 { font-family: var(--font-h); font-size: 15px; font-weight: 600; color: #fff; }
.card-hd p { font-size: 12.5px; color: var(--mu); margin-top: 2px; }
.card-bd { padding: 20px; }
.card-bd-np { padding: 0; }

/* stat tiles */
.stat-row, .stat-row-dash, .stat-row-mymusic, .stat-row-insights, .stat-row-withdraw { gap: 16px; margin-bottom: 20px; }
.stat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 20px; box-shadow: var(--sh-sm); position: relative; overflow: hidden; min-width: 0;
}
.stat-card::before { display: none; }
.sc-lbl { font: 500 12.5px var(--font); text-transform: none; letter-spacing: 0; color: var(--mu); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.sc-val { font: 600 26px/1.15 var(--font-h); color: #fff; letter-spacing: -.02em; }
.sc-sub { font-size: 12px; color: var(--mu); margin-top: 8px; }
.sc-ico { width: 28px; height: 28px; border-radius: 8px; background: var(--raise); display: grid; place-items: center; color: var(--tx2); }
.sc-ico svg { width: 15px; height: 15px; }
.delta { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 600; border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.delta.up { color: var(--success-t); background: var(--success-a); }
.delta.dn { color: var(--error); background: var(--error-a); }
.delta.flat { color: var(--mu); background: rgba(255,255,255,.05); }
.spark { display: block; width: 100%; height: 34px; margin-top: 12px; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  height: 38px; padding: 0 16px; border-radius: var(--r-sm); font: 600 13.5px var(--font); letter-spacing: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .15s; white-space: nowrap; text-decoration: none;
}
.btn svg { width: 16px; height: 16px; }
.btn-p { background: var(--primary); color: #fff; border-color: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 4px 14px rgba(0,74,173,.35); }
.btn-p:hover:not(:disabled) { background: var(--primary-h); transform: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 6px 18px rgba(0,74,173,.45); }
.btn-s { background: var(--raise); color: var(--tx); border-color: var(--line2); }
.btn-s:hover:not(:disabled) { background: #2e363e; border-color: #3c4650; }
.btn-d { background: var(--error-a); color: var(--error); border-color: rgba(255,89,99,.28); }
.btn-d:hover:not(:disabled) { background: var(--error); color: #fff; }
.btn-warn { background: var(--warning-a); color: var(--warning); border-color: rgba(249,207,88,.28); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 7px; }
.btn-sm svg { width: 14px; height: 14px; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn-icon { width: 32px; padding: 0; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-link { color: var(--primary-t); font-weight: 600; background: none; border: 0; display: inline-flex; gap: 6px; align-items: center; padding: 0; }
.btn-add-feat { height: 40px; border-radius: var(--r-sm); background: var(--raise); border: 1px solid var(--line2); color: #fff; font: 600 13px var(--font); padding: 0 16px; }
.btn-add-feat:hover { background: #2e363e; }

/* ── Badges / status pills ───────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 99px;
  font: 500 12px var(--font); text-transform: none; letter-spacing: 0; border: 1px solid; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.badge-green { color: var(--success-t); background: var(--success-a); border-color: rgba(57,210,192,.28); }
.badge-amber { color: var(--warning); background: var(--warning-a); border-color: rgba(249,207,88,.28); }
.badge-red   { color: var(--error); background: var(--error-a); border-color: rgba(255,89,99,.28); }
.badge-blue  { color: var(--primary-t); background: var(--primary-a); border-color: rgba(91,155,245,.3); }
.badge-dim   { color: var(--mu); background: rgba(255,255,255,.04); border-color: var(--line2); }
.badge-orange{ color: var(--tertiary); background: var(--tertiary-a); border-color: rgba(238,139,96,.3); }

/* ── Segmented filter tabs ───────────────────────────────────── */
.ftabs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-bottom: 16px; }
.ftab {
  height: 32px; padding: 0 13px; border-radius: var(--r-sm); background: transparent; border: 1px solid transparent;
  color: var(--mu); font: 500 13px var(--font); transition: background .15s, color .15s;
}
.ftab:hover { color: var(--tx); background: rgba(255,255,255,.04); }
.ftab.on { background: var(--raise); border-color: var(--line2); color: #fff; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--sf); border: 1px solid var(--line); }
.seg .ftab { height: 28px; border: 0; }
.seg .ftab.on { background: var(--raise); box-shadow: 0 1px 2px rgba(0,0,0,.3); }

/* ── Tables ──────────────────────────────────────────────────── */
.tbl { border-collapse: collapse; }
.tbl th { font: 500 12px var(--font); text-transform: none; letter-spacing: 0; color: var(--mu); padding: 11px 20px; background: rgba(255,255,255,.02); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { font-size: 13.5px; color: var(--tx2); padding: 13px 20px; border-bottom: 1px solid var(--line); }
.tbl tbody tr:hover td { background: rgba(255,255,255,.02); }

/* ── Lists (songs, albums, events, merch) → table-like rows ──── */
.mi-list, .mi-list-music { display: flex; flex-direction: column; gap: 0; padding: 0; }
.mi {
  display: flex; align-items: center; gap: 16px; padding: 12px 20px;
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; transition: background .12s;
}
.mi:last-child { border-bottom: 0; }
.mi:hover { background: rgba(255,255,255,.02); }
.mi-row { display: contents; }
.mi-art { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--raise); flex-shrink: 0; overflow: hidden; order: 1; }
.mi-art img { width: 100%; height: 100%; object-fit: cover; }
.mi-info { flex: 1 1 200px; min-width: 0; order: 2; }
.mi-title { font: 500 14px var(--font); color: #fff; }
.mi-meta { font-size: 12.5px; color: var(--mu); gap: 8px; margin-top: 3px; flex-wrap: wrap; }
.mi-stats { order: 3; display: flex; align-items: center; gap: 22px; padding: 0; border: 0; margin: 0; background: none; flex-shrink: 0; }
.mi-stat { font: 500 13px var(--font); color: var(--tx2); display: flex; flex-direction: column; align-items: flex-end; gap: 0; min-width: 64px; text-align: right; }
.mi-stat small, .mi-stat .k { font-size: 11px; font-weight: 400; color: var(--mu); }
.mi-acts { order: 4; gap: 6px; }
.mi-acts .btn-sm { height: 30px; }
.play-song-btn {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line2); background: var(--raise); color: #fff;
  display: grid; place-items: center; transition: background .15s;
}
.play-song-btn:hover, .play-song-btn.is-playing { background: var(--primary); border-color: var(--primary); }
.play-song-btn svg { width: 12px; height: 12px; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-row { gap: 16px 18px; }
.fg { gap: 7px; }
.fg label, .auth-fld label { font: 500 13px var(--font); color: var(--tx2); }
.fg label small { font-weight: 400; color: var(--mu); }
.fi, .fsel, .fta, .auth-inp, .msel-btn {
  background: var(--bg); border: 1px solid var(--line2); border-radius: var(--r-sm); color: #fff;
  font: 400 14px var(--font); min-height: 40px; transition: border-color .15s, box-shadow .15s;
}
.fi, .fsel, .msel-btn, .auth-inp { height: 40px; padding: 0 12px; }
.fta { padding: 10px 12px; line-height: 1.5; }
.fi:hover, .fsel:hover, .fta:hover, .msel-btn:hover { border-color: #414b55; }
.fi:focus, .fsel:focus, .fta:focus, .auth-inp:focus, .msel.open .msel-btn {
  border-color: var(--primary-t); box-shadow: 0 0 0 3px rgba(0,74,173,.3); outline: none;
}
.msel-panel { background: var(--card); border: 1px solid var(--line2); border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.msel-opt:hover { background: var(--raise); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--primary); }
input[type="checkbox"] { width: 16px; height: 16px; }
.tag { background: var(--raise); border: 1px solid var(--line2); color: var(--tx); border-radius: 99px; font-size: 12.5px; font-weight: 500; }
.dz, .art-dz { border: 1.5px dashed var(--line2); background: var(--bg); border-radius: 12px; }
.dz:hover, .art-dz:hover { border-color: var(--primary-t); background: rgba(0,74,173,.06); }
.dz-ico, .art-dz > span:first-of-type { filter: grayscale(1) opacity(.7); }
.dz-lbl { font: 600 14px var(--font); color: #fff; }
.dz-chip { background: var(--raise); border: 1px solid var(--line2); color: var(--mu); border-radius: 6px; font: 500 11px var(--font); }
.prog-fill { background: var(--primary-t); }
.upload-row { gap: 24px; }
.art-dz-lbl { color: var(--mu); }

/* ── Modals & toasts ─────────────────────────────────────────── */
.modal-overlay { background: rgba(8,10,12,.72); backdrop-filter: blur(4px); }
.modal-box { background: var(--card); border: 1px solid var(--line2); border-radius: var(--r-md); box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.modal-head { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.modal-head h3, .modal-head h4 { font: 600 16px var(--font-h); color: #fff; }
.modal-close { border-radius: var(--r-sm); background: var(--raise); border: 1px solid var(--line2); color: var(--mu); }
.modal-body { padding: 20px; }
.toast { background: var(--raise); border: 1px solid var(--line2); border-left: 3px solid var(--primary-t); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.45); font: 500 13px var(--font); color: #fff; }
.toast-ok { border-left-color: var(--success-t); }
.toast-err { border-left-color: var(--error); }
.toast-warn { border-left-color: var(--warning); }

/* ── Empty states, gates, banners (emoji replaced by line icons) ─ */
.pg-empty { padding: 48px 20px; }
.pg-empty .ei, .sub-gate-ico, .sub-banner-ico {
  font-size: 0 !important; line-height: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--raise);
  display: grid !important; place-items: center; margin: 0 auto 16px; flex-shrink: 0; position: relative;
}
.pg-empty .ei::before, .sub-gate-ico::before, .sub-banner-ico::before {
  content: ""; width: 22px; height: 22px; background: var(--mu);
  -webkit-mask: var(--ico) center/contain no-repeat; mask: var(--ico) center/contain no-repeat;
}
.pg-empty .ei { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E"); }
.sub-gate-ico, .sub-banner.inactive .sub-banner-ico { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }
.sub-banner.active .sub-banner-ico { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E"); }
.sub-gate-ico::before { background: var(--warning); }
.sub-banner.active .sub-banner-ico::before { background: var(--primary-t); }
.sub-banner.inactive .sub-banner-ico::before { background: var(--warning); }
.pg-empty h3 { font: 600 16px var(--font-h); color: #fff; margin-bottom: 6px; }
.pg-empty p { color: var(--mu); font-size: 13.5px; max-width: 340px; }
.sub-gate { padding: 40px 20px; gap: 10px; }
.sub-gate-title { font: 600 18px var(--font-h); }
.sub-gate-desc { max-width: 380px; font-size: 14px; color: var(--mu); }
.sub-banner {
  border-radius: 12px; padding: 14px 16px; gap: 14px; align-items: center; margin-bottom: 20px;
  background: var(--card); border: 1px solid var(--line);
}
.sub-banner-ico { width: 40px; height: 40px; border-radius: 10px; margin: 0; }
.sub-banner.active { background: linear-gradient(100deg, rgba(0,74,173,.2), rgba(0,74,173,0) 60%), var(--card); border-color: rgba(91,155,245,.25); }
.sub-banner.active .sub-banner-ico { background: var(--primary-a); }
.sub-banner.inactive { background: linear-gradient(100deg, rgba(249,207,88,.1), rgba(249,207,88,0) 60%), var(--card); border-color: rgba(249,207,88,.25); }
.sub-banner.inactive .sub-banner-ico { background: var(--warning-a); }
.sub-banner-info h4 { font: 600 14.5px var(--font-h); color: #fff; }
.sub-banner-info p { font-size: 13px; color: var(--mu); margin-top: 2px; }
.pg-loading .spinner, .app-boot-spinner { border-color: var(--line2); border-top-color: var(--primary-t); }

/* ── Dashboard ───────────────────────────────────────────────── */
.dg-kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-bottom: 16px; }
.dg-2 { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 16px; margin-bottom: 0; }
.dg-2 > .card { margin-bottom: 16px; }
.bal-big { font: 600 32px/1.1 var(--font-h); color: #fff; letter-spacing: -.02em; margin: 2px 0 4px; }
.bal-sub { font-size: 12.5px; color: var(--mu); }
.kv { display: flex; flex-direction: column; margin: 18px 0; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line2); font-size: 13.5px; }
.kv span { color: var(--mu); }
.kv b { font-weight: 500; color: #fff; }
.attn { display: flex; flex-direction: column; }
.attn-i { display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-top: 1px solid var(--line); color: inherit; transition: background .12s; }
.attn-i:first-child { border-top: 0; }
.attn-i:hover { background: rgba(255,255,255,.02); }
.attn-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.attn-ic svg { width: 16px; height: 16px; }
.attn-i b { display: block; font-size: 13.5px; font-weight: 500; color: #fff; }
.attn-i span { font-size: 12.5px; color: var(--mu); }
.attn-i > svg { margin-left: auto; width: 16px; height: 16px; color: var(--fa); flex-shrink: 0; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--mu); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.song-cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.song-cell .cv { width: 38px; height: 38px; border-radius: 7px; background: var(--raise); overflow: hidden; flex-shrink: 0; }
.song-cell .cv img { width: 100%; height: 100%; object-fit: cover; }
.song-cell b { font-weight: 500; color: #fff; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.song-cell span { font-size: 12px; color: var(--mu); }
.mbar { display: inline-flex; align-items: center; gap: 10px; justify-content: flex-end; }
.mbar .t { width: 64px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.mbar .t i { display: block; height: 100%; background: var(--primary-t); border-radius: 3px; }
.tbl .n { text-align: right; }

/* ── Plan cards — same design language as egwu.africa/pricing ── */
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 20px; align-items: stretch; }
@media (min-width: 700px)  { .plans-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1280px) { .plans-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.plan-card {
  background: #1C2427; border: 1px solid #283136; border-radius: 28px;
  padding: clamp(24px,3vw,28px) clamp(20px,2.4vw,24px);
  position: relative; display: flex; flex-direction: column; min-width: 0;
  transition: transform .25s;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card.featured {
  border: 2px solid #1F6FE0;
  box-shadow: 0 0 0 6px rgba(31,111,224,.10), 0 24px 60px rgba(0,0,0,.35);
  background: radial-gradient(120% 70% at 50% 0%, rgba(31,111,224,.20), transparent 60%), #1C2427;
}
.plan-card.current { border: 2px solid var(--success-t); box-shadow: 0 0 0 6px rgba(57,210,192,.08); }
.plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.plan-name { font-family: var(--font-h); font-size: 22px; font-weight: 700; color: #fff; line-height: 1.1; }
.plan-cycle {
  display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 100px;
  font-size: 12px; font-weight: 600; color: #8A97A3;
  background: rgba(255,255,255,.05); border: 1px solid #283136;
}
.plan-badge {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  background: rgba(31,111,224,.16); border: 1px solid rgba(91,155,255,.45); color: #A9C9FF;
  border-radius: 100px; padding: 5px 12px;
  font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.plan-badge.curr { background: var(--success-a); border-color: rgba(57,210,192,.35); color: var(--success-t); }
.plan-price-row { margin: 20px 0; }
.plan-price { font-family: var(--font-h); font-size: 34px; font-weight: 700; color: #fff; line-height: 1; letter-spacing: -.02em; }
.plan-price-per { font-size: 16px; font-weight: 500; color: #8A97A3; letter-spacing: 0; }
.plan-divider { height: 1px; background: #283136; margin: 20px 0; }
.plan-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.plan-feature { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: #C9D2DA; line-height: 1.4; }
.plan-check {
  width: 22px; height: 22px; min-width: 22px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
  background: rgba(31,111,224,.16); border: 1px solid rgba(91,155,255,.32); color: #7FB0FF;
}
.plan-feature.is-no { color: #8A97A3; }
.plan-feature.is-no .plan-check { background: rgba(255,255,255,.04); border-color: #34424B; color: #8A97A3; }
.plan-cta {
  display: flex; align-items: center; justify-content: center; width: 100%;
  margin-top: 26px; padding: 15px; border-radius: 12px; border: 1px solid transparent;
  font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  background: #004AAD; color: #fff; transition: background .2s, border-color .2s;
}
.plan-cta:hover:not(:disabled) { background: #1F6FE0; }
.plan-cta.cta-default { background: transparent; border-color: #3A4852; }
.plan-cta.cta-default:hover:not(:disabled) { background: transparent; border-color: #8A97A3; }
.plan-cta:disabled { opacity: .45; cursor: not-allowed; }
.plan-cta.is-current, .plan-cta.is-current:disabled {
  background: var(--success-a); border-color: rgba(57,210,192,.3); color: var(--success-t);
  opacity: 1; cursor: default;
}

/* ── Misc components ─────────────────────────────────────────── */
.ord-card, .bank-card, .promo-card, .bulk-row, .song-check-item, .song-order-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.ord-card:hover { border-color: var(--line2); }
.ord-name, .bank-name, .promo-title { font-family: var(--font); font-weight: 600; }
.ord-amt { color: var(--primary-t); font-weight: 600; }
.wallet-card { background: linear-gradient(135deg, #00265a 0%, var(--primary) 60%, #1a6ef0 100%); border-radius: var(--r-md); }
.wc-bal { font: 600 36px var(--font-h); }
.txn-title { font-weight: 500; }
.txn-amt { font-weight: 600; }
.section-tab { font: 500 13.5px var(--font); color: var(--mu); }
.section-tab.on, .section-tab.active { color: #fff; border-bottom-color: var(--primary-t); }
.an-tag { background: var(--raise); }
.an-tip { background: var(--raise); border-color: var(--line2); }
.an-mini-kpis div { background: var(--bg); border-color: var(--line); border-radius: 10px; }
.an-mini-kpis b { font-family: var(--font-h); font-weight: 600; }
.chart-bar { background: var(--primary-t); }
.mini-player { background: rgba(26,31,35,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.mp-btn.play-btn { background: var(--primary); }
.mp-prog-fill { background: var(--primary-t); }
.EasyMDEContainer .CodeMirror { background: var(--bg); border-color: var(--line2); color: #fff; border-radius: 0 0 var(--r-sm) var(--r-sm); }
.EasyMDEContainer .editor-toolbar { background: var(--sf); border-color: var(--line2); border-radius: var(--r-sm) var(--r-sm) 0 0; }

/* ── Auth ────────────────────────────────────────────────────── */
.auth-shell { background: radial-gradient(1200px 600px at 50% -10%, rgba(0,74,173,.35), transparent 60%), var(--bg); }
.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.auth-card-stripe { display: none; }
.auth-tabs { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.auth-tab { border-radius: 7px; font: 500 13.5px var(--font); }
.auth-tab.on { background: var(--raise); box-shadow: 0 1px 2px rgba(0,0,0,.3); color: #fff; }
.auth-btn { background: var(--primary); border-radius: var(--r-sm); font: 600 14px var(--font); height: 44px; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 6px 18px rgba(0,74,173,.35); }
.auth-btn:hover:not(:disabled) { background: var(--primary-h); transform: none; }
.google-btn, .apple-btn { border-radius: var(--r-sm); height: 44px; font: 500 14px var(--font); background: var(--raise); border: 1px solid var(--line2); color: #fff; }
.acct-opt { border-radius: 12px; background: var(--bg); border-color: var(--line2); }
.acct-opt.on { border-color: var(--primary-t); background: rgba(0,74,173,.14); }
.auth-panel h2, .auth-panel h1 { font-family: var(--font-h); font-weight: 600; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .dg-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dg-2 { grid-template-columns: 1fr; }
}
.tb-dd { top: calc(100% + 8px); }
@media (max-width: 959px) {
  .main { margin-left: 0; }
  .tb-ham { display: grid; place-items: center; }
  .tb-logo { display: block; height: 24px; }
  .tb-crumb { display: none; }
  .topbar { padding: 0 16px; }
  .main-inner { padding: 20px 16px 48px; }
}
@media (max-width: 900px) {
  .mi { flex-wrap: wrap; padding: 12px 16px; gap: 12px; }
  .mi-info { flex: 1 1 0; }
  .mi-stats { order: 5; flex-basis: 100%; justify-content: flex-start; gap: 18px; padding-left: 56px; }
  .mi-stat { align-items: flex-start; text-align: left; min-width: 0; }
  .mi-acts { order: 3; }
  .page-head h1 { font-size: 20px; }
  .page-head-r { margin-left: 0; }
}
@media (max-width: 560px) {
  .dg-kpis { gap: 10px; }
  .stat-card { padding: 14px; }
  .sc-val { font-size: 20px; }
  .card-hd { padding: 14px 16px; }
  .card-bd { padding: 16px; }
  .tbl th, .tbl td { padding: 11px 14px; }
  .hide-sm { display: none !important; }
  .tb-upload-lbl { display: none; }
  .mi-acts .btn-sm:not(.btn-icon):has(svg) { font-size: 0; width: 30px; padding: 0; gap: 0; }
}

/* ── Patches after stage-1 review ─────────────────────────────── */
.sb-link .sb-count { flex: 0 0 auto; }
.thumb-ph { display: grid; place-items: center; border-radius: 8px; background: var(--raise); color: var(--mu); }
.mi-art .thumb-ph { width: 100% !important; height: 100% !important; }
.mi-stat { color: #fff; }
.card-hd .seg { margin: -2px 0; }
@media (max-width: 520px) {
  .mi-acts { width: auto; flex-wrap: nowrap; gap: 6px; }
  .mi-acts .btn { font-size: 12px; padding: 0 9px; }
  .mi-acts .btn-icon { padding: 0; width: 30px; }
  .mi-info { flex: 1 1 0; }
  .mi-stats { padding-left: 0; gap: 0; justify-content: space-between; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
  .mi-stat { min-width: 0; }
}
.badge.cnt::before { display: none; }
.an-chart { width: 100%; min-height: 190px; }
.an-ax { font-family: var(--font); font-size: 11px; fill: var(--fa); }
.an-grid { stroke: rgba(255,255,255,.06); }
.an-ins { align-items: center; }
.an-ins-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--raise); display: grid; place-items: center; flex-shrink: 0; }
.an-ins-ic svg { width: 15px; height: 15px; }
.an-mini-kpis span { text-transform: none; letter-spacing: 0; font-size: 11.5px; }
.an-filter .ftab { height: 30px; }
.mi-stat .v { display: block; white-space: nowrap; }
.mi-stat .v s { color: var(--mu); font-weight: 400; margin-right: 4px; }
.msel-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.msel-lbl { color: #fff; } .msel-lbl.ph { color: var(--fa); }
.EasyMDEContainer .CodeMirror { background: var(--bg) !important; color: #fff !important; min-height: 200px; height: 240px; }
.EasyMDEContainer .CodeMirror-scroll { min-height: 200px !important; }
.EasyMDEContainer .editor-toolbar button { color: var(--mu) !important; }
.EasyMDEContainer .editor-toolbar button:hover { background: var(--raise) !important; border-color: transparent !important; }
.editor-statusbar { color: var(--fa) !important; }
.ord-list { gap: 10px; }
.ord-card { padding: 16px 20px; }
.bank-ico { font-size: 0 !important; display: grid; place-items: center; background: var(--raise); border-radius: 10px; }
.bank-ico::before { content: ""; width: 18px; height: 18px; background: var(--mu);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M3 10h18M5 6l7-3 7 3M4 10v11M20 10v11M8 14v3M12 14v3M16 14v3'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M3 10h18M5 6l7-3 7 3M4 10v11M20 10v11M8 14v3M12 14v3M16 14v3'/%3E%3C/svg%3E") center/contain no-repeat; }
.section-tab { display: inline-flex; align-items: center; gap: 7px; }
.section-tab svg { width: 15px; height: 15px; }
.stat-row-withdraw .sc-val { color: #fff !important; }

/* ── Notifications bell ─────────────────────────────────────── */
.nt-wrap { position: relative; }
.nt-btn { width: 36px; height: 36px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--sf); color: var(--mu); display: grid; place-items: center; position: relative; }
.nt-btn:hover { color: #fff; border-color: var(--line2); }
.nt-btn svg { width: 17px; height: 17px; }
.nt-dot { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--error); color: #fff; font: 600 10.5px/14px var(--font); text-align: center; border: 2px solid var(--bg); }
.nt-panel { display: none; position: absolute; right: 0; top: calc(100% + 8px); width: 360px; max-width: calc(100vw - 24px); background: var(--card); border: 1px solid var(--line2); border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.5); z-index: 9999; overflow: hidden; }
.nt-panel.open { display: block; }
.nt-hd { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.nt-hd b { font: 600 14px var(--font-h); color: #fff; }
.nt-hd .btn-link { font-size: 12.5px; }
.nt-list { max-height: 420px; overflow-y: auto; }
.nt-item { display: flex; gap: 12px; width: 100%; text-align: left; padding: 12px 16px; background: none; border: 0; border-bottom: 1px solid var(--line); color: inherit; cursor: pointer; position: relative; }
.nt-item:last-child { border-bottom: 0; }
.nt-item:hover { background: rgba(255,255,255,.03); }
.nt-item.unread { background: rgba(0,74,173,.08); }
.nt-item.unread::after { content: ""; position: absolute; right: 14px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-t); }
.nt-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--raise); color: var(--mu); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; position: relative; }
.nt-ic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nt-ic svg { width: 16px; height: 16px; }
.nt-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-right: 14px; }
.nt-txt b { font-size: 13px; font-weight: 600; color: #fff; }
.nt-txt span { font-size: 12.5px; color: var(--mu); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nt-txt small { font-size: 11.5px; color: var(--fa); }
.nt-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 36px 20px; text-align: center; color: var(--mu); font-size: 12.5px; }
.nt-empty svg { width: 22px; height: 22px; }
.nt-empty b { color: #fff; font-size: 13.5px; }

/* ── Promotion budgets ──────────────────────────────────────── */
.promo-budget { margin-top: 8px; max-width: 320px; }
.promo-budget-bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.promo-budget-bar i { display: block; height: 100%; background: var(--tertiary); border-radius: 3px; }
.promo-budget small { font-size: 11.5px; color: var(--mu); }
.mi-meta svg { width: 12px; height: 12px; vertical-align: -1px; }
.card-hd .seg .ftab { display: inline-flex; align-items: center; gap: 6px; }
.card-hd .seg .ftab svg { width: 14px; height: 14px; }
@media (max-width: 560px) { .tb-right { gap: 6px; } }

/* ── Logo — tightly cropped wordmark (logo-wordmark.svg), sized on purpose ── */
.sb-brand { display: flex; align-items: flex-end; gap: 10px; padding: 8px 10px 22px; margin: 0 0 4px; border-bottom: 1px solid var(--line); }
.sb-brand img { height: 36px !important; width: auto; display: block; }
.sb-brand-tag {
  font: 600 10px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--mu);
  border: 1px solid var(--line2); border-radius: 99px; padding: 4px 8px 3px; margin-bottom: 4px; white-space: nowrap;
}
.sb-nav { padding-top: 6px; }
.tb-logo { height: 28px; width: auto; }
.auth-logo img { height: 46px; width: auto; display: block; }

/* ── Onboarding: preferred genres ───────────────────────────── */
.ob-shell { display: flex; align-items: flex-start; justify-content: center; padding: 56px 16px 40px; min-height: 100svh; }
.ob-wrap { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 24px; }
.ob-logo { align-self: flex-start; }
.ob-card { padding: 32px; }
.ob-head { margin-bottom: 24px; }
.ob-step { display: inline-block; font: 600 11px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--primary-t); margin-bottom: 10px; }
.ob-head h1 { font-size: 26px; line-height: 1.2; }
.ob-head p { color: var(--mu); margin-top: 8px; font-size: 14.5px; max-width: 520px; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ob-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 99px;
  background: var(--bg); border: 1px solid var(--line2); color: var(--tx2); font: 500 14px var(--font);
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.ob-chip:hover { border-color: #46515c; color: #fff; }
.ob-chip:active { transform: scale(.97); }
.ob-tick { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; color: transparent; transition: inherit; }
.ob-tick svg { width: 11px; height: 11px; }
.ob-chip.on { background: var(--primary-a); border-color: var(--primary-t); color: #fff; }
.ob-chip.on .ob-tick { background: var(--primary); border-color: var(--primary); color: #fff; }
.ob-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.ob-count { font-size: 13px; color: var(--mu); }
.ob-card .auth-err { margin-top: 14px; }
@media (max-width: 560px) { .ob-card { padding: 22px 18px; } .ob-head h1 { font-size: 22px; } .ob-foot .btn { width: 100%; } .ob-shell { padding-top: 32px; } }
.auth-shell.ob-shell { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.ob-wrap { margin: 0 auto; }
.ob-card.auth-card { max-width: none; width: 100%; margin: 0; }

/* Social sign-in buttons — hover must match the dark style above (app.css still has light/black hovers) */
.google-btn:hover, .apple-btn:hover { background: #2e363e; border-color: #46515c; color: #fff; transform: none; }
.google-btn:focus-visible, .apple-btn:focus-visible { outline: 2px solid var(--primary-t); outline-offset: 2px; }
.google-btn:active, .apple-btn:active { background: #262d34; }

/* ── Verify email ───────────────────────────────────────────── */
.vf-wrap { max-width: 520px; }
.vf-card { text-align: left; }
.vf-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-a); color: var(--primary-t); display: grid; place-items: center; margin-bottom: 18px; }
.vf-ico svg { width: 24px; height: 24px; }
.vf-card h1 { font-size: 26px; line-height: 1.2; margin-top: 2px; }
.vf-p { color: var(--mu); font-size: 14.5px; margin-top: 10px; line-height: 1.6; }
.vf-p b { color: #fff; font-weight: 600; word-break: normal; overflow-wrap: anywhere; }
.vf-status { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 12px 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; color: var(--mu); }
.vf-status.ok { color: var(--success-t); border-color: rgba(57,210,192,.3); background: var(--success-a); }
.vf-status svg { width: 16px; height: 16px; }
.vf-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--warning); box-shadow: 0 0 0 0 rgba(249,207,88,.6); animation: vfPulse 1.6s infinite; flex-shrink: 0; }
@keyframes vfPulse { 0% { box-shadow: 0 0 0 0 rgba(249,207,88,.55); } 70% { box-shadow: 0 0 0 9px rgba(249,207,88,0); } 100% { box-shadow: 0 0 0 0 rgba(249,207,88,0); } }
.vf-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.vf-actions .btn { flex: 1 1 200px; }
.vf-foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mu); line-height: 1.6; }
.vf-foot a { color: var(--primary-t); font-weight: 600; }
.vf-card .auth-err { margin-top: 12px; }

/* ── Dropdowns (fix) ─────────────────────────────────────────────
   The shared input rule above uses the `background` shorthand, which wiped the native select's
   chevron image. Restore it here, theme the open option list, and pin the custom multi-select
   label to the vertical centre. */
:root { color-scheme: dark; }
select.fsel, .fsel {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2395a1ac' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 14px 14px;
  padding-right: 38px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
}
.fsel:focus { background-color: var(--bg); }
.fsel:disabled { opacity: .55; cursor: not-allowed; }
select option, select optgroup { background-color: var(--card); color: #fff; }
.fsel-multi { background-image: none; padding-right: 12px; height: auto; }

.msel-btn { flex-wrap: nowrap; align-content: center; align-items: center; text-align: left; padding: 0 12px; }
.msel-lbl { display: block; flex: 1 1 auto; min-width: 0; align-self: center; line-height: 1.3; font-weight: 400; }
.msel-btn svg { width: 14px; height: 14px; color: var(--mu); }
.msel-panel { padding: 6px; }
.msel-opt, .csel-opt { border-radius: 7px; padding: 9px 10px; font-size: 13.5px; color: var(--tx2); }
.msel-opt:hover, .csel-opt:hover { background: var(--raise); color: #fff; }
.csel-opt.on { background: var(--primary-a); color: #fff; }

/* ── Mobile: no mid-word breaking in controls; tab rows scroll instead of squashing ── */
.btn, .ftab, .badge, .tag, .plan-badge, .delta, .sb-link, .section-tab, .nt-hd b { overflow-wrap: normal; word-break: normal; white-space: nowrap; }
.seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.seg::-webkit-scrollbar { display: none; }
.seg .ftab { flex-shrink: 0; }
.ftabs { min-width: 0; max-width: 100%; }

/* ── Fan home ───────────────────────────────────────────────── */
.stat-link { display: block; color: inherit; transition: border-color .15s, transform .15s; }
.stat-link:hover { border-color: var(--line2); transform: translateY(-1px); }
.fan-lib { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; }
.fan-lib-i { display: flex; flex-direction: column; gap: 4px; color: inherit; min-width: 0; }
.fan-lib-art { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--raise); margin-bottom: 6px; }
.fan-lib-art img, .fan-lib-art .thumb-ph { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0; }
.fan-lib-art .badge { position: absolute; top: 8px; left: 8px; background: rgba(20,24,27,.75); backdrop-filter: blur(4px); }
.fan-lib-i b { font-size: 13.5px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fan-lib-i span { font-size: 12px; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fan-lib-i:hover b { color: var(--primary-t); }
@media (max-width: 1100px) { .fan-lib { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 560px) { .fan-lib { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; } }

/* tickets */
.tk-list { display: flex; flex-direction: column; }
.tk { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--line); }
.tk:first-child { border-top: 0; }
.tk.dim { opacity: .62; }
.tk-date { width: 48px; flex-shrink: 0; text-align: center; border: 1px solid var(--line2); border-radius: 10px; padding: 6px 0; background: var(--bg); }
.tk-date b { display: block; font: 600 18px/1.1 var(--font-h); color: #fff; }
.tk-date span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--tertiary); font-weight: 600; }
.tk-art { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--raise); flex-shrink: 0; }
.tk-art img, .tk-art .thumb-ph { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0; }
.tk-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tk-info b { font-size: 14px; font-weight: 600; color: #fff; }
.tk-info span { font-size: 12.5px; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.tk-side small { font-size: 11.5px; color: var(--mu); }
.tk-side code { font: 500 11px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--fa); }
@media (max-width: 560px) { .tk { padding: 12px 16px; gap: 10px; } .tk-art { display: none; } .tk-side code { display: none; } }

/* payment cards */
.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.pay-card {
  position: relative; border-radius: 16px; padding: 18px 18px 16px; min-height: 168px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #2b333b 0%, #1d2428 100%); border: 1px solid var(--line2);
  display: flex; flex-direction: column; gap: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.pay-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.05); }
.pay-card.default { background: linear-gradient(135deg, #0a5bd0 0%, #004aad 55%, #00265a 100%); border-color: rgba(91,155,245,.45); }
.pay-card.brand-mastercard:not(.default) { background: linear-gradient(135deg, #3a2a24 0%, #1d2428 100%); }
.pay-card.brand-verve:not(.default) { background: linear-gradient(135deg, #123a36 0%, #1d2428 100%); }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; position: relative; z-index: 1; }
.pc-brand { font: 700 16px var(--font-h); letter-spacing: .02em; }
.pc-default { font: 600 10.5px var(--font); text-transform: uppercase; letter-spacing: .08em; background: rgba(255,255,255,.18); padding: 3px 8px; border-radius: 99px; }
.pc-chip { width: 36px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #d9c27a, #a9883d); opacity: .9; position: relative; z-index: 1; }
.pc-num { font: 500 15px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; position: relative; z-index: 1; white-space: nowrap; }
.pc-bot { display: flex; justify-content: space-between; gap: 12px; position: relative; z-index: 1; }
.pc-bot small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.pc-bot b { font-size: 13px; font-weight: 600; }
.pc-bot b.pc-exp { color: #ffb4b8; }
.pc-meta { font-size: 11.5px; color: rgba(255,255,255,.6); position: relative; z-index: 1; margin-top: -4px; }
.pay-card.big { min-height: 178px; }

/* artist ⇄ fan switch */
.view-switch svg { width: 15px; height: 15px; }

/* ════════════════════════════════════════════════════════════════
   Library player — egwu.africa Discover design language (v2 approved)
   Mirrors css/discover.css: 76px bar, white round play/pause, flat blue
   progress, floating pill on phones, heavy headings, orange eyebrows.
   ════════════════════════════════════════════════════════════════ */
:root { --dx-acc: #EE8B61; --dx-blue: #004AAD; --dx-blue-hi: #1F6FE0; --dx-blue-tx: #7FB0FF; --dx-line: #283136; --dx-line2: #34424B; --dx-card: #1C2427; --dx-card2: #1B2226; --dx-mut: #8A97A3; --lp-h: 76px; }
.lp-eyebrow { font: 800 12px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--dx-acc); }
.lp-eyebrow.mut { color: var(--dx-mut); }
body.has-lp .main-inner { padding-bottom: calc(var(--lp-h) + 40px); }
body.has-lp .mini-player { display: none !important; }

/* bar */
.lp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: rgba(27,34,38,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--dx-line); transform: translateY(110%); transition: transform .3s ease; }
.lp-bar.show { transform: none; }
.lp-in { display: flex; align-items: center; gap: 18px; height: var(--lp-h); padding: 0 24px; }
.lp-now { display: flex; align-items: center; gap: 12px; min-width: 0; width: 280px; background: none; border: 0; color: inherit; text-align: left; padding: 0; cursor: pointer; }
.lp-art { width: 48px; height: 48px; border-radius: 10px; background: var(--dx-card2); overflow: hidden; flex-shrink: 0; }
.lp-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-meta { min-width: 0; display: flex; flex-direction: column; }
.lp-meta b { font: 800 15px var(--font); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-meta span { font-size: 13px; color: var(--dx-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-ctl { display: flex; align-items: center; gap: 8px; }
.lp-ib { width: 40px; height: 40px; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--tx2); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; transition: background .15s, color .15s; }
.lp-ib:hover { background: rgba(255,255,255,.06); color: #fff; }
.lp-ib.on { color: var(--dx-blue-tx); }
.lp-ib svg { width: 18px; height: 18px; }
.lp-pp { width: 44px; height: 44px; background: #fff; color: #14181B; border-color: #fff; }
.lp-pp:hover { background: #fff; color: #14181B; transform: scale(1.04); }
.lp-like.on { color: #FF5963; }
.lp-pbar { flex: 1; display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--dx-mut); font-variant-numeric: tabular-nums; min-width: 0; }
.lp-tr { flex: 1; height: 4px; border-radius: 4px; background: var(--dx-line); cursor: pointer; position: relative; }
.lp-tr::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; bottom: -8px; }
.lp-fill { width: 0; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--dx-blue), var(--dx-blue-hi)); }
.lp-right { display: flex; align-items: center; gap: 2px; color: var(--dx-mut); }
.lp-vol { display: flex; align-items: center; gap: 6px; padding: 0 6px; color: var(--dx-mut); }
.lp-vol svg { width: 18px; height: 18px; }
.lp-vol input { width: 90px; accent-color: var(--dx-blue-hi); }

/* desktop "up next" card */
.lp-upnext { position: fixed; right: 20px; bottom: calc(var(--lp-h) + 16px); width: 320px; max-height: calc(100vh - var(--lp-h) - 100px); overflow-y: auto; z-index: 299;
  background: var(--dx-card); border: 1px solid var(--dx-line2); border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.55); padding: 16px;
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; }
.lp-upnext.open { opacity: 1; transform: none; pointer-events: auto; }
.lp-un-art { width: 100%; height: 180px; border-radius: 16px; overflow: hidden; background: var(--dx-card2); }
.lp-un-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-upnext h3 { font: 900 20px var(--font); color: #fff; margin: 14px 0 2px; }
.lp-un-by { color: var(--dx-mut); font-size: 14px; }
.lp-un-h { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 6px; }
.lp-un-h b { font: 800 12px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--dx-mut); }
.lp-un-h span { font: 700 11px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--dx-mut); }
.lp-q { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 6px; border-radius: 10px; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; }
.lp-q:hover { background: rgba(255,255,255,.05); }
.lp-qa { border-radius: 8px; background: var(--dx-card2); overflow: hidden; flex-shrink: 0; display: block; }
.lp-qa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-q-t { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.lp-q-t b { font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-q-t span { font-size: 12.5px; color: var(--dx-mut); }
.lp-q-d { font-size: 12.5px; color: var(--dx-mut); }
.lp-un-empty { font-size: 13px; color: var(--dx-mut); padding: 8px 6px; }

/* phone: full-screen now playing */
.lp-sheet { position: fixed; inset: 0; z-index: 400; background: radial-gradient(130% 70% at 50% 0%, #0b2a5a 0%, #14181B 70%); padding: 14px 20px calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto; transform: translateY(100%); transition: transform .3s ease; display: flex; flex-direction: column; }
.lp-sheet.open { transform: none; }
body.lp-lock { overflow: hidden; }
.lp-sh-h { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.lp-sh-h div { text-align: center; min-width: 0; }
.lp-sh-h small { display: block; font: 700 10.5px var(--font); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.lp-sh-h b { font-size: 13.5px; font-weight: 700; color: #fff; }
.lp-sh-art { width: 100%; aspect-ratio: 1; border-radius: 22px; overflow: hidden; margin: 18px 0 22px; background: var(--dx-card2); box-shadow: 0 30px 60px rgba(0,0,0,.5); flex-shrink: 0; }
.lp-sh-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-sh-t { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.lp-sh-t h2 { font: 900 26px/1.1 var(--font); color: #fff; margin: 4px 0 2px; }
.lp-sh-t span { color: var(--tx2); }
.lp-sh-bar { margin: 22px 0 6px; flex: none; }
.lp-sh-bar .lp-tr { height: 5px; }
.lp-sh-ctl { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 18px; }
.lp-sh-ctl .lp-ib { width: 52px; height: 52px; color: #fff; }
.lp-sh-ctl .lp-ib svg { width: 24px; height: 24px; }
.lp-sh-ctl .lp-ib.on { color: #39D2C0; }
.lp-pp-xl { width: 72px !important; height: 72px !important; background: #fff !important; color: #14181B !important; }
.lp-lyr { margin-top: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--dx-line); border-radius: 18px; padding: 16px; }
.lp-lyr p { font: 800 17px/1.55 var(--font); color: rgba(255,255,255,.75); margin-top: 8px; }

@media (max-width: 1100px) { .lp-vol, #lpShuf, #lpRep { display: none; } .lp-now { width: 220px; } }
@media (max-width: 760px) {
  .lp-bar { left: 10px; right: 10px; bottom: calc(12px + env(safe-area-inset-bottom)); border-radius: 16px; border: 1px solid var(--dx-line2); box-shadow: 0 14px 34px rgba(0,0,0,.5); overflow: hidden; }
  .lp-in { height: 62px; gap: 10px; padding: 0 8px 0 10px; position: relative; }
  .lp-now { flex: 1; width: auto; }
  .lp-art { width: 44px; height: 44px; }
  .lp-hide-m, .lp-right .lp-ib:not(.lp-like), .lp-vol, .lp-upnext { display: none !important; }
  .lp-pbar { position: absolute; left: 12px; right: 12px; bottom: 0; gap: 0; }
  .lp-pbar > span { display: none; }
  .lp-pbar .lp-tr { height: 3px; }
  .lp-pp { width: 42px; height: 42px; }
  body.has-lp .main-inner { padding-bottom: 110px; }
}

/* ── /library page ─────────────────────────────────────────── */
.lib-feat { display: flex; gap: 32px; align-items: center; padding: 32px; border-radius: 28px; margin-bottom: 28px;
  background: radial-gradient(120% 140% at 0% 0%, #0b2a5a 0%, #101a24 55%, #14181B 100%); border: 1px solid var(--dx-line); }
.lib-feat-art { width: 200px; height: 200px; border-radius: 18px; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg, #0b3a8a, #1F6FE0); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.lib-feat-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-feat-tx { min-width: 0; }
.lib-feat h1 { font: 900 44px/1.02 var(--font); letter-spacing: -.02em; color: #fff; margin: 10px 0 12px; }
.lib-feat p { color: var(--tx2); font-size: 15px; } .lib-feat p b { color: #fff; }
.lib-btns { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.lib-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 12px; font: 700 15px var(--font);
  border: 1px solid var(--dx-line2); background: transparent; color: #fff; cursor: pointer; text-decoration: none; white-space: nowrap; }
.lib-btn:hover { border-color: #4a5a65; }
.lib-btn svg { width: 18px; height: 18px; }
.lib-btn-w { background: #E9EEF2; color: #14181B; border-color: #E9EEF2; }
.lib-btn-w:hover { background: #fff; border-color: #fff; }
.lib-btn:disabled { opacity: .5; cursor: not-allowed; }
.lib-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.lib-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.lib-chip { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--dx-line2); background: transparent; font: 700 14px var(--font); color: var(--tx2); cursor: pointer; white-space: nowrap; }
.lib-chip:hover { color: #fff; border-color: #4a5a65; }
.lib-chip.on { background: #fff; color: #14181B; border-color: #fff; }
.lib-search { margin-left: auto; display: flex; align-items: center; gap: 10px; width: 300px; max-width: 100%; height: 42px; border: 1px solid var(--dx-line2); background: var(--dx-card2); border-radius: 12px; padding: 0 14px; color: var(--dx-mut); }
.lib-search svg { width: 16px; height: 16px; flex-shrink: 0; }
.lib-search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: #fff; font: 400 14px var(--font); }
.lib-sec { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.lib-sec h2 { font: 900 26px var(--font); letter-spacing: -.01em; color: #fff; margin-top: 4px; }
.lib-sec a { color: var(--dx-blue-tx); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lib-sec a svg { width: 14px; height: 14px; }
.lib-list { background: var(--dx-card); border: 1px solid var(--dx-line); border-radius: 22px; padding: 8px; }
.lib-row { display: grid; grid-template-columns: 36px 52px minmax(0,1fr) minmax(0,180px) 40px 56px 40px; align-items: center; gap: 14px; padding: 8px 14px; border-radius: 14px; }
.lib-row:hover { background: rgba(255,255,255,.04); }
.lib-n { text-align: center; font: 800 16px var(--font); color: var(--dx-acc); }
.lib-eq { display: none; gap: 2px; align-items: flex-end; height: 16px; justify-content: center; }
.lib-eq i { width: 3px; background: var(--dx-blue-tx); border-radius: 1px; transform-origin: bottom; animation: lpEq .9s ease-in-out infinite; }
.lib-eq i:nth-child(1) { height: 55%; animation-delay: -.2s; } .lib-eq i:nth-child(2) { height: 100%; animation-delay: -.5s; } .lib-eq i:nth-child(3) { height: 35%; animation-delay: -.1s; } .lib-eq i:nth-child(4) { height: 75%; animation-delay: -.35s; }
@keyframes lpEq { 0%,100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.lib-row.lp-playing { background: rgba(0,74,173,.14); }
.lib-row.lp-playing .lib-num { display: none; }
.lib-row.lp-playing .lib-eq { display: inline-flex; }
.lib-row.lp-paused .lib-eq i { animation-play-state: paused; }
.lib-row.lp-playing .lib-t a { color: var(--dx-blue-tx); }
.lib-cv { width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: var(--dx-card2); }
.lib-cv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-t { min-width: 0; display: flex; flex-direction: column; }
.lib-t a { font: 700 15px var(--font); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.lib-t a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lib-t span { font-size: 13.5px; color: var(--dx-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-al { font-size: 13.5px; color: var(--dx-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-like { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: var(--dx-mut); display: grid; place-items: center; cursor: pointer; }
.lib-like:hover { color: #fff; } .lib-like.on { color: #FF5963; }
.lib-like svg { width: 18px; height: 18px; }
.lib-d { font-size: 13.5px; color: var(--dx-mut); text-align: right; font-variant-numeric: tabular-nums; }
.lib-play, .fan-lib-play { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--dx-line2); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.lib-play svg, .fan-lib-play svg { width: 16px; height: 16px; }
.lib-play:hover, .lib-row:hover .lib-play, .lp-playing .lib-play { background: #fff; border-color: #fff; color: #14181B; }
.lib-play:disabled { opacity: .4; cursor: not-allowed; }
.lib-play span, .fan-lib-play span { display: grid; place-items: center; }
.lib-play .i-pause, .fan-lib-play .i-pause { display: none; }
.lp-playing:not(.lp-paused) .lib-play .i-play, .fan-lib-play.lp-playing:not(.lp-paused) .i-play { display: none; }
.lp-playing:not(.lp-paused) .lib-play .i-pause, .fan-lib-play.lp-playing:not(.lp-paused) .i-pause { display: grid; }
/* play button on the fan-home tiles */
.fan-lib-play { position: absolute; right: 10px; bottom: 10px; background: #fff; color: #14181B; border-color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.fan-lib-i:hover .fan-lib-play, .fan-lib-play.lp-playing, .fan-lib-play:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .fan-lib-play { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .lib-feat { flex-direction: column; align-items: stretch; padding: 20px; border-radius: 24px; gap: 18px; }
  .lib-feat-art { width: 100%; height: auto; aspect-ratio: 1; max-width: 320px; }
  .lib-feat h1 { font-size: 30px; }
  .lib-btns .lib-btn { flex: 1 1 140px; }
  .lib-row { grid-template-columns: 28px 48px minmax(0,1fr) 40px; gap: 12px; padding: 8px 10px; }
  .lib-al, .lib-like, .lib-d { display: none; }
  .lib-cv { width: 48px; height: 48px; }
  .lib-search { margin-left: 0; width: 100%; }
}

/* player fixes: no-cover placeholders, phone sheet progress bar, toasts above the bar */
.lib-cv:empty, .lp-art:empty, .lp-sh-art:empty, .lp-un-art:empty, .lp-qa:empty, .lib-feat-art:empty { position: relative; background: linear-gradient(135deg, #0b3a8a, #1F6FE0); }
.lib-cv:empty::after, .lp-art:empty::after, .lp-sh-art:empty::after, .lp-un-art:empty::after, .lp-qa:empty::after, .lib-feat-art:empty::after {
  content: ""; position: absolute; inset: 28%; background: rgba(255,255,255,.55);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E") center/contain no-repeat; }
.lp-sheet .lp-pbar { position: static; gap: 12px; }
.lp-sheet .lp-pbar > span { display: inline; }
body.has-lp #toastBox { bottom: calc(var(--lp-h) + 16px) !important; z-index: 450; }
@media (max-width: 760px) { body.has-lp #toastBox { bottom: 96px !important; } }
.lp-sh-t .lp-eyebrow { color: var(--dx-acc); }

/* ── Queue panel, row menus, playlists (2026-11-12) ─────────── */
/* library rows gain a "more" column */
.lib-row { grid-template-columns: 36px 52px minmax(0,1fr) minmax(0,180px) 40px 56px 40px 36px; }
.lib-more { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: var(--dx-mut); display: grid; place-items: center; cursor: pointer; padding: 0; }
.lib-more:hover { color: #fff; background: rgba(255,255,255,.06); }
.lib-more:disabled { opacity: .35; cursor: default; }
.lib-more svg { width: 18px; height: 18px; }
.lib-locked .lib-cv, .lib-locked .lib-t a { opacity: .6; }
.lib-get { font-style: normal; color: var(--dx-blue-tx); font-weight: 600; }
a.lib-play.lib-buy { color: var(--dx-blue-tx); border-color: rgba(91,155,255,.4); text-decoration: none; }
a.lib-play.lib-buy:hover, .lib-row:hover a.lib-play.lib-buy { background: rgba(31,111,224,.16); border-color: rgba(91,155,255,.6); color: #fff; }
.lib-btn-d { padding: 0 16px; color: #FF8A8F; }
.lib-btn-d:hover { border-color: rgba(255,89,99,.6); }
.lib-sec a svg { width: 15px; height: 15px; }
@media (max-width: 900px) { .lib-row { grid-template-columns: 28px 48px minmax(0,1fr) 40px 32px; } .lib-more { width: 32px; height: 32px; } }

/* action menu */
.lp-menu { position: fixed; z-index: 600; min-width: 220px; padding: 6px; background: var(--dx-card); border: 1px solid var(--dx-line2); border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.55); }
.lp-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: #fff; font: 600 14px var(--font); text-align: left; cursor: pointer; }
.lp-menu button:hover, .lp-menu button:focus-visible { background: rgba(255,255,255,.06); outline: none; }
.lp-menu button svg { width: 17px; height: 17px; color: var(--dx-mut); flex-shrink: 0; }
.lp-menu button.danger { color: #FF8A8F; }
.lp-menu button.danger svg { color: #FF8A8F; }
.lp-menu-sep { height: 1px; background: var(--dx-line); margin: 5px 4px; }

/* queue panel (replaces the old "up next" card content) */
.lp-upnext { width: 380px; padding: 18px 14px 14px; display: flex; flex-direction: column; }
.lp-qh { display: flex; align-items: flex-start; justify-content: space-between; padding: 0 4px 6px; }
.lp-qh h3 { margin: 4px 0 0; }
.lp-q-sec { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 14px 4px 6px; }
.lp-q-sec b { font: 800 11.5px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--dx-mut); }
.lp-q-sec span { font: 600 12px var(--font); color: var(--dx-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.lp-q { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px; border-radius: 12px; background: none; border: 1px solid transparent; color: inherit; text-align: left; cursor: default; }
.lp-q:hover { background: rgba(255,255,255,.04); }
.lp-q-now { background: rgba(0,74,173,.16); border-color: rgba(91,155,255,.25); gap: 12px; padding: 8px; }
.lp-q-now:hover { background: rgba(0,74,173,.2); }
.lp-q-now .lp-q-t b { color: var(--dx-blue-tx); }
.lp-q-main { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; background: none; border: 0; padding: 0; color: inherit; text-align: left; cursor: pointer; }
.lp-q-grip { color: var(--dx-mut); opacity: .5; cursor: grab; display: grid; place-items: center; width: 16px; flex-shrink: 0; }
.lp-q-grip svg { width: 16px; height: 16px; }
.lp-q:hover .lp-q-grip { opacity: 1; }
.lp-q-act { display: none; gap: 2px; }
.lp-q:hover .lp-q-act, .lp-q:focus-within .lp-q-act { display: flex; }
.lp-q-d { margin-left: auto; padding-right: 6px; }
.lp-q:hover .lp-q-d, .lp-q:focus-within .lp-q-d { display: none; }
.lp-qb { width: 30px; height: 30px; border-radius: 8px; border: 0; background: none; color: var(--dx-mut); display: grid; place-items: center; cursor: pointer; padding: 0; flex-shrink: 0; }
.lp-qb:hover:not(:disabled) { background: rgba(255,255,255,.08); color: #fff; }
.lp-qb:disabled { opacity: .3; cursor: default; }
.lp-qb svg { width: 15px; height: 15px; }
.lp-q.lp-drag { opacity: .45; }
.lp-q.lp-over { border-color: var(--dx-blue-hi); background: rgba(31,111,224,.12); }
.lp-q-list { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; min-height: 0; }
.lp-q-foot { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--dx-line); }
.lp-qf { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 10px; border: 1px solid var(--dx-line2); background: transparent; color: #fff; font: 700 13px var(--font); cursor: pointer; white-space: nowrap; }
.lp-qf:hover:not(:disabled) { border-color: #4a5a65; }
.lp-qf:disabled { opacity: .4; cursor: default; }
.lp-qf svg { width: 15px; height: 15px; }
@media (hover: none) { .lp-q-act { display: flex; } .lp-q .lp-q-d { display: none; } .lp-q-grip { display: none; } }

/* phone: queue is a full-screen sheet above the now-playing sheet */
.lp-sh-x { display: flex; gap: 10px; margin: 0 0 16px; }
.lp-sh-x button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff; font: 700 14px var(--font); cursor: pointer; }
.lp-sh-x button svg { width: 17px; height: 17px; }
@media (max-width: 760px) {
  .lp-upnext.open { display: flex !important; inset: 0; right: 0; bottom: 0; width: auto; max-height: none; border-radius: 0; border: 0; z-index: 450; padding: 14px 14px calc(16px + env(safe-area-inset-bottom)); background: #14181B; }
  .lp-upnext .lp-q-list { flex: 1; }
}

/* playlists grid */
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.pl-card { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 14px; border-radius: 18px; border: 1px solid var(--dx-line); background: var(--dx-card); color: #fff; text-align: left; cursor: pointer; font-family: var(--font); transition: border-color .15s, background .15s; min-width: 0; }
.pl-card:hover { border-color: var(--dx-line2); background: #212a2f; }
.pl-card b { font-size: 15px; font-weight: 800; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-card > span:last-child { font-size: 13px; color: var(--dx-mut); }
.pl-cv { width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #0b3a8a, #1F6FE0); color: rgba(255,255,255,.8); }
.pl-cv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-cv svg { width: 40%; height: 40%; }
.pl-new .pl-cv { background: transparent; border: 1.5px dashed var(--dx-line2); color: var(--dx-mut); }
.pl-new:hover .pl-cv { border-color: var(--dx-blue-hi); color: var(--dx-blue-tx); }
.pl-hero-art { display: grid; place-items: center; color: rgba(255,255,255,.85); }
.pl-hero-art svg { width: 42%; height: 42%; }
.pl-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 6px 10px 6px 4px; border: 0; background: none; color: var(--dx-mut); font: 700 14px var(--font); cursor: pointer; border-radius: 10px; }
.pl-back:hover { color: #fff; }
.pl-back svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .pl-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; } }

/* add-to-playlist picker (inside _showModal) */
.pl-pk-sub { color: #C9D2DA; font-size: 14px; margin: 0 0 14px; }
.pl-pk-new { display: flex; gap: 8px; margin-bottom: 14px; }
.pl-pk-new .fi { flex: 1; min-width: 0; }
.pl-pk-new .btn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pl-pk-new .btn svg { width: 16px; height: 16px; }
.pl-pk-list { display: flex; flex-direction: column; gap: 4px; max-height: 340px; overflow-y: auto; margin: 0 -4px; padding: 0 4px; }
.pl-pk-i { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 1px solid transparent; border-radius: 12px; background: none; color: #fff; text-align: left; cursor: pointer; font-family: var(--font); }
.pl-pk-i:hover:not(:disabled) { background: rgba(255,255,255,.05); border-color: var(--dx-line); }
.pl-pk-i:disabled { cursor: default; opacity: .65; }
.pl-pk-cv { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(135deg, #0b3a8a, #1F6FE0); color: rgba(255,255,255,.85); }
.pl-pk-cv img { width: 100%; height: 100%; object-fit: cover; }
.pl-pk-cv svg { width: 20px; height: 20px; }
.pl-pk-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pl-pk-t b { font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-pk-t span { font-size: 12.5px; color: var(--dx-mut); }
.pl-pk-s { color: var(--dx-blue-tx); font: 700 12.5px var(--font); display: grid; place-items: center; }
.pl-pk-s svg { width: 18px; height: 18px; }
.pl-pk-multi .pl-pk-i input { width: 18px; height: 18px; accent-color: var(--dx-blue-hi); flex-shrink: 0; }
.pl-pk-empty { padding: 18px 8px; text-align: center; color: var(--dx-mut); font-size: 14px; }

/* ── 2026-11-13: logo links to egwu.africa; notifications on phones ── */
.tb-logo-a { display: inline-flex; align-items: center; flex-shrink: 0; }
.sb-brand { cursor: pointer; }
@media (max-width: 760px) {
  /* the bell is not at the screen edge on phones, so pin the panel under the top bar, full width */
  .nt-panel { position: fixed; left: 10px; right: 10px; top: 62px; width: auto; max-width: none; border-radius: 16px; z-index: 520; }
  .nt-list { max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); }
  .nt-hd { padding: 14px; }
  .nt-item { padding: 12px 14px; }
  .nt-txt span { -webkit-line-clamp: 3; }
}

/* ── Fan wishlist (/wishlist): liked songs + albums ─────────── */
.lib .wl-row { grid-template-columns: 36px 52px minmax(0,1fr) minmax(0,160px) 40px 56px 40px; }
.wl-row .lib-al { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.wl-own { color: #34C28A; font-weight: 700; }
.wl-mp { display: none; font-style: normal; }
.wl-row .lib-like.on svg { fill: currentColor; }
.wl-cn { opacity: .6; font-weight: 600; margin-left: 2px; }
.wl-art { display: grid; place-items: center; background: linear-gradient(135deg, #5a1030, #FF5963); color: #fff; }
.wl-art > svg { width: 38%; height: 38%; }
@media (max-width: 900px) {
  .lib .wl-row { grid-template-columns: 48px minmax(0,1fr) 36px 40px; gap: 10px; padding: 8px; }
  .wl-row .lib-n, .wl-row .lib-al, .wl-row .lib-d { display: none; }
  .wl-row .lib-like { display: grid; }
  .wl-mp { display: inline; }
  .wl .lib-feat-art.wl-art { max-width: 160px; }
  .wl .lib-chip { flex: 1; padding: 0 10px; }
  .wl .lib-chips { width: 100%; flex-wrap: nowrap; }
}

/* ── Sales page (/sales, pageSales in js/egwu-commerce.js) ── */
.sl-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sl-tools .seg .ftab small { color: var(--mu); font-weight: 500; margin-left: 2px; }
.sl-q { width: 260px; max-width: 100%; height: 34px; }
.sl-row { display: grid; grid-template-columns: 120px minmax(0,1fr) 130px 130px; gap: 16px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--tx2); }
.sl-row:last-child { border-bottom: 0; }
.sl-row .n { text-align: right; font-variant-numeric: tabular-nums; }
.sl-hd { font: 500 12px var(--font); color: var(--mu); background: rgba(255,255,255,.02); padding-top: 10px; padding-bottom: 10px; }
.sl-it { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sl-it b { color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-it small { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--mu); font-size: 12px; }
.sl-it .badge { font-size: 10.5px; padding: 1px 7px; }
.sl-by { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sl-dm { display: none; white-space: nowrap; }
.sl-e { color: var(--success-t); font-weight: 600; }
.sl-d { color: var(--mu); }
@media (max-width: 900px) { .sl-row { grid-template-columns: 96px minmax(0,1fr) 100px 110px; gap: 12px; padding: 12px 14px; } }
@media (max-width: 640px) {
  .sl-tools { flex-direction: column; align-items: stretch; }
  .sl-q { width: 100%; }
  .sl-hd { display: none; }
  .sl-row { grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: start; padding: 12px 14px; }
  .sl-d, .sl-g { display: none; }
  .sl-dm { display: inline; }
  .sl-it small { flex-wrap: wrap; row-gap: 4px; }
  .sl-by { white-space: normal; }
}

/* sale rows open a receipt */
.sl-click { cursor: pointer; transition: background .15s; }
.sl-click:hover { background: rgba(255,255,255,.025); }
.sl-click:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
/* ── Sale receipt modal ── */
.modal-box.rc-modal { width: 440px; max-width: calc(100vw - 32px); }
.rc { border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); overflow: hidden; }
.rc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.rc-logo { height: 22px; width: auto; }
.rc-no { text-align: right; min-width: 0; }
.rc-no small { display: block; color: var(--mu); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; }
.rc-no b { color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; }
.rc-hero { text-align: center; padding: 20px 16px; border-bottom: 1px dashed var(--line2); }
.rc-hero small { color: var(--mu); font-size: 12px; }
.rc-amt { font: 700 30px var(--font-h); color: #fff; margin: 2px 0 8px; font-variant-numeric: tabular-nums; }
.rc-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--success-t); background: var(--success-a); border-radius: 99px; padding: 3px 10px; font-size: 12px; font-weight: 600; }
.rc-ok svg { width: 13px; height: 13px; }
.rc-sec { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.rc-sec:last-child { border-bottom: 0; }
.rc-ln { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 5px 0; font-size: 13.5px; }
.rc-ln span { color: var(--mu); flex-shrink: 0; }
.rc-ln b { color: var(--tx2); font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.rc-tot { margin-top: 6px; padding-top: 11px; border-top: 1px solid var(--line); font-size: 15px; }
.rc-tot span { color: #fff; font-weight: 600; }
.rc-tot b { color: var(--success-t); font-weight: 700; }
.rc-note { color: var(--mu); font-size: 12px; margin: 12px 2px 0; }
.rc-acts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
@media (max-width: 480px) { .rc-acts .btn { flex: 1 1 100%; justify-content: center; } }
.rc-ok.rc-wa { color: var(--warning); background: var(--warning-a); }
/* fan purchases (/purchases, pagePurchases in js/egwu-fan.js) reuse the .sl-* rows */
.sl-row.pu-row { grid-template-columns: 120px minmax(0,1fr) 140px; }
.pu-amt { color: #fff; font-weight: 600; }
@media (max-width: 900px) { .sl-row.pu-row { grid-template-columns: 96px minmax(0,1fr) 110px; } }
@media (max-width: 640px) { .sl-row.pu-row { grid-template-columns: minmax(0,1fr) auto; } }
.rc-sum .rc-tot:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
