/* ─────────────────────────────────────────────
   NightRequest — design system
   Theme: noir profond + or
   Mobile-first, 60fps animations
   ───────────────────────────────────────────── */

:root {
    --bg: #0a0a0a;
    --bg-soft: #141414;
    --bg-card: #1c1c1c;
    --bg-elevated: #242424;

    --gold: #d4af37;
    --gold-soft: #b8941f;
    --gold-bright: #f0c850;
    --gold-glow: rgba(212, 175, 55, 0.35);

    --text: #f5f5f5;
    --text-muted: #888;
    --text-dim: #555;

    --danger: #ff4757;
    --success: #2ed573;
    --warning: #ffa502;

    --border: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(212, 175, 55, 0.3);

    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 22px;

    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 8px 30px var(--gold-glow);

    --t-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
    --t: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    --header-h: 60px;
    --safe-bottom: env(safe-area-inset-bottom, 0);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overscroll-behavior: none;
}

a { color: var(--gold); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--gold-bright); }

.gold { color: var(--gold); }
.muted { color: var(--text-muted); font-size: 0.9em; }
.link { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.app-shell {
    min-height: 100vh;
    padding-bottom: var(--safe-bottom);
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius);
    background: var(--bg-card);
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t);
    user-select: none;
    min-height: 44px;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.2px;
}
.btn:active { transform: scale(0.97); }

.btn--gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
    color: #1a1a1a;
    box-shadow: var(--shadow-gold);
}
.btn--gold:hover { background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%); color: #1a1a1a; }

.btn--ghost {
    background: transparent;
    border: 1px solid var(--border-gold);
    color: var(--gold);
}
.btn--ghost:hover { background: rgba(212, 175, 55, 0.08); }

.btn--danger {
    background: rgba(255, 71, 87, 0.12);
    color: var(--danger);
    border: 1px solid rgba(255, 71, 87, 0.3);
}
.btn--danger:hover { background: rgba(255, 71, 87, 0.2); }

.btn--success { background: rgba(46,213,115,.15); color: var(--success); border: 1px solid rgba(46,213,115,.3); }
.btn--success:hover { background: rgba(46,213,115,.25); }
.btn--lg { padding: 16px 28px; font-size: 17px; min-height: 54px; }
.btn--sm { padding: 8px 14px; font-size: 13px; min-height: 36px; }
.btn--block { width: 100%; }

/* ─── FORMS ─── */
.form { display: flex; flex-direction: column; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.3px; text-transform: uppercase; }

.field input,
.field textarea,
.field select {
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 16px;
    font-family: inherit;
    transition: border var(--t-fast), background var(--t-fast);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--bg-elevated);
}

/* ─── FLASH ─── */
.flash {
    position: fixed;
    top: 16px; left: 50%; transform: translateX(-50%);
    z-index: 100;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-card);
    animation: flashIn 0.25s ease-out, flashOut 0.3s ease-in 4s forwards;
    max-width: 90%;
}
.flash--success { background: rgba(46, 213, 115, 0.15); color: var(--success); border: 1px solid rgba(46, 213, 115, 0.3); }
.flash--error   { background: rgba(255, 71, 87, 0.15); color: var(--danger); border: 1px solid rgba(255, 71, 87, 0.3); }

@keyframes flashIn { from { opacity: 0; transform: translate(-50%, -10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes flashOut { to { opacity: 0; transform: translate(-50%, -10px); } }

/* ─── HERO (landing) ─── */
.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(ellipse at top, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        var(--bg);
}
.hero__container { max-width: 880px; width: 100%; text-align: center; }

.hero__brand { margin-bottom: 48px; animation: riseIn 0.6s ease-out; }
.hero__monogram {
    width: 88px; height: 88px;
    margin: 0 auto 28px;
    border: 1.5px solid var(--gold);
    border-radius: 18px;
    display: grid; place-items: center;
    font-family: inherit;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--gold);
    background: transparent;
    transition: box-shadow 1.5s ease-in-out;
    animation: monogramPulse 4s ease-in-out infinite;
}
@keyframes monogramPulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--gold-glow); }
    50%      { box-shadow: 0 0 0 12px transparent; }
}
.hero__title { font-size: clamp(38px, 8vw, 64px); font-weight: 800; letter-spacing: -1px; margin-bottom: 8px; }
.hero__tagline { font-size: clamp(16px, 3vw, 19px); color: var(--text-muted); font-weight: 400; }

.hero__cta {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 64px;
    animation: riseIn 0.6s 0.15s ease-out backwards;
}

.hero__features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; animation: riseIn 0.6s 0.3s ease-out backwards; }

.feature {
    padding: 28px 24px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform var(--t), border var(--t);
    text-align: left;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-gold); }
.feature__num {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 18px;
    opacity: 0.85;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; color: var(--text); font-weight: 700; }
.feature p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

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

/* ─── AUTH (login/register) ─── */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--bg); }
.auth__card {
    width: 100%; max-width: 440px;
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    animation: riseIn 0.4s ease-out;
}
.auth__header { text-align: center; margin-bottom: 28px; }
.auth__title { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.auth__sub { color: var(--text-muted); font-size: 14px; }
.auth__footer { margin-top: 24px; text-align: center; color: var(--text-muted); font-size: 14px; }

/* ─── TOPBAR (admin/dj) ─── */
.topbar {
    position: sticky; top: 0; z-index: 50;
    height: var(--header-h);
    padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.topbar__brand { font-weight: 700; font-size: 17px; }
.topbar__divider { color: var(--text-dim); }
.topbar__user { color: var(--text-muted); font-size: 14px; }

.badge {
    padding: 3px 8px;
    background: var(--gold);
    color: #1a1a1a;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.badge--dj { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: white; }

/* ─── DASHBOARD (mobile-first) ─── */
.dashboard {
    padding: 16px;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
@media (min-width: 720px) { .dashboard { padding: 24px; } }
.dashboard__title { font-size: 22px; font-weight: 700; margin: 8px 0 4px; }
.section-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); margin: 8px 0 4px; }

/* ─── CLUB-CARD (top of dashboard) ─── */
.club-card {
    padding: 16px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.club-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.club-card__label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.6px; display: block; margin-bottom: 4px; }
.club-card__name { font-size: 22px; font-weight: 800; color: var(--gold); line-height: 1.1; font-variant-numeric: tabular-nums; }
.club-card__body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

/* ─── METRIC ROW (3-4 mini stats) ─── */
.metric-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 8px;
}
.metric {
    padding: 14px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.metric__value { font-size: 26px; font-weight: 800; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.metric__label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; }

/* ─── BIG NAV (gros boutons clairs mobile) ─── */
.big-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.big-nav--compact { grid-template-columns: 1fr 1fr; }
.big-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast);
    min-height: 88px;
    position: relative;
}
.big-nav__item:hover { transform: translateY(-2px); border-color: var(--border-gold); background: var(--bg-elevated); }
.big-nav__item:active { transform: scale(0.98); }
.big-nav__item svg { color: var(--gold); }
.big-nav__item span { font-size: 13px; font-weight: 600; }
.big-nav__item em {
    position: absolute;
    top: 8px; right: 10px;
    font-style: normal;
    font-size: 11px;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.15);
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.big-nav--compact .big-nav__item { min-height: 56px; flex-direction: row; gap: 8px; padding: 12px; }

/* ─── REQCARD (queue items, mobile-first) ─── */
.reqlist { display: flex; flex-direction: column; gap: 8px; }
.reqcard {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-left: 3px solid transparent;
    transition: background var(--t-fast), border-color var(--t-fast);
}
.reqcard:hover { background: var(--bg-elevated); }
.reqcard--small { padding: 10px; grid-template-columns: 40px 1fr auto; gap: 10px; }
.reqcard--small .reqcard__cover { width: 40px; height: 40px; }
.reqcard--new {
    border-left-color: var(--gold);
    background: rgba(212, 175, 55, 0.06);
    animation: highlightNew 0.6s ease-out;
}
@keyframes highlightNew {
    0% { background: rgba(212, 175, 55, 0.2); }
    100% { background: rgba(212, 175, 55, 0.06); }
}

.reqcard__cover {
    width: 56px; height: 56px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-elevated);
    flex-shrink: 0;
}
.reqcard__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.reqcard__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.reqcard__title { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reqcard__artist { font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reqcard__note { font-size: 12px; font-style: italic; color: var(--gold-soft); margin-top: 4px; line-height: 1.4; }
.reqcard__meta { font-size: 11px; color: var(--text-dim); margin-top: 2px; font-variant-numeric: tabular-nums; }
.reqcard__pos { font-size: 12px; font-weight: 700; color: var(--gold); padding: 4px 8px; background: rgba(212, 175, 55, 0.1); border-radius: 6px; font-variant-numeric: tabular-nums; }

.reqcard__actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }

/* ─── ICONBTN (action buttons compact mobile) ─── */
.iconbtn {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
    flex-shrink: 0;
}
.iconbtn:hover { background: var(--bg-soft); border-color: var(--border-gold); }
.iconbtn:active { transform: scale(0.92); }
.iconbtn:disabled { opacity: 0.35; cursor: not-allowed; }
.iconbtn--gold {
    background: var(--gold);
    color: #1a1a1a;
    border-color: var(--gold);
}
.iconbtn--gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.iconbtn--danger { color: var(--danger); border-color: rgba(255, 71, 87, 0.25); }
.iconbtn--danger:hover { background: rgba(255, 71, 87, 0.1); border-color: var(--danger); }

/* ─── EMPTY STATE ─── */
.empty-state {
    padding: 40px 20px;
    text-align: center;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.empty-state svg { color: var(--text-dim); margin-bottom: 8px; }
.empty-state p { font-size: 15px; color: var(--text); font-weight: 600; }
.empty-state span { font-size: 13px; }

/* ─── DETAILS COLLAPSE (manual entry fallback) ─── */
.details-collapse {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0 14px;
}
.details-collapse summary {
    padding: 12px 0;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
    user-select: none;
}
.details-collapse summary:hover { color: var(--gold); }
.details-collapse[open] { padding-bottom: 14px; }
.details-collapse .field { margin-top: 8px; }

/* ─── PICKED ─── */
.picked {
    padding: 10px 14px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.picked .muted { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ─── COVER THUMB ─── */
.cover-thumb {
    width: 40px; height: 40px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-elevated);
    flex-shrink: 0;
}
.cover-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─── FIELD HINTS ─── */
.field__hint {
    font-size: 12px;
    margin-top: 4px;
    color: var(--text-muted);
}
.field__hint--ok { color: var(--success); }
.field__hint--err { color: var(--danger); }

.session-bar {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    padding: 14px 18px;
    margin-bottom: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
}
.session-bar__left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.session-bar__left .muted { font-size: 13px; }

.session-bar {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    padding: 14px 18px;
    margin-bottom: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
}
.session-bar__left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.session-bar__left .muted { font-size: 13px; }

.dashboard__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.dashboard__grid--2col { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform var(--t), border var(--t);
}
.card:hover { transform: translateY(-2px); border-color: var(--border-gold); }
.card__title { font-size: 16px; margin-bottom: 12px; color: var(--gold); }
.card--note {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--border-gold);
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 16px;
}

/* ─── LIST ─── */
.list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.list__item {
    padding: 12px 14px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.list__item--row { flex-direction: row; align-items: center; justify-content: space-between; }
.list__item small { font-size: 12px; }

/* ─── QR PAGE ─── */
.qr-page {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 880px) {
    .qr-page { grid-template-columns: 1fr; }
}

.qr-page__meta { padding: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.qr-page__title { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.qr-page__sub { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

.qr-page__info { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.qr-page__info > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.qr-page__info dt { color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.qr-page__info dd { font-weight: 600; font-size: 14px; }

.qr-page__actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.qr-page__hint { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.dot--ok { background: var(--success); box-shadow: 0 0 8px rgba(46, 213, 115, 0.5); }
.dot--off { background: var(--text-dim); box-shadow: none; opacity: 0.6; }

.qr-page__visual { display: flex; align-items: center; justify-content: center; }

.qr-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 600px;
    width: 100%;
    box-shadow: var(--shadow-card);
}
.qr-card__header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}
.qr-card__brand { font-weight: 700; color: var(--gold); letter-spacing: 0.3px; }
.qr-card__club { color: var(--text-muted); font-size: 14px; }
.qr-card__image { padding: 28px; background: #f5f5f5; display: grid; place-items: center; }
.qr-card__image img { display: block; max-width: 100%; height: auto; border-radius: 6px; }
.qr-card__footer { padding: 20px 24px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.qr-card__footer strong { font-size: 16px; color: var(--text); }
.qr-card__footer span { font-size: 13px; color: var(--text-muted); }

/* ─── CLIENT (mobile-first) ─── */
.topbar--client { background: rgba(10, 10, 10, 0.95); }

.client {
    padding: 16px;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.client__counter {
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.counter { display: flex; justify-content: space-between; align-items: baseline; }
.counter__label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.counter__value { font-size: 26px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.counter__hint { font-size: 13px; color: var(--text-muted); }
.counter__hint--full { color: var(--warning); }

.client__form textarea {
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
    transition: border var(--t-fast);
}
.client__form textarea:focus { outline: none; border-color: var(--gold); }

.client__msg {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    animation: riseIn 0.25s ease-out;
}
.client__msg--ok  { background: rgba(46, 213, 115, 0.12); color: var(--success); border: 1px solid rgba(46, 213, 115, 0.3); }
.client__msg--err { background: rgba(255, 71, 87, 0.12); color: var(--danger); border: 1px solid rgba(255, 71, 87, 0.3); }

/* ─── QUEUE (shared client + DJ) ─── */
.queue { display: flex; flex-direction: column; gap: 8px; }

.queue__item {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    border-left: 3px solid transparent;
    transition: background var(--t-fast), border-color var(--t-fast);
}
.queue__item:hover { background: var(--bg-elevated); }

.queue__item--dj {
    grid-template-columns: 36px 1fr auto auto;
    align-items: center;
}
@media (max-width: 600px) {
    .queue__item--dj {
        grid-template-columns: 36px 1fr auto;
        grid-template-areas: "pos info wait" "actions actions actions";
        gap: 10px;
    }
    .queue__item--dj .queue__pos { grid-area: pos; }
    .queue__item--dj .queue__info { grid-area: info; }
    .queue__item--dj .queue__wait { grid-area: wait; }
    .queue__item--dj .queue__actions { grid-area: actions; justify-content: flex-end; }
}

.queue__item--new {
    border-left-color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
    animation: highlightNew 0.6s ease-out;
}
@keyframes highlightNew {
    0% { background: rgba(212, 175, 55, 0.25); }
    100% { background: rgba(212, 175, 55, 0.08); }
}

.queue__pos {
    font-weight: 800;
    color: var(--gold);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    text-align: center;
}
.queue__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.queue__info strong { font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue__info .muted { font-size: 13px; }
.queue__note {
    margin-top: 4px;
    font-size: 13px;
    font-style: italic;
    color: var(--gold-soft);
    line-height: 1.4;
}
.queue__wait {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.queue__actions { display: flex; gap: 6px; }
.queue__actions .btn { min-height: 36px; padding: 6px 10px; font-size: 12px; }

/* ─── STATS PAGE ─── */
.stats-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
    padding: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.stats-tab {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--t-fast), color var(--t-fast);
}
.stats-tab:hover { color: var(--text); background: var(--bg-elevated); }
.stats-tab.is-active { background: var(--gold); color: #1a1a1a; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.stat-card {
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.stat-card__label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-card__value { font-size: 32px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1; }

.ranking { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ranking__item {
    display: grid;
    grid-template-columns: 28px 40px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
}
.ranking__pos { font-weight: 800; color: var(--gold); font-size: 14px; text-align: center; font-variant-numeric: tabular-nums; }
.ranking__info { display: flex; flex-direction: column; min-width: 0; }
.ranking__info strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ranking__info .muted { font-size: 12px; }
.ranking__count { font-weight: 700; color: var(--gold); font-size: 14px; font-variant-numeric: tabular-nums; }

.hourly-chart {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    gap: 2px;
    height: 180px;
    align-items: end;
    padding: 8px 0;
}
.hourly-chart__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    gap: 4px;
}
.hourly-chart__bar {
    width: 100%;
    background: linear-gradient(to top, var(--gold-soft), var(--gold));
    border-radius: 2px 2px 0 0;
    min-height: 2px;
    transition: opacity var(--t-fast);
}
.hourly-chart__col:hover .hourly-chart__bar { opacity: 0.7; }
.hourly-chart__label {
    font-size: 9px;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}

/* ─── ERROR PAGES ─── */
.errpage {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
        var(--bg);
}
.errpage__inner { text-align: center; max-width: 480px; }
.errpage__code { font-size: 96px; font-weight: 800; color: var(--gold); line-height: 1; letter-spacing: -4px; margin-bottom: 12px; }
.errpage__title { font-size: 22px; margin-bottom: 8px; }
.errpage__msg { color: var(--text-muted); margin-bottom: 24px; line-height: 1.5; }

/* ─── PLAYLISTS (grid + cards) ─── */
.playlists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.playlist-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--t), border-color var(--t);
    text-decoration: none;
    color: inherit;
}
.playlist-card:hover { transform: translateY(-3px); border-color: var(--border-gold); }
.playlist-card--link { cursor: pointer; }

.playlist-card__cover {
    aspect-ratio: 1 / 1;
    background: var(--bg-elevated);
    overflow: hidden;
    position: relative;
}
.playlist-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.playlist-card__cover--empty {
    background:
        repeating-linear-gradient(45deg, transparent 0 12px, rgba(212, 175, 55, 0.06) 12px 24px),
        var(--bg-elevated);
}

.playlist-card__body { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.playlist-card__body strong { font-size: 15px; font-weight: 600; }
.playlist-card__body .muted { font-size: 12px; }

.playlist-card__actions {
    padding: 0 14px 14px;
    display: flex;
    gap: 8px;
}
.playlist-card__actions .btn { flex: 1; }

/* ─── PLAYLIST DETAIL (client) ─── */
.playlist-detail {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 18px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    align-items: center;
}
@media (max-width: 600px) {
    .playlist-detail { grid-template-columns: 110px 1fr; gap: 14px; padding: 14px; }
}
.playlist-detail__cover {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-elevated);
}
.playlist-detail__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.playlist-detail__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.playlist-detail__name { font-size: 22px; font-weight: 700; line-height: 1.2; }
.playlist-detail__actions { display: flex; gap: 10px; align-items: center; margin-top: 8px; flex-wrap: wrap; }

/* ─── LIKE BUTTON ─── */
.like-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--t-fast);
    min-height: 36px;
    font-variant-numeric: tabular-nums;
}
.like-btn:hover { border-color: var(--border-gold); color: var(--text); }
.like-btn:active { transform: scale(0.94); }
.like-btn.is-liked {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    color: var(--gold);
}
.like-btn--sm { padding: 4px 8px; min-height: 28px; }
.like-btn--sm svg { width: 12px; height: 12px; }

/* ─── MODAL (playlist editor) ─── */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: grid;
    place-items: center;
    padding: 16px;
    animation: fadeIn 0.2s ease-out;
}
.modal__inner {
    width: 100%;
    max-width: 640px;
    max-height: 88vh;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: riseIn 0.25s ease-out;
}
.modal__head {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}
.modal__head strong { font-size: 16px; }
.modal__body {
    padding: 18px 20px;
    overflow-y: auto;
    flex: 1;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ─── PLAYER (floating bottom bar + expanded panel) ─── */
.player {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    background: rgba(20, 20, 20, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-gold);
    transition: transform var(--t), height var(--t-slow);
    transform: translateY(0);
    padding-bottom: var(--safe-bottom);
}
.player--hidden { transform: translateY(110%); pointer-events: none; }

.player__bar {
    display: grid;
    grid-template-columns: 48px 1fr auto auto auto;
    gap: 14px;
    align-items: center;
    padding: 10px 14px;
    cursor: pointer;
    min-height: 64px;
}
@media (max-width: 600px) {
    .player__bar { grid-template-columns: 44px 1fr auto auto; gap: 10px; }
    .player__viz { display: none; }
}

.player__cover {
    width: 48px; height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-elevated);
    flex-shrink: 0;
}
.player__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.player__cover-fallback {
    display: block; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-soft));
    border: 1px solid var(--border-gold);
    border-radius: 8px;
}

.player__info { display: flex; flex-direction: column; min-width: 0; }
.player__info strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__info .muted { font-size: 12px; }

.player__viz { width: 80px; height: 36px; }

.player__controls { display: flex; align-items: center; gap: 6px; }

.player__btn {
    display: grid; place-items: center;
    width: 38px; height: 38px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
    flex-shrink: 0;
}
.player__btn:hover { background: var(--bg-elevated); border-color: var(--border-gold); }
.player__btn:active { transform: scale(0.92); }
.player__btn--ghost { border: none; color: var(--text-muted); }
.player__btn--ghost.is-active { color: var(--gold); background: rgba(212, 175, 55, 0.12); }
.player__btn--main {
    width: 44px; height: 44px;
    background: var(--gold);
    color: #1a1a1a;
    border: none;
}
.player__btn--main:hover { background: var(--gold-bright); }
.player__btn--big {
    width: 64px; height: 64px;
    background: var(--gold);
    color: #1a1a1a;
    border: none;
}

.player__panel {
    padding: 24px 20px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-height: 80vh;
    overflow-y: auto;
}
.player__panel-header {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 4px;
}
.player__panel-header strong { font-size: 16px; }

.player__big-cover {
    width: 220px; height: 220px;
    border-radius: var(--radius);
    overflow: hidden;
    margin: 0 auto;
    background: var(--bg-elevated);
}
.player__big-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.player__big-info { text-align: center; }
.player__big-info strong { display: block; font-size: 18px; margin-bottom: 4px; }

.player__progress { display: flex; flex-direction: column; gap: 4px; }
.player__progress input[type="range"] { width: 100%; }
.player__times { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }

.player__big-controls { display: flex; justify-content: center; align-items: center; gap: 18px; }

.player__settings { display: flex; flex-direction: column; gap: 10px; }
.player__slider { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); }
.player__slider input[type="range"] { width: 100%; }
.player__slider em { font-style: normal; color: var(--gold); font-size: 12px; min-width: 30px; text-align: right; }

/* EQ */
.player__eq { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; border-top: 1px solid var(--border); }
.player__eq-presets { display: flex; gap: 6px; flex-wrap: wrap; }
.player__preset {
    padding: 6px 10px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    transition: all var(--t-fast);
}
.player__preset:hover { border-color: var(--border-gold); color: var(--text); }
.player__preset.is-active { background: var(--gold); color: #1a1a1a; border-color: var(--gold); }

.player__eq-bands { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; padding-top: 4px; }
.player__band { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.player__band input[type="range"] {
    -webkit-appearance: slider-vertical;
    appearance: slider-vertical;
    writing-mode: bt-lr;
    width: 18px;
    height: 90px;
    accent-color: var(--gold);
}
.player__band-label { font-size: 10px; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* Range slider native styling */
input[type="range"] {
    accent-color: var(--gold);
}

/* Push body content above the player when present */
body.has-player .app-shell { padding-bottom: calc(80px + var(--safe-bottom)); }

/* ─── AUTOCOMPLETE (search dropdown) ─── */
.autocomplete { position: relative; }
.autocomplete__results {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    z-index: 30;
    max-height: 320px;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 4px;
}
.autocomplete__item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--t-fast);
}
.autocomplete__item:hover, .autocomplete__item.is-active { background: var(--bg-elevated); }
.autocomplete__cover {
    width: 40px; height: 40px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-soft);
}
.autocomplete__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.autocomplete__info { display: flex; flex-direction: column; min-width: 0; }
.autocomplete__title { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.autocomplete__artist { font-size: 12px; color: var(--text-muted); }
.autocomplete__hint { padding: 8px 10px; font-size: 12px; color: var(--text-dim); text-align: center; }

/* ─── PWA install prompt ─── */
.pwa-prompt {
    position: fixed;
    bottom: calc(16px + var(--safe-bottom));
    left: 16px; right: 16px;
    z-index: 200;
    animation: riseIn 0.35s ease-out;
}
.pwa-prompt[hidden] { display: none; }
.pwa-prompt__inner {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 16px 18px;
    box-shadow: var(--shadow-card);
    max-width: 480px;
    margin: 0 auto;
}
.pwa-prompt__inner strong { color: var(--gold); display: block; margin-bottom: 4px; font-size: 15px; }
.pwa-prompt__inner p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.pwa-prompt__actions { display: flex; gap: 8px; }
.pwa-prompt__actions .btn { flex: 1; }

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
    .topbar { padding: 0 12px; }
    .topbar__divider { display: none; }
    .dashboard { padding: 16px; }
    .auth__card { padding: 28px 20px; }
}

/* ─── SCROLLBAR (dark) ─── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-soft); }

/* ─── BOTTOM NAV ─── */
.bottomnav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 80;
    display: flex;
    align-items: stretch;
    height: calc(60px + var(--safe-bottom));
    background: rgba(14, 14, 14, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    padding-bottom: var(--safe-bottom);
}
.bottomnav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: color var(--t-fast), background var(--t-fast);
    position: relative;
    padding: 0 4px;
}
.bottomnav__item:hover { color: var(--text); }
.bottomnav__item.is-active { color: var(--gold); }
.bottomnav__item.is-active svg { color: var(--gold); }
.bottomnav__item svg { transition: color var(--t-fast); }
.bottomnav__item--cta {
    color: var(--gold);
}
.bottomnav__item--cta svg { color: var(--gold); }

/* Push content above bottom nav when present */
body.has-bottomnav .app-shell { padding-bottom: calc(60px + var(--safe-bottom)); }
body.has-player.has-bottomnav .app-shell { padding-bottom: calc(60px + 64px + var(--safe-bottom)); }
body.has-player.has-bottomnav .player { bottom: calc(60px + var(--safe-bottom)); }

/* ─── SESSION STRIP ─── */
.session-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    flex-wrap: wrap;
}
.session-strip__left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    min-width: 0;
}
.session-strip__right {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* ─── REQCARD FOOTER (time + note inline) ─── */
.reqcard__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    flex-wrap: wrap;
}
.reqcard__time {
    font-size: 11px;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.reqcard__note {
    font-size: 12px;
    font-style: italic;
    color: var(--gold-soft);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 160px;
}
.reqcard__pos {
    font-size: 13px;
    font-weight: 800;
    color: var(--gold);
    width: 22px;
    text-align: center;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}
.reqcard__cover-fallback {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-soft));
    border-radius: var(--radius-sm);
}

/* reqcard: 5-column layout with pos */
.reqcard {
    grid-template-columns: 22px 48px 1fr auto;
}
.reqcard--small {
    grid-template-columns: 22px 36px 1fr auto;
}

/* ─── PLAYLIST GRID (Spotify 2-col mobile) ─── */
.pl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 540px) { .pl-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 800px) { .pl-grid { grid-template-columns: repeat(4, 1fr); } }

.pl-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius);
    padding: 8px;
    transition: background var(--t-fast);
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.pl-card:hover { background: var(--bg-elevated); border-color: var(--border-gold); }
.pl-card__cover {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-elevated);
}
.pl-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-card__cover-empty {
    width: 100%; height: 100%;
    background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(212,175,55,0.07) 10px 20px), var(--bg-elevated);
}
.pl-card__body { padding: 0 2px 4px; }
.pl-card__name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pl-card__meta { font-size: 11px; color: var(--text-muted); }

