  :root {
            --accent: #ef4444;
            --bg: #050508;
            --card: #0d0e16;
            --border: rgba(255, 255, 255, 0.08);
            --muted: #9ca3af;
            --text: #f8fafc;
        }
        * { box-sizing: border-box; }
        body { margin: 0; min-height: 100%; font-family: 'Outfit', sans-serif; background: var(--bg); color: var(--text); }
        a { color: inherit; text-decoration: none; }
        button { font: inherit; }

        .bg-panel { background: rgba(10, 12, 18, 0.92); }
        .glass { background: rgba(5, 5, 8, 0.72); backdrop-filter: blur(24px); }
        .rounded-panel { border-radius: 28px; }
        .border-panel { border: 1px solid rgba(255,255,255,0.08); }
        .shadow-panel { box-shadow: 0 40px 120px rgba(0,0,0,0.45); }
        .no-scrollbar::-webkit-scrollbar { display: none; }
        .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
        .hidden { display: none !important; }
        .text-muted { color: var(--muted); }
        .btn-primary { background: linear-gradient(135deg, #ff3d5f, #ff6d41); color: white; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; }
        .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 40px rgba(255, 77, 75, 0.22); filter: brightness(1.05); }
        .btn-secondary { background: rgba(255,255,255,0.08); color: white; }
        .stat-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 22px; }
        .artist-social-card:hover { transform: translateY(-2px); }

        .hero-banner {
            position: relative;
            min-height: 52vh;
            background-size: cover;
            background-position: center;
            background-color: rgba(10,11,19,0.95);
        }
        .hero-banner::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.92));
        }
        .hero-overlay {
            position: relative;
            z-index: 1;
        }
        .header-mini-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.65rem 1rem;
            border-radius: 999px;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.12);
            text-transform: uppercase;
            letter-spacing: 0.24em;
            font-size: 0.72rem;
            font-weight: 800;
            color: #fff;
        }
        .hero-meta-text {
            color: #e5e7eb;
            font-size: 1rem;
            line-height: 1.6;
            max-width: 38rem;
        }
        .label-pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.65rem; }
        .artist-card-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1.25rem; }
        @media (min-width: 768px) { .artist-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
        @media (min-width: 1024px) { .artist-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

        .artist-directory-card {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 32px;
            overflow: hidden;
            box-shadow: 0 30px 80px rgba(0,0,0,0.24);
            transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
        }
        .artist-directory-card:hover {
            transform: translateY(-3px);
            border-color: rgba(255,255,255,0.16);
            background: rgba(255,255,255,0.06);
        }
        .artist-directory-card-button {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 1rem;
            padding: 1.4rem;
            text-align: left;
            width: 100%;
            background: transparent;
            border: none;
            color: inherit;
            cursor: pointer;
        }
        .artist-directory-card-button:focus-visible {
            outline: 2px solid rgba(255,255,255,0.3);
            outline-offset: 3px;
        }
        .directory-avatar-circle {
            width: 78px;
            height: 78px;
            min-width: 78px;
            border-radius: 999px;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.12);
            background: rgba(255,255,255,0.08);
            display: grid;
            place-items: center;
        }
        .directory-avatar-circle img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .directory-artist-info {
            display: flex;
            flex-direction: column;
            gap: 0.45rem;
            min-width: 0;
        }
        .directory-artist-name {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.05rem;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            color: white;
        }
        .directory-artist-bio {
            color: #cbd5e1;
            font-size: 0.9rem;
            line-height: 1.45;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .verified-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.3rem 0.75rem;
            border-radius: 999px;
            background: rgba(56, 189, 248, 0.14);
            border: 1px solid rgba(56, 189, 248, 0.24);
            color: #7dd3fc;
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 0.16em;
            font-weight: 700;
        }
        .directory-metrics {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.75rem;
            color: #94a3b8;
            font-size: 0.8rem;
        }
        .directory-metric {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }
        .directory-metric-label {
            text-transform: uppercase;
            letter-spacing: 0.18em;
            color: #8b98ae;
            font-size: 0.68rem;
        }
        .directory-metric-value {
            color: white;
            font-weight: 700;
            font-size: 0.95rem;
        }
        .ranking-card-grid {
            display: grid;
            grid-template-columns: repeat(1, minmax(0, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }
        @media (min-width: 768px) {
            .ranking-card-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }
        .ranking-card {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 1rem;
            padding: 1.5rem;
            border-radius: 28px;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.1);
            transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
            cursor: pointer;
        }
        .ranking-card:hover {
            transform: translateY(-3px);
            border-color: rgba(255,255,255,0.18);
            background: rgba(255,255,255,0.07);
        }
        .ranking-card h3 {
            margin: 0;
            font-size: 1.3rem;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }
        .ranking-card p {
            margin: 0;
            color: #cbd5e1;
            line-height: 1.6;
        }
        .ranking-flag-box {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.6rem 0.9rem;
            border-radius: 999px;
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.12);
            color: #f8fafc;
            font-size: 0.82rem;
            font-weight: 700;
        }
        .ranking-flag-box img {
            width: 24px;
            height: 18px;
            border-radius: 4px;
            object-fit: cover;
        }

        .artist-project-grid,
        .artist-similar-grid {
            display: grid;
            grid-template-columns: repeat(1, minmax(0, 1fr));
            gap: 1.25rem;
        }
        .track-card {
            position: relative;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 24px;
            padding: 1rem 5.5rem 1rem 1rem;
            transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            min-height: 140px;
        }
        .track-play-btn {
            position: absolute;
            top: 1rem;
            right: 1rem;
            width: 42px;
            height: 42px;
            border-radius: 999px;
            background: rgba(255,255,255,0.12);
            border: 1px solid rgba(255,255,255,0.14);
            color: white;
            display: grid;
            place-items: center;
            cursor: pointer;
            transition: transform 0.2s ease, background-color 0.2s ease;
            z-index: 2;
        }
        .track-play-btn:hover,
        .track-card:hover .track-play-btn {
            transform: translateY(-1px);
            background: rgba(255,255,255,0.18);
        }
        .track-play-btn:focus-visible {
            outline: 2px solid rgba(255,255,255,0.45);
            outline-offset: 3px;
        }
        .track-play-btn .material-symbols-rounded {
            font-size: 1.2rem;
        }
        .track-card:hover {
            transform: translateY(-2px);
            border-color: rgba(255,255,255,0.16);
            background: rgba(255,255,255,0.06);
        }
        .track-card-inner {
            display: grid;
            grid-template-columns: 56px minmax(0, 1fr) auto;
            gap: clamp(0.55rem, 2.5vw, 1rem);
            align-items: center;
            min-width: 0;
        }
        .track-card-inner > div:nth-child(2) {
            min-width: 0;
        }
        .track-card-cover {
            width: 56px;
            height: 56px;
            border-radius: 18px;
            background: linear-gradient(135deg, rgba(59,130,246,0.4), rgba(168,85,247,0.32));
            overflow: hidden;
            flex-shrink: 0;
            border: 1px solid rgba(255,255,255,0.12);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .track-card-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .track-card-cover-fallback {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(99,102,241,0.6), rgba(168,85,247,0.5));
            color: rgba(255,255,255,0.94);
            font-size: 1rem;
            font-weight: 900;
            letter-spacing: -0.05em;
        }
        .track-card-title {
            min-width: 0;
            margin: 0;
            font-weight: 800;
            color: white;
            line-height: 1.2;
            overflow: hidden;
            text-overflow: ellipsis;
            overflow-wrap: anywhere;
            word-break: normal;
            display: -webkit-box;
            line-clamp: 2;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        .track-card-meta {
            color: #94a3b8;
            font-size: 0.86rem;
            line-height: 1.5;
        }
        .track-card-duration {
            color: #94a3b8;
            font-size: 0.86rem;
            white-space: nowrap;
            justify-self: end;
        }
        .track-card-side {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 6px;
        }
        .track-card-store-actions {
            display: flex;
            gap: 5px;
        }
        .track-card-store-action {
            display: grid;
            place-items: center;
            width: 30px;
            height: 30px;
            padding: 0;
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 10px;
            color: #f8fafc;
            background: rgba(255,255,255,0.08);
            cursor: pointer;
            transition: background-color 0.2s ease, border-color 0.2s ease;
        }
        .track-card-store-action:hover {
            background: rgba(255,255,255,0.16);
            border-color: rgba(255,255,255,0.24);
        }
        .track-card-store-action:focus-visible {
            outline: 2px solid rgba(255,255,255,0.55);
            outline-offset: 2px;
        }
        .track-card-store-action .material-symbols-rounded {
            font-size: 17px;
        }
        .track-card-placeholder {
            min-height: 140px;
            border-radius: 24px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.08);
            animation: pulse 1.4s ease-in-out infinite;
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.55; }
        }
        @media (min-width: 768px) {
            .artist-project-grid,
            .artist-similar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }
        @media (min-width: 1024px) {
            .artist-project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
            .artist-similar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
        }
        .artist-project-card,
        .artist-similar-card {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 28px;
            overflow: hidden;
            transition: transform 0.25s ease, border-color 0.25s ease;
        }
        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 48px;
            height: 48px;
            border-radius: 999px;
            background: rgba(10, 12, 18, 0.85);
            border: 1px solid rgba(255,255,255,0.12);
            color: white;
            display: grid;
            place-items: center;
            cursor: pointer;
            z-index: 10;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
            transition: transform 0.2s ease, background-color 0.2s ease;
        }
        @media (max-width: 640px) {
            .carousel-nav {
                width: 40px;
                height: 40px;
            }
            .carousel-nav .material-symbols-rounded {
                font-size: 1.1rem;
            }
        }
        .carousel-nav:hover {
            transform: translateY(-50%) scale(1.05);
            background: rgba(255,255,255,0.08);
        }
        .carousel-nav.left { left: 0; }
        .carousel-nav.right { right: 0; }
        .carousel-card {
            min-width: 240px;
            max-width: 260px;
            scroll-snap-align: start;
        }
        .similar-card-circle {
            width: 140px;
            height: 140px;
            border-radius: 50%;
            overflow: hidden;
            border: 2px solid rgba(255,255,255,0.08);
            box-shadow: 0 20px 40px rgba(0,0,0,0.28);
            background: rgba(255,255,255,0.04);
        }
        .similar-card-circle img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .similar-card-content {
            padding: 1rem 0 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.65rem;
        }
        .pagination-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }
        .pagination-btn {
            min-width: 120px;
            transition: transform 0.2s ease, background-color 0.2s ease;
        }
        .pagination-btn:hover:not(:disabled) {
            transform: translateY(-2px);
            background-color: rgba(255,255,255,0.14);
        }
        .pagination-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        .pagination-info {
            color: var(--muted);
            font-size: 0.95rem;
        }
        .artist-project-card:hover,
        .artist-similar-card:hover {
            transform: translateY(-4px);
            border-color: rgba(255,255,255,0.16);
        }
        .artist-transition-overlay {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 60;
            opacity: 0;
            transition: opacity 0.35s ease;
            background: radial-gradient(circle at 35% 20%, rgba(96, 165, 250, 0.18), transparent 24%),
                        radial-gradient(circle at 65% 25%, rgba(236, 72, 153, 0.16), transparent 20%),
                        radial-gradient(circle at 50% 80%, rgba(56, 189, 248, 0.14), transparent 22%);
            backdrop-filter: blur(16px);
            mix-blend-mode: screen;
        }
        .artist-transition-active .artist-transition-overlay {
            opacity: 1;
        }
        .artist-transition-card {
            position: absolute;
            inset: 50% auto auto 50%;
            transform: translate(-50%, -50%) scale(0.75);
            width: clamp(180px, 22vw, 240px);
            height: clamp(180px, 22vw, 240px);
            border-radius: 50%;
            overflow: hidden;
            border: 2px solid rgba(255,255,255,0.22);
            box-shadow: 0 0 80px rgba(56, 189, 248, 0.35), inset 0 0 30px rgba(255,255,255,0.18);
            background: rgba(255,255,255,0.05);
            backdrop-filter: blur(24px);
            animation: artist-transition-zoom 0.75s ease forwards;
        }
        .artist-transition-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            will-change: transform;
        }
        .artist-transition-fade {
            opacity: 0.18;
            transform: scale(0.98);
            filter: blur(1px);
            transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
        }
        @keyframes artist-transition-zoom {
            0% {
                transform: translate(-50%, -50%) scale(0.75);
                opacity: 0.8;
            }
            100% {
                transform: translate(-50%, -50%) scale(1.12);
                opacity: 1;
            }
        }
        .artist-project-cover {
            aspect-ratio: 1.2/1;
            background-size: cover;
            background-position: center;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }
        .artist-project-card-content,
        .artist-similar-card-content {
            padding: 1rem;
        }
        .artist-single-card-cover {
            position: relative;
            height: 200px;
            background-size: cover;
            background-position: center;
        }
        .artist-single-play-button {
            position: absolute;
            right: 14px;
            bottom: 14px;
            display: grid;
            place-items: center;
            width: 46px;
            height: 46px;
            border: 1px solid rgba(255,255,255,.32);
            border-radius: 50%;
            background: #050505;
            color: #fff;
            box-shadow: 0 10px 24px rgba(0,0,0,.55), 0 0 0 5px rgba(0,0,0,.24);
            font-size: 24px;
            transition: transform .2s ease, box-shadow .2s ease;
        }
        .artist-single-card:hover .artist-single-play-button,
        .artist-single-play-button.is-playing {
            transform: scale(1.08);
            border-color: rgba(255,255,255,.55);
            box-shadow: 0 12px 28px rgba(0,0,0,.65), 0 0 0 7px rgba(255,255,255,.12);
        }
        .project-player-overlay {
            position: fixed;
            inset: 0;
            z-index: 80;
            display: none;
            overflow-y: auto;
            padding: 24px;
            background: rgba(5, 5, 8, .86);
            backdrop-filter: blur(24px) saturate(125%);
        }
        .project-player-overlay.show { display: block; }
        .artist-about-overlay {
            position: fixed;
            inset: 0;
            z-index: 120;
            display: none;
            place-items: center;
            padding: 20px;
            background: rgba(2, 3, 8, .78);
            backdrop-filter: blur(18px) saturate(120%);
        }
        .artist-about-overlay.show { display: grid; }
        .artist-about-dialog {
            position: relative;
            width: min(560px, 100%);
            max-height: min(82vh, 760px);
            overflow-y: auto;
            padding: 28px;
            border: 1px solid rgba(255,255,255,.12);
            border-radius: 30px;
            color: #f8fafc;
            background: radial-gradient(circle at 5% 0%, rgba(239,68,68,.16), transparent 42%), linear-gradient(145deg, rgba(20,21,30,.99), rgba(7,8,13,.99));
            box-shadow: 0 35px 110px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.07);
            animation: artist-about-enter .2s ease-out both;
        }
        @keyframes artist-about-enter {
            from { opacity: 0; transform: translateY(10px) scale(.98); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        .artist-about-close {
            position: absolute;
            top: 16px;
            right: 16px;
            display: grid;
            width: 40px;
            height: 40px;
            place-items: center;
            border: 1px solid rgba(255,255,255,.12);
            border-radius: 50%;
            color: #e5e7eb;
            background: rgba(255,255,255,.06);
            cursor: pointer;
        }
        .artist-about-kicker {
            color: #fb7185;
            font-size: 11px;
            font-weight: 900;
            letter-spacing: .24em;
            text-transform: uppercase;
        }
        .artist-about-title { margin: 8px 48px 0 0; font-size: clamp(26px, 6vw, 36px); font-weight: 900; letter-spacing: -.04em; }
        .artist-about-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: #7dd3fc; font-size: 13px; font-weight: 700; }
        .artist-about-bio { margin-top: 22px; color: #d1d5db; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
        .artist-about-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
        .artist-about-detail { min-width: 0; padding: 13px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(255,255,255,.045); }
        .artist-about-detail-label { color: #9ca3af; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
        .artist-about-detail-value { margin-top: 5px; color: #f8fafc; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
        .artist-about-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
        .artist-about-social-link { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: #e5e7eb; background: rgba(255,255,255,.05); font-size: 13px; font-weight: 700; }
        .artist-about-social-link:hover { background: rgba(255,255,255,.1); }
        .profile-menu-item.loading { justify-content: center; cursor: wait; }
        .profile-menu-item:disabled { opacity: .85; }
        @media (max-width: 520px) {
            .artist-about-overlay { padding: 12px; }
            .artist-about-dialog { padding: 24px 18px; border-radius: 24px; }
            .artist-about-details { gap: 8px; }
            .artist-about-detail { padding: 11px; }
        }
        .project-player-shell {
            width: min(980px, 100%);
            margin: 0 auto;
            border: 1px solid var(--border);
            border-radius: 36px;
            overflow: hidden;
            background: linear-gradient(145deg, rgba(13,14,22,.99), rgba(5,5,8,.99));
            box-shadow: 0 40px 120px rgba(0,0,0,.55);
        }
        .project-player-hero {
            display: grid;
            grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
            gap: 28px;
            align-items: end;
            padding: 28px;
            background: radial-gradient(circle at 15% 0%, rgba(239,68,68,.2), transparent 44%), linear-gradient(135deg, rgba(255,255,255,.045), transparent 58%);
        }
        .project-player-cover { width: 100%; aspect-ratio: 1; border-radius: 26px; background: center/cover no-repeat; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 22px 48px rgba(0,0,0,.38); }
        .project-player-kicker { color: #fb7185; font-size: 11px; font-weight: 900; letter-spacing: .25em; text-transform: uppercase; }
        .project-player-title { margin: 8px 0; color: #fff; font-size: clamp(30px, 6vw, 62px); font-weight: 950; letter-spacing: -.06em; line-height: .95; }
        .project-player-meta { color: #a1a1aa; font-size: 14px; }
        .project-player-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
        .project-player-action { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 12px 17px; color: #fff; background: rgba(255,255,255,.08); cursor: pointer; }
        .project-player-action.primary { background: linear-gradient(135deg, #ff3d5f, #ff6d41); border-color: rgba(255,109,65,.65); box-shadow: 0 10px 26px rgba(255,61,95,.2); }
        .project-player-action.primary:hover { filter: brightness(1.06); box-shadow: 0 14px 32px rgba(255,61,95,.28); }
        .project-player-close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 50%; color: #fff; background: rgba(5,5,8,.72); cursor: pointer; }
        .project-player-body { padding: 24px 28px 32px; }
        .project-player-list { display: grid; gap: 8px; }
        .project-player-track { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; border: 1px solid transparent; border-radius: 18px; color: #fff; text-align: left; background: transparent; cursor: pointer; }
        .project-player-track:hover, .project-player-track.is-current { border-color: rgba(251,113,133,.38); background: rgba(255,255,255,.07); }
        .project-player-track-number { color: #a1a1aa; text-align: center; }
        .project-player-track-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
        .project-player-track-meta { color: #a1a1aa; font-size: 12px; margin-top: 3px; }
        .project-player-track-duration { color: #a1a1aa; font-size: 12px; }
        .project-player-next { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
        @media (max-width: 640px) {
            .project-player-overlay { padding: 10px; }
            .project-player-hero { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
            .project-player-cover { width: min(100%, 280px); margin: 0 auto; }
            .project-player-body { padding: 20px 14px 28px; }
        }
        .artist-similar-card-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            margin-top: 0.75rem;
        }

        /* Profile Header Redesign */
        .profile-header-premium {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 3rem 1.5rem 2rem;
            gap: 1.5rem;
        }
        .profile-avatar-container {
            position: relative;
            width: 160px;
            height: 160px;
        }
        .profile-avatar-circle {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            overflow: hidden;
            border: 3px solid rgba(138, 214, 255, 0.3);
            box-shadow: 0 0 40px rgba(138, 214, 255, 0.2), inset 0 0 20px rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(138, 214, 255, 0.05);
        }
        .avatar-loader {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 68px;
            height: 68px;
            border-radius: 50%;
            border: 4px solid rgba(255,255,255,0.12);
            border-top-color: rgba(255,255,255,0.95);
            box-shadow: 0 4px 14px rgba(0,0,0,0.35);
            animation: avatar-spin 1s linear infinite;
            z-index: 2;
        }
        .avatar-loader.hidden { display: none; }
        @keyframes avatar-spin {
            from { transform: translate(-50%, -50%) rotate(0deg); }
            to { transform: translate(-50%, -50%) rotate(360deg); }
        }
        /* small inline spinner used for buttons */
        .btn-spinner {
            display: inline-block;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 2px solid rgba(255,255,255,0.12);
            border-top-color: rgba(255,255,255,0.95);
            animation: spinner-anim 0.8s linear infinite;
            vertical-align: middle;
            margin-right: 8px;
        }
        @keyframes spinner-anim { to { transform: rotate(360deg); } }
        .profile-avatar-circle img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .profile-name-badge {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.75rem;
            width: 100%;
        }
        .profile-name-with-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        .profile-artist-name {
            font-size: 2.5rem;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            background: linear-gradient(135deg, #fff, #e5e7eb);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        /* Title skeleton while loading */
        .title-skeleton {
            width: clamp(160px, 36vw, 420px);
            height: 2.6rem;
            border-radius: 8px;
            background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.12), rgba(255,255,255,0.06));
            box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
            animation: skeleton-pulse 1.4s ease-in-out infinite;
            margin-right: 0.75rem;
        }
        @keyframes skeleton-pulse {
            0%,100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        .fade-in {
            animation: title-fade-in 420ms ease-out both;
        }
        @keyframes title-fade-in {
            from { opacity: 0; transform: translateY(6px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .profile-badge-verified {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.6rem 1rem;
            border-radius: 999px;
            background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(34, 197, 255, 0.15));
            border: 1.5px solid rgba(0, 113, 227, 0.4);
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: #22c5ff;
            box-shadow: 0 0 20px rgba(0, 113, 227, 0.2);
        }
        .profile-badge-verified span {
            font-size: 1.1em;
        }
        .profile-meta-info {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.75rem;
            font-size: 0.875rem;
            color: #a1a5b0;
        }
        .profile-bio-section {
            max-width: 640px;
            width: 100%;
        }
        .profile-bio-text {
            color: #d1d5db;
            line-height: 1.6;
            font-size: 0.95rem;
            margin: 0;
        }
        .profile-bio-text.collapsed {
            display: -webkit-box;
            line-clamp: 2;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .profile-bio-expand-btn {
            background: none;
            border: none;
            color: #0071e3;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.875rem;
            padding: 0.5rem 0;
            margin-top: 0.75rem;
            transition: color 0.2s ease;
        }
        .profile-bio-expand-btn:hover {
            color: #22c5ff;
        }








/* centre parfaitement les stats */
.profile-stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;

    width: 100%;
    margin-inline: auto;
}

/* garde des cartes propres */
.profile-stat-item {
    min-width: 140px;
}










        @media (min-width: 768px) {
            .profile-stats-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        .profile-stat-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 20px;
            text-align: center;
        }
        .profile-stat-value {
            font-size: 1.4rem;
            font-weight: 900;
            color: white;
        }
        .profile-stat-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: #94a3b8;
        }

        /* Profile Action Buttons */
        .profile-actions-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.75rem;
            width: 100%;
            max-width: 400px;
        }
        @media (min-width: 768px) {
            .profile-actions-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        .profile-action-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 0.75rem;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 18px;
            color: white;
            cursor: pointer;
            transition: all 0.24s ease;
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }
        .profile-action-btn:hover {
            background: rgba(255,255,255,0.1);
            border-color: rgba(255,255,255,0.2);
            transform: translateY(-2px);
        }
        .profile-action-btn:active {
            transform: translateY(0);
        }
        .profile-action-btn.profile-action-primary {
            background: linear-gradient(135deg, #ff3d5f, #ff6d41);
            border-color: rgba(255,61,95,0.5);
        }
        .profile-action-btn.profile-action-primary:hover {
            background: linear-gradient(135deg, #ff2d4f, #ff5d31);
            border-color: #ff3d5f;
            box-shadow: 0 8px 20px rgba(255,61,95,0.3);
        }
        .profile-action-btn.liked {
            background: rgba(239,68,68,0.2);
            border-color: rgba(239,68,68,0.4);
            color: #fca5a5;
        }
        .profile-action-btn .material-symbols-rounded {
            font-size: 1.3rem;
        }
        .profile-action-btn .btn-text {
            display: none;
        }
        @media (min-width: 1024px) {
            .profile-action-btn .btn-text {
                display: inline;
            }
        }

        /* Vertical spacer between sections */
        .section-divider {
            height: 3px;
            background: linear-gradient(90deg, transparent, rgba(138, 214, 255, 0.2), transparent);
            margin: 2rem 0;
        }








/* Conteneur parent (Optionnel mais recommandé pour le centrage) */
.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Style de base du bouton Premium */
.directory-artist-button {
  /* Position & Alignement */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto; /* Assure le centrage horizontal si le parent est un bloc standard */
  
  /* Dimensions & Espacement (Largeur réduite ici) */
  padding: 12px 20px; /* Réduit de 28px à 20px pour un aspect moins large */
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  
  /* Couleurs & Bordures (Passage au Rouge) */
  color: #ffffff;
  background: linear-gradient(135px, #1a1a1a 0%, #2a2a2a 100%);
  border: 1px solid rgba(214, 40, 40, 0.4); /* Bordure rouge subtile */
  border-radius: 50px; /* Effet pilule */
  
  /* Effets & Transitions */
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Effet au survol (Hover) */
.directory-artist-button:hover {
  color: #ffffff; /* Reste en blanc pour un meilleur contraste sur le rouge */
  background: linear-gradient(135px, #d62828 0%, #e63946 100%); /* Dégradé Rouge premium */
  border-color: #e63946;
  transform: translateY(-2px); /* Léger soulèvement */
  box-shadow: 0 6px 20px rgba(214, 40, 40, 0.4); /* Lueur rouge */
}

/* Effet au clic (Active) */
.directory-artist-button:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(214, 40, 40, 0.2);
}

/* Animation de reflet de lumière */
.directory-artist-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 20%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: none;
}

.directory-artist-button:hover::after {
  left: 125%;
  transition: all 0.75s ease-in-out;
}


        




/* ===== PREMIUM PROFILE ACTIONS REFINEMENT ===== */

.profile-actions-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;

    width: 100%;
    max-width: 520px;
    margin-top: 0.5rem;
}

/* overwrite léger seulement */
.profile-action-btn {
    position: relative;

    flex-direction: row;
    justify-content: center;
    gap: 0.65rem;

    min-width: 140px;
    height: 54px;

    padding: 0 1.2rem;

    border-radius: 18px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.07),
            rgba(255,255,255,0.03)
        );

    border: 1px solid rgba(255,255,255,0.09);

    backdrop-filter: blur(10px);

    overflow: hidden;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* glow subtil */
.profile-action-btn::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.10),
            transparent 60%
        );

    opacity: 0;
    transition: opacity 0.2s ease;
}

.profile-action-btn:hover::before {
    opacity: 1;
}

.profile-action-btn:hover {
    transform: translateY(-2px);

    border-color: rgba(255,255,255,0.16);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.10),
            rgba(255,255,255,0.05)
        );

    box-shadow:
        0 12px 30px rgba(0,0,0,0.22);
}

.profile-chat-unavailable,
.profile-chat-unavailable:hover,
.profile-chat-unavailable:active {
    opacity: .62;
    filter: grayscale(1);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.profile-chat-unavailable::before { display: none; }
.profile-chat-status {
    position: absolute;
    right: 2px;
    bottom: 2px;
    z-index: 2;
    padding: 3px 6px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    color: #cbd5e1;
    background: #15161d;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* bouton principal */
.profile-action-primary {
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #dfe7ff
        );

    color: #050505;

    border: none;

    font-weight: 800;

    box-shadow:
        0 10px 30px rgba(255,255,255,0.12);
}

.profile-action-primary:hover {
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f3f4f6
        );

    box-shadow:
        0 16px 40px rgba(255,255,255,0.16);
}

/* icones */
.profile-action-btn .material-symbols-rounded {
    font-size: 1.15rem;
}

/* texte visible uniquement sur grand écran */
@media (min-width: 1024px) {
    .profile-action-btn .btn-text {
        display: inline-flex !important;
        align-items: center;
    }
}

/* mobile */
@media (max-width: 640px) {

    .profile-actions-grid {
        gap: 0.7rem;
    }

    .profile-action-btn {
        flex: 1;
        min-width: 0;
        height: 50px;

        padding: 0 1rem;

        font-size: 0.78rem;
    }

    .profile-action-btn .btn-text {
        font-size: 0.74rem;
    }
}










/* wrapper */
.profile-menu-wrapper {
    position: relative;
}

/* bouton menu */
.profile-menu-trigger {
    min-width: unset;
    width: 54px;
    padding: 0;
}

/* floating menu */
.profile-floating-menu {
    position: absolute;

    top: calc(100% + 10px);
    right: 0;

    width: 220px;

    padding: 0.45rem;

    border-radius: 22px;

    background:
        linear-gradient(
            180deg,
            rgba(22,22,24,0.96),
            rgba(10,10,12,0.96)
        );

    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(30px);

    box-shadow:
        0 30px 80px rgba(0,0,0,0.45),
        0 0 0 1px rgba(255,255,255,0.03) inset;

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(-8px)
        scale(0.96);

    transform-origin: top right;

    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;

    z-index: 200;
}

/* menu ouvert */
.profile-floating-menu.active {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}

/* items */
.profile-menu-item {
    width: 100%;

    display: flex;
    align-items: center;
    gap: 0.85rem;

    padding: 0.95rem 1rem;

    border: none;
    background: transparent;

    border-radius: 16px;

    color: white;

    cursor: pointer;

    font-size: 0.92rem;
    font-weight: 600;

    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.profile-menu-item:hover {
    background: rgba(255,255,255,0.06);
}

.profile-menu-item .material-symbols-rounded {
    font-size: 1.1rem;
    color: #cbd5e1;
}




/* wrapper */
.profile-chat-wrapper {
    position: relative;
}

/* modal */
.profile-chat-modal {
    position: absolute;

    top: calc(100% + 10px);
    left: 50%;

    transform:
        translateX(-50%)
        translateY(-8px)
        scale(0.96);

    width: 300px;

    padding: 1rem;

    border-radius: 24px;

    background:
        linear-gradient(
            180deg,
            rgba(18,18,20,0.97),
            rgba(8,8,10,0.97)
        );

    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(30px);

    box-shadow:
        0 30px 80px rgba(0,0,0,0.42);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;

    z-index: 300;
}

/* active */
.profile-chat-modal.active {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0)
        scale(1);
}

/* header */
.profile-chat-modal-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;

    margin-bottom: 1rem;
}

.profile-chat-modal-icon {
    width: 54px;
    height: 54px;

    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            rgba(0,113,227,0.25),
            rgba(34,197,255,0.18)
        );

    border: 1px solid rgba(34,197,255,0.22);
}

.profile-chat-modal-icon .material-symbols-rounded {
    color: #7dd3fc;
    font-size: 1.4rem;
}

.profile-chat-modal h4 {
    margin: 0;
    color: white;
    font-size: 1rem;
    font-weight: 800;
}

.profile-chat-modal p {
    margin: 0.3rem 0 0;
    color: #94a3b8;
    font-size: 0.82rem;
    line-height: 1.4;
}

/* bouton rejoindre */
.profile-chat-join-btn {
    width: 100%;

    height: 52px;

    border: none;
    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;

    cursor: pointer;

    font-weight: 700;
    font-size: 0.92rem;

    color: #050505;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #dbeafe
        );

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.profile-chat-join-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(255,255,255,0.12);
}


/* toast */
.premium-toast {
    position: fixed;

    left: 50%;
    bottom: 30px;

    transform: translateX(-50%) translateY(20px);

    padding: 1rem 1.2rem;

    border-radius: 18px;

    background:
        linear-gradient(
            180deg,
            rgba(20,20,22,0.96),
            rgba(8,8,10,0.96)
        );

    border: 1px solid rgba(255,255,255,0.08);

    color: white;

    font-size: 0.9rem;
    font-weight: 600;

    backdrop-filter: blur(20px);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.4);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.22s ease,
        transform 0.22s ease;

    z-index: 9999;
}

.premium-toast.show {
    opacity: 1;
    visibility: visible;

    transform: translateX(-50%) translateY(0);
}




.profile-floating-menu {
    top: calc(100% + 10px);
    bottom: auto;
}

.profile-floating-menu.menu-top {
    top: auto;
    bottom: calc(100% + 10px);

    transform-origin: bottom right;
}



/* position normale */
.profile-chat-modal {
    top: calc(100% + 10px);
    bottom: auto;
}

/* ouverture vers le haut */
.profile-chat-modal.modal-top {

    top: auto;
    bottom: calc(100% + 10px);

    transform-origin: bottom center;
}

.profile-login-popover {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: calc(env(safe-area-inset-top, 0px) + 4rem) 16px 16px;
}

.profile-login-popover[aria-hidden="true"] {
    display: none;
}

.profile-login-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 4, 10, 0.62);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.profile-login-card {
    position: relative;
    width: min(100%, 340px);
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 5rem);
    overflow-y: auto;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(28, 29, 38, 0.98), rgba(11, 12, 18, 0.98));
    color: #f8fafc;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.profile-login-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.profile-login-eyebrow {
    margin: 0 0 4px;
    color: #fb7185;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.profile-login-card h2 {
    margin: 0;
    padding-right: 22px;
    color: inherit;
    font-size: 1.05rem;
    font-weight: 800;
}

.profile-login-message {
    margin: 7px 0 14px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.76rem;
    line-height: 1.45;
}

.profile-login-card form {
    display: grid;
    gap: 7px;
}

.profile-login-card label {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.68rem;
    font-weight: 700;
}

.profile-login-card input {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    outline: none;
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    font: inherit;
    font-size: 0.78rem;
}

.profile-login-card input:focus {
    border-color: rgba(251, 113, 133, 0.72);
    box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.12);
}

.profile-login-error {
    margin: 2px 0;
    color: #fda4af;
    font-size: 0.72rem;
    line-height: 1.4;
}

.profile-login-card form > button {
    min-height: 42px;
    margin-top: 4px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(100deg, #ff1744, #fb3d72);
    color: #fff;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
}

.profile-login-card form > button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.profile-login-signup {
    display: table;
    margin: 12px auto 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.73rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 3px;
}

@media (max-width: 360px) {
    .profile-login-popover {
        padding-right: 12px;
        padding-left: 12px;
    }

    .profile-login-card {
        padding: 17px;
    }
}
