.filter-tab.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important; color: var(--bg-color) !important; box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.35); }
.glass-card, .mz-card {
            background: linear-gradient(160deg, var(--surface-2), var(--surface));
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            box-shadow: 0 10px 28px rgba(0,0,0,0.45);
            transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), border-color 0.28s ease, box-shadow 0.28s ease;
        }
.glass-card:hover, .mz-card:hover {
            border-color: rgba(var(--accent-rgb), 0.45);
            box-shadow: 0 14px 34px rgba(0,0,0,0.55), 0 0 0 1px rgba(var(--accent-rgb), 0.12), 0 10px 30px -8px rgba(var(--accent-rgb), 0.35);
            transform: translateY(-3px);
        }
.glass-dock {
            background: color-mix(in srgb, var(--bg-elevated) 72%, transparent);
            border: 1px solid rgba(var(--accent-rgb), 0.10);
            box-shadow: 0 8px 32px color-mix(in srgb, var(--bg-elevated) 55%, transparent), inset 0 1px 0 rgba(255,255,255,0.04);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
        }
.glass {
            background: linear-gradient(160deg, var(--surface-2), var(--surface));
            box-shadow: 0 10px 26px rgba(0,0,0,0.4);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
        }
.glass-hover {
            transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
        }
.glass-hover:hover {
            border-color: rgba(var(--accent-rgb), 0.35);
            transform: translateY(-2px);
        }
.glass-strong {
            background: var(--surface);
            box-shadow: 0 12px 30px rgba(0,0,0,0.5);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        }
.glass-input {
            background: var(--surface);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            transition: box-shadow 0.3s ease, border-color 0.3s ease;
        }
.glass-input:focus-within, .glass-input:focus {
            border-color: rgba(var(--accent-rgb), 0.55);
            box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12);
        }
.glass-pane {
            background: var(--surface);
        }
.glass-edge {
            border: 1px solid var(--border-color);
        }
.btn-chrome {
            position: relative;
            overflow: hidden;
            background: var(--surface);
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            border-radius: var(--radius-sm);
            transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
        }
.btn-chrome:hover {
            transform: scale(1.02);
            border-color: rgba(var(--accent-rgb), 0.4);
            box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
        }
.btn-chrome:active {
            transform: scale(0.97);
        }
@keyframes slideUp{from{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}
.animate-slide-up{animation:slideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards}
@keyframes uiFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes uiFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes uiSheetIn { from { opacity: 0; transform: translateY(30px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes uiSheetOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(22px) scale(0.99); } }
@keyframes uiPageIn { from { opacity: 0; transform: translateY(28px) scale(0.988); } to { opacity: 1; transform: none; } }
@keyframes uiPageOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(22px) scale(0.99); } }
.ui-fade-in { animation: uiFadeIn 0.28s ease-out both; }
.ui-sheet { animation: uiSheetIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both; }
.ui-page-in { animation: uiPageIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both; }
.ui-page-out { animation: uiPageOut 0.22s ease-in both; }
.ui-pop.is-closing { animation: uiFadeOut 0.2s ease-in both; pointer-events: none; }
.ui-pop.is-closing > .ui-sheet,
        .ui-pop.is-closing > .share-card-anim { animation: uiSheetOut 0.2s ease-in both; }
#mini-prev-btn, #mini-next-btn {
            transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.18s ease;
        }
#mini-prev-btn:active, #mini-next-btn:active { transform: scale(0.85); }
#mini-prev-btn div, #mini-next-btn div { transition: background-color 0.2s ease, transform 0.2s ease; }
#mini-prev-btn:hover div, #mini-next-btn:hover div { transform: scale(1.08); }
@media (hover: none) {
            #mini-prev-btn:hover div, #mini-next-btn:hover div { transform: none; background-color: transparent; }
        }
.nav-dock {
            position: fixed;
            left: 50%;
            transform: translateX(-50%);
            bottom: max(16px, env(safe-area-inset-bottom, 16px));
            width: min(500px, calc(100vw - 20px));
            z-index: 40;
            --bar-w: 100%;
        }
.nav-bar {
            position: relative;
            display: flex;
            align-items: center;
            width: var(--bar-w);
            height: 62px;
            padding: 0 12px;
            border-radius: 999px;
            background: color-mix(in srgb, var(--bg-elevated) 90%, transparent);
            border: 1px solid rgba(var(--accent-rgb), 0.18);
            box-shadow:
                0 24px 44px -18px rgba(0, 0, 0, 0.80),
                0 8px 20px -12px rgba(var(--accent-rgb), 0.22),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            user-select: none;
            -webkit-user-select: none;
            isolation: isolate;
        }
.nav-group {
            flex: 1;
            display: grid;
            grid-template-columns: repeat(3, minmax(36px, 1fr));
            height: 100%;
        }
.nav-slot {
            flex: 0 0 clamp(70px, 20%, 86px);
        }
.nav-tab {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 36px;
            height: 100%;
            border: 0;
            padding: 0;
            color: var(--accent);
            background: transparent;
            cursor: pointer;
            touch-action: manipulation;
            transition: color .26s ease;
            -webkit-tap-highlight-color: transparent;
        }
.nav-tab.is-active {
            color: #ffffff;
        }
.nav-tab:focus-visible {
            outline: 2px solid rgba(var(--accent-rgb), .78);
            outline-offset: -6px;
            border-radius: 18px;
        }