/* ─── DJ TABS ─── */
.dj-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.dj-tab {
    flex: 1;
    padding: 9px 12px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.dj-tab:hover { color: var(--text); background: var(--bg-elevated); }
.dj-tab.is-active { background: var(--gold); color: #1a1a1a; }
.dj-tab__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: rgba(255,255,255,0.2);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.dj-tab.is-active .dj-tab__badge { background: rgba(0,0,0,0.2); }
.dj-tab__badge--gold { background: rgba(212,175,55,0.2); color: var(--gold); }

/* Active playlist card highlight */
.pl-card--active {
    border-color: var(--gold) !important;
    background: rgba(212,175,55,0.06) !important;
}
.pl-card--active .pl-card__name { color: var(--gold); }

/* ─── FIELD INPUT (bare, no label wrapper) ─── */
.field-input {
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    width: 100%;
    transition: border var(--t-fast);
}
.field-input:focus { outline: none; border-color: var(--gold); background: var(--bg-elevated); }

/* ─── TOPBAR BACK BUTTON ─── */
.topbar__back {
    display: grid; place-items: center;
    width: 36px; height: 36px;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: 50%;
    text-decoration: none;
    transition: color var(--t-fast), background var(--t-fast);
    flex-shrink: 0;
}
.topbar__back:hover { color: var(--text); background: var(--bg-elevated); }
.topbar__section { font-size: 14px; font-weight: 600; color: var(--text); }

/* ─── MODAL SUB-TITLE ─── */
.modal__sub { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin: 16px 0 8px; }

/* ─── LIKE BTN IN TRACK ROW ─── */
.like-btn svg { flex-shrink: 0; }

/* ─── CLIENT PLAYLISTS (list mode on mobile) ─── */
@media (max-width: 600px) {
    .playlists-grid { grid-template-columns: 1fr; }
}

/* ─── TOPBAR SECTION TRUNCATE ─── */
.topbar__section { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 120px; }

/* ─── BOTTOM NAV REDESIGN ─── */
.bottomnav__icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    transition: background var(--t-fast), transform var(--t-fast);
}
.bottomnav__item.is-active .bottomnav__icon { background: rgba(212,175,55,0.12); }
.bottomnav__item--qr .bottomnav__icon { background: rgba(212,175,55,0.08); }
.bottomnav__item--qr.is-active .bottomnav__icon { background: rgba(212,175,55,0.22); }
.bottomnav--client .bottomnav__item.is-active .bottomnav__icon { background: rgba(212,175,55,0.15); transform: scale(1.08); }
.bottomnav__icon--client svg { color: var(--text-muted); transition: color var(--t-fast); }
.bottomnav--client .bottomnav__item.is-active .bottomnav__icon svg { color: var(--gold); }
.bottomnav__icon--cta { background: rgba(212,175,55,0.15); }
.bottomnav__icon--cta svg { color: var(--gold); }

/* ─── AUTOPLAY UNLOCK ─── */
.player__autoplay-unlock {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(10,10,10,0.92);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: var(--gold);
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 12px;
}

/* ─── WELCOME STRIP ─── */
.welcome-strip {
    padding: 12px 16px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.welcome-strip__text { display: flex; flex-direction: column; gap: 4px; }
.welcome-strip__night { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.welcome-strip__slots { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--success); }
.welcome-strip__slots--full { color: var(--text-muted); }

/* ─── ACTIVE PLAYLIST SECTION ─── */
.active-playlist-section {
    margin: 8px 0;
    background: linear-gradient(135deg, rgba(212,175,55,0.06) 0%, rgba(20,20,20,0) 60%);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 14px;
    overflow: hidden;
}
.active-playlist-section--empty {
    border-style: dashed;
    background: transparent;
}
.active-playlist-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px 10px;
    gap: 12px;
}
.active-playlist-header__left { display: flex; align-items: center; gap: 12px; }
.active-playlist-cover {
    width: 48px; height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-card);
    flex-shrink: 0;
}
.active-playlist-cover img { width: 100%; height: 100%; object-fit: cover; }
.active-playlist-cover__fallback { width: 100%; height: 100%; background: var(--bg-elevated); }
.active-playlist__label { display: block; font-size: 11px; color: var(--gold); font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.active-playlist__name { display: block; font-size: 15px; font-weight: 800; color: var(--text); }

/* ─── SUGGEST BAR ─── */
.suggest-bar {
    padding: 0 14px 14px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.suggest-bar__counter { font-size: 12px; color: var(--text-muted); padding: 8px 0; }

/* ─── PLAYLIST TRACKLIST ─── */
.pl-tracklist { padding: 0 0 8px; }
.pl-tracklist__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 14px;
    border-top: 1px solid rgba(255,255,255,0.04);
}

/* ─── QUEUE POSITION ─── */
.reqcard--mine { border-left: 3px solid var(--gold); background: rgba(212,175,55,0.05); }
.reqcard__mine-badge {
    display: inline-block; margin-top: 2px;
    font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
    color: var(--gold); text-transform: uppercase;
}
.my-position {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px;
    background: rgba(212,175,55,0.07);
    border-radius: 8px;
    font-size: 13px;
    margin-top: 8px;
}

/* ─── DJ REQUEST SLOTS ─── */
.dj-request-slots {
    display: flex; align-items: center; gap: 6px;
    margin-bottom: 12px;
}
.dj-request-slots__pip {
    width: 28px; height: 6px;
    border-radius: 3px;
    background: var(--bg-elevated);
    transition: background var(--t-fast);
}
.dj-request-slots__pip.used { background: var(--gold); }

.limit-reached-msg {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-muted);
}

/* ─── CELEBRATION MODAL ─── */
.celebrate-modal {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,0.88);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
}
.celebrate-modal__inner {
    background: var(--bg-card);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 20px;
    padding: 32px 24px 24px;
    text-align: center;
    max-width: 320px; width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(212,175,55,0.15);
}
.celebrate-modal__fireworks {
    position: absolute; inset: 0; pointer-events: none;
}
.celebrate-modal__cover {
    width: 80px; height: 80px;
    border-radius: 12px;
    margin: 0 auto 16px;
    background: var(--bg-elevated);
    background-size: cover;
    background-position: center;
    display: none;
}
.celebrate-modal__label { font-size: 13px; color: var(--gold); font-weight: 700; letter-spacing: 0.4px; margin: 0 0 8px; }
.celebrate-modal__track { display: block; font-size: 18px; font-weight: 900; color: var(--text); margin-bottom: 4px; }
.celebrate-modal__artist { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

/* ─── FIREWORK PARTICLES ─── */
@keyframes firework-fly {
    0%   { transform: translate(0,0) scale(1); opacity: 1; }
    100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
}
.firework-particle {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    animation: firework-fly linear forwards;
}

/* ===========================================
   DJ LIVE VIEW
=========================================== */
.dj-live { display: flex; flex-direction: column; gap: 0; padding-bottom: 8px; }

.dj-statusbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px; background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 56px; z-index: 10;
}
.dj-statusbar__left { display: flex; align-items: center; gap: 8px; }
.dj-statusbar__count { font-size: 15px; font-weight: 800; color: var(--text); }
.dj-statusbar__time { font-size: 12px; color: var(--text-muted); }
.dj-statusbar__notif-btn {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; color: var(--text-muted);
    background: none; border: 1px solid var(--border);
    border-radius: 20px; padding: 5px 10px; cursor: pointer;
    transition: color .15s, border-color .15s;
}
.dj-statusbar__notif-btn:hover { color: var(--text); border-color: var(--text-muted); }

.live-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--text-muted); transition: background .15s, box-shadow .15s;
}
.live-dot--on {
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(46,213,115,.25);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(46,213,115,.25); }
    50%       { box-shadow: 0 0 0 6px rgba(46,213,115,.08); }
}

.dj-pl-strip {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 16px; background: rgba(212,175,55,.04);
    border-bottom: 1px solid var(--border); font-size: 13px;
}
.dj-pl-strip--off { background: transparent; }
.dj-pl-strip__name { font-weight: 700; color: var(--text); flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dj-pl-strip__link {
    font-size: 12px; font-weight: 700; color: var(--gold);
    text-decoration: none; white-space: nowrap;
    padding: 3px 8px; border: 1px solid rgba(212,175,55,.3); border-radius: 20px;
    transition: background .15s;
}
.dj-pl-strip__link:hover { background: rgba(212,175,55,.1); }

.dj-queue { display: flex; flex-direction: column; gap: 0; }

.djcard {
    background: var(--bg-card); border-bottom: 1px solid var(--border);
    transition: background .15s, opacity .15s;
    position: relative; overflow: hidden;
}
.djcard--new { animation: djcard-in .4s ease; }
.djcard--busy { opacity: .6; pointer-events: none; }
@keyframes djcard-in {
    from { transform: translateX(-8px); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}
.djcard::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: transparent; transition: background .15s;
}
.djcard--new::before { background: var(--gold); }

.djcard__top {
    display: grid; grid-template-columns: 28px 72px 1fr;
    gap: 12px; align-items: center; padding: 14px 14px 10px;
}
.djcard__pos { font-size: 12px; font-weight: 800; color: var(--text-muted); text-align: center; }
.djcard__cover {
    width: 72px; height: 72px; border-radius: 8px;
    overflow: hidden; background: var(--bg-elevated); flex-shrink: 0;
}
.djcard__cover img { width: 100%; height: 100%; object-fit: cover; }
.djcard__cover-fallback { width: 100%; height: 100%; background: var(--bg-elevated); }
.djcard__info { min-width: 0; }
.djcard__title { display: block; font-size: 15px; font-weight: 800; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.djcard__artist { display: block; font-size: 13px; color: var(--text-muted); margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.djcard__meta { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 11px; color: var(--text-muted); }

.djcard__actions {
    display: grid; grid-template-columns: 44px 1fr 44px 44px;
    border-top: 1px solid var(--border); height: 52px;
}
.djcard__btn {
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer;
    transition: background .15s, color .15s; color: var(--text-muted);
}
.djcard__btn:disabled { opacity: .35; pointer-events: none; }
.djcard__btn:hover { background: var(--bg-elevated); color: var(--text); }
.djcard__btn--play {
    background: rgba(212,175,55,.1); color: var(--gold);
    font-size: 15px; font-weight: 900; letter-spacing: .3px;
    border-left: 1px solid var(--border); border-right: 1px solid var(--border);
}
.djcard__btn--play:hover { background: rgba(212,175,55,.2); color: var(--gold); }
.djcard__btn--del:hover { background: rgba(255,71,87,.1); color: var(--danger); }

.dj-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 80px 24px; gap: 10px; color: var(--text-muted); text-align: center;
}
.dj-empty__icon { color: var(--bg-elevated); margin-bottom: 8px; }
.dj-empty p { font-size: 18px; font-weight: 700; margin: 0; }

/* ===========================================
   CLIENT MAIN VIEW
=========================================== */
.client-main { min-height: 100vh; }

.topbar--transparent {
    background: transparent;
    position: absolute; top: 0; left: 0; right: 0; z-index: 20;
}
.topbar-pos-badge {
    display: flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 800; color: var(--success);
    background: rgba(46,213,115,.1); border-radius: 20px; padding: 4px 10px;
}

.pl-hero {
    position: relative; min-height: 340px;
    display: flex; align-items: flex-end; overflow: hidden;
}
.pl-hero__bg {
    position: absolute; inset: -10%;
    background-size: cover; background-position: center;
    filter: blur(28px) brightness(.35) saturate(1.4);
    background-color: var(--bg-soft);
}
.pl-hero__content {
    position: relative; z-index: 2; width: 100%;
    padding: 80px 20px 28px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.pl-hero__cover-wrap { margin-bottom: 16px; }
.pl-hero__cover {
    width: 140px; height: 140px; border-radius: 14px;
    overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.6);
    background: var(--bg-card);
}
.pl-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.pl-hero__cover-fallback { width: 100%; height: 100%; background: var(--bg-elevated); }
.pl-hero__name { font-size: 22px; font-weight: 900; color: var(--text); margin: 0 0 4px; }
.pl-hero__meta { font-size: 13px; margin: 0 0 16px; }
.pl-hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.badge-pill {
    display: inline-block; background: rgba(212,175,55,.2); color: var(--gold);
    font-size: 11px; font-weight: 800; border-radius: 20px; padding: 1px 7px; margin-left: 4px;
}

.pl-empty-hero {
    min-height: 260px; display: flex; align-items: center; justify-content: center; padding-top: 60px;
}
.pl-empty-hero__inner { text-align: center; }
.pl-empty-hero__club { font-size: 22px; font-weight: 900; color: var(--text); margin: 0 0 4px; }
.pl-empty-hero__sub { font-size: 13px; margin: 0; }

.pl-tracks-section { background: var(--bg); }
.client-track {
    display: grid; grid-template-columns: 28px 48px 1fr 40px;
    align-items: center; gap: 10px; padding: 10px 14px;
    border-bottom: 1px solid var(--border); transition: background .15s;
}
.client-track--mine { background: rgba(212,175,55,.05); border-left: 3px solid var(--gold); }
.client-track__num { font-size: 11px; font-weight: 700; color: var(--text-muted); text-align: center; }
.client-track__cover {
    width: 48px; height: 48px; border-radius: 6px;
    overflow: hidden; background: var(--bg-elevated); flex-shrink: 0;
}
.client-track__cover img { width: 100%; height: 100%; object-fit: cover; }
.client-track__cover-fallback { width: 100%; height: 100%; background: var(--bg-elevated); }
.client-track__info { min-width: 0; }
.client-track__info strong { display: block; font-size: 14px; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.client-track__info .muted { display: block; font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.client-track__mine-tag { display: inline-block; font-size: 10px; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: .4px; margin-top: 2px; }
.client-track__play { color: var(--text-muted); }
.client-track__play:hover { color: var(--gold); }
.client-track__play:disabled { opacity: .3; }

.queue-section__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px 8px; border-top: 1px solid var(--border);
}
.queue-section__header strong { font-size: 14px; font-weight: 800; }

.client-fab-wrap {
    position: fixed; bottom: calc(60px + var(--safe-bottom) + 12px);
    left: 0; right: 0;
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; z-index: 50; pointer-events: none;
}
body.has-player .client-fab-wrap { bottom: calc(60px + 64px + var(--safe-bottom) + 12px); }
.client-fab {
    pointer-events: all;
    display: flex; align-items: center; gap: 8px;
    background: var(--gold); color: #0a0a0a;
    font-size: 15px; font-weight: 900;
    border: none; border-radius: 28px; padding: 14px 28px;
    box-shadow: 0 4px 24px rgba(212,175,55,.5); cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}
.client-fab:hover { transform: translateY(-2px); box-shadow: 0 6px 32px rgba(212,175,55,.6); }
.client-fab:active { transform: scale(.97); }
.pos-badge {
    pointer-events: all;
    display: flex; align-items: center; gap: 6px;
    background: rgba(10,10,10,.9); border: 1px solid var(--success);
    border-radius: 20px; padding: 5px 12px;
    font-size: 12px; font-weight: 700; color: var(--success);
    backdrop-filter: blur(8px); animation: badge-in .3s ease;
}
@keyframes badge-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.bsheet-overlay {
    position: fixed; inset: 0; z-index: 90;
    background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
}
.bsheet {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 91;
    background: var(--bg-card); border-top: 1px solid var(--border);
    border-radius: 20px 20px 0 0; transform: translateY(100%);
    transition: transform .35s cubic-bezier(.32,.72,0,1);
    max-height: 92vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.bsheet--open { transform: translateY(0); }
.bsheet__handle {
    width: 36px; height: 4px; border-radius: 2px;
    background: var(--bg-elevated); margin: 12px auto 4px;
}
.bsheet__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 16px 12px; border-bottom: 1px solid var(--border);
}
.bsheet__header strong { font-size: 15px; font-weight: 800; }
.bsheet__close {
    background: none; border: none; cursor: pointer;
    color: var(--text-muted); padding: 4px; display: flex; align-items: center;
}
.bsheet__body { padding: 16px; }

/* ===========================================
   DESKTOP SIDE NAV (staff only, >768px)
=========================================== */
.desktnav {
    display: none; /* hidden on mobile — bottomnav takes over */
}
@media (min-width: 769px) {
    /* Hide bottom nav on desktop */
    .bottomnav { display: none !important; }
    body.has-bottomnav .app-shell { padding-bottom: 0; }
    body.has-player.has-bottomnav .app-shell { padding-bottom: 64px; }
    body.has-player.has-bottomnav .player { bottom: 0; }

    /* Desktop side nav */
    .desktnav {
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 0; top: 0; bottom: 0;
        width: 200px;
        background: var(--bg-soft);
        border-right: 1px solid var(--border);
        padding: 72px 0 24px;
        z-index: 40;
        gap: 2px;
    }
    .desktnav__item {
        display: flex; align-items: center;
        padding: 11px 20px;
        font-size: 14px; font-weight: 600;
        color: var(--text-muted); text-decoration: none;
        border-left: 3px solid transparent;
        transition: color .15s, background .15s, border-color .15s;
        white-space: nowrap;
    }
    .desktnav__item:hover { color: var(--text); background: rgba(255,255,255,.04); }
    .desktnav__item.is-active {
        color: var(--gold);
        border-left-color: var(--gold);
        background: rgba(212,175,55,.06);
    }

    /* Push content right to make room for sidebar */
    .app-shell { margin-left: 200px; }
    .topbar { left: 200px; }
}

/* ===========================================
   SUGGESTION CARDS (staff)
=========================================== */
.sug-list { display: flex; flex-direction: column; gap: 0; }

.sugcard {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px; align-items: start;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
}
.sugcard__cover {
    width: 56px; height: 56px;
    border-radius: 8px; overflow: hidden;
    background: var(--bg-elevated); flex-shrink: 0;
}
.sugcard__cover img { width: 100%; height: 100%; object-fit: cover; }
.sugcard__cover-fallback { width: 100%; height: 100%; background: var(--bg-elevated); }
.sugcard__body { min-width: 0; }
.sugcard__playlist { font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 3px; }
.sugcard__title { display: block; font-size: 15px; font-weight: 800; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sugcard__artist { display: block; font-size: 13px; margin-top: 2px; }
.sugcard__note { display: block; font-size: 12px; color: var(--text-muted); font-style: italic; margin-top: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Suggestion action bar */
.sug-actions {
    display: flex; gap: 8px; align-items: center;
    margin-top: 10px; flex-wrap: wrap;
}
.sug-btn {
    display: inline-flex; align-items: center; gap: 5px;
    border: none; border-radius: 20px; cursor: pointer;
    font-size: 12px; font-weight: 700; padding: 6px 12px;
    transition: opacity .15s, transform .15s;
}
.sug-btn:disabled { opacity: .4; pointer-events: none; }
.sug-btn:active { transform: scale(.96); }
.sug-btn--accept { background: rgba(46,213,115,.15); color: var(--success); }
.sug-btn--accept:hover { background: rgba(46,213,115,.25); }
.sug-btn--play { background: rgba(212,175,55,.15); color: var(--gold); }
.sug-btn--play:hover { background: rgba(212,175,55,.25); }
.sug-btn--preview { background: var(--bg-elevated); color: var(--text-muted); padding: 6px 10px; }
.sug-btn--preview:hover { color: var(--text); }
.sug-btn--reject { background: rgba(255,71,87,.1); color: var(--danger); padding: 6px 10px; }
.sug-btn--reject:hover { background: rgba(255,71,87,.2); }

/* ===========================================
   CLIENT PLAYLIST CLOSED MESSAGE
=========================================== */
.pl-closed-msg {
    margin-top: 16px;
    padding: 14px 16px;
    background: rgba(212,175,55,.08);
    border: 1px solid rgba(212,175,55,.2);
    border-radius: 10px;
    text-align: center;
}
.pl-closed-msg p { margin: 0 0 4px; font-weight: 700; font-size: 14px; color: var(--text); }

/* ===========================================
   SPOTIFY-STYLE CLIENT HOME
=========================================== */

.sp-page {
    min-height: 100vh;
    padding-bottom: 120px;
    position: relative;
}

/* Album hero */
.sp-album {
    position: relative;
    overflow: hidden;
}
.sp-album__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    filter: blur(60px) brightness(.35) saturate(1.4);
    transform: scale(1.15);
    z-index: 0;
}
.sp-album__head {
    position: relative;
    z-index: 1;
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}
.sp-album__cover {
    width: 140px; height: 140px;
    border-radius: 10px; overflow: hidden;
    background: var(--bg-elevated);
    box-shadow: 0 16px 48px rgba(0,0,0,.6);
    flex-shrink: 0;
}
.sp-album__cover img { width: 100%; height: 100%; object-fit: cover; }
.sp-album__cover-fb { width: 100%; height: 100%; background: var(--bg-elevated); }
.sp-album__title { font-size: 22px; font-weight: 900; letter-spacing: -.5px; line-height: 1.2; color: var(--text); }
.sp-album__sub { font-size: 12px; color: var(--text-muted); margin-top: -4px; }
.sp-album__row { display: flex; align-items: center; gap: 16px; margin-top: 6px; }

/* Icon buttons */
.sp-icon-btn {
    background: none; border: none; cursor: pointer;
    color: var(--text-muted); padding: 8px;
    display: flex; align-items: center; justify-content: center;
    transition: color var(--t-fast), transform var(--t-fast);
}
.sp-icon-btn:hover { color: var(--text); }
.sp-icon-btn:active { transform: scale(.88); }
.sp-icon-btn.liked { color: var(--gold); }
.sp-icon-btn--add { color: var(--text); }
.sp-add-done { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: .3px; }

/* Play FAB */
.sp-play-fab {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--gold); color: #000;
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(212,175,55,.45);
    transition: transform var(--t-fast), background var(--t-fast);
    margin-left: auto;
}
.sp-play-fab:hover { background: var(--gold-bright); transform: scale(1.06); }
.sp-play-fab:active { transform: scale(.94); }
.sp-play-fab:disabled { opacity: .4; pointer-events: none; }

/* Track list */
.sp-tracklist { position: relative; z-index: 1; padding: 8px 0 0; }
.sp-track {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 12px; padding: 8px 16px;
    transition: background var(--t-fast);
    border-radius: 4px;
}
.sp-track:hover { background: rgba(255,255,255,.05); }
.sp-track--playing .sp-track__info strong { color: var(--gold); }
.sp-track__left { display: flex; align-items: center; justify-content: center; width: 36px; }
.sp-track__num { font-size: 14px; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* Playing bars */
.sp-track__bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.sp-track__bars div { width: 3px; background: var(--gold); border-radius: 2px; animation: sp-bar .8s ease-in-out infinite alternate; }
.sp-track__bars div:nth-child(1) { height: 100%; animation-delay: 0s; }
.sp-track__bars div:nth-child(2) { height: 65%; animation-delay: .2s; }
.sp-track__bars div:nth-child(3) { height: 85%; animation-delay: .1s; }
@keyframes sp-bar { from { transform: scaleY(.4); } to { transform: scaleY(1); } }

.sp-track__info { min-width: 0; cursor: pointer; }
.sp-track__info strong { display: block; font-size: 14px; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text); transition: color var(--t-fast); }
.sp-track__info span { display: block; font-size: 12px; color: var(--text-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-top: 1px; }
.sp-track__pending { display: inline-block; font-size: 10px; font-weight: 700; background: rgba(212,175,55,.15); color: var(--gold); border-radius: 4px; padding: 1px 6px; margin-top: 3px; letter-spacing: .3px; }
.sp-track__right { display: flex; align-items: center; gap: 4px; }

.sp-track__like {
    background: none; border: none; cursor: pointer;
    color: var(--text-muted); padding: 6px;
    display: flex; align-items: center;
    transition: color var(--t-fast), transform var(--t-fast);
}
.sp-track__like:hover { color: var(--text); }
.sp-track__like:active { transform: scale(.85); }
.sp-track__like.liked { color: var(--gold); }

.sp-track__more {
    background: none; border: none; cursor: pointer;
    color: var(--text-muted); padding: 6px;
    display: flex; align-items: center;
    transition: color var(--t-fast);
}
.sp-track__more:hover { color: var(--text); }
.sp-track__more:disabled { opacity: .3; pointer-events: none; }
.sp-tracklist__empty { padding: 32px 20px; text-align: center; font-size: 13px; }

/* No-playlist state */
.sp-no-playlist { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.sp-no-playlist__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sp-no-playlist__logo { font-size: 36px; font-weight: 900; letter-spacing: -1px; color: var(--gold); }
.sp-no-playlist__club { font-size: 15px; font-weight: 700; color: var(--text); }
.sp-no-playlist__time { font-size: 12px; color: var(--text-muted); }
.sp-no-playlist__msg { margin-top: 12px; padding: 14px 20px; background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.2); border-radius: 10px; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.sp-no-playlist__wait { margin-top: 8px; font-size: 13px; color: var(--text-muted); }

/* Bottom sheet */
.sp-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 200; }
.sp-sheet {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #1a1a1a; border-radius: 18px 18px 0 0;
    z-index: 201; transform: translateY(105%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    padding-bottom: env(safe-area-inset-bottom, 0);
    max-height: 92vh; display: flex; flex-direction: column;
}
.sp-sheet--open { transform: translateY(0); }
.sp-sheet__grip { width: 36px; height: 4px; background: rgba(255,255,255,.18); border-radius: 2px; margin: 10px auto 0; flex-shrink: 0; }
.sp-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 8px; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.sp-sheet__x { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 4px; display: flex; align-items: center; transition: color var(--t-fast); }
.sp-sheet__x:hover { color: var(--text); }
.sp-sheet__body { overflow-y: auto; padding: 4px 16px 20px; flex: 1; display: flex; flex-direction: column; gap: 12px; }

/* Search */
.sp-search-wrap { position: relative; display: flex; align-items: center; }
.sp-search-icon { position: absolute; left: 12px; color: var(--text-muted); pointer-events: none; }
.sp-search-input { width: 100%; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 14px; padding: 10px 36px 10px 36px; outline: none; transition: border-color var(--t-fast); }
.sp-search-input:focus { border-color: var(--gold); }
.sp-search-clear { position: absolute; right: 10px; background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 4px; display: flex; align-items: center; }
.sp-results { display: flex; flex-direction: column; gap: 2px; }
.sp-hint { font-size: 13px; color: var(--text-muted); padding: 8px 0; }
.sp-result-row { display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; cursor: pointer; transition: background var(--t-fast); }
.sp-result-row:hover { background: rgba(255,255,255,.06); }
.sp-result-cover { width: 44px; height: 44px; border-radius: 6px; overflow: hidden; background: var(--bg-elevated); flex-shrink: 0; }
.sp-result-cover img { width: 100%; height: 100%; object-fit: cover; }
.sp-result-info { min-width: 0; }
.sp-result-info strong { display: block; font-size: 14px; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sp-result-info span { display: block; font-size: 12px; color: var(--text-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-top: 1px; }
.sp-result-row > svg { color: var(--text-muted); flex-shrink: 0; }
.sp-manual { font-size: 13px; color: var(--text-muted); }
.sp-manual summary { cursor: pointer; padding: 6px 0; list-style: none; }
.sp-manual summary::-webkit-details-marker { display: none; }
.sp-picked { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; padding: 12px; background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.2); border-radius: 10px; }
.sp-picked__cover { width: 48px; height: 48px; border-radius: 6px; overflow: hidden; background: var(--bg-elevated); }
.sp-picked__cover img { width: 100%; height: 100%; object-fit: cover; }
.sp-picked__info { min-width: 0; }
.sp-picked__info strong { display: block; font-size: 13px; font-weight: 800; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sp-picked__info span { display: block; font-size: 12px; color: var(--text-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sp-msg { font-size: 13px; font-weight: 600; padding: 2px 0; }
.sp-msg--ok { color: var(--success); }
.sp-msg--err { color: var(--danger); }

/* Buttons */
.sp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: none; border-radius: 24px; cursor: pointer; font-size: 13px; font-weight: 700; padding: 10px 20px; transition: opacity var(--t-fast), transform var(--t-fast); }
.sp-btn:disabled { opacity: .45; pointer-events: none; }
.sp-btn:active { transform: scale(.96); }
.sp-btn--gold { background: var(--gold); color: #000; }
.sp-btn--gold:hover { background: var(--gold-bright); }
.sp-btn--ghost { background: var(--bg-elevated); color: var(--text); border: 1px solid var(--border); }
.sp-btn--ghost:hover { border-color: rgba(255,255,255,.2); }
.sp-btn--sm { padding: 7px 14px; font-size: 12px; }

/* Celebration modal */
.cel-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 300; align-items: center; justify-content: center; padding: 24px; }
.cel-modal__card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 28px 24px 24px; width: 100%; max-width: 340px; text-align: center; position: relative; overflow: hidden; }
.cel-modal__fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cel-modal__cover { width: 96px; height: 96px; border-radius: 10px; background-size: cover; background-position: center; margin: 0 auto 16px; display: none; }
.cel-modal__tag { font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.cel-modal__title { display: block; font-size: 20px; font-weight: 900; margin-bottom: 4px; }
.cel-modal__artist { font-size: 14px; color: var(--text-muted); }
.cel-particle { position: absolute; width: 7px; height: 7px; border-radius: 50%; animation: cel-fly 1s ease-out forwards; }
@keyframes cel-fly { 0% { transform: translate(0,0) scale(1); opacity: 1; } 100% { transform: translate(var(--dx),var(--dy)) scale(0); opacity: 0; } }

/* ===========================================
   SPOTIFY-STYLE BOTTOM NAV (CLIENT)
=========================================== */
.sp-bottomnav {
    position: fixed; bottom: 0; left: 0; right: 0;
    height: calc(60px + env(safe-area-inset-bottom, 0));
    background: #121212;
    border-top: 1px solid rgba(255,255,255,.07);
    display: flex; align-items: flex-start; justify-content: space-around;
    padding-top: 8px;
    padding-bottom: env(safe-area-inset-bottom, 0);
    z-index: 100;
}
.sp-bottomnav__item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    text-decoration: none; color: #b3b3b3;
    font-size: 10px; font-weight: 600; letter-spacing: .3px;
    padding: 2px 20px; min-width: 60px;
    transition: color var(--t-fast);
}
.sp-bottomnav__item svg { transition: transform var(--t-fast); }
.sp-bottomnav__item:hover { color: var(--text); }
.sp-bottomnav__item.is-active { color: #fff; }
.sp-bottomnav__item.is-active svg { transform: scale(1.05); }
@media (min-width: 769px) { .sp-bottomnav { display: none !important; } }

/* ===========================================
   CLIENT HISTORY PAGE
=========================================== */
.hist-list { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.hist-card { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; background: var(--bg-card); border-radius: var(--radius); padding: 14px; }
.hist-card__cover { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--bg-elevated); flex-shrink: 0; }
.hist-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.hist-card__name { font-size: 15px; font-weight: 800; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hist-card__meta { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* ===========================================
   SPOTIFY V2 — REDESIGN COMPLET CLIENT
=========================================== */

/* ── Album hero amélioré ── */
.sp-album__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(10,10,10,.45) 50%, var(--bg) 100%);
    z-index: 0;
}

.sp-album__live-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(46,213,115,.18);
    color: var(--success);
    border: 1px solid rgba(46,213,115,.35);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 10px; font-weight: 800; letter-spacing: 1px;
    margin-bottom: 6px;
}
.sp-album__live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: liveDot 1.4s ease-in-out infinite;
}
@keyframes liveDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.85); }
}

.sp-album__cover {
    width: 180px; height: 180px;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.05);
    background: var(--bg-card);
    overflow: hidden;
    position: relative;
}
.sp-album__cover-fb {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
    color: var(--text-muted);
}

.sp-album__type {
    font-size: 10px; font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1.2px;
    margin-top: 4px;
}

.sp-album__title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -.8px;
    line-height: 1.1;
    color: #fff;
    margin: 2px 0;
}

.sp-album__sub {
    font-size: 13px;
    color: var(--text);
    margin-top: 2px;
}
.sp-album__sub strong { color: #fff; font-weight: 700; }

/* CTA banner — tells client clearly what to do */
.sp-album__cta {
    display: flex; align-items: center; gap: 14px;
    width: 100%;
    margin-top: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(212,175,55,.18) 0%, rgba(212,175,55,.08) 100%);
    border: 1px solid rgba(212,175,55,.4);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(212,175,55,.12);
}
.sp-album__cta-num {
    width: 38px; height: 38px;
    background: var(--gold);
    color: #000;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(212,175,55,.5);
}
.sp-album__cta-text {
    flex: 1; min-width: 0;
    text-align: left;
}
.sp-album__cta-text strong {
    display: block;
    font-size: 14px; font-weight: 800;
    color: #fff;
}
.sp-album__cta-text span {
    display: block;
    font-size: 12px; color: var(--text-muted);
    margin-top: 1px;
}
.sp-album__cta-btn {
    width: 44px; height: 44px;
    background: var(--gold);
    color: #000;
    border: none; border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(212,175,55,.45);
    transition: transform var(--t-fast);
    flex-shrink: 0;
}
.sp-album__cta-btn:active { transform: scale(.9); }

.sp-album__done {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 14px;
    padding: 8px 14px;
    background: rgba(46,213,115,.15);
    border: 1px solid rgba(46,213,115,.3);
    border-radius: 16px;
    color: var(--success);
    font-size: 12px; font-weight: 700;
}

.sp-album__row {
    display: flex; align-items: center; gap: 8px;
    width: 100%;
    margin-top: 16px;
    padding-top: 4px;
}

.sp-icon-btn--lg svg { width: 28px; height: 28px; }
.sp-album__likes-count {
    font-size: 13px; font-weight: 700;
    color: var(--gold);
}

/* ── Track list V2 — with covers ── */
.sp-tracklist {
    position: relative;
    z-index: 1;
    padding: 12px 0 24px;
    background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
}

.sp-track {
    display: grid;
    grid-template-columns: 56px 1fr 36px;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background var(--t-fast);
    position: relative;
}
.sp-track:hover { background: rgba(255,255,255,.05); }
.sp-track:active { background: rgba(255,255,255,.08); }

.sp-track--playing { background: rgba(212,175,55,.06) !important; }
.sp-track--playing .sp-track__info strong { color: var(--gold) !important; }

/* Mine = pending request from this user */
.sp-track--mine {
    background: linear-gradient(90deg, rgba(212,175,55,.08) 0%, transparent 60%);
}
.sp-track--mine::before {
    content: '';
    position: absolute;
    left: 0; top: 8px; bottom: 8px;
    width: 3px;
    background: var(--gold);
    border-radius: 0 2px 2px 0;
}

.sp-track__cover {
    width: 56px; height: 56px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-elevated);
    position: relative;
    flex-shrink: 0;
}
.sp-track__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-track__cover-fb {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
    color: var(--text-dim);
}

