/* ═══════════════════════════════════════════════
   SL MUSIC HUB — DESIGN SYSTEM v3
   ═══════════════════════════════════════════════ */
:root {
    --bg-0: #06060d;
    --bg-1: #0d0b1f;
    --bg-2: #14102a;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-hi: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.09);
    --border-hi: rgba(255, 255, 255, 0.18);
    --text: #f5f3ff;
    --text-dim: rgba(245, 243, 255, 0.62);
    --text-faint: rgba(245, 243, 255, 0.38);
    --accent: #a855f7;
    --accent-2: #ec4899;
    --accent-3: #6366f1;
    --green: #22c55e;
    --red: #ef4444;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body {
    height: 100%;
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-0);
    color: var(--text);
    overflow: hidden;
    overscroll-behavior: none;
    -webkit-font-smoothing: antialiased;
}

.bg-orb {
    position: fixed; border-radius: 50%; filter: blur(100px);
    pointer-events: none; opacity: 0.5; z-index: 0;
    animation: orbFloat 18s ease-in-out infinite;
}
.bg-orb-1 { width: 380px; height: 380px; background: #7c3aed; top: -120px; left: -120px; }
.bg-orb-2 { width: 340px; height: 340px; background: #ec4899; bottom: -100px; right: -100px; animation-delay: -6s; }
.bg-orb-3 { width: 260px; height: 260px; background: #6366f1; top: 40%; left: 60%; animation-delay: -12s; opacity: 0.3; }
@keyframes orbFloat {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(40px, 30px) scale(1.08); }
    66% { transform: translate(-30px, -20px) scale(0.95); }
}
.bg-grid {
    position: fixed; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none; z-index: 0;
}

.app-shell {
    position: relative; z-index: 1;
    width: 100%; max-width: 480px;
    height: 100dvh;
    margin: 0 auto;
    display: flex; flex-direction: column;
    background: linear-gradient(180deg, rgba(13,11,31,0.85), rgba(6,6,13,0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}
@media (min-width: 600px) {
    .app-shell {
        height: min(920px, 96dvh);
        margin: auto;
        border-radius: 32px;
        overflow: hidden;
        box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px var(--border);
    }
    body { display: flex; align-items: center; justify-content: center; padding: 20px; }
}

.top-bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px 12px; flex-shrink: 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
    width: 38px; height: 38px; border-radius: 12px;
    background: linear-gradient(135deg, #ec4899, #a855f7);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 16px rgba(236,72,153,0.4);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title { font-size: 14px; font-weight: 800; letter-spacing: 1px; }
.brand-sub { font-size: 9px; font-weight: 600; color: var(--accent-2); letter-spacing: 2px; }
.top-actions { display: flex; gap: 8px; }

.icon-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--border);
    color: var(--text);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; cursor: pointer; transition: all 0.2s;
}
.icon-btn:hover { background: var(--surface-hi); border-color: var(--border-hi); }
.icon-btn.hidden { display: none; }

.main-scroll {
    flex: 1; overflow-y: auto; overflow-x: hidden;
    padding: 0 16px 100px;
    scrollbar-width: none; -ms-overflow-style: none;
}
.main-scroll::-webkit-scrollbar { display: none; }

.view { animation: viewIn 0.3s ease; }
.view.hidden { display: none; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* HERO */
.hero-card {
    position: relative; display: flex; align-items: center; gap: 14px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(236,72,153,0.1));
    border: 1px solid var(--border-hi);
    border-radius: 26px;
    cursor: pointer; overflow: hidden; margin-bottom: 16px;
    transition: transform 0.2s;
}
.hero-card:active { transform: scale(0.985); }
.hero-glow {
    position: absolute; top: -50%; left: -20%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(168,85,247,0.3), transparent 60%);
    animation: heroGlow 8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes heroGlow {
    0%, 100% { transform: translate(0,0); }
    50% { transform: translate(20%, -10%); }
}
.hero-cover-wrap { position: relative; flex-shrink: 0; width: 58px; height: 58px; }
.hero-cover {
    width: 100%; height: 100%; border-radius: 50%;
    object-fit: cover; position: relative; z-index: 1;
    border: 2px solid rgba(255,255,255,0.2);
}
.hero-cover-ring {
    position: absolute; inset: -4px; border-radius: 50%;
    background: conic-gradient(from 0deg, #ec4899, #a855f7, #6366f1, #ec4899);
    z-index: 0; animation: ringSpin 4s linear infinite; opacity: 0.7;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
.hero-info { flex: 1; min-width: 0; z-index: 1; }
.hero-label { font-size: 8px; font-weight: 800; color: var(--accent-2); letter-spacing: 2px; display: block; margin-bottom: 3px; }
.hero-title { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-artist { font-size: 11px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.hero-play {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #a855f7);
    border: none; color: white; font-size: 15px;
    cursor: pointer; flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(236,72,153,0.5);
    transition: transform 0.15s; z-index: 1;
}
.hero-play:active { transform: scale(0.92); }

/* QUICK */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.quick-btn {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 10px 4px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 18px; cursor: pointer; color: var(--text);
    transition: all 0.2s;
}
.quick-btn:hover { background: var(--surface-hi); border-color: var(--border-hi); transform: translateY(-2px); }
.quick-btn:active { transform: scale(0.96); }
.quick-icon {
    width: 34px; height: 34px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
}
.quick-icon-purple { background: rgba(168,85,247,0.18); color: #c084fc; }
.quick-icon-pink { background: rgba(236,72,153,0.18); color: #f472b6; }
.quick-icon-indigo { background: rgba(99,102,241,0.18); color: #818cf8; }
.quick-icon-blue { background: rgba(59,130,246,0.18); color: #60a5fa; }
.quick-btn span { font-size: 10px; font-weight: 600; color: var(--text-dim); }

.section { margin-bottom: 20px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-title { font-size: 15px; font-weight: 700; }
.section-link { font-size: 11px; color: var(--accent); background: none; border: none; cursor: pointer; font-weight: 600; }

.recent-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.recent-scroll::-webkit-scrollbar { display: none; }
.recent-item { flex-shrink: 0; width: 84px; cursor: pointer; text-align: center; }
.recent-item img {
    width: 84px; height: 84px; border-radius: 16px;
    object-fit: cover; box-shadow: 0 4px 14px rgba(0,0,0,0.4);
    margin-bottom: 6px; transition: transform 0.2s;
}
.recent-item:hover img { transform: scale(1.04); }
.recent-item h4 { font-size: 10px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-item p { font-size: 9px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }

/* SEARCH */
.search-box {
    position: relative; display: flex; align-items: center;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 14px; padding: 0 14px; height: 46px;
    margin-bottom: 14px; transition: border-color 0.2s;
}
.search-box:focus-within { border-color: var(--accent); }
.search-box i { color: var(--text-faint); font-size: 13px; margin-right: 10px; }
.search-box input {
    flex: 1; background: none; border: none; outline: none;
    color: var(--text); font-size: 13px; font-family: inherit;
}
.search-box input::placeholder { color: var(--text-faint); }
.search-clear { background: none; border: none; color: var(--text-faint); cursor: pointer; font-size: 12px; padding: 4px; }

/* CHIPS */
.chip-scroll {
    display: flex; gap: 8px; overflow-x: auto;
    padding-bottom: 14px; scrollbar-width: none;
    margin: 0 -16px; padding-left: 16px; padding-right: 16px;
}
.chip-scroll::-webkit-scrollbar { display: none; }
.chip {
    display: flex; align-items: center; gap: 6px; flex-shrink: 0;
    padding: 8px 14px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 999px; color: var(--text-dim);
    font-size: 12px; font-weight: 600; cursor: pointer;
    transition: all 0.2s; white-space: nowrap;
}
.chip:hover { background: var(--surface-hi); color: var(--text); }
.chip i { font-size: 11px; }
.chip-active {
    background: linear-gradient(135deg, #ec4899, #a855f7);
    color: white; border-color: transparent;
    box-shadow: 0 4px 16px rgba(236,72,153,0.35);
}
.chip-active i { color: white; }
.chip-count { background: rgba(255,255,255,0.2); border-radius: 999px; padding: 1px 7px; font-size: 9px; font-weight: 700; }

/* PLAYLIST */
.playlist { display: flex; flex-direction: column; gap: 6px; }
.track {
    display: flex; align-items: center; gap: 12px; padding: 8px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 14px; cursor: pointer; transition: all 0.18s;
}
.track:hover { background: var(--surface-hi); border-color: var(--border-hi); }
.track-active {
    background: linear-gradient(135deg, rgba(236,72,153,0.12), rgba(168,85,247,0.1));
    border-color: rgba(236,72,153,0.4);
}
.track-num { width: 22px; text-align: center; font-size: 11px; font-weight: 600; color: var(--text-faint); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.track-cover { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.track-active .track-cover { box-shadow: 0 0 0 2px rgba(236,72,153,0.6); }
.track-info { flex: 1; min-width: 0; }
.track-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-active .track-title { color: var(--accent-2); }
.track-artist { font-size: 11px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.track-actions { display: flex; gap: 4px; flex-shrink: 0; }
.track-fav, .track-play {
    width: 32px; height: 32px; border-radius: 50%;
    border: none; background: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: var(--text-faint); transition: all 0.18s;
}
.track-fav:hover, .track-fav-active { color: var(--accent-2); }
.track-play {
    background: linear-gradient(135deg, #ec4899, #a855f7);
    color: white; box-shadow: 0 3px 10px rgba(236,72,153,0.35);
}
.track-play:hover { transform: scale(1.05); }

.playing-bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; margin-right: 6px; }
.playing-bars span { display: block; width: 2px; background: var(--accent-2); border-radius: 1px; animation: playingBar 0.8s ease-in-out infinite; }
.playing-bars span:nth-child(1) { animation-delay: 0s; height: 6px; }
.playing-bars span:nth-child(2) { animation-delay: 0.2s; height: 10px; }
.playing-bars span:nth-child(3) { animation-delay: 0.4s; height: 4px; }
@keyframes playingBar { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

.empty-state { text-align: center; padding: 40px 20px; color: var(--text-faint); }
.empty-state i { font-size: 40px; opacity: 0.4; margin-bottom: 12px; display: block; }
.empty-state p { font-size: 12px; line-height: 1.6; }

.device-actions { display: flex; gap: 8px; margin-bottom: 12px; }
.device-actions .btn { flex: 1; }

/* ALBUM */
.album-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.album-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 18px; overflow: hidden; cursor: pointer;
    transition: all 0.2s;
}
.album-card:hover { background: var(--surface-hi); border-color: var(--border-hi); transform: translateY(-2px); }
.album-cover {
    position: relative; aspect-ratio: 1;
    background: linear-gradient(135deg, #ec4899, #a855f7, #6366f1);
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; font-weight: 900;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.album-badge {
    position: absolute; bottom: 6px; right: 6px;
    background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
    color: white; font-size: 9px; font-weight: 700;
    padding: 3px 8px; border-radius: 999px;
}
.album-info { padding: 8px; text-align: center; }
.album-info h4 { font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.album-info p { font-size: 9px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }

/* LAST UPDATED BADGE */
.last-updated-badge {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(168,85,247,0.1));
    border: 1px solid rgba(99,102,241,0.35);
    border-radius: 14px; font-size: 11px; font-weight: 600;
    color: #c4b5fd;
    animation: badgeGlow 3s ease-in-out infinite;
}
.last-updated-badge > i { color: #818cf8; font-size: 12px; animation: iconPulse 2s ease-in-out infinite; flex-shrink: 0; }
.last-updated-badge span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.last-updated-badge strong { color: #f5f3ff; font-weight: 700; }
.last-updated-badge .refresh-btn {
    margin-left: auto; width: 26px; height: 26px; border-radius: 50%;
    background: rgba(99,102,241,0.25); border: 1px solid rgba(99,102,241,0.5);
    color: #c4b5fd; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; transition: all 0.2s; flex-shrink: 0;
}
.last-updated-badge .refresh-btn:hover { background: rgba(99,102,241,0.4); transform: rotate(90deg); }
@keyframes badgeGlow {
    0%, 100% { border-color: rgba(99,102,241,0.35); }
    50% { border-color: rgba(168,85,247,0.6); }
}
@keyframes iconPulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

/* REQUEST */
.request-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 18px; overflow: hidden; margin-top: 20px;
}
.request-head {
    width: 100%; display: flex; align-items: center; gap: 12px;
    padding: 14px; background: none; border: none;
    color: var(--text); cursor: pointer; text-align: left;
}
.request-icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: linear-gradient(135deg, #ec4899, #a855f7);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: white; flex-shrink: 0;
}
.request-text { flex: 1; }
.request-text h3 { font-size: 13px; font-weight: 700; }
.request-text p { font-size: 10px; color: var(--text-dim); margin-top: 2px; }
.request-chevron { font-size: 12px; color: var(--text-faint); transition: transform 0.3s; }
.request-body { padding: 0 14px 14px; }
.request-body.hidden { display: none; }
.request-body form { display: flex; flex-direction: column; gap: 8px; }
.request-body input, .request-body textarea {
    background: var(--surface-hi); border: 1px solid var(--border);
    border-radius: 10px; padding: 11px 12px;
    color: var(--text); font-size: 12px; font-family: inherit;
    outline: none; transition: border-color 0.2s;
}
.request-body input:focus, .request-body textarea:focus { border-color: var(--accent); }
.request-body textarea { resize: none; min-height: 60px; }
.req-status { text-align: center; font-size: 11px; font-weight: 600; min-height: 16px; }

/* BUTTONS */
.btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 11px 16px; border-radius: 10px; border: none;
    font-size: 12px; font-weight: 700; font-family: inherit;
    cursor: pointer; transition: all 0.2s;
}
.btn-primary { background: linear-gradient(135deg, #ec4899, #a855f7); color: white; }
.btn-primary:hover { box-shadow: 0 6px 20px rgba(236,72,153,0.4); }
.btn-green { background: linear-gradient(135deg, #22c55e, #16a34a); color: white; }
.btn-danger { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; }
.btn-ghost { background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-hi); }

.app-footer { text-align: center; font-size: 10px; color: var(--text-faint); padding: 20px 0; line-height: 1.6; }
.app-footer a { color: var(--accent); text-decoration: none; font-weight: 600; }

/* NOW PLAYING */
.view-np { display: flex; align-items: center; justify-content: center; min-height: 100%; padding: 10px 0; }
.np-container { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.np-art-wrap { position: relative; width: 240px; height: 240px; display: flex; align-items: center; justify-content: center; }
.np-art-glow {
    position: absolute; inset: -20px; border-radius: 50%;
    background: radial-gradient(circle, rgba(236,72,153,0.4), transparent 70%);
    filter: blur(20px); animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.05); }
}
.np-art {
    width: 100%; height: 100%; border-radius: 50%;
    object-fit: cover; position: relative; z-index: 1;
    border: 3px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    animation: artSpin 20s linear infinite;
    animation-play-state: paused;
}
.np-art.playing { animation-play-state: running; }
@keyframes artSpin { to { transform: rotate(360deg); } }
.np-heart {
    position: absolute; top: 6px; right: 6px;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(10px);
    border: 1px solid var(--border-hi); color: white;
    font-size: 15px; cursor: pointer; z-index: 2;
    transition: all 0.2s;
}
.np-heart:hover { background: rgba(236,72,153,0.3); }
.np-meta { text-align: center; width: 100%; }
.np-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; }
.np-artist { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.np-eq {
    display: flex; align-items: flex-end; justify-content: center;
    gap: 3px; height: 18px; margin-top: 10px;
    opacity: 0; transition: opacity 0.3s;
}
.np-eq.active { opacity: 1; }
.np-eq span {
    width: 3px; background: linear-gradient(to top, #ec4899, #a855f7);
    border-radius: 2px; animation: eqBar 1s ease-in-out infinite;
}
.np-eq span:nth-child(1) { animation-delay: 0s; height: 8px; }
.np-eq span:nth-child(2) { animation-delay: 0.15s; height: 14px; }
.np-eq span:nth-child(3) { animation-delay: 0.3s; height: 10px; }
.np-eq span:nth-child(4) { animation-delay: 0.45s; height: 16px; }
.np-eq span:nth-child(5) { animation-delay: 0.6s; height: 6px; }
@keyframes eqBar { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

.sleep-badge {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 10px; padding: 5px 12px;
    background: rgba(139,92,246,0.2); border: 1px solid rgba(139,92,246,0.5);
    border-radius: 999px; font-size: 10px; font-weight: 700;
    color: #c4b5fd;
    animation: sleepPulse 2s ease-in-out infinite;
}
.sleep-badge.hidden { display: none; }
@keyframes sleepPulse {
    0%, 100% { box-shadow: 0 0 0 rgba(139,92,246,0); }
    50% { box-shadow: 0 0 20px rgba(139,92,246,0.6); }
}

.np-progress { width: 100%; }
.np-time-row { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-faint); font-family: 'SF Mono', monospace; margin-bottom: 6px; font-weight: 600; }
.np-progress-bar { width: 100%; height: 5px; background: rgba(255,255,255,0.1); border-radius: 3px; cursor: pointer; overflow: hidden; }
.np-progress-fill {
    height: 100%; background: linear-gradient(90deg, #ec4899, #a855f7, #6366f1);
    background-size: 200% 100%; border-radius: 3px; width: 0%;
    animation: progressShine 3s linear infinite;
}
@keyframes progressShine { to { background-position: 200% 0; } }

.np-controls { display: flex; align-items: center; justify-content: space-around; width: 100%; padding: 0 8px; }
.np-ctrl-sm, .np-ctrl-md, .np-ctrl-lg { border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.18s; }
.np-ctrl-sm { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); color: var(--text-faint); font-size: 13px; }
.np-ctrl-sm.active { color: var(--accent-2); background: rgba(236,72,153,0.15); }
.np-ctrl-md { width: 48px; height: 48px; border-radius: 50%; background: var(--surface); color: var(--text); font-size: 16px; }
.np-ctrl-md:active { transform: scale(0.92); }
.np-ctrl-lg { width: 66px; height: 66px; border-radius: 50%; background: linear-gradient(135deg, #ec4899, #a855f7); color: white; font-size: 22px; box-shadow: 0 8px 28px rgba(236,72,153,0.5); }
.np-ctrl-lg:active { transform: scale(0.94); }

.np-volume { display: flex; align-items: center; gap: 10px; width: 100%; font-size: 11px; color: var(--text-dim); }
.np-volume input[type="range"] { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; background: rgba(255,255,255,0.15); border-radius: 2px; outline: none; }
.np-volume input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: linear-gradient(135deg, #ec4899, #a855f7); cursor: pointer; box-shadow: 0 0 8px rgba(236,72,153,0.6); }
.np-volume span { width: 38px; text-align: right; font-family: monospace; font-weight: 600; }
.np-back {
    background: none; border: none; color: var(--text-faint);
    font-size: 11px; font-weight: 600; cursor: pointer;
    padding: 8px 16px; border-radius: 999px;
    display: flex; align-items: center; gap: 6px;
    transition: color 0.2s;
}
.np-back:hover { color: var(--text); }

/* BOTTOM NAV */
.bottom-nav {
    position: absolute; bottom: 12px; left: 12px; right: 12px;
    height: 62px; display: flex; align-items: center; justify-content: space-around;
    background: rgba(20,16,42,0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-hi);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 50;
}
.nav-btn {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 3px;
    background: none; border: none; color: var(--text-faint);
    cursor: pointer; font-size: 9px; font-weight: 600;
    padding: 6px; transition: all 0.2s;
}
.nav-btn i { font-size: 16px; }
.nav-btn.nav-active { color: var(--text); }
.nav-btn.nav-active i {
    background: linear-gradient(135deg, #ec4899, #a855f7);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* MODALS */
.modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    z-index: 9999; display: flex;
    align-items: center; justify-content: center;
    padding: 20px; animation: fadeIn 0.2s ease;
}
.modal-backdrop.hidden { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
    width: 100%; max-width: 380px;
    background: linear-gradient(180deg, #1a1535, #0d0b1f);
    border: 1px solid var(--border-hi);
    border-radius: 22px; padding: 22px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7);
    animation: slideUp 0.3s ease;
    max-height: 90vh; overflow-y: auto;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.modal-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.modal-title i { color: var(--accent); }
.modal-head .modal-title { margin-bottom: 0; }
.modal-sub { font-size: 11px; color: var(--text-dim); margin-bottom: 18px; }

.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.share-btn {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 12px 4px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 12px;
    color: var(--text); font-size: 9px; font-weight: 600;
    text-decoration: none; transition: all 0.2s;
}
.share-btn:hover { background: var(--surface-hi); border-color: var(--border-hi); }
.share-btn i { font-size: 20px; }
.share-btn:nth-child(1) i { color: #22c55e; }
.share-btn:nth-child(2) i { color: #3b82f6; }
.share-btn:nth-child(3) i { color: #0ea5e9; }
.share-btn:nth-child(4) i { color: #06b6d4; }
.copy-toast { text-align: center; font-size: 11px; color: var(--green); opacity: 0; transition: opacity 0.3s; margin-bottom: 8px; height: 14px; }
.copy-toast.show { opacity: 1; }

.sleep-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.sleep-presets button {
    padding: 9px 4px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 10px;
    color: var(--text); font-size: 11px; font-weight: 700;
    cursor: pointer; transition: all 0.2s;
}
.sleep-presets button:hover { background: var(--surface-hi); border-color: var(--accent); }
.field-label { display: block; font-size: 10px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.sleep-custom { display: flex; gap: 6px; margin-bottom: 14px; }
.sleep-custom input { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; color: var(--text); font-size: 13px; outline: none; font-family: inherit; }
.sleep-custom input:focus { border-color: var(--accent); }
.sleep-custom button {
    padding: 9px 18px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border: none; border-radius: 10px; color: white;
    font-weight: 700; font-size: 12px; cursor: pointer; font-family: inherit;
}
.check-row {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 10px;
    font-size: 11px; color: var(--text-dim);
    cursor: pointer; margin-bottom: 6px;
}
.check-row input { accent-color: var(--accent); width: 14px; height: 14px; }
.check-row:last-of-type { margin-bottom: 14px; }

.sleep-circle-wrap { position: relative; width: 160px; height: 160px; margin: 0 auto 20px; }
.sleep-circle { width: 100%; height: 100%; transform: rotate(-90deg); }
.sleep-track { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 8; }
.sleep-progress {
    fill: none; stroke: url(#sleepGrad);
    stroke-width: 8; stroke-linecap: round;
    stroke-dasharray: 339.292; stroke-dashoffset: 0;
    filter: drop-shadow(0 0 8px rgba(168,85,247,0.7));
    transition: stroke-dashoffset 1s linear;
}
.sleep-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sleep-center span { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.sleep-center small { font-size: 9px; color: var(--text-faint); letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }
#sleepActiveView.hidden, #sleepSetupView.hidden { display: none; }

.eq-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.preset-btn {
    padding: 6px 12px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 999px;
    color: var(--text-dim); font-size: 10px; font-weight: 700;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.preset-btn:hover { color: var(--text); }
.preset-btn.preset-active {
    background: linear-gradient(135deg, #ec4899, #a855f7);
    color: white; border-color: transparent;
}
.bass-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 11px 14px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 12px;
    margin-bottom: 16px; font-size: 12px; font-weight: 600;
}
.bass-row span { display: flex; align-items: center; gap: 8px; }
.bass-row i { color: var(--accent-2); }
.toggle {
    width: 42px; height: 24px; background: rgba(255,255,255,0.15);
    border-radius: 999px; position: relative; cursor: pointer; transition: background 0.25s;
}
.toggle.active { background: linear-gradient(135deg, #ec4899, #a855f7); }
.toggle-knob {
    position: absolute; top: 2px; left: 2px;
    width: 20px; height: 20px; background: white; border-radius: 50%;
    transition: transform 0.25s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.toggle.active .toggle-knob { transform: translateX(18px); }

.eq-bands { display: flex; justify-content: space-between; gap: 4px; margin-bottom: 16px; padding: 10px 4px; }
.eq-band { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.eq-val { font-size: 9px; font-weight: 700; color: var(--accent); min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.eq-band label { font-size: 8px; color: var(--text-faint); font-weight: 600; }
.eq-slider {
    -webkit-appearance: none; appearance: none;
    writing-mode: vertical-lr; direction: rtl;
    width: 20px; height: 100px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px; outline: none; cursor: pointer;
}
.eq-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 14px; height: 14px; border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(168,85,247,0.7);
}

.ad-slot { margin: 12px 0; }
.ad-slot:empty { display: none; }

/* ═══ VERSION BANNER ═══ */
.version-banner {
    position: fixed; bottom: 90px; left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: calc(100% - 24px); max-width: 440px;
    z-index: 99998;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}
.version-banner.hidden { display: none; }
.version-banner.show {
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.version-card {
    position: relative; display: flex; gap: 12px; align-items: flex-start;
    padding: 16px 18px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    background-size: 200% 200%;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 12px 40px rgba(168,85,247,0.55);
    animation: versionGlow 3s ease-in-out infinite, versionGradient 6s ease infinite;
}
@keyframes versionGlow {
    0%, 100% { box-shadow: 0 12px 40px rgba(168,85,247,0.55); }
    50% { box-shadow: 0 12px 55px rgba(236,72,153,0.85); }
}
@keyframes versionGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.version-icon {
    flex-shrink: 0; width: 42px; height: 42px;
    border-radius: 13px; background: rgba(255,255,255,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: white;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    animation: rocketShake 2.5s ease-in-out infinite;
}
@keyframes rocketShake {
    0%, 80%, 100% { transform: translate(0, 0) rotate(0); }
    85% { transform: translate(-2px, -4px) rotate(-8deg); }
    90% { transform: translate(2px, -6px) rotate(8deg); }
    95% { transform: translate(-1px, -3px) rotate(-4deg); }
}
.version-content { flex: 1; min-width: 0; color: white; }
.version-content h4 { font-size: 14px; font-weight: 800; margin-bottom: 5px; letter-spacing: -0.01em; }
.version-content p { font-size: 11.5px; line-height: 1.55; color: rgba(255,255,255,0.92); }
.version-content strong { color: #fef3c7; font-weight: 700; }
.version-info {
    display: inline-block; margin-top: 7px;
    padding: 3px 10px; background: rgba(0,0,0,0.25);
    border-radius: 999px; font-size: 9px; font-weight: 700;
    color: rgba(255,255,255,0.9);
    font-family: 'SF Mono', 'Menlo', monospace;
    letter-spacing: 0.3px;
}
.version-close {
    flex-shrink: 0; width: 30px; height: 30px;
    border-radius: 50%; background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.25);
    color: white; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; transition: all 0.2s;
}
.version-close:hover { background: rgba(0,0,0,0.4); transform: rotate(90deg); }
.version-actions {
    display: flex; gap: 8px; padding: 12px 18px 16px;
    background: rgba(13,11,31,0.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-top: none;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.version-btn {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; padding: 12px 16px;
    border-radius: 13px; border: none;
    font-size: 12px; font-weight: 700; font-family: inherit;
    cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.version-btn-primary {
    flex: 1; background: linear-gradient(135deg, #ec4899, #a855f7);
    color: white;
    box-shadow: 0 4px 14px rgba(236,72,153,0.4);
}
.version-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236,72,153,0.65);
}
.version-btn-ghost {
    flex: 0.5; background: rgba(255,255,255,0.08);
    color: rgba(245,243,255,0.85);
    border: 1px solid rgba(255,255,255,0.15);
}
.version-btn-ghost:hover { background: rgba(255,255,255,0.15); color: white; }

/* REINSTALL MODAL */
.reinstall-guide-modal { max-width: 440px; max-height: 88vh; overflow-y: auto; }
.reinstall-tabs {
    display: flex; gap: 8px; margin-bottom: 16px;
    padding: 4px; background: rgba(255,255,255,0.05);
    border-radius: 12px;
}
.reinstall-tab {
    flex: 1; display: flex; align-items: center; justify-content: center;
    gap: 7px; padding: 10px 14px;
    background: transparent; border: none; border-radius: 9px;
    color: rgba(245,243,255,0.55);
    font-size: 12px; font-weight: 700; font-family: inherit;
    cursor: pointer; transition: all 0.2s;
}
.reinstall-tab i { font-size: 14px; }
.reinstall-tab:hover { color: rgba(245,243,255,0.85); }
.reinstall-tab-active {
    background: linear-gradient(135deg, #ec4899, #a855f7);
    color: white;
    box-shadow: 0 4px 14px rgba(236,72,153,0.35);
}
.reinstall-steps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.reinstall-steps.hidden { display: none; }
.reinstall-step {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; transition: all 0.2s;
}
.reinstall-step:hover { background: rgba(255,255,255,0.07); border-color: rgba(168,85,247,0.3); }
.reinstall-step-num {
    flex-shrink: 0; width: 26px; height: 26px;
    border-radius: 50%; background: linear-gradient(135deg, #ec4899, #a855f7);
    color: white; display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800;
    box-shadow: 0 3px 10px rgba(236,72,153,0.4);
}
.reinstall-step-text { flex: 1; font-size: 11.5px; line-height: 1.6; color: var(--text-dim); padding-top: 3px; }
.reinstall-step-text strong { color: var(--text); font-weight: 700; }
.reinstall-warning {
    display: flex; gap: 10px; padding: 12px 14px;
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.3);
    border-radius: 12px; font-size: 11px; line-height: 1.6;
    color: #fcd34d;
}
.reinstall-warning i { flex-shrink: 0; color: #fbbf24; font-size: 14px; margin-top: 2px; }
.reinstall-warning strong { color: #fbbf24; font-weight: 700; }

/* LOADING */
.loading-screen {
    position: fixed; inset: 0;
    background: radial-gradient(circle at 20% 20%, #4c1d95, #1e1b4b 50%, #06060d);
    display: flex; align-items: center; justify-content: center;
    z-index: 99999; transition: opacity 0.6s, visibility 0.6s;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-content { text-align: center; }
.loading-bars { display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 60px; margin-bottom: 24px; }
.loading-bars span {
    width: 6px; background: linear-gradient(to top, #ec4899, #a855f7, #6366f1);
    border-radius: 4px; animation: loadBar 1.2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(168,85,247,0.6);
}
.loading-bars span:nth-child(1) { animation-delay: 0s; }
.loading-bars span:nth-child(2) { animation-delay: 0.15s; }
.loading-bars span:nth-child(3) { animation-delay: 0.3s; }
.loading-bars span:nth-child(4) { animation-delay: 0.15s; }
.loading-bars span:nth-child(5) { animation-delay: 0s; }
@keyframes loadBar { 0%, 100% { height: 15px; opacity: 0.5; } 50% { height: 60px; opacity: 1; } }
.loading-title {
    font-size: 1.5rem; font-weight: 900; letter-spacing: 3px;
    background: linear-gradient(90deg, #ec4899, #a855f7, #6366f1, #ec4899);
    background-size: 300% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: loadTitleShine 3s linear infinite;
    margin-bottom: 6px;
}
@keyframes loadTitleShine { to { background-position: 300% center; } }
.loading-sub { font-size: 11px; color: var(--text-dim); letter-spacing: 2px; margin-bottom: 20px; }
.loading-progress { width: 180px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 3px; margin: 0 auto; overflow: hidden; }
.loading-progress-fill {
    height: 100%; background: linear-gradient(90deg, #ec4899, #a855f7, #6366f1);
    background-size: 200% 100%; border-radius: 3px; width: 0%;
    animation: loadProgress 2s ease-in-out infinite;
}
@keyframes loadProgress { 0% { width: 0%; } 50% { width: 80%; } 100% { width: 100%; } }

/* TOAST */
#sl-toast {
    position: fixed; bottom: 90px; left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: linear-gradient(135deg, #ec4899, #a855f7);
    color: white; padding: 10px 20px;
    border-radius: 999px; font-size: 12px; font-weight: 700;
    box-shadow: 0 8px 25px rgba(236,72,153,0.5);
    z-index: 99999; opacity: 0; transition: all 0.3s ease;
    pointer-events: none; max-width: 90%; text-align: center;
}
#sl-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 400px) {
    .version-content h4 { font-size: 13px; }
    .version-content p { font-size: 11px; }
    .version-btn { font-size: 11px; padding: 11px 12px; }
    .reinstall-step-text { font-size: 11px; }
}
/* ═══════════════════════════════════════════════
   SEARCH (Music + YouTube)
   ═══════════════════════════════════════════════ */
.search-wrap { margin: 8px 0 12px; }

.search-tabs {
    display: flex; gap: 6px; margin-bottom: 8px;
    padding: 4px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
}
.search-tab {
    flex: 1; display: flex; align-items: center; justify-content: center;
    gap: 6px; padding: 8px 12px;
    border: none; background: transparent;
    color: rgba(255,255,255,0.55);
    font-size: 12px; font-weight: 600;
    border-radius: 9px; cursor: pointer;
    transition: all 0.2s;
}
.search-tab-active {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #fff;
    box-shadow: 0 4px 12px rgba(139,92,246,0.35);
}

/* ═══ YT SEARCH RESULTS ═══ */
.yt-results {
    margin-top: 10px;
    display: flex; flex-direction: column; gap: 8px;
    max-height: 500px; overflow-y: auto;
    padding-right: 4px;
}
.yt-results.hidden { display: none; }

.yt-result {
    display: flex; align-items: center; gap: 10px;
    padding: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.18s ease;
}
.yt-result:hover { background: rgba(255,255,255,0.07); border-color: rgba(139,92,246,0.5); }
.yt-result-active { border-color: #a855f7; background: rgba(139,92,246,0.12); }

.yt-result-thumb {
    position: relative; width: 120px; min-width: 120px;
    aspect-ratio: 16/9; border-radius: 8px; overflow: hidden;
    background: #000; flex-shrink: 0;
}
.yt-result-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-play-ov {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.35);
    opacity: 0; transition: opacity 0.2s;
    color: #fff; font-size: 22px;
}
.yt-result:hover .yt-play-ov { opacity: 1; }

.yt-result-info { flex: 1; min-width: 0; }
.yt-result-title {
    font-size: 13px; font-weight: 600; color: #fff; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.yt-result-meta {
    font-size: 11px; color: rgba(255,255,255,0.5);
    margin-top: 3px; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}

.yt-loading, .yt-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; padding: 28px 16px;
    color: rgba(255,255,255,0.5); font-size: 12px; text-align: center;
}
.yt-loading i { font-size: 22px; color: #a855f7; }
.yt-empty i { font-size: 28px; opacity: 0.4; }

/* ═══ YT PLAYER CARD ═══ */
.yt-player-card {
    margin: 12px 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
}
.yt-player-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.yt-player-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #fff; }
.yt-player-head-right { display: flex; align-items: center; gap: 8px; }
.yt-np-text {
    font-size: 11px; color: rgba(255,255,255,0.6);
    max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.yt-player-wrap {
    padding: 10px;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s;
    max-height: 800px; opacity: 1; overflow: hidden;
}
.yt-player-wrap.yt-hidden { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }

#ytPlayerMount {
    width: 100%; aspect-ratio: 16/9;
    background: #000; border-radius: 10px; overflow: hidden;
}
#ytPlayerMount iframe { width: 100% !important; height: 100% !important; display: block; }

.yt-seek-row {
    display: flex; align-items: center; gap: 8px;
    margin-top: 10px; font-size: 11px; color: rgba(255,255,255,0.6);
}
.yt-seek-row input[type="range"] { flex: 1; accent-color: #a855f7; }
.yt-seek-row input[type="range"]:disabled { opacity: 0.3; }

.yt-controls { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.yt-ctrl-btn {
    width: 38px; height: 38px; border-radius: 50%;
    border: none; background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #fff; cursor: pointer; font-size: 14px;
    transition: transform 0.15s;
}
.yt-ctrl-btn:hover:not(:disabled) { transform: scale(1.08); }
.yt-ctrl-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.yt-ctrl-stop { background: rgba(255,255,255,0.1); }

.yt-volume {
    display: flex; align-items: center; gap: 6px; flex: 1;
    color: rgba(255,255,255,0.6); font-size: 11px;
}
.yt-volume input { flex: 1; accent-color: #a855f7; }

@media (max-width: 380px) {
    .yt-result-thumb { width: 96px; min-width: 96px; }
    .yt-result-title { font-size: 12px; }
}