/* ========================================================
   SAMPPLAY UI SYSTEM v10.0 — REMIX ICON + FULL UPGRADE
   ======================================================== */

/* ── SMOOTH SYSTEM: VIEW TRANSITIONS & PAGE NAVIGATION ── */
@view-transition {
    navigation: auto;
}
::view-transition-old(root) {
    animation: 0.16s cubic-bezier(0.16, 1, 0.3, 1) both spFadeOut;
}
::view-transition-new(root) {
    animation: 0.18s cubic-bezier(0.16, 1, 0.3, 1) both spFadeIn;
}
@keyframes spFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0.65; transform: translateY(-4px); }
}
@keyframes spFadeIn {
    from { opacity: 0.7; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Kunci Bottom Nav & Topbar agar tidak flicker saat transisi halaman */
.bottom-nav {
    view-transition-name: sp-bottom-nav;
}
.topbar {
    view-transition-name: sp-topbar;
}

/* ── SMOOTH SCROLLING & MATTE CANVAS ── */
html {
    scroll-behavior: smooth;
    background-color: #080a1c !important;
    color-scheme: dark;
}
html:has(body[data-theme-light="1"]),
html:has(body.theme-white),
html[data-theme="white"] {
    background-color: #f8fafc !important;
    color-scheme: light !important;
}
* {
    -webkit-tap-highlight-color: transparent;
}

/* ── ROOT VARIABLES ── */
:root {
    --bg-dark:          #0f0c29;
    --bg-gradient:      linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --glass-bg:         rgba(255, 255, 255, 0.05);
    --glass-border:     rgba(255, 255, 255, 0.10);
    --text-primary:     #ffffff;
    --text-secondary:   #a0a0c0;

    --accent-primary:   #ff00cc;
    --accent-secondary: #333399;
    --accent-cyan:      #00d2ff;
    --accent-success:   #00ff88;
    --accent-danger:    #ff4d4d;

    --radius-md:        16px;
    --radius-lg:        24px;
    --nav-height:       68px;
}

/* ── THEME VARIANTS ── */
.theme-default      { --bg-dark:#0f0c29; --accent-primary:#ff00cc; --accent-secondary:#333399; --accent-cyan:#00d2ff; --accent-success:#00ff88; }
.theme-purple       { --bg-dark:#0d001a; --accent-primary:#bf00ff; --accent-secondary:#660099; --accent-cyan:#e066ff; --accent-success:#bf00ff; }
.theme-ocean        { --bg-dark:#031926; --accent-primary:#00ffcc; --accent-secondary:#064663; --accent-cyan:#00d2ff; --accent-success:#00ffcc; --glass-bg:rgba(0,210,255,0.05); --glass-border:rgba(0,210,255,0.12); }
.theme-inferno      { --bg-dark:#1b0a0a; --accent-primary:#ff4d4d; --accent-secondary:#7a1010; --accent-cyan:#ffb000; --accent-success:#ff6a00; --glass-bg:rgba(255,77,77,0.05); --glass-border:rgba(255,77,77,0.12); }
.theme-emerald      { --bg-dark:#071f1a; --accent-primary:#00ff88; --accent-secondary:#0c7a4d; --accent-cyan:#66ffd1; --accent-success:#00ff88; --glass-bg:rgba(0,255,136,0.05); --glass-border:rgba(0,255,136,0.12); }
.theme-midnight     { --bg-dark:#000000; --accent-primary:#ffffff; --accent-secondary:#333333; --accent-cyan:#9aa5ff; --accent-success:#7f00ff; --glass-bg:rgba(255,255,255,0.04); --glass-border:rgba(255,255,255,0.09); }
.theme-cyber-purple { --bg-dark:#0d0010; --accent-primary:#DF00FF; --accent-secondary:#9900bb; --accent-cyan:#c400e0; --accent-success:#df00ff; }
.theme-neon-violet  { --bg-dark:#0a0015; --accent-primary:#7F00FF; --accent-secondary:#5500cc; --accent-cyan:#9933ff; --accent-success:#7f00ff; }
.theme-red          { --bg-dark:#290c0c; --accent-primary:#ffcc00; --accent-secondary:#993333; --accent-cyan:#ff4d4d; --accent-success:#ffcc00; }
.theme-green        { --bg-dark:#0c2912; --accent-primary:#ccff00; --accent-secondary:#339947; --accent-cyan:#00ff88; --accent-success:#00ff88; }
.theme-orange       { --bg-dark:#1a0a00; --accent-primary:#ff6600; --accent-secondary:#993d00; --accent-cyan:#ffaa00; --accent-success:#ff6600; }
.theme-gold         { --bg-dark:#1a1600; --accent-primary:#ffffff; --accent-secondary:#998633; --accent-cyan:#ffd700; --accent-success:#ffd700; }
.theme-black        { --bg-dark:#000000; --accent-primary:#ffffff; --accent-secondary:#333333; --accent-cyan:#aaaaaa; --accent-success:#ffffff; --glass-bg:rgba(255,255,255,.04); --glass-border:rgba(255,255,255,.09); --text-primary:#ffffff; --text-secondary:#888888; }
.theme-pureblack    { --bg-dark:#000000; --accent-primary:#bf00ff; --accent-secondary:#220033; --accent-cyan:#00e5ff; --accent-success:#00e5ff; --glass-bg:rgba(255,255,255,.03); --glass-border:rgba(255,255,255,.08); }
.theme-pink, .theme-white, [data-theme="pink"], [data-theme="white"] {
    --bg-dark: #180c14;
    --bg-gradient: radial-gradient(circle at 12% -10%, #5e113866 0%, transparent 36%),
                   radial-gradient(circle at 88% 108%, #ff338544 0%, transparent 38%),
                   linear-gradient(135deg, #180c14, #2a0f21, #12080f);
    --accent-primary: #ff3385;
    --accent-secondary: #5e1138;
    --accent-cyan: #ff66a3;
    --accent-success: #10b981;
    --accent-danger: #dc2626;
    --glass-bg: rgba(255, 51, 133, 0.05);
    --glass-border: rgba(255, 51, 133, 0.16);
    --text-primary: #ffffff;
    --text-secondary: #fda4af;
}

/* ── LIGHT THEME OVERRIDES (Hanya jika custom bg terang aktif) ── */
body[data-theme-light="1"] {
    background: #f8fafc !important;
    color: #0f172a !important;
    color-scheme: light !important;
}

body[data-theme-light="1"] h1, body[data-theme-light="1"] h2, body[data-theme-light="1"] h3, body[data-theme-light="1"] h4, body[data-theme-light="1"] h5, body[data-theme-light="1"] h6,
body[data-theme-light="1"] .file-title,
body[data-theme-light="1"] .card-title,
body[data-theme-light="1"] .stat-value,
body[data-theme-light="1"] .pack-title,
body[data-theme-light="1"] .pack-name,
body[data-theme-light="1"] .am-track-title,
body[data-theme-light="1"] .hero-title,
body[data-theme-light="1"] .song-name,
body[data-theme-light="1"] .custom-bg-title,
body[data-theme-light="1"] .page-title,
body[data-theme-light="1"] .profile-name,
body[data-theme-light="1"] .stat-num,
body[data-theme-light="1"] .setting-title,
body[data-theme-light="1"] .topbar-text-title,
body[data-theme-light="1"] .topbar-title {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

body[data-theme-light="1"] h1 {
    background: none !important;
    -webkit-background-clip: unset !important;
}

body[data-theme-light="1"] .file-sub,
body[data-theme-light="1"] .song-meta,
body[data-theme-light="1"] .card-sub,
body[data-theme-light="1"] .topbar-sub,
body[data-theme-light="1"] .custom-bg-desc,
body[data-theme-light="1"] .setting-desc,
body[data-theme-light="1"] .pack-desc,
body[data-theme-light="1"] .am-track-artist,
body[data-theme-light="1"] .custom-bg-toggle label,
body[data-theme-light="1"] .custom-bg-field span {
    color: #64748b !important;
}

body[data-theme-light="1"] .file-item,
body[data-theme-light="1"] .pack-card,
body[data-theme-light="1"] .hero,
body[data-theme-light="1"] .card,
body[data-theme-light="1"] .custom-bg-card,
body[data-theme-light="1"] .pack-panel,
body[data-theme-light="1"] .section-card,
body[data-theme-light="1"] .bg-card,
body[data-theme-light="1"] .stat-card,
body[data-theme-light="1"] .vip-box,
body[data-theme-light="1"] .profile-header-card,
body[data-theme-light="1"] .setting-card,
body[data-theme-light="1"] .playlist-card,
body[data-theme-light="1"] .server-card,
body[data-theme-light="1"] .station-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
    color: #0f172a !important;
}

body[data-theme-light="1"] .search-input,
body[data-theme-light="1"] .form-input,
body[data-theme-light="1"] .input-box,
body[data-theme-light="1"] input[type="text"],
body[data-theme-light="1"] input[type="password"],
body[data-theme-light="1"] select,
body[data-theme-light="1"] textarea {
    background: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    color: #0f172a !important;
}
body[data-theme-light="1"] .search-input::placeholder,
body[data-theme-light="1"] .form-input::placeholder,
body[data-theme-light="1"] textarea::placeholder {
    color: #94a3b8 !important;
}
body[data-theme-light="1"] .search-input:focus,
body[data-theme-light="1"] .form-input:focus,
body[data-theme-light="1"] textarea:focus {
    border-color: #0066cc !important;
    background: #ffffff !important;
}

body[data-theme-light="1"] .bottom-nav {
    background: rgba(255, 255, 255, 0.94) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04) !important;
}
body[data-theme-light="1"] .nav-item {
    color: #64748b !important;
}
body[data-theme-light="1"] .nav-item.active {
    color: #0066cc !important;
}
body[data-theme-light="1"] .nav-fab {
    border: 3px solid #ffffff !important;
}

body[data-theme-light="1"] .tab-row {
    background: #f1f5f9 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}
body[data-theme-light="1"] .tab-pill {
    color: #64748b !important;
}
body[data-theme-light="1"] .tab-pill.active {
    background: #0f172a !important;
    color: #ffffff !important;
}

/* ── PINK THEME SPECIFIC STYLES ── */
body.theme-pink, body.theme-white {
    background: var(--bg-dark) !important;
    color: #ffffff !important;
}

body.theme-pink .card, body.theme-white .card,
body.theme-pink .section-card, body.theme-white .section-card,
body.theme-pink .custom-bg-card, body.theme-white .custom-bg-card,
body.theme-pink .profile-header-card, body.theme-white .profile-header-card,
body.theme-pink .stat-card, body.theme-white .stat-card,
body.theme-pink .setting-card, body.theme-white .setting-card,
body.theme-pink .playlist-card, body.theme-white .playlist-card,
body.theme-pink .converter-card, body.theme-white .converter-card,
body.theme-pink .file-item, body.theme-white .file-item,
body.theme-pink .pack-card, body.theme-white .pack-card {
    border: 1px solid rgba(255, 51, 133, 0.18) !important;
    background: rgba(24, 12, 20, 0.95) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
}

/* ── BUTTON OVERRIDES (WHITE / LIGHT THEME) ── */
body.theme-white .btn-glow, body[data-theme-light="1"] .btn-glow,
body.theme-white .btn-save, body[data-theme-light="1"] .btn-save,
body.theme-white .btn-submit, body[data-theme-light="1"] .btn-submit,
body.theme-white .btn-play-music, body[data-theme-light="1"] .btn-play-music,
body.theme-white .btn-custom-bg-save, body[data-theme-light="1"] .btn-custom-bg-save,
body.theme-white .btn-confirm-create-pl, body[data-theme-light="1"] .btn-confirm-create-pl,
body.theme-white .btn-reward-close, body[data-theme-light="1"] .btn-reward-close,
body.theme-white .btn-choose-pl, body[data-theme-light="1"] .btn-choose-pl,
body.theme-white .btn-reset-pw, body[data-theme-light="1"] .btn-reset-pw,
body.theme-white .btn-send-otp, body[data-theme-light="1"] .btn-send-otp,
body.theme-white .pl-btn-create, body[data-theme-light="1"] .pl-btn-create,
body.theme-white .pl-btn-add, body[data-theme-light="1"] .pl-btn-add,
body.theme-white .btn-crop-ok, body[data-theme-light="1"] .btn-crop-ok,
body.theme-white .btn-nav-primary, body[data-theme-light="1"] .btn-nav-primary,
body.theme-white .btn-gen-code, body[data-theme-light="1"] .btn-gen-code,
body.theme-white .btn-primary, body[data-theme-light="1"] .btn-primary {
    background: #0066cc !important;
    color: #ffffff !important;
    border: 1px solid #0052a3 !important;
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.22) !important;
    font-weight: 700 !important;
}

body.theme-white .btn-glow:hover, body[data-theme-light="1"] .btn-glow:hover,
body.theme-white .btn-save:hover, body[data-theme-light="1"] .btn-save:hover,
body.theme-white .btn-submit:hover, body[data-theme-light="1"] .btn-submit:hover,
body.theme-white .btn-play-music:hover, body[data-theme-light="1"] .btn-play-music:hover,
body.theme-white .btn-custom-bg-save:hover, body[data-theme-light="1"] .btn-custom-bg-save:hover,
body.theme-white .btn-confirm-create-pl:hover, body[data-theme-light="1"] .btn-confirm-create-pl:hover,
body.theme-white .btn-reward-close:hover, body[data-theme-light="1"] .btn-reward-close:hover,
body.theme-white .btn-choose-pl:hover, body[data-theme-light="1"] .btn-choose-pl:hover {
    background: #0052a3 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.32) !important;
}

body.theme-white .btn-copy, body[data-theme-light="1"] .btn-copy,
body.theme-white .pl-btn-copy, body[data-theme-light="1"] .pl-btn-copy {
    border: 1px solid #0066cc !important;
    color: #0066cc !important;
    background: rgba(0, 102, 204, 0.06) !important;
    font-weight: 600 !important;
}
body.theme-white .btn-copy:hover, body[data-theme-light="1"] .btn-copy:hover,
body.theme-white .pl-btn-copy:hover, body[data-theme-light="1"] .pl-btn-copy:hover {
    background: rgba(0, 102, 204, 0.14) !important;
    color: #0052a3 !important;
}

body.theme-white .btn-download, body[data-theme-light="1"] .btn-download,
body.theme-white .btn-download-miner, body[data-theme-light="1"] .btn-download-miner {
    border: 1px solid #16a34a !important;
    color: #16a34a !important;
    background: rgba(22, 163, 74, 0.06) !important;
    font-weight: 600 !important;
}
body.theme-white .btn-download:hover, body[data-theme-light="1"] .btn-download:hover {
    background: rgba(22, 163, 74, 0.14) !important;
    color: #15803d !important;
}

body.theme-white .btn-source, body[data-theme-light="1"] .btn-source,
body.theme-white .song-action-btn:not(.delete), body[data-theme-light="1"] .song-action-btn:not(.delete),
body.theme-white .btn-bg-upload, body[data-theme-light="1"] .btn-bg-upload,
body.theme-white .btn-outline, body[data-theme-light="1"] .btn-outline,
body.theme-white .pl-btn-edit, body[data-theme-light="1"] .pl-btn-edit {
    background: #f1f5f9 !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    color: #334155 !important;
}
body.theme-white .btn-source:hover, body[data-theme-light="1"] .btn-source:hover,
body.theme-white .song-action-btn:not(.delete):hover, body[data-theme-light="1"] .song-action-btn:not(.delete):hover,
body.theme-white .btn-bg-upload:hover, body[data-theme-light="1"] .btn-bg-upload:hover,
body.theme-white .pl-btn-edit:hover, body[data-theme-light="1"] .pl-btn-edit:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    border-color: rgba(0, 0, 0, 0.20) !important;
}

body.theme-white .btn-delete-cancel, body[data-theme-light="1"] .btn-delete-cancel,
body.theme-white .btn-cancel-create-pl, body[data-theme-light="1"] .btn-cancel-create-pl,
body.theme-white .btn-crop-cancel, body[data-theme-light="1"] .btn-crop-cancel,
body.theme-white .btn-cancel, body[data-theme-light="1"] .btn-cancel,
body.theme-white .btn-custom-bg-reset, body[data-theme-light="1"] .btn-custom-bg-reset {
    background: #f1f5f9 !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    color: #475569 !important;
}
body.theme-white .btn-delete-cancel:hover, body[data-theme-light="1"] .btn-delete-cancel:hover,
body.theme-white .btn-cancel-create-pl:hover, body[data-theme-light="1"] .btn-cancel-create-pl:hover,
body.theme-white .btn-crop-cancel:hover, body[data-theme-light="1"] .btn-crop-cancel:hover,
body.theme-white .btn-custom-bg-reset:hover, body[data-theme-light="1"] .btn-custom-bg-reset:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

body.theme-white .btn-delete-confirm, body[data-theme-light="1"] .btn-delete-confirm,
body.theme-white .song-action-btn.delete, body[data-theme-light="1"] .song-action-btn.delete,
body.theme-white .pl-btn-remove, body[data-theme-light="1"] .pl-btn-remove,
body.theme-white .pl-btn-del, body[data-theme-light="1"] .pl-btn-del,
body.theme-white .btn-danger, body[data-theme-light="1"] .btn-danger,
body.theme-white .btn-logout, body[data-theme-light="1"] .btn-logout,
body.theme-white .btn-bg-remove, body[data-theme-light="1"] .btn-bg-remove {
    background: #dc2626 !important;
    color: #ffffff !important;
    border: 1px solid #b91c1c !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.22) !important;
}
body.theme-white .btn-delete-confirm:hover, body[data-theme-light="1"] .btn-delete-confirm:hover,
body.theme-white .btn-danger:hover, body[data-theme-light="1"] .btn-danger:hover,
body.theme-white .btn-logout:hover, body[data-theme-light="1"] .btn-logout:hover {
    background: #b91c1c !important;
}

body.theme-white .btn-save-playlist, body[data-theme-light="1"] .btn-save-playlist {
    background: rgba(0, 102, 204, 0.08) !important;
    border: 1px solid #0066cc !important;
    color: #0066cc !important;
}
body.theme-white .btn-save-playlist:hover, body[data-theme-light="1"] .btn-save-playlist:hover {
    background: rgba(0, 102, 204, 0.16) !important;
}

body.theme-white .floating-download-btn, body[data-theme-light="1"] .floating-download-btn,
body.theme-white .floating-support-btn, body[data-theme-light="1"] .floating-support-btn {
    background: #0066cc !important;
    color: #ffffff !important;
    border: 1px solid #0052a3 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
}

body.theme-white .nav-fab, body[data-theme-light="1"] .nav-fab {
    background: #0066cc !important;
    color: #ffffff !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3) !important;
}

body.theme-white .modal-box, body[data-theme-light="1"] .modal-box,
body.theme-white .custom-modal-content, body[data-theme-light="1"] .custom-modal-content,
body.theme-white .pw-modal-box, body[data-theme-light="1"] .pw-modal-box,
body.theme-white .delete-music-box, body[data-theme-light="1"] .delete-music-box,
body.theme-white .reward-box, body[data-theme-light="1"] .reward-box {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.10) !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12) !important;
    color: #0f172a !important;
}

body.theme-white .custom-bg-preset, body[data-theme-light="1"] .custom-bg-preset {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid rgba(0, 0, 0, 0.10) !important;
}
body.theme-white .custom-bg-preset.active, body[data-theme-light="1"] .custom-bg-preset.active {
    border-color: #0066cc !important;
    background: rgba(0, 102, 204, 0.08) !important;
    color: #0066cc !important;
}

body.theme-white .vip-payment-box, body[data-theme-light="1"] .vip-payment-box {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.10) !important;
    color: #0f172a !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}
body.theme-white .vip-payment-close, body[data-theme-light="1"] .vip-payment-close {
    background: #f1f5f9 !important;
    border: 1px solid rgba(0, 0, 0, 0.10) !important;
    color: #475569 !important;
}
body.theme-white .vip-notice-card, body[data-theme-light="1"] .vip-notice-card {
    background: #ffffff !important;
    border: 1px solid rgba(255, 215, 0, 0.4) !important;
    color: #0f172a !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}
body.theme-white .vip-notice-info, body[data-theme-light="1"] .vip-notice-info {
    background: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #334155 !important;
}
body.theme-white .vip-notice-info span, body[data-theme-light="1"] .vip-notice-info span {
    color: #64748b !important;
}
body.theme-white .vip-notice-info strong, body[data-theme-light="1"] .vip-notice-info strong {
    color: #0f172a !important;
}
body.theme-white .vip-notice-card p, body[data-theme-light="1"] .vip-notice-card p {
    color: #64748b !important;
}
body.theme-white .vip-notice-close, body[data-theme-light="1"] .vip-notice-close {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

/* ── BODY ── */
body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: calc(var(--nav-height) + 30px);
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior-y: none;
}

/* ── BACKGROUND ORBS (CLEANED UP PER GEMINI.md - MATTE PERFORMANCE OPTIMIZED) ── */
body::before,
body::after {
    display: none !important;
}

/* ── SMOOTH PAGE ENTER & EXIT TRANSITIONS ── */
.container,
.page-wrap,
.auth-container,
.forum-wrap,
.trading-container,
.chat-main-wrap {
    animation: spPageEnter 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: opacity, transform;
}
@keyframes spPageEnter {
    from { opacity: 0.72; transform: translateY(6px); }
    to   { opacity: 1;    transform: translateY(0); }
}

body.sp-page-exiting .container,
body.sp-page-exiting .page-wrap,
body.sp-page-exiting .auth-container,
body.sp-page-exiting .forum-wrap,
body.sp-page-exiting .trading-container,
body.sp-page-exiting .chat-main-wrap {
    opacity: 0.65;
    transform: translateY(-4px);
    transition: opacity 0.12s cubic-bezier(0.16, 1, 0.3, 1), transform 0.12s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* ── CONTAINER ── */
.container {
    max-width: 1100px; margin: 40px auto;
    background: var(--glass-bg); backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
    padding: 30px; position: relative; z-index: 1;
}

/* ── AUTH PAGES ── */
.auth-container {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.auth-box {
    width: 100%; max-width: 400px;
    background: rgba(20, 20, 40, 0.85);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* ── FORM INPUTS ── */
.input-group  { position: relative; margin-bottom: 20px; }
.form-input {
    width: 100%;
    padding: 14px 20px 14px 46px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff; font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: border-color 0.25s, background 0.25s;
}
.form-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(0,210,255,0.05);
}
.form-input::placeholder { color: var(--text-secondary); }
.input-icon {
    position: absolute; left: 15px; top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem; color: var(--text-secondary);
    pointer-events: none;
}

/* ── HEADINGS ── */
h1 {
    font-size: 1.8rem;
    background: linear-gradient(to right, #fff, var(--accent-cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    display: flex; align-items: center; gap: 10px;
}
h2 { font-size: 1.4rem; color: #fff; margin-bottom: 15px; }
a  { text-decoration: none; transition: color 0.25s, opacity 0.25s; }

/* ── DESKTOP HEADER ── */
.main-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 30px; padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}
.desktop-nav { display: flex; align-items: center; gap: 15px; }

/* ════════════════════════════════════════════════
   BOTTOM NAV — MOBILE (default)
   ════════════════════════════════════════════════ */
.bottom-nav {
    position: fixed; bottom: 0; left: 0;
    width: 100%; height: var(--nav-height);
    /* background sudah 97% opak — blur di bawahnya nyaris tak kelihatan,
       tapi GPU tetap harus menghitung ulang blur ini di SETIAP frame saat
       konten (list lagu) di-scroll di baliknya. Di HP, biaya ini jauh lebih
       besar daripada manfaat visualnya, jadi blur dibatasi khusus
       desktop/mouse (lihat media query di bawah); mobile pakai warna solid. */
    background: rgba(9, 7, 27, 0.99);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; justify-content: space-around; align-items: center;
    z-index: 1000;
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom);
}
@media (hover: hover) and (pointer: fine) {
    .bottom-nav {
        background: rgba(10, 8, 30, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }
}

/* ── NAV ITEM (mobile) ── */
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    width: 100%;
    height: 100%;
    gap: 3px;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

/* Label teks nav — WAJIB MUNCUL */
.nav-item span {
    display: block !important;
    font-size: 0.62rem !important;
    font-weight: 600;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.nav-item i {
    font-size: 1.45rem;
    line-height: 1;
    transition: transform 0.2s, color 0.2s;
}

/* Active state */
.nav-item.active {
    color: var(--accent-cyan);
}
.nav-item.active span { opacity: 1; }
.nav-item.active i    { transform: translateY(-1px); }

/* Hover */
.nav-item:hover:not(.active) {
    color: rgba(255,255,255,0.7);
}
.nav-item:hover:not(.active) span { opacity: 1; }

/* Active dot indicator (Matte & clean, no glow) */
.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: none;
}

/* ── FAB (+ Converter) — mobile ── */
.nav-fab {
    position: relative;
    top: -22px;
    width: 58px; height: 58px;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    border: 4px solid var(--bg-dark);
    color: #fff; font-size: 1.8rem;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
    flex-shrink: 0;
    will-change: transform;
}
.nav-fab:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

/* FAB wrapper nav-item tidak pakai style nav-item biasa */
.nav-item:has(.nav-fab) {
    width: auto;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   SIDEBAR — DESKTOP (≥ 769px)
   ══════════════════════════════════════════════ */
@media (min-width: 769px) {
    .desktop-nav { display: none; }

    body {
        padding-left: 100px;
        padding-bottom: 40px;
        padding-top: 40px;
    }

    .bottom-nav {
        flex-direction: column !important;
        position: fixed;
        top: 0; left: 0; bottom: 0;
        width: 90px;
        height: 100vh;
        background: rgba(12, 10, 32, 0.97) !important;
        border-right: 1px solid var(--glass-border);
        border-top: none !important;
        justify-content: center;
        gap: 28px;
        box-shadow: 5px 0 24px rgba(0,0,0,0.5);
        padding: 0;
        padding-bottom: 0;
    }

    .nav-item {
        height: auto;
        font-size: 0.6rem;
    }
    .nav-item i { font-size: 1.75rem; }

    /* dot indicator sidebar — kiri */
    .nav-item.active::after {
        bottom: auto;
        left: 0;
        top: 50%; transform: translateY(-50%);
        width: 3px; height: 28px;
        border-radius: 0 3px 3px 0;
        background: var(--accent-cyan);
        box-shadow: 0 0 8px var(--accent-cyan);
    }

    .nav-fab {
        top: 0;
        width: 54px; height: 54px;
        margin: 8px auto;
        border: 3px solid var(--bg-dark);
    }
}

/* ══════════════════════════════════════════════
   MOBILE ONLY overrides
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .file-actions { flex-direction: column; }
    .btn-play-music, .btn-download, .btn-copy, .btn-source { justify-content: center; width: 100%; }
}

/* ════════════════════════════════════════════════
   FILE LIST
   ════════════════════════════════════════════════ */
.file-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.file-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px; padding: 15px;
    display: flex; flex-direction: column;
    cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease;
    position: relative;
    /* OPTIMASI: dulu SETIAP item (bisa ratusan lagu) dipaksa jadi layer GPU
       sendiri lewat translateZ(0) + will-change permanen. Dengan ratusan
       lagu = ratusan compositor layer nangkring terus di memori GPU → HP
       kelas menengah-bawah jadi berat terus-menerus, bukan cuma pas klik
       copy. background/border-color transition cukup murah tanpa promosi
       layer, jadi dihapus. content-visibility bikin item di luar layar
       (belum/sudah di-scroll lewat) tidak ikut dihitung layout & paint-nya
       sampai benar-benar akan terlihat. */
    content-visibility: auto;
    contain-intrinsic-size: auto 88px;
}
.file-item:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); }
.file-header { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.file-actions {
    display: flex;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid transparent;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
    pointer-events: none;
    transition: max-height 0.28s cubic-bezier(0.2, 0, 0, 1), opacity 0.22s ease, margin-top 0.24s ease, padding-top 0.24s ease;
}
/* will-change HANYA aktif saat item sedang terbuka (expanded), bukan
   permanen di semua ratusan item — jadi cuma 1 layer GPU ekstra per saat,
   bukan ratusan sekaligus. */
.file-item.expanded .file-actions {
    will-change: max-height, opacity;
}
.file-item.expanded .file-actions {
    max-height: 180px;
    opacity: 1;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
    pointer-events: auto;
}
.file-title {
    font-weight: 600; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 200px; display: flex; align-items: center; gap: 8px;
}
@media (min-width: 769px) { .file-title { max-width: 400px; } }

/* ════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════ */
.btn-glow {
    background: var(--accent-cyan, #00d2ff);
    color: #070913; padding: 12px 24px; border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12); cursor: pointer; font-weight: 700; font-family: 'Outfit', sans-serif;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, opacity 0.2s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.btn-glow:hover  { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45); opacity: 0.95; }
.btn-glow:active { transform: scale(0.97); }

.btn-play-music, .btn-download, .btn-copy, .btn-source {
    padding: 8px 16px; border-radius: 20px; font-size: 0.85rem;
    cursor: pointer; display: inline-flex; align-items: center;
    gap: 6px; text-decoration: none; font-family: 'Outfit', sans-serif;
    transition: background 0.2s, transform 0.15s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-play-music {
    background: var(--accent-cyan, #00d2ff);
    color: #070913;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.btn-play-music:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    opacity: 0.95;
}

/* ── MUSIC MORE (TOMBOL SELENGKAPNYA) ── */
.music-more-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 18px;
    margin-bottom: 28px;
}

.btn-music-more {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    background: #11131e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    user-select: none;
}

.btn-music-more:hover {
    background: #171a2a;
    border-color: rgba(0, 210, 255, 0.35);
    color: var(--accent-cyan, #00d2ff);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.btn-music-more:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-music-more i {
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.btn-music-more:hover i {
    transform: translateY(2px);
}

.music-item-hidden {
    display: none !important;
}
.btn-download { border: 1px solid var(--accent-success); color: var(--accent-success); background: transparent; }
.btn-download:hover { background: rgba(0,255,136,0.1); }
.btn-copy     { border: 1px solid var(--accent-cyan); color: var(--accent-cyan); background: transparent; }
.btn-copy:hover { background: rgba(0,210,255,0.1); }
.btn-copy.copied {
    border-color: var(--accent-success) !important;
    color: var(--accent-success) !important;
    background: rgba(0, 255, 136, 0.12) !important;
    transform: scale(1.02);
}

.btn-source {
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}
.btn-source:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-1px);
}
.btn-source-yt {
    border: 1px solid rgba(255, 68, 68, 0.45);
    color: #ff5252;
    background: rgba(255, 68, 68, 0.08);
}
.btn-source-yt:hover {
    background: rgba(255, 68, 68, 0.2);
    border-color: #ff5252;
    color: #ff7b7b;
    box-shadow: 0 0 12px rgba(255, 68, 68, 0.3);
}
.btn-source-sc {
    border: 1px solid rgba(255, 119, 0, 0.45);
    color: #ff8800;
    background: rgba(255, 119, 0, 0.08);
}
.btn-source-sc:hover {
    background: rgba(255, 119, 0, 0.2);
    border-color: #ff8800;
    color: #ffa439;
    box-shadow: 0 0 12px rgba(255, 119, 0, 0.3);
}
.btn-source-sp {
    border: 1px solid rgba(30, 215, 96, 0.45);
    color: #1ed760;
    background: rgba(30, 215, 96, 0.08);
}
.btn-source-sp:hover {
    background: rgba(30, 215, 96, 0.2);
    border-color: #1ed760;
    color: #43e67e;
    box-shadow: 0 0 12px rgba(30, 215, 96, 0.3);
}
.btn-source-tt {
    border: 1px solid rgba(254, 44, 85, 0.45);
    color: #fe2c55;
    background: rgba(254, 44, 85, 0.08);
}
.btn-source-tt:hover {
    background: rgba(254, 44, 85, 0.2);
    border-color: #fe2c55;
    color: #ff5778;
    box-shadow: 0 0 12px rgba(254, 44, 85, 0.3);
}

.song-source-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.song-source-tag.yt {
    background: rgba(255, 68, 68, 0.12);
    color: #ff5252;
    border: 1px solid rgba(255, 68, 68, 0.3);
}
.song-source-tag.sc {
    background: rgba(255, 119, 0, 0.12);
    color: #ff8800;
    border: 1px solid rgba(255, 119, 0, 0.3);
}
.song-source-tag.sp {
    background: rgba(30, 215, 96, 0.12);
    color: #1ed760;
    border: 1px solid rgba(30, 215, 96, 0.3);
}
.song-source-tag.tt {
    background: rgba(254, 44, 85, 0.12);
    color: #fe2c55;
    border: 1px solid rgba(254, 44, 85, 0.3);
}

/* ════════════════════════════════════════════════
   TABS (generic)
   ════════════════════════════════════════════════ */
.tab-container {
    display: flex; gap: 10px; margin-bottom: 20px;
    background: rgba(0,0,0,0.2); padding: 5px;
    border-radius: 40px; width: fit-content; margin: 0 auto 20px;
}
.tab-btn {
    background: transparent; border: none; color: var(--text-secondary);
    padding: 8px 20px; border-radius: 30px; cursor: pointer; font-weight: 600;
    font-family: 'Outfit', sans-serif;
    display: flex; align-items: center; gap: 6px;
    transition: background 0.2s, color 0.2s;
}
.tab-btn.active { background: var(--accent-cyan); color: #000; }
.tab-content { display: none; animation: fadeIn 0.35s; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

/* ════════════════════════════════════════════════
   LEADERBOARD
   ════════════════════════════════════════════════ */
.rank-item {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,0.05); padding: 12px 16px;
    border-radius: 12px; border: 1px solid var(--glass-border);
    margin-bottom: 10px; cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    position: relative; overflow: hidden;
}
.rank-item:hover { background: rgba(255,255,255,0.09); transform: translateX(2px); }
.rank-left { display: flex; align-items: center; gap: 12px; }
.rank-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.1); overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
    flex-shrink: 0; border: 2px solid rgba(255,255,255,0.1);
}
.rank-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ── STREAK BADGE (FLAME ASSET) ── */
.streak-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.18), rgba(255, 45, 0, 0.28));
    border: 1px solid rgba(255, 107, 0, 0.45);
    color: #ff7a00;
    padding: 2px 7px;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.2px;
    box-shadow: 0 0 10px rgba(255, 90, 0, 0.25);
    vertical-align: middle;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.streak-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 0 14px rgba(255, 90, 0, 0.45);
}
.streak-badge .streak-icon {
    font-size: 0.8rem;
    color: #ff5500;
    filter: drop-shadow(0 0 4px rgba(255, 100, 0, 0.6));
    animation: flamePulse 1.8s infinite ease-in-out;
}
.streak-badge .streak-num {
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: inherit;
}
@keyframes flamePulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(255, 100, 0, 0.6)); }
    50% { transform: scale(1.18); filter: drop-shadow(0 0 8px rgba(255, 160, 0, 0.9)); color: #ffaa00; }
}

/* ════════════════════════════════════════════════
   STREAK INCREASE CELEBRATION MODAL
   ════════════════════════════════════════════════ */
.streak-celebration-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: streakOverlayFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.streak-celebration-backdrop {
    position: absolute;
    inset: 0;
}
.streak-celebration-card {
    position: relative;
    max-width: 400px;
    width: min(92vw, 400px);
    background: #11131e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 28px 22px 24px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
    animation: streakCardPop 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    overflow: hidden;
}

.streak-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    z-index: 2;
}
.streak-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.streak-icon-badge {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ff7a00;
    margin: 0 auto 16px;
}

.streak-number-wrapper {
    margin-bottom: 16px;
}
.streak-counter-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 20px;
    border-radius: 99px;
}
.streak-number-old {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
}
.streak-number-arrow {
    font-size: 1.1rem;
    color: #ff9800;
    display: flex;
    align-items: center;
}
.streak-number-active {
    font-size: 2rem;
    font-weight: 800;
    color: #ff9800;
    line-height: 1;
}
.streak-days-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 1.5px;
    margin-top: 6px;
    text-transform: uppercase;
}

.streak-title-box {
    margin-bottom: 16px;
}
.streak-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}
.streak-subtitle {
    font-size: 0.88rem;
    color: #9ca3af;
    line-height: 1.5;
    margin: 0;
}

.streak-perk-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 12px 14px;
    text-align: left;
    margin-bottom: 20px;
}
.streak-perk-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ff9800;
    flex-shrink: 0;
}
.streak-perk-text strong {
    font-size: 0.82rem;
    color: #ffffff;
    display: block;
    margin-bottom: 2px;
}
.streak-perk-text span {
    font-size: 0.75rem;
    color: #9ca3af;
    line-height: 1.35;
    display: block;
}

.streak-btn-claim {
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    border: none;
    background: #ff6b00;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    transition: background 0.15s ease, transform 0.15s ease;
}
.streak-btn-claim:hover {
    background: #e66000;
    transform: translateY(-1px);
}
.streak-btn-claim:active {
    transform: translateY(0);
}

/* Keyframe Animations */
@keyframes streakOverlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes streakOverlayFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
@keyframes streakCardPop {
    0% { opacity: 0; transform: scale(0.92) translateY(16px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes streakCardHide {
    0% { opacity: 1; transform: scale(1) translateY(0); }
    100% { opacity: 0; transform: scale(0.94) translateY(12px); }
}

/* ════════════════════════════════════════════════
   POPUP
   ════════════════════════════════════════════════ */
.popup-overlay {
    position: fixed; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.82); z-index: 2000;
    display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(6px);
}
.popup-overlay.active { display: flex; }
.popup-box {
    background: var(--bg-dark);
    border: 1px solid var(--accent-success);
    padding: 32px; border-radius: 24px;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0,0,0,0.6);
    animation: popIn 0.3s cubic-bezier(0.34,1.4,0.64,1);
    max-width: 340px; width: 90%;
}
@keyframes popIn { from { transform: scale(0.55); opacity:0; } to { transform: scale(1); opacity:1; } }

/* ════════════════════════════════════════════════
   UTILS
   ════════════════════════════════════════════════ */
.error {
    background: rgba(255,77,77,0.1); color: #ff4d4d;
    border: 1px solid #ff4d4d; border-radius: 12px;
    padding: 12px; text-align: center; font-size: 0.9rem;
}
.loading {
    text-align: center; padding: 24px; color: var(--text-secondary);
}

/* ════════════════════════════════════════════════
   SAMP WIDGET
   ════════════════════════════════════════════════ */
.samp-widget {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-radius: 16px; padding: 15px;
    margin-bottom: 20px; text-align: center;
}
.samp-header {
    font-weight: 700; margin-bottom: 10px; color: var(--accent-cyan);
    display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* ════════════════════════════════════════════════
   CHAT BOX
   ════════════════════════════════════════════════ */
.chat-container {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    height: 400px;
    display: flex; flex-direction: column;
    overflow: hidden;
}
.chat-box {
    flex: 1; padding: 15px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 8px;
}
.chat-msg {
    background: rgba(255,255,255,0.05);
    padding: 8px 12px; border-radius: 10px;
    font-size: 0.9rem; word-break: break-word;
}
.chat-system {
    text-align: center; color: var(--text-secondary);
    font-size: 0.8rem; margin: 10px 0;
}
.chat-input-area {
    padding: 10px; background: rgba(0,0,0,0.3);
    display: flex; gap: 10px;
}
#chat-input {
    flex: 1; background: rgba(255,255,255,0.1);
    border: none; color: #fff;
    padding: 10px; border-radius: 20px;
    font-family: 'Outfit', sans-serif;
}
#chat-input:focus { outline: none; background: rgba(255,255,255,0.18); }

/* ════════════════════════════════════════════════
   NAV SLIDE-IN ANIMATION (dari index.html)
   ════════════════════════════════════════════════ */
.bottom-nav.nav-in {
    animation: navSlideUp 0.45s cubic-bezier(0.34,1.2,0.64,1) forwards;
}
@keyframes navSlideUp {
    from { transform: translateY(80px); opacity: 0; }
    to   { transform: translateY(0);   opacity: 1; }
}

/* ════════════════════════════════════════════════
   SCROLLBAR CUSTOM
   ════════════════════════════════════════════════ */
::-webkit-scrollbar       { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); border-radius: 10px; }
::-webkit-scrollbar-thumb { background: rgba(0,210,255,0.3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,210,255,0.5); }

/* ════════════════════════════════════════════════
   SELECTION
   ════════════════════════════════════════════════ */
::selection { background: rgba(0,210,255,0.25); color: #fff; }

/* ========================================================
   CUSTOM WEB BACKGROUND MEDIA LAYER — VIP/ADMIN
   Mendukung image, GIF bergerak, dan video MP4.
   ======================================================== */
body[data-web-bg-media="1"] {
    background: var(--bg-dark) !important;
    background-attachment: fixed !important;
}

/* Matikan orb bawaan agar video/GIF tidak ketutup layer background lama */
body[data-web-bg-media="1"]::before,
body[data-web-bg-media="1"]::after {
    display: none !important;
}

.web-bg-media-layer,
.web-bg-media-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.web-bg-media-layer {
    inset: -34px;
    z-index: 0;
    overflow: hidden;
    background: var(--bg-gradient);
}

.web-bg-media {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: var(--web-bg-blur, none);
    transform: scale(var(--web-bg-scale, 1));
    transform-origin: center;
    opacity: var(--web-bg-media-opacity, .78);
}

.web-bg-media-layer video.web-bg-media {
    min-width: 100%;
    min-height: 100%;
}

.web-bg-media-overlay {
    z-index: 1;
    background:
        radial-gradient(circle at 12% 0%, var(--accent-secondary)44 0%, transparent 36%),
        radial-gradient(circle at 88% 100%, var(--accent-primary)44 0%, transparent 38%),
        linear-gradient(135deg, rgba(5, 7, 18, .68), rgba(12, 10, 34, .42), rgba(0,0,0,.52));
}

/* Semua konten halaman dinaikkan di atas layer media */
body[data-web-bg-media="1"] > *:not(.web-bg-media-layer):not(.web-bg-media-overlay) {
    position: relative;
    z-index: 2;
}

body[data-web-bg-blur="0"] .web-bg-media {
    filter: none !important;
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .web-bg-media-layer video.web-bg-media {
        animation: none;
    }
}


/* ========================================================
   FIX MEDIA BACKGROUND UI — readability + bottom nav lock
   Patch ini mencegah foto/video background bikin UI jadi transparan/berantakan.
   ======================================================== */
html {
    min-height: 100%;
    background: var(--bg-dark);
}

body[data-web-bg-media="1"] {
    min-height: 100vh;
    min-height: 100dvh;
    background: #070817 !important;
    background-attachment: fixed !important;
    isolation: isolate;
    padding-bottom: calc(var(--nav-height) + 28px + env(safe-area-inset-bottom)) !important;
}

body[data-web-bg-media="1"] .web-bg-media-layer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 0 !important;
    overflow: hidden !important;
    background: var(--bg-gradient) !important;
    pointer-events: none !important;
}

body[data-web-bg-media="1"] .web-bg-media {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    opacity: var(--web-bg-media-opacity, .42) !important;
    filter: var(--web-bg-blur, none) saturate(.95) contrast(.92) brightness(.78) !important;
    transform: scale(var(--web-bg-scale, 1)) !important;
    transform-origin: center !important;
}

body[data-web-bg-media="1"][data-web-bg-blur="0"] .web-bg-media {
    filter: saturate(.95) contrast(.92) brightness(.72) !important;
    transform: scale(1) !important;
}

body[data-web-bg-media="1"] .web-bg-media-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(4,5,14,.58) 0%, rgba(4,5,14,.34) 34%, rgba(4,5,14,.72) 100%),
        radial-gradient(circle at 12% 4%, color-mix(in srgb, var(--accent-secondary) 34%, transparent) 0%, transparent 32%),
        radial-gradient(circle at 88% 96%, color-mix(in srgb, var(--accent-primary) 30%, transparent) 0%, transparent 34%),
        rgba(5, 6, 18, .40) !important;
}

body[data-web-bg-media="1"] > *:not(.web-bg-media-layer):not(.web-bg-media-overlay) {
    position: relative;
    z-index: 5;
}

/* Kunci navbar supaya tidak ikut terdorong layout/background media */
body[data-web-bg-media="1"] .bottom-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    height: calc(var(--nav-height) + env(safe-area-inset-bottom)) !important;
    z-index: 9999 !important;
    background: rgba(7, 8, 24, .94) !important;
    border-top: 1px solid rgba(255,255,255,.14) !important;
    box-shadow: 0 -18px 50px rgba(0,0,0,.45) !important;
    backdrop-filter: blur(22px) saturate(1.25) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.25) !important;
}

@media (min-width: 769px) {
    body[data-web-bg-media="1"] {
        padding-left: 100px !important;
        padding-bottom: 40px !important;
    }
    body[data-web-bg-media="1"] .bottom-nav {
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        width: 90px !important;
        height: 100vh !important;
        height: 100dvh !important;
        flex-direction: column !important;
        border-top: none !important;
        border-right: 1px solid rgba(255,255,255,.14) !important;
        box-shadow: 18px 0 50px rgba(0,0,0,.45) !important;
    }
}

/* Glass surface dibuat sedikit lebih padat saat pakai foto/video agar teks tetap kebaca */
body[data-web-bg-media="1"] .container,
body[data-web-bg-media="1"] .auth-box,
body[data-web-bg-media="1"] .tab-row,
body[data-web-bg-media="1"] .search-wrap,
body[data-web-bg-media="1"] .topbar-info-card,
body[data-web-bg-media="1"] .vip-panel,
body[data-web-bg-media="1"] .chat-container,
body[data-web-bg-media="1"] .chat-box,
body[data-web-bg-media="1"] .support-card,
body[data-web-bg-media="1"] .token-card,
body[data-web-bg-media="1"] .gacha-card,
body[data-web-bg-media="1"] .monitor-card {
    background: rgba(8, 10, 28, .62) !important;
    border-color: rgba(255,255,255,.16) !important;
    box-shadow: 0 18px 55px rgba(0,0,0,.30) !important;
    backdrop-filter: blur(18px) saturate(1.15) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.15) !important;
}

/* Item dalam list (ratusan elemen) TIDAK BOLEH pakai backdrop-filter supaya GPU tidak freeze saat switch tab / copy link */
body[data-web-bg-media="1"] .file-item,
body[data-web-bg-media="1"] .rank-item,
body[data-web-bg-media="1"] .playlist-card {
    background: rgba(12, 15, 35, 0.88) !important;
    border-color: rgba(255,255,255,.14) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,.25) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body[data-web-bg-media="1"] .topbar-title,
body[data-web-bg-media="1"] h1,
body[data-web-bg-media="1"] h2,
body[data-web-bg-media="1"] h3,
body[data-web-bg-media="1"] .file-title {
    text-shadow: 0 3px 18px rgba(0,0,0,.72);
}

body[data-web-bg-media="1"] .floating-download-btn,
body[data-web-bg-media="1"] .floating-support-btn,
body[data-web-bg-media="1"] .gacha-fab {
    z-index: 9998 !important;
}

/* ========================================================
   RELEVANT FIX — Custom background global + Android video picker UI
   ======================================================== */
.web-bg-media-panel {
    margin-top: 18px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.035);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.web-bg-media-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.web-bg-media-title {
    font-weight: 900;
    letter-spacing: .2px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.web-bg-media-sub {
    margin-top: 4px;
    color: var(--text-secondary);
    font-size: .82rem;
    line-height: 1.45;
}
.web-bg-media-preview {
    position: relative;
    width: 100%;
    height: 190px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    background:
        radial-gradient(circle at 20% 0%, rgba(0,210,255,.18), transparent 36%),
        linear-gradient(135deg, rgba(0,0,0,.42), rgba(255,255,255,.04));
}
.web-bg-media-preview img,
.web-bg-media-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.web-bg-media-empty {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255,255,255,.58);
    font-weight: 700;
}
.web-bg-media-empty i { font-size: 2rem; color: var(--accent-cyan); }
.web-bg-media-actions {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    margin-top: 12px;
}
.btn-bg-video {
    border-color: rgba(0,210,255,.24) !important;
    background: rgba(0,210,255,.08) !important;
    color: var(--accent-cyan) !important;
}
.web-bg-media-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}
.web-bg-media-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.84);
    font-size: .86rem;
    font-weight: 700;
}
@media (max-width: 520px) {
    .web-bg-media-actions { grid-template-columns: 1fr; }
    .web-bg-media-options { grid-template-columns: 1fr; }
    .web-bg-media-preview { height: 165px; }
}

/* ========================================================
   FIX — Floating shortcut buttons kanan bawah + delete music UI
   ======================================================== */
:root {
    --float-stack-right: 16px;
    --float-stack-gap: 12px;
    --float-stack-size: 54px;
    --float-stack-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 18px);
}