/* Bars overlay on cover when playing */
.sp-track__bars-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}
.sp-track__bars-overlay div {
    width: 3px;
    background: var(--gold);
    border-radius: 2px;
    animation: sp-bar .8s ease-in-out infinite alternate;
}
.sp-track__bars-overlay div:nth-child(1) { height: 14px; animation-delay: 0s; }
.sp-track__bars-overlay div:nth-child(2) { height: 22px; animation-delay: .15s; }
.sp-track__bars-overlay div:nth-child(3) { height: 18px; animation-delay: .25s; }

.sp-track__info { min-width: 0; }
.sp-track__title-row {
    display: flex; align-items: center; gap: 6px;
}
.sp-track__title-row strong {
    font-size: 14px; font-weight: 700;
    color: var(--text);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    transition: color var(--t-fast);
}
.sp-track__mine-tag {
    display: inline-flex;
    background: var(--gold);
    color: #000;
    font-size: 9px; font-weight: 900;
    letter-spacing: .5px;
    padding: 2px 6px;
    border-radius: 3px;
    flex-shrink: 0;
}
.sp-track__artist {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    margin-top: 1px;
}

.sp-track__badges {
    display: flex; align-items: center; gap: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
}
.sp-track__badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 10px; font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: .3px;
}
.sp-track__badge--pending {
    background: rgba(212,175,55,.15);
    color: var(--gold);
}
.sp-pulse-dot {
    width: 5px; height: 5px;
    background: var(--gold);
    border-radius: 50%;
    animation: liveDot 1.4s ease-in-out infinite;
}
.sp-track__likes {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 11px; font-weight: 600;
    color: var(--text-muted);
}

.sp-track__like {
    background: none; border: none; cursor: pointer;
    color: var(--text-muted);
    padding: 8px;
    display: flex; align-items: center; justify-content: center;
    transition: color var(--t-fast), transform var(--t-fast);
}
.sp-track__like:hover { color: var(--text); }
.sp-track__like:active { transform: scale(.85); }
.sp-track__like.liked { color: var(--gold); }

/* ── No-playlist state V2 ── */
.sp-no-playlist__inner { gap: 12px; }
.sp-no-playlist__msg {
    margin-top: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(212,175,55,.1) 0%, rgba(212,175,55,.04) 100%);
    border: 1px solid rgba(212,175,55,.25);
    border-radius: 14px;
}
.sp-no-playlist__msg strong {
    display: block;
    font-size: 14px; font-weight: 800;
    color: var(--gold);
    margin-bottom: 4px;
}
.sp-no-playlist__msg p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ── Sheet improvements ── */
.sp-sheet { background: linear-gradient(180deg, #1f1f1f 0%, #161616 100%); }
.sp-sheet__counter {
    background: var(--gold);
    color: #000;
    font-size: 11px; font-weight: 900;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 4px;
}
.sp-sheet__head strong { color: var(--gold); font-weight: 800; }

/* ── Celebration modal V2 ── */
.cel-modal { backdrop-filter: blur(8px); }
.cel-modal__card {
    background: linear-gradient(180deg, #1f1f1f 0%, #131313 100%);
    border: 1px solid rgba(212,175,55,.3);
    box-shadow: 0 24px 80px rgba(212,175,55,.18), 0 0 0 1px rgba(212,175,55,.1);
    animation: celBounce .5s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes celBounce {
    0% { transform: scale(.5) translateY(40px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cel-modal__badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #000;
    font-size: 11px; font-weight: 900; letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.cel-modal__cover {
    box-shadow: 0 12px 30px rgba(0,0,0,.5);
    border: 1px solid rgba(212,175,55,.3);
}
.cel-modal__title {
    font-size: 22px; font-weight: 900;
    color: var(--gold);
}

/* ── Accept toast ── */
.toast-accept {
    position: fixed;
    top: 20px; left: 50%;
    transform: translate(-50%, -150%);
    background: linear-gradient(135deg, #2ed573 0%, #1ea85d 100%);
    color: #fff;
    padding: 12px 18px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(46,213,115,.4);
    align-items: center;
    gap: 8px;
    font-size: 13px; font-weight: 700;
    z-index: 250;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
    max-width: 92vw;
}
.toast-accept--in { transform: translate(-50%, 0); }

/* ===========================================
   PLAYLISTS PAGE V2
=========================================== */
.sp-playlists-page { padding: 16px 16px 0; }
.sp-page-title {
    font-size: 26px; font-weight: 900;
    letter-spacing: -.5px;
    color: var(--text);
    margin-bottom: 4px;
}
.sp-page-sub {
    font-size: 13px; margin-bottom: 18px;
}

.sp-section-title {
    font-size: 18px; font-weight: 800;
    color: var(--text);
    margin: 24px 0 12px;
}

/* Active playlist big card */
.sp-active-card {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 16px 40px rgba(0,0,0,.4);
    aspect-ratio: 16/9;
    max-height: 200px;
    background: var(--bg-card);
}
.sp-active-card__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(.55) saturate(1.4);
    transform: scale(1.08);
}
.sp-active-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(212,175,55,.15) 0%, rgba(0,0,0,.5) 100%);
}
.sp-active-card__content {
    position: relative; z-index: 1;
    padding: 16px;
    display: flex; flex-direction: column; justify-content: space-between;
    height: 100%;
}
.sp-active-card__tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(46,213,115,.25);
    border: 1px solid rgba(46,213,115,.5);
    color: #fff;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 10px; font-weight: 800; letter-spacing: 1px;
    align-self: flex-start;
}
.sp-active-card__row {
    display: grid;
    grid-template-columns: 70px 1fr 44px;
    gap: 12px;
    align-items: center;
}
.sp-active-card__cover {
    width: 70px; height: 70px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-elevated);
    box-shadow: 0 6px 20px rgba(0,0,0,.5);
}
.sp-active-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.sp-active-card__info { min-width: 0; }
.sp-active-card__info strong {
    display: block;
    font-size: 18px; font-weight: 900;
    color: #fff;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.sp-active-card__info span {
    display: block;
    font-size: 12px; color: rgba(255,255,255,.75);
    margin-top: 2px;
}
.sp-active-card__cta {
    width: 44px; height: 44px;
    background: var(--gold); color: #000;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(212,175,55,.5);
    flex-shrink: 0;
}

/* Playlist grid (others) */
.sp-pl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.sp-pl-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform var(--t-fast), background var(--t-fast);
}
.sp-pl-card:hover { background: var(--bg-elevated); }
.sp-pl-card:active { transform: scale(.97); }
.sp-pl-card__cover {
    aspect-ratio: 1;
    background: var(--bg-elevated);
    overflow: hidden;
    position: relative;
}
.sp-pl-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-pl-card__cover-fb {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim);
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
}
.sp-pl-card__body { padding: 10px 12px 12px; }
.sp-pl-card__body strong {
    display: block;
    font-size: 14px; font-weight: 800;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.sp-pl-card__body span {
    display: block;
    font-size: 11px; color: var(--text-muted);
    margin-top: 2px;
}

/* Empty state */
.sp-empty {
    text-align: center;
    padding: 60px 24px;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.sp-empty__icon {
    color: var(--text-dim);
    margin-bottom: 8px;
}
.sp-empty p {
    font-size: 15px; font-weight: 700;
    color: var(--text);
}

/* ===========================================
   HISTORY PAGE V2
=========================================== */
.sp-hist-list {
    display: flex; flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.sp-hist-card {
    display: grid;
    grid-template-columns: 56px 1fr 18px;
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: var(--bg-card);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    transition: background var(--t-fast), transform var(--t-fast);
    border: 1px solid transparent;
}
.sp-hist-card:hover { background: var(--bg-elevated); }
.sp-hist-card:active { transform: scale(.98); }
.sp-hist-card--active {
    border-color: rgba(46,213,115,.4);
    background: linear-gradient(90deg, rgba(46,213,115,.08) 0%, var(--bg-card) 60%);
}
.sp-hist-card__cover {
    width: 56px; height: 56px;
    border-radius: 6px; overflow: hidden;
    background: var(--bg-elevated);
}
.sp-hist-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-hist-card__cover-fb {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim);
}
.sp-hist-card__body { min-width: 0; }
.sp-hist-card__title-row {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 4px;
}
.sp-hist-card__title-row strong {
    font-size: 14px; font-weight: 800;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.sp-hist-card__live {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 9px; font-weight: 800; letter-spacing: .5px;
    background: rgba(46,213,115,.2);
    color: var(--success);
    padding: 2px 7px;
    border-radius: 10px;
    flex-shrink: 0;
}
.sp-hist-card__meta {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; color: var(--text-muted);
    flex-wrap: wrap;
}
.sp-hist-card__sep { color: var(--text-dim); }
.sp-hist-card__likes {
    display: inline-flex; align-items: center; gap: 3px;
}
.sp-hist-card__chevron { color: var(--text-dim); }

/* ── Floating topbar (back button only) ── */
.topbar--floating {
    position: absolute;
    top: 0; left: 0; right: 0;
    background: transparent !important;
    border: none !important;
    z-index: 5;
    padding: 14px 16px;
    height: auto !important;
}
.topbar__back-circle {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    color: #fff;
    transition: background var(--t-fast);
}
.topbar__back-circle:hover { background: rgba(0,0,0,.8); }
.topbar__back-circle:active { transform: scale(.92); }

/* ===========================================
   COMPACT HERO V3 — horizontal layout
=========================================== */

.sp-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 14px;
    padding: 14px 14px 6px;
    align-items: center;
}

.sp-hero__cover {
    width: 110px; height: 110px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 12px 32px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04);
    flex-shrink: 0;
}
.sp-hero__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-hero__cover-fb {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
    color: var(--text-muted);
}

.sp-hero__info {
    min-width: 0;
    display: flex; flex-direction: column;
    gap: 4px;
}

.sp-hero__live {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(46,213,115,.18);
    color: var(--success);
    border: 1px solid rgba(46,213,115,.35);
    border-radius: 14px;
    padding: 2px 9px;
    font-size: 9px; font-weight: 800; letter-spacing: .8px;
    align-self: flex-start;
    margin-bottom: 1px;
}

.sp-hero__title {
    font-size: 19px; font-weight: 900;
    letter-spacing: -.4px;
    line-height: 1.15;
    color: #fff;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
}

.sp-hero__meta {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
}

.sp-hero__actions {
    display: flex; align-items: center; gap: 8px;
    margin-top: 6px;
}

.sp-hero__like {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,.08);
    border: none; border-radius: 16px;
    padding: 5px 10px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 12px; font-weight: 700;
    transition: color var(--t-fast), background var(--t-fast);
}
.sp-hero__like:hover { background: rgba(255,255,255,.12); color: var(--text); }
.sp-hero__like.liked { color: var(--gold); background: rgba(212,175,55,.15); }

.sp-hero__play {
    width: 38px; height: 38px;
    background: var(--gold); color: #000;
    border: none; border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(212,175,55,.4);
    transition: transform var(--t-fast);
    margin-left: auto;
}
.sp-hero__play:active { transform: scale(.9); }
.sp-hero__play:disabled { opacity: .4; pointer-events: none; }

/* CTA bar (compact, full width) */
.sp-cta-bar {
    display: flex; align-items: center; gap: 10px;
    margin: 8px 14px 12px;
    padding: 10px 14px;
    background: linear-gradient(90deg, rgba(212,175,55,.18) 0%, rgba(212,175,55,.08) 100%);
    border: 1px solid rgba(212,175,55,.35);
    border-radius: 12px;
    cursor: pointer;
    transition: background var(--t-fast), transform var(--t-fast);
    position: relative; z-index: 1;
}
.sp-cta-bar:active { transform: scale(.98); }
.sp-cta-bar:hover { background: linear-gradient(90deg, rgba(212,175,55,.25) 0%, rgba(212,175,55,.12) 100%); }
.sp-cta-bar__plus {
    width: 30px; height: 30px;
    background: var(--gold); color: #000;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(212,175,55,.45);
}
.sp-cta-bar__txt {
    flex: 1; min-width: 0;
    font-size: 13px; font-weight: 600;
    color: var(--text);
}
.sp-cta-bar__txt strong { color: var(--gold); font-weight: 900; }
.sp-cta-bar__chev {
    color: var(--gold);
    font-size: 22px; font-weight: 900;
    line-height: 1;
}

.sp-cta-bar--done {
    background: rgba(46,213,115,.1);
    border-color: rgba(46,213,115,.3);
    color: var(--success);
    cursor: default;
    pointer-events: none;
}
.sp-cta-bar--done span {
    font-size: 12px; font-weight: 600;
    color: var(--success);
    flex: 1;
}

/* ===========================================
   TRACK ROW — Horizontal, fits cover height
=========================================== */
.tk-list {
    position: relative; z-index: 1;
    background: var(--bg);
    padding: 4px 0 24px;
}

.tk-row {
    display: grid;
    grid-template-columns: 44px 1fr 32px;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    cursor: pointer;
    transition: background var(--t-fast);
    position: relative;
    min-height: 56px;
}
.tk-row:hover { background: rgba(255,255,255,.04); }
.tk-row:active { background: rgba(255,255,255,.07); }

.tk-row--playing { background: rgba(212,175,55,.07) !important; }
.tk-row--playing .tk-row__main strong { color: var(--gold) !important; }

.tk-row--mine {
    background: linear-gradient(90deg, rgba(212,175,55,.08) 0%, transparent 70%);
}
.tk-row--mine::before {
    content: '';
    position: absolute;
    left: 0; top: 6px; bottom: 6px;
    width: 3px;
    background: var(--gold);
    border-radius: 0 2px 2px 0;
}

.tk-row__cover {
    width: 44px; height: 44px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--bg-elevated);
    position: relative;
    flex-shrink: 0;
}
.tk-row__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tk-row__cover-fb {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
    color: var(--text-dim);
}
.tk-row__bars {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: flex; align-items: center; justify-content: center;
    gap: 2px;
}
.tk-row__bars div {
    width: 2px;
    background: var(--gold);
    border-radius: 1px;
    animation: sp-bar .8s ease-in-out infinite alternate;
}
.tk-row__bars div:nth-child(1) { height: 10px; animation-delay: 0s; }
.tk-row__bars div:nth-child(2) { height: 16px; animation-delay: .15s; }
.tk-row__bars div:nth-child(3) { height: 12px; animation-delay: .25s; }

.tk-row__main {
    min-width: 0;
    display: flex; flex-direction: column;
    justify-content: center;
    gap: 1px;
}

.tk-row__line1 {
    display: flex; align-items: center; gap: 6px;
    min-width: 0;
}
.tk-row__line1 strong {
    font-size: 13.5px; font-weight: 700;
    color: var(--text);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    line-height: 1.2;
    transition: color var(--t-fast);
    flex: 0 1 auto;
    min-width: 0;
}

.tk-row__mine {
    display: inline-flex;
    background: var(--gold); color: #000;
    font-size: 8.5px; font-weight: 900;
    letter-spacing: .5px;
    padding: 1px 5px;
    border-radius: 3px;
    flex-shrink: 0;
    line-height: 1.4;
}

.tk-row__pending {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 9.5px; font-weight: 700;
    color: var(--gold);
    background: rgba(212,175,55,.15);
    padding: 1px 6px;
    border-radius: 3px;
    flex-shrink: 0;
    letter-spacing: .3px;
}
.tk-row__pending--other {
    color: var(--text-muted);
    background: rgba(255,255,255,.06);
}

.tk-row__line2 {
    display: flex; align-items: center; gap: 5px;
    font-size: 11.5px;
    color: var(--text-muted);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    line-height: 1.2;
}
.tk-row__line2 > span:first-child {
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    min-width: 0;
}

.tk-row__likes {
    display: inline-flex; align-items: center; gap: 2px;
    font-size: 11px;
    color: var(--gold);
    flex-shrink: 0;
    font-weight: 600;
}