.nav-lift {
            display: inline-flex;
            position: relative;
            z-index: 2;
            line-height: 0;
            transform: translate3d(0, 0, 0);
            transition: transform .46s var(--spring-pop), filter .28s ease;
            will-change: transform;
        }
.nav-ico {
            display: block;
            transition: transform .32s var(--spring-pop), filter .28s ease;
        }
.nav-tab.is-active .nav-lift {
            transform: translate3d(0, -14px, 0);
        }
.nav-tab.is-active .nav-ico {
            filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .26));
        }
@media (hover: hover) {
            .nav-tab:not(.is-active):hover .nav-lift { transform: translate3d(0, -4px, 0); }
            .nav-tab:not(.is-active):hover .nav-ico { transform: scale(1.1); }
            .nav-tab.is-active:hover .nav-lift { transform: translate3d(0, -16px, 0) scale(1.04); }
            .nav-fab:hover { transform: translateX(-50%) translateY(-2px) rotate(90deg) scale(1.06); }
        }
.nav-tab:active .nav-lift {
            transform: translate3d(0, -2px, 0) scale(.92);
            transition-duration: .12s;
        }
.nav-tab.is-active:active .nav-lift {
            transform: translate3d(0, -13px, 0) scale(.94);
        }
.nav-circle {
            --x: 0px;
            position: absolute;
            left: 0;
            top: -12px;
            z-index: 1;
            width: 48px;
            height: 48px;
            pointer-events: none;
            transform: translate3d(var(--x), 0, 0);
            transition: transform .56s var(--spring);
            will-change: transform;
        }
.nav-circle::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 50%;
            background: linear-gradient(180deg, var(--accent), var(--accent-2));
            box-shadow:
                0 14px 24px -10px rgba(var(--accent-rgb), .72),
                0 0 14px rgba(var(--accent-rgb), .40);
            transition: background .4s ease, box-shadow .4s ease;
        }
.nav-circle::after {
            content: "";
            position: absolute;
            inset: 8px;
            border-radius: 50%;
            background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 64%);
        }
.nav-circle.no-transition {
            transition: none !important;
        }
.nav-circle.is-moving::before {
            animation: navCirclePop .44s ease-out;
        }
@keyframes navCirclePop {
            0% { transform: scale(1); }
            34% { transform: scale(1.16, .82); }
            72% { transform: scale(.97, 1.06); }
            100% { transform: scale(1); }
        }
.nav-fab {
            position: absolute;
            left: 50%;
            top: -18px;
            z-index: 4;
            width: 54px;
            height: 54px;
            border: 0;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            color: #ffffff;
            cursor: pointer;
            background: linear-gradient(180deg, var(--accent), var(--accent-2));
            box-shadow:
                0 0 0 9px var(--bg-color),
                0 16px 32px -10px rgba(var(--accent-rgb), .65),
                0 8px 16px -8px rgba(var(--accent-rgb), .48);
            transform: translateX(-50%);
            transition: transform .42s var(--spring-pop), box-shadow .32s ease, background .4s ease;
            -webkit-tap-highlight-color: transparent;
        }
.nav-fab:active {
            transform: translateX(-50%) rotate(90deg) scale(.93);
            transition-duration: .12s;
        }
.nav-fab:focus-visible {
            outline: 3px solid rgba(var(--accent-rgb), .82);
            outline-offset: 4px;
        }
.nav-fab svg {
            position: relative;
            z-index: 1;
            filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .25));
            transition: transform .4s var(--spring-pop);
        }
.nav-fab.is-tapping svg {
            animation: navFabSpin .45s var(--spring-pop);
        }
@keyframes navFabSpin {
            from { transform: rotate(0); }
            to { transform: rotate(135deg); }
        }
.nav-ripple {
            position: absolute;
            left: 50%;
            top: 50%;
            width: 100%;
            aspect-ratio: 1;
            border-radius: 50%;
            border: 2px solid rgba(255, 255, 255, .85);
            transform: translate(-50%, -50%) scale(.2);
            pointer-events: none;
            animation: navRipple .58s ease-out forwards;
        }
@keyframes navRipple {
            to { transform: translate(-50%, -50%) scale(2.15); opacity: 0; }
        }
@media (max-width: 420px) {
            .nav-dock { width: calc(100vw - 20px); }
            .nav-bar { height: 60px; padding: 0 8px; }
            .nav-slot { flex-basis: 68px; }
            .nav-circle { width: 44px; height: 44px; top: -10px; }
            .nav-fab { width: 50px; height: 50px; top: -16px; box-shadow: 0 0 0 8px var(--bg-color), 0 16px 32px -10px rgba(var(--accent-rgb), .65), 0 8px 16px -8px rgba(var(--accent-rgb), .48); }
        }
.player-bg-container {
            position: absolute;
            inset: 0;
            overflow: hidden;
            pointer-events: none;
            z-index: 0;
            background-color: var(--bg-color);
            will-change: transform;
            transform: translateZ(0);
        }
.player-bg-blur-img {
            position: absolute;
            inset: -10%;
            width: 120%;
            height: 120%;
            object-fit: cover;
            filter: blur(24px) brightness(0.65) contrast(1.1);
            -webkit-filter: blur(24px) brightness(0.65) contrast(1.1);
            opacity: 0.85;
            transition: opacity 0.3s ease;
            will-change: opacity, transform;
            transform: translateZ(0);
        }