/* Paksa tombol ngambang tidak nyasar ke kiri/atas. */
.floating-download-btn,
.floating-support-btn,
.gacha-fab {
    position: fixed !important;
    left: auto !important;
    right: var(--float-stack-right) !important;
    width: var(--float-stack-size) !important;
    height: var(--float-stack-size) !important;
    min-width: var(--float-stack-size) !important;
    min-height: var(--float-stack-size) !important;
    border-radius: 50% !important;
    z-index: 9998 !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    backdrop-filter: blur(14px) saturate(1.25) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.25) !important;
}

.gacha-fab {
    bottom: var(--float-stack-bottom) !important;
    background: linear-gradient(135deg, #ffd700, #ff6b00) !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,.10), 0 8px 24px rgba(0,0,0,.5) !important;
}
.floating-support-btn {
    bottom: calc(var(--float-stack-bottom) + var(--float-stack-size) + var(--float-stack-gap)) !important;
    background: linear-gradient(135deg, var(--accent-cyan), #00ff88) !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,.10), 0 8px 24px rgba(0,0,0,.5) !important;
}
.floating-download-btn {
    bottom: calc(var(--float-stack-bottom) + (var(--float-stack-size) + var(--float-stack-gap)) * 2) !important;
    background: linear-gradient(135deg, var(--accent-primary), #7b2ff7) !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,.10), 0 8px 24px rgba(0,0,0,.5) !important;
}

.floating-download-btn.btn-pop,
.floating-support-btn.btn-pop {
    animation: none !important;
}

@media (max-width: 380px) {
    :root {
        --float-stack-right: 12px;
        --float-stack-size: 50px;
        --float-stack-gap: 10px;
    }
}

@media (min-width: 769px) {
    .floating-download-btn,
    .floating-support-btn,
    .gacha-fab {
        right: 24px !important;
    }
    .gacha-fab { bottom: 24px !important; }
    .floating-support-btn { bottom: 92px !important; }
    .floating-download-btn { bottom: 160px !important; }
}

/* Card koleksi lagu di converter */
.my-song-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}
.my-song-main {
    flex: 1;
    min-width: 0;
}
.my-song-title {
    color: var(--text-primary);
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.my-song-meta {
    color: var(--text-secondary);
    font-size: .72rem;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}
.my-song-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.song-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.055);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.song-action-btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.10); }
.song-action-btn.delete {
    color: #ff6b86;
    border-color: rgba(255,80,110,.22);
    background: rgba(255,80,110,.08);
}
.song-action-btn.delete:hover { background: rgba(255,80,110,.15); border-color: rgba(255,80,110,.42); }
.song-action-btn.source-yt {
    color: #ff5252;
    border-color: rgba(255,68,68,.3);
    background: rgba(255,68,68,.08);
}
.song-action-btn.source-yt:hover { background: rgba(255,68,68,.2); border-color: #ff5252; color: #ff7b7b; }
.song-action-btn.source-sc {
    color: #ff8800;
    border-color: rgba(255,119,0,.3);
    background: rgba(255,119,0,.08);
}
.song-action-btn.source-sc:hover { background: rgba(255,119,0,.2); border-color: #ff8800; color: #ffa439; }
.source-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
}
.source-pill.yt { background: rgba(255,68,68,0.12); color: #ff5252; border: 1px solid rgba(255,68,68,0.3); }
.source-pill.sc { background: rgba(255,119,0,0.12); color: #ff8800; border: 1px solid rgba(255,119,0,0.3); }
.source-pill.sp { background: rgba(30,215,96,0.12); color: #1ed760; border: 1px solid rgba(30,215,96,0.25); }
.source-pill.tt { background: rgba(254,44,85,0.12); color: #fe2c55; border: 1px solid rgba(254,44,85,0.25); }

.delete-music-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.delete-music-modal.show { display: flex; }
.delete-music-box {
    width: min(420px, 100%);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.14);
    background:
        radial-gradient(circle at 50% -10%, rgba(255,77,120,.16), transparent 34%),
        rgba(10, 12, 30, .92);
    box-shadow: 0 28px 90px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.08);
    padding: 22px;
    color: var(--text-primary);
}
.delete-music-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4d78;
    border: 1px solid rgba(255,77,120,.42);
    background: rgba(255,77,120,.10);
    box-shadow: 0 0 26px rgba(255,77,120,.26);
    font-size: 1.7rem;
}
.delete-music-title {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 6px;
}
.delete-music-sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: .82rem;
    line-height: 1.5;
    margin-bottom: 16px;
}
.delete-music-song {
    color: #ff6b96;
    font-weight: 900;
}
.delete-math-question {
    margin: 14px 0 10px;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--accent-cyan) 42%, transparent);
    background: rgba(0,0,0,.24);
    padding: 13px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: .5px;
    color: var(--accent-cyan);
    text-shadow: 0 0 18px color-mix(in srgb, var(--accent-cyan) 42%, transparent);
}
.delete-answer-input {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.055);
    color: var(--text-primary);
    padding: 13px 14px;
    font-family: inherit;
    font-size: .95rem;
    outline: none;
}
.delete-answer-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-cyan) 15%, transparent);
}
.delete-music-error {
    min-height: 18px;
    margin-top: 8px;
    color: #ff7a90;
    font-size: .78rem;
    font-weight: 700;
}
.delete-music-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}
.delete-music-actions button {
    border: none;
    border-radius: 14px;
    padding: 12px;
    font-family: inherit;
    font-weight: 900;
    cursor: pointer;
}
.btn-delete-cancel { background: rgba(255,255,255,.08); color: var(--text-primary); border: 1px solid rgba(255,255,255,.10) !important; }
.btn-delete-confirm { background: linear-gradient(135deg, #ff3d68, #ff6b2b); color: #fff; box-shadow: 0 10px 26px rgba(255,61,104,.24); }
.btn-delete-confirm:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }

/* ========================================================
   UNIFIED ANNOUNCEMENT UI (Clean Matte SAMPPLAY Design)
   ======================================================== */
.sp-announcement-root {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    pointer-events: auto !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.sp-announcement-backdrop {
    position: absolute;
    inset: 0;
}

.sp-announcement-card,
.sp-announcement-card-v4,
.sp-announcement-card-v5 {
    pointer-events: auto !important;
    width: min(92vw, 420px) !important;
    max-height: min(85vh, 720px) !important;
    overflow-y: auto !important;
    position: relative !important;
    border-radius: 20px !important;
    padding: 24px !important;
    color: var(--text-primary) !important;
    background: #11131e !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65) !important;
    animation: spAnnPop .28s cubic-bezier(.16, 1, .3, 1) both !important;
}

.sp-announcement-hide { animation: spAnnHide .22s ease both !important; }

.sp-announcement-head {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    padding-right: 28px !important;
}

.sp-announcement-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--accent-cyan, #00d2ff) !important;
    font-size: 1.35rem !important;
    background: rgba(0, 210, 255, 0.1) !important;
    border: 1px solid rgba(0, 210, 255, 0.2) !important;
    flex-shrink: 0 !important;
}

.sp-announcement-head-meta {
    flex: 1;
    min-width: 0;
}

.sp-announcement-kicker {
    color: var(--accent-cyan, #00d2ff) !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    font-size: .72rem !important;
    text-transform: uppercase !important;
    margin-bottom: 2px !important;
}

.sp-announcement-title {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    word-break: break-word !important;
}

.sp-announcement-close {
    position: absolute !important;
    right: 14px !important;
    top: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #9ca3af !important;
    font-size: 1.15rem !important;
    cursor: pointer !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
}
.sp-announcement-close:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    transform: none !important;
}

.sp-announcement-image-wrap {
    width: 100% !important;
    margin: 0 0 16px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.sp-announcement-image {
    display: block !important;
    width: 100% !important;
    max-height: 320px !important;
    object-fit: cover !important;
}

.sp-announcement-text,
.sp-announcement-caption {
    display: block !important;
    color: #d1d5db !important;
    text-align: left !important;
    font-size: 0.92rem !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    word-break: break-word !important;
    white-space: pre-line !important;
}

.sp-announcement-warning {
    display: flex !important;
    gap: 10px !important;
    align-items: flex-start !important;
    background: rgba(245, 158, 11, 0.1) !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    color: #fbbf24 !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
    margin-bottom: 18px !important;
}

.sp-announcement-ok {
    width: 100% !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 18px !important;
    background: var(--accent-cyan, #00d2ff) !important;
    color: #070913 !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
    transition: background 0.15s ease, transform 0.15s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}
.sp-announcement-ok:hover {
    background: #00bce6 !important;
    transform: translateY(-1px) !important;
}
.sp-announcement-ok:active {
    transform: translateY(0) !important;
}

@keyframes spAnnPop {
    from { opacity: 0; transform: translateY(16px) scale(.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes spAnnHide {
    to { opacity: 0; transform: translateY(12px) scale(.96); }
}

@media (max-width: 480px) {
    .sp-announcement-card, .sp-announcement-card-v4, .sp-announcement-card-v5 { 
        width: 92vw !important; 
        padding: 20px !important; 
    }
    .sp-announcement-image { max-height: 260px !important; }
}

/* ========================================================
   HOTFIX — PROFILE VIP PLAYLIST MODAL MUST BE FLOATING
   ======================================================== */
html body #playlist-modal.pl-modal,
html body #playlist-detail-modal.pl-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    display: none !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: calc(env(safe-area-inset-top) + 16px) 14px calc(var(--nav-height) + env(safe-area-inset-bottom) + 30px) !important;
    margin: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    background:
        radial-gradient(circle at 18% 10%, rgba(0, 210, 255, .14), transparent 32%),
        radial-gradient(circle at 84% 12%, rgba(255, 0, 204, .14), transparent 34%),
        rgba(0, 0, 8, .82) !important;
    backdrop-filter: blur(18px) saturate(145%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(145%) !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
}

html body #playlist-modal.pl-modal.is-open,
html body #playlist-detail-modal.pl-modal.is-open,
html body #playlist-modal.pl-modal[style*="display: block"],
html body #playlist-detail-modal.pl-modal[style*="display: block"],
html body #playlist-modal.pl-modal[style*="display:block"],
html body #playlist-detail-modal.pl-modal[style*="display:block"] {
    display: flex !important;
}

html body #playlist-modal.pl-modal[style*="display: none"],
html body #playlist-detail-modal.pl-modal[style*="display: none"],
html body #playlist-modal.pl-modal[style*="display:none"],
html body #playlist-detail-modal.pl-modal[style*="display:none"] {
    display: none !important;
}

html body #playlist-modal .pl-modal-box,
html body #playlist-detail-modal .pl-modal-box {
    width: min(760px, calc(100vw - 22px)) !important;
    max-width: 760px !important;
    max-height: calc(100dvh - var(--nav-height) - 58px) !important;
    margin: 0 auto !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    box-shadow: 0 22px 90px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.08) !important;
}

html body #playlist-modal .pl-body,
html body #playlist-detail-modal .pl-tab-body {
    max-height: min(390px, 42dvh) !important;
    overflow-y: auto !important;
}

body.playlist-modal-open {
    overflow: hidden !important;
    touch-action: none !important;
}

@media (max-width: 560px) {
    html body #playlist-modal.pl-modal,
    html body #playlist-detail-modal.pl-modal {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    html body #playlist-modal .pl-modal-box,
    html body #playlist-detail-modal .pl-modal-box {
        width: calc(100vw - 20px) !important;
        max-height: calc(100dvh - var(--nav-height) - 46px) !important;
        border-radius: 22px !important;
    }
}