.tk-row__like {
    background: none; border: none; cursor: pointer;
    color: var(--text-muted);
    padding: 6px;
    display: flex; align-items: center; justify-content: center;
    transition: color var(--t-fast), transform var(--t-fast);
}
.tk-row__like:hover { color: var(--text); }
.tk-row__like:active { transform: scale(.85); }
.tk-row__like.liked { color: var(--gold); }

.tk-empty {
    padding: 30px 20px;
    text-align: center;
}
.tk-empty p { font-size: 14px; font-weight: 700; color: var(--text); margin: 0 0 4px; }
.tk-empty span { font-size: 12px; }

/* Reduce album bg height since hero is more compact */
.sp-album__bg {
    height: 280px !important;
    inset: 0 0 auto 0 !important;
}
.sp-album__overlay {
    height: 280px !important;
    inset: 0 0 auto 0 !important;
}

/* ===========================================
   DJ DASHBOARD V2 — mobile-first, dopamine
=========================================== */

.dj-page {
    padding: 0 0 24px;
    min-height: 100vh;
    background: var(--bg);
}

/* ── HERO ── */
.dj-hero {
    position: relative;
    overflow: hidden;
    padding: 14px 14px 12px;
}
.dj-hero__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: blur(40px) brightness(.4) saturate(1.4);
    transform: scale(1.15);
    z-index: 0;
}
.dj-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, var(--bg) 100%);
    z-index: 0;
}
.dj-hero__top {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
}
.dj-hero__cover {
    width: 92px; height: 92px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 12px 30px rgba(0,0,0,.5);
}
.dj-hero__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dj-hero__cover-fb {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
    color: var(--text-muted);
}
.dj-hero__info {
    min-width: 0;
    display: flex; flex-direction: column; gap: 3px;
}
.dj-hero__live {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(255,71,87,.18);
    color: #ff6b7a;
    border: 1px solid rgba(255,71,87,.4);
    border-radius: 14px;
    padding: 2px 9px;
    font-size: 9px; font-weight: 800; letter-spacing: .8px;
    align-self: flex-start;
    margin-bottom: 2px;
}
.dj-hero__live .sp-album__live-dot { background: #ff4757; box-shadow: 0 0 8px #ff4757; }
.dj-hero__title {
    font-size: 18px; font-weight: 900;
    letter-spacing: -.3px; line-height: 1.15;
    color: #fff;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    margin: 0;
}
.dj-hero__sub {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* ── STATS dopamine ── */
.dj-stats {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}
.dj-stat {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
}
.dj-stat--accent {
    background: rgba(212,175,55,.12);
    border-color: rgba(212,175,55,.3);
}
.dj-stat__num {
    font-size: 22px; font-weight: 900;
    color: var(--text);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), color .3s;
}
.dj-stat--accent .dj-stat__num { color: var(--gold); }
.dj-stat__num--bump {
    animation: statBump .7s cubic-bezier(.34,1.56,.64,1);
    color: var(--gold) !important;
}
@keyframes statBump {
    0% { transform: scale(1); }
    40% { transform: scale(1.4); text-shadow: 0 0 20px var(--gold-glow); }
    100% { transform: scale(1); }
}
.dj-stat__lbl {
    display: flex; align-items: center; justify-content: center; gap: 3px;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: .3px;
}

/* ── ACTIONS ── */
.dj-actions {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
}
.dj-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 5px;
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 9px 8px;
    font-size: 12px; font-weight: 700;
    cursor: pointer;
    transition: background var(--t-fast), transform var(--t-fast);
    white-space: nowrap;
}
.dj-btn:active { transform: scale(.96); }
.dj-btn:disabled { opacity: .4; pointer-events: none; }
.dj-btn--gold { background: var(--gold); color: #000; border-color: var(--gold); }
.dj-btn--gold:hover { background: var(--gold-bright); }
.dj-btn--ghost:hover { background: var(--bg-elevated); }
.dj-btn--danger-soft { color: var(--danger); border-color: rgba(255,71,87,.25); }
.dj-btn--danger-soft:hover { background: rgba(255,71,87,.1); }

/* ── NO ACTIVE ── */
.dj-noactive {
    padding: 60px 24px;
    text-align: center;
}
.dj-noactive__inner {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.dj-noactive__icon { color: var(--text-dim); margin-bottom: 8px; }
.dj-noactive strong { font-size: 17px; font-weight: 800; color: var(--text); }
.dj-noactive p { font-size: 13px; margin: 0 0 6px; }
.dj-noactive__btns {
    display: flex; flex-direction: column; gap: 8px; width: 100%;
    max-width: 260px; margin-top: 12px;
}
.dj-noactive__btns .dj-btn { padding: 12px; font-size: 13px; }

/* ── SECTIONS ── */
.dj-section { padding: 0 14px; margin-top: 18px; }
.dj-section__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
}
.dj-section__title {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 800;
    color: var(--text);
}
.dj-section__pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold-glow);
    animation: liveDot 1.4s ease-in-out infinite;
}
.dj-section__count {
    background: var(--gold); color: #000;
    font-size: 11px; font-weight: 900;
    padding: 1px 8px; border-radius: 10px;
    line-height: 1.5;
}
.dj-section__more {
    background: rgba(212,175,55,.12);
    color: var(--gold);
    border: 1px solid rgba(212,175,55,.3);
    border-radius: 18px;
    padding: 5px 12px;
    font-size: 11px; font-weight: 700;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 4px;
    transition: background var(--t-fast);
}
.dj-section__more:hover { background: rgba(212,175,55,.2); }

/* ── PENDING CARDS (clients propositions) ── */
.dj-pendlist { display: flex; flex-direction: column; gap: 8px; }

.dj-pend {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: transform var(--t-fast), border-color var(--t-fast);
}
.dj-pend--new {
    animation: pendIn .5s cubic-bezier(.34,1.56,.64,1);
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212,175,55,.2), 0 8px 24px rgba(212,175,55,.15);
}
@keyframes pendIn {
    0% { transform: translateX(-30px) scale(.9); opacity: 0; }
    100% { transform: translateX(0) scale(1); opacity: 1; }
}
.dj-pend--busy { opacity: .5; pointer-events: none; }

.dj-pend__cover {
    width: 56px; height: 56px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-elevated);
}
.dj-pend__cover img { width: 100%; height: 100%; object-fit: cover; }
.dj-pend__cover-fb { width: 100%; height: 100%; background: var(--bg-elevated); }