.player-bg-vignette {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 1;
            background: linear-gradient(to bottom, color-mix(in srgb, var(--bg-color) 60%, transparent) 0%, color-mix(in srgb, var(--bg-color) 28%, transparent) 45%, color-mix(in srgb, var(--bg-color) 85%, transparent) 100%);
        }
#full-player {
            background: color-mix(in srgb, var(--bg-color) 60%, transparent);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
        }
.fp-card {
            position: relative;
            width: 100%;
            max-width: 430px;
            height: 100%;
            max-height: 900px;
            margin: 0 auto;
            border-radius: 34px;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.10);
            box-shadow: 0 24px 70px rgba(0,0,0,0.65), 0 4px 18px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
            background: linear-gradient(180deg, rgba(var(--fp-accent-rgb, var(--accent-rgb)),0.32) 0%, color-mix(in srgb, var(--bg-elevated) 94%, transparent) 45%, var(--bg-color) 100%);
            transition: background 0.6s cubic-bezier(0.22,1,0.36,1);
            display: flex;
            flex-direction: column;
        }
@media (min-width: 640px) {
            .fp-card { max-height: 94vh; }
        }
.fp-thumb {
            width: 13px; height: 13px;
            box-shadow: 0 1px 4px rgba(0,0,0,0.4);
        }
.fp-output-btn {
            width: 34px; height: 34px;
            border-radius: 999px;
            display: flex; align-items: center; justify-content: center;
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.12);
            color: rgba(255,255,255,0.85);
            transition: transform 0.2s ease, background 0.2s ease;
        }
.fp-output-btn:active { transform: scale(0.9); }
.fp-output-btn:hover { background: rgba(255,255,255,0.15); }
.fp-source-row { color: rgba(255,255,255,0.55); font-size: 11px; font-weight: 700; letter-spacing: 0.02em; display:flex; align-items:center; gap:5px; }
@keyframes fpCoverIn {
            0% { opacity: 0; transform: scale(0.92); }
            100% { opacity: 1; transform: scale(1); }
        }
.fp-cover-anim { animation: fpCoverIn 0.45s cubic-bezier(0.22,1,0.36,1); }
@keyframes fpSheetSlide {
            from { transform: translateY(100%); }
            to { transform: translateY(0); }
        }
.fp-sheet { animation: fpSheetSlide 0.3s cubic-bezier(0.22,1,0.36,1) forwards; touch-action: pan-y; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; max-height: 80vh; max-height: 80dvh; overflow-y: auto; }
.fp-sheet-row {
            display: flex; align-items: center; gap: 14px;
            padding: 13px 6px;
            border-radius: 16px;
            transition: background 0.2s ease, transform 0.15s ease;
            cursor: pointer;
        }
.fp-sheet-row:active { background: rgba(255,255,255,0.08); transform: scale(0.98); }
.fp-sheet-icon {
            width: 38px; height: 38px; border-radius: 12px;
            display:flex; align-items:center; justify-content:center;
            background: rgba(255,255,255,0.07);
            border: 1px solid rgba(255,255,255,0.08);
            flex-shrink:0;
        }
@keyframes shareCardIn {
            0% { opacity: 0; transform: scale(0.9) translateY(10px); }
            100% { opacity: 1; transform: scale(1) translateY(0); }
        }
.share-card-anim { animation: shareCardIn 0.32s cubic-bezier(0.22,1,0.36,1) forwards; }
#lyrics-overlay {
            background-color: var(--bg-color) !important;
        }
#lyrics-overlay .player-bg-blur-img {
            filter: blur(60px) brightness(0.18) contrast(1.2) saturate(110%) !important;
            -webkit-filter: blur(60px) brightness(0.18) contrast(1.2) saturate(110%) !important;
            opacity: 0.65 !important;
        }
#lyrics-overlay .player-bg-vignette {
            background: radial-gradient(circle at center, color-mix(in srgb, var(--bg-color) 82%, transparent) 0%, color-mix(in srgb, var(--bg-color) 96%, transparent) 100%),
                        linear-gradient(to bottom, color-mix(in srgb, var(--bg-color) 90%, transparent) 0%, color-mix(in srgb, var(--bg-color) 80%, transparent) 50%, color-mix(in srgb, var(--bg-color) 98%, transparent) 100%) !important;
        }
#lyrics-scroll-container {
            -webkit-overflow-scrolling: touch;
        }
.lyric-line {
            transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
            font-size: 1.05rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.35);
            opacity: 0.45;
            padding: 6px 0;
            line-height: 1.4;
            letter-spacing: -0.01em;
            will-change: opacity, color, transform;
            cursor: pointer;
            text-align: left;
            transform-origin: left center;
        }
@media (min-width: 768px) {
            .lyric-line {
                font-size: 1.3rem;
                padding: 8px 0;
                line-height: 1.35;
            }
        }
.lyric-line.active-lyric {
            opacity: 1 !important;
            color: #ffffff !important;
            transform: scale(1.02) translateX(2px);
        }
.lyric-line.past-lyric {
            opacity: 0.28 !important;
            color: rgba(255, 255, 255, 0.4) !important;
            transform: scale(0.97);
        }
.lyric-translation {
            display: block;
            font-size: 0.58em;
            font-weight: 500;
            opacity: 0.75;
            margin-top: 4px;
            letter-spacing: 0;
            line-height: 1.35;
            color: inherit;
        }
.inline-lyric-line .lyric-translation {
            font-size: 0.78em;
            margin-top: 2px;
            opacity: 0.8;
            font-weight: 500;
        }
