html, body {
            margin: 0;
            padding: 0;
        }
        /* ── Design tokens (Spotify-inspired, refreshed) ── */
        :root {
            --ci-accent: #1ed760;
            --ci-accent-2: #14a850;
            --ci-accent-soft: rgba(30, 215, 96, 0.14);
            --ci-accent-glow: rgba(30, 215, 96, 0.35);
            --ci-save: #fcd34d;
            --ci-bg: #0d0f11;
            --ci-surface-1: rgba(30, 34, 38, 0.72);
            --ci-surface-2: rgba(38, 43, 48, 0.85);
            --ci-surface-3: rgba(48, 54, 60, 0.92);
            --ci-border: rgba(150, 160, 170, 0.14);
            --ci-border-strong: rgba(150, 160, 170, 0.26);
            --ci-shadow: 0 26px 64px -32px rgba(0, 0, 0, 0.95);
            --ci-shadow-sm: 0 12px 32px -18px rgba(0, 0, 0, 0.85);
        }
        html, body { margin: 0; padding: 0; }
        h1, h2, h3, .font-heading {
            font-family: 'Outfit', Inter, sans-serif;
            letter-spacing: -0.02em;
        }
        body {
            font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
            color: #f3f4f6;
            background: var(--ci-bg);
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
            overflow-x: hidden;
        }
        /* Dynamic Animated Floating Background Orbs */
        body::before {
            content: "";
            position: fixed;
            top: -20%;
            left: -10%;
            width: 70vw;
            height: 70vw;
            border-radius: 50%;
            z-index: -3;
            background: radial-gradient(circle, rgba(30, 215, 96, 0.16) 0%, rgba(20, 168, 80, 0.05) 50%, transparent 70%);
            filter: blur(80px);
            animation: float-orb-1 22s ease-in-out infinite alternate;
            pointer-events: none;
        }
        body::after {
            content: "";
            position: fixed;
            bottom: -20%;
            right: -10%;
            width: 65vw;
            height: 65vw;
            border-radius: 50%;
            z-index: -2;
            background: radial-gradient(circle, rgba(168, 85, 247, 0.14) 0%, rgba(99, 102, 241, 0.04) 50%, transparent 70%);
            filter: blur(90px);
            animation: float-orb-2 26s ease-in-out infinite alternate;
            pointer-events: none;
        }
        @keyframes float-orb-1 {
            0% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(120px, 80px) scale(1.15); }
            100% { transform: translate(-60px, 140px) scale(0.95); }
        }
        @keyframes float-orb-2 {
            0% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(-140px, -90px) scale(1.2); }
            100% { transform: translate(80px, -150px) scale(0.9); }
        }
        /* Noise texture for organic depth */
        .ambient-noise {
            position: fixed;
            inset: 0;
            z-index: -1;
            pointer-events: none;
            opacity: 0.28;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
        }

        /* ── Top Progress Bar ── */
        #nprogress-bar {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            width: 0%;
            background: linear-gradient(90deg, #1ed760 0%, #10b981 50%, #6366f1 100%);
            box-shadow: 0 0 12px rgba(30, 215, 96, 0.8), 0 0 4px rgba(30, 215, 96, 0.5);
            z-index: 99999;
            transition: width 0.25s ease-out, opacity 0.3s ease;
            pointer-events: none;
            border-radius: 0 4px 4px 0;
        }

        /* Active Click Compression */
        button, .btn, [role="button"], .vote-btn, .ci-btn-primary {
            transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
        }
        button:active, .btn:active, .ci-btn-primary:active, [role="button"]:active {
            transform: scale(0.97) !important;
        }

        /* ── Unified surface / card system ── */
        .ci-card {
            background: rgba(28, 32, 38, 0.78);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 1.5rem;
            box-shadow: 0 20px 50px -25px rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(20px);
            transition: all .25s cubic-bezier(.2,.7,.3,1);
        }
        .ci-card:hover {
            border-color: rgba(30, 215, 96, 0.3);
            box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.95), 0 0 30px -10px rgba(30, 215, 96, 0.15);
        }
        .ci-card-hover {
            transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s ease, box-shadow .3s ease;
        }
        .ci-card-hover:hover {
            transform: translateY(-4px) scale(1.008);
            border-color: rgba(30, 215, 96, 0.4);
            box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.95), 0 0 35px -12px rgba(30, 215, 96, 0.25);
        }
        .glass-card {
            background: rgba(24, 28, 34, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.12);
            box-shadow: 0 25px 60px -25px rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(24px);
        }
        .soft-grid {
            background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
            background-size: 24px 24px;
        }
        /* Gradient brand text for headings. */
        .ci-gradient-text {
            background: linear-gradient(100deg, #ffffff 0%, #e2fbe8 40%, var(--ci-accent) 100%);
            -webkit-background-clip: text; background-clip: text;
            -webkit-text-fill-color: transparent; color: transparent;
        }
        /* Glow Pulse effect */
        .ci-glow-pulse {
            animation: ci-pulse-glow 3s infinite alternate cubic-bezier(0.4, 0, 0.6, 1);
        }
        @keyframes ci-pulse-glow {
            0% { box-shadow: 0 0 15px -5px rgba(30, 215, 96, 0.3); }
            100% { box-shadow: 0 0 30px 5px rgba(30, 215, 96, 0.6); }
        }

        /* Animated Equalizer for playing songs */
        .ci-eq-bars {
            display: inline-flex;
            align-items: flex-end;
            gap: 2px;
            height: 14px;
            width: 14px;
        }
        .ci-eq-bar {
            width: 3px;
            background-color: var(--ci-accent);
            border-radius: 99px;
            animation: eq-bounce 1s ease-in-out infinite alternate;
        }
        .ci-eq-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
        .ci-eq-bar:nth-child(2) { height: 100%; animation-delay: 0.3s; }
        .ci-eq-bar:nth-child(3) { height: 65%; animation-delay: 0.2s; }
        @keyframes eq-bounce {
            0% { height: 25%; }
            100% { height: 100%; }
        }

        /* Primary CTA - branded green with glow. */
        .ci-btn-primary {
            background: linear-gradient(135deg, var(--ci-accent) 0%, var(--ci-accent-2) 100%);
            color: #04220f; font-weight: 700; border: none;
            box-shadow: 0 12px 30px -10px var(--ci-accent-glow);
            transition: transform .2s ease, box-shadow .25s ease, filter .2s ease;
        }
        .ci-btn-primary:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.08); box-shadow: 0 18px 40px -8px var(--ci-accent-glow); }
        .ci-btn-primary:active { transform: translateY(0) scale(.98); }
        /* Brand logo mark. */
        .ci-logo-mark {
            display: inline-flex; align-items: center; justify-content: center;
            height: 2.2rem; width: 2.2rem; border-radius: 0.8rem;
            background: linear-gradient(135deg, var(--ci-accent) 0%, var(--ci-accent-2) 100%);
            color: #04220f; box-shadow: 0 8px 25px -6px var(--ci-accent-glow);
            transition: transform 0.25s ease;
        }
        .ci-logo-mark:hover { transform: rotate(5deg) scale(1.05); }
        /* ── Instant Modern Skeleton Loading Placeholders ── */
        @keyframes ci-shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }
        .ci-skeleton {
            background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.10) 37%, rgba(255, 255, 255, 0.04) 63%);
            background-size: 400% 100%;
            animation: ci-shimmer 1.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
            border-radius: 0.75rem;
        }
        .ci-skeleton-card {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.85rem 1.25rem;
            background: rgba(33, 37, 43, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 1.25rem;
        }

        /* Accent focus ring for inputs. */
        .ci-focus:focus { outline: none; border-color: var(--ci-accent); box-shadow: 0 0 0 3px var(--ci-accent-soft); }
        /* Custom scrollbar. */
        * { scrollbar-width: thin; scrollbar-color: rgba(150,160,170,0.28) transparent; }

        ::-webkit-scrollbar { width: 10px; height: 10px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: rgba(150,160,170,0.25); border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
        ::-webkit-scrollbar-thumb:hover { background: rgba(30,215,96,0.5); background-clip: content-box; }
        /* Song-card vote/save toggle buttons (like / save) */
        .vote-btn { display: inline-flex; align-items: center; justify-content: center; color: #a8a29e; transition: color .18s ease, background-color .18s ease, transform .18s ease; }
        .vote-btn:hover { color: #e7e5e4; background-color: rgba(120,120,120,0.22); transform: scale(1.1); }
        .vote-btn:active { transform: scale(0.9); }
        /* One SVG is used for each action: changing its fill cannot make the
           active icon disappear while the pointer is over the button. */
        .vote-btn .icon-toggle { fill: none; transition: fill .18s ease; }
        .vote-btn.is-active .icon-toggle { fill: currentColor !important; stroke: currentColor !important; opacity: 1 !important; visibility: visible !important; }
        .vote-btn.like.is-active { color: var(--ci-accent) !important; filter: none; }
        .vote-btn.save.is-active { color: var(--ci-save) !important; filter: none; }
        .vote-btn.like.is-active:hover, .vote-btn.save.is-active:hover { opacity: 1 !important; }
        /* In-flight lock: prevents double-click races and shows subtle "working" state */
        .vote-btn.is-pending { opacity: .6; pointer-events: none; }
        /* Heart / bookmark "pop" on toggle */
        .vote-btn.pop .icon-toggle { animation: ci-pop .42s cubic-bezier(.2,.8,.2,1); transform-origin: center; }
        @keyframes ci-pop {
            0%   { transform: scale(1); }
            30%  { transform: scale(1.4); }
            55%  { transform: scale(.85); }
            100% { transform: scale(1); }
        }
        /* Authentication fields: labels float above a focused or completed field. */
        .ci-floating-field { position: relative; padding-top: .5rem; }
        .ci-floating-field input { width: 100%; border: 0; border-bottom: 1px solid rgba(168,162,158,.65); border-radius: 0; background: transparent; padding: .7rem 0 .45rem; color: #f5f5f4; outline: none; }
        .ci-floating-field label { position: absolute; left: 0; top: 1.12rem; color: #a8a29e; font-size: .875rem; pointer-events: none; transition: transform .18s ease, color .18s ease, font-size .18s ease; }
        .ci-floating-field:focus-within label, .ci-floating-field input:valid ~ label { transform: translateY(-1.05rem); color: var(--ci-accent); font-size: .7rem; }
        .ci-floating-field:focus-within input { border-color: var(--ci-accent); }
        /* Playlist tiles on the overview grid */
        .playlist-card { transition: transform .25s cubic-bezier(.2,.7,.3,1), background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
        .playlist-card:hover { transform: translateY(-5px); border-color: rgba(30,215,96,0.4); background-color: rgba(45, 50, 58, 0.9); box-shadow: 0 20px 40px -15px rgba(0,0,0,0.8); }
        /* Entrance animation for sections / cards */
        @keyframes ci-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
        .ci-fade-up { animation: ci-fade-up .45s cubic-bezier(.2,.7,.3,1) both; }
        /* Staggered entrance for song rows inside a list */
        .song-row {
            transition: all 0.22s cubic-bezier(0.2, 0.7, 0.3, 1);
            animation: ci-fade-up .45s cubic-bezier(.2,.7,.3,1) both;
        }
        .song-row:hover {
            background-color: rgba(45, 52, 60, 0.75) !important;
            border-color: rgba(30, 215, 96, 0.3) !important;
            transform: translateX(4px);
        }
        [data-playlist-key] .song-row:nth-child(1) { animation-delay: .02s; }
        [data-playlist-key] .song-row:nth-child(2) { animation-delay: .05s; }
        [data-playlist-key] .song-row:nth-child(3) { animation-delay: .08s; }
        [data-playlist-key] .song-row:nth-child(4) { animation-delay: .11s; }
        [data-playlist-key] .song-row:nth-child(5) { animation-delay: .14s; }
        [data-playlist-key] .song-row:nth-child(n+6) { animation-delay: .17s; }
        /* Neon Login Box Styles & Animations */
        .login-box {
            position: relative;
            width: 100%;
            max-width: 440px;
            padding: 40px;
            background: rgba(22, 26, 32, 0.88);
            box-sizing: border-box;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px -10px rgba(30, 215, 96, 0.2);
            border-radius: 24px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(24px);
            overflow: hidden;
        }
        .login-box h2 {
            margin: 0 0 25px;
            padding: 0;
            color: #fff;
            text-align: center;
            font-family: 'Outfit', sans-serif;
            font-weight: 800;
        }
        .login-box .user-box {
            position: relative;
            margin-bottom: 24px;
        }
        .login-box .user-box input {
            width: 100%;
            padding: 12px 0 8px 0;
            font-size: 15px;
            color: #fff;
            border: none;
            border-bottom: 2px solid rgba(255, 255, 255, 0.2);
            outline: none;
            background: transparent;
            transition: border-color 0.3s ease;
        }
        .login-box .user-box label {
            position: absolute;
            top: 10px;
            left: 0;
            font-size: 14px;
            color: #a1a1aa;
            pointer-events: none;
            transition: 0.3s ease all;
        }
        .login-box .user-box input:focus ~ label,
        .login-box .user-box input:valid ~ label,
        .login-box .user-box input:not(:placeholder-shown) ~ label {
            top: -14px;
            left: 0;
            color: var(--ci-accent);
            font-size: 12px;
            font-weight: 700;
        }
        .login-box .user-box input:focus {
            border-bottom-color: var(--ci-accent);
        }
        .login-box .neon-btn {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            padding: 14px 20px;
            color: var(--ci-accent);
            font-size: 14px;
            font-weight: 800;
            text-decoration: none;
            text-transform: uppercase;
            overflow: hidden;
            transition: 0.4s ease;
            letter-spacing: 3px;
            border-radius: 12px;
            background: rgba(30, 215, 96, 0.08);
            border: 1px solid rgba(30, 215, 96, 0.35);
            margin-top: 15px;
            cursor: pointer;
        }
        .login-box .neon-btn:hover {
            background: var(--ci-accent);
            color: #04220f;
            box-shadow: 0 0 15px var(--ci-accent), 0 0 30px var(--ci-accent);
        }
        .login-box .neon-btn span {
            position: absolute;
            display: block;
        }
        .login-box .neon-btn span:nth-child(1) {
            top: 0; left: -100%; width: 100%; height: 2px;
            background: linear-gradient(90deg, transparent, var(--ci-accent));
            animation: btn-anim1 1.5s linear infinite;
        }
        @keyframes btn-anim1 { 0% { left: -100%; } 50%,100% { left: 100%; } }
        .login-box .neon-btn span:nth-child(2) {
            top: -100%; right: 0; width: 2px; height: 100%;
            background: linear-gradient(180deg, transparent, var(--ci-accent));
            animation: btn-anim2 1.5s linear infinite;
            animation-delay: .375s;
        }
        @keyframes btn-anim2 { 0% { top: -100%; } 50%,100% { top: 100%; } }
        .login-box .neon-btn span:nth-child(3) {
            bottom: 0; right: -100%; width: 100%; height: 2px;
            background: linear-gradient(270deg, transparent, var(--ci-accent));
            animation: btn-anim3 1.5s linear infinite;
            animation-delay: .75s;
        }
        @keyframes btn-anim3 { 0% { right: -100%; } 50%,100% { right: 100%; } }
        .login-box .neon-btn span:nth-child(4) {
            bottom: -100%; left: 0; width: 2px; height: 100%;
            background: linear-gradient(360deg, transparent, var(--ci-accent));
            animation: btn-anim4 1.5s linear infinite;
            animation-delay: 1.125s;
        }
        @keyframes btn-anim4 { 0% { bottom: -100%; } 50%,100% { bottom: 100%; } }

        /* Branded top gradient bar & icon badge from email design system */
        .ci-top-gradient-bar {
            height: 6px;
            width: 100%;
            background: linear-gradient(90deg, #1ed760 0%, #14a850 55%, #0bbf6a 100%);
            border-top-left-radius: inherit;
            border-top-right-radius: inherit;
        }
        .ci-brand-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 12px;
            background: linear-gradient(135deg, #1ed760, #14a850);
            color: #04220f;
            font-size: 20px;
            font-weight: 900;
            line-height: 38px;
            text-align: center;
            box-shadow: 0 8px 18px -6px rgba(30, 215, 96, 0.6);
            user-select: none;
        }

        /* Change tag chips next to a track title */
        .ci-tag { display: inline-flex; align-items: center; border-radius: 9999px; padding: 1px 8px; font-size: 10px; font-weight: 600; letter-spacing: .02em; background: var(--ci-accent-soft); color: var(--ci-accent); border: 1px solid rgba(30,215,96,0.3); }
        .ci-tag.lang { background: rgba(120,130,150,0.18); color: #cbd5e1; border-color: rgba(120,130,150,0.35); }
        @media (prefers-reduced-motion: reduce) {
            .ci-fade-up, .playlist-card, .vote-btn, .song-row, .vote-btn .icon-toggle, .ci-card-hover, .ci-btn-primary { animation: none !important; transition: none !important; }
        }
        .ci-menu-toggle { display: none; }
        @media (max-width: 640px) {
            .navbar { flex-wrap: wrap; }
            .navbar form { order: 3; width: 100%; padding: .35rem 0 0; }
            .ci-menu-toggle { display: inline-flex; }
            #navbar-actions { display: none; width: 100%; justify-content: flex-end; padding-top: .4rem; transform: translateY(-8px); opacity: 0; }
            #navbar-actions.is-open { display: flex; animation: ci-menu-in .2s ease-out forwards; }
        }
        @keyframes ci-menu-in { to { transform: translateY(0); opacity: 1; } }

        /* ── A11y: skip link, focus-visible, reduced-motion ── */
        .skip-link {
            position: absolute;
            left: -9999px;
            top: auto;
            width: 1px;
            height: 1px;
            overflow: hidden;
            z-index: 9999;
            background: var(--ci-accent);
            color: #04220f;
            padding: 8px 16px;
            border-radius: 9999px;
            font-weight: 700;
            text-decoration: none;
        }
        .skip-link:focus {
            left: 16px;
            top: 16px;
            width: auto;
            height: auto;
            overflow: visible;
            box-shadow: 0 4px 24px rgba(0,0,0,0.5);
        }
        :focus-visible {
            outline: 2px solid var(--ci-accent);
            outline-offset: 2px;
            border-radius: 4px;
        }
        :focus:not(:focus-visible) { outline: none; }
        /* Better tap targets */
        button, a, [role="button"] { min-height: 44px; min-width: 44px; }
        .btn, .vote-btn { min-height: 36px; min-width: 36px; }
        /* Footer */
        .site-footer {
            margin-top: auto;
            border-top: 1px solid var(--ci-border);
            background: rgba(18, 20, 24, 0.6);
            backdrop-filter: blur(12px);
        }
        /* Empty states */
        .empty-state {
            padding: 3rem 1.5rem;
            text-align: center;
            color: #a1a1aa;
            border: 1px dashed var(--ci-border);
            border-radius: 1.25rem;
            background: rgba(30,34,38,0.4);
        }