.dj-pend__body { min-width: 0; }
.dj-pend__head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 6px;
}
.dj-pend__head strong {
    font-size: 13.5px; font-weight: 700;
    color: var(--text);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    flex: 1; min-width: 0;
}
.dj-pend__time {
    font-size: 10px; color: var(--text-muted);
    flex-shrink: 0;
}
.dj-pend__artist {
    display: block;
    font-size: 12px; color: var(--text-muted);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    margin-top: 1px;
}
.dj-pend__note {
    display: block;
    font-size: 11px;
    color: var(--gold);
    font-style: italic;
    margin-top: 4px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.dj-pend__actions {
    display: flex; align-items: center; gap: 4px;
    flex-shrink: 0;
    flex-direction: column;
}
.dj-pend__actions { flex-direction: row; }

.dj-iconbtn {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border: none; border-radius: 50%;
    cursor: pointer;
    transition: transform var(--t-fast), background var(--t-fast);
}
.dj-iconbtn:active { transform: scale(.88); }
.dj-iconbtn:disabled { opacity: .35; pointer-events: none; }
.dj-iconbtn--preview { background: rgba(255,255,255,.08); color: var(--text-muted); }
.dj-iconbtn--preview:hover { background: rgba(255,255,255,.15); color: var(--text); }
.dj-iconbtn--accept {
    background: var(--success); color: #fff;
    box-shadow: 0 4px 14px rgba(46,213,115,.35);
}
.dj-iconbtn--accept:hover { background: #1ea85d; }
.dj-iconbtn--play {
    background: var(--gold); color: #000;
    box-shadow: 0 4px 14px rgba(212,175,55,.35);
}
.dj-iconbtn--play:hover { background: var(--gold-bright); }
.dj-iconbtn--reject {
    background: rgba(255,71,87,.15); color: var(--danger);
}
.dj-iconbtn--reject:hover { background: rgba(255,71,87,.3); }
.dj-iconbtn--sm { width: 28px; height: 28px; }

/* ── TRACK ROW for DJ (with number) ── */
.tk-row__num {
    font-size: 11px;
    color: var(--text-dim);
    font-weight: 700;
    margin-right: 4px;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

/* ── ADD TRACK INLINE ── */
.dj-add-track {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}
.dj-add-results {
    margin-top: 8px;
    max-height: 280px;
    overflow-y: auto;
    display: flex; flex-direction: column; gap: 2px;
}
.dj-add-row {
    display: grid;
    grid-template-columns: 36px 1fr 18px;
    gap: 10px;
    align-items: center;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: background var(--t-fast);
}
.dj-add-row:hover { background: rgba(255,255,255,.05); }
.dj-add-row__cover {
    width: 36px; height: 36px;
    border-radius: 4px; overflow: hidden;
    background: var(--bg-elevated);
}
.dj-add-row__cover img { width: 100%; height: 100%; object-fit: cover; }
.dj-add-row__info { min-width: 0; }
.dj-add-row__info strong {
    display: block;
    font-size: 12px; font-weight: 700;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.dj-add-row__info span {
    display: block;
    font-size: 11px; color: var(--text-muted);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.dj-add-row svg { color: var(--gold); }

/* ── SWITCHER (bottom sheet) ── */
.dj-switch {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 200;
    display: flex; align-items: flex-end;
    backdrop-filter: blur(4px);
}
.dj-switch__sheet {
    width: 100%;
    background: linear-gradient(180deg, #1f1f1f 0%, #131313 100%);
    border-radius: 18px 18px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
    max-height: 85vh;
    display: flex; flex-direction: column;
    animation: sheetIn .35s cubic-bezier(.4,0,.2,1);
}
@keyframes sheetIn {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.dj-switch__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
}
.dj-switch__head strong { font-size: 16px; font-weight: 800; }
.dj-switch__list {
    overflow-y: auto;
    padding: 8px;
    display: flex; flex-direction: column; gap: 4px;
}
.dj-switch__row {
    display: grid;
    grid-template-columns: 48px 1fr 24px;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    background: var(--bg-card);
    border: none;
    cursor: pointer;
    transition: background var(--t-fast);
    color: var(--text);
    text-align: left;
}
.dj-switch__row:hover { background: var(--bg-elevated); }
.dj-switch__row--new {
    background: rgba(212,175,55,.08);
    border: 1px dashed rgba(212,175,55,.4);
}
.dj-switch__cover {
    width: 48px; height: 48px;
    border-radius: 6px; overflow: hidden;
    background: var(--bg-elevated);
}
.dj-switch__cover img { width: 100%; height: 100%; object-fit: cover; }
.dj-switch__info { min-width: 0; }
.dj-switch__info strong {
    display: block;
    font-size: 13.5px; font-weight: 700;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.dj-switch__info span {
    display: block;
    font-size: 11px; color: var(--text-muted);
    margin-top: 2px;
}
.dj-switch__plus {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--gold); color: #000;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(212,175,55,.4);
}
.dj-switch__row svg { color: var(--text-muted); }
.dj-switch__row--new svg { color: var(--gold); }

/* ── MODAL (new playlist) ── */
.dj-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    z-index: 250;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    backdrop-filter: blur(4px);
}
.dj-modal__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    width: 100%; max-width: 360px;
    animation: celBounce .35s cubic-bezier(.34,1.56,.64,1);
}
.dj-modal__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 8px;
}
.dj-modal__head strong { font-size: 16px; font-weight: 800; }
.dj-modal__card .dj-btn { width: 100%; padding: 12px; font-size: 14px; }

/* ── TOAST (new request) ── */
.dj-toast {
    position: fixed;
    top: 16px; left: 50%;
    transform: translate(-50%, -150%);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #000;
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(212,175,55,.5);
    align-items: center;
    gap: 12px;
    z-index: 300;
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
    max-width: 90vw; min-width: 260px;
}
.dj-toast--in { transform: translate(-50%, 0); }
.dj-toast__icon {
    width: 36px; height: 36px;
    background: rgba(0,0,0,.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.dj-toast__body {
    display: flex; flex-direction: column;
    min-width: 0; flex: 1;
}
.dj-toast__body strong {
    font-size: 13px; font-weight: 800;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.dj-toast__body span {
    font-size: 11px; opacity: .7;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* ── CONFETTI ── */
.dj-confetti-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 400;
    overflow: hidden;
}
.dj-confetti {
    position: absolute;
    width: 8px; height: 12px;
    top: 50%; left: 50%;
    border-radius: 2px;
    animation: confettiFly 1.4s ease-out forwards;
}
@keyframes confettiFly {
    0% { transform: translate(-50%, -50%) rotate(0deg); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--dx, 0)), calc(-50% + var(--dy, 0) + 600px)) rotate(var(--rot, 720deg)); opacity: 0; }
}

/* ── TOPBAR DJ ── */
.topbar--dj { display: flex; align-items: center; justify-content: space-between; padding-right: 12px; }
.topbar__notif {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(212,175,55,.15);
    border: 1px solid rgba(212,175,55,.3);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background var(--t-fast);
}
.topbar__notif:hover { background: rgba(212,175,55,.25); }

/* ===========================================
   MESSAGES (suggestions as chat) — staff
=========================================== */
.dj-msgs-header { padding: 14px 16px 8px; }
.dj-msgs-header__title {
    display: flex; align-items: center; gap: 8px;
    font-size: 18px; font-weight: 900;
    margin: 0 0 4px;
}
.dj-msgs-header__title svg { color: var(--gold); }
.dj-msgs-header p { font-size: 12px; margin: 0; }

.dj-msgs-list {
    padding: 4px 12px;
    display: flex; flex-direction: column; gap: 12px;
}

.dj-msg {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 8px;
    align-items: flex-start;
}
.dj-msg--new {
    animation: msgIn .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes msgIn {
    0% { transform: translateX(-20px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.dj-msg__avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px; font-weight: 900;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
    flex-shrink: 0;
    margin-top: 4px;
}

.dj-msg__bubble {
    background: var(--bg-card);
    border-radius: 14px;
    border-top-left-radius: 4px;
    padding: 12px;
    border: 1px solid var(--border);
}
.dj-msg--new .dj-msg__bubble {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212,175,55,.15), 0 8px 24px rgba(212,175,55,.1);
}

.dj-msg__head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}
.dj-msg__head strong { font-size: 12px; font-weight: 800; color: var(--gold); letter-spacing: .3px; }
.dj-msg__time { font-size: 10px; color: var(--text-muted); flex-shrink: 0; }

.dj-msg__note {
    font-size: 14px;
    color: var(--text);
    line-height: 1.45;
    margin-bottom: 10px;
    word-wrap: break-word;
}
.dj-msg__note--empty {
    font-style: italic;
    color: var(--text-dim);
    font-size: 12px;
}

.dj-msg__track {
    display: grid;
    grid-template-columns: 44px 1fr 32px;
    gap: 10px;
    align-items: center;
    background: rgba(255,255,255,.03);
    border-radius: 10px;
    padding: 8px;
    margin-bottom: 10px;
}
.dj-msg__cover {
    width: 44px; height: 44px;
    border-radius: 5px; overflow: hidden;
    background: var(--bg-elevated);
}
.dj-msg__cover img { width: 100%; height: 100%; object-fit: cover; }
.dj-msg__info { min-width: 0; }
.dj-msg__pl { font-size: 9px; font-weight: 800; color: var(--gold); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 1px; }
.dj-msg__info strong { display: block; font-size: 13px; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dj-msg__info span { display: block; font-size: 11.5px; color: var(--text-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.dj-msg__actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
}
.dj-msg__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    border: none; border-radius: 8px;
    padding: 8px 6px;
    font-size: 11.5px; font-weight: 700;
    cursor: pointer;
    transition: transform var(--t-fast), background var(--t-fast);
}
.dj-msg__btn:active { transform: scale(.96); }
.dj-msg__btn:disabled { opacity: .4; pointer-events: none; }
.dj-msg__btn--accept { background: rgba(46,213,115,.18); color: var(--success); }
.dj-msg__btn--accept:hover { background: rgba(46,213,115,.3); }
.dj-msg__btn--play { background: rgba(212,175,55,.18); color: var(--gold); }
.dj-msg__btn--play:hover { background: rgba(212,175,55,.3); }
.dj-msg__btn--reject { background: rgba(255,71,87,.12); color: var(--danger); }
.dj-msg__btn--reject:hover { background: rgba(255,71,87,.22); }

.dj-empty-msg {
    text-align: center;
    padding: 60px 24px;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.dj-empty-msg__icon { color: var(--text-dim); margin-bottom: 8px; }
.dj-empty-msg p { font-size: 15px; font-weight: 700; color: var(--text); margin: 0; }

/* ── DJ desktop sidebar fix (no margin-left for client/dj) ── */
@media (max-width: 768px) {
    .dj-page { margin-left: 0 !important; }
}

/* ===========================================
   HOME V4 — match playlists page hero style
=========================================== */

.sp-home-wrap {
    padding: 16px 14px 0;
    position: relative;
    z-index: 1;
}

/* Override album bg overlay for home (we use the card style instead) */
.sp-home-wrap .sp-page-title {
    font-size: 24px; font-weight: 900;
    letter-spacing: -.5px;
    margin-bottom: 12px;
}

/* Active card adapted for home (slightly taller, more prominent) */
.sp-active-card--home {
    aspect-ratio: 16/9.5;
    max-height: 220px;
    margin-bottom: 14px;
}
.sp-active-card--home .sp-active-card__bg {
    filter: blur(0px) brightness(.45) saturate(1.3);
    transform: scale(1.02);
}
.sp-active-card--home .sp-active-card__cover {
    width: 80px; height: 80px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
}
.sp-active-card--home .sp-active-card__cover-fb {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
    color: var(--text-muted);
}
.sp-active-card--home .sp-active-card__row {
    grid-template-columns: 80px 1fr 50px;
    gap: 14px;
}
.sp-active-card--home .sp-active-card__info strong {
    font-size: 20px;
    line-height: 1.15;
}
.sp-active-card--home .sp-active-card__info span {
    font-size: 13px;
    margin-top: 4px;
}
.sp-active-card--home .sp-active-card__cta {
    width: 50px; height: 50px;
}
.sp-active-card--home .sp-active-card__cta svg {
    width: 22px; height: 22px;
}

/* CTA Add button — full-width gold pill */
.sp-add-btn {
    display: flex; align-items: center; gap: 12px;
    width: 100%;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #000;
    border: none;
    border-radius: 14px;
    padding: 14px 16px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 8px 22px rgba(212,175,55,.35);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
    margin-bottom: 16px;
}
.sp-add-btn:active { transform: scale(.98); }
.sp-add-btn:hover { box-shadow: 0 12px 30px rgba(212,175,55,.5); }

.sp-add-btn__icon {
    width: 32px; height: 32px;
    background: rgba(0,0,0,.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.sp-add-btn__txt {
    flex: 1;
    text-align: left;
    font-size: 14px; font-weight: 700;
}
.sp-add-btn__txt strong {
    font-weight: 900;
    font-size: 16px;
}

/* Done card — replaces add button when sugLeft === 0 */
.sp-done-card {
    display: grid;
    grid-template-columns: 44px 1fr 36px;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    background: linear-gradient(90deg, rgba(46,213,115,.12) 0%, rgba(46,213,115,.04) 100%);
    border: 1px solid rgba(46,213,115,.3);
    border-radius: 14px;
    margin-bottom: 16px;
    animation: doneIn .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes doneIn {
    0% { transform: scale(.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.sp-done-card__check {
    width: 44px; height: 44px;
    background: var(--success);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(46,213,115,.4);
    animation: checkPop .6s cubic-bezier(.34,1.56,.64,1);
}
@keyframes checkPop {
    0% { transform: scale(0) rotate(-180deg); }
    100% { transform: scale(1) rotate(0); }
}
.sp-done-card__body {
    min-width: 0;
    display: flex; flex-direction: column; gap: 2px;
}
.sp-done-card__body strong {
    font-size: 14px; font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}
.sp-done-card__body span {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.3;
}
.sp-done-card__like {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.08);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    transition: color var(--t-fast), transform var(--t-fast), background var(--t-fast);
    flex-shrink: 0;
}
.sp-done-card__like:hover { background: rgba(255,255,255,.14); color: var(--text); }
.sp-done-card__like:active { transform: scale(.9); }
.sp-done-card__like.liked {
    color: var(--gold);
    background: rgba(212,175,55,.18);
}

/* Section title above tracks */
.sp-tracks-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 4px 0 8px;
    margin: 0 0 4px;
}
.sp-tracks-head__title {
    font-size: 13px; font-weight: 800;
    color: var(--text);
    letter-spacing: .3px;
}
.sp-tracks-head__like {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,.06);
    border: none; border-radius: 16px;
    padding: 5px 11px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 11px; font-weight: 700;
    transition: background var(--t-fast), color var(--t-fast);
}
.sp-tracks-head__like:hover { background: rgba(255,255,255,.1); color: var(--text); }
.sp-tracks-head__like.liked {
    background: rgba(212,175,55,.18);
    color: var(--gold);
}

/* Hide old album bg / overlay that we don't need on home anymore */
.sp-home-wrap .sp-album__bg,
.sp-home-wrap .sp-album__overlay { display: none !important; }

/* ===========================================
   V5 — IMMERSIVE COVER + ENGAGEMENT
=========================================== */

/* Big blur background covering top of home page */
.sp-home-bg {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 380px;
    background-size: cover;
    background-position: center;
    filter: blur(40px) brightness(.5) saturate(1.5);
    transform: scale(1.15);
    z-index: 0;
    pointer-events: none;
}
.sp-home-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 380px;
    background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(10,10,10,.4) 50%, var(--bg) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Re-enable inner sp-album bg suppression but only for nested ones */
.sp-home-wrap > .sp-album__bg,
.sp-home-wrap > .sp-album__overlay { display: none !important; }

/* Title in hero needs to be above bg */
.sp-page-title--hero {
    position: relative;
    z-index: 1;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.sp-home-wrap .sp-active-card,
.sp-home-wrap .sp-add-btn,
.sp-home-wrap .sp-done-card,
.sp-home-wrap .sp-tracks-head,
.sp-home-wrap .tk-list,
.sp-home-wrap .tk-empty {
    position: relative;
    z-index: 1;
}

/* ── Track row mine improvements ── */
.tk-row--mine {
    background: linear-gradient(90deg, rgba(212,175,55,.12) 0%, rgba(212,175,55,.02) 80%, transparent 100%) !important;
    padding-top: 8px;
    padding-bottom: 8px;
}
.tk-row--mine::before {
    content: '';
    position: absolute;
    left: 0; top: 6px; bottom: 6px;
    width: 3px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-bright) 100%);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 12px var(--gold-glow);
}

/* Cover badge for mine tracks */
.tk-row__mine-badge {
    position: absolute;
    top: -3px; right: -3px;
    width: 18px; height: 18px;
    background: var(--gold);
    color: #000;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.4), 0 0 0 2px var(--bg);
    z-index: 2;
}

.tk-row__mine {
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #000;
    font-size: 9px; font-weight: 900;
    letter-spacing: .8px;
    padding: 2px 7px;
    border-radius: 10px;
    flex-shrink: 0;
    line-height: 1.3;
    box-shadow: 0 2px 8px rgba(212,175,55,.4);
}

/* Status line for mine tracks */
.tk-row__status {
    display: flex; align-items: center; gap: 5px;
    margin-top: 3px;
    font-size: 11px; font-weight: 700;
    color: var(--gold);
    letter-spacing: .2px;
    animation: statusPulse 2.5s ease-in-out infinite;
}
@keyframes statusPulse {
    0%, 100% { opacity: .85; }
    50% { opacity: 1; }
}
.tk-row__status .sp-pulse-dot { background: var(--gold); }

.tk-row__status--ok {
    color: var(--success);
    animation: none;
}

/* ===========================================
   DJ LIVE V5 — Big cover + engagement
=========================================== */

.dj-hero {
    position: relative;
    padding: 16px 14px 14px;
    overflow: visible;
}
.dj-hero__bg {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 400px;
    background-size: cover; background-position: center;
    filter: blur(40px) brightness(.5) saturate(1.4);
    transform: scale(1.15);
    z-index: 0;
}
.dj-hero__overlay {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 400px;
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(10,10,10,.5) 60%, var(--bg) 100%);
    z-index: 0;
}

/* DJ active card adapts */
.dj-active-card {
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
}
.dj-active-tag {
    background: rgba(255,71,87,.25) !important;
    border-color: rgba(255,71,87,.55) !important;
    color: #fff !important;
}
.dj-active-tag .sp-album__live-dot {
    background: #ff4757 !important;
    box-shadow: 0 0 8px #ff4757 !important;
}

/* Stats row + actions positioned on top of bg */
.dj-stats { position: relative; z-index: 1; }
.dj-actions { position: relative; z-index: 1; margin-bottom: 14px; }

/* Big "Add a track" gold button (DJ) */
.dj-add-btn-main {
    position: relative;
    z-index: 1;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
}

/* New requests trigger a screen flash */
@keyframes screenFlash {
    0%   { box-shadow: inset 0 0 0 0 rgba(212,175,55,0); }
    20%  { box-shadow: inset 0 0 100px 0 rgba(212,175,55,.4); }
    100% { box-shadow: inset 0 0 0 0 rgba(212,175,55,0); }
}
.dj-page--flash {
    animation: screenFlash .8s ease-out;
}

/* Pending card — more dramatic entry */
.dj-pend--new {
    animation: pendInDramatic .6s cubic-bezier(.34,1.56,.64,1);
    border-color: var(--gold) !important;
    background: linear-gradient(90deg, rgba(212,175,55,.15) 0%, var(--bg-card) 60%) !important;
    box-shadow: 0 0 0 2px rgba(212,175,55,.3), 0 12px 32px rgba(212,175,55,.25) !important;
}
@keyframes pendInDramatic {
    0% { transform: translateX(-50px) scale(.85) rotate(-2deg); opacity: 0; }
    50% { transform: translateX(5px) scale(1.03) rotate(0); }
    100% { transform: translateX(0) scale(1) rotate(0); opacity: 1; }
}

/* Pulsing dot for new pending */
.dj-pend--new::after {
    content: 'NEW';
    position: absolute;
    top: -8px; left: 8px;
    background: var(--gold);
    color: #000;
    font-size: 9px; font-weight: 900;
    padding: 2px 7px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(212,175,55,.5);
    animation: newBlink 1.5s ease-in-out infinite;
}
@keyframes newBlink {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.dj-pend { position: relative; }

/* ===========================================
   DJ PLAYLISTS PAGE V5
=========================================== */

.dj-pl-active { cursor: pointer; transition: transform var(--t-fast); }
.dj-pl-active:active { transform: scale(.98); }
.dj-pl-active .sp-active-card__cta {
    background: rgba(255,255,255,.15);
    color: #fff;
    backdrop-filter: blur(8px);
}

.dj-create-btn {
    margin-bottom: 20px !important;
}

/* DJ playlist card (grid) */
.dj-pl-card {
    position: relative;
}
.dj-pl-card .sp-pl-card__cover {
    cursor: pointer;
}
.dj-pl-card .sp-pl-card__body {
    padding-bottom: 8px;
}
.dj-pl-card__actions {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}
.dj-pl-mini-btn {
    background: rgba(255,255,255,.06);
    color: var(--text);
    border: none; border-radius: 6px;
    padding: 5px 8px;
    font-size: 11px; font-weight: 700;
    cursor: pointer;
    transition: background var(--t-fast);
    white-space: nowrap;
}
.dj-pl-mini-btn:hover { background: rgba(255,255,255,.12); }
.dj-pl-mini-btn--gold {
    background: rgba(212,175,55,.18);
    color: var(--gold);
}
.dj-pl-mini-btn--gold:hover { background: rgba(212,175,55,.3); }
.dj-pl-mini-btn--danger {
    background: rgba(255,71,87,.12);
    color: var(--danger);
    padding: 5px 9px;
    font-size: 13px;
}
.dj-pl-mini-btn--danger:hover { background: rgba(255,71,87,.22); }

/* Editor modal adapted */
.dj-modal__card--lg {
    max-width: 480px;
    width: 95vw;
    max-height: 88vh;
    display: flex; flex-direction: column;
    padding: 0;
}
.dj-modal__card--lg .dj-modal__head {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}
.dj-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 14px 18px;
    display: flex; flex-direction: column; gap: 12px;
}
.dj-modal__sub {
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    margin: 4px 0 4px;
}

[x-cloak] { display: none !important; }

/* ===========================================
   V6 — Polish + DJ pending v2 + topbar menu
=========================================== */

/* ── Note field in client add sheet ── */
.sp-note-field {
    margin-top: 4px;
    display: flex; flex-direction: column; gap: 4px;
}
.sp-note-label {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700;
    color: var(--text);
}
.sp-note-label svg { color: var(--gold); }

.sp-note-input {
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    padding: 10px 12px;
    outline: none;
    resize: none;
    transition: border-color var(--t-fast);
    line-height: 1.4;
}
.sp-note-input:focus { border-color: var(--gold); }
.sp-note-input::placeholder { color: var(--text-dim); }

.sp-note-counter {
    font-size: 10px;
    color: var(--text-dim);
    text-align: right;
}

/* Big submit button */
.sp-submit-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #000;
    border: none;
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px; font-weight: 800;
    box-shadow: 0 8px 22px rgba(212,175,55,.35);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
    margin-top: 6px;
}
.sp-submit-btn:active { transform: scale(.97); }
.sp-submit-btn:hover { box-shadow: 0 12px 30px rgba(212,175,55,.5); }
.sp-submit-btn:disabled { opacity: .45; pointer-events: none; }

/* ===========================================
   DJ Pending V2 — Big labeled action buttons
=========================================== */
.dj-pend2 {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
    position: relative;
    overflow: hidden;
}
.dj-pend2--new {
    animation: pendInDramatic .65s cubic-bezier(.34,1.56,.64,1);
    border-color: var(--gold);
    background: linear-gradient(90deg, rgba(212,175,55,.12) 0%, var(--bg-card) 70%);
    box-shadow: 0 0 0 2px rgba(212,175,55,.25), 0 12px 32px rgba(212,175,55,.2);
}
.dj-pend2--busy { opacity: .5; pointer-events: none; }

.dj-pend2--new::before {
    content: 'NOUVEAU';
    position: absolute;
    top: -4px; left: 12px;
    background: var(--gold);
    color: #000;
    font-size: 8.5px; font-weight: 900;
    letter-spacing: .8px;
    padding: 2px 8px;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(212,175,55,.5);
    animation: newBlink 1.5s ease-in-out infinite;
}

.dj-pend2__top {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.dj-pend2__cover {
    width: 64px; height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-elevated);
    position: relative;
    flex-shrink: 0;
}
.dj-pend2__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dj-pend2__cover-fb {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
    color: var(--text-dim);
}
.dj-pend2__preview {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity var(--t-fast);
}
.dj-pend2__cover:hover .dj-pend2__preview,
.dj-pend2__preview:focus { opacity: 1; }
.dj-pend2__preview:disabled { display: none; }

.dj-pend2__info { min-width: 0; }
.dj-pend2__head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}
.dj-pend2__head strong {
    font-size: 14px; font-weight: 800;
    color: var(--text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    flex: 1; min-width: 0;
}
.dj-pend2__time {
    font-size: 10px;
    color: var(--text-muted);
    flex-shrink: 0;
}
.dj-pend2__artist {
    display: block;
    font-size: 12.5px;
    color: var(--text-muted);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    margin-bottom: 6px;
}

.dj-pend2__note {
    display: flex; align-items: flex-start; gap: 6px;
    background: rgba(212,175,55,.1);
    border-left: 3px solid var(--gold);
    border-radius: 0 8px 8px 0;
    padding: 8px 10px;
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--text);
    line-height: 1.4;
    font-style: italic;
    animation: noteSlideIn .4s ease-out;
}
@keyframes noteSlideIn {
    from { transform: translateX(-10px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.dj-pend2__note svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}
.dj-pend2__note span { flex: 1; word-wrap: break-word; }

/* Big labeled action buttons (3 in a row) */
.dj-pend2__actions {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 6px;
}
.dj-action-btn {
    display: flex; align-items: center; justify-content: center; gap: 5px;
    border: none;
    border-radius: 10px;
    padding: 10px 6px;
    font-family: inherit;
    font-size: 12.5px; font-weight: 800;
    cursor: pointer;
    transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast);
    letter-spacing: .2px;
    white-space: nowrap;
}
.dj-action-btn:active { transform: scale(.96); }
.dj-action-btn:disabled { opacity: .4; pointer-events: none; }

.dj-action-btn--accept {
    background: linear-gradient(135deg, #2ed573 0%, #1ea85d 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(46,213,115,.4);
}
.dj-action-btn--accept:hover { box-shadow: 0 6px 20px rgba(46,213,115,.55); filter: brightness(1.1); }

.dj-action-btn--play {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #000;
    box-shadow: 0 4px 14px rgba(212,175,55,.4);
}
.dj-action-btn--play:hover { box-shadow: 0 6px 20px rgba(212,175,55,.55); filter: brightness(1.05); }

.dj-action-btn--reject {
    background: rgba(255,71,87,.12);
    color: var(--danger);
    border: 1px solid rgba(255,71,87,.25);
}
.dj-action-btn--reject:hover { background: rgba(255,71,87,.22); border-color: rgba(255,71,87,.4); }

/* ===========================================
   TOPBAR DROPDOWN MENU
=========================================== */
.topbar__right { position: relative; display: flex; align-items: center; gap: 8px; }
.topbar__menu {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: var(--text);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--t-fast);
}
.topbar__menu:hover { background: rgba(255,255,255,.12); }
.topbar__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,.55);
    overflow: hidden;
    z-index: 200;
}
.topbar__dropdown-item {
    display: flex; align-items: center; gap: 10px;
    width: 100%;
    background: none; border: none;
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px; font-weight: 600;
    padding: 12px 14px;
    text-align: left;
    transition: background var(--t-fast);
}
.topbar__dropdown-item:hover { background: var(--bg-elevated); }
.topbar__dropdown-item svg { color: var(--text-muted); }

/* ===========================================
   FALLBACK BG when no cover (gradient)
=========================================== */
.sp-home-bg--gradient {
    background: radial-gradient(circle at 30% 20%, rgba(212,175,55,.22) 0%, transparent 55%),
                radial-gradient(circle at 75% 65%, rgba(212,175,55,.14) 0%, transparent 60%),
                linear-gradient(135deg, #1f1f1f 0%, #0a0a0a 100%) !important;
    filter: none !important;
    transform: none !important;
}

.dj-hero__bg--gradient {
    background: radial-gradient(circle at 30% 20%, rgba(212,175,55,.25) 0%, transparent 55%),
                radial-gradient(circle at 75% 65%, rgba(255,71,87,.18) 0%, transparent 60%),
                linear-gradient(135deg, #1f1f1f 0%, #0a0a0a 100%) !important;
    filter: none !important;
    transform: none !important;
}

/* Old dj-pend (now unused) hide */
.dj-pend { display: none; }

[x-cloak] { display: none !important; }

/* ===========================================
   V7 — Polish dopamine + glassmorphism
=========================================== */

/* ── Client home: title row with rotating tagline ── */
.sp-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.sp-page-title--md {
    font-size: 19px !important;
    margin-bottom: 0 !important;
    flex-shrink: 0;
    letter-spacing: -.3px;
}

/* Rotating tagline next to title */
.sp-tagline {
    position: relative;
    height: 22px;
    flex: 1;
    overflow: hidden;
    text-align: right;
}
.sp-tagline__item {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 12px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: .3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .45s cubic-bezier(.4,0,.2,1), transform .45s cubic-bezier(.4,0,.2,1);
    text-shadow: 0 0 12px rgba(212,175,55,.5);
}
.sp-tagline__item--on {
    opacity: 1;
    transform: translateY(0);
    animation: taglineGlow 2.4s ease-in-out infinite;
}
@keyframes taglineGlow {
    0%, 100% { text-shadow: 0 0 8px rgba(212,175,55,.4); }
    50% { text-shadow: 0 0 16px rgba(212,175,55,.7), 0 0 24px rgba(212,175,55,.3); }
}

/* ===========================================
   DJ — Glass overlays on cover (V7)
=========================================== */
.dj-active-card--full {
    aspect-ratio: auto !important;
    max-height: none !important;
    margin-bottom: 14px !important;
}
.dj-active-card--full .sp-active-card__bg {
    filter: blur(0) brightness(.4) saturate(1.4);
    transform: scale(1.02);
}
.dj-active-card--full .dj-active-card__content {
    padding: 14px 14px 12px !important;
    gap: 12px;
    display: flex;
    flex-direction: column;
}

/* Glass stats row inside cover */
.dj-glass-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}
.dj-glass-stat {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 4px 10px;
    color: #fff;
    font-size: 13px; font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.dj-glass-stat svg { color: rgba(255,255,255,.7); }
.dj-glass-stat--accent {
    background: rgba(212,175,55,.22);
    border-color: rgba(212,175,55,.4);
    color: var(--gold-bright);
}
.dj-glass-stat--accent svg { color: var(--gold); }
.dj-stat__num--bump {
    animation: statBump .7s cubic-bezier(.34,1.56,.64,1);
}

/* Glass action buttons inside cover */
.dj-glass-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    margin-top: 4px;
}
.dj-glass-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 5px;
    background: rgba(0,0,0,.4);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    border-radius: 10px;
    padding: 8px 6px;
    font-family: inherit;
    font-size: 12px; font-weight: 700;
    cursor: pointer;
    transition: background var(--t-fast), transform var(--t-fast);
    white-space: nowrap;
}
.dj-glass-btn:hover { background: rgba(255,255,255,.15); }
.dj-glass-btn:active { transform: scale(.96); }
.dj-glass-btn:disabled { opacity: .35; pointer-events: none; }
.dj-glass-btn--danger {
    background: rgba(255,71,87,.25);
    border-color: rgba(255,71,87,.4);
    color: #ff8a93;
}
.dj-glass-btn--danger:hover { background: rgba(255,71,87,.4); }

/* Hide old dj-stats and dj-actions sections (now inside cover) */
.dj-hero > .dj-stats,
.dj-hero > .dj-actions { display: none !important; }

/* ===========================================
   DJ pending V3 — Horizontal one-line, icon only
=========================================== */
.dj-pendlist { padding: 0 !important; }

.dj-pend3 {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    transition: background var(--t-fast), border-color var(--t-fast);
    position: relative;
}
.dj-pend3:first-child { border-top: 1px solid var(--border); }
.dj-pend3:hover { background: rgba(255,255,255,.04); }

.dj-pend3--new {
    background: linear-gradient(90deg, rgba(212,175,55,.18) 0%, var(--bg-card) 70%) !important;
    animation: pendInDramatic .6s cubic-bezier(.34,1.56,.64,1);
    border-left: 3px solid var(--gold);
    padding-left: 11px;
}
.dj-pend3--new::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
    animation: liveDot 1.4s ease-in-out infinite;
}
.dj-pend3--busy { opacity: .55; pointer-events: none; }

.dj-pend3__cover {
    width: 56px; height: 56px;
    border-radius: 7px;
    overflow: hidden;
    background: var(--bg-elevated);
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    transition: transform var(--t-fast);
}
.dj-pend3__cover:hover { transform: scale(1.04); }
.dj-pend3__cover:active { transform: scale(.96); }
.dj-pend3__cover:disabled { cursor: default; }
.dj-pend3__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dj-pend3__cover-fb {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
    color: var(--text-dim);
}
.dj-pend3__play-icon {
    position: absolute;
    bottom: 4px; right: 4px;
    width: 22px; height: 22px;
    background: var(--gold);
    color: #000;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
    opacity: 0;
    transition: opacity var(--t-fast);
}
.dj-pend3__cover:hover .dj-pend3__play-icon,
.dj-pend3 .dj-pend3__play-icon { opacity: 1; }

.dj-pend3__info {
    min-width: 0;
    display: flex; flex-direction: column;
    gap: 2px;
}
.dj-pend3__info strong {
    font-size: 14px; font-weight: 800;
    color: var(--text);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    line-height: 1.2;
}
.dj-pend3__artist {
    font-size: 12px;
    color: var(--text-muted);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    line-height: 1.2;
}
.dj-pend3__note-inline {
    font-size: 11px;
    color: var(--gold);
    font-style: italic;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    margin-top: 2px;
    line-height: 1.2;
}

/* Action icon-only buttons */
.dj-pend3__icons {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.dj-icon-only {
    width: 38px; height: 38px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform var(--t-fast), filter var(--t-fast), background var(--t-fast);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}
.dj-icon-only:active { transform: scale(.88); }
.dj-icon-only:disabled { opacity: .4; cursor: default; pointer-events: none; }

.dj-icon-only--accept {
    background: linear-gradient(135deg, #2ed573 0%, #1ea85d 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(46,213,115,.4);
}
.dj-icon-only--accept:hover { filter: brightness(1.1); box-shadow: 0 6px 18px rgba(46,213,115,.55); }

.dj-icon-only--play {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #000;
    box-shadow: 0 4px 12px rgba(212,175,55,.4);
}
.dj-icon-only--play:hover { filter: brightness(1.05); box-shadow: 0 6px 18px rgba(212,175,55,.55); }

.dj-icon-only--reject {
    background: rgba(255,71,87,.15);
    color: var(--danger);
    border: 1px solid rgba(255,71,87,.3);
}
.dj-icon-only--reject:hover { background: rgba(255,71,87,.28); border-color: rgba(255,71,87,.5); }

/* Hide old dj-pend2 */
.dj-pend2 { display: none !important; }

/* ===========================================
   DJ MESSAGES V7 — Chat clean, message focus
=========================================== */
.dj-chat-list {
    padding: 10px 12px 0;
    display: flex; flex-direction: column;
    gap: 12px;
}

.dj-chat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
    transition: border-color var(--t-fast);
    position: relative;
    overflow: hidden;
}
.dj-chat--new {
    animation: msgIn .55s cubic-bezier(.34,1.56,.64,1);
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212,175,55,.2), 0 12px 32px rgba(212,175,55,.15);
}
.dj-chat--new::before {
    content: 'NOUVEAU';
    position: absolute;
    top: 0; right: 14px;
    background: var(--gold);
    color: #000;
    font-size: 8.5px; font-weight: 900;
    letter-spacing: .8px;
    padding: 2px 8px;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(212,175,55,.5);
    animation: newBlink 1.5s ease-in-out infinite;
}

.dj-chat__head {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.dj-chat__avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 13px; font-weight: 900;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
    flex-shrink: 0;
}

.dj-chat__from {
    min-width: 0;
    display: flex; flex-direction: column;
    gap: 0;
}
.dj-chat__from strong {
    font-size: 11px; font-weight: 800;
    color: var(--gold);
    letter-spacing: .3px;
    line-height: 1.2;
}
.dj-chat__from span {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.2;
}

.dj-chat__icons {
    display: flex; gap: 4px;
}
.dj-chat__icons .dj-icon-only {
    width: 32px; height: 32px;
}
.dj-chat__icons .dj-icon-only svg { width: 14px; height: 14px; }

/* The actual message — big, prominent */
.dj-chat__msg {
    font-size: 16px;
    line-height: 1.45;
    color: var(--text);
    font-weight: 500;
    padding: 8px 0;
    word-wrap: break-word;
    position: relative;
    animation: msgFadeIn .5s ease-out;
}
@keyframes msgFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.dj-chat__quote {
    font-size: 32px;
    color: var(--gold);
    font-weight: 900;
    line-height: 1;
    margin-right: 4px;
    vertical-align: -8px;
    font-family: Georgia, serif;
}
.dj-chat__msg--empty {
    font-size: 13px;
    font-style: italic;
    color: var(--text-dim);
    padding: 4px 0;
}

/* Track reference (small footer button) */
.dj-chat__track {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    align-items: center;
    width: 100%;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 10px;
    margin-top: 8px;
    cursor: pointer;
    text-align: left;
    transition: background var(--t-fast);
    color: inherit;
    font-family: inherit;
}
.dj-chat__track:hover { background: rgba(255,255,255,.06); }
.dj-chat__track:disabled { cursor: default; }

.dj-chat__cover {
    width: 36px; height: 36px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--bg-elevated);
    position: relative;
    flex-shrink: 0;
}
.dj-chat__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dj-chat__cover-fb {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
}
.dj-chat__play-icon {
    position: absolute;
    bottom: 2px; right: 2px;
    width: 14px; height: 14px;
    background: var(--gold);
    color: #000;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,.4);
}

.dj-chat__track-info {
    min-width: 0;
    display: flex; flex-direction: column;
    gap: 1px;
}
.dj-chat__track-info strong {
    font-size: 12.5px; font-weight: 700;
    color: var(--text);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    line-height: 1.2;
}
.dj-chat__track-info span {
    font-size: 11px;
    color: var(--text-muted);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    line-height: 1.2;
}
.dj-chat__track-info em {
    color: var(--gold);
    font-style: normal;
    font-weight: 700;
}

/* Hide old dj-msg */
.dj-msg { display: none !important; }

/* ===========================================
   V8 — Polish unifié + modal envoi + dates
=========================================== */

/* ── Tagline rotator (NEW — fixed bug) ── */
.sp-title-row {
    margin-bottom: 4px !important;
}

.sp-tagline-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
    padding: 4px 10px;
    background: rgba(212,175,55,.08);
    border: 1px solid rgba(212,175,55,.18);
    border-radius: 18px;
    overflow: hidden;
}

.sp-tagline-tag {
    display: inline-flex;
    align-items: center;
    background: var(--gold);
    color: #000;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .8px;
    padding: 3px 8px;
    border-radius: 10px;
    flex-shrink: 0;
}

.sp-tagline-rotator {
    position: relative;
    flex: 1;
    height: 18px;
    overflow: hidden;
}

.sp-tagline-item {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--gold-bright);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1);
}
.sp-tagline-item--on {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 0 8px rgba(212,175,55,.5);
}

/* Hide old broken tagline if present */
.sp-tagline { display: none !important; }

/* ===========================================
   DJ Proposition icons — UNIFIED gold transparent
=========================================== */
.dj-icon-only {
    background: rgba(212,175,55,.12) !important;
    color: var(--gold) !important;
    border: 1px solid rgba(212,175,55,.25) !important;
    box-shadow: none !important;
}
.dj-icon-only:hover {
    background: rgba(212,175,55,.22) !important;
    border-color: rgba(212,175,55,.4) !important;
    filter: none !important;
}

/* Subtle differentiation by hue (still all transparent) */
.dj-icon-only--accept {
    background: rgba(46,213,115,.1) !important;
    color: var(--success) !important;
    border-color: rgba(46,213,115,.25) !important;
}
.dj-icon-only--accept:hover {
    background: rgba(46,213,115,.2) !important;
    border-color: rgba(46,213,115,.4) !important;
}

.dj-icon-only--play {
    background: rgba(212,175,55,.12) !important;
    color: var(--gold) !important;
    border-color: rgba(212,175,55,.25) !important;
}

.dj-icon-only--reject {
    background: rgba(255,71,87,.08) !important;
    color: var(--danger) !important;
    border-color: rgba(255,71,87,.22) !important;
}
.dj-icon-only--reject:hover {
    background: rgba(255,71,87,.18) !important;
    border-color: rgba(255,71,87,.4) !important;
}

/* ===========================================
   SEND CONFIRMATION MODAL — Big gamification
=========================================== */
.send-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 350;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity .3s ease-out;
}
.send-modal--in { opacity: 1; }

.send-modal__card {
    background: linear-gradient(180deg, #1f1f1f 0%, #131313 100%);
    border: 1px solid rgba(212,175,55,.3);
    border-radius: 22px;
    padding: 32px 24px 22px;
    width: 100%;
    max-width: 340px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(212,175,55,.15), 0 0 60px rgba(212,175,55,.2);
    transform: scale(.7) translateY(40px);
    opacity: 0;
    transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .3s;
}
.send-modal--in .send-modal__card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.send-modal__fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.send-particle {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    animation: sendParticleFly 1s ease-out forwards;
}
@keyframes sendParticleFly {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0); opacity: 0; }
}

/* Animated check mark */
.send-modal__check {
    width: 64px; height: 64px;
    margin: 0 auto 14px;
    color: var(--success);
    position: relative;
    z-index: 1;
}
.send-modal__check svg { display: block; }
.send-modal__check-circle {
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
    animation: checkCircle .55s ease-in-out forwards;
}
.send-modal__check-mark {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: checkMark .35s .5s ease-out forwards;
}
@keyframes checkCircle {
    to { stroke-dashoffset: 0; }
}
@keyframes checkMark {
    to { stroke-dashoffset: 0; }
}

.send-modal__title {
    display: block;
    font-size: 24px; font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -.4px;
    position: relative; z-index: 1;
    animation: sendTitleIn .5s .3s both cubic-bezier(.34,1.56,.64,1);
}
@keyframes sendTitleIn {
    from { opacity: 0; transform: translateY(15px) scale(.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.send-modal__sub {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 16px;
    position: relative; z-index: 1;
    animation: sendTitleIn .5s .45s both cubic-bezier(.34,1.56,.64,1);
}

.send-modal__count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(212,175,55,.12);
    border: 1px solid rgba(212,175,55,.3);
    border-radius: 14px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text);
    position: relative; z-index: 1;
    animation: sendTitleIn .5s .6s both cubic-bezier(.34,1.56,.64,1);
}
.send-modal__count strong {
    font-size: 22px;
    font-weight: 900;
    color: var(--gold);
}

.send-modal__btn {
    display: block;
    width: 100%;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #000;
    border: none;
    border-radius: 14px;
    padding: 12px;
    font-size: 14px; font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(212,175,55,.4);
    transition: transform var(--t-fast);
    position: relative; z-index: 1;
}
.send-modal__btn:active { transform: scale(.97); }

/* ===========================================
   PLAYLIST CARDS V2 — horizontal scroll with date
=========================================== */
.sp-pl-hscroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 8px;
    margin: 0 -14px;
    padding-left: 14px;
    padding-right: 14px;
    scrollbar-width: none;
}
.sp-pl-hscroll::-webkit-scrollbar { display: none; }

.sp-pl-hcard {
    flex: 0 0 144px;
    scroll-snap-align: start;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform var(--t-fast);
    border: 1px solid var(--border);
}
.sp-pl-hcard:active { transform: scale(.96); }
.sp-pl-hcard:hover { border-color: rgba(255,255,255,.12); }

.sp-pl-hcard__cover {
    aspect-ratio: 1;
    background: var(--bg-elevated);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.sp-pl-hcard__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-pl-hcard__cover-fb {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim);
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
}
.sp-pl-hcard__date {
    position: absolute;
    top: 8px; right: 8px;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 10px; font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    letter-spacing: .2px;
}