/* ── VIP QRIS PAYMENT MODAL ── */
.vip-payment-modal {
    position: fixed;
    inset: 0;
    z-index: 12500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.vip-payment-modal.show { display: flex; }
.vip-payment-box {
    width: min(420px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.14);
    background:
        radial-gradient(circle at 50% -10%, color-mix(in srgb, var(--accent-primary) 22%, transparent), transparent 40%),
        rgba(10, 12, 30, .96);
    box-shadow: 0 28px 90px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
    padding: 24px 22px;
    color: var(--text-primary);
    position: relative;
}
.vip-payment-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.06);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: .2s;
}
.vip-payment-close:hover { background: rgba(255,255,255,.15); transform: scale(1.05); }
.vip-payment-head { text-align: center; margin-bottom: 12px; }
.vip-payment-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    border: 1px solid color-mix(in srgb, var(--accent-primary) 42%, transparent);
    background: color-mix(in srgb, var(--accent-primary) 12%, transparent);
    font-size: 1.6rem;
    box-shadow: 0 0 26px color-mix(in srgb, var(--accent-primary) 30%, transparent);
}
.vip-payment-title { font-weight: 900; font-size: 1.02rem; margin-bottom: 4px; }
.vip-payment-amount {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--accent-cyan);
    text-shadow: 0 0 18px color-mix(in srgb, var(--accent-cyan) 42%, transparent);
}
.vip-payment-qris-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 14px 0;
    min-height: 220px;
}
.vip-payment-qris-img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.14);
    background: #fff;
    padding: 8px;
}
.vip-payment-qris-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    color: var(--text-secondary);
    font-size: .82rem;
    padding: 20px;
    border: 1px dashed rgba(255,255,255,.18);
    border-radius: 16px;
    width: 100%;
}
.vip-payment-qris-fallback i { font-size: 1.8rem; color: #ffcc00; }
.vip-payment-steps {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 14px 0;
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.45;
}
.vip-payment-step { display: flex; gap: 9px; align-items: flex-start; }
.vip-payment-step strong { color: var(--text-primary); }
.step-num {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--accent-cyan);
    color: #000;
    font-weight: 900;
    font-size: .72rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vip-payment-admin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    border-radius: 14px;
    background: linear-gradient(90deg, #25d366, #1ebc59);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    font-size: .95rem;
    margin-top: 8px;
    box-shadow: 0 8px 24px rgba(37,211,102,.32);
    transition: .2s;
}
.vip-payment-admin-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(37,211,102,.42); }