.inline-lyric-line {
            transition: opacity 0.25s ease, color 0.25s ease;
            font-size: 0.92rem;
            line-height: 1.4;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.4);
            opacity: 0.5;
            padding: 5px 0;
            letter-spacing: -0.01em;
            cursor: pointer;
            text-align: left;
            word-break: break-word;
        }
.inline-lyric-line.active-lyric {
            opacity: 1 !important;
            color: #ffffff !important;
            font-weight: 800 !important;
        }
.inline-lyric-line.past-lyric {
            opacity: 0.3 !important;
            color: rgba(255, 255, 255, 0.35) !important;
        }
.spin-record {
            animation: spinRecord 10s linear infinite;
            will-change: transform;
        }
@keyframes spinRecord {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
@keyframes slideInRight {
            0% { transform: translateX(30px); opacity: 0; }
            100% { transform: translateX(0); opacity: 1; }
        }
@keyframes slideInLeft {
            0% { transform: translateX(-30px); opacity: 0; }
            100% { transform: translateX(0); opacity: 1; }
        }
.animate-slide-right {
            animation: slideInRight 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        }
.animate-slide-left {
            animation: slideInLeft 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        }
@keyframes cardUp {
            0% { opacity: 0; transform: translateY(10px); }
            100% { opacity: 1; transform: translateY(0); }
        }
@keyframes cardLeft {
            0% { opacity: 0; transform: translateX(-10px); }
            100% { opacity: 1; transform: translateX(0); }
        }
.animate-card-up {
            animation: cardUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
        }
.animate-card-left {
            animation: cardLeft 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
        }
.transition-all, .transition, .transition-colors, .transition-opacity, .transition-transform {
            transition-duration: 260ms !important;
            transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
        }
@media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.001ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.001ms !important;
                scroll-behavior: auto !important;
            }
            .spin-record, .splash-disc, .splash-rings span { animation: none !important; }
        }
/* =====================================================================
   DESAIN BARU (gaya MusifyRik) — semua warna memakai token tema
   sehingga otomatis cocok di Dark, Light, Sea, Purple, dan Star.
===================================================================== */
:root {
    --spring: cubic-bezier(.2,.82,.18,1);
    --spring-pop: cubic-bezier(.18,1.4,.28,1);
    --radius-lg: 20px; --radius-md: 16px; --radius-sm: 12px;
    --surface-card: var(--surface-2);
    --surface-elevated: color-mix(in srgb, var(--surface-2) 84%, var(--text-primary));
    --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, "JetBrains Mono", Menlo, monospace;
}
[data-theme="dark"], :root { --accent-2-rgb: 255,171,92; }
[data-theme="light"] { --accent-2-rgb: 255,145,66; }
[data-theme="sea"] { --accent-2-rgb: 103,232,249; }
[data-theme="purple"] { --accent-2-rgb: 192,132,252; }
[data-theme="star"] { --accent-2-rgb: 250,215,120; }
h1, h2, h3, h4 { font-family: var(--font-display); }