.sp-pl-hcard__body {
    padding: 8px 10px 10px;
}
.sp-pl-hcard__body strong {
    display: block;
    font-size: 13px; font-weight: 800;
    color: var(--text);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    line-height: 1.2;
}
.sp-pl-hcard__body span {
    display: block;
    font-size: 10.5px;
    color: var(--text-muted);
    margin-top: 2px;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* DJ playlist hcard adds actions */
.dj-pl-hcard__actions {
    display: flex;
    gap: 4px;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.dj-pl-hcard__actions .dj-pl-mini-btn {
    flex: 1;
    padding: 4px 6px;
    font-size: 10px;
    min-width: 0;
    text-align: center;
}
.dj-pl-hcard__actions .dj-pl-mini-btn--danger {
    flex: 0 0 auto;
}

/* Hide old grid cards in favor of new hscroll */
.sp-pl-grid { display: none !important; }

/* ===========================================
   TOAST — variant reject
=========================================== */
.toast-accept--reject {
    background: linear-gradient(135deg, #ff4757 0%, #c0392b 100%) !important;
    box-shadow: 0 10px 30px rgba(255,71,87,.4) !important;
}

/* ===========================================
   V9 — Universal event modal + DJ cards polish
=========================================== */

/* Hide old modals */
.cel-modal, .toast-accept, .send-modal { display: none !important; }

/* ── Universal Event Modal ── */
.evt-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 380;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity .3s ease-out;
}
.evt-modal--in { opacity: 1; }

.evt-modal__card {
    background: linear-gradient(180deg, #1f1f1f 0%, #131313 100%);
    border: 1px solid rgba(212,175,55,.3);
    border-radius: 22px;
    padding: 28px 24px 22px;
    width: 100%;
    max-width: 340px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(212,175,55,.15), 0 0 60px rgba(212,175,55,.18);
    transform: scale(.7) translateY(40px);
    opacity: 0;
    transition: transform .55s cubic-bezier(.34,1.56,.64,1), opacity .35s, border-color .3s;
}
.evt-modal--in .evt-modal__card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Color accents per type */
.evt-modal--reject .evt-modal__card {
    border-color: rgba(255,71,87,.4);
    box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,71,87,.2), 0 0 60px rgba(255,71,87,.15);
}
.evt-modal--reject .evt-modal__icon { color: var(--danger); }
.evt-modal--reject .evt-modal__title { color: var(--danger); }
.evt-modal--reject .evt-modal__btn {
    background: linear-gradient(90deg, #ff4757 0%, #c0392b 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(255,71,87,.4);
}

.evt-modal--success .evt-modal__icon { color: var(--success); }
.evt-modal--success .evt-modal__card {
    border-color: rgba(46,213,115,.4);
    box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(46,213,115,.2), 0 0 60px rgba(46,213,115,.18);
}
.evt-modal--success .evt-modal__title { color: var(--success); }

.evt-modal--gold .evt-modal__icon { color: var(--gold); }
.evt-modal--gold .evt-modal__card {
    border-color: rgba(212,175,55,.5);
    box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(212,175,55,.3), 0 0 80px rgba(212,175,55,.3);
    animation: goldPulse 2s ease-in-out infinite;
}
@keyframes goldPulse {
    0%, 100% { box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(212,175,55,.3), 0 0 60px rgba(212,175,55,.25); }
    50% { box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 0 2px rgba(212,175,55,.5), 0 0 100px rgba(212,175,55,.5); }
}
.evt-modal--gold .evt-modal__title {
    color: var(--gold);
    font-size: 26px !important;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 2.5s linear infinite;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.evt-modal--info .evt-modal__icon { color: #5e9eff; }
.evt-modal--info .evt-modal__card {
    border-color: rgba(94,158,255,.4);
    box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(94,158,255,.2), 0 0 60px rgba(94,158,255,.18);
}
.evt-modal--info .evt-modal__title { color: #5e9eff; }
.evt-modal--info .evt-modal__btn {
    background: linear-gradient(90deg, #5e9eff 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(94,158,255,.4);
}

.evt-modal__fx {
    position: absolute; inset: 0;
    pointer-events: none; overflow: hidden;
}

.evt-particle {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    animation: evtParticleFly 1s ease-out forwards;
}
@keyframes evtParticleFly {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0); opacity: 0; }
}

.evt-modal__badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #000;
    font-size: 10px; font-weight: 900;
    letter-spacing: 1.5px;
    padding: 4px 14px;
    border-radius: 18px;
    margin-bottom: 14px;
    animation: badgeIn .5s cubic-bezier(.34,1.56,.64,1);
    position: relative; z-index: 1;
}
@keyframes badgeIn {
    from { transform: scale(0) rotate(-90deg); opacity: 0; }
    to { transform: scale(1) rotate(0); opacity: 1; }
}

.evt-modal__icon {
    width: 68px; height: 68px;
    margin: 0 auto 14px;
    color: var(--success);
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center;
}
.evt-modal__icon svg { display: block; }
.evt-check-circle {
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
    animation: checkCircleAnim .55s ease-in-out forwards;
}
.evt-check-mark {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: checkMarkAnim .35s .5s ease-out forwards;
}
@keyframes checkCircleAnim { to { stroke-dashoffset: 0; } }
@keyframes checkMarkAnim { to { stroke-dashoffset: 0; } }

.evt-modal__cover {
    width: 88px; height: 88px;
    border-radius: 10px;
    margin: 0 auto 14px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 12px 30px rgba(0,0,0,.5);
    border: 2px solid rgba(212,175,55,.3);
    position: relative; z-index: 1;
    animation: coverIn .6s cubic-bezier(.34,1.56,.64,1);
}
@keyframes coverIn {
    from { transform: scale(.5) rotate(-12deg); opacity: 0; }
    to { transform: scale(1) rotate(0); opacity: 1; }
}

.evt-modal__title {
    display: block;
    font-size: 22px; font-weight: 900;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -.4px;
    line-height: 1.15;
    position: relative; z-index: 1;
    animation: evtTitleIn .5s .3s both cubic-bezier(.34,1.56,.64,1);
}
@keyframes evtTitleIn {
    from { opacity: 0; transform: translateY(15px) scale(.92); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.evt-modal__sub {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 14px;
    position: relative; z-index: 1;
    animation: evtTitleIn .5s .45s both cubic-bezier(.34,1.56,.64,1);
}

.evt-modal__track {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 14px;
    position: relative; z-index: 1;
    animation: evtTitleIn .5s .55s both cubic-bezier(.34,1.56,.64,1);
}
.evt-modal__track strong {
    display: block;
    font-size: 14px; font-weight: 800;
    color: var(--text);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.evt-modal__track span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

.evt-modal__count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(212,175,55,.12);
    border: 1px solid rgba(212,175,55,.3);
    border-radius: 14px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--text);
    position: relative; z-index: 1;
    animation: evtTitleIn .5s .6s both cubic-bezier(.34,1.56,.64,1);
}
.evt-modal__count strong {
    font-size: 22px;
    font-weight: 900;
    color: var(--gold);
}

.evt-modal__btn {
    display: block;
    width: 100%;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #000;
    border: none;
    border-radius: 14px;
    padding: 12px;
    font-family: inherit;
    font-size: 14px; font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(212,175,55,.4);
    transition: transform var(--t-fast), filter var(--t-fast);
    position: relative; z-index: 1;
    animation: evtTitleIn .4s .7s both;
}
.evt-modal__btn:active { transform: scale(.97); }
.evt-modal__btn:hover { filter: brightness(1.08); }

/* ===========================================
   DJ PLAYLIST CARDS V2 — Polished, larger
=========================================== */
.sp-pl-hcard.dj-pl-hcard {
    flex: 0 0 168px;
    background: linear-gradient(180deg, var(--bg-card) 0%, #181818 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.sp-pl-hcard.dj-pl-hcard:hover {
    border-color: rgba(212,175,55,.3);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    transform: translateY(-2px);
}

.sp-pl-hcard.dj-pl-hcard .sp-pl-hcard__cover {
    aspect-ratio: 1;
    border-radius: 0;
    position: relative;
}

.sp-pl-hcard.dj-pl-hcard .sp-pl-hcard__date {
    top: 6px; right: 6px;
    background: rgba(0,0,0,.7);
    font-size: 9.5px; font-weight: 800;
    padding: 2px 7px;
    letter-spacing: .3px;
}

.sp-pl-hcard.dj-pl-hcard .sp-pl-hcard__body {
    padding: 10px 12px 10px;
}

.sp-pl-hcard.dj-pl-hcard .sp-pl-hcard__body strong {
    font-size: 13.5px;
    line-height: 1.2;
    margin-bottom: 2px;
}

.sp-pl-hcard.dj-pl-hcard .sp-pl-hcard__body > span {
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
}

.dj-pl-hcard__actions {
    display: flex;
    gap: 4px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.dj-pl-hcard__actions .dj-pl-mini-btn {
    border-radius: 6px;
    font-weight: 700;
    transition: all var(--t-fast);
}
.dj-pl-hcard__actions .dj-pl-mini-btn--gold {
    flex: 1.5;
    background: rgba(212,175,55,.18);
    color: var(--gold);
    padding: 6px 8px;
    font-size: 10.5px;
}
.dj-pl-hcard__actions .dj-pl-mini-btn--gold:hover { background: rgba(212,175,55,.3); }

.dj-pl-hcard__actions .dj-pl-mini-btn:not(.dj-pl-mini-btn--gold):not(.dj-pl-mini-btn--danger) {
    flex: 1;
    background: rgba(255,255,255,.06);
    padding: 6px 8px;
    font-size: 10.5px;
    color: var(--text);
}
.dj-pl-hcard__actions .dj-pl-mini-btn:not(.dj-pl-mini-btn--gold):not(.dj-pl-mini-btn--danger):hover {
    background: rgba(255,255,255,.12);
}

.dj-pl-hcard__actions .dj-pl-mini-btn--danger {
    flex: 0 0 28px;
    padding: 4px;
    font-size: 14px;
    line-height: 1;
}

/* ===========================================
   V10 — iOS safe-area, PWA banner, QR permanent
=========================================== */

/* ── iOS safe-area handling (Dynamic Island, notch, home bar) ── */
:root {
    --safe-top: env(safe-area-inset-top, 0);
    --safe-bottom: env(safe-area-inset-bottom, 0);
    --safe-left: env(safe-area-inset-left, 0);
    --safe-right: env(safe-area-inset-right, 0);
}

/* Topbar respects safe-area on iOS */
.topbar {
    padding-top: calc(10px + var(--safe-top)) !important;
    padding-left: calc(14px + var(--safe-left)) !important;
    padding-right: calc(14px + var(--safe-right)) !important;
    min-height: calc(54px + var(--safe-top));
}

/* Bottom nav handled by env() in existing CSS, ensure it's enforced */
.sp-bottomnav {
    padding-bottom: var(--safe-bottom) !important;
    height: calc(60px + var(--safe-bottom)) !important;
}

/* Standalone PWA: tweak (status bar overlap on iOS) */
html.is-ios-pwa body {
    padding-top: 0;
}
html.is-ios-pwa .topbar {
    /* Add a dark scrim behind status bar */
    background: linear-gradient(180deg, #0a0a0a 0%, var(--bg) 100%);
}

/* Page content respects safe-areas */
.app-shell, .sp-page, .dj-page, .sp-playlists-page, .dashboard {
    padding-left: var(--safe-left);
    padding-right: var(--safe-right);
}

/* Bottom-fixed elements (player, sheet, modal) account for safe-area */
.player {
    padding-bottom: var(--safe-bottom);
}

/* Hero backgrounds extend up under the status bar (immersive) */
.sp-home-bg, .dj-hero__bg {
    top: calc(-1 * var(--safe-top)) !important;
    height: calc(380px + var(--safe-top)) !important;
}
.sp-home-bg-overlay {
    top: calc(-1 * var(--safe-top)) !important;
    height: calc(380px + var(--safe-top)) !important;
}

/* ── iOS PWA install banner ── */
.ios-pwa-banner {
    display: none;
    position: fixed;
    top: calc(8px + var(--safe-top));
    left: 8px; right: 8px;
    background: linear-gradient(135deg, #1f1f1f 0%, #131313 100%);
    border: 1px solid rgba(212,175,55,.4);
    border-radius: 14px;
    padding: 10px 12px;
    align-items: center;
    gap: 10px;
    z-index: 500;
    box-shadow: 0 8px 30px rgba(0,0,0,.55), 0 0 0 1px rgba(212,175,55,.15);
    animation: iosBannerIn .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes iosBannerIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.ios-pwa-banner__icon {
    width: 36px; height: 36px;
    background: rgba(212,175,55,.18);
    color: var(--gold);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.ios-pwa-banner__body {
    flex: 1;
    min-width: 0;
    display: flex; flex-direction: column;
    gap: 1px;
}
.ios-pwa-banner__body strong {
    font-size: 12.5px; font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}
.ios-pwa-banner__body span {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}
.ios-pwa-banner__body span svg {
    color: var(--gold);
}

.ios-pwa-banner__close {
    width: 28px; height: 28px;
    background: rgba(255,255,255,.08);
    border: none;
    border-radius: 50%;
    color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--t-fast);
}
.ios-pwa-banner__close:hover { background: rgba(255,255,255,.16); }

/* When iOS PWA banner is shown, push content down */
html:not(.is-standalone).is-ios body {
    /* page content gets some breathing room */
}

/* In standalone PWA, never show the banner */
html.is-standalone .ios-pwa-banner { display: none !important; }

/* ── Admin QR page: permanent tag ── */
.qr-page__permanent-tag {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #000;
    font-size: 10px; font-weight: 900;
    letter-spacing: 1.2px;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
}

/* ===========================================
   Body padding when PWA banner is shown (iOS Safari)
=========================================== */
html.is-ios:not(.is-standalone) body:has(.ios-pwa-banner[style*="display: flex"]) {
    padding-top: 70px;
}

/* ===========================================
   V11 — Full-screen login (no scroll)
=========================================== */

.login-fs {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    padding-top: calc(24px + var(--safe-top));
    padding-bottom: calc(24px + var(--safe-bottom));
}

/* Animated blobs background */
.login-fs__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.login-fs__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .5;
}
.login-fs__blob--1 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(212,175,55,.55) 0%, transparent 70%);
    top: -100px; left: -100px;
    animation: blobMove1 18s ease-in-out infinite;
}
.login-fs__blob--2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(255,71,87,.4) 0%, transparent 70%);
    bottom: -80px; right: -80px;
    animation: blobMove2 22s ease-in-out infinite;
}
.login-fs__blob--3 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(94,158,255,.35) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: blobMove3 25s ease-in-out infinite;
}
@keyframes blobMove1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, 80px) scale(1.15); }
    66% { transform: translate(40px, -40px) scale(.9); }
}
@keyframes blobMove2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-80px, -60px) scale(1.2); }
}
@keyframes blobMove3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.4); opacity: .7; }
}

/* Inner content */
.login-fs__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── Animated logo ── */
.login-fs__logo {
    text-align: center;
    animation: logoFadeIn .8s cubic-bezier(.34,1.56,.64,1);
}
@keyframes logoFadeIn {
    from { opacity: 0; transform: translateY(-30px) scale(.85); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-fs__logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px; height: 86px;
    background: linear-gradient(135deg, rgba(212,175,55,.18) 0%, rgba(212,175,55,.05) 100%);
    border: 1px solid rgba(212,175,55,.35);
    border-radius: 22px;
    color: var(--gold);
    margin-bottom: 14px;
    box-shadow: 0 12px 30px rgba(212,175,55,.18), 0 0 0 1px rgba(212,175,55,.1);
    animation: logoGlow 3s ease-in-out infinite;
}
@keyframes logoGlow {
    0%, 100% { box-shadow: 0 12px 30px rgba(212,175,55,.18), 0 0 0 1px rgba(212,175,55,.1); }
    50% { box-shadow: 0 16px 50px rgba(212,175,55,.4), 0 0 0 2px rgba(212,175,55,.25), 0 0 80px rgba(212,175,55,.2); }
}

/* SVG note inside logo - draw animation */
.login-fs__logo-stem {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawStem 1s .3s ease-out forwards;
}
@keyframes drawStem {
    to { stroke-dashoffset: 0; }
}

.login-fs__logo-c1, .login-fs__logo-c2 {
    transform-origin: center;
    transform-box: fill-box;
    animation: bounceCircle 2.5s ease-in-out infinite alternate;
}
.login-fs__logo-c1 { animation-delay: 1.3s; }
.login-fs__logo-c2 { animation-delay: 1.6s; }
@keyframes bounceCircle {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-3px); opacity: .85; }
}

.login-fs__brand {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #fff;
    margin: 0;
    line-height: 1;
    background: linear-gradient(90deg, #fff 0%, var(--gold-bright) 50%, #fff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brandShimmer 4s linear infinite;
}
@keyframes brandShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.login-fs__tag {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
    margin-bottom: 0;
    animation: tagFade .8s .4s both;
}
@keyframes tagFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: .8; transform: translateY(0); }
}

/* ── Form ── */
.login-fs__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: formFade .8s .5s both;
}
@keyframes formFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-fs__field {
    position: relative;
    display: flex;
    align-items: center;
}
.login-fs__field-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color var(--t-fast);
}
.login-fs__field input {
    width: 100%;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    padding: 14px 14px 14px 40px;
    border-radius: 12px;
    outline: none;
    transition: border-color var(--t-fast), background var(--t-fast);
}
.login-fs__field input:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,.08);
}
.login-fs__field input::placeholder {
    color: var(--text-dim);
}
.login-fs__field input:focus ~ .login-fs__field-icon,
.login-fs__field:focus-within .login-fs__field-icon {
    color: var(--gold);
}

.login-fs__error {
    background: rgba(255,71,87,.12);
    border: 1px solid rgba(255,71,87,.3);
    color: var(--danger);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 13px;
    text-align: center;
    margin: 0;
    animation: shake .35s ease-in-out;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

.login-fs__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(212,175,55,.4);
    transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast);
    letter-spacing: .2px;
    margin-top: 6px;
}
.login-fs__btn:hover {
    box-shadow: 0 14px 32px rgba(212,175,55,.55);
    filter: brightness(1.08);
}
.login-fs__btn:active {
    transform: scale(.97);
}

/* ── Footer ── */
.login-fs__footer {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    animation: tagFade .8s .7s both;
}
.login-fs__footer-link {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
    transition: color var(--t-fast);
}
.login-fs__footer-link:hover {
    color: var(--gold-bright);
    text-decoration: underline;
}

/* Hide bottom nav, player, topbar on login */
body:has(.login-fs) .topbar,
body:has(.login-fs) .bottomnav,
body:has(.login-fs) .sp-bottomnav,
body:has(.login-fs) .player,
body:has(.login-fs) .desktnav,
body:has(.login-fs) .ios-pwa-banner {
    display: none !important;
}
body:has(.login-fs) {
    overflow: hidden;
}
body:has(.login-fs) .app-shell {
    margin-left: 0 !important;
    padding: 0 !important;
}

/* Hide old hero (legacy) */
.hero { display: none !important; }
.auth { display: none !important; }

/* ===========================================
   V12 — Admin Dashboard + Announcements
=========================================== */

.adash {
    padding: 14px 14px 24px;
    display: flex; flex-direction: column;
    gap: 16px;
    max-width: 920px;
    margin: 0 auto;
}

/* ── Hero Live ── */
.adash-hero {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 18px 18px 16px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0e0e0e 100%);
    border: 1px solid var(--border);
}
.adash-hero__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(212,175,55,.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(46,213,115,.15) 0%, transparent 60%);
    z-index: 0;
}
.adash-hero__content {
    position: relative; z-index: 1;
}
.adash-hero__top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
}
.adash-hero__live {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(46,213,115,.18);
    color: var(--success);
    border: 1px solid rgba(46,213,115,.35);
    border-radius: 14px;
    padding: 3px 10px;
    font-size: 10px; font-weight: 800; letter-spacing: .8px;
}
.adash-hero__qr {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(212,175,55,.15);
    color: var(--gold);
    border: 1px solid rgba(212,175,55,.3);
    border-radius: 12px;
    padding: 5px 11px;
    font-size: 11px; font-weight: 700;
    text-decoration: none;
    transition: background var(--t-fast);
}
.adash-hero__qr:hover { background: rgba(212,175,55,.25); }
.adash-hero__main {
    position: relative;
    margin-bottom: 14px;
}
.adash-hero__big {
    display: flex; align-items: baseline; gap: 10px;
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.adash-hero__big--bump { transform: scale(1.05); }
.adash-hero__num {
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #fff 0%, var(--gold-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.adash-hero__lbl {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}
.adash-hero__pulse {
    position: absolute;
    top: 8px; right: 8px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(46,213,115,.6);
    animation: pulseDot 1.8s ease-out infinite;
}
@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(46,213,115,.7); }
    100% { box-shadow: 0 0 0 16px rgba(46,213,115,0); }
}

.adash-hero__sub {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.adash-hero__stat {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    padding: 8px 10px;
    text-align: center;
}
.adash-hero__stat strong {
    display: block;
    font-size: 18px; font-weight: 900;
    color: var(--gold);
}
.adash-hero__stat span {
    display: block;
    font-size: 10px; color: var(--text-muted);
    margin-top: 2px;
}

/* ── Cards ── */
.adash-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
}
.adash-card__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
}
.adash-card__head h2 {
    display: flex; align-items: center; gap: 7px;
    font-size: 13.5px; font-weight: 800;
    color: var(--text);
    margin: 0;
    letter-spacing: .2px;
}
.adash-card__head h2 svg { color: var(--gold); }
.adash-card__sub {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}
.adash-card__link {
    font-size: 11px;
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
}

/* ── Announcements form ── */
.adash-ann-styles {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}
.adash-ann-styles::-webkit-scrollbar { display: none; }
.adash-ann-styles button {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: var(--text-muted);
    border-radius: 16px;
    padding: 5px 11px;
    font-size: 11px; font-weight: 700;
    cursor: pointer;
    transition: all var(--t-fast);
    flex-shrink: 0;
    font-family: inherit;
}
.adash-ann-styles button:hover { background: rgba(255,255,255,.1); color: var(--text); }
.adash-ann-styles button.is-active {
    background: rgba(212,175,55,.18);
    border-color: rgba(212,175,55,.4);
    color: var(--gold);
}

.adash-ann-input {
    display: grid;
    grid-template-columns: 1fr 44px;
    gap: 8px;
    align-items: stretch;
}
.adash-ann-input textarea {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    color: var(--text);
    border-radius: 10px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 13.5px;
    line-height: 1.4;
    outline: none;
    resize: none;
    transition: border-color var(--t-fast);
}
.adash-ann-input textarea:focus { border-color: var(--gold); }
.adash-ann-input textarea::placeholder { color: var(--text-dim); }

.adash-ann-send {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #000;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(212,175,55,.4);
    transition: transform var(--t-fast), filter var(--t-fast);
}
.adash-ann-send:hover { filter: brightness(1.08); }
.adash-ann-send:active { transform: scale(.94); }
.adash-ann-send:disabled { opacity: .4; pointer-events: none; }

.adash-ann-counter {
    text-align: right;
    font-size: 10px;
    color: var(--text-dim);
    margin-top: 4px;
}

.adash-ann-list {
    display: flex; flex-direction: column;
    gap: 6px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
.adash-ann-item {
    display: grid;
    grid-template-columns: 8px 1fr auto auto;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    background: rgba(255,255,255,.03);
    border-radius: 8px;
    transition: background var(--t-fast);
}
.adash-ann-item:hover { background: rgba(255,255,255,.06); }
.adash-ann-item__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
}
.adash-ann-item--promo .adash-ann-item__dot { background: var(--gold); }
.adash-ann-item--event .adash-ann-item__dot { background: #5e9eff; }
.adash-ann-item--warning .adash-ann-item__dot { background: var(--danger); }
.adash-ann-item--default .adash-ann-item__dot { background: var(--success); }
.adash-ann-item__msg {
    font-size: 12.5px;
    color: var(--text);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    line-height: 1.3;
}
.adash-ann-item__time {
    font-size: 10px;
    color: var(--text-muted);
    white-space: nowrap;
}
.adash-ann-item__x {
    width: 22px; height: 22px;
    background: rgba(255,71,87,.1);
    color: var(--danger);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--t-fast);
}
.adash-ann-item__x:hover { background: rgba(255,71,87,.25); }
.adash-ann-empty {
    text-align: center;
    padding: 14px 0;
    font-size: 12px;
    margin: 8px 0 0;
}

/* ── Grid ── */
.adash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.adash-card--span2 { grid-column: span 2; }

/* ── Sparkline ── */
.adash-spark__bars {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    align-items: end;
    height: 100px;
    margin-top: 8px;
}
.adash-spark__col {
    display: flex; flex-direction: column;
    align-items: center;
    height: 100%;
    gap: 3px;
}
.adash-spark__count {
    font-size: 10px; font-weight: 700;
    color: var(--gold);
}
.adash-spark__bar {
    width: 100%;
    flex-shrink: 0;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-soft) 100%);
    border-radius: 4px 4px 0 0;
    min-height: 4px;
    margin-top: auto;
    transition: height .5s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 -2px 8px rgba(212,175,55,.25);
}
.adash-spark__day {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ── Loyalty ── */
.adash-loyalty { padding: 4px 0; }
.adash-loyalty__num {
    font-size: 36px; font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
}
.adash-loyalty__lbl {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0 0 8px;
    line-height: 1.3;
}
.adash-loyalty__bar {
    height: 6px;
    background: rgba(255,255,255,.06);
    border-radius: 3px;
    overflow: hidden;
}
.adash-loyalty__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
    border-radius: 3px;
    transition: width .8s ease-out;
    box-shadow: 0 0 8px rgba(212,175,55,.4);
}

/* ── Best day ── */
.adash-best { padding: 4px 0; }
.adash-best__day {
    font-size: 32px; font-weight: 900;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 4px;
}
.adash-best__sub {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
}
.adash-best__hint {
    font-size: 10.5px;
    color: var(--gold);
    margin: 6px 0 0;
    font-style: italic;
}

