        /* ── Frequency Spectrum Background ────────────────── */
        .sb-section { position: relative; z-index: 1; }
        #auth { z-index: 1100; }
        /* Hide chrome until authenticated — prevents flash of app behind login */
        .sb-topbar, .sb-sidebar { display: none !important; }
        body.authenticated .sb-topbar { display: grid !important; }
        body.authenticated .sb-sidebar { display: flex !important; }

        /* Splash screen styles now in sb-shared.css */

        /* ── Auth Section ──────────────────────────────────── */
        .auth-wrapper {
            position: fixed;
            inset: 0;
            z-index: 1100;
            display: flex;
            align-items: safe center;
            justify-content: center;
            padding: var(--sb-space-xl);
            background: #050810;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }
        .auth-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            max-width: 900px;
            width: 100%;
            background: linear-gradient(var(--sb-bg-surface), var(--sb-bg-surface)) padding-box, linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) border-box;
            border: 2px solid transparent;
            border-radius: 16px;
            overflow: hidden;
            animation: auth-breathe 4s ease-in-out infinite;
        }
        @keyframes auth-breathe {
            0%, 100% { box-shadow: -4px -4px 12px rgba(var(--sb-ice-rgb),0.2), 4px 4px 12px rgba(var(--sb-violet-rgb),0.2), 0 0 20px rgba(var(--sb-sky-rgb),0.1); }
            50% { box-shadow: -6px -6px 20px rgba(var(--sb-ice-rgb),0.35), 6px 6px 20px rgba(var(--sb-violet-rgb),0.35), 0 0 32px rgba(var(--sb-sky-rgb),0.2); }
        }

        /* Left panel — brand side */
        .auth-brand {
            background: linear-gradient(160deg, rgba(var(--sb-ice-rgb),0.1), rgba(var(--sb-sky-rgb),0.06), rgba(var(--sb-violet-rgb),0.1));
            padding: var(--sb-space-2xl);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            gap: var(--sb-space-lg);
            border-right: 1px solid rgba(var(--sb-ice-rgb),0.2);
        }

        .auth-brand-eq {
            height: 40px !important;
            gap: 5px !important;
        }
        .auth-brand-eq .sb-eq-bar {
            width: 6px !important;
            border-radius: 3px !important;
        }

        .auth-brand-name {
            font-size: 2.4rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--sb-text);
        }
        .auth-brand-name .sb-x {
            color: var(--sb-ice);
            font-weight: 800;
        }

        .auth-brand-tagline {
            font-size: var(--sb-text-sm);
            color: var(--sb-text-secondary);
            line-height: 1.6;
            max-width: 280px;
        }

        .auth-brand-features {
            margin-top: var(--sb-space-md);
            text-align: left;
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
        }

        .auth-brand-features li {
            padding: 6px 0;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-sm);
        }

        .auth-brand-features li::before {
            content: '';
            width: 6px;
            height: 6px;
            background: var(--sb-gradient);
            border-radius: 50%;
            flex-shrink: 0;
        }

        /* Right panel — form side */
        .auth-form-panel {
            background: transparent;
            padding: var(--sb-space-2xl);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        /* Force dark theme on auth regardless of body theme */
        .auth-wrapper .sb-input,
        .auth-wrapper .sb-select,
        .auth-wrapper .sb-textarea {
            background: linear-gradient(var(--sb-bg-input), var(--sb-bg-input)) padding-box, linear-gradient(135deg, rgba(var(--sb-ice-rgb),0.3), rgba(var(--sb-sky-rgb),0.3), rgba(var(--sb-violet-rgb),0.3)) border-box !important;
            color: var(--sb-text) !important;
            border: 1px solid transparent !important;
        }
        .auth-wrapper .sb-input:focus,
        .auth-wrapper .sb-select:focus {
            background: linear-gradient(var(--sb-bg-input), var(--sb-bg-input)) padding-box, linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet)) border-box !important;
            border: 1px solid transparent !important;
            box-shadow: 0 0 0 2px rgba(var(--sb-ice-rgb),0.15) !important;
        }
        .auth-wrapper .sb-input::placeholder {
            color: var(--sb-text-muted) !important;
        }
        /* Override Chrome autofill white background */
        .auth-wrapper .sb-input:-webkit-autofill,
        .auth-wrapper .sb-input:-webkit-autofill:hover,
        .auth-wrapper .sb-input:-webkit-autofill:focus {
            -webkit-box-shadow: 0 0 0 1000px var(--sb-bg-input) inset !important;
            -webkit-text-fill-color: var(--sb-text) !important;
            border-color: rgba(var(--sb-white-rgb),0.08) !important;
            transition: background-color 5000s ease-in-out 0s;
        }
        .auth-wrapper .sb-label {
            color: var(--sb-text-secondary);
        }
        .auth-wrapper .auth-title {
            color: var(--sb-text);
        }
        .auth-wrapper .auth-subtitle {
            color: var(--sb-text-muted);
        }
        /* Turnstile widget — match full width of form */
        [id^="turnstile-"] {
            width: 100%;
            margin-top: 0;
            margin-bottom: var(--sb-space-md);
        }
        [id^="turnstile-"] iframe {
            width: 100% !important;
        }

        @keyframes verify-pulse {
            0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(var(--sb-ice-rgb),0.15)); }
            50% { transform: scale(1.08); filter: drop-shadow(0 0 24px rgba(var(--sb-ice-rgb),0.3)); }
        }

        .auth-card {
            display: none;
            animation: none !important;
            box-shadow: none !important;
            background: transparent !important;
            border: none !important;
            padding: 0 !important;
        }
        .auth-card.active {
            display: block;
        }

        .auth-title {
            font-size: var(--sb-text-xl);
            font-weight: 700;
            margin-bottom: var(--sb-space-xs);
        }

        .auth-subtitle {
            font-size: var(--sb-text-sm);
            color: var(--sb-text-muted);
            margin-bottom: var(--sb-space-lg);
        }

        .auth-divider {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-md);
            margin: var(--sb-space-md) 0;
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .auth-divider::before,
        .auth-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: rgba(var(--sb-white-rgb),0.08);
        }

        .auth-footer {
            margin-top: var(--sb-space-lg);
            font-size: var(--sb-text-sm);
            color: var(--sb-text-muted);
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        .auth-footer a {
            color: var(--sb-ice);
            font-weight: 600;
        }
        .auth-footer-links {
            display: flex;
            gap: var(--sb-space-sm);
            margin-top: var(--sb-space-lg);
        }
        .auth-footer-link {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            padding: 14px 12px;
            background: var(--sb-bg-input);
            border: 1px solid rgba(var(--sb-white-rgb),0.08);
            border-radius: var(--sb-radius);
            cursor: pointer;
            transition: all var(--sb-transition);
            text-decoration: none;
            text-align: center;
        }
        .auth-footer-link:hover {
            border-color: var(--sb-ice);
            background: rgba(var(--sb-ice-rgb),0.06);
        }
        .auth-footer-link-label {
            font-size: var(--sb-text-sm);
            font-weight: 600;
            color: var(--sb-ice);
        }
        .auth-footer-link-hint {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
        }

        .user-type-selector {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: var(--sb-space-sm);
            margin-bottom: var(--sb-space-md);
        }
        .user-type-option {
            padding: 14px;
            text-align: center;
            background: var(--sb-bg-input);
            border: 1px solid rgba(var(--sb-white-rgb),0.08);
            border-radius: var(--sb-radius);
            cursor: pointer;
            transition: all var(--sb-transition);
            font-size: var(--sb-text-sm);
            font-weight: 600;
        }
        .user-type-option.selected {
            border-color: var(--sb-ice);
            background: rgba(var(--sb-ice-rgb),0.08);
            color: var(--sb-ice);
        }
        .user-type-option:hover:not(.selected) {
            border-color: var(--sb-border-light);
            background: rgba(var(--sb-white-rgb),0.02);
        }
        .user-type-icon {
            font-size: 24px;
            display: block;
            margin-bottom: var(--sb-space-xs);
        }

        /* Forgot password link inline */
        .auth-form-row {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            margin-bottom: var(--sb-space-xs);
        }
        .auth-form-row .sb-label { margin-bottom: 0; }
        .auth-forgot {
            font-size: var(--sb-text-xs);
            color: var(--sb-ice);
        }

        /* Custom terms checkbox */
        .auth-terms-label {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 10px;
            cursor: pointer;
            font-size: var(--sb-text-sm);
            color: var(--sb-text-secondary);
            line-height: 1.4;
        }
        .auth-terms-label a {
            color: var(--sb-ice);
            font-weight: 600;
        }
        .auth-terms-check {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }
        .auth-terms-box {
            flex-shrink: 0;
            width: 18px;
            height: 18px;
            border: 2px solid rgba(var(--sb-white-rgb),0.12);
            border-radius: 4px;
            background: var(--sb-bg-input);
            transition: all var(--sb-transition);
            position: relative;
        }
        .auth-terms-box::after {
            content: '';
            position: absolute;
            left: 4px;
            top: 1px;
            width: 5px;
            height: 9px;
            border: solid var(--sb-ice);
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
            opacity: 0;
            transition: opacity var(--sb-transition);
        }
        .auth-terms-check:checked + .auth-terms-box {
            border-color: var(--sb-ice);
            background: rgba(var(--sb-ice-rgb),0.1);
        }
        .auth-terms-check:checked + .auth-terms-box::after {
            opacity: 1;
        }
        .auth-terms-text {
            flex: 1;
        }

        @media (max-width: 768px) {
            .auth-wrapper {
                padding: var(--sb-space-md);
                align-items: flex-start;
                scrollbar-width: none;
                -ms-overflow-style: none;
            }
            .auth-wrapper::-webkit-scrollbar { display: none; }
            .auth-container {
                grid-template-columns: 1fr;
            }
            .auth-brand {
                padding: var(--sb-space-xl) var(--sb-space-lg);
                border-right: none;
                border-bottom: 1px solid rgba(var(--sb-ice-rgb),0.2);
            }
            .auth-brand-features { display: none; }
            .auth-form-panel {
                padding: var(--sb-space-lg);
            }
        }
        @media (max-width: 400px) {
            .auth-wrapper { padding: var(--sb-space-sm); }
            .auth-brand { padding: var(--sb-space-lg) var(--sb-space-md); }
            .auth-brand-tagline { max-width: 100%; font-size: var(--sb-text-xs); }
            .auth-brand-name { font-size: 1.8rem; }
            .auth-form-wrap { padding: var(--sb-space-lg) var(--sb-space-md); }
            .auth-form-panel { padding: var(--sb-space-md); }
        }

        /* ── Dashboard ─────────────────────────────────────── */
        /* Dashboard greeting inherits .sb-page-title from sb-shared.css */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: var(--sb-space-md);
            margin-bottom: var(--sb-space-xl);
        }
        @media (max-width: 768px) {
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: var(--sb-space-sm);
                margin-bottom: var(--sb-space-md);
            }
            .sb-stat-card { padding: var(--sb-space-xs) var(--sb-space-sm); text-align: center; align-items: center; display: flex; flex-direction: column; }
            .sb-stat-card .sb-stat-value { margin: 0 auto; }
            .sb-stat-value { font-size: var(--sb-text-lg); }
            .sb-stat-label { font-size: 10px; margin-bottom: 1px; }
            .sb-stat-change { margin-top: 1px; font-size: 10px; }
        }
        @media (max-width: 480px) {
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .sb-stat-value { font-size: var(--sb-text-base); }
        }
        .sb-stat-link { cursor: pointer; transition: transform var(--sb-transition), box-shadow var(--sb-transition); }
        .sb-stat-link:hover { transform: translateY(-1px); box-shadow: 0 0 8px rgba(var(--sb-ice-rgb),0.3), 0 0 16px rgba(var(--sb-sky-rgb),0.15); }
        /* sb-stat-icon, sb-stat-hint — now in sb-shared.css */
        /* ── Dashboard Ribbon + Tabs ──────────────────────── */
        /* dash-ribbon styles now in sb-shared.css shared ribbon selector */
        .dash-tab-content { display: none; }
        .dash-tab-content.active { display: block; }
        .activity-feed {
            margin-top: var(--sb-space-lg);
        }
        .activity-item {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-start;
            gap: var(--sb-space-md);
            padding: var(--sb-space-md) 0;
            border-bottom: 1px solid var(--sb-border);
        }
        .activity-dot {
            width: 8px;
            height: 8px;
            border-radius: var(--sb-radius-full);
            background: var(--sb-ice);
            margin-top: 8px;
            flex-shrink: 0;
        }
        .activity-text {
            font-size: var(--sb-text-sm);
            color: var(--sb-text-secondary);
        }
        .activity-time {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            margin-top: 2px;
        }
        .upcoming-booking {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            padding: var(--sb-space-md);
            background: var(--sb-bg-card);
            border: 1px solid var(--sb-border);
            border-radius: var(--sb-radius);
            margin-bottom: var(--sb-space-sm);
            cursor: pointer;
            transition: background var(--sb-transition);
        }
        body.light-mode .upcoming-booking {
            background: transparent;
            border-color: rgba(15,23,42,0.06);
        }
        body.light-mode .upcoming-booking:hover {
            background: rgba(15,23,42,0.02);
        }
        .upcoming-booking:hover {
            background: var(--sb-bg-card-hover);
        }
        .upcoming-booking-info {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-md);
        }

        /* ── Gigs Tab: Booking Cards (v2) ─────────────────── */
        /* Featured-row uses overflow:hidden which clips the inset:-1px
           gradient pseudo. 2px padding on the row gives the border room. */
        #dash-tab-gigs .featured-row { padding: 2px; }
        .gigs-booking-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
            gap: var(--sb-space-md);
        }
        .gigs-booking-card {
            position: relative;
            display: flex;
            align-items: stretch;
            background: rgba(15,21,37,0.70);
            border: none;
            border-radius: var(--sb-radius);
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
            isolation: isolate;
            min-width: 0;
            max-width: 100%;
        }
        .gigs-booking-card::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: inherit;
            background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
            z-index: -1;
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            padding: 1px;
        }
        .gigs-booking-card:hover {
            background: var(--sb-bg-card-hover);
            transform: translateY(-1px);
            box-shadow: 0 0 8px rgba(var(--sb-ice-rgb), 0.2);
        }
        body.light-mode .gigs-booking-card { background: rgba(255,255,255,0.85); }
        .gigs-booking-date {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-width: 56px;
            padding: var(--sb-space-sm) var(--sb-space-sm);
            background: linear-gradient(135deg, rgba(var(--sb-ice-rgb),0.15), rgba(var(--sb-violet-rgb),0.10));
            flex-shrink: 0;
        }
        .gigs-booking-date-month {
            font-size: var(--sb-text-xs);
            font-weight: 700;
            text-transform: uppercase;
            color: var(--sb-ice);
            letter-spacing: 0.5px;
        }
        .gigs-booking-date-day {
            font-size: var(--sb-text-2xl);
            font-weight: 800;
            line-height: 1;
            color: var(--sb-text-primary);
        }
        .gigs-booking-date-dow {
            font-size: 9px;
            font-weight: 600;
            text-transform: uppercase;
            color: var(--sb-text-muted);
            letter-spacing: 0.3px;
        }
        .gigs-booking-body {
            flex: 1;
            min-width: 0;
            padding: var(--sb-space-sm) var(--sb-space-md);
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 4px;
        }
        .gigs-booking-title {
            font-weight: 600;
            font-size: var(--sb-text-sm);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .gigs-booking-party {
            display: flex;
            align-items: center;
            gap: var(--sb-space-xs);
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            min-width: 0;
        }
        .gigs-booking-party > span {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            min-width: 0;
        }
        .gigs-booking-party .sb-avatar,
        .gigs-booking-party .sb-avatar-sm,
        .gigs-booking-party .sb-avatar-initials { width: 28px; height: 28px; min-width: 28px; flex-shrink: 0; border-radius: 6px; }
        .gigs-booking-footer {
            display: flex;
            align-items: center;
            gap: var(--sb-space-xs);
            margin-top: 2px;
            overflow: hidden;
            flex-wrap: nowrap;
            min-width: 0;
        }
        .gigs-booking-footer .sb-badge {
            flex-shrink: 1;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* ── Gigs Tab: 3-month calendar ───────────────────── */
        .gigs-cal-3col {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--sb-space-lg);
        }
        .gigs-cal-3col .gigs-cal-month-title {
            text-align: center;
            font-size: var(--sb-text-sm);
            font-weight: 700;
            color: var(--sb-ice);
            margin-bottom: var(--sb-space-sm);
        }
        .gigs-cal-3col .month-grid-day { gap: 2px; padding: 2px; }
        .gigs-cal-3col .month-grid-day-name { font-size: 7px; }
        .gigs-cal-3col .month-grid-day-num { font-size: 9px; }
        .gigs-cal-3col .month-grid-day-status { font-size: 6px; }
        .gigs-cal-3col + .avail-cal-legend {
            margin-top: var(--sb-space-lg);
        }

        /* ── Gigs Tab: Opportunity pills ──────────────────── */
        .gigs-opp-pills {
            display: flex;
            gap: 2px;
            background: rgba(255,255,255,0.06);
            border-radius: var(--sb-radius);
            padding: 2px;
        }
        body.light-mode .gigs-opp-pills { background: rgba(15,23,42,0.06); }

        /* ── Gigs Tab: Opportunity cards ──────────────────── */
        .gigs-opp-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
            gap: var(--sb-space-md);
        }
        .gigs-opp-card {
            position: relative;
            display: flex;
            flex-direction: column;
            background: rgba(15,21,37,0.70);
            border: none;
            border-radius: var(--sb-radius);
            padding: var(--sb-space-md);
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .gigs-opp-card::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: inherit;
            background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
            z-index: -1;
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            padding: 1px;
        }
        .gigs-opp-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 0 12px rgba(var(--sb-ice-rgb), 0.2);
        }
        body.light-mode .gigs-opp-card { background: rgba(255,255,255,0.85); }
        .gigs-opp-top {
            display: flex;
            align-items: flex-start;
            gap: var(--sb-space-sm);
            margin-bottom: var(--sb-space-sm);
        }
        .gigs-opp-date-badge {
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 40px;
            flex-shrink: 0;
        }
        .gigs-opp-date-badge .gigs-booking-date-month { font-size: 10px; }
        .gigs-opp-date-badge .gigs-booking-date-day { font-size: var(--sb-text-lg); }
        .gigs-opp-info { flex: 1; min-width: 0; }
        .gigs-opp-title {
            font-weight: 600;
            font-size: var(--sb-text-sm);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 2px;
        }
        .gigs-opp-venue {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .gigs-opp-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            margin-top: auto;
            padding-top: var(--sb-space-xs);
        }

        /* ── Featured Carousel (mirrors explore page) ─────── */
        /* min-width:0 + max-width:100% + overflow:hidden stop the carousel's
           max-content width from stretching the parent grid track past the
           page edge (dash-row uses display:grid with no template). */
        .featured-row {
            margin-bottom: var(--sb-space-xl);
            min-width: 0;
            max-width: 100%;
            overflow: hidden;
        }
        .featured-row-header {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            margin-bottom: var(--sb-space-md);
        }
        .featured-row-heading {
            font-size: var(--sb-text-lg);
            font-weight: 600;
            color: var(--sb-text-secondary);
            margin: 0 !important;
        }
        .featured-row-sub {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            margin: 4px 0 0;
        }
        .featured-carousel-wrap {
            position: relative;
            overflow: hidden;
            box-sizing: border-box;
            max-width: 100%;
            /* Fade pulled in so the gradient sits inside the dashboard
               content edge, flush with the sb-card borders above/below */
            mask-image: linear-gradient(to right, transparent 0, #000 var(--sb-space-md), #000 calc(100% - var(--sb-space-md)), transparent 100%);
            -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--sb-space-md), #000 calc(100% - var(--sb-space-md)), transparent 100%);
        }
        .featured-carousel {
            display: flex;
            /* No `gap` here — see news ticker comment. Using margin-right
               on each child instead so the duplicated-block marquee loops
               seamlessly (gap math was off by half a gap per cycle). */
            width: max-content;
            padding: 6px 0;
            animation: featured-scroll 66s linear infinite;
        }
        .featured-carousel > * {
            margin-right: var(--sb-space-md);
        }
        .featured-carousel:hover {
            animation-play-state: paused;
        }
        @keyframes featured-scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        .featured-carousel .performer-card {
            flex: 0 0 220px;
            min-height: 240px; /* ~11:12 ratio — slightly portrait, more compact */
            background: rgba(17,24,39,0.8);
        }
        .featured-carousel .performer-card-footer {
            flex-wrap: nowrap;
        }
        @media (max-width: 768px) {
            .featured-carousel .performer-card { flex: 0 0 180px; min-height: 170px; }
            /* Drop the 3rd badge row + the 30px footer spacer that performer-card-body
               injects inline — they pad the card height past the min-height on mobile. */
            .featured-carousel .performer-card-body .performer-card-genres:nth-of-type(3) { display: none; }
            .featured-carousel .performer-card-body > div[style*="height:30px"] { height: 0 !important; }
        }
        @media (max-width: 480px) {
            .featured-carousel .performer-card { flex: 0 0 160px; min-height: 150px; }
            /* Also drop the 2nd badge row on the smallest screens */
            .featured-carousel .performer-card-body .performer-card-genres:nth-of-type(2) { display: none; }
        }

        /* ── Performer card structure (copied verbatim from explore.html) ── */
        .featured-carousel .performer-card {
            position: relative;
            background: rgba(17,24,39,0.8);
            border: none;
            border-radius: var(--sb-radius);
            padding: var(--sb-space-sm) var(--sb-space-md);
            cursor: pointer;
            min-width: 0;
            overflow: visible;
            display: flex;
            flex-direction: column;
            transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
        }
        .featured-carousel .performer-card:hover {
            background: var(--sb-bg-card-hover);
            box-shadow: 0 0 8px rgba(var(--sb-ice-rgb), 0.3), 0 0 16px rgba(var(--sb-sky-rgb), 0.15);
            transform: translateY(-2px);
        }
        .featured-carousel .performer-card::before {
            content: ''; position: absolute; inset: -1px; border-radius: inherit;
            padding: 1px; background: var(--sb-gradient);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
        }
        .featured-carousel .performer-card-header { display: flex; align-items: flex-start; gap: var(--sb-space-sm); margin-bottom: 0; flex-wrap: wrap; }
        .featured-carousel .performer-card-header > div:last-child { min-width: 0; overflow: hidden; }
        .featured-carousel .performer-card-meta { display: flex; align-items: center; gap: var(--sb-space-sm); min-height: 18px; }
        .featured-carousel .performer-card-active { min-height: 16px; margin-bottom: var(--sb-space-xs); font-size: var(--sb-text-xs); }
        .featured-carousel .performer-card-name { font-weight: 700; font-size: var(--sb-text-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 44px; }
        .featured-carousel .performer-card-location { font-size: var(--sb-text-xs); color: var(--sb-text-muted); }
        .featured-carousel .performer-card-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
        .featured-carousel .performer-card-genres { display: flex; flex-wrap: nowrap; gap: 3px; margin: 0 0 var(--sb-space-xs); overflow: hidden; height: 18px; }
        .featured-carousel .performer-card-genres .sb-badge { font-size: 0.625rem; padding: 1px 6px; letter-spacing: 0.04em; border-radius: 4px; max-height: 16px; line-height: 1; display: inline-flex; align-items: center; white-space: nowrap; flex-shrink: 0; }
        .featured-carousel .performer-card-footer {
            display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
            gap: var(--sb-space-xs); padding-top: var(--sb-space-sm);
            border-top: 1px solid var(--sb-border); font-size: var(--sb-text-xs);
        }
        .featured-carousel .performer-card-footer > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .featured-carousel .performer-card-footer > span:last-child { flex-shrink: 0; white-space: nowrap; }
        /* Dashboard "Recommended" discover carousel — force the footer
           to a single row. Cards here are narrower than the explore-page
           carousels, so a wide fee range like "£500 – £1,000" would
           otherwise push the rating onto a second row. flex-wrap: nowrap
           combined with the first-child min-width:0 + ellipsis above
           truncates the fee text instead of wrapping the whole footer. */
        #dash-discover-carousel .performer-card-footer { flex-wrap: nowrap; }

        /* ── Avatar Banner Card Variant (copied verbatim from explore.html) ── */
        .performer-card--banner { padding-top: 0; position: relative; }
        .performer-card--banner .performer-card-avatar-banner {
            position: absolute; top: 1px; left: 1px; right: 1px; bottom: 40px;
            height: auto; pointer-events: none; overflow: hidden;
            border-radius: calc(var(--sb-radius) - 2px) calc(var(--sb-radius) - 2px) 0 0;
        }
        .performer-card--banner .performer-card-avatar-banner img {
            width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
            display: block; filter: brightness(0.45);
            mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
            -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
        }
        .performer-card--banner .performer-card-avatar-banner--placeholder {
            background: linear-gradient(135deg, rgba(56,189,248,0.2) 0%, rgba(99,102,241,0.18) 100%);
        }
        .performer-card--banner .performer-card-avatar-banner--placeholder + .performer-card-overlay { display: none; }
        .performer-card--banner .performer-card-overlay {
            position: absolute; top: 1px; left: 1px; right: 1px; bottom: 40px; z-index: 1;
            background: linear-gradient(to top, var(--sb-bg-card) 0%, rgba(8,12,20,0.7) 40%, transparent 100%);
            pointer-events: none;
            border-radius: calc(var(--sb-radius) - 2px) calc(var(--sb-radius) - 2px) 0 0;
        }
        .performer-card--banner .performer-card-header {
            min-height: 0; position: relative; z-index: 2; padding-top: var(--sb-space-sm);
        }
        .performer-card--banner .performer-card-header .sb-avatar,
        .performer-card--banner .performer-card-header .sb-avatar-placeholder { display: none; }
        .performer-card--banner .performer-card-location { color: var(--sb-text-secondary); }
        .performer-card--banner .unverified-pill { color: var(--sb-text-secondary); }
        .performer-card--banner .performer-card-meta,
        .performer-card--banner .performer-card-active,
        .performer-card--banner .performer-card-body,
        .performer-card--banner .performer-card-footer,
        .performer-card--banner .avail-indicator { position: relative; z-index: 2; }
        .performer-card--banner .performer-card-footer { padding-top: var(--sb-space-xs); }
        .performer-card--banner .sb-badge {
            -webkit-text-fill-color: initial;
            color: var(--sb-ice);
            border: 1px solid var(--sb-ice);
            background: rgba(56,189,248,0.12);
            border-radius: 4px;
            display: inline-flex; align-items: center; justify-content: center; line-height: 1;
        }
        .performer-card--banner .sb-badge-gradient {
            background: rgba(56,189,248,0.3);
            -webkit-background-clip: initial; -webkit-text-fill-color: initial;
            background-image: none; color: var(--sb-ice); border: 1px solid var(--sb-ice);
        }
        .performer-card--banner .sb-badge-violet {
            background: rgba(var(--sb-violet-rgb),0.3); color: var(--sb-violet); border: 1px solid var(--sb-violet);
        }
        .performer-card--banner .sb-badge-neutral {
            background: rgba(var(--sb-text-muted-rgb),0.3); color: var(--sb-text-secondary); border: 1px solid var(--sb-text-secondary);
        }
        .performer-card--banner .sb-badge-info {
            background: rgba(var(--sb-info-rgb),0.3); color: var(--sb-info); border: 1px solid var(--sb-info);
        }
        .performer-card--banner .role-corner-badge {
            display: inline-flex; align-items: center; justify-content: center; line-height: 1;
            border-width: 1px; border-style: solid;
        }
        .performer-card--banner .role-corner-badge-artist  { background: rgba(56,189,248,0.3); color: var(--sb-ice); border-color: var(--sb-ice); }
        .performer-card--banner .role-corner-badge-venue   { background: rgba(99,102,241,0.3); color: var(--sb-violet); border-color: var(--sb-violet); }
        .performer-card--banner .role-corner-badge-agent   { background: rgba(20,184,166,0.3); color: #2dd4bf; border-color: #2dd4bf; }
        .performer-card--banner .role-corner-badge-promoter { background: rgba(124,211,252,0.3); color: var(--sb-ice-light); border-color: var(--sb-ice-light); }

        /* ── Verified pill / role corner badge / active indicator ── */
        .verified-pill { display: inline-flex; align-items: center; gap: 3px; font-size: var(--sb-text-xs); color: var(--sb-ice); margin-top: 2px; }
        .verified-pill svg { width: 12px; height: 12px; }
        .unverified-pill { font-size: var(--sb-text-xs); color: var(--sb-text-muted); margin-top: 2px; }
        .role-corner-badge {
            position: absolute; top: 8px; right: 8px;
            font-size: 8px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
            padding: 2px 6px; border-radius: 4px;
            z-index: 1; line-height: 1.4;
        }
        /* Hero-card variant: top-right, slightly larger. When wrapped in
           .sb-card-corner-stack the badges sit side-by-side with a fixed
           gap instead of relying on absolute offsets. */
        .role-corner-badge--hero {
            top: var(--sb-space-md); right: var(--sb-space-md); left: auto;
            font-size: 10px; padding: 4px 10px; border-radius: var(--sb-radius-sm);
        }
        .sb-card-corner-stack {
            position: absolute;
            top: var(--sb-space-md);
            right: var(--sb-space-md);
            display: flex;
            align-items: center;
            gap: 8px;
            z-index: 2;
            max-width: calc(100% - var(--sb-space-md) * 2);
            flex-wrap: wrap;
            justify-content: flex-end;
        }
        /* ── Corner stack — unified shape, role-themed hue, intensity hierarchy ── */
        /* Role hue is set on the wrapper via --pill-rgb; every pill reads from it. */
        .sb-card-corner-stack { --pill-rgb: 56, 189, 248; } /* default: ice */
        .sb-card-corner-stack--artist   { --pill-rgb: 56, 189, 248; }
        .sb-card-corner-stack--venue    { --pill-rgb: 99, 102, 241; }
        .sb-card-corner-stack--agent    { --pill-rgb: 20, 184, 166; }
        .sb-card-corner-stack--promoter { --pill-rgb: 124, 211, 252; }
        .sb-card-corner-stack--admin    { --pill-rgb: 14, 165, 233; }

        /* Shared pill shell — every pill in the stack uses identical dimensions */
        .sb-card-corner-stack .sb-response-badge,
        .sb-card-corner-stack .sb-fan-pill,
        .sb-card-corner-stack .sb-support-pill,
        .sb-card-corner-stack .role-corner-badge {
            position: static;
            top: auto; right: auto; left: auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 0 12px;
            border-radius: 8px;
            font-size: var(--sb-text-xs);
            font-weight: 700;
            line-height: 1;
            height: 28px;
            white-space: nowrap;
            border: 1px solid;
            font-family: inherit;
            text-transform: none;
            letter-spacing: 0;
            transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
        }
        .sb-card-corner-stack .sb-response-badge svg,
        .sb-card-corner-stack .sb-fan-pill svg,
        .sb-card-corner-stack .sb-support-pill svg {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
            display: block;
        }
        .sb-card-corner-stack .sb-response-badge .sb-icon,
        .sb-card-corner-stack .sb-fan-pill .sb-icon,
        .sb-card-corner-stack .sb-support-pill .sb-icon { display: inline-flex; }

        /* Tier 1 — Support: deepest tint, full-strength border, white text (loudest CTA) */
        .sb-card-corner-stack .sb-support-pill {
            background: rgba(var(--pill-rgb), 0.60);
            border-color: rgb(var(--pill-rgb));
            color: #fff;
            cursor: pointer;
        }
        .sb-card-corner-stack .sb-support-pill .sb-icon { color: #fff; }
        .sb-card-corner-stack .sb-support-pill:hover {
            background: rgba(var(--pill-rgb), 0.72);
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(var(--pill-rgb), 0.30);
        }
        .sb-card-corner-stack .sb-support-pill--disabled {
            background: rgba(var(--pill-rgb), 0.42);
            border-color: rgba(var(--pill-rgb), 0.75);
            color: rgba(255, 255, 255, 0.85);
            cursor: help;
        }
        .sb-card-corner-stack .sb-support-pill--disabled .sb-icon { color: rgba(255, 255, 255, 0.85); }
        .sb-card-corner-stack .sb-support-pill--disabled:hover { box-shadow: none; transform: none; background: rgba(var(--pill-rgb), 0.42); }

        /* Tier 2 — Fans: strong tint */
        .sb-card-corner-stack .sb-fan-pill {
            background: rgba(var(--pill-rgb), 0.38);
            border-color: rgba(var(--pill-rgb), 0.75);
            color: rgb(var(--pill-rgb));
            cursor: pointer;
        }
        .sb-card-corner-stack .sb-fan-pill .sb-icon { color: rgb(var(--pill-rgb)); }
        .sb-card-corner-stack .sb-fan-pill .sb-fan-count { font-weight: 800; color: #fff; }
        .sb-card-corner-stack .sb-fan-pill:hover {
            background: rgba(var(--pill-rgb), 0.48);
            border-color: rgb(var(--pill-rgb));
            transform: translateY(-1px);
        }

        /* Tier 3 — Replies: medium tint */
        .sb-card-corner-stack .sb-response-badge {
            background: rgba(var(--pill-rgb), 0.28);
            border-color: rgba(var(--pill-rgb), 0.60);
            color: rgb(var(--pill-rgb));
        }
        .sb-card-corner-stack .sb-response-badge .sb-icon { color: rgb(var(--pill-rgb)); }
        .sb-card-corner-stack .sb-response-badge--placeholder {
            background: rgba(var(--pill-rgb), 0.20);
            border-color: rgba(var(--pill-rgb), 0.48);
            color: rgba(var(--pill-rgb), 0.85);
        }
        .sb-card-corner-stack .sb-response-badge--placeholder .sb-icon { color: rgba(var(--pill-rgb), 0.85); }

        /* Tier 4 — Role identity: softest tint (overrides global per-role colours via specificity) */
        .sb-card-corner-stack .role-corner-badge,
        .sb-card-corner-stack .role-corner-badge-artist,
        .sb-card-corner-stack .role-corner-badge-venue,
        .sb-card-corner-stack .role-corner-badge-agent,
        .sb-card-corner-stack .role-corner-badge-promoter,
        .sb-card-corner-stack .role-corner-badge-admin {
            background: rgba(var(--pill-rgb), 0.20);
            border-color: rgba(var(--pill-rgb), 0.48);
            color: rgb(var(--pill-rgb));
        }
        .role-corner-badge-artist  { background: rgba(56,189,248,0.15); color: var(--sb-ice); border: 1px solid rgba(56,189,248,0.3); }
        .role-corner-badge-venue   { background: rgba(99,102,241,0.15); color: var(--sb-violet); border: 1px solid rgba(99,102,241,0.3); }
        .role-corner-badge-agent   { background: rgba(20,184,166,0.15); color: #2dd4bf; border: 1px solid rgba(20,184,166,0.3); }
        .role-corner-badge-promoter { background: rgba(124,211,252,0.12); color: var(--sb-ice-light); border: 1px solid rgba(124,211,252,0.25); }
        .role-corner-badge-admin   { background: rgba(14,165,233,0.15); color: var(--sb-sky); border: 1px solid rgba(14,165,233,0.3); }
        @media (max-width: 768px) {
            .sb-card-corner-stack {
                position: static !important;
                display: flex !important;
                justify-content: center !important;
                align-items: center !important;
                max-width: none !important;
                gap: 6px !important;
                padding: var(--sb-space-lg) var(--sb-space-lg) var(--sb-space-sm) !important;
                flex-wrap: nowrap !important;
            }
            .sb-card-corner-stack .role-corner-badge {
                position: static !important;
            }
            .sb-card-corner-stack .sb-support-pill,
            .sb-card-corner-stack .sb-fan-pill,
            .sb-card-corner-stack .sb-response-badge,
            .sb-card-corner-stack .role-corner-badge {
                flex: 1 1 0 !important;
                justify-content: center !important;
            }
            .pp-pill-long { display: none !important; }
            .pp-pill-short { display: inline !important; }
        }
        .pp-pill-short { display: none; }
        .active-indicator { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: var(--sb-text-xs); margin-top: 2px; }
        .active-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
        .active-dot-green { background: var(--sb-success); box-shadow: 0 0 6px rgba(34,197,94,0.4); }
        .active-dot-ice   { background: var(--sb-ice); box-shadow: 0 0 6px rgba(56,189,248,0.4); }
        .active-dot-grey  { background: var(--sb-text-muted); }
        .avail-indicator { display: inline-flex; align-items: center; gap: 4px; font-size: 0.625rem; font-weight: 600; color: var(--sb-success); margin-top: 4px; padding: 1px 6px; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25); border-radius: var(--sb-radius-sm); }
        .avail-indicator .active-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sb-success); box-shadow: 0 0 6px rgba(34,197,94,0.4); flex-shrink: 0; }

        /* ── Discovery compact rows ──────────────────────── */
        .dash-disc-row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 10px;
            padding: 8px 12px;
            cursor: pointer;
            transition: background var(--sb-transition);
            border-bottom: 1px solid var(--sb-border);
        }
        .dash-disc-row:last-child { border-bottom: none; }
        .dash-disc-row:hover { background: var(--sb-bg-card-hover); }
        .dash-disc-info {
            flex: 1;
            min-width: 0;
        }
        .dash-disc-title {
            font-weight: 600;
            font-size: var(--sb-text-sm);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .dash-disc-meta {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* ── Dashboard Expansion ──────────────────────────── */
        .dash-row {
            display: grid;
            gap: var(--sb-space-md);
            margin-bottom: var(--sb-space-lg);
        }
        .dash-row-2col { grid-template-columns: 1fr 1fr; }
        .dash-row-3col { grid-template-columns: 1fr 1fr 1fr; }

        /* Gauge card — uniform layout */
        .dash-gauge {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-lg);
            padding: var(--sb-space-md) 0;
        }
        .dash-gauge-svg {
            flex-shrink: 0;
            width: 120px;
            height: 100px;
        }
        .dash-gauge-body {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
        }
        .dash-gauge-value {
            font-size: var(--sb-text-2xl);
            font-weight: 700;
            line-height: 1;
        }
        .dash-gauge-desc {
            font-size: var(--sb-text-sm);
            margin-top: 4px;
            height: 1.2em;
            overflow: hidden;
        }
        .dash-gauge-badge {
            margin-top: 8px;
            height: 22px;
        }
        .dash-gauge-badge span {
            display: inline-block;
            padding: 2px 10px;
            border-radius: var(--sb-radius-pill);
            font-size: var(--sb-text-xs);
            font-weight: 600;
        }
        .dash-gauge-detail {
            font-size: var(--sb-text-xs);
            margin-top: 6px;
            height: 1.1em;
            overflow: hidden;
        }
        .dash-gauge-tip {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            margin-top: var(--sb-space-sm);
            line-height: 1.4;
            font-style: italic;
        }

        /* ── Analytics 2.0 (Growth tab) ──────────────────── */
        .a2-hero-row {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: var(--sb-space-md);
            margin-bottom: var(--sb-space-lg);
        }
        .a2-hero-card {
            position: relative;
            background: rgba(15,21,37,0.70);
            border: none;
            border-radius: var(--sb-radius);
            padding: var(--sb-space-md);
            text-align: center;
            transition: transform 0.2s;
        }
        .a2-hero-card::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: inherit;
            background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
            z-index: -1;
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            padding: 1px;
        }
        .a2-hero-clickable { cursor: pointer; }
        .a2-hero-card:hover {
            background: var(--sb-bg-card-hover);
            box-shadow: 0 0 8px rgba(var(--sb-ice-rgb), 0.3), 0 0 16px rgba(var(--sb-sky-rgb), 0.15);
            transform: translateY(-1px);
        }
        body.light-mode .a2-hero-card { background: rgba(255,255,255,0.85); }
        .a2-hero-icon {
            font-size: 20px;
            color: var(--sb-text-muted);
            margin-bottom: var(--sb-space-xs);
            transition: color 0.2s;
        }
        .a2-hero-card:hover .a2-hero-icon { color: var(--sb-ice); }
        .a2-hero-value {
            font-size: var(--sb-text-2xl);
            font-weight: 800;
            letter-spacing: -0.5px;
            line-height: 1.1;
            color: var(--sb-ice);
        }
        .a2-hero-label {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            margin-top: 4px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .a2-hero-sub {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            margin-top: 4px;
        }

        /* Benchmark labels */
        .a2-bench {
            display: inline-block;
            font-size: 9px;
            font-weight: 600;
            padding: 1px 6px;
            border-radius: var(--sb-radius-sm);
            vertical-align: middle;
            margin-left: 2px;
        }
        .a2-bench-up,
        .a2-bench-avg,
        .a2-bench-down,
        .a2-bench {
            background: rgba(var(--sb-fuchsia-rgb),0.1);
            color: var(--sb-fuchsia);
            border: 1px solid rgba(var(--sb-fuchsia-rgb),0.25);
        }
        .a2-health-bench {
            margin-left: auto;
        }

        /* Chart legend */
        .a2-chart-legend {
            display: flex;
            justify-content: center;
            gap: var(--sb-space-md);
            margin-top: var(--sb-space-xs);
        }
        .a2-legend-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 10px;
            color: var(--sb-text-muted);
        }
        .a2-legend-line {
            display: inline-block;
            width: 16px;
            height: 2px;
            border-radius: 1px;
        }
        .a2-legend-dashed {
            background: none !important;
            border-top: 2px dashed var(--sb-fuchsia);
            height: 0;
        }

        /* Period badge */
        .a2-period-badge {
            font-size: var(--sb-text-xs);
            color: var(--sb-ice);
            font-weight: 600;
        }

        /* Views chart */
        .a2-views-header {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: var(--sb-space-md);
            margin-bottom: var(--sb-space-sm);
        }
        .a2-views-total {
            font-size: 28px;
            font-weight: 800;
            letter-spacing: -1px;
            line-height: 1;
        }
        .a2-views-total-label {
            font-size: var(--sb-text-sm);
            font-weight: 400;
            color: var(--sb-text-muted);
        }
        .a2-views-avg {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
        }
        .a2-spark {
            width: 100%;
            height: 100px;
            display: block;
        }
        .a2-spark-labels {
            display: flex;
            justify-content: space-between;
            font-size: 10px;
            color: var(--sb-text-muted);
            padding: 4px 2px 0;
        }

        /* Range toggle — matches inv-theme-pills */
        .a2-range-pills {
            display: inline-flex;
            gap: 4px;
            padding: 3px;
            background: var(--sb-bg-card);
            border: 1px solid var(--sb-border);
            border-radius: var(--sb-radius);
            margin-left: auto;
        }
        .a2-range-btn {
            padding: 4px 12px;
            font-size: 11px;
            font-weight: 600;
            color: var(--sb-text-muted);
            background: transparent;
            border: none;
            border-radius: var(--sb-radius-sm);
            cursor: pointer;
            transition: all var(--sb-transition);
            font-family: inherit;
        }
        .a2-range-btn:hover { color: var(--sb-text-secondary); }
        .a2-range-btn.active {
            background: rgba(var(--sb-ice-rgb), 0.15);
            color: var(--sb-ice);
            box-shadow: 0 0 6px rgba(var(--sb-ice-rgb), 0.2);
        }

        /* Activity heatmap */
        .a2-heatmap-wrap {
            overflow-x: auto;
            padding-bottom: var(--sb-space-xs);
            -webkit-overflow-scrolling: touch;
            text-align: center;
        }
        .a2-heatmap-svg { display: inline-block; min-width: max-content; }
        .a2-heatmap-cell { transition: opacity 0.1s; }
        .a2-heatmap-cell:hover { opacity: 0.8; stroke: var(--sb-text); stroke-width: 1; }
        .a2-heatmap-0 { fill: rgba(var(--sb-ice-rgb), 0.06); }
        .a2-heatmap-1 { fill: rgba(var(--sb-ice-rgb), 0.25); }
        .a2-heatmap-2 { fill: rgba(var(--sb-ice-rgb), 0.45); }
        .a2-heatmap-3 { fill: rgba(var(--sb-ice-rgb), 0.7); }
        .a2-heatmap-4 { fill: var(--sb-ice); }
        body.light-mode .a2-heatmap-0 { fill: rgba(var(--sb-ice-rgb), 0.08); }
        body.light-mode .a2-heatmap-1 { fill: rgba(var(--sb-ice-rgb), 0.2); }
        body.light-mode .a2-heatmap-2 { fill: rgba(var(--sb-ice-rgb), 0.4); }
        body.light-mode .a2-heatmap-3 { fill: rgba(var(--sb-ice-rgb), 0.65); }
        .a2-heatmap-legend {
            display: flex;
            align-items: center;
            gap: 6px;
            justify-content: center;
            padding-top: var(--sb-space-xs);
        }
        .a2-heatmap-legend-label {
            font-size: 9px;
            color: var(--sb-text-muted);
        }

        /* Follower legend */
        .a2-follower-legend {
            display: flex;
            gap: var(--sb-space-md);
            margin-bottom: var(--sb-space-sm);
            flex-wrap: wrap;
        }
        .a2-follower-legend-item {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
        }

        /* Audience breakdown */
        .a2-audience-grid { display: flex; flex-direction: column; gap: var(--sb-space-md); padding: var(--sb-space-sm) 0; }
        .a2-audience-bar-wrap {
            height: 8px;
            background: var(--sb-border);
            border-radius: var(--sb-radius-pill);
            overflow: hidden;
        }
        .a2-audience-bar {
            height: 100%;
            border-radius: var(--sb-radius-pill);
            transition: width 0.6s ease;
        }
        .a2-audience-meta {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-top: 4px;
            font-size: var(--sb-text-sm);
        }
        .a2-audience-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            flex-shrink: 0;
        }
        .a2-audience-label { flex: 1; color: var(--sb-text-muted); }
        .a2-audience-count { font-weight: 700; }

        /* Impressions stats */
        .a2-imp-stats { display: flex; gap: var(--sb-space-lg); margin-bottom: var(--sb-space-sm); }
        .a2-imp-stat { flex: 1; text-align: center; }
        .a2-imp-val { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; background: var(--sb-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .a2-imp-label { font-size: var(--sb-text-xs); color: var(--sb-text-muted); margin-top: 2px; }

        /* Geographic reach */
        .a2-geo-list { display: flex; flex-direction: column; gap: 6px; }
        .a2-geo-row { display: flex; align-items: center; gap: var(--sb-space-sm); font-size: var(--sb-text-sm); }
        .a2-geo-city { width: 90px; flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--sb-text-secondary); }
        .a2-geo-bar-wrap { flex: 1; height: 6px; background: var(--sb-border); border-radius: var(--sb-radius-pill); overflow: hidden; }
        .a2-geo-bar { height: 100%; border-radius: var(--sb-radius-pill); transition: width 0.6s ease; }
        .a2-geo-count { font-weight: 700; font-size: var(--sb-text-xs); min-width: 20px; text-align: right; }

        /* Track plays */
        .a2-tracks-header {
            display: flex;
            align-items: baseline;
            gap: var(--sb-space-md);
            margin-bottom: var(--sb-space-sm);
        }
        .a2-tracks-total {
            font-size: 28px;
            font-weight: 800;
            letter-spacing: -1px;
            line-height: 1;
        }
        .a2-tracks-total-label {
            font-size: var(--sb-text-sm);
            font-weight: 400;
            color: var(--sb-text-muted);
        }
        .a2-tracks-sub { font-size: var(--sb-text-xs); color: var(--sb-text-muted); }
        .a2-tracks-list { display: flex; flex-direction: column; gap: var(--sb-space-sm); }
        .a2-track-row {
            display: flex;
            align-items: center;
            gap: var(--sb-space-sm);
        }
        .a2-track-rank {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: var(--sb-border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 700;
            flex-shrink: 0;
        }
        .a2-track-info { flex: 1; min-width: 0; }
        .a2-track-name {
            font-size: var(--sb-text-sm);
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 4px;
        }
        .a2-track-bar-wrap {
            height: 6px;
            background: var(--sb-border);
            border-radius: var(--sb-radius-pill);
            overflow: hidden;
        }
        .a2-track-bar {
            height: 100%;
            border-radius: var(--sb-radius-pill);
            transition: width 0.6s ease;
        }
        .a2-track-plays {
            font-weight: 700;
            font-size: var(--sb-text-sm);
            min-width: 40px;
            text-align: right;
            flex-shrink: 0;
        }

        /* Engagement stat list */
        .a2-stat-list { display: flex; flex-direction: column; gap: var(--sb-space-sm); padding: var(--sb-space-xs) 0; }
        .a2-stat-row {
            display: flex;
            align-items: center;
            gap: var(--sb-space-sm);
            padding: var(--sb-space-xs) 0;
            border-bottom: 1px solid var(--sb-border);
        }
        .a2-stat-row:last-child { border-bottom: none; }
        .a2-stat-icon { color: var(--sb-ice); flex-shrink: 0; }
        .a2-stat-label { flex: 1; font-size: var(--sb-text-sm); color: var(--sb-text-muted); }
        .a2-stat-value { font-weight: 700; font-size: var(--sb-text-sm); }
        .a2-stat-sub { font-size: var(--sb-text-xs); color: var(--sb-text-muted); margin-left: 4px; }

        /* Creator tools grid */
        .a2-tools-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--sb-space-md);
            padding: 2px;
        }
        .a2-tool-card {
            position: relative;
            text-align: center;
            padding: var(--sb-space-md);
            background: rgba(15,21,37,0.70);
            border: none;
            border-radius: var(--sb-radius);
            transition: transform 0.2s;
            text-decoration: none;
            color: inherit;
        }
        .a2-tool-card::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: inherit;
            background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
            z-index: -1;
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            padding: 1px;
        }
        .a2-tool-card:hover { transform: translateY(-2px); }
        body.light-mode .a2-tool-card { background: rgba(255,255,255,0.85); }
        .a2-tool-icon { font-size: 20px; color: var(--sb-ice); margin-bottom: var(--sb-space-xs); }
        .a2-tool-count { font-size: var(--sb-text-2xl); font-weight: 800; line-height: 1; }
        .a2-tool-label { font-size: var(--sb-text-xs); color: var(--sb-text-muted); margin-top: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
        .a2-tool-sub { font-size: var(--sb-text-xs); color: var(--sb-text-muted); margin-top: 2px; }

        /* Content library */
        .a2-content-row {
            display: flex;
            align-items: center;
            gap: var(--sb-space-xl);
            padding: var(--sb-space-sm) 0;
        }
        .a2-content-total { text-align: center; flex-shrink: 0; }
        .a2-content-total-num { font-size: 36px; font-weight: 800; display: block; line-height: 1; }
        .a2-content-total-label { font-size: var(--sb-text-xs); color: var(--sb-text-muted); }
        .a2-content-breakdown { flex: 1; display: flex; flex-direction: column; gap: var(--sb-space-sm); }
        .a2-content-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: var(--sb-text-sm);
        }
        .a2-content-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
        .a2-content-count { font-weight: 700; min-width: 24px; }
        .a2-content-label { color: var(--sb-text-muted); }

        /* Financial — fee distribution */
        .a2-fee-dist { display: flex; flex-direction: column; gap: var(--sb-space-sm); padding: var(--sb-space-xs) 0; }
        .a2-fee-row {
            display: grid;
            grid-template-columns: 100px 1fr auto auto;
            gap: var(--sb-space-sm);
            align-items: center;
        }
        .a2-fee-label { font-size: var(--sb-text-sm); font-weight: 600; }
        .a2-fee-bar-wrap {
            height: 8px;
            background: var(--sb-border);
            border-radius: var(--sb-radius-pill);
            overflow: hidden;
        }
        .a2-fee-bar {
            height: 100%;
            border-radius: var(--sb-radius-pill);
            transition: width 0.6s ease;
        }
        .a2-fee-count { font-size: var(--sb-text-sm); font-weight: 700; min-width: 60px; text-align: right; }
        .a2-fee-avg { font-size: var(--sb-text-xs); color: var(--sb-text-muted); min-width: 70px; text-align: right; }

        /* Financial — top locations */
        .a2-loc-list { display: flex; flex-direction: column; gap: var(--sb-space-sm); padding: var(--sb-space-xs) 0; }
        .a2-loc-row {
            display: grid;
            grid-template-columns: 1fr 120px auto;
            gap: var(--sb-space-sm);
            align-items: center;
        }
        .a2-loc-name { font-size: var(--sb-text-sm); font-weight: 600; }
        .a2-loc-meta { font-size: var(--sb-text-xs); color: var(--sb-text-muted); }
        .a2-loc-bar-wrap {
            height: 6px;
            background: var(--sb-border);
            border-radius: var(--sb-radius-pill);
            overflow: hidden;
        }
        .a2-loc-bar {
            height: 100%;
            border-radius: var(--sb-radius-pill);
            transition: width 0.6s ease;
        }
        .a2-loc-total { font-weight: 700; font-size: var(--sb-text-sm); color: var(--sb-ice); min-width: 70px; text-align: right; }

        /* Financial — invoices summary */
        .a2-invoice-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--sb-space-md);
            padding: var(--sb-space-md) 0;
            text-align: center;
        }
        .a2-invoice-value { font-size: var(--sb-text-xl); font-weight: 800; line-height: 1.1; }
        .a2-invoice-label { font-size: var(--sb-text-xs); color: var(--sb-text-muted); margin-top: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

        /* Bar chart (earnings trend, seasonal) */
        .dash-bar-chart {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-end;
            gap: var(--sb-space-sm);
            height: 160px;
            padding-top: var(--sb-space-md);
        }
        .dash-bar-col {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-end;
            gap: 4px;
            height: 100%;
        }
        .dash-bar {
            width: 100%;
            min-height: 4px;
            background: var(--sb-gradient);
            transition: height 0.6s ease;
            border-radius: var(--sb-radius-sm) var(--sb-radius-sm) 0 0;
        }
        body.light-mode .dash-bar {
            background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
        }
        .dash-bar-label {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            flex-shrink: 0;
        }
        .dash-bar-value {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-secondary);
            font-weight: 600;
            flex-shrink: 0;
        }

        /* Funnel */
        .dash-funnel {
            display: flex;
            flex-direction: column;
            gap: 0;
            padding-top: var(--sb-space-md);
        }
        .dash-funnel-step {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-md);
            padding: var(--sb-space-xs) 0;
        }
        .dash-funnel-label {
            width: 80px;
            font-size: var(--sb-text-xs);
            text-align: right;
            flex-shrink: 0;
            font-weight: 600;
        }
        .dash-funnel-bar-bg {
            flex: 1;
            height: 32px;
            background: rgba(var(--sb-white-rgb),0.05);
        }
        body.light-mode .dash-funnel-bar-bg {
            background: rgba(15,23,42,0.04);
            position: relative;
            overflow: hidden;
            border-radius: var(--sb-radius-sm);
        }
        .dash-funnel-bar-fill {
            height: 100%;
            transition: width 0.8s ease;
            border-radius: var(--sb-radius-sm);
        }
        .dash-funnel-count {
            width: 40px;
            font-size: var(--sb-text-sm);
            font-weight: 700;
            flex-shrink: 0;
        }
        .dash-funnel-conversion {
            display: flex;
            align-items: center;
            padding: 2px 0 2px 92px;
        }
        .dash-funnel-conversion-badge {
            font-size: 10px;
            color: var(--sb-text-muted);
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 4px;
        }
        .dash-funnel-conversion-badge svg { width: 10px; height: 10px; opacity: 0.4; }

        /* Rating breakdown */
        .dash-rating-row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-md);
            margin-bottom: var(--sb-space-sm);
        }
        .dash-rating-label {
            width: 120px;
            font-size: var(--sb-text-xs);
            color: var(--sb-text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .dash-rating-bar-bg {
            flex: 1;
            height: 8px;
            background: rgba(var(--sb-white-rgb),0.05);
            border-radius: 4px;
        }
        .dash-rating-bar-fill {
            height: 100%;
            background: var(--sb-gradient-h);
            transition: width 0.6s ease;
            border-radius: 4px;
        }
        .dash-rating-score {
            width: 32px;
            text-align: right;
            font-size: var(--sb-text-sm);
            font-weight: 700;
            color: var(--sb-text);
        }

        /* Progress ring (profile completeness, availability) */
        .dash-progress-ring {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: var(--sb-space-lg);
            padding-top: var(--sb-space-md);
        }
        .dash-progress-ring svg {
            width: 80px;
            height: 80px;
            transform: rotate(-90deg);
            flex-shrink: 0;
        }
        .dash-ring-bg {
            fill: none;
            stroke: rgba(var(--sb-white-rgb),0.05);
            stroke-width: 6;
        }
        .dash-ring-fill {
            fill: none;
            stroke: url(#sb-ring-gradient);
            stroke-width: 6;
            stroke-linecap: square;
            transition: stroke-dashoffset 1s ease;
        }
        .dash-progress-pct {
            font-size: var(--sb-text-3xl);
            font-weight: 700;
            background: var(--sb-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            width: fit-content;
            margin: 0 auto;
        }
        .dash-progress-items {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            margin-top: var(--sb-space-xs);
            text-align: center;
        }

        /* Review items */
        .dash-review-item {
            padding: var(--sb-space-md) 0;
            border-bottom: 1px solid var(--sb-border);
        }
        .dash-review-item:last-child { border-bottom: none; }
        .dash-review-header {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            margin-bottom: var(--sb-space-xs);
        }
        .dash-review-meta {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
        }
        .dash-review-content {
            font-size: var(--sb-text-sm);
            color: var(--sb-text-secondary);
            margin-top: var(--sb-space-xs);
        }

        /* Pending actions alerts */
        .dash-alerts {
            margin-bottom: var(--sb-space-xl);
        }
        .dash-alert-row {
            background: transparent !important;
            border: none !important;
            border-bottom: 1px solid rgba(var(--sb-text-secondary-rgb),0.08) !important;
            padding: var(--sb-space-sm) var(--sb-space-sm);
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-sm);
            cursor: pointer;
            transition: background var(--sb-transition);
            animation: none !important;
            font-size: var(--sb-text-sm);
        }
        .dash-alert-row:last-child { border-bottom: none !important; }
        .dash-alert-row:hover { background: rgba(var(--sb-ice-rgb),0.04) !important; }
        .dash-alert-icon { color: var(--sb-ice); flex-shrink: 0; }
        .dash-alert-text { font-size: var(--sb-text-sm); flex: 1; }
        .dash-alert-badge {
            background: rgba(var(--sb-ice-rgb),0.15);
            color: var(--sb-ice);
            font-size: var(--sb-text-xs);
            font-weight: 700;
            padding: 2px 8px;
            border-radius: var(--sb-radius-sm);
        }

        /* Notifications collapsible card */
        .dash-notifications-card { margin-bottom: var(--sb-space-lg); }
        .dash-notifications-toggle {
            cursor: pointer;
            user-select: none;
        }
        .dash-notifications-count {
            display: inline;
            margin-left: 6px;
            font-size: var(--sb-text-xl);
            font-weight: 700;
            background: var(--sb-gradient-text);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .dash-notifications-chevron {
            transition: transform 0.3s ease;
            color: var(--sb-text-muted);
            flex-shrink: 0;
        }
        .dash-notifications-card.collapsed .dash-notifications-chevron {
            transform: rotate(180deg);
        }
        .dash-notifications-body {
            transition: max-height 0.3s ease, opacity 0.3s ease;
            max-height: 500px;
            opacity: 1;
            overflow: hidden;
        }
        .dash-notifications-card.collapsed .dash-notifications-body {
            max-height: 0;
            opacity: 0;
        }
        .dash-notifications-card .dash-alerts { margin-bottom: 0; }
        .dash-notifications-card .dash-alert-row:last-child { margin-bottom: 0; }
        @media (max-width:480px) {
            .dash-alert-row { padding:var(--sb-space-xs) var(--sb-space-sm); gap:var(--sb-space-xs); }
            .dash-alert-badge { padding:1px 6px; font-size:9px; }
            .dash-notifications-count { padding:2px 6px; font-size:9px; }
        }

        /* ── For You (AI Matches) ──────────────────────────── */
        .foryou-cache-label {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
        }
        .foryou-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
            gap: var(--sb-space-lg);
        }
        .foryou-card {
            background: rgba(15,21,37,0.70);
            border: none;
            border-radius: var(--sb-radius);
            padding: var(--sb-space-lg);
            transition: transform 0.2s, box-shadow 0.2s;
            cursor: pointer;
            position: relative;
            isolation: isolate;
        }
        .foryou-card::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: inherit;
            padding: 1px;
            background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
            z-index: -1;
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
        }
        .foryou-card:hover {
            transform: translateY(-2px);
            background: var(--sb-card-fill-hover);
            box-shadow: 0 0 12px rgba(var(--sb-ice-rgb), 0.25), 0 4px 12px rgba(var(--sb-violet-rgb),0.1);
        }
        body.light-mode .foryou-card { background: rgba(255,255,255,0.85); }
        .foryou-card-top {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-md);
            margin-bottom: var(--sb-space-md);
        }
        .foryou-card-info { flex: 1; min-width: 0; }
        .foryou-card-name {
            font-weight: 700;
            font-size: var(--sb-text-base);
            color: var(--sb-text);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .foryou-card-name .sb-verified-badge { margin-left: 4px; }
        .foryou-card-meta {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            margin-top: 2px;
        }
        .foryou-compat {
            width: 52px;
            height: 52px;
            border-radius: var(--sb-radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: var(--sb-text-sm);
            flex-shrink: 0;
            position: relative;
        }
        .foryou-compat::before {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: var(--sb-radius-full);
            padding: 2px;
            background: var(--sb-gradient);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask-composite: exclude;
        }
        .foryou-compat-high { color: var(--sb-ice); }
        .foryou-compat-mid  { color: var(--sb-violet); }
        .foryou-compat-low  { color: var(--sb-text-muted); }
        .foryou-card-reason {
            font-style: italic;
            font-size: var(--sb-text-sm);
            color: var(--sb-text-secondary);
            margin-bottom: var(--sb-space-md);
            line-height: 1.5;
        }
        .foryou-card-genres {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            margin-bottom: var(--sb-space-md);
        }
        .foryou-card-genres .sb-badge {
            font-size: 10px;
            padding: 2px 8px;
        }
        .foryou-card-footer {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            padding-top: var(--sb-space-sm);
            border-top: 1px solid var(--sb-border);
        }
        .foryou-card-fee {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
        }
        body.light-mode .foryou-card:hover {
            box-shadow: 0 8px 24px rgba(15,23,42,0.1);
        }

        /* Dashboard CTA banner */
        /* Animatable conic-gradient angle for the CTA border shimmer.
           Mirrors the --welcome-shimmer @property used by the onboarding
           card so the two cards get the same rotating bright peak on
           their borders. */
        @property --cta-shimmer {
            syntax: '<angle>';
            initial-value: 0deg;
            inherits: false;
        }
        .dash-cta {
            background: var(--sb-bg-card);
            border: none;
            border-radius: var(--sb-radius);
            padding: var(--sb-space-lg) var(--sb-space-xl);
            -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
            position: relative;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-lg);
            margin: 0 0 var(--sb-space-lg) 0;
            animation: sb-card-breathe 4s ease-in-out infinite;
            transition: background var(--sb-transition), box-shadow var(--sb-transition), transform var(--sb-transition);
            cursor: pointer;
        }
        .dash-cta:hover {
            background: var(--sb-bg-card-hover);
            box-shadow: 0 0 8px rgba(var(--sb-ice-rgb), 0.3), 0 0 16px rgba(var(--sb-sky-rgb), 0.15);
            transform: translateY(-1px);
        }
        .dash-cta::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: inherit;
            padding: 1px;
            /* Layered: rotating bright arc on top of the static brand
               gradient. When the arc is transparent the brand gradient
               shows through; when it sweeps past it overlays a white
               shine that races around the border like the welcome banner. */
            background:
                conic-gradient(from var(--cta-shimmer), transparent 0%, transparent 70%, rgba(var(--sb-white-rgb),0.6) 78%, white 80%, rgba(var(--sb-white-rgb),0.6) 82%, transparent 90%),
                var(--sb-gradient);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask-composite: exclude;
            pointer-events: none;
            animation: cta-shimmer 3s linear infinite;
        }
        @keyframes cta-shimmer {
            to { --cta-shimmer: 360deg; }
        }
        /* Children sit above the ::before so the shimmer reads as a
           border halo and never washes over the icon/text content. */
        .dash-cta > * { position: relative; z-index: 2; }
        @media (prefers-reduced-motion: reduce) {
            .dash-cta::before { animation: none; }
        }
        .dash-cta-icon {
            font-size: 2rem;
            color: var(--sb-ice);
            flex-shrink: 0;
        }
        .dash-cta-icon svg { width: 32px; height: 32px; }
        .dash-cta-body { flex: 1; }
        .dash-cta-title {
            font-size: var(--sb-text-lg);
            font-weight: 700;
            color: var(--sb-text);
            margin-bottom: 4px;
        }
        .dash-cta-subtitle {
            font-size: var(--sb-text-sm);
            color: var(--sb-text-muted);
        }
        @keyframes sb-card-breathe {
            0%, 100% { box-shadow: 0 0 8px rgba(var(--sb-ice-rgb),0.1), 0 0 16px rgba(var(--sb-sky-rgb),0.05), 0 0 24px rgba(var(--sb-violet-rgb),0.03); }
            50% { box-shadow: 0 0 12px rgba(var(--sb-ice-rgb),0.2), 0 0 24px rgba(var(--sb-sky-rgb),0.12), 0 0 36px rgba(var(--sb-violet-rgb),0.06); }
        }

        /* ── Founder Welcome Modal ──────────────────────── */
        #founder-welcome-modal.sb-modal-overlay { z-index:10000; padding:16px; }
        #founder-welcome-modal .sb-modal { max-width:560px; max-height:85vh; overflow:visible; display:flex; flex-direction:column; }
        #founder-welcome-modal .fw-scroll { overflow-y:auto; scrollbar-width:none; -ms-overflow-style:none; flex:1; min-height:0; }
        #founder-welcome-modal .fw-scroll::-webkit-scrollbar { display:none; }
        #founder-welcome-modal .sb-modal h2 { font-size:1.3rem; margin:0 0 20px; background:var(--sb-gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
        #founder-welcome-modal .sb-modal h2 .fw-brand { -webkit-text-fill-color:var(--sb-text); background:none; }
        #founder-welcome-modal .sb-modal h2 .fw-brand .sb-x { -webkit-text-fill-color:var(--sb-ice); }
        #founder-welcome-modal .sb-modal h2 .fw-brand:hover { filter:brightness(1.3) drop-shadow(0 0 6px rgba(var(--sb-ice-rgb),0.5)); }
        #founder-welcome-modal .sb-modal p { color:var(--sb-text-secondary); font-size:var(--sb-text-sm); line-height:1.7; margin:0 0 14px; }
        #founder-welcome-modal .sb-modal p:last-of-type { margin-bottom:24px; }
        #founder-welcome-modal .sb-modal .fw-close { display:flex; justify-content:flex-end; margin-top:8px; }

        /* Welcome banner (new users) */
        @property --welcome-shimmer {
            syntax: '<angle>';
            initial-value: 0deg;
            inherits: false;
        }
        .dash-welcome-inner {
            background:
                linear-gradient(var(--sb-card-fill), var(--sb-card-fill)) padding-box,
                var(--sb-gradient) border-box;
            border: 1px solid transparent;
            border-radius: var(--sb-radius);
            padding: var(--sb-space-lg) var(--sb-space-xl);
            display: flex;
            flex-wrap: wrap;
            align-items: stretch;
            gap: var(--sb-space-xl);
            /* Match the news ticker's margin-bottom so the gap above
               "My Activity" is identical for new users (welcome banner
               present) and existing users (welcome banner hidden).
               Without this, new users see "My Activity" sitting tight
               against the welcome banner because of margin-bottom: 0. */
            margin-bottom: var(--sb-space-lg);
            position: relative;
            animation: sb-card-breathe 4s ease-in-out infinite;
        }
        .dash-welcome-inner::before {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: inherit;
            padding: 2px;
            background: conic-gradient(from var(--welcome-shimmer), transparent 0%, transparent 70%, rgba(var(--sb-white-rgb),0.6) 78%, white 80%, rgba(var(--sb-white-rgb),0.6) 82%, transparent 90%);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask-composite: exclude;
            animation: welcome-shimmer 3s linear infinite;
            z-index: 1;
            pointer-events: none;
        }
        .dash-welcome-inner > * { position: relative; z-index: 2; }
        @keyframes welcome-shimmer {
            to { --welcome-shimmer: 360deg; }
        }
        .dash-welcome-ring {
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        .dash-welcome-ring svg { width: 110px; height: 110px; }
        .dash-welcome-ring-bg { stroke: var(--sb-border); }
        .dash-welcome-ring-fill {
            stroke: url(#welcome-ring-grad);
        }
        .dash-welcome-ring-text { font-size: 15px; font-weight: 700; fill: var(--sb-text); }
        .dash-welcome-ring-label {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .dash-welcome-body {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-width: 0;
        }
        .dash-welcome-header {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            justify-content: space-between;
            gap: var(--sb-space-md);
            margin-bottom: 2px;
        }
        .dash-welcome-title {
            font-size: var(--sb-text-lg);
            font-weight: 700;
            color: var(--sb-text);
        }
        .dash-welcome-dismiss {
            background: none;
            border: none;
            color: var(--sb-text-muted);
            cursor: pointer;
            padding: 2px;
            flex-shrink: 0;
        }
        .dash-welcome-dismiss:hover { color: var(--sb-text); }
        .dash-welcome-dismiss .sb-icon svg { width: 16px; height: 16px; }
        .dash-welcome-sub {
            font-size: var(--sb-text-sm);
            color: var(--sb-text-muted);
            margin-bottom: var(--sb-space-md);
        }
        /* ── Staged progress bar ──────────────────── */
        .dash-welcome-stages {
            margin-bottom: var(--sb-space-md);
        }
        .dash-welcome-stages-labels {
            display: flex;
            margin-bottom: 6px;
        }
        .dash-welcome-stage-label {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 0.62rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            cursor: pointer;
            transition: color 0.2s;
            padding: 2px 0;
            /* Lock to a single line so "Go Live" can never push the row
               to two lines and create uneven column heights on mobile. */
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            min-width: 0;
        }
        .dash-welcome-stage-label:hover { color: var(--sb-ice) !important; }
        .dash-welcome-stage-label .stage-tick {
            display: inline-flex;
            width: 13px; height: 13px;
            border-radius: 50%;
            align-items: center; justify-content: center;
            flex-shrink: 0;
        }
        .dash-welcome-stage-label .stage-tick svg { width: 8px; height: 8px; stroke: #fff; stroke-width: 3; fill: none; }
        .dash-welcome-bar {
            display: flex;
            gap: 2px;
            height: 8px;
            border-radius: 4px;
            overflow: hidden;
            background: rgba(148,163,184,0.06);
            margin-bottom: 6px;
        }
        .dash-welcome-bar-seg {
            position: relative;
            overflow: hidden;
            transition: flex 0.6s ease;
        }
        .dash-welcome-bar-seg-fill {
            position: absolute;
            inset: 0;
            border-radius: inherit;
            transform-origin: left;
            transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }
        /* Segment colour zones */
        .dash-welcome-bar-seg[data-stage="0"] .dash-welcome-bar-seg-fill { background: linear-gradient(90deg, #38BDF8, #22B8E6); }
        .dash-welcome-bar-seg[data-stage="1"] .dash-welcome-bar-seg-fill { background: linear-gradient(90deg, #22B8E6, #4B7FF5); }
        .dash-welcome-bar-seg[data-stage="2"] .dash-welcome-bar-seg-fill { background: linear-gradient(90deg, #4B7FF5, #5A72F3); }
        .dash-welcome-bar-seg[data-stage="3"] .dash-welcome-bar-seg-fill { background: linear-gradient(90deg, #5A72F3, #6366F1); }
        /* Glow on filled segments */
        .dash-welcome-bar-seg--filled .dash-welcome-bar-seg-fill {
            box-shadow: 0 0 6px rgba(56,189,248,0.3);
        }
        /* Pulse on current (in-progress) segment edge */
        .dash-welcome-bar-seg--current .dash-welcome-bar-seg-fill::after {
            content: '';
            position: absolute;
            top: 0; bottom: 0; right: -1px;
            width: 6px;
            background: rgba(255,255,255,0.5);
            border-radius: 0 3px 3px 0;
            animation: stage-edge-pulse 2s ease-in-out infinite;
        }
        @keyframes stage-edge-pulse {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 0.8; }
        }
        .dash-welcome-stages-counts {
            display: flex;
        }
        .dash-welcome-stage-count {
            font-size: 0.58rem;
            font-weight: 600;
            letter-spacing: 0.03em;
            transition: color 0.2s;
        }
        /* Stage detail — items aligned under their stage */
        .dash-welcome-expand {
            display: flex;
            align-items: center;
            gap: 4px;
            margin-top: 6px;
            cursor: pointer;
            font-size: 0.62rem;
            font-weight: 600;
            color: var(--sb-text-muted);
            transition: color 0.2s;
            user-select: none;
        }
        .dash-welcome-expand:hover { color: var(--sb-ice); }
        .dash-welcome-expand svg {
            width: 12px; height: 12px;
            transition: transform 0.25s ease;
        }
        .dash-welcome-expand.open svg { transform: rotate(180deg); }
        .dash-welcome-detail {
            display: flex;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
            padding: 0;
        }
        .dash-welcome-detail.open {
            max-height: 200px;
            padding: 8px 0 2px;
        }
        .dash-welcome-detail-col {
            display: flex;
            flex-direction: column;
            gap: 4px;
            /* Allow children to shrink so the truncate-with-ellipsis on
               .dash-welcome-detail-item kicks in when labels are wider
               than the column (e.g. "Display name" / "Specialities"
               in a 4-column mobile layout). */
            min-width: 0;
        }
        .dash-welcome-detail-item {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.65rem;
            font-weight: 600;
            padding: 3px 8px 3px 5px;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.15s;
            border: 1px solid transparent;
            /* Single-line pills with ellipsis. Without this, longer
               labels like "Display name" wrap to two lines on mobile,
               making one column taller than the next and the whole
               welcome card looks ragged. min-width:0 lets text-overflow
               actually trigger inside a flex parent. */
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            min-width: 0;
            max-width: 100%;
            height: 24px;
            box-sizing: border-box;
        }
        .dash-welcome-detail-item--done {
            color: var(--stage-color, var(--sb-ice));
            background: linear-gradient(var(--sb-card-fill, #0E1421), var(--sb-card-fill, #0E1421)) padding-box,
                        var(--stage-grad, linear-gradient(90deg, #38BDF8, #0EA5E9)) border-box;
            border: 1px solid transparent;
        }
        .dash-welcome-detail-item--todo {
            color: var(--sb-text-muted);
            border-color: rgba(148,163,184,0.12);
        }
        .dash-welcome-detail-item:hover {
            color: var(--stage-color, var(--sb-ice));
            background: linear-gradient(var(--sb-card-fill, #0E1421), var(--sb-card-fill, #0E1421)) padding-box,
                        var(--stage-grad, linear-gradient(90deg, #38BDF8, #0EA5E9)) border-box;
            border: 1px solid transparent;
        }
        .dash-welcome-detail-check {
            width: 14px; height: 14px;
            border-radius: 3px;
            display: flex; align-items: center; justify-content: center;
            flex-shrink: 0;
        }
        .dash-welcome-detail-check svg { width: 9px; height: 9px; stroke-width: 3; }
        .dash-welcome-detail-item--done .dash-welcome-detail-check {
            background: none;
            color: var(--stage-color, var(--sb-ice));
        }
        .dash-welcome-detail-item--todo .dash-welcome-detail-check {
            border: 1.5px solid rgba(148,163,184,0.2);
            color: rgba(148,163,184,0.3);
        }
        .dash-welcome-detail-item--todo:hover .dash-welcome-detail-check {
            border-color: var(--stage-border, rgba(56,189,248,0.4));
        }
        /* Stage colour zones — ice → sky → blue → violet brand gradient */
        .dash-welcome-detail-col[data-stage="0"] { --stage-color: #38BDF8; --stage-border: rgba(56,189,248,0.3); --stage-bg: rgba(56,189,248,0.06); --stage-grad: linear-gradient(90deg, #38BDF8, #22B8E6); }
        .dash-welcome-detail-col[data-stage="1"] { --stage-color: #22B8E6; --stage-border: rgba(34,184,230,0.3); --stage-bg: rgba(34,184,230,0.06); --stage-grad: linear-gradient(90deg, #22B8E6, #4B7FF5); }
        .dash-welcome-detail-col[data-stage="2"] { --stage-color: #4B7FF5; --stage-border: rgba(75,127,245,0.3); --stage-bg: rgba(75,127,245,0.06); --stage-grad: linear-gradient(90deg, #4B7FF5, #5A72F3); }
        .dash-welcome-detail-col[data-stage="3"] { --stage-color: #6366F1; --stage-border: rgba(99,102,241,0.3); --stage-bg: rgba(99,102,241,0.06); --stage-grad: linear-gradient(90deg, #5A72F3, #6366F1); }
        .dash-welcome-actions {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-sm);
            width: 100%;
        }
        .dash-stats-hint {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            text-align: center;
            margin-top: calc(var(--sb-space-sm) * -1);
            margin-bottom: var(--sb-space-md);
        }
        .dash-stats-hint a { color: var(--sb-ice); text-decoration: none; display: inline-flex; align-items: center; gap: 3px; vertical-align: middle; }
        .dash-stats-hint a:hover { text-decoration: underline; }
        @media (max-width: 768px) {
            .dash-welcome-inner {
                flex-direction: column;
                align-items: center;
                text-align: center;
                padding: var(--sb-space-md);
                gap: var(--sb-space-md);
                margin-bottom: var(--sb-space-sm);
            }
            .dash-welcome-ring svg { width: 80px; height: 80px; }
            .dash-welcome-title { font-size: var(--sb-text-base); }
            .dash-welcome-sub { font-size: var(--sb-text-xs); margin-bottom: var(--sb-space-sm); }
            .dash-welcome-stages { margin-bottom: var(--sb-space-sm); }
            .dash-welcome-stage-label { font-size: 0.55rem; flex: 1 !important; }
            .dash-welcome-bar-seg { flex: 1 !important; }
            .dash-welcome-stage-count { flex: 1 !important; }
            .dash-welcome-detail-col { flex: 1 !important; }
            .dash-welcome-item { font-size: var(--sb-text-xs); }
            .dash-welcome-checklist { justify-items: center; }
            .dash-welcome-header { justify-content: center; }
            .dash-welcome-ring { order: 1; }
            .dash-welcome-actions { justify-content: center; order: 2; width: 100%; }
        }

        /* Repeat customers */
        .dash-repeat-item {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-md);
            padding: var(--sb-space-sm) 0;
            border-bottom: 1px solid var(--sb-border);
        }
        .dash-repeat-item:last-child { border-bottom: none; }
        .dash-repeat-count {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
        }

        /* Agent roster performance table */
        .dash-roster-header {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
            gap: var(--sb-space-sm);
            padding: var(--sb-space-sm) var(--sb-space-md);
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            border-bottom: 1px solid var(--sb-border);
        }
        .dash-roster-row {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
            gap: var(--sb-space-sm);
            padding: var(--sb-space-sm) var(--sb-space-md);
            font-size: var(--sb-text-sm);
            align-items: center;
            border-bottom: 1px solid var(--sb-border);
        }
        .dash-roster-row:last-child { border-bottom: none; }
        .dash-roster-row .dash-roster-artist {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-sm);
            font-weight: 600;
        }

        /* Venue gig performance list */
        .dash-gig-perf-item {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            padding: var(--sb-space-sm) 0;
            border-bottom: 1px solid var(--sb-border);
            font-size: var(--sb-text-sm);
        }
        .dash-gig-perf-item:last-child { border-bottom: none; }

        /* Promoter budget bar */
        .dash-budget-bar-bg {
            height: 12px;
            background: rgba(var(--sb-white-rgb),0.05);
            flex: 1;
        }
        .dash-budget-bar-fill {
            height: 100%;
            background: var(--sb-gradient-h);
            transition: width 0.6s ease;
        }

        /* ── News Ticker (dashboard overview) — Option 1: hairline frame ─── */
        .dash-news-wrap {
            position: relative;
            display: flex;
            align-items: center;
            gap: var(--sb-space-lg);
            margin-bottom: var(--sb-space-lg);
            padding: var(--sb-space-md) 0;
        }
        /* Dashboard page header: kill the default 32px bottom margin AND
           the 24px bottom padding so the news ticker sits tight under the
           subtitle. Without this, the inherited .sb-page-header spacing
           leaves a 56px gap above the ticker that doesn't exist below it. */
        .sb-page-header.dash-page-header {
            margin-bottom: 0 !important;
            padding-bottom: var(--sb-space-sm) !important;
        }
        .dash-tab-content > .sb-waveform-sep:first-child {
            margin-top: 0;
            margin-bottom: var(--sb-space-md);
        }
        .dash-news-wrap::before,
        .dash-news-wrap::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg,
                transparent 0%,
                rgba(56,189,248,0.5) 20%,
                rgba(99,102,241,0.7) 50%,
                rgba(56,189,248,0.5) 80%,
                transparent 100%);
            pointer-events: none;
        }
        .dash-news-wrap::before { top: 0; }
        .dash-news-wrap::after  { bottom: 0; }
        .dash-news-label {
            flex-shrink: 0;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            background: var(--sb-gradient-text);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            padding-left: var(--sb-space-xs);
        }
        .dash-news-track-wrap {
            flex: 1;
            min-width: 0;
            overflow: hidden;
            mask-image: linear-gradient(to right, transparent 0, #000 var(--sb-space-md), #000 calc(100% - var(--sb-space-md)), transparent 100%);
            -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--sb-space-md), #000 calc(100% - var(--sb-space-md)), transparent 100%);
        }
        .dash-news-track {
            display: inline-flex;
            align-items: center;
            /* No `gap` here — gap only inserts space BETWEEN siblings of
               the same flex container, which means the boundary between
               the end of block 1 and the start of block 2 (the duplicated
               items) only gets ONE gap instead of two halves. The animation
               loops at -50% of the track width, but the math is off by
               exactly half a gap per cycle, producing a visible jump.
               Using margin-right on each item instead means every item
               carries its own trailing space, so the duplication math
               lines up exactly and the loop is seamless. */
            white-space: nowrap;
            animation: dash-news-scroll 70s linear infinite;
            will-change: transform;
        }
        .dash-news-wrap:hover .dash-news-track,
        .dash-news-wrap:focus-within .dash-news-track {
            animation-play-state: paused;
        }
        @keyframes dash-news-scroll {
            from { transform: translateX(0); }
            to { transform: translateX(-50%); }
        }
        .dash-news-item {
            /* Rendered as either <a> (most items) or <button> (PWA tile —
               opens the install modal instead of navigating). Reset
               default button chrome so both elements look identical. */
            display: inline-flex;
            align-items: baseline;
            gap: 12px;
            margin-right: 72px;          /* see .dash-news-track comment */
            text-decoration: none;
            border: none;
            background: none;
            padding: 0;
            font: inherit;
            color: inherit;
            cursor: pointer;
            text-align: left;
            /* Follow-spot: per-item focus value (0 = far from centre,
               1 = at centre) updated by _startNewsItemFocusLoop on every
               frame. Drives scale + opacity so the centred item naturally
               pops without any motion-based shimmer. No CSS transition —
               the value updates per RAF frame, transitions would lag the
               smooth interpolation. */
            --focus: 0;
            /* Per-item brand accent (ice / sky / violet) — set inline by
               renderNewsTicker. Used by the dot fill + glow so the marquee
               feels like a premium magazine table of contents instead of
               a uniform list. Defaults to ice for safety. */
            --news-accent: var(--sb-ice);
            --news-accent-rgb: var(--sb-ice-rgb);
            transform: scale(calc(0.92 + var(--focus) * 0.08));
            transform-origin: center;
            opacity: calc(0.35 + var(--focus) * 0.65);
        }
        /* Hover override: full brightness + slight pop, regardless of
           where the cursor lands in the (paused) marquee. */
        .dash-news-item:hover { opacity: 1; }
        .dash-news-item-dot {
            position: relative;
            top: -1px;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--news-accent);
            /* Glow scales with focus — distant items have a soft baseline
               halo, centred items have a more prominent halo in the per-
               item accent colour. Same baseline as before; the new bit is
               the calc() that grows the blur radius and the rgba alpha as
               --focus approaches 1. */
            box-shadow:
                0 0 calc(10px + var(--focus) * 12px) rgba(var(--news-accent-rgb), calc(0.55 + var(--focus) * 0.35)),
                0 0 calc(18px + var(--focus) * 14px) rgba(var(--news-accent-rgb), calc(0.25 + var(--focus) * 0.25));
            transform: scale(calc(1 + var(--focus) * 0.35));
            flex-shrink: 0;
            align-self: center;
        }
        .dash-news-item-title {
            font-size: var(--sb-text-sm);
            font-weight: 600;
            color: var(--sb-text);
            letter-spacing: 0.01em;
        }
        .dash-news-item-desc {
            font-size: var(--sb-text-sm);
            font-weight: 400;
            color: var(--sb-text-muted);
            letter-spacing: 0.01em;
        }
        .dash-news-item-desc::before {
            content: '—';
            margin-right: 10px;
            color: var(--sb-border);
        }
        @media (prefers-reduced-motion: reduce) {
            /* Kill the marquee scroll AND freeze each item at full focus
               so reduce-motion users still see the items at maximum
               clarity (rather than dimmed-by-default at the edges). */
            .dash-news-track { animation: none; }
            .dash-news-item { --focus: 1; }
        }
        @media (max-width: 768px) {
            .dash-news-wrap { margin-bottom: var(--sb-space-md); padding: var(--sb-space-sm) 0; gap: var(--sb-space-sm); }
            .dash-news-label { font-size: 10px; letter-spacing: 0.14em; }
            .dash-news-item { margin-right: 48px; }
            .dash-news-item-title { font-size: var(--sb-text-xs); }
            .dash-news-item-desc { display: none; }
        }

        /* ── My Network Section ─────────────────────────── */
        .dash-network-title {
            font-size: var(--sb-text-lg);
            font-weight: 700;
            margin-bottom: var(--sb-space-md);
            background: var(--sb-gradient-text);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            width: fit-content;
        }
        .dash-network-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: var(--sb-space-md);
            margin-bottom: var(--sb-space-lg);
        }
        .net-card-avatars { display:flex; margin-top:var(--sb-space-sm); align-items:center; }
        .net-card-avatar-wrap { position:relative; margin-left:-4px; }
        .net-card-avatar-wrap:first-child { margin-left:0; }
        .net-card-avatar-wrap .sb-avatar-xs { width:28px; height:28px; border:2px solid var(--sb-bg-card); cursor:pointer; transition: transform 0.15s ease; }
        .net-card-avatar-wrap:hover { z-index:2; }
        .net-card-avatar-wrap:hover .sb-avatar-xs { transform:translateY(-3px) scale(1.15); }
        .net-card-avatar-wrap:hover .net-card-tip { opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
        .net-card-tip {
            position:absolute; bottom:calc(100% + 6px); left:50%; transform:translateX(-50%) translateY(4px);
            background:var(--sb-bg-surface); border:1px solid var(--sb-border); border-radius:var(--sb-radius-sm);
            padding:3px 8px; font-size:10px; color:var(--sb-text); white-space:nowrap;
            opacity:0; visibility:hidden; transition:all 0.15s ease; pointer-events:none; z-index:10;
        }
        .net-card-more {
            display:inline-flex; align-items:center; margin-left:var(--sb-space-sm);
            padding:2px 8px; font-size:10px; font-weight:600;
            border-radius:var(--sb-radius-sm); letter-spacing:0.02em;
            background:linear-gradient(135deg, rgba(56,189,248,0.15), rgba(99,102,241,0.15));
            color:var(--sb-ice); border:1px solid rgba(56,189,248,0.2);
            cursor:pointer; transition:all 0.15s ease;
        }
        .net-card-more:hover {
            background:linear-gradient(135deg, rgba(56,189,248,0.25), rgba(99,102,241,0.25));
            border-color:var(--sb-ice); color:#fff;
        }

        /* ── Network Modal Rows ──────────────────────────── */
        .net-row {
            display: flex; align-items: center; gap: var(--sb-space-md);
            padding: var(--sb-space-sm) var(--sb-space-md);
            border-radius: var(--sb-radius-sm);
            border: 1px solid rgba(var(--sb-ice-rgb),0.25);
            background: rgba(var(--sb-ice-rgb),0.04);
            cursor: pointer; transition: all var(--sb-transition);
        }
        .net-row:hover { border-color: var(--sb-ice); background: rgba(56,189,248,0.04); }
        .net-row-info { flex: 1; min-width: 0; }
        .net-row-name { font-weight: 600; font-size: var(--sb-text-sm); }
        .net-row-meta { display: flex; align-items: center; gap: var(--sb-space-xs); margin-top: 2px; }

        @media (max-width: 768px) {
            .net-row { gap: var(--sb-space-sm); padding: 6px var(--sb-space-sm); }
            .net-row .sb-avatar-sm { width: 28px; height: 28px; }
            .net-row-info { display: flex; align-items: center; gap: var(--sb-space-xs); }
            .net-row-name { font-size: var(--sb-text-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
            .net-row-meta { margin-top: 0; margin-left: auto; flex-shrink: 0; }
            .net-row-meta .sb-badge { font-size: 9px; padding: 1px 6px; }
            .net-row-meta .text-xs { display: none; }
            #network-modal-body { max-height: 50vh; }
        }

        @media (max-width: 1024px) {
            .dash-network-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            /* Network cards — hide avatars, compact, match stat cards */
            .dash-network-grid { gap: var(--sb-space-sm); margin-bottom: var(--sb-space-md); }
            .net-card-avatars { display: none; }
            .dash-network-title { font-size: var(--sb-text-base); margin-bottom: var(--sb-space-sm); }

            /* Page header — tighter spacing on mobile */
            #dashboard .sb-page-header { margin-bottom: var(--sb-space-md); padding-bottom: var(--sb-space-sm); text-align: center; }
            #dashboard .sb-page-title { justify-content: center; }
            #dashboard .sb-page-subtitle { font-size: var(--sb-text-xs); margin-top: 2px; }

            /* "My Activity" header — add top breathing room to match the
               gap above "My Network" and "Recommended X". My Activity is
               a direct child of #dash-tab-overview, while the other
               featured-row-headers are nested in wrapper divs that get
               their spacing from the previous section's margin-bottom.
               This selector only matches My Activity. */
            #dash-tab-overview > .featured-row-header {
                margin-top: var(--sb-space-md);
            }

            /* Dash rows — tighter vertical rhythm */
            .dash-row { margin-bottom: var(--sb-space-sm); }
            .dash-row-2col, .dash-row-3col {
                grid-template-columns: 1fr;
                gap: var(--sb-space-sm);
                margin-bottom: var(--sb-space-sm);
            }
            .dash-roster-header, .dash-roster-row { grid-template-columns: 2fr 1fr 1fr; }
            .dash-roster-header > :nth-child(4), .dash-roster-header > :nth-child(5),
            .dash-roster-row > :nth-child(4), .dash-roster-row > :nth-child(5) { display: none; }
            #dashboard { overflow-x: hidden; padding-bottom: var(--sb-space-md); }
            .dash-gauges .sb-card-header { text-align: center; justify-content: center; }
            #dash-tab-analytics2 .dash-gauges .sb-card-header { justify-content: center; }

            /* Analytics 2.0 mobile */
            .a2-hero-row { grid-template-columns: repeat(2, 1fr); gap: var(--sb-space-sm); margin-bottom: var(--sb-space-md); }
            .a2-hero-card { padding: var(--sb-space-sm); }
            .a2-hero-value { font-size: var(--sb-text-xl); }
            .a2-hero-label { font-size: 9px; }
            .a2-views-total { font-size: 22px; }
            .a2-tracks-total { font-size: 22px; }
            .a2-spark { height: 80px; }
            .a2-tools-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sb-space-sm); }
            .a2-tool-card { padding: var(--sb-space-sm); }
            .a2-tool-count { font-size: var(--sb-text-lg); }
            .a2-content-row { flex-wrap: wrap; gap: var(--sb-space-md); }
            .a2-content-total-num { font-size: 28px; }
            .dash-gauges .sb-card { text-align: center; }
            .dash-gauges .dash-gauge-body { align-items: center; }
            .a2-fee-row { grid-template-columns: 80px 1fr auto; }
            .a2-fee-avg { display: none; }
            .a2-loc-row { grid-template-columns: 1fr auto; }
            .a2-loc-bar-wrap { display: none; }
            .a2-invoice-row { grid-template-columns: 1fr; gap: var(--sb-space-sm); }

            /* Cards — compact */
            .sb-card { padding: var(--sb-space-md); }
            .sb-card-header { margin-bottom: var(--sb-space-xs); }
            .sb-card-title { font-size: var(--sb-text-sm); margin-bottom: 0; }
            .sb-btn-ghost.sb-btn-sm { font-size: 11px; padding: 4px 8px; }

            /* Charts — compressed */
            .dash-bar-chart { height: 120px; }
            .dash-bar-label { font-size: 10px; }
            .dash-funnel-step { gap: var(--sb-space-sm); padding: 2px 0; }
            .dash-funnel-label { width: 60px; font-size: 10px; }
            .dash-funnel-bar-bg { height: 20px; }
            .dash-funnel-count { font-size: var(--sb-text-xs); width: 32px; }
            .dash-funnel-conversion { padding-left: 72px; }
            .dash-rating-row { gap: var(--sb-space-sm); margin-bottom: var(--sb-space-xs); }
            .dash-rating-label { width: 80px; font-size: 10px; }

            /* Gauge row — keep 3-col, stack content vertically */
            .dash-gauges {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: var(--sb-space-xs) !important;
            }
            .dash-gauges .sb-card { padding: var(--sb-space-sm); text-align: center; }
            .dash-gauges .sb-card-title { font-size: 10px !important; min-height: 2.4em; display: flex; align-items: flex-start; justify-content: center; }
            .dash-gauges .dash-gauge {
                flex-direction: column !important;
                align-items: center !important;
                gap: var(--sb-space-xs) !important;
                padding: var(--sb-space-xs) 0 !important;
            }
            .dash-gauges .dash-gauge-svg {
                width: 90px !important;
                height: 75px !important;
            }
            .dash-gauges .dash-gauge-svg svg {
                width: 90px !important;
                height: 75px !important;
            }
            .dash-gauges .dash-gauge-body {
                text-align: center;
                align-items: center;
            }
            .dash-gauges .dash-gauge-value {
                font-size: var(--sb-text-lg) !important;
            }
            .dash-gauges .dash-gauge-desc,
            .dash-gauges .dash-gauge-detail {
                font-size: 10px !important;
            }

            /* Activity / discovery / reviews — tight */
            .activity-item { padding: var(--sb-space-xs) 0; gap: var(--sb-space-sm); }
            .activity-text { font-size: var(--sb-text-xs); }
            .activity-dot { width: 6px; height: 6px; margin-top: 6px; }
            .dash-disc-row { padding: 6px var(--sb-space-sm); gap: var(--sb-space-sm); }
            .dash-review-item { padding: var(--sb-space-xs) 0; }
            .dash-review-content { font-size: var(--sb-text-xs); }
            .dash-review-header { margin-bottom: 2px; }
            .dash-review-meta { font-size: 10px; }

            /* Upcoming booking rows */
            .upcoming-booking { padding: var(--sb-space-sm); }
            .upcoming-booking-info { gap: var(--sb-space-sm); }

            /* Gigs tab v2 — mobile */
            .gigs-booking-grid,
            .gigs-opp-grid { grid-template-columns: 1fr; }
            .gigs-cal-3col { grid-template-columns: 1fr; }
            .gigs-cal-3col > div:nth-child(n+2) { display: none; }

            /* Notifications v2 — mobile */
            .notif-filters-row { flex-direction: column; align-items: stretch; }
            .notif-type-select { min-width: 0; width: 100%; }
            .notif-icon { min-width: 44px; padding: var(--sb-space-xs); font-size: 16px; }

            /* CTA banner — compact */
            .dash-cta { padding: var(--sb-space-sm) var(--sb-space-md); gap: var(--sb-space-sm); margin: var(--sb-space-sm) 0; }
            .dash-cta-icon svg { width: 24px; height: 24px; }
            .dash-cta-title { font-size: var(--sb-text-sm); }
            .dash-cta-subtitle { font-size: 11px; }

            /* Notifications — compact */
            .dash-notifications-card { margin-bottom: var(--sb-space-sm); }
            .dash-alert-row { padding: var(--sb-space-xs) var(--sb-space-sm); font-size: var(--sb-text-xs); }
            .dash-alert-text { font-size: var(--sb-text-xs); }
        }
        @media (max-width: 480px) {
            .dash-network-grid { grid-template-columns: repeat(2, 1fr); }
            .sb-card { padding: var(--sb-space-sm) var(--sb-space-md); }
            .dash-disc-row { padding: 6px var(--sb-space-sm); gap: 6px; }
            .net-card-label { font-size: 10px; }
            .dash-funnel-label { width: 50px; font-size: 9px; }
            .dash-funnel-bar-bg { height: 16px; }
            .dash-bar-chart { height: 100px; }
        }

        /* ── Profile / Wizard ──────────────────────────────── */
        .wizard-steps {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            margin-bottom: var(--sb-space-xl);
            gap: var(--sb-space-xs);
            overflow-x: auto;
        }
        .wizard-step {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-sm);
            padding: 8px 16px;
            font-size: var(--sb-text-sm);
            font-weight: 500;
            color: var(--sb-text-muted);
            white-space: nowrap;
        }
        .wizard-step.active {
            color: var(--sb-ice);
        }
        .wizard-step.completed {
            color: var(--sb-success);
        }
        .wizard-step-num {
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid var(--sb-border);
            border-radius: var(--sb-radius-full);
            font-size: var(--sb-text-xs);
            font-weight: 700;
        }
        .wizard-step.active .wizard-step-num {
            border-color: var(--sb-ice);
            color: var(--sb-ice);
        }
        .wizard-step.completed .wizard-step-num {
            border-color: var(--sb-success);
            background: var(--sb-success);
            color: #fff;
        }
        .wizard-connector {
            width: 30px;
            height: 2px;
            background: var(--sb-border);
            flex-shrink: 0;
        }
        .wizard-panel {
            display: none;
        }
        .wizard-panel.active {
            display: block;
        }
        .wizard-nav {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            margin-top: var(--sb-space-xl);
            padding-top: var(--sb-space-md);
            border-top: 1px solid var(--sb-border);
        }
        .profile-header {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-start;
            gap: var(--sb-space-xl);
            margin-bottom: var(--sb-space-xl);
        }
        .profile-avatar-wrap {
            position: relative;
            flex-shrink: 0;
        }
        .profile-avatar-upload {
            position: absolute;
            bottom: 4px;
            right: 4px;
            width: 34px;
            height: 34px;
            background: rgba(8, 12, 20, 0.75);
            border: 1px solid var(--sb-ice);
            border-radius: var(--sb-radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 14px;
            color: var(--sb-ice);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .profile-avatar-upload:hover {
            transform: scale(1.15);
            box-shadow: 0 0 12px rgba(56,189,248,0.4), 0 0 20px rgba(99,102,241,0.2);
        }
        .profile-avatar-upload input {
            display: none;
        }
        .profile-info-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--sb-space-md);
        }
        .genre-tags {
            display: flex;
            flex-wrap: wrap;
            gap: var(--sb-space-sm);
        }
        .genre-tag {
            padding: 4px 12px;
            font-size: var(--sb-text-xs);
            font-weight: 600;
            background: rgba(var(--sb-ice-rgb),0.1);
            color: var(--sb-ice);
            border-radius: var(--sb-radius);
            cursor: pointer;
            transition: all var(--sb-transition);
        }
        .genre-tag.selected {
            background: transparent;
            border: 1px solid var(--sb-ice);
            border-radius: var(--sb-radius);
            background-image: var(--sb-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .media-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: var(--sb-space-md);
        }
        .media-item {
            position: relative;
            aspect-ratio: 1;
            background: var(--sb-bg-input);
            overflow: hidden;
        }
        .media-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .media-upload-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: var(--sb-space-sm);
            aspect-ratio: 1;
            background: var(--sb-bg-input);
            border: 2px dashed var(--sb-border);
            cursor: pointer;
            transition: all var(--sb-transition);
            font-size: var(--sb-text-sm);
            color: var(--sb-text-muted);
        }
        .media-upload-btn:hover {
            border-color: var(--sb-ice);
            color: var(--sb-ice);
        }
        .media-delete {
            position: absolute;
            top: 6px;
            right: 6px;
            width: 26px;
            height: 26px;
            background: rgba(var(--sb-bg-surface-rgb),0.75);
            color: var(--sb-text-muted);
            border: 1px solid var(--sb-border);
            border-radius: var(--sb-radius);
            cursor: pointer;
            font-size: 13px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all var(--sb-transition);
            z-index: 2;
        }
        .media-delete:hover {
            background: rgba(var(--sb-bg-surface-rgb),0.9);
            color: var(--sb-ice);
            border-color: var(--sb-ice);
            box-shadow: 0 0 8px rgba(var(--sb-ice-rgb),0.25);
        }

        /* ── Public Profile View ───────────────────────────── */
        .profile-view-header {
            display: flex;
            flex-wrap: wrap;
            gap: var(--sb-space-xl);
            margin-bottom: var(--sb-space-xl);
        }
        .profile-view-meta {
            flex: 1;
        }
        .profile-view-name {
            font-size: var(--sb-text-3xl);
            font-weight: 700;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-sm);
        }
        .profile-view-location {
            color: var(--sb-text-secondary);
            margin-top: var(--sb-space-xs);
        }
        .profile-view-rating {
            display: flex;
            align-items: center;
            gap: var(--sb-space-sm);
            margin-top: var(--sb-space-sm);
        }
        .profile-view-actions {
            display: flex;
            flex-wrap: wrap;
            gap: var(--sb-space-sm);
            margin-top: var(--sb-space-md);
        }
        .profile-detail-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: var(--sb-space-xl);
        }
        .info-section {
            margin-bottom: var(--sb-space-xl);
        }
        .info-section h3 {
            font-size: var(--sb-text-lg);
            margin-bottom: var(--sb-space-md);
            padding-bottom: var(--sb-space-sm);
            border-bottom: 1px solid var(--sb-border);
        }
        .info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--sb-space-sm);
        }
        .info-item {
            padding: var(--sb-space-sm);
        }
        .info-item-label {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .info-item-value {
            font-size: var(--sb-text-sm);
            font-weight: 500;
            margin-top: 2px;
        }
        .social-links {
            display: flex;
            flex-wrap: wrap;
            gap: var(--sb-space-sm);
        }
        .social-link {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 12px 8px;
            background: var(--sb-bg-input);
            border: 1px solid var(--sb-border);
            border-radius: var(--sb-radius);
            font-size: var(--sb-text-xs);
            font-weight: 600;
            color: var(--sb-text-secondary);
            text-decoration: none;
            transition: all var(--sb-transition);
            width: 80px;
            text-align: center;
            text-align: center;
        }
        .social-link:hover {
            color: var(--sb-ice);
            border-color: var(--sb-ice);
            box-shadow: 0 0 12px rgba(var(--sb-ice-rgb),0.15);
        }
        .social-link svg {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
        }

        /* ── Profile View — Ribbon Sub-Nav ────────────────── */
        .profile-view-ribbon {
            margin-bottom: var(--sb-space-xl);
        }
        .profile-tab-content { display: none; }
        .profile-tab-content.active { display: block; }
        .profile-subnav-panel { display: none; }
        .profile-subnav-panel.active { display: block; }

        /* ── Schedule Tab ─────────────────────────────────── */
        .schedule-list { display: flex; flex-direction: column; gap: var(--sb-space-sm); }
        .schedule-item {
            display: flex;
            align-items: center;
            gap: var(--sb-space-md);
            padding: var(--sb-space-md);
            background: var(--sb-bg-input);
            border: 1px solid var(--sb-border);
        }
        .schedule-date {
            min-width: 60px;
            text-align: center;
            padding: var(--sb-space-sm);
            background: var(--sb-bg-surface);
            border: 1px solid var(--sb-border);
        }
        .schedule-date-day {
            font-size: var(--sb-text-2xl);
            font-weight: 700;
            line-height: 1;
        }
        .schedule-date-month {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .schedule-info { flex: 1; }
        .schedule-title { font-weight: 600; font-size: var(--sb-text-sm); }
        .schedule-meta { font-size: var(--sb-text-xs); color: var(--sb-text-muted); margin-top: 2px; }
        .schedule-badge {
            font-size: var(--sb-text-xs);
            padding: 2px 8px;
            font-weight: 600;
            background: var(--sb-bg-surface);
            border: 1px solid var(--sb-border);
        }
        .schedule-badge.confirmed {
            border-color: var(--sb-success);
            color: var(--sb-success);
        }
        .schedule-badge.soft-hold {
            border-color: var(--sb-warning);
            color: var(--sb-warning);
        }

        /* ── Availability Tab ─────────────────────────────── */
        .avail-week {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: var(--sb-space-xs);
            margin-bottom: var(--sb-space-xl);
        }
        .avail-day {
            padding: var(--sb-space-md) var(--sb-space-sm);
            text-align: center;
            background: var(--sb-bg-input);
            border: 1px solid var(--sb-border);
        }
        .avail-day-name {
            font-size: var(--sb-text-xs);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: var(--sb-space-xs);
        }
        .avail-day-time {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
        }
        .avail-day.available {
            border-color: var(--sb-success);
        }
        .avail-day.available .avail-day-name {
            color: var(--sb-success);
        }
        .avail-day.unavailable {
            opacity: 0.4;
        }
        .avail-overrides-title {
            font-size: var(--sb-text-sm);
            font-weight: 700;
            margin-bottom: var(--sb-space-sm);
            color: var(--sb-text-secondary);
            text-align: center;
        }
        .avail-override-list { display: flex; flex-direction: column; gap: var(--sb-space-xs); }
        .avail-override-item {
            display: flex;
            align-items: center;
            gap: var(--sb-space-sm);
            padding: var(--sb-space-sm) var(--sb-space-md);
            background: var(--sb-bg-input);
            border: 1px solid var(--sb-border);
            font-size: var(--sb-text-sm);
        }
        .avail-override-dot {
            width: 8px;
            height: 8px;
            border-radius: var(--sb-radius-full);
            flex-shrink: 0;
        }
        .avail-override-dot.available { background: var(--sb-success); }
        .avail-override-dot.unavailable { background: var(--sb-error); }
        .avail-override-dot.soft-hold { background: var(--sb-warning); }

        /* Heat strip carousel styles → sb-shared.css */

        /* Profile header inherits .sb-page-header/.sb-page-title from sb-shared.css */
        .sb-profile-header-row {
            display: flex;
            flex-wrap: wrap;
            align-items: stretch;
            gap: var(--sb-space-xl);
            padding: var(--sb-space-lg);
        }
        .sb-profile-header-row .profile-avatar-wrap {
            flex-shrink: 0;
        }
        .sb-profile-header-row .sb-avatar-xl {
            width: 300px;
            height: 300px;
            border: 2px solid var(--sb-border);
        }
        .sb-profile-header-row .sb-avatar-placeholder {
            font-size: 2rem;
        }
        .sb-profile-identity {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-self: stretch;
        }
        .sb-profile-name {
            font-size: 1.8rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: var(--sb-space-sm);
            flex-wrap: wrap;
            letter-spacing: -0.01em;
            line-height: 1.2;
        }
        .sb-profile-tagline {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: var(--sb-text-sm);
            color: var(--sb-text-muted);
        }
        .sb-profile-tagline .sb-profile-dot { color: rgba(var(--sb-text-secondary-rgb),.3); }
        .sb-profile-tagline svg { width: 14px; height: 14px; opacity: 0.5; }
        .sb-profile-fee-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 12px;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--sb-ice);
            background: rgba(var(--sb-ice-rgb),.08);
            border: 1px solid rgba(var(--sb-ice-rgb),.15);
            border-radius: 0;
            align-self: flex-start;
        }
        .sb-profile-bio-preview {
            font-size: var(--sb-text-sm);
            color: var(--sb-text-secondary);
            line-height: 1.7;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .sb-profile-genres-preview {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            margin-top: 10px;
        }
        .sb-profile-actions {
            flex-shrink: 0;
        }
        .sb-profile-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: var(--sb-space-md);
            margin-bottom: var(--sb-space-xl);
        }
        .sb-profile-stat {
            padding: var(--sb-space-md) var(--sb-space-lg);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
        }
        .sb-profile-stat-value {
            font-size: var(--sb-text-xl);
            font-weight: 700;
            background: var(--sb-gradient-text);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .sb-profile-stat-label {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .sb-profile-stat .tour-toggle-value {
            -webkit-text-fill-color: initial;
            background: none;
        }
        .sb-profile-stat .tour-toggle-value svg {
            width: 1em; height: 1em;
            stroke: url(#gx-stat-grad);
            fill: none;
            transition: filter var(--sb-transition);
        }
        .sb-profile-stat:hover .tour-toggle-value svg {
            filter: drop-shadow(0 0 6px rgba(56,189,248,0.5));
        }
        .sb-profile-body {
            display: flex;
            flex-direction: column;
            gap: var(--sb-space-xl);
        }
        .sb-profile-pair > .sb-profile-section {
            min-height: 100%;
            align-self: stretch;
        }
        /* Profile sections don't need backdrop-filter — it causes child
           borders (section-header border-bottom) to vanish in Chromium
           when combined with transition:all on .sb-card. */
        .sb-profile-section {
            -webkit-backdrop-filter: none;
            backdrop-filter: none;
        }
        .sb-profile-section-title {
            font-size: var(--sb-text-lg);
            font-weight: 700;
            margin-bottom: var(--sb-space-md);
            padding-bottom: var(--sb-space-sm);
            border-bottom: 1px solid var(--sb-border);
        }
        .sb-profile-bio {
            color: var(--sb-text-secondary);
            line-height: 1.7;
            font-size: var(--sb-text-sm);
        }
        .sb-profile-genres {
            display: flex;
            flex-wrap: wrap;
            gap: var(--sb-space-sm);
        }
        .sb-profile-genre-tag {
            padding: 4px 14px;
            font-size: var(--sb-text-xs);
            font-weight: 600;
            background: transparent;
            border: 1px solid var(--sb-ice);
            border-radius: var(--sb-radius);
            background-image: var(--sb-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            transition: all var(--sb-transition);
        }
        .sb-profile-genre-tag:hover {
            box-shadow: 0 0 12px rgba(var(--sb-ice-rgb),0.3);
        }
        .sb-profile-social-row {
            display: flex;
            flex-wrap: wrap;
            gap: var(--sb-space-sm);
        }
        .sb-profile-social-link {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 12px 8px;
            background: var(--sb-bg-input);
            border: 1px solid var(--sb-border);
            border-radius: var(--sb-radius);
            font-size: var(--sb-text-xs);
            font-weight: 600;
            color: var(--sb-text-secondary);
            text-decoration: none;
            transition: all var(--sb-transition);
            width: 80px;
            text-align: center;
        }
        .sb-profile-social-link:hover {
            color: var(--sb-ice);
            border-color: var(--sb-ice);
            box-shadow: 0 0 12px rgba(var(--sb-ice-rgb),0.15);
        }
        .sb-profile-social-link svg {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
        }
        .sb-profile-media-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: var(--sb-space-md);
        }
        .sb-profile-media-item {
            position: relative;
            aspect-ratio: 1;
            background: var(--sb-bg-input);
            overflow: hidden;
            border: 1px solid var(--sb-border);
            border-radius: var(--sb-radius);
            cursor: pointer;
            transition: all var(--sb-transition);
        }
        .sb-profile-media-item:hover {
            border-color: var(--sb-ice);
            box-shadow: 0 0 12px rgba(var(--sb-ice-rgb),0.15);
        }
        .sb-profile-media-placeholder {
            aspect-ratio: 1;
            background: var(--sb-bg-input);
            border: 1px dashed var(--sb-border-light);
            border-radius: var(--sb-radius);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: var(--sb-space-xs);
            opacity: 0.5;
        }
        .sb-profile-media-placeholder .sb-empty-icon {
            font-size: 28px;
            margin-bottom: 0;
        }
        .sb-profile-media-item img,
        .sb-profile-media-item video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .sb-profile-featured-media {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--sb-space-md);
        }
        .sb-profile-media-item .media-play-icon {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(var(--sb-black-rgb),0.4);
            font-size: 2rem;
            color: #fff;
            pointer-events: none;
        }
        .sb-profile-review {
            background: var(--sb-bg-card);
            border: 1px solid var(--sb-border);
            border-radius: var(--sb-radius-lg);
            padding: var(--sb-space-lg);
            margin-bottom: var(--sb-space-md);
        }
        .sb-profile-review:last-child {
            margin-bottom: 0;
        }
        .sb-profile-review-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: var(--sb-space-sm);
        }
        .sb-profile-review-author {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-sm);
        }
        .sb-profile-review-author-name {
            font-weight: 600;
            font-size: var(--sb-text-sm);
        }
        .sb-profile-review-date {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
        }
        .sb-profile-review-content {
            color: var(--sb-text-secondary);
            font-size: var(--sb-text-sm);
            line-height: 1.6;
        }
        .sb-profile-empty {
            text-align: center;
            padding: var(--sb-space-xl);
            color: var(--sb-text-muted);
            font-size: var(--sb-text-sm);
        }
        .sb-profile-section-header {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            margin-bottom: var(--sb-space-md);
            padding-bottom: var(--sb-space-sm);
            border-bottom: 1px solid var(--sb-border);
        }
        .sb-profile-section-header .sb-profile-section-title {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        .sb-profile-edit-btn {
            background: transparent;
            border: 1px solid var(--sb-border);
            color: var(--sb-text-muted);
            font-size: var(--sb-text-xs);
            padding: 4px 12px;
            border-radius: var(--sb-radius);
            cursor: pointer;
            transition: all var(--sb-transition);
            font-family: var(--sb-font);
            font-weight: 600;
        }
        .sb-profile-edit-btn:hover {
            color: var(--sb-ice);
            border-color: var(--sb-ice);
        }
        /* AI Redraft — same shell as sb-profile-edit-btn, with inline icon */
        .sb-ai-redraft-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .sb-ai-redraft-icon {
            width: 12px;
            height: 12px;
            flex-shrink: 0;
        }
        .sb-ai-redraft-btn:disabled {
            opacity: 0.6;
            cursor: wait;
        }
        /* Drag-to-reorder profile sections */
        .sb-profile-tool-btn {
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            gap: 6px;
            min-width: 160px;
            font-size: 12px;
            line-height: 1;
        }
        .sb-profile-tool-btn svg {
            flex-shrink: 0;
            vertical-align: middle;
            position: relative;
            top: -0.5px;
        }
        .sb-profile-tool-btn span {
            line-height: 15px;
        }
        .sb-profile-body.reorder-mode .sb-profile-section[data-section] {
            position: relative;
            cursor: grab;
            border: 1px solid rgba(var(--sb-ice-rgb),0.15);
            border-radius: var(--sb-radius);
            padding: var(--sb-space-sm);
            transition: transform 0.25s ease, border-color 0.2s, box-shadow 0.2s, opacity 0.2s;
        }
        .sb-profile-body.reorder-mode .sb-profile-section[data-section]:hover {
            border-color: rgba(var(--sb-ice-rgb),0.35);
        }
        .sb-profile-body.reorder-mode .sb-profile-section.dragging {
            opacity: 0.85;
            border-color: var(--sb-ice);
            box-shadow: 0 4px 24px rgba(var(--sb-ice-rgb),0.25);
            z-index: 100;
            transition: none;
        }
        .sb-profile-body.reorder-mode .sb-profile-section.drop-above {
            transform: translateY(12px);
        }
        .sb-profile-body.reorder-mode .sb-profile-section.drop-below {
            transform: translateY(-12px);
        }
        .sb-profile-drag-handle {
            display: none;
            color: var(--sb-text-muted);
            font-size: 18px;
            cursor: grab;
            text-align: center;
            padding: 2px 0 6px;
            letter-spacing: 2px;
            user-select: none;
        }
        .sb-profile-body.reorder-mode .sb-profile-drag-handle {
            display: block;
        }
        .sb-profile-edit-form {
            display: none;
            margin-top: var(--sb-space-md);
        }
        .sb-profile-edit-form.active {
            display: block;
        }
        .sb-profile-edit-form .sb-input-group {
            margin-bottom: var(--sb-space-md);
        }
        .sb-profile-edit-actions {
            display: flex;
            flex-wrap: wrap;
            gap: var(--sb-space-sm);
            margin-top: var(--sb-space-md);
        }
        .sb-profile-placeholder {
            color: var(--sb-text-muted);
            font-style: italic;
            font-size: var(--sb-text-sm);
            cursor: pointer;
            transition: color var(--sb-transition);
        }
        .sb-profile-placeholder:hover {
            color: var(--sb-ice);
        }
        @media (max-width: 768px) {
            .sb-profile-header-row {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: var(--sb-space-md);
            }
            .sb-profile-header-row .sb-avatar-xl {
                width: 200px;
                height: 200px;
            }
            .sb-profile-name { justify-content: center; font-size: 1.5rem; }
            .sb-profile-tagline { justify-content: center; }
            .sb-profile-genres-preview { justify-content: center; }
            .sb-profile-fee-badge { align-self: center; }
            #profile .sb-card[style*="margin-bottom:var(--sb-space-xl)"] { margin-bottom: var(--sb-space-md) !important; }
            .sb-profile-body { gap: var(--sb-space-md); }
            .sb-profile-stats { grid-template-columns: repeat(2, 1fr); }
            .sb-profile-toolbar { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px !important; }
            .sb-profile-tool-btn { min-width: 0 !important; width: 100%; font-size: 11px; }
        }

        /* ── Search ────────────────────────────────────────── */
        .search-filters {
            display: flex;
            gap: var(--sb-space-md);
            flex-wrap: wrap;
            margin-bottom: var(--sb-space-lg);
            align-items: flex-end;
        }
        .search-filters .sb-input-group {
            margin-bottom: 0;
            min-width: 150px;
        }
        .search-results-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: var(--sb-space-md);
        }
        /* .performer-card card styles inherited from .sb-card in sb-shared.css */
        .performer-card { cursor: pointer; }
        .performer-card-header {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-md);
            margin-bottom: var(--sb-space-md);
        }
        .performer-card-name {
            font-weight: 700;
        }
        .performer-card-location {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
        }
        .performer-card-genres {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            margin: var(--sb-space-sm) 0;
        }
        .performer-card-footer {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            margin-top: var(--sb-space-md);
            padding-top: var(--sb-space-sm);
            border-top: 1px solid var(--sb-border);
        }
        /* .gig-card card styles inherited from .sb-card in sb-shared.css */
        .gig-card { cursor: pointer; }
        .gig-card-date {
            font-size: var(--sb-text-xs);
            color: var(--sb-ice);
            font-weight: 600;
            margin-bottom: var(--sb-space-xs);
        }
        .gig-card-title {
            font-size: var(--sb-text-lg);
            font-weight: 700;
            margin-bottom: var(--sb-space-sm);
        }
        .gig-card-venue {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-sm);
            font-size: var(--sb-text-sm);
            color: var(--sb-text-secondary);
            margin-bottom: var(--sb-space-sm);
        }
        .gig-card-footer {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            margin-top: var(--sb-space-md);
            padding-top: var(--sb-space-sm);
            border-top: 1px solid var(--sb-border);
            font-size: var(--sb-text-sm);
        }

        /* ── Reviews List ──────────────────────────────────── */
        /* .review-card card styles inherited from .sb-card in sb-shared.css */
        .review-card {
            margin-bottom: var(--sb-space-md);
        }
        .review-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: var(--sb-space-md);
        }
        .review-author {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: var(--sb-space-sm);
        }
        .review-subcategories {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: var(--sb-space-sm);
            margin-top: var(--sb-space-md);
            padding-top: var(--sb-space-md);
            border-top: 1px solid var(--sb-border);
        }
        .review-subcat {
            text-align: center;
        }
        .review-subcat-label {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            margin-bottom: 2px;
        }
        .review-response {
            margin-top: var(--sb-space-md);
            padding: var(--sb-space-md);
            background: var(--sb-bg-input);
            border-left: 3px solid var(--sb-violet);
        }

        /* ── Write Review Form ────────────────────────────── */
        .star-selector { display: inline-flex; gap: 4px; }
        .star-selector .star { font-size: 1.5rem; color: var(--sb-border-light); cursor: pointer; transition: color 0.15s; user-select: none; }
        .star-selector .star.filled { color: var(--sb-ice); }
        .star-selector .star.hovered { color: var(--sb-ice-light); }
        .review-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sb-space-md); margin: var(--sb-space-lg) 0; }
        .review-form-field label { display: block; font-size: var(--sb-text-sm); color: var(--sb-text-secondary); margin-bottom: var(--sb-space-xs); }

        /* ── Notifications (v2) ────────────────────────────── */
        .notif-filters-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: var(--sb-space-md);
            flex-wrap: wrap;
        }
        .notif-filters-row .sb-filter-pills {
            margin-bottom: 0;
        }
        .notif-type-select {
            padding: 6px 12px;
            font-size: var(--sb-text-sm);
            width: auto;
            min-width: 180px;
        }
        .notif-summary {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
            padding: var(--sb-space-sm) 0 var(--sb-space-xs);
        }

        /* Give notification list 2px padding for gradient border inset:-1px */
        #notif-list { padding: 2px; }

        /* Date group headers */
        .notif-group-header {
            font-size: var(--sb-text-xs);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--sb-ice);
            padding: var(--sb-space-sm) 0 var(--sb-space-xs);
            margin-top: var(--sb-space-md);
        }
        .notif-group-header:first-child { margin-top: 0; }

        /* Notification card — horizontal layout matching gigs-booking-card */
        .notif-item {
            position: relative;
            display: flex;
            align-items: stretch;
            background: rgba(15,21,37,0.70);
            border: none;
            border-radius: var(--sb-radius);
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            isolation: isolate;
            min-width: 0;
            max-width: 100%;
            margin-bottom: var(--sb-space-sm);
        }
        .notif-item::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: inherit;
            background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
            z-index: -1;
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            padding: 1px;
        }
        .notif-item::after { display: none; }
        .notif-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 0 12px rgba(var(--sb-ice-rgb), 0.25);
        }
        body.light-mode .notif-item { background: rgba(255,255,255,0.85); }
        .notif-item.unread { background: rgba(var(--sb-ice-rgb),0.10); }
        .notif-item.unread:hover { background: rgba(var(--sb-ice-rgb),0.14); }
        .notif-emergency { border-left: 3px solid var(--sb-orange); }
        .notif-emergency:hover { box-shadow: 0 0 12px rgba(var(--sb-orange-rgb),0.25); }

        /* Icon sidebar (matches gigs-booking-date pattern) */
        .notif-icon {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-width: 56px;
            padding: var(--sb-space-sm);
            background: linear-gradient(135deg, rgba(var(--sb-ice-rgb),0.12), rgba(var(--sb-violet-rgb),0.08));
            flex-shrink: 0;
            font-size: 18px;
            color: var(--sb-ice);
        }
        .notif-item.unread .notif-icon {
            background: linear-gradient(135deg, rgba(var(--sb-ice-rgb),0.20), rgba(var(--sb-violet-rgb),0.12));
        }
        .notif-emergency .notif-icon { color: var(--sb-orange); }

        /* Body */
        .notif-body {
            flex: 1;
            min-width: 0;
            padding: var(--sb-space-sm) var(--sb-space-md);
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 2px;
        }
        .notif-title {
            font-size: var(--sb-text-sm);
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .notif-text {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-secondary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .notif-footer {
            display: flex;
            align-items: center;
            gap: var(--sb-space-xs);
            margin-top: 2px;
        }
        .notif-time {
            font-size: var(--sb-text-xs);
            color: var(--sb-text-muted);
        }
        .notif-type-badge {
            font-size: 9px;
            padding: 1px 6px;
            border-radius: var(--sb-radius-full);
            background: rgba(var(--sb-ice-rgb),0.1);
            color: var(--sb-ice);
            font-weight: 600;
            white-space: nowrap;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }
        .notif-unread-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--sb-ice);
            flex-shrink: 0;
        }
        .notif-load-more {
            display: flex;
            justify-content: center;
            padding: var(--sb-space-lg);
        }

        /* ── Settings ──────────────────────────────────────── */
        .settings-tab { display: none; }
        .settings-tab.active { display: block; }
        .settings-group {
            margin-bottom: var(--sb-space-xl);
        }
        .settings-group h3 {
            font-size: var(--sb-text-lg);
            margin-bottom: var(--sb-space-md);
            padding-bottom: var(--sb-space-sm);
            border-bottom: 1px solid var(--sb-border);
        }
        .settings-theme-toggle {
            position: relative;
            display: flex; align-items: center; gap: var(--sb-space-md);
            flex-wrap: wrap;
            padding: var(--sb-space-md); border-radius: var(--sb-radius);
            background: transparent; border: none;
            cursor: pointer; transition: background 0.2s;
        }
        .settings-theme-toggle::before {
            content: ''; position: absolute; inset: 0; border-radius: var(--sb-radius);
            padding: 1px; background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor; mask-composite: exclude;
            pointer-events: none;
        }
        .settings-theme-toggle:hover { background: rgba(var(--sb-ice-rgb),0.08); }
        .settings-group .sb-btn-danger {
            position: relative;
            background: transparent;
            color: var(--sb-text-primary);
            border: none;
        }
        .settings-group .sb-btn-danger::before {
            content: ''; position: absolute; inset: 0; border-radius: var(--sb-radius);
            padding: 1px; background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor; mask-composite: exclude;
            pointer-events: none;
        }
        .settings-group .sb-btn-danger:hover {
            background: rgba(var(--sb-ice-rgb),0.08);
            opacity: 1;
        }
        #mfa-qr::before {
            content: ''; position: absolute; inset: 0; border-radius: var(--sb-radius);
            padding: 1px; background: linear-gradient(135deg, var(--sb-ice), var(--sb-sky), var(--sb-violet));
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor; mask-composite: exclude;
            pointer-events: none;
        }
        .settings-theme-toggle .theme-label { flex: 1; font-weight: 600; }
        .settings-theme-toggle .theme-state { color: var(--sb-text-secondary); font-size: var(--sb-text-sm); }
        .settings-user-type-badge {
            display: inline-block; padding: 4px 12px; border-radius: var(--sb-radius);
            font-size: var(--sb-text-sm); font-weight: 600; text-transform: capitalize;
            background: rgba(var(--sb-ice-rgb),0.1); color: var(--sb-ice); border: 1px solid rgba(var(--sb-ice-rgb),0.25);
        }

        @media (max-width: 768px) {
            .profile-view-header { flex-direction: column; }
            .profile-detail-grid { grid-template-columns: 1fr; }
            .profile-info-row { grid-template-columns: 1fr; }
            .review-subcategories { grid-template-columns: repeat(2, 1fr); }
            .search-filters { flex-direction: column; }
            .search-filters .sb-input-group { min-width: 0 !important; width: 100% !important; }
            .profile-header { flex-direction: column; align-items: center; text-align: center; }
            .sb-profile-pair { overflow: visible; }
            .sb-profile-pair > .sb-profile-section { min-width: 0; }
            .sb-profile-pair .info-grid { gap: 2px; }
            .sb-profile-pair .info-item { padding: 4px; }
            .sb-profile-pair .info-item-label { font-size: 9px; }
            .sb-profile-pair .info-item-value { font-size: 11px; word-break: break-word; }
            .sb-profile-pair .sb-profile-section { padding: var(--sb-space-sm); }
            .sb-profile-pair .sb-profile-bio { font-size: 11px; }
            #profile-view .sb-breadcrumb,
            #profile .sb-breadcrumb { margin-top: var(--sb-space-sm); }
            #profile-view > .sb-container,
            #profile .sb-subnav-content { padding-bottom: var(--sb-space-lg); }
        }

        /* ── Audio Trimmer Modal ──────────────────────────── */
        /* Audio trimmer uses standard .sb-modal-overlay + .sb-modal with z-index override */
        #audio-trimmer-overlay.sb-modal-overlay { z-index: 9999; }
        #audio-trimmer-overlay .sb-modal { max-width: 560px; }
        .audio-trimmer-logo.sb-topbar-logo {
            justify-content: center; width: auto;
            padding: var(--sb-space-md) var(--sb-space-lg) 0;
            pointer-events: none;
            /* Override mobile topbar positioning that breaks modal logo */
            position: static !important;
            transform: none !important;
            left: auto !important;
            top: auto !important;
        }
        .audio-trimmer-header {
            padding: var(--sb-space-sm) var(--sb-space-lg) var(--sb-space-md);
            border-bottom: 1px solid rgba(var(--sb-ice-rgb),0.15);
            text-align: center;
        }
        .audio-trimmer-header h3 {
            margin: 0; font-size: var(--sb-text-md); font-weight: 600;
            background: var(--sb-gradient-text); -webkit-background-clip: text;
            -webkit-text-fill-color: transparent; background-clip: text;
        }
        .audio-trimmer-subtitle { font-size: var(--sb-text-xs); color: var(--sb-text-muted); }
        .audio-trimmer-body { padding: var(--sb-space-lg); }
        .audio-trimmer-title-row { margin-bottom: var(--sb-space-md); }
        .audio-trimmer-canvas-wrap {
            position: relative; border-radius: var(--sb-radius); overflow: hidden;
            border: 1px solid rgba(var(--sb-ice-rgb),0.15); margin-bottom: var(--sb-space-sm);
            background: rgba(var(--sb-bg-body-rgb), 0.6);
        }
        .audio-trimmer-canvas-wrap canvas { display: block; width: 100%; cursor: grab; }
        .audio-trimmer-time {
            position: absolute; bottom: 4px; left: 8px;
            font-size: 10px; color: var(--sb-text-muted); font-variant-numeric: tabular-nums;
            pointer-events: none;
        }
        .audio-trimmer-time-right { left: auto; right: 8px; }
        .audio-trimmer-info {
            display: flex; justify-content: space-between; font-size: var(--sb-text-xs);
            color: var(--sb-ice); margin-bottom: var(--sb-space-md);
        }
        .audio-trimmer-info span:last-child { color: var(--sb-text-muted); }
        .audio-trimmer-controls { display: flex; justify-content: center; }
        .audio-trimmer-footer {
            padding: var(--sb-space-md) var(--sb-space-lg);
            border-top: 1px solid rgba(var(--sb-ice-rgb),0.15);
            display: flex; justify-content: flex-end; gap: var(--sb-space-sm);
        }

        /* ── Track Player Widget ────────────────────────── */
        .track-widget {
            border-radius: var(--sb-radius);
            background: rgba(var(--sb-bg-surface-rgb), 0.50);
            border: 1px solid rgba(var(--sb-ice-rgb),0.10);
            overflow: hidden;
        }
        .track-widget-header {
            padding: 6px 16px; font-size: 11px; color: var(--sb-text-muted);
            border-top: 1px solid rgba(var(--sb-white-rgb),0.04);
            text-align: right; opacity: 0.6;
            display: none;
        }
        /* Now-playing bar — Option D: Hybrid A+C */
        .track-now-playing {
            display: flex; align-items: center; gap: 16px;
            padding: 16px 20px;
            border-bottom: 1px solid rgba(var(--sb-ice-rgb),0.08);
            background: rgba(var(--sb-ice-rgb), 0.02);
            transition: background 0.3s;
        }
        .track-now-playing.playing {
            background: linear-gradient(135deg, rgba(var(--sb-fuchsia-rgb),0.03), rgba(var(--sb-ice-rgb),0.03));
        }
        .track-np-thumb {
            width: 60px; height: 60px; border-radius: 10px; flex-shrink: 0;
            background: linear-gradient(135deg, rgba(var(--sb-ice-rgb),0.10), rgba(var(--sb-violet-rgb),0.10));
            display: flex; align-items: center; justify-content: center;
            position: relative; cursor: pointer;
            transition: background 0.2s;
        }
        .track-np-thumb > svg { width: 22px; height: 22px; color: rgba(var(--sb-ice-rgb),0.45); transition: color 0.2s, opacity 0.15s; }
        .track-now-playing.playing .track-np-thumb > svg { opacity: 0; }
        .track-np-thumb::after {
            content: ''; position: absolute; inset: 0;
            border-radius: 10px; padding: 1px;
            background: linear-gradient(135deg, rgba(var(--sb-ice-rgb),0.20), rgba(var(--sb-violet-rgb),0.20));
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor; mask-composite: exclude;
            pointer-events: none; transition: background 0.2s;
        }
        .track-now-playing.playing .track-np-thumb {
            background: linear-gradient(135deg, rgba(var(--sb-fuchsia-rgb),0.12), rgba(var(--sb-violet-rgb),0.10));
        }
        .track-now-playing.playing .track-np-thumb::after {
            background: linear-gradient(135deg, rgba(var(--sb-fuchsia-rgb),0.25), rgba(var(--sb-violet-rgb),0.20));
        }
        .track-now-playing.playing .track-np-thumb svg { color: rgba(var(--sb-fuchsia-rgb),0.55); }
        .track-np-center { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
        .track-np-top { display: flex; align-items: center; gap: 16px; width: 100%; }
        .track-np-play {
            position: absolute; inset: 0;
            width: 100%; height: 100%; border-radius: 10px; border: none;
            background: rgba(var(--sb-bg-body-rgb), 0.5); color: #fff;
            cursor: pointer; display: flex; align-items: center; justify-content: center;
            opacity: 0; transition: opacity 0.15s; padding: 0; z-index: 2;
        }
        .track-np-play svg { width: 20px; height: 20px; fill: currentColor; filter: drop-shadow(0 0 4px rgba(var(--sb-white-rgb),0.3)); }
        .track-np-thumb:hover .track-np-play { opacity: 1; }
        .track-np-play.playing { opacity: 1; background: rgba(var(--sb-bg-body-rgb), 0.4); color: #fff; }
        .track-np-play.playing svg { filter: drop-shadow(0 0 6px rgba(var(--sb-fuchsia-rgb),0.5)); }
        .track-np-info { flex: 1; min-width: 0; }
        .track-np-title {
            font-size: 11px; font-weight: 600; color: var(--sb-text);
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
            position: absolute; left: 0; bottom: 100%; margin-bottom: 2px;
        }
        .track-np-bottom { position: relative; }
        .track-np-title.playing { color: var(--sb-ice); }
        .track-np-sub {
            font-size: 11px; color: var(--sb-text-muted); margin-top: 2px;
            display: flex; align-items: center; gap: 6px;
        }
        .track-np-sub .np-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sb-fuchsia, #EC4899); opacity: 0; }
        .track-now-playing.playing .np-dot { opacity: 1; animation: np-dot-pulse 1.4s ease-in-out infinite; }
        @keyframes np-dot-pulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }
        .track-np-bottom { display: flex; align-items: center; gap: 10px; }
        .track-np-time {
            font-size: 11px; color: var(--sb-text-muted);
            font-variant-numeric: tabular-nums; min-width: 32px;
        }
        .track-np-time:last-child { text-align: right; }
        .track-np-bar-wrap {
            flex: 1; height: 5px;
            background: rgba(var(--sb-white-rgb),0.06); border-radius: 3px;
            cursor: pointer; overflow: visible; position: relative;
        }
        .track-np-bar {
            height: 100%; border-radius: 3px; width: 0%;
            background: var(--sb-ice); transition: width 0.1s linear;
            position: relative;
        }
        .track-np-bar.playing { background: var(--sb-fuchsia, #EC4899); }
        .track-np-bar::after {
            content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
            width: 11px; height: 11px; border-radius: 50%;
            background: inherit; opacity: 0;
            box-shadow: 0 0 8px rgba(var(--sb-ice-rgb),0.4);
            transition: opacity 0.12s;
        }
        .track-np-bar-wrap:hover .track-np-bar::after { opacity: 1; }
        .track-np-bar.playing::after { box-shadow: 0 0 8px rgba(var(--sb-fuchsia-rgb),0.4); }
        /* Volume slider */
        .track-np-vol-wrap {
            display: flex; align-items: center; gap: 6px;
            width: 80px; flex-shrink: 0; cursor: pointer; margin-left: 4px;
        }
        .track-np-vol-icon { color: var(--sb-text-muted); flex-shrink: 0; opacity: 0.5; transition: opacity 0.15s; }
        .track-np-vol-wrap:hover .track-np-vol-icon { opacity: 1; }
        .track-np-vol-bar {
            flex: 1; height: 4px; background: rgba(var(--sb-white-rgb),0.06);
            border-radius: 2px; position: relative; overflow: visible;
        }
        .track-np-vol-fill {
            height: 100%; border-radius: 2px; width: 100%;
            background: linear-gradient(90deg, var(--sb-ice), var(--sb-violet));
            position: relative; transition: width 0.05s linear;
        }
        .track-np-vol-fill::after {
            content: ''; position: absolute; right: -4px; top: 50%; transform: translateY(-50%);
            width: 9px; height: 9px; border-radius: 50%;
            background: var(--sb-ice); opacity: 0;
            box-shadow: 0 0 6px rgba(var(--sb-ice-rgb),0.4); transition: opacity 0.12s;
        }
        .track-np-vol-wrap:hover .track-np-vol-fill::after { opacity: 1; }
        /* Waveform canvas */
        .track-np-waveform {
            display: block; width: 100%; height: 44px;
            opacity: 0; transition: opacity 0.3s; pointer-events: none;
        }
        .track-now-playing.playing .track-np-waveform { opacity: 0.7; }
        /* Footer: volume left, total plays right */
        .track-widget-footer {
            display: flex; justify-content: space-between; align-items: center;
            padding: 6px 16px; font-size: 11px; color: var(--sb-text-muted);
            border-top: 1px solid rgba(var(--sb-white-rgb),0.04); opacity: 0.6;
        }
        /* Track rows */
        .track-list { display: flex; flex-direction: column; gap: 0; }
        .track-row {
            display: grid; grid-template-columns: 20px 40px 1fr auto auto;
            align-items: center; gap: 12px;
            padding: 10px 16px;
            cursor: pointer; transition: background 0.12s;
            border-bottom: 1px solid rgba(var(--sb-white-rgb),0.04);
        }
        .track-row:last-child { border-bottom: none; }
        .track-row:hover { background: rgba(var(--sb-ice-rgb), 0.04); }
        .track-row.active { background: rgba(var(--sb-ice-rgb), 0.06); }
        .track-row-num {
            font-size: 12px; color: var(--sb-text-muted); text-align: center;
            font-variant-numeric: tabular-nums;
        }
        .track-row:hover .track-row-num { color: var(--sb-ice); }
        .track-row.active .track-row-num { color: var(--sb-ice); font-weight: 600; }
        .track-row-thumb {
            width: 40px; height: 40px; border-radius: 6px; flex-shrink: 0;
            background: linear-gradient(135deg, rgba(var(--sb-ice-rgb),0.12), rgba(var(--sb-violet-rgb),0.12));
            display: flex; align-items: center; justify-content: center;
        }
        .track-row-thumb svg { width: 18px; height: 18px; color: rgba(var(--sb-ice-rgb),0.4); }
        .track-row.active .track-row-thumb { background: linear-gradient(135deg, rgba(var(--sb-ice-rgb),0.20), rgba(var(--sb-violet-rgb),0.20)); }
        .track-row.active .track-row-thumb svg { color: var(--sb-ice); }
        .track-row-info { min-width: 0; overflow: hidden; }
        .track-row-title {
            font-size: 13px; font-weight: 500; color: var(--sb-text);
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
            line-height: 1.3;
        }
        .track-row.active .track-row-title { color: var(--sb-ice); }
        .track-row-meta { font-size: 11px; color: var(--sb-text-muted); }
        .track-row-plays { font-size: 11px; color: var(--sb-text-muted); opacity: 0.6; white-space: nowrap; text-align: right; }
        .track-row-dur {
            font-size: 11px; color: var(--sb-text-muted);
            font-variant-numeric: tabular-nums; min-width: 32px; text-align: right;
        }
        .track-row-delete {
            width: 24px; height: 24px; border-radius: 50%; border: none;
            background: transparent; color: var(--sb-text-muted); cursor: pointer;
            display: flex; align-items: center; justify-content: center; font-size: 12px;
            opacity: 0; transition: opacity 0.12s, color 0.12s;
        }
        .track-row:hover .track-row-delete { opacity: 1; }
        .track-row-delete:hover { color: var(--sb-error); }
        .track-empty {
            padding: var(--sb-space-xl); text-align: center;
            color: var(--sb-text-muted); font-size: var(--sb-text-sm);
        }
        .track-empty svg { width: 32px; height: 32px; margin-bottom: var(--sb-space-xs); opacity: 0.4; }