/* --- warna hard-code Tailwind pada kode referensi -> token tema --- */
.bg-\[\#2a2521\] { background-color: var(--surface-card) !important; }
.bg-\[\#363230\], .hover\:bg-\[\#363230\]:hover, .hover\:bg-\[\#2a2521\]:hover { background-color: var(--surface-elevated) !important; }
.bg-\[\#3a332f\] { background-color: color-mix(in srgb, var(--accent) 12%, var(--surface-card)) !important; }
.bg-\[\#433e3b\] { background-color: color-mix(in srgb, var(--accent) 20%, var(--surface-card)) !important; }
.bg-\[\#161514\], .bg-\[\#1a1918\] { background-color: var(--surface) !important; }
.bg-\[\#0d0d0c\], .bg-\[\#050507\] { background-color: var(--bg-color) !important; }
.from-\[\#0d0d0c\], .from-\[\#050507\] { --tw-gradient-from: var(--bg-color) !important; }
.via-\[\#0d0d0c\], .via-\[\#050507\] { --tw-gradient-via: var(--bg-color) !important; }
.text-\[\#9a9490\], .text-\[\#a0a5b0\], .text-\[\#b3b3b3\] { color: var(--text-secondary) !important; }
.text-\[\#8a7668\], .text-\[\#5a4e44\] { color: var(--text-muted) !important; }
.text-\[\#e8d6c4\] { color: var(--text-primary) !important; }
.bg-\[\#e8d6c4\], .hover\:bg-\[\#e8d6c4\]:hover { background-color: var(--accent) !important; color: var(--accent-contrast) !important; }
.border-\[\#e8d6c4\] { border-color: var(--accent) !important; }
.text-\[\#0b0a09\] { color: var(--accent-contrast) !important; }
[data-theme="light"] [class*="border-white/"] { border-color: var(--border-color) !important; }

/* --- tombol bulat kaca --- */
.liquid-button {
    width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--border-color); color: var(--text-primary);
    transition: transform .22s var(--spring-pop), border-color .25s ease, background .25s ease;
}
.liquid-button:hover { border-color: rgba(var(--accent-rgb), .45); }
.liquid-button:active { transform: scale(.88); }
.liquid-button svg { width: 18px; height: 18px; }
.liquid-surface { background-image: linear-gradient(135deg, rgba(255,255,255,.05), transparent 55%); }
.desktop-break { display: none; }
.tiny-wave { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; vertical-align: middle; }
.tiny-wave i { width: 3px; height: 4px; border-radius: 2px; background: var(--accent); animation: tinyWave 1.1s ease-in-out infinite; }
.tiny-wave i:nth-child(2) { animation-delay: .15s; } .tiny-wave i:nth-child(3) { animation-delay: .3s; } .tiny-wave i:nth-child(4) { animation-delay: .45s; }
@keyframes tinyWave { 0%, 100% { height: 3px; } 50% { height: 12px; } }

/* =============== BERANDA =============== */
.home-topbar { position: relative; padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 6px; }
.home-user-line { display: flex; align-items: center; gap: 12px; }
.home-avatar { flex-shrink: 0; width: 52px; height: 52px; padding: 2px; border-radius: 50%; overflow: hidden; background: conic-gradient(from 200deg, var(--accent), var(--accent-2), var(--accent-3, var(--accent)), var(--accent)); }
.home-avatar img, .home-avatar .pf-av { width: 100% !important; height: 100% !important; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg-color); }
.home-brand-label { display: flex; flex-direction: column; min-width: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; line-height: 1.1; letter-spacing: -.01em; }
.home-brand-label span { color: var(--accent); }
.home-brand-label small { margin-top: 3px; font-size: .58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.home-header-actions { margin-left: auto; display: flex; gap: 8px; }
.home-dot { position: absolute; top: 2px; right: 2px; width: 9px; height: 9px; border-radius: 50%; background: #ff4d5e; border: 2px solid var(--bg-color); }
.home-dot.hidden { display: none; }
.home-greeting-copy { margin: 20px 0 14px; }
.home-greeting-title { display: flex; align-items: center; flex-wrap: wrap; font-size: 1.85rem; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.greeting-dot { color: var(--accent); }
.home-greeting-sub { margin-top: 5px; font-size: .84rem; line-height: 1.45; color: var(--text-secondary); }
#home-category-bar { gap: 8px; padding: 4px 0 10px; }
.home-chip-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border-color); flex-shrink: 0; transition: transform .2s var(--spring-pop), background .25s ease, color .25s ease; }
.home-chip-btn:active { transform: scale(.94); }
.home-chip-btn[aria-pressed="false"] { background: var(--surface-card) !important; color: var(--text-secondary) !important; backdrop-filter: none !important; }
.home-chip-btn[aria-pressed="true"] { background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important; color: var(--accent-contrast) !important; border-color: transparent !important; box-shadow: 0 6px 18px rgba(var(--accent-rgb), .35); transform: none; }
.home-content { padding: 0 16px; }
.home-section-list { display: flex; flex-direction: column; gap: 28px; padding: 6px 0 24px; }
.home-section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.home-section-title-row h2 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.home-see-all { display: inline-flex; align-items: center; gap: 3px; font-size: .74rem; font-weight: 800; color: var(--accent); flex-shrink: 0; }
.home-see-all svg { width: 14px; height: 14px; }
.section-overline { font-size: .6rem; font-weight: 800; letter-spacing: .2em; color: var(--text-muted); }

.discovery-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.home-featured {
    position: relative; grid-column: 1 / -1; min-height: 230px; border-radius: 28px; overflow: hidden; isolation: isolate;
    background: linear-gradient(140deg, rgba(var(--accent-rgb), .55), rgba(var(--accent-2-rgb), .25) 55%, var(--surface-card));
    border: 1px solid rgba(var(--accent-rgb), .3); box-shadow: 0 16px 40px -14px rgba(var(--accent-rgb), .45);
}
.home-featured::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.62)); }
.home-featured-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .6; }
.home-featured-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 18px 16px; color: #fff; }
.home-featured-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: .58rem; font-weight: 800; letter-spacing: .2em; color: rgba(255,255,255,.85); }
.home-featured-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.home-featured-title { margin-top: 6px; font-size: 2rem; font-weight: 900; line-height: 1.02; letter-spacing: -.02em; }
.home-featured-artist { margin-top: 6px; font-size: .78rem; line-height: 1.4; color: rgba(255,255,255,.78); }
.home-featured-actions { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.home-featured-play { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-contrast); box-shadow: 0 10px 24px -8px rgba(var(--accent-rgb), .8); transition: transform .22s var(--spring-pop), opacity .2s; }
.home-featured-play:active { transform: scale(.9); }
.home-featured-play[disabled] { opacity: .5; }
.home-featured-play svg { width: 22px; height: 22px; fill: currentColor; margin-left: 2px; }
.home-featured-icon { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); color: #fff; transition: transform .2s var(--spring-pop); }
.home-featured-icon:active { transform: scale(.88); }
.home-featured-icon[disabled] { opacity: .5; }
.home-featured-icon svg { width: 18px; height: 18px; }
.home-featured-icon[aria-pressed="true"] { background: var(--accent); color: var(--accent-contrast); }
.featured-edition { position: absolute; top: 14px; right: 16px; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .16em; color: rgba(255,255,255,.7); }

.bento-mood {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 160px; padding: 16px; border-radius: 24px; overflow: hidden; text-align: left; isolation: isolate;
    border: 1px solid var(--border-color); transition: transform .25s var(--spring-pop), border-color .25s ease;
}
.bento-mood:active { transform: scale(.96); }
.bento-focus { background: linear-gradient(150deg, rgba(var(--accent-rgb), .42), var(--surface-card) 78%); }
.bento-chill { background: linear-gradient(150deg, rgba(var(--accent-2-rgb), .3), var(--surface-card) 78%); }
.bento-eyebrow { display: inline-flex; align-items: center; gap: 5px; font-size: .54rem; font-weight: 800; letter-spacing: .16em; color: var(--accent-2); }
.bento-eyebrow svg { width: 12px; height: 12px; }
.bento-mood-title { font-size: 1.3rem; font-weight: 900; line-height: 1.08; letter-spacing: -.02em; color: var(--text-primary); }
.bento-mood-caption { font-size: .7rem; color: var(--text-secondary); }
.bento-arrow { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); color: var(--text-primary); }
.bento-arrow svg { width: 14px; height: 14px; }
.bento-record { position: absolute; top: -26px; left: -26px; width: 96px; height: 96px; border-radius: 50%; z-index: -1; background: repeating-radial-gradient(circle, rgba(255,255,255,.07) 0 1px, transparent 2px 6px), rgba(var(--accent-rgb), .12); animation: spinRecord 24s linear infinite; }
.bento-record span { position: absolute; inset: 34px; border-radius: 50%; background: var(--accent); opacity: .7; }
.bento-orbit { position: absolute; top: -34px; left: -34px; width: 110px; height: 110px; border-radius: 50%; z-index: -1; border: 1px solid rgba(var(--accent-2-rgb), .4); box-shadow: inset 0 0 0 14px rgba(var(--accent-2-rgb), .06); }

.daily-track-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.home-grid-card {
    display: grid; grid-template-columns: 22px 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 12px 8px 10px; text-align: left; width: 100%;
    border-radius: 18px; background: var(--surface-card); border: 1px solid var(--border-color); transition: transform .22s var(--spring), border-color .25s ease, background .25s ease;
}
.home-grid-card:hover { border-color: rgba(var(--accent-rgb), .4); }
.home-grid-card:active { transform: scale(.98); }
.home-grid-card.is-current { border-color: rgba(var(--accent-rgb), .6); background: color-mix(in srgb, var(--accent) 10%, var(--surface-card)); }
.home-grid-card img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--surface); }
.track-index { font-family: var(--font-mono); font-size: .66rem; font-weight: 700; color: var(--text-muted); text-align: center; }
.home-track-copy { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.home-grid-title { font-size: .92rem; font-weight: 800; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-track-artist { font-size: .74rem; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-grid-icon { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); color: var(--text-secondary); }
.home-grid-card.is-current .home-grid-icon { background: var(--accent); color: var(--accent-contrast); }
.home-grid-icon svg { width: 15px; height: 15px; }
.track-loading { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(var(--accent-rgb), .3); border-top-color: var(--accent); animation: spin360 .8s linear infinite; display: inline-block; }
@keyframes spin360 { to { transform: rotate(360deg); } }
.home-cat-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--surface); color: var(--accent); }
.home-feed-footer { margin-top: 6px; padding: 22px 0 10px; text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--text-muted); }
.library-empty-state { padding: 26px 18px; text-align: center; border-radius: 20px; border: 1px dashed var(--border-color); background: var(--surface-card); }
.home-section { min-width: 0; }

/* =============== PENCARIAN =============== */
.search-song-item { background: var(--surface-card); border: 1px solid var(--border-color); }
.search-song-title { font-size: .9rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-song-badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: .58rem; font-weight: 800; background: rgba(var(--accent-rgb), .16); color: var(--accent); vertical-align: 1px; }
.search-song-btn { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--surface); color: var(--text-secondary); transition: transform .2s var(--spring-pop), background .2s; }
.search-song-btn:active { transform: scale(.88); }
.search-song-btn:hover { background: rgba(var(--accent-rgb), .18); color: var(--accent); }
.search-rec-item { background: var(--surface-card); }
.search-rec-btn { position: absolute; right: 6px; bottom: 6px; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent) !important; color: var(--accent-contrast) !important; box-shadow: 0 6px 14px rgba(0,0,0,.4); }
.search-rec-title { font-size: .8rem; font-weight: 800; }

/* =============== FULL PLAYER =============== */
.fp-header { position: relative; z-index: 5; display: flex; align-items: center; gap: 10px; padding: max(14px, env(safe-area-inset-top, 0px)) 16px 6px; }
.fp-header .liquid-button { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.16); color: #fff; }
.fp-header-title { flex: 1; min-width: 0; text-align: center; }
.fp-header-title p:first-child { font-size: .6rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.fp-header-title p:last-child { margin-top: 2px; font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.9); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-art-stage { position: relative; z-index: 2; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 6px 26px; }
.fp-art-frame { position: relative; width: 100%; max-width: min(78vw, 330px); aspect-ratio: 1 / 1; }
#full-cover-view { position: absolute; inset: 0; }
#full-artwork-spin { width: 100%; height: 100%; overflow: hidden; border-radius: 28px; box-shadow: 0 24px 50px -12px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); transition: border-radius .55s var(--spring); }
#full-artwork-spin img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-card[data-artwork="circle"] #full-artwork-spin { border-radius: 50%; animation: spinRecord 26s linear infinite; box-shadow: 0 24px 50px -12px rgba(0,0,0,.7), 0 0 0 6px rgba(255,255,255,.06), 0 0 0 7px rgba(255,255,255,.1); }
#full-cover-next-overlay { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
#full-cover-next-overlay img { width: 100%; height: 100%; object-fit: cover; }
#full-cover-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 28px; background: rgba(0,0,0,.5); color: #fff; font-size: .8rem; font-weight: 700; }
.fp-artwork-options { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.1); }
.fp-artwork-options button { width: 32px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.65); transition: background .25s, color .25s; }
.fp-artwork-options button svg { width: 15px; height: 15px; }
.fp-artwork-options button[aria-pressed="true"] { background: rgba(255,255,255,.9); color: #111; }

.fp-lyrics-panel { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: rgba(0,0,0,.34); border: 1px solid rgba(255,255,255,.12); }
.fp-lyrics-panel.hidden { display: none; }
.inline-lyrics-track { display: flex; align-items: center; gap: 10px; padding: 12px 14px 4px; flex-shrink: 0; }
.inline-lyrics-track img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; }
.inline-lyrics-track div { min-width: 0; display: flex; flex-direction: column; }
.inline-lyrics-track span:first-child { font-size: .84rem; font-weight: 800; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inline-lyrics-track span:last-child { font-size: .7rem; color: rgba(255,255,255,.62); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#full-inline-lyrics-scroll { position: relative; flex: 1; min-height: 0; overflow-y: auto; padding: 4px 14px; }
.fp-lyrics-footer { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px 10px; font-size: .68rem; font-weight: 700; color: rgba(255,255,255,.7); }
.fp-lyrics-footer > div { display: inline-flex; align-items: center; gap: 6px; }
.fp-lyrics-footer button { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.fp-lyrics-footer svg { width: 13px; height: 13px; }
.fp-card[data-view="lyrics"] .fp-art-frame { max-width: 100%; aspect-ratio: auto; height: 100%; }
.fp-card[data-view="lyrics"] .fp-artwork-options, .fp-card[data-view="lyrics"] .fp-lyric-preview { display: none; }

.fp-info { position: relative; z-index: 2; padding: 4px 26px 0; }
#full-meta-container { position: relative; }
#full-meta-current h2, #full-meta-next h2 { font-size: 1.45rem; font-weight: 900; line-height: 1.15; letter-spacing: -.02em; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#full-artist, #full-artist-next { margin-top: 3px; font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.72); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
#full-meta-next { position: absolute; inset: 0; }
#full-status-tag, #full-next-countdown-badge { display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 999px; font-size: .58rem; font-weight: 800; letter-spacing: .12em; background: var(--accent); color: var(--accent-contrast); }
.fp-lyric-preview { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 8px 26px 0; padding: 8px 10px; min-height: 74px; border-radius: 16px; text-align: center; background: rgba(255,255,255,.06); overflow: hidden; }
.fp-lyric-preview span { font-size: .84rem; font-weight: 700; line-height: 1.3; color: rgba(255,255,255,.4); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-lyric-preview span:nth-child(2) { font-size: .98rem; color: #fff; }
.fp-lyric-preview[data-empty="true"] span { color: rgba(255,255,255,.5); }
.fp-preview-outgoing { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 10px; pointer-events: none; }

.fp-bottom { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 12px; padding: 12px 22px calc(env(safe-area-inset-bottom, 0px) + 16px); }
.fp-timeline { display: flex; flex-direction: column; gap: 4px; }
.fp-seek-track { position: relative; height: 18px; }
.fp-seek-track::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 5px; margin-top: -2.5px; border-radius: 99px; background: rgba(255,255,255,.2); }
.fp-seek-track input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
#full-progress { position: absolute; left: 0; top: 50%; height: 5px; margin-top: -2.5px; border-radius: 99px; pointer-events: none; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
#full-progress .fp-thumb { position: absolute; right: -6px; top: 50%; transform: translateY(-50%); border-radius: 50%; background: #fff; }
.fp-timeline-labels { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: .68rem; color: rgba(255,255,255,.65); }
.fp-timeline-labels > span { display: inline-flex; align-items: center; gap: 6px; }
.fp-seek-skip { position: relative; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: rgba(255,255,255,.7); }
.fp-seek-skip svg { width: 20px; height: 20px; }
.fp-seek-skip small { position: absolute; font-size: .46rem; font-weight: 900; }
.fp-transport { display: flex; align-items: center; justify-content: space-between; }
.fp-transport button { position: relative; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: transform .2s var(--spring-pop), color .2s; }
.fp-transport button:active { transform: scale(.86); }
.fp-transport button svg { width: 22px; height: 22px; }
.fp-transport button[aria-pressed="true"] { color: var(--accent); }
#full-shuffle-dot { position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
#full-prev-btn svg, #full-next-btn svg { width: 26px; height: 26px; fill: currentColor; }
#full-play-btn-wrap { width: 70px !important; height: 70px !important; }
#full-play-btn { width: 100%; height: 100%; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--accent-contrast); background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 14px 30px -10px rgba(var(--accent-rgb), .75); }
#full-play-btn svg { width: 28px; height: 28px; fill: currentColor; }
.fp-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fp-mode-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.1); }
.fp-mode-switch button { padding: 6px 13px; border-radius: 999px; font-size: .72rem; font-weight: 800; color: rgba(255,255,255,.7); transition: background .25s, color .25s; }
.fp-mode-switch button[aria-pressed="true"] { background: rgba(255,255,255,.92); color: #111; }
.fp-tool-button { position: relative; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); color: #fff; flex-shrink: 0; transition: transform .2s var(--spring-pop), background .2s; }
.fp-tool-button:active { transform: scale(.88); }
.fp-tool-button svg { width: 17px; height: 17px; }
#repeat-one { position: absolute; top: 5px; right: 6px; font-size: .52rem; font-weight: 900; color: var(--accent); }
.fp-volume-popover { position: relative; }
.fp-volume-popover > summary { list-style: none; cursor: pointer; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); color: #fff; }
.fp-volume-popover > summary::-webkit-details-marker { display: none; }
.fp-volume-popover > summary svg { width: 17px; height: 17px; }
.fp-volume { position: absolute; right: -40px; bottom: 48px; z-index: 10; display: flex; align-items: center; gap: 10px; padding: 10px 12px; width: 230px; border-radius: 18px; background: rgba(20,20,26,.94); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 16px 36px rgba(0,0,0,.55); color: #fff; }
.fp-volume button { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); flex-shrink: 0; }
.fp-volume button svg { width: 15px; height: 15px; }
.fp-volume-track { position: relative; flex: 1; height: 18px; }
.fp-volume-track::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 99px; background: rgba(255,255,255,.2); }
.fp-volume-track input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
#full-vol-progress { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 99px; background: var(--accent); pointer-events: none; }
#full-vol-text { min-width: 32px; font-family: var(--font-mono); font-size: .68rem; color: rgba(255,255,255,.7); text-align: right; }
@media (max-height: 700px) { .fp-art-frame { max-width: min(62vw, 250px); } .fp-lyric-preview { display: none; } }

/* =============== SIDEBAR DESKTOP =============== */
.desktop-sidebar { display: none; }
@media (min-width: 1024px) {
    .desktop-sidebar {
        display: flex; flex-direction: column; gap: 6px; position: fixed; left: 0; top: 0; bottom: 0; width: 248px; z-index: 35; padding: 22px 14px 18px; overflow-y: auto;
        background: color-mix(in srgb, var(--bg-elevated) 88%, transparent); border-right: 1px solid var(--border-color);
    }
    #main-area { padding-left: 248px; padding-bottom: 130px !important; }
    #nav-container { display: none; }
    #mini-container #mini-player { left: auto !important; right: 24px !important; width: 380px !important; bottom: 24px !important; }
    #full-player { padding-left: 248px; }
    .desktop-break { display: inline; }
    .daily-track-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .discovery-bento { grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; }
    .home-featured { grid-column: 1; grid-row: 1 / span 2; min-height: 340px; }
    .home-featured-title { font-size: 2.6rem; }
}
@media (min-width: 640px) and (max-width: 1023px) { .daily-track-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; text-align: left; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.sidebar-brand strong { font-weight: 900; color: var(--accent); }
.sidebar-brand small { display: block; font-size: .5rem; font-weight: 700; letter-spacing: .24em; color: var(--text-muted); }
.brand-symbol { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-contrast); }
.sidebar-label { margin: 12px 8px 2px; font-size: .58rem; font-weight: 800; letter-spacing: .22em; color: var(--text-muted); text-align: left; }
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav button, .sidebar-settings, .sidebar-create { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; font-size: .86rem; font-weight: 700; color: var(--text-secondary); text-align: left; transition: background .2s, color .2s; }
.sidebar-nav button svg, .sidebar-settings svg, .sidebar-create svg { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-nav button:hover, .sidebar-settings:hover { background: var(--surface-card); color: var(--text-primary); }
.sidebar-nav button.is-active, .sidebar-settings.is-active { background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.sidebar-create { color: var(--accent); }
.side-dot { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0; }
.is-active > .side-dot { opacity: 1; }
.sidebar-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.sidebar-settings { justify-content: space-between; border: 1px solid var(--border-color); background: var(--surface-card); }
.sidebar-settings svg:last-child { opacity: .6; }

/* =============== LIKED (halaman Lagu disukai) =============== */
.lk-hero { display: flex; align-items: center; gap: 14px; }
.lk-ic { width: 60px; height: 60px; border-radius: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: linear-gradient(135deg, var(--accent), var(--accent-3, var(--accent))); color: var(--accent-contrast); box-shadow: 0 10px 26px rgba(var(--accent-rgb), .4); }
.lk-sub { margin-top: 2px; font-size: .78rem; font-weight: 700; color: var(--accent-2); }
.lk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 14px; border-radius: 999px; font-size: .86rem; font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-contrast); }
.lk-btn-ghost { background: var(--surface-card); color: var(--text-primary); border: 1px solid var(--border-color); }
.lk-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 16px; cursor: pointer; background: var(--surface-card); border: 1px solid var(--border-color); transition: transform .2s var(--spring), border-color .2s; }
.lk-row:active { transform: scale(.98); }
.lk-row.on { border-color: rgba(var(--accent-rgb), .55); }
.lk-row img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.lk-t { font-size: .9rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-a { font-size: .74rem; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-x { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) { .tiny-wave i, .bento-record { animation: none; } }

/* =====================================================================
   RINGAN: kurangi kerja render
===================================================================== */
html.tab-hidden *, html.tab-hidden *::before, html.tab-hidden *::after { animation-play-state: paused !important; }
.search-song-item, .lk-row, .home-grid-card, .home-cat-card, .ib-item, .pf-song { content-visibility: auto; contain-intrinsic-size: auto 72px; }
.home-section, .home-discovery-section { contain: layout style; }
img { image-rendering: auto; }
@media (max-width: 640px) {
    .app-bg span { filter: blur(48px) !important; animation: none !important; }
    #full-player { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}
@media (prefers-reduced-motion: reduce) { .app-bg span { animation: none !important; } }