/* ── Top tracks ── */
.adash-toptracks {
    list-style: none;
    margin: 0; padding: 0;
    display: flex; flex-direction: column;
    gap: 8px;
}
.adash-toptrack {
    display: grid;
    grid-template-columns: 24px 40px 1fr auto;
    gap: 10px;
    align-items: center;
}
.adash-toptrack__pos {
    font-size: 14px; font-weight: 900;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
}
.adash-toptrack__cover {
    width: 40px; height: 40px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--bg-elevated);
}
.adash-toptrack__cover img { width: 100%; height: 100%; object-fit: cover; }
.adash-toptrack__info { min-width: 0; }
.adash-toptrack__info strong {
    display: block;
    font-size: 13px; font-weight: 700;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.adash-toptrack__info span {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.adash-toptrack__plays {
    font-size: 12px; font-weight: 800;
    color: var(--gold);
    background: rgba(212,175,55,.12);
    padding: 3px 8px;
    border-radius: 8px;
}

/* ── DJ perf ── */
.adash-djperf {
    display: flex; flex-direction: column;
    gap: 8px;
}
.adash-djperf__row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 10px;
    align-items: center;
}
.adash-djperf__avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
    color: #000;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 900;
}
.adash-djperf__info { min-width: 0; }
.adash-djperf__info strong {
    display: block;
    font-size: 13px; font-weight: 700;
}
.adash-djperf__info span {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}
.adash-djperf__rate {
    font-size: 16px; font-weight: 900;
    color: var(--success);
    font-variant-numeric: tabular-nums;
}

/* ── Insights ── */
.adash-insights {
    background: linear-gradient(135deg, rgba(212,175,55,.08) 0%, rgba(212,175,55,.02) 100%);
    border: 1px solid rgba(212,175,55,.25);
    border-radius: 14px;
    padding: 14px;
}
.adash-insights__head {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 10px;
    font-size: 12px; font-weight: 800;
    color: var(--gold);
    letter-spacing: .3px;
}
.adash-insights__list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex; flex-direction: column;
    gap: 8px;
}
.adash-insights__list li {
    font-size: 12.5px;
    color: var(--text);
    line-height: 1.4;
    padding-left: 14px;
    position: relative;
}
.adash-insights__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 900;
}
.adash-insights__list li strong { color: var(--gold); }

/* ===========================================
   CLIENT — Announcements banner (3D + particles)
=========================================== */
.ann-banner {
    position: sticky;
    top: 0;
    left: 0; right: 0;
    z-index: 50;
    background: linear-gradient(135deg, rgba(212,175,55,.15) 0%, rgba(20,20,20,.85) 70%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212,175,55,.3);
    overflow: hidden;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .3s;
    perspective: 600px;
}
.ann-banner--in {
    transform: translateY(0);
    opacity: 1;
}

.ann-banner__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ann-particle {
    position: absolute;
    bottom: -10px;
    width: 4px; height: 4px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold);
    animation: annParticleFloat 6s linear infinite;
    opacity: .7;
}
@keyframes annParticleFloat {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(.6);
        opacity: 0;
    }
    20% {
        opacity: .9;
    }
    80% {
        opacity: .9;
    }
    100% {
        transform: translateY(-80px) translateX(40px) rotate(360deg) scale(1.2);
        opacity: 0;
    }
}

.ann-banner__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 24px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    transform-style: preserve-3d;
    animation: bannerFloat 4s ease-in-out infinite;
}
@keyframes bannerFloat {
    0%, 100% { transform: rotateX(0deg); }
    50% { transform: rotateX(2deg); }
}

.ann-banner__icon {
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #000;
    background: var(--gold);
    box-shadow: 0 0 12px var(--gold-glow);
}
.ann-banner__icon--promo { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%); }
.ann-banner__icon--event { background: #5e9eff; box-shadow: 0 0 12px rgba(94,158,255,.5); color: #fff; }
.ann-banner__icon--warning { background: var(--danger); box-shadow: 0 0 12px rgba(255,71,87,.5); color: #fff; }
.ann-banner__icon--default { background: var(--success); box-shadow: 0 0 12px rgba(46,213,115,.5); color: #fff; }

.ann-banner__msg {
    font-size: 13px; font-weight: 700;
    color: #fff;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    text-shadow: 0 0 8px rgba(0,0,0,.3);
    animation: msgPulse 4s ease-in-out infinite;
    letter-spacing: .2px;
}
@keyframes msgPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

.ann-banner__indicator {
    background: rgba(255,255,255,.15);
    color: #fff;
    border-radius: 8px;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
}

/* Push page content down a bit when banner is visible */
body:has(.ann-banner[style*="display: block"]) .sp-page,
body:has(.ann-banner[style*="display: block"]) .sp-playlists-page {
    padding-top: 0;
}

/* ===========================================
   Mobile responsive (admin grid)
=========================================== */
@media (max-width: 540px) {
    .adash-grid { grid-template-columns: 1fr; }
    .adash-card--span2 { grid-column: span 1; }
    .adash-hero__num { font-size: 48px; }
}

/* ===========================================
   V13 — SuperAdmin space
=========================================== */

/* Tags status */
.sa-tag {
    display: inline-flex;
    align-items: center;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 3px 9px;
    border-radius: 12px;
}
.sa-tag--ok {
    background: rgba(46,213,115,.18);
    color: var(--success);
    border: 1px solid rgba(46,213,115,.4);
}
.sa-tag--warning {
    background: rgba(212,175,55,.18);
    color: var(--gold);
    border: 1px solid rgba(212,175,55,.4);
}
.sa-tag--danger {
    background: rgba(255,71,87,.18);
    color: var(--danger);
    border: 1px solid rgba(255,71,87,.4);
}

/* Clubs list */
.sa-clubs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sa-club {
    display: block;
    padding: 12px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.sa-club:hover {
    border-color: rgba(212,175,55,.35);
    background: rgba(212,175,55,.04);
}
.sa-club:active { transform: scale(.98); }

.sa-club--blocked {
    background: rgba(255,71,87,.04);
    border-color: rgba(255,71,87,.2);
    opacity: .8;
}

.sa-club__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.sa-club__title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.sa-club__title-row strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
}
.sa-club__slug {
    font-size: 11px;
    color: var(--text-muted);
    font-family: monospace;
}

.sa-club__stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}
.sa-club__stats > div {
    background: rgba(255,255,255,.04);
    border-radius: 8px;
    padding: 6px 8px;
    text-align: center;
}
.sa-club__stats strong {
    display: block;
    font-size: 16px;
    font-weight: 900;
    color: var(--gold);
}
.sa-club__stats span {
    display: block;
    font-size: 9.5px;
    color: var(--text-muted);
    margin-top: 2px;
    letter-spacing: .2px;
}

.sa-club__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 11px;
    color: var(--text-muted);
}
.sa-club__phone {
    color: var(--gold);
    font-weight: 700;
}
.sa-club__paid {
    color: var(--success);
    font-weight: 600;
}
.sa-club__paid--expired { color: var(--danger); font-weight: 700; }
.sa-club__paid--none { color: var(--text-dim); font-style: italic; }

/* Club detail page */
.sa-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.sa-contact > div {
    background: rgba(255,255,255,.03);
    border-radius: 8px;
    padding: 8px 10px;
}
.sa-contact span {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 2px;
}
.sa-contact strong {
    display: block;
    font-size: 13px;
    color: var(--text);
}

/* Payment info */
.sa-payment-info {
    background: rgba(255,255,255,.03);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 12px;
}
.sa-payment-info__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
    font-size: 12.5px;
}
.sa-payment-info__row:last-child { border-bottom: none; }
.sa-payment-info__row span { color: var(--text-muted); }

.sa-payment-form {
    margin-top: 4px;
}
.sa-payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.sa-payment-grid input {
    background: rgba(255,255,255,.05) !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 10px !important;
    color: var(--text) !important;
    padding: 11px 14px !important;
    font-size: 13px !important;
    font-family: inherit !important;
    width: 100%;
    outline: none;
}
.sa-payment-grid input:focus {
    border-color: var(--gold) !important;
}
.sa-payment-grid label {
    margin: 0;
}

/* Team rows */
.sa-team-row {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 6px 8px;
    background: rgba(255,255,255,.03);
    border-radius: 6px;
}
.sa-team-row strong {
    font-size: 12.5px;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.sa-team-role {
    font-size: 9px;
    font-weight: 900;
    background: rgba(212,175,55,.2);
    color: var(--gold);
    padding: 2px 6px;
    border-radius: 4px;
    text-align: center;
    letter-spacing: .5px;
}
.sa-team-role--dj {
    background: rgba(94,158,255,.2);
    color: #5e9eff;
}

/* Date input dark theme tweak */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(.8);
    cursor: pointer;
}

/* ===========================================
   V14 — Admin tabs + hourly chart + iOS banner with install button
=========================================== */

/* Stats tabs */
.adash-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 2px 0;
    margin: 0 -2px 8px;
    scrollbar-width: none;
}
.adash-tabs::-webkit-scrollbar { display: none; }

.adash-tab {
    flex: 1;
    text-align: center;
    background: rgba(255,255,255,.04);
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    transition: background var(--t-fast), color var(--t-fast);
    white-space: nowrap;
}
.adash-tab:hover {
    background: rgba(255,255,255,.08);
    color: var(--text);
}
.adash-tab.is-active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #000;
    box-shadow: 0 4px 14px rgba(212,175,55,.35);
}

/* Hourly distribution chart */
.adash-hourly {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    gap: 2px;
    align-items: end;
    height: 110px;
    padding: 4px 0;
}
.adash-hourly__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    gap: 4px;
}
.adash-hourly__bar {
    width: 100%;
    flex-shrink: 0;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-soft) 100%);
    border-radius: 2px 2px 0 0;
    margin-top: auto;
    min-height: 3px;
    transition: height .5s cubic-bezier(.34,1.56,.64,1);
}
.adash-hourly__lbl {
    font-size: 8px;
    color: var(--text-dim);
    font-weight: 700;
    transform: rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
    height: 12px;
    margin-top: 4px;
}

/* ===========================================
   iOS PWA banner V2 — keep "install" button feel
=========================================== */
.ios-pwa-banner {
    /* Now sticky at top with cleaner look + "install" CTA */
    background: linear-gradient(135deg, rgba(212,175,55,.15) 0%, #1a1a1a 100%);
    padding: 12px 14px;
    border-radius: 14px;
}

.ios-pwa-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 18px;
    padding: 6px 12px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(212,175,55,.4);
    text-decoration: none;
    margin-right: 6px;
    flex-shrink: 0;
}
.ios-pwa-banner__cta:hover { filter: brightness(1.08); }
.ios-pwa-banner__cta:active { transform: scale(.94); }

/* ===========================================
   V15 — Stack player ABOVE bottomnav (no overlap)
=========================================== */

/* When BOTH player and bottomnav are present, player sits above the nav */
body.has-player.has-bottomnav .player {
    bottom: calc(60px + var(--safe-bottom)) !important;
    padding-bottom: 0 !important;
}

/* Bottomnav stays fixed at bottom */
.bottomnav,
.sp-bottomnav {
    z-index: 100 !important;
}
.player { z-index: 90 !important; }

/* Re-confirm padding so content doesn't hide under player+nav */
body.has-player.has-bottomnav .app-shell {
    padding-bottom: calc(60px + 70px + var(--safe-bottom)) !important;
}
body.has-bottomnav:not(.has-player) .app-shell {
    padding-bottom: calc(60px + var(--safe-bottom)) !important;
}

/* Old admin bottomnav refresh — match Spotify style */
.bottomnav.bottomnav--staff {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: calc(60px + var(--safe-bottom));
    background: #121212;
    border-top: 1px solid rgba(255,255,255,.07);
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    padding-top: 8px;
    padding-bottom: var(--safe-bottom);
    z-index: 100;
}
.bottomnav.bottomnav--staff .bottomnav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: #b3b3b3;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .3px;
    padding: 2px 4px;
    transition: color var(--t-fast);
}
.bottomnav.bottomnav--staff .bottomnav__item.is-active { color: #fff; }
.bottomnav.bottomnav--staff .bottomnav__item.is-active svg { transform: scale(1.05); color: var(--gold); }
.bottomnav.bottomnav--staff .bottomnav__icon {
    background: none;
    width: auto; height: auto;
    border-radius: 0;
    padding: 0;
}
.bottomnav.bottomnav--staff .bottomnav__icon svg { transition: transform var(--t-fast); }
.bottomnav.bottomnav--staff .bottomnav__icon--cta { background: none; }

/* Hide on desktop (sidebar takes over) */
@media (min-width: 769px) {
    .bottomnav.bottomnav--staff { display: none !important; }
}

/* ===========================================
   V16 — Tagline as announcements rotator
=========================================== */

/* Hide old separate banner */
.ann-banner { display: none !important; }

/* Tagline pulse (red dot when announcements active) */
.sp-tagline-pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold-glow);
    animation: liveDot 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

/* Style variants based on announcement type */
.sp-tagline-wrap--default {
    background: rgba(212,175,55,.08);
    border-color: rgba(212,175,55,.18);
}
.sp-tagline-wrap--default .sp-tagline-tag {
    background: var(--gold); color: #000;
}
.sp-tagline-wrap--default .sp-tagline-pulse { background: var(--gold); box-shadow: 0 0 8px rgba(212,175,55,.6); }
.sp-tagline-wrap--default .sp-tagline-item--on { color: var(--gold-bright); }

.sp-tagline-wrap--promo {
    background: linear-gradient(90deg, rgba(212,175,55,.18) 0%, rgba(240,200,80,.08) 100%);
    border-color: rgba(212,175,55,.45);
    animation: promoGlow 2.5s ease-in-out infinite;
}
@keyframes promoGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,.2); }
    50% { box-shadow: 0 0 18px 2px rgba(212,175,55,.35); }
}
.sp-tagline-wrap--promo .sp-tagline-tag {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #000;
}
.sp-tagline-wrap--promo .sp-tagline-pulse { background: var(--gold-bright); box-shadow: 0 0 10px var(--gold); }
.sp-tagline-wrap--promo .sp-tagline-item--on {
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 2.5s linear infinite;
}

.sp-tagline-wrap--event {
    background: linear-gradient(90deg, rgba(94,158,255,.18) 0%, rgba(94,158,255,.04) 100%);
    border-color: rgba(94,158,255,.4);
}
.sp-tagline-wrap--event .sp-tagline-tag { background: #5e9eff; color: #fff; }
.sp-tagline-wrap--event .sp-tagline-pulse { background: #5e9eff; box-shadow: 0 0 10px #5e9eff; }
.sp-tagline-wrap--event .sp-tagline-item--on { color: #8bb8ff; text-shadow: 0 0 10px rgba(94,158,255,.5); }

.sp-tagline-wrap--warning {
    background: linear-gradient(90deg, rgba(255,71,87,.18) 0%, rgba(255,71,87,.04) 100%);
    border-color: rgba(255,71,87,.45);
    animation: warnPulse 1.6s ease-in-out infinite;
}
@keyframes warnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,71,87,.25); }
    50% { box-shadow: 0 0 16px 2px rgba(255,71,87,.5); }
}
.sp-tagline-wrap--warning .sp-tagline-tag { background: var(--danger); color: #fff; }
.sp-tagline-wrap--warning .sp-tagline-pulse { background: var(--danger); box-shadow: 0 0 10px var(--danger); }
.sp-tagline-wrap--warning .sp-tagline-item--on { color: #ff8a93; text-shadow: 0 0 10px rgba(255,71,87,.5); }

/* Tagline transitions improved (slide + fade) */
.sp-tagline-item {
    transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1) !important;
    transform: translateY(110%) !important;
}
.sp-tagline-item--on {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* Wait time on track row */
.tk-row__wait {
    display: inline-flex;
    align-items: center;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-dim);
    flex-shrink: 0;
    white-space: nowrap;
}

/* Tag style refresh */
.sp-tagline-tag {
    transition: background .3s ease;
}

/* Tag with icon for announcement types */
.sp-tagline-wrap {
    transition: background .4s ease, border-color .4s ease;
}

/* ===========================================
   V17 — iOS bridge page (Safari → PWA)
=========================================== */

.bridge {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    padding-top: calc(24px + var(--safe-top, 0));
    padding-bottom: calc(24px + var(--safe-bottom, 0));
}

.bridge__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.bridge__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: center;
}

.bridge__brand {
    margin-bottom: 4px;
}
.bridge__monogram {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 64px; height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(212,175,55,.18) 0%, rgba(212,175,55,.05) 100%);
    border: 1px solid rgba(212,175,55,.35);
    color: var(--gold);
    font-size: 30px; font-weight: 900;
    margin-bottom: 10px;
    box-shadow: 0 12px 30px rgba(212,175,55,.15);
}
.bridge__brand h1 {
    font-size: 26px; font-weight: 900;
    letter-spacing: -.5px;
    color: #fff;
    margin: 0;
    background: linear-gradient(90deg, #fff 0%, var(--gold-bright) 50%, #fff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brandShimmer 4s linear infinite;
}
.bridge__brand p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 6px 0 0;
}
.bridge__brand p strong { color: var(--text); font-weight: 700; }

/* Continue CTA */
.bridge__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #000;
    text-decoration: none;
    padding: 14px;
    border-radius: 14px;
    font-size: 15px; font-weight: 800;
    box-shadow: 0 10px 24px rgba(212,175,55,.4);
    transition: transform var(--t-fast);
}
.bridge__cta:active { transform: scale(.97); }

/* Divider */
.bridge__divider {
    position: relative;
    text-align: center;
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 6px 0;
}
.bridge__divider::before,
.bridge__divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: rgba(255,255,255,.1);
}
.bridge__divider::before { left: 0; }
.bridge__divider::after { right: 0; }
.bridge__divider span {
    background: #0a0a0a;
    padding: 0 12px;
    position: relative;
    z-index: 1;
}

/* App box */
.bridge__app-box {
    background: linear-gradient(135deg, rgba(94,158,255,.08) 0%, rgba(94,158,255,.02) 100%);
    border: 1px solid rgba(94,158,255,.25);
    border-radius: 16px;
    padding: 16px;
    text-align: left;
}
.bridge__app-icon {
    width: 38px; height: 38px;
    background: rgba(94,158,255,.18);
    color: #5e9eff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.bridge__app-text strong {
    display: block;
    font-size: 13.5px;
    color: #fff;
    margin-bottom: 2px;
}
.bridge__app-text span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

/* Big code */
.bridge__code-display {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px 6px;
    background: rgba(0,0,0,.4);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    border: 1px dashed rgba(212,175,55,.3);
    transition: border-color var(--t-fast);
}
.bridge__code-display:hover { border-color: rgba(212,175,55,.6); }
.bridge__code-display:active { transform: scale(.98); }
.bridge__digit {
    width: 50px; height: 60px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-soft) 100%);
    color: #000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 900;
    font-family: 'SF Mono', Menlo, monospace;
    box-shadow: 0 4px 14px rgba(212,175,55,.25), inset 0 -3px 0 rgba(0,0,0,.15);
}
.bridge__copy-hint {
    position: absolute;
    bottom: -4px; left: 50%;
    transform: translateX(-50%);
    background: rgba(212,175,55,.2);
    color: var(--gold);
    font-size: 9px; font-weight: 800;
    padding: 2px 8px;
    border-radius: 8px;
    letter-spacing: .5px;
    white-space: nowrap;
}

.bridge__app-hint {
    font-size: 11px;
    color: var(--text-muted);
    margin: 12px 0 0;
    text-align: center;
    line-height: 1.4;
}

.bridge__install {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}
.bridge__install a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
}
.bridge__install a:hover { text-decoration: underline; }

/* Toast */
.bridge__toast {
    position: fixed;
    top: 24px; left: 50%;
    transform: translate(-50%, -150%);
    background: var(--success);
    color: #fff;
    padding: 10px 18px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 700;
    z-index: 1000;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 10px 24px rgba(46,213,115,.4);
}
.bridge__toast--in { transform: translate(-50%, 0); }

/* Hide bottomnav and player on bridge page */
body:has(.bridge) .topbar,
body:has(.bridge) .bottomnav,
body:has(.bridge) .sp-bottomnav,
body:has(.bridge) .player,
body:has(.bridge) .desktnav,
body:has(.bridge) .ios-pwa-banner { display: none !important; }

/* ===========================================
   Ticket redeem on invalid page
=========================================== */
.errpage__ticket {
    background: linear-gradient(135deg, rgba(212,175,55,.08) 0%, rgba(212,175,55,.02) 100%);
    border: 1px solid rgba(212,175,55,.25);
    border-radius: 14px;
    padding: 16px;
    margin: 16px 0;
    width: 100%;
    max-width: 320px;
}
.errpage__ticket-title {
    font-size: 13px; font-weight: 800;
    color: var(--gold);
    margin: 0 0 4px;
}
.errpage__ticket-sub {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0 0 12px;
    line-height: 1.4;
}
.errpage__ticket-input {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}
.errpage__ticket-input input {
    background: rgba(0,0,0,.4);
    border: 1px solid rgba(255,255,255,.15);
    color: var(--text);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 22px;
    font-weight: 900;
    font-family: 'SF Mono', Menlo, monospace;
    text-align: center;
    letter-spacing: 6px;
    text-transform: uppercase;
    outline: none;
    width: 100%;
    transition: border-color var(--t-fast);
}
.errpage__ticket-input input:focus { border-color: var(--gold); }
.errpage__ticket-input button {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 0 18px;
    font-family: inherit;
    font-size: 13px; font-weight: 800;
    cursor: pointer;
    transition: filter var(--t-fast);
}
.errpage__ticket-input button:hover:not(:disabled) { filter: brightness(1.08); }
.errpage__ticket-input button:disabled { opacity: .4; pointer-events: none; }
.errpage__ticket-error {
    font-size: 12px;
    color: var(--danger);
    margin: 8px 0 0;
}

/* ===========================================
   COUCHE SOCIALE — wall, match, chat, dédicace
   (voir SOCIAL.md)
   =========================================== */

/* ── Avatars ── */
.soc-avatar {
    display: grid; place-items: center;
    border-radius: 50%; flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.12);
    line-height: 1;
}
.soc-avatar span { filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.soc-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.soc-avatar--sm { width: 38px; height: 38px; font-size: 19px; }
.soc-avatar--md { width: 46px; height: 46px; font-size: 23px; }
.soc-avatar--lg { width: 64px; height: 64px; font-size: 33px; }
.soc-avatar--xl { width: 84px; height: 84px; font-size: 44px; }

/* ── Bottom-nav CTA (Soirée) ── */
.sp-bottomnav__item--cta { position: relative; }
.sp-bottomnav__item--cta .sp-bottomnav__cta {
    display: grid; place-items: center;
    width: 40px; height: 40px; margin-top: -14px; margin-bottom: 1px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: #0a0a0a; box-shadow: 0 6px 18px var(--gold-glow);
}
.sp-bottomnav__item--cta.is-active .sp-bottomnav__cta { transform: scale(1.06); }

/* ── Page wrap ── */
.soc { padding: 0; }
.soc-wall { padding: 14px 14px 0; max-width: 720px; margin: 0 auto; }

/* ── Top bar (me + count) ── */
.soc-top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 12px;
}
.soc-top__me { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.soc-top__meinfo { display: flex; flex-direction: column; gap: 1px; }
.soc-top__meinfo strong { font-size: 15px; font-weight: 800; color: var(--text); }
.soc-top__mood { font-size: 11.5px; color: var(--text-muted); }
.soc-top__count {
    display: flex; align-items: center; gap: 5px;
    background: var(--bg-card); padding: 7px 13px; border-radius: 100px;
    font-size: 12px; color: var(--text-muted);
}
.soc-top__count strong { color: var(--gold); font-size: 15px; font-weight: 900; }
.soc-top__dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--success);
    box-shadow: 0 0 0 0 rgba(46,213,115,.6); animation: socPulse 2s infinite;
}
@keyframes socPulse {
    0% { box-shadow: 0 0 0 0 rgba(46,213,115,.55); }
    70% { box-shadow: 0 0 0 7px rgba(46,213,115,0); }
    100% { box-shadow: 0 0 0 0 rgba(46,213,115,0); }
}