/* ========================================================
   SAMPPLAY PREMIUM COPY LINK MODAL — dioptimasi untuk mobile
   CATATAN: sebelumnya modal ini (dibuat via JS di script.js)
   TIDAK PUNYA CSS SAMA SEKALI. Akibatnya setiap klik "Salin Link",
   browser menyisipkan blok HTML besar tanpa position:fixed di akhir
   <body> → memicu reflow/layout besar-besaran → inilah akar
   penyebab "ngelag banget" saat copy link musik yang baru di-convert.
   Pola di bawah ini meniru .vip-upgrade-notice (opacity + visibility,
   bukan display:none/block) supaya transisi buka/tutup berjalan di
   compositor thread (GPU) dan ringan bahkan di HP kelas bawah.
   ======================================================== */
.sp-copy-modal {
    position: fixed;
    inset: 0;
    z-index: 13500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(5, 6, 18, .74);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility 0s linear .2s;
    contain: layout style paint;
}
.sp-copy-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .2s ease, visibility 0s linear 0s;
}
.sp-copy-box {
    position: relative;
    width: min(400px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.14);
    background:
        radial-gradient(circle at 50% -10%, color-mix(in srgb, var(--accent-cyan) 20%, transparent), transparent 40%),
        rgba(10, 12, 30, .97);
    box-shadow: 0 24px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08);
    padding: 26px 22px 22px;
    color: var(--text-primary);
    transform: translateY(16px) scale(.96);
    opacity: 0;
    transition: transform .26s cubic-bezier(.16,1,.3,1), opacity .22s ease;
    contain: layout style paint;
}
.sp-copy-modal.show .sp-copy-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.sp-copy-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: var(--text-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.sp-copy-close:hover { background: rgba(255,255,255,.15); transform: scale(1.06); }
.sp-copy-icon-wrap {
    width: 54px; height: 54px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    color: var(--accent-success);
    border: 1px solid color-mix(in srgb, var(--accent-success) 40%, transparent);
    background: color-mix(in srgb, var(--accent-success) 14%, transparent);
    box-shadow: 0 0 24px color-mix(in srgb, var(--accent-success) 28%, transparent);
}
.sp-copy-head { text-align: center; margin-bottom: 18px; }
.sp-copy-title { font-weight: 900; font-size: 1.08rem; margin-bottom: 5px; }
.sp-copy-subtitle { font-size: .82rem; color: var(--text-secondary); line-height: 1.45; }
.sp-copy-input-card {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: 6px 6px 6px 13px;
    margin-bottom: 14px;
}
.sp-copy-link-prefix { color: var(--accent-cyan); display: flex; flex-shrink: 0; }
.sp-copy-link-input {
    flex: 1; min-width: 0;
    background: transparent; border: none; outline: none;
    color: #fff; font-size: .76rem;
}
.sp-copy-action-btn {
    flex-shrink: 0;
    display: flex; align-items: center; gap: 5px;
    padding: 9px 14px;
    border-radius: 10px; border: none;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-primary));
    color: #000; font-weight: 800; font-size: .78rem;
    cursor: pointer;
    transition: transform .15s ease;
}
.sp-copy-action-btn:active { transform: scale(.94); }
.sp-copy-action-btn.copied { background: var(--accent-success); }
.sp-copy-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sp-copy-tag {
    display: flex; align-items: center; gap: 6px;
    font-size: .7rem; padding: 6px 11px;
    border-radius: 20px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: var(--text-secondary);
}
.sp-copy-footer { display: flex; gap: 10px; }
.sp-copy-test-link, .sp-copy-dismiss-btn {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 12px; border-radius: 14px;
    font-weight: 700; font-size: .85rem;
    text-decoration: none; cursor: pointer;
    border: 1px solid rgba(255,255,255,.14);
    color: #fff; background: rgba(255,255,255,.05);
    transition: background .2s, transform .15s;
}
.sp-copy-test-link:active, .sp-copy-dismiss-btn:active { transform: scale(.97); }
.sp-copy-dismiss-btn {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-primary));
    color: #000; border: none;
}
.sp-copy-timer-bar {
    position: absolute; left: 0; bottom: 0;
    width: 100%; height: 3px;
    background: rgba(255,255,255,.06);
    border-radius: 0 0 24px 24px;
    overflow: hidden;
}
.sp-copy-timer-fill {
    height: 100%; width: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-primary));
}