/* ── Mood quick-switch (collapsible) ── */
.soc-moodbar {
    display: grid; grid-auto-flow: column; grid-auto-columns: max-content;
    gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch;
    max-height: 0; opacity: 0; transition: max-height .3s ease, opacity .3s ease, margin .3s ease;
    margin: 0; scrollbar-width: none;
}
.soc-moodbar::-webkit-scrollbar { display: none; }
.soc-moodbar.is-open { max-height: 60px; opacity: 1; margin-bottom: 12px; }
.soc-moodchip {
    display: flex; align-items: center; gap: 6px;
    background: var(--bg-card); border: 1px solid transparent;
    color: var(--text-muted); padding: 8px 13px; border-radius: 100px;
    font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer;
    transition: all var(--t-fast);
}
.soc-moodchip.is-on { color: #0a0a0a; background: linear-gradient(135deg, var(--gold), var(--gold-soft)); }
.soc-moodchip--ghost.is-on { background: #2a2a2a; color: var(--text); border-color: rgba(255,255,255,.15); }

/* ── Filters ── */
.soc-filters {
    display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px;
    scrollbar-width: none;
}
.soc-filters::-webkit-scrollbar { display: none; }
.soc-fchip {
    background: var(--bg-card); border: 1px solid transparent;
    color: var(--text-muted); padding: 8px 15px; border-radius: 100px;
    font-size: 12.5px; font-weight: 700; white-space: nowrap; cursor: pointer;
    transition: all var(--t-fast);
}
.soc-fchip.is-on { color: #0a0a0a; background: var(--text); border-color: var(--text); }

/* ── Grid ── */
.soc-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
@media (max-width: 380px) { .soc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 560px) { .soc-grid { grid-template-columns: repeat(4, 1fr); } }

.soc-card {
    position: relative; overflow: hidden;
    background: var(--bg-card); border-radius: var(--radius);
    padding: 16px 10px 12px; text-align: center; cursor: pointer;
    border: 1px solid rgba(255,255,255,.05);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
    animation: socCardIn .4s cubic-bezier(.2,.8,.3,1) both;
}
.soc-card:active { transform: scale(.96); }
@keyframes socCardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.soc-card__glow {
    position: absolute; inset: -40% 0 auto 0; height: 80px;
    background: radial-gradient(ellipse at top, var(--accent), transparent 70%);
    opacity: .22; pointer-events: none;
}
.soc-card .soc-avatar { margin: 0 auto 9px; position: relative; z-index: 1; }
.soc-card__pseudo {
    font-size: 13px; font-weight: 800; color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.soc-card__meta {
    display: flex; align-items: center; justify-content: center; gap: 5px;
    margin-top: 3px; font-size: 11px; color: var(--text-muted);
}
.soc-card__mood { font-size: 13px; }
.soc-card__spot { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70px; }
.soc-card__affinity {
    display: inline-flex; align-items: center; gap: 3px;
    margin-top: 8px; padding: 3px 8px; border-radius: 100px;
    background: rgba(212,175,55,.14); color: var(--gold);
    font-size: 10px; font-weight: 800;
}
.soc-card__liked { position: absolute; top: 8px; right: 9px; font-size: 13px; }
.soc-card--skel { height: 150px; background: linear-gradient(100deg, #1c1c1c 30%, #242424 50%, #1c1c1c 70%); background-size: 200% 100%; animation: socSkel 1.3s infinite; cursor: default; }
@keyframes socSkel { to { background-position: -200% 0; } }

/* ── Empty ── */
.soc-empty { text-align: center; padding: 50px 24px; }
.soc-empty__e { font-size: 44px; margin-bottom: 12px; }
.soc-empty strong { display: block; font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.soc-empty span { display: block; font-size: 13px; color: var(--text-muted); line-height: 1.5; max-width: 280px; margin: 0 auto; }
.soc-empty__cta {
    display: inline-block; margin-top: 16px; padding: 11px 22px;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: #0a0a0a; font-weight: 800; font-size: 13px; border-radius: 100px; text-decoration: none;
}

/* ── Onboarding ── */
.soc-onb {
    position: fixed; inset: 0; z-index: 500;
    background: rgba(8,8,8,.92); backdrop-filter: blur(8px);
    display: flex; align-items: flex-end; justify-content: center;
    padding: 0;
}
.soc-onb__card {
    width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto;
    background: var(--bg-soft); border-radius: 24px 24px 0 0;
    padding: 22px 20px calc(28px + var(--safe-bottom));
    box-shadow: 0 -10px 40px rgba(0,0,0,.5);
    animation: socSheetUp .4s cubic-bezier(.2,.8,.3,1);
}
@keyframes socSheetUp { from { transform: translateY(100%); } to { transform: none; } }
.soc-onb__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.soc-onb__avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 27px; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.soc-onb__hi { flex: 1; display: flex; flex-direction: column; }
.soc-onb__hi strong { font-size: 18px; font-weight: 900; color: var(--text); }
.soc-onb__hi span { font-size: 12.5px; color: var(--text-muted); }
.soc-onb__hi--center { text-align: center; align-items: center; margin-bottom: 16px; }
.soc-onb__dice { background: var(--bg-card); border: none; color: var(--gold); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; }
.soc-onb__label { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--text-muted); margin: 16px 0 8px; }
.soc-onb__label em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; font-weight: 600; }
.soc-onb__pseudo, .soc-onb__field {
    width: 100%; background: var(--bg-card); border: 1px solid rgba(255,255,255,.08);
    color: var(--text); padding: 14px 15px; border-radius: 13px;
    font-size: 15px; font-weight: 600; outline: none; transition: border-color var(--t-fast);
}
.soc-onb__pseudo { font-size: 17px; font-weight: 800; }
.soc-onb__field:focus, .soc-onb__pseudo:focus { border-color: var(--gold); }
.soc-onb__pin { letter-spacing: 8px; text-align: center; font-size: 22px; font-weight: 900; }
.soc-onb__avatars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.soc-onb__emoji { aspect-ratio: 1; background: var(--bg-card); border: 2px solid transparent; border-radius: 11px; font-size: 20px; cursor: pointer; transition: all var(--t-fast); display: grid; place-items: center; }
.soc-onb__emoji.is-on { border-color: var(--gold); background: rgba(212,175,55,.15); transform: scale(1.08); }
.soc-onb__accents { display: flex; gap: 9px; flex-wrap: wrap; }
.soc-onb__accent { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: transform var(--t-fast); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.soc-onb__accent.is-on { border-color: #fff; transform: scale(1.12); }
.soc-onb__genders { display: flex; gap: 8px; }
.soc-onb__gender { flex: 1; background: var(--bg-card); border: 1px solid rgba(255,255,255,.08); color: var(--text-muted); padding: 12px 8px; border-radius: 12px; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all var(--t-fast); }
.soc-onb__gender.is-on { color: #0a0a0a; background: linear-gradient(135deg, var(--gold), var(--gold-soft)); border-color: transparent; }
.soc-onb__moods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.soc-mood { display: flex; align-items: center; gap: 9px; background: var(--bg-card); border: 1.5px solid rgba(255,255,255,.07); color: var(--text); padding: 13px 12px; border-radius: 13px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all var(--t-fast); }
.soc-mood.is-on { border-color: var(--gold); background: rgba(212,175,55,.1); }
.soc-mood__e { font-size: 20px; }
.soc-onb__hint { font-size: 11.5px; color: var(--text-muted); line-height: 1.5; margin: 10px 2px 0; }
.soc-onb__err { color: var(--danger); font-size: 12.5px; font-weight: 600; margin: 14px 0 0; text-align: center; }
.soc-onb__next, .soc-onb__go {
    width: 100%; margin-top: 18px; padding: 15px; border: none; border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #0a0a0a;
    font-size: 15px; font-weight: 900; cursor: pointer; transition: filter var(--t-fast);
}
.soc-onb__next:active, .soc-onb__go:active { filter: brightness(.92); }
.soc-onb__go:disabled { opacity: .5; }
.soc-onb__link { display: block; width: 100%; margin-top: 12px; background: none; border: none; color: var(--text-muted); font-size: 12.5px; font-weight: 600; cursor: pointer; text-decoration: underline; }

/* ── Sheets (profile / dedicate / anon) ── */
.soc-overlay { position: fixed; inset: 0; z-index: 480; background: rgba(0,0,0,.6); backdrop-filter: blur(2px); }
.soc-sheet {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 490;
    background: var(--bg-soft); border-radius: 24px 24px 0 0;
    padding: 10px 20px calc(26px + var(--safe-bottom));
    max-width: 480px; margin: 0 auto; max-height: 88vh; overflow-y: auto;
    transform: translateY(100%); transition: transform .32s cubic-bezier(.2,.8,.3,1);
}
.soc-sheet.is-open { transform: none; }
.soc-sheet__grip { width: 40px; height: 4px; border-radius: 100px; background: rgba(255,255,255,.2); margin: 0 auto 16px; }
.soc-sheet__loading { text-align: center; color: var(--text-muted); padding: 40px; }

/* ── Profile ── */
.soc-prof__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.soc-prof__id { display: flex; flex-direction: column; gap: 3px; }
.soc-prof__id strong { font-size: 21px; font-weight: 900; color: var(--text); }
.soc-prof__mood { font-size: 12.5px; color: var(--text-muted); }
.soc-prof__affinity { background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.2); border-radius: 16px; padding: 14px; margin-bottom: 16px; }
.soc-prof__affhead strong { display: block; font-size: 14px; font-weight: 800; color: var(--gold); }
.soc-prof__affhead span { font-size: 11.5px; color: var(--text-muted); }
.soc-prof__tracks { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.soc-prof__track { display: flex; align-items: center; gap: 10px; }
.soc-prof__cover { width: 40px; height: 40px; border-radius: 8px; background: #2a2a2a center/cover; flex-shrink: 0; }
.soc-prof__tinfo { display: flex; flex-direction: column; min-width: 0; }
.soc-prof__tinfo strong { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soc-prof__tinfo span { font-size: 11.5px; color: var(--text-muted); }
.soc-prof__noaff { text-align: center; color: var(--text-muted); font-size: 13px; padding: 8px 0 16px; }
.soc-prof__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.soc-act { padding: 14px 10px; border: none; border-radius: 13px; background: var(--bg-card); color: var(--text); font-size: 13.5px; font-weight: 800; cursor: pointer; transition: all var(--t-fast); }
.soc-act:active { transform: scale(.96); }
.soc-act--like { background: linear-gradient(135deg, #ff4d6d, #c9184a); color: #fff; }
.soc-act--like.is-on { background: #2a2a2a; color: #ff6b81; }
.soc-act--chat { width: 100%; margin-top: 10px; background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #0a0a0a; }
.soc-prof__locked { text-align: center; background: var(--bg-card); border-radius: 13px; padding: 16px; font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.soc-prof__mod { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; }
.soc-prof__mod button { background: none; border: none; color: var(--text-muted); font-size: 12px; cursor: pointer; text-decoration: underline; }
.soc-prof__mod span { color: var(--text-muted); }

/* ── Dedicate / anon sheets ── */
.soc-ded__head { font-size: 17px; font-weight: 900; color: var(--text); margin-bottom: 4px; }
.soc-ded__head strong { color: var(--gold); }
.soc-ded__sub { font-size: 12.5px; color: var(--text-muted); margin: 0 0 14px; line-height: 1.45; }
.soc-ded__results { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; max-height: 230px; overflow-y: auto; }
.soc-ded__row { display: flex; align-items: center; gap: 11px; padding: 8px; border-radius: 11px; cursor: pointer; transition: background var(--t-fast); }
.soc-ded__row:active { background: var(--bg-card); }
.soc-ded__cover { width: 42px; height: 42px; border-radius: 8px; background: #2a2a2a center/cover; flex-shrink: 0; }
.soc-ded__rinfo { display: flex; flex-direction: column; min-width: 0; }
.soc-ded__rinfo strong { font-size: 13.5px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soc-ded__rinfo span { font-size: 11.5px; color: var(--text-muted); }
.soc-ded__picked { background: rgba(212,175,55,.1); border-radius: 11px; padding: 11px 13px; margin: 12px 0; font-size: 13px; color: var(--text); }
.soc-ded__picked strong { color: var(--gold); }
.soc-ded__anon { display: flex; align-items: center; gap: 9px; margin: 14px 0 4px; font-size: 13px; color: var(--text); cursor: pointer; }
.soc-ded__anon input { width: 18px; height: 18px; accent-color: var(--gold); }
.soc-onb__field + .soc-onb__field, textarea.soc-onb__field { margin-top: 12px; resize: none; font-family: inherit; }

/* ── Match celebration ── */
.soc-match { position: fixed; inset: 0; z-index: 600; background: rgba(8,8,8,.94); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.soc-match__inner { text-align: center; max-width: 360px; animation: socMatchIn .5s cubic-bezier(.2,1.2,.4,1); }
@keyframes socMatchIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.soc-match__avatars { display: flex; align-items: center; justify-content: center; gap: 4px; margin-bottom: 22px; }
.soc-match__avatars .soc-avatar:first-child { animation: socSlideL .5s .15s both; }
.soc-match__avatars .soc-avatar:last-child { animation: socSlideR .5s .15s both; }
@keyframes socSlideL { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes socSlideR { from { transform: translateX(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
.soc-match__heart { font-size: 34px; animation: socHeart 1s .4s infinite alternate; z-index: 2; }
@keyframes socHeart { from { transform: scale(1); } to { transform: scale(1.25); } }
.soc-match__title { display: block; font-size: 34px; font-weight: 900; background: linear-gradient(135deg, #fff, var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; }
.soc-match__sub { font-size: 14px; color: var(--text); line-height: 1.5; margin: 0 0 24px; }
.soc-match__btn { width: 100%; padding: 16px; border: none; border-radius: 100px; background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #0a0a0a; font-size: 15px; font-weight: 900; cursor: pointer; }
.soc-match__later { margin-top: 12px; background: none; border: none; color: var(--text-muted); font-size: 13px; cursor: pointer; }

/* ── Dedication broadcast overlay (whole room) ── */
.ded-ov { position: fixed; inset: 0; z-index: 650; display: none; align-items: center; justify-content: center; overflow: hidden; opacity: 0; transition: opacity .4s; }
.ded-ov--in { opacity: 1; }
.ded-ov__cover { position: absolute; inset: 0; background: #000 center/cover; filter: blur(28px) brightness(.45); transform: scale(1.2); }
.ded-ov__scrim { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(212,175,55,.18), rgba(0,0,0,.85) 70%); }
.ded-ov__content { position: relative; text-align: center; padding: 30px; animation: socMatchIn .6s cubic-bezier(.2,1,.4,1); }
.ded-ov__tag { display: inline-block; font-size: 11px; font-weight: 900; letter-spacing: 3px; color: var(--gold); border: 1px solid var(--gold); border-radius: 100px; padding: 5px 14px; margin-bottom: 18px; }
.ded-ov__line { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.ded-ov__title { display: block; font-size: 30px; font-weight: 900; color: #fff; line-height: 1.15; }
.ded-ov__artist { display: block; font-size: 15px; color: var(--gold); margin-top: 4px; }
.ded-ov__msg { font-size: 14px; font-style: italic; color: var(--text); margin-top: 18px; max-width: 320px; }

/* ── Social toast ── */
.social-toast {
    position: fixed; left: 50%; bottom: calc(78px + var(--safe-bottom));
    transform: translateX(-50%) translateY(20px);
    z-index: 700; background: #1f1f1f; color: var(--text);
    padding: 12px 18px; border-radius: 100px; font-size: 13px; font-weight: 700;
    box-shadow: 0 8px 24px rgba(0,0,0,.5); border: 1px solid rgba(212,175,55,.3);
    opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
    max-width: 88vw; text-align: center;
}
.social-toast--show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Chats list ── */
.soc-chats { padding: 14px; max-width: 600px; margin: 0 auto; }
.soc-chats__top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.soc-chats__back { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bg-card); color: var(--text); text-decoration: none; }
.soc-chats__top strong { font-size: 19px; font-weight: 900; color: var(--text); }
.soc-chats__section { margin-bottom: 22px; }
.soc-chats__label { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; color: var(--text-muted); margin-bottom: 10px; }
.soc-crushrow { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.soc-crushrow::-webkit-scrollbar { display: none; }
.soc-crush { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 78px; background: var(--bg-card); border-radius: 14px; padding: 12px 8px; }
.soc-crush__pseudo { font-size: 11.5px; font-weight: 700; color: var(--text); white-space: nowrap; max-width: 70px; overflow: hidden; text-overflow: ellipsis; }
.soc-crush__kind { font-size: 9.5px; color: var(--gold); font-weight: 700; }
.soc-threads { display: flex; flex-direction: column; gap: 8px; }
.soc-thread { display: flex; align-items: center; gap: 12px; background: var(--bg-card); border-radius: 14px; padding: 12px 14px; text-decoration: none; transition: background var(--t-fast); }
.soc-thread:active { background: #242424; }
.soc-thread__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.soc-thread__main strong { font-size: 14.5px; font-weight: 800; color: var(--text); }
.soc-thread__last { font-size: 12.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soc-thread__badge { background: var(--gold); color: #0a0a0a; font-size: 11px; font-weight: 900; min-width: 20px; height: 20px; border-radius: 100px; display: grid; place-items: center; padding: 0 6px; }

/* ── Chat ── */
.soc-chat { display: flex; flex-direction: column; height: 100dvh; }
.soc-chat__top { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg-soft); border-bottom: 1px solid rgba(255,255,255,.06); flex-shrink: 0; }
.soc-chat__back { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--bg-card); color: var(--text); text-decoration: none; }
.soc-chat__who { display: flex; align-items: center; gap: 10px; }
.soc-chat__who strong { font-size: 16px; font-weight: 800; color: var(--text); }
.soc-chat__ephemeral { text-align: center; font-size: 10.5px; color: var(--gold-soft); padding: 7px; background: rgba(212,175,55,.06); flex-shrink: 0; }
.soc-chat__scroll { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.soc-bubble { max-width: 78%; padding: 10px 13px; border-radius: 17px; font-size: 14px; line-height: 1.4; position: relative; }
.soc-bubble__time { display: block; font-size: 9px; opacity: .5; margin-top: 3px; text-align: right; }
.soc-bubble--mine { align-self: flex-end; background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #0a0a0a; border-bottom-right-radius: 5px; }
.soc-bubble--them { align-self: flex-start; background: var(--bg-card); color: var(--text); border-bottom-left-radius: 5px; }
.soc-bubble__track { display: flex; align-items: center; gap: 11px; cursor: pointer; min-width: 200px; }
.soc-bubble__cover { width: 50px; height: 50px; border-radius: 9px; background: #2a2a2a center/cover; display: grid; place-items: center; flex-shrink: 0; }
.soc-bubble--mine .soc-bubble__cover { color: #0a0a0a; } .soc-bubble--them .soc-bubble__cover { color: var(--gold); }
.soc-bubble__tinfo { display: flex; flex-direction: column; min-width: 0; }
.soc-bubble__ded { font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; opacity: .8; }
.soc-bubble__tinfo strong { font-size: 13.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soc-bubble__tinfo span { font-size: 12px; opacity: .85; }
.soc-bubble__tinfo em { font-size: 12px; font-style: italic; margin-top: 4px; opacity: .9; }
.soc-composer { display: flex; align-items: center; gap: 9px; padding: 10px 12px calc(10px + var(--safe-bottom)); background: var(--bg-soft); border-top: 1px solid rgba(255,255,255,.06); flex-shrink: 0; }
.soc-composer__ded, .soc-composer__send { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: none; flex-shrink: 0; cursor: pointer; }
.soc-composer__ded { background: var(--bg-card); color: var(--gold); }
.soc-composer__send { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #0a0a0a; }
.soc-composer__send:disabled { opacity: .4; }
.soc-composer__input { flex: 1; background: var(--bg-card); border: 1px solid rgba(255,255,255,.08); color: var(--text); padding: 12px 16px; border-radius: 100px; font-size: 14px; outline: none; }
.soc-composer__input:focus { border-color: var(--gold); }

/* ── Staff: dedication & report cards ── */
.ded-card { display: flex; gap: 12px; background: var(--bg-card); border-radius: var(--radius); padding: 12px; align-items: center; margin-bottom: 10px; }
.ded-card__cover { width: 56px; height: 56px; border-radius: 10px; background: #2a2a2a center/cover; flex-shrink: 0; }
.ded-card__body { flex: 1; min-width: 0; }
.ded-card__route { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--gold); margin-bottom: 3px; }
.ded-card__route strong { color: var(--text); font-weight: 800; }
.ded-card__track { font-size: 12.5px; color: var(--text-muted); }
.ded-card__track strong { color: var(--text); }
.ded-card__msg { font-size: 12px; font-style: italic; color: var(--gold-soft); margin: 5px 0 0; }
.ded-card__actions { display: flex; gap: 7px; flex-shrink: 0; }
.dj-chat--report .dj-chat__from strong { color: var(--danger); }
.dj-pend3__by { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--gold); margin-top: 2px; }

/* ── Social extras : push, drink, photo ── */
.soc-top__right { display: flex; align-items: center; gap: 8px; }
.soc-bell { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-card); border: 1px solid rgba(212,175,55,.3); color: var(--gold); cursor: pointer; animation: socBell 2.5s ease-in-out infinite; }
@keyframes socBell { 0%,90%,100% { transform: rotate(0); } 93% { transform: rotate(12deg); } 96% { transform: rotate(-12deg); } }

.soc-act--drink { grid-column: span 2; background: linear-gradient(135deg, #ffa502, #ff7f00); color: #1a1a1a; }

.soc-drinkgrid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.soc-drinkchip { background: var(--bg-card); border: 1.5px solid rgba(255,255,255,.07); color: var(--text); padding: 12px 6px; border-radius: 12px; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all var(--t-fast); }
.soc-drinkchip.is-on { border-color: #ffa502; background: rgba(255,165,2,.12); }

.soc-drink-actions { display: flex; gap: 6px; flex-shrink: 0; }
.soc-drink-yes { background: var(--success); color: #07210f; border: none; border-radius: 100px; padding: 8px 14px; font-size: 12px; font-weight: 800; cursor: pointer; }
.soc-drink-no { background: var(--bg-soft); color: var(--text-muted); border: none; border-radius: 100px; padding: 8px 12px; font-size: 12px; font-weight: 700; cursor: pointer; }

/* photo bubble + viewer */
.soc-bubble__photo { display: block; max-width: 220px; width: 100%; border-radius: 12px; cursor: pointer; }
.soc-bubble:has(.soc-bubble__photo) { padding: 4px; }
.soc-photoview { position: fixed; inset: 0; z-index: 700; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; padding: 16px; }
.soc-photoview img { max-width: 100%; max-height: 100%; border-radius: 10px; }

/* staff drink card bits */
.ded-card__drinkicon { width: 56px; height: 56px; border-radius: 12px; background: rgba(255,165,2,.12); display: grid; place-items: center; font-size: 26px; flex-shrink: 0; }
.ded-card__spot { color: var(--gold-soft); font-weight: 600; }
.ded-badge { display: inline-block; margin-top: 5px; font-size: 9.5px; font-weight: 800; letter-spacing: .4px; padding: 3px 8px; border-radius: 100px; }
.ded-badge--ok { background: rgba(46,213,115,.16); color: var(--success); }
.ded-badge--wait { background: rgba(255,255,255,.07); color: var(--text-muted); }

/* ── Tabs (Autour de toi / Mon activité) ── */
.soc-tabs { display: flex; gap: 6px; background: var(--bg-card); border-radius: 100px; padding: 4px; margin-bottom: 14px; }
.soc-tab { flex: 1; position: relative; border: none; background: none; color: var(--text-muted); padding: 10px; border-radius: 100px; font-size: 13px; font-weight: 800; cursor: pointer; transition: all var(--t-fast); }
.soc-tab.is-on { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #0a0a0a; }
.soc-tab__badge { position: absolute; top: 2px; right: 8px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 900; min-width: 17px; height: 17px; border-radius: 100px; display: inline-grid; place-items: center; padding: 0 4px; }

/* ── Activity feed ── */
.soc-actsec { margin-bottom: 22px; }
.soc-actsec__label { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--text-muted); margin-bottom: 10px; }
.soc-actrow { display: flex; align-items: center; gap: 12px; background: var(--bg-card); border-radius: 14px; padding: 11px 13px; margin-bottom: 8px; text-decoration: none; color: var(--text); }
.soc-actrow__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.soc-actrow__main strong { font-size: 14.5px; font-weight: 800; }
.soc-actrow__main span { font-size: 12.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soc-actrow__like { flex-shrink: 0; background: linear-gradient(135deg, #ff4d6d, #c9184a); color: #fff; border: none; border-radius: 100px; padding: 9px 14px; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.soc-actrow svg { color: var(--text-muted); flex-shrink: 0; }

/* ── Wall list (WhatsApp style) ── */
.soc-list { display: flex; flex-direction: column; gap: 2px; }
.soc-listrow { display: flex; align-items: center; gap: 13px; padding: 11px 6px; cursor: pointer; border-radius: 14px; transition: background var(--t-fast); animation: socCardIn .35s cubic-bezier(.2,.8,.3,1) both; }
.soc-listrow:active { background: var(--bg-card); }
.soc-listrow .soc-avatar { position: relative; }
.soc-listrow__dot { position: absolute; right: -1px; bottom: -1px; width: 13px; height: 13px; border-radius: 50%; border: 2.5px solid var(--bg); }
.soc-listrow__dot--open { background: #ff4757; }
.soc-listrow__dot--drink { background: #ffa502; }
.soc-listrow__dot--friends { background: #1e90ff; }
.soc-listrow__dot--music { background: #666; }
.soc-listrow__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.soc-listrow__main strong { font-size: 15.5px; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soc-listrow__status { font-size: 12.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soc-listrow__aff { color: var(--gold); font-weight: 600; }
.soc-listrow__heart, .soc-listrow__more { background: none; border: none; cursor: pointer; flex-shrink: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--text-muted); transition: all var(--t-fast); }
.soc-listrow__heart:active { transform: scale(.85); }
.soc-listrow__heart.liked { color: #ff4d6d; }
.soc-listrow--skel { height: 62px; background: linear-gradient(100deg, #1a1a1a 30%, #222 50%, #1a1a1a 70%); background-size: 200% 100%; animation: socSkel 1.3s infinite; cursor: default; }

/* ── Re-scan panel (session lost, often iOS) ── */
.soc-rescan { text-align: center; padding: 40px 24px; background: var(--bg-card); border-radius: 18px; margin: 8px 0; }
.soc-rescan__e { font-size: 46px; margin-bottom: 12px; }
.soc-rescan strong { display: block; font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.soc-rescan span { display: block; font-size: 13px; color: var(--text-muted); line-height: 1.55; max-width: 300px; margin: 0 auto 18px; }
.soc-rescan__btn { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #0a0a0a; border: none; border-radius: 100px; padding: 13px 28px; font-size: 14px; font-weight: 800; cursor: pointer; }

/* ── Onboarding photo ── */
.soc-onb__avatar--btn { position: relative; border: none; cursor: pointer; overflow: visible; padding: 0; }
.soc-onb__cambadge { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #0a0a0a; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.soc-onb__photocta { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 14px 0 4px; }
.soc-onb__photocta button { background: rgba(212,175,55,.12); color: var(--gold); border: 1px solid rgba(212,175,55,.3); border-radius: 100px; padding: 10px 18px; font-size: 13px; font-weight: 800; cursor: pointer; }
.soc-onb__photocta span { font-size: 11px; color: var(--text-muted); }

/* Lien texte discret à côté d'un titre (ex : « Toutes les playlists ») */
.sp-title-row { align-items: baseline; }
.sp-title-link { font-size: 14px; font-weight: 700; color: var(--gold); white-space: nowrap; padding: 12px 0; }

/* Offrir un verre depuis la carte du bar */
.soc-drinkmenu { display: flex; flex-direction: column; gap: 6px; max-height: 46vh; overflow-y: auto; margin-bottom: 12px; }
.soc-drinkmenu__row { display: flex; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 16px; align-items: center; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text); font-size: 16px; font-weight: 700; cursor: pointer; text-align: left; }
.soc-drinkmenu__row span:last-child { color: var(--gold); font-variant-numeric: tabular-nums; }
.soc-drinkmenu__row.is-on { border-color: var(--gold); background: rgba(212,175,55,.1); }