/* HP kelas bawah: matikan blur berat khusus di modal ini supaya GPU tidak freeze */
@media (max-width: 480px), (pointer: coarse) {
    .sp-copy-modal { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(5, 6, 18, .9); }
}
@media (max-width: 480px) {
    .sp-copy-box { padding: 22px 18px 18px; border-radius: 20px; }
    .sp-copy-tags { gap: 6px; }
}

/* ========================================================
   VIP UPGRADE NOTICE — tampil sekali setelah akun jadi VIP
   ======================================================== */
.vip-upgrade-notice {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background:
        radial-gradient(circle at 50% 20%, rgba(255,215,0,.18), transparent 34%),
        rgba(0,0,0,.78);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity .26s ease;
    overflow: hidden;
}
.vip-upgrade-notice.show {
    opacity: 1;
    pointer-events: auto;
}
.vip-upgrade-notice.hide {
    opacity: 0;
    pointer-events: none;
}
.vip-notice-card {
    width: min(420px, 94vw);
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 28px 22px 22px;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(38, 24, 4, .94), rgba(17, 13, 36, .96)),
        radial-gradient(circle at 50% 0%, rgba(255,215,0,.22), transparent 42%);
    border: 1px solid rgba(255,215,0,.42);
    box-shadow:
        0 24px 80px rgba(0,0,0,.55),
        0 0 40px rgba(255,215,0,.15),
        inset 0 1px 0 rgba(255,255,255,.16);
    transform: translateY(18px) scale(.94);
    transition: transform .34s cubic-bezier(.34,1.4,.64,1);
}
.vip-upgrade-notice.show .vip-notice-card {
    transform: translateY(0) scale(1);
}
.vip-notice-shine {
    position: absolute;
    top: -35%;
    left: -55%;
    width: 70%;
    height: 170%;
    background: linear-gradient(105deg, transparent 18%, rgba(255,255,255,.22) 48%, transparent 78%);
    transform: rotate(16deg);
    animation: vipNoticeShine 2.7s ease-in-out infinite;
    pointer-events: none;
}
@keyframes vipNoticeShine {
    0% { left: -75%; opacity: 0; }
    18% { opacity: 1; }
    55% { left: 125%; opacity: .65; }
    100% { left: 125%; opacity: 0; }
}
.vip-notice-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.82);
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
}
.vip-notice-crown {
    width: 76px;
    height: 76px;
    margin: 0 auto 10px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    font-size: 2.35rem;
    background: linear-gradient(135deg, #ffd700, #ff9f1a);
    box-shadow: 0 10px 28px rgba(0,0,0,.5);
    animation: vipCrownFloat 2.8s ease-in-out infinite;
}
@keyframes vipCrownFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
}
.vip-notice-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,215,0,.12);
    border: 1px solid rgba(255,215,0,.25);
    color: #ffd700;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: 1.4px;
}
.vip-notice-card h2 {
    margin: 12px 0 7px;
    font-size: clamp(1.35rem, 5vw, 1.9rem);
    line-height: 1.1;
    background: linear-gradient(90deg, #fff, #ffe680, #ffb000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.vip-notice-desc {
    color: rgba(255,255,255,.72);
    font-size: .92rem;
    line-height: 1.55;
    margin-bottom: 16px;
}
.vip-notice-info {
    display: grid;
    gap: 8px;
    margin: 16px 0;
    text-align: left;
}
.vip-notice-info div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border-radius: 15px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.09);
}
.vip-notice-info span {
    color: rgba(255,255,255,.48);
    font-size: .75rem;
    font-weight: 700;
}
.vip-notice-info strong {
    color: #ffd700;
    font-size: .82rem;
    text-align: right;
}
.vip-notice-benefits {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 15px 0 18px;
    color: rgba(255,255,255,.76);
    font-size: .82rem;
    text-align: left;
}
.vip-notice-benefits span {
    padding: 9px 11px;
    border-radius: 13px;
    background: rgba(255,215,0,.07);
    border: 1px solid rgba(255,215,0,.12);
}
.vip-notice-ok {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 13px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: .93rem;
    font-weight: 900;
    color: #1b1200;
    cursor: pointer;
    background: linear-gradient(135deg, #ffd700, #ffac1c);
    box-shadow: 0 8px 24px rgba(0,0,0,.45);
    transition: transform .18s, box-shadow .18s;
}
.vip-notice-ok:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0,0,0,.55);
}
.vip-notice-spark {
    display: none !important;
}
@keyframes vipSparkUp {
    0% { transform: translateY(0) scale(.7); opacity: 0; }
    12% { opacity: 1; }
    80% { opacity: .65; }
    100% { transform: translateY(-105vh) scale(1.25); opacity: 0; }
}
@media (max-width: 380px) {
    .vip-notice-card { padding: 24px 16px 18px; border-radius: 24px; }
    .vip-notice-crown { width: 66px; height: 66px; font-size: 2rem; }
    .vip-notice-info div { align-items: flex-start; flex-direction: column; gap: 4px; }
    .vip-notice-info strong { text-align: left; }
}
