:root {
    --bg-main: #141414; /* Глубокий темно-серый, почти черный */
    --bg-dark: #0a0a0a;
    --bg-card: #202020;
    --bg-hover: #2e2e2e;
    --bg-input: #2a2a2a;
    --accent: #FFCC00; /* Стильный желтый из референса */
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', system-ui, sans-serif; }
body { background: var(--bg-main); color: var(--text-main); height: 100vh; display: flex; flex-direction: column; overflow: hidden; }

/* --- Titlebar --- */
.titlebar { height: 35px; background: var(--bg-dark); display: flex; justify-content: space-between; align-items: stretch; user-select: none; z-index: 10000; position: relative;}
.drag-region { -webkit-app-region: drag; width: 100%; display: flex; align-items: center; padding-left: 20px; color: var(--accent); font-weight: 800; font-size: 14px; letter-spacing: 1px;}
.window-controls { display: flex; height: 100%; }
.window-controls button { -webkit-app-region: no-drag; background: transparent; border: none; color: var(--text-muted); width: 45px; height: 100%; cursor: pointer; transition: 0.2s;}
.window-controls button:hover { background: #333; color: white; }
.window-controls .close:hover { background: #E81123; }

/* --- Модалки и Авторизация --- */
.auth-overlay, .modal-overlay, .wave-settings-modal { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0, 0, 0, 0.6); 
    z-index: 5000; 
    display: flex; justify-content: center; align-items: center; 
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}

/* Показываем окно, если у него display: flex (устанавливается JS) */
.auth-overlay[style*="flex"], .modal-overlay[style*="flex"], .wave-settings-modal[style*="flex"] {
    opacity: 1; pointer-events: auto;
}

.auth-box, .modal-box, .wave-settings-box { 
    background: rgba(30, 30, 30, 0.95); 
    padding: 35px; 
    border-radius: 24px; 
    width: 90%; max-width: 420px; 
    display: flex; flex-direction: column; text-align: center; 
    box-shadow: 0 25px 60px rgba(0,0,0,0.6); 
    border: 1px solid rgba(255,255,255,0.08);
    animation: modalEnter 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    max-height: 90vh; overflow-y: auto;
}

@keyframes modalEnter {
    0% { transform: scale(0.9) translateY(20px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Специфичные размеры для разных окон */
#eq-modal .modal-box, #crop-modal .modal-box { max-width: 550px; }
#add-to-pl-modal .modal-box { max-width: 350px; }

.auth-box h1 { color: var(--accent); font-size: 42px; font-weight: 900; margin-bottom: 25px; letter-spacing: -1px;}

.auth-input { 
    background: rgba(0, 0, 0, 0.3); color: white; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    padding: 14px 18px; margin-bottom: 15px; 
    border-radius: 12px; font-size: 15px; outline: none; transition: all 0.2s; width: 100%;
}
.auth-input:focus { 
    border-color: var(--accent); background: rgba(0, 0, 0, 0.5); 
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.15); 
}

.auth-btn { 
    padding: 14px; border-radius: 12px; font-size: 15px; font-weight: 700; 
    cursor: pointer; margin-bottom: 10px; border: none; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.btn-primary { background: var(--accent); color: black; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3); }
.btn-outline { background: transparent; color: var(--text-muted); border: 1px solid rgba(255, 255, 255, 0.15); }
.btn-outline:hover { border-color: var(--text-main); color: var(--text-main); background: rgba(255, 255, 255, 0.05); }

.error-text { color: #ff4d4d; margin-bottom: 15px; min-height: 20px; font-size: 14px;}
.modal-actions { display: flex; gap: 12px; margin-top: 10px; }
.modal-actions .auth-btn { margin-bottom: 0; flex: 1; }

/* --- Layout --- */
.main-container { display: flex; flex: 1; overflow: hidden; position: relative;}
.sidebar { width: 280px; background: var(--bg-dark); padding: 20px; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,0.05);}
.content-area { flex: 1; padding: 30px 40px; overflow-y: auto; position: relative; }
.side-panel { width: 0; background: var(--bg-card); overflow-y: auto; transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); border-left: 1px solid var(--bg-hover); padding: 0;}
.side-panel.active { width: 350px; padding: 30px; max-width: 100%; }

/* Side panel content scaling */
.side-panel .track-list { max-width: 100%; overflow: hidden; }

/* --- Profile Section --- */
.profile-section { display: flex; align-items: center; justify-content: space-between; background: var(--bg-card); padding: 12px; border-radius: 12px; margin-bottom: 25px; border: 1px solid rgba(255,255,255,0.05); cursor: pointer; transition: 0.2s;}
.profile-section:hover { background: var(--bg-hover); }
.profile-info { display: flex; align-items: center; gap: 12px; }
.avatar { background: var(--accent); color: black; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: bold;}
.logout-btn { background: transparent; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 8px; border-radius: 50%; transition: 0.2s; color: var(--text-muted); opacity: 0.7; }
.logout-btn svg { width: 20px; height: 20px; fill: currentColor; }
.logout-btn:hover { background: rgba(255, 77, 77, 0.15); color: #ff4d4d; opacity: 1; }

/* --- Top Navigation --- */
.top-nav-bar { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; position: relative; z-index: 10; height: 50px; }
.nav-arrows { display: flex; gap: 10px; }
.nav-arrow-btn { background: var(--bg-card); border: none; color: white; width: 40px; height: 40px; border-radius: 50%; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.nav-arrow-btn:hover:not(:disabled) { background: var(--bg-hover); transform: scale(1.05); }
.nav-arrow-btn:disabled { opacity: 0.3; cursor: default; }

/* --- Buttons & Text --- */
.nav-btn { background: transparent; border: none; color: var(--text-muted); font-size: 16px; font-weight: 600; padding: 12px 15px; border-radius: 8px; text-align: left; width: 100%; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 12px;}
.nav-btn:hover { color: var(--text-main); background: var(--bg-card); }
hr { border: 0; height: 1px; background: rgba(255,255,255,0.05); margin: 20px 0; }
.nav-btn svg { transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), fill 0.2s ease; fill: currentColor; }
.nav-btn:hover svg { transform: scale(1.15) rotate(-5deg); fill: var(--accent); }
.nav-btn.active { color: var(--accent); background: var(--bg-card); font-weight: 800; }
.nav-btn.active svg { transform: scale(1.1); }
.wave-text {
    background: linear-gradient(90deg, #bd00ff, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}
.text-muted { color: var(--text-muted); font-size: 14px; }
.hover-link { cursor: pointer; transition: 0.2s; }
.hover-link:hover { color: var(--accent) !important; }

#section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Hero Headers (Albums/Artists) --- */
.hero-header { display: flex; align-items: flex-end; gap: 40px; margin-bottom: 50px; padding-top: 20px; max-width: 100%; overflow: hidden; }
.hero-header img { width: 260px; height: 260px; border-radius: 16px; object-fit: cover; box-shadow: 0 20px 50px rgba(0,0,0,0.5); flex-shrink: 0; }
.hero-info { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; flex: 1; overflow: hidden; }
.hero-type { font-size: 14px; font-weight: 800; text-transform: uppercase; margin-bottom: 15px; letter-spacing: 1.5px; color: var(--accent);}
.hero-title { font-size: 80px; font-weight: 900; line-height: 1; margin-bottom: 20px; color: white; letter-spacing: -2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.hero-subtitle { font-size: 20px; font-weight: 600; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-regen { background: transparent; border: 1px solid var(--text-muted); color: var(--text-muted); padding: 10px 20px; border-radius: 30px; cursor: pointer; transition: 0.2s; font-size: 14px; margin-top: 20px; font-weight: bold; display: inline-flex; align-items: center; justify-content: center;}
.btn-regen:hover { color: white; border-color: white; background: rgba(255,255,255,0.1); }
.playlist-delete-btn { margin-top: 0; border-color: #555; }
.playlist-delete-btn:hover { border-color: #ff4d4d; color: #ff4d4d; background: rgba(255, 77, 77, 0.1); }

/* --- Grid Cards (Albums) --- */
.grid-container { display: flex; flex-wrap: wrap; gap: 25px; }
.grid-container.one-line {
    flex-wrap: nowrap;
    overflow: hidden;
    scroll-behavior: smooth;
}
.grid-container.one-line .card {
    flex-shrink: 0;
}
.card { background: var(--bg-card); padding: 18px; border-radius: 12px; width: 210px; cursor: pointer; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; border: 1px solid rgba(255,255,255,0.02);}
.card:hover { background: var(--bg-hover); transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.4); }
.card img { width: 100%; border-radius: 8px; aspect-ratio: 1/1; object-fit: cover; margin-bottom: 15px; box-shadow: 0 8px 20px rgba(0,0,0,0.3); }

/* --- Track Lists (Rows) --- */
.track-list { display: flex; flex-direction: column; gap: 8px; }
.track-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media screen and (max-width: 768px) {
    .track-grid-2col { grid-template-columns: 1fr; }
}
.track-row { display: flex; align-items: center; padding: 12px 20px; border-radius: 8px; cursor: pointer; transition: 0.2s; border: 1px solid transparent;}
.track-row:hover { background: var(--bg-card); border-color: rgba(255,255,255,0.05);}
.track-row.active {
    background: rgba(255, 204, 0, 0.15) !important;
    border-color: var(--accent) !important;
}
.track-row.active .track-title {
    color: var(--accent) !important;
}
/* Подсветка трека при открытии по share-ссылке */
.track-row.highlighted {
    background: rgba(255, 204, 0, 0.25) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
    animation: trackHighlightPulse 2s ease-in-out infinite;
}
.track-row.highlighted .track-title {
    color: var(--accent) !important;
}
@keyframes trackHighlightPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 204, 0, 0.3); }
    50% { box-shadow: 0 0 35px rgba(255, 204, 0, 0.5); }
}
.track-thumb-container { position: relative; width: 50px; height: 50px; margin-right: 20px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.track-thumb-container img { width: 100%; height: 100%; object-fit: cover; }
.track-play-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; color: var(--accent); font-size: 20px; }
.track-row:hover .track-play-overlay { opacity: 1; }
.track-info-col { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.track-title { color: white; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; max-width: 100%; }
.track-artist { color: var(--text-muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.track-actions { display: flex; align-items: center; gap: 15px; margin-left: 20px; flex-shrink: 0; }

/* --- Actions (Like, Dislike, Add) --- */
.icon-btn { background: transparent; border: none; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; padding: 5px;}
.icon-btn svg { width: 24px; height: 24px; fill: var(--text-muted); transition: 0.2s; }
.icon-btn:hover svg { fill: white; transform: scale(1.1); }
.icon-btn.liked svg, .icon-btn.active svg { fill: var(--accent); }
.icon-btn.disliked svg { fill: #555; opacity: 0.5; }
.action-plus { font-size: 28px; font-weight: 300; }

.media-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 15px;
}
.media-section-header:first-child { margin-top: 0; }
.media-section-header h2 { font-size: 24px; font-weight: 800; }
.media-section-header .header-actions { display: flex; align-items: center; gap: 15px; }
.media-section-header .carousel-arrows { display: flex; gap: 8px; }
.media-section-header .carousel-arrows .nav-arrow-btn { width: 32px; height: 32px; font-size: 12px; background: rgba(255,255,255,0.05); }
.media-section-header .show-all-btn {
    background: none; border: none; color: var(--text-muted);
    font-size: 14px; font-weight: bold; cursor: pointer; transition: 0.2s;
}
.media-section-header .show-all-btn:hover { color: var(--accent); }

/* --- Profile View --- */
.profile-card {
    background: var(--bg-card); padding: 30px; border-radius: 16px; margin-bottom: 30px;
    max-width: 600px; border: 1px solid rgba(255,255,255,0.05);
}
.profile-card h2 { margin-bottom: 25px; }

.profile-edit-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-hover);
}
.profile-card .auth-btn {
    width: 100%;
}
.input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}
.input-group label {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.input-group .auth-input {
    margin-bottom: 0;
    width: 100%;
}
.session-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* --- Cropper --- */
.crop-container {
    width: 100%;
    height: 400px;
    background: #000;
    overflow: hidden;
    border-radius: 8px;
}
.crop-circle .cropper-view-box, .crop-circle .cropper-face {
    border-radius: 50%;
}

/* --- Search --- */
.search-box { background: var(--bg-card); color: white; border: 1px solid rgba(255,255,255,0.1); padding: 12px 25px; border-radius: 30px; font-size: 16px; outline: none; width: 100%; max-width: 400px; display: none; transition: 0.2s;}
.search-box:focus { border-color: var(--accent); background: #1a1a1a;}
.top-result-card { background: linear-gradient(145deg, var(--bg-card), var(--bg-hover)); padding: 30px; border-radius: 16px; width: 450px; cursor: pointer; transition: 0.3s; position: relative; border: 1px solid rgba(255,255,255,0.05);}
.top-result-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }
.top-result-card img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin-bottom: 25px; box-shadow: 0 10px 25px rgba(0,0,0,0.5); }
.top-result-title { font-size: 42px; font-weight: 900; color: white; margin-bottom: 10px; letter-spacing: -1px;}
.top-result-badge { display: inline-block; background: rgba(0,0,0,0.5); color: var(--accent); font-weight: bold; padding: 6px 15px; border-radius: 20px; font-size: 14px; backdrop-filter: blur(5px);}
.search-artist-like {
    position: absolute;
    bottom: 30px;
    right: 30px;
    opacity: 0;
    transition: 0.3s;
}
.search-artist-like svg { width: 32px; height: 32px; }
.top-result-card:hover .search-artist-like, .search-artist-like.liked { opacity: 1; }

/* Дизлайк артиста */
.icon-btn.disliked svg { fill: #ff4444 !important; }
.icon-btn.disliked { opacity: 1 !important; }
.search-artist-dislike {
    position: absolute;
    bottom: 30px;
    right: 30px;
    opacity: 0;
    transition: 0.3s;
}
.search-artist-dislike svg { width: 32px; height: 32px; }
.top-result-card:hover .search-artist-dislike, .search-artist-dislike.disliked { opacity: 1; }

/* --- Моя волна --- */
.wave-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; background: #050505; z-index: 0; }
.wave-blob { position: absolute; width: 900px; height: 900px; background: linear-gradient(45deg, #FF0055, #7A00FF, #FFCC00); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; animation: morph 15s ease-in-out infinite, spin 25s linear infinite; filter: blur(100px); opacity: 0.5; pointer-events: none; transition: transform 0.5s ease; }
@media screen and (max-width: 768px) { .wave-blob { width: 500px; height: 500px; filter: blur(80px); opacity: 0.4; } }
@media screen and (max-width: 375px) { .wave-blob { width: 350px; height: 350px; filter: blur(60px); opacity: 0.35; } }
.wave-blob.paused { animation-play-state: paused; opacity: 0.2; transform: scale(0.9);}

@keyframes morph { 0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; } 34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; } 67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; } }
@keyframes spin { 100% { transform: rotate(1turn); } }

.wave-content { z-index: 2; display: flex; flex-direction: column; align-items: center; }
.wave-play-btn { background: transparent; border: none; font-size: 64px; color: white; cursor: pointer; font-weight: 900; display: flex; align-items: center; gap: 20px; text-shadow: 0 10px 30px rgba(0,0,0,0.8); transition: 0.2s; letter-spacing: -2px; }
@media screen and (max-width: 768px) { .wave-play-btn { font-size: 48px; gap: 12px; padding: 10px; } }
@media screen and (max-width: 375px) { .wave-play-btn { font-size: 40px; gap: 8px; } }
.wave-play-btn:hover { transform: scale(1.05); color: var(--accent);}
.wave-settings-btn { margin-top: 40px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 15px 30px; border-radius: 30px; color: white; cursor: pointer; display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 16px; backdrop-filter: blur(10px); transition: 0.2s; }
@media screen and (max-width: 768px) { .wave-settings-btn { margin-top: 25px; padding: 12px 24px; font-size: 14px; } }
@media screen and (max-width: 375px) { .wave-settings-btn { margin-top: 20px; padding: 10px 18px; font-size: 13px; gap: 8px; } }
.wave-settings-btn:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px);}

.ws-category { margin-bottom: 25px; text-align: left; }
.ws-category-title { color: var(--text-muted); font-size: 14px; margin-bottom: 15px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px;}
.ws-pill-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.ws-pill { background: rgba(255,255,255,0.05); color: white; border: 1px solid rgba(255,255,255,0.1); padding: 12px 20px; border-radius: 25px; cursor: pointer; font-size: 14px; transition: 0.2s; display: flex; align-items: center; gap: 8px;}
.ws-pill:hover { background: rgba(255,255,255,0.1); }
.ws-pill.active { background: var(--accent); color: black; font-weight: bold; border-color: var(--accent);}

/* --- Player Bar --- */
.player-bar { height: 100px; background: rgba(20,20,20,0.95); backdrop-filter: blur(20px); border-top: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: space-between; padding: 0 30px; z-index: 50; position: relative;}
.track-info { display: flex; align-items: center; gap: 15px; width: 30%; min-width: 0; }
.track-info img { width: 64px; height: 64px; border-radius: 8px; display: none; object-fit: cover; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.3);}
.track-info img:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.5); }
.track-info-text { display: flex; flex-direction: column; overflow: hidden; min-width: 0; flex: 1; }
#player-title { color: white; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
#player-artist { color: var(--accent); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-controls { display: flex; flex-direction: column; align-items: center; width: 40%; }
.player-controls .buttons { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 25px; width: 100%; margin-bottom: 8px; }
.player-controls button { background: transparent; border: none; color: white; font-size: 22px; cursor: pointer; transition: 0.2s; display: flex; justify-content: center; align-items: center; }
.player-controls button:hover { color: var(--accent); }
.play-btn { background: transparent !important; width: 45px; height: 45px; border-radius: 50%; box-shadow: 0 4px 15px rgba(255,204,0,0.3); display: flex; align-items: center; justify-content: center; padding: 0; border: none; outline: none; }
.play-btn:hover { transform: scale(1.1); background: transparent !important; }
.play-btn .st0 { fill: var(--accent); transition: 0.2s; }
.play-btn:hover .st0 { fill: #ffdf33; }
.progress { display: flex; align-items: center; gap: 15px; width: 100%; font-size: 12px; color: var(--text-muted); font-weight: 600;}
.progress input[type="range"] { flex: 1; accent-color: var(--accent); height: 4px; border-radius: 2px; cursor: pointer; background: #333;}
.extra-controls { width: 30%; display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.extra-controls button { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--text-muted); transition: 0.2s; }
.extra-controls button:hover { color: white; }
.extra-controls button.active {
    color: var(--accent);
}
#volume-bar { width: 100px; accent-color: var(--accent); height: 4px; border-radius: 2px; cursor: pointer; background: #333; }

/* --- FULLSCREEN PLAYER OVERLAY --- */
.full-player-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: transparent; z-index: 1000; display: none; flex-direction: column; opacity: 0; transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1); padding: 40px; max-height: 100vh; overflow: hidden; box-sizing: border-box; }
.full-player-overlay.active { display: flex; opacity: 1; }
.fp-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: blur(60px) brightness(0.3);
    transform: scale(1.2);
    pointer-events: none;
}

.fp-close { position: absolute; top: 30px; right: 40px; background: rgba(255,255,255,0.05); border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; z-index: 10;}
.fp-close svg { width: 24px; height: 24px; fill: white; }
.fp-close:hover { background: rgba(255,255,255,0.15); transform: rotate(90deg); }

.fp-body { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; gap: 60px; transition: 0.5s ease; overflow: hidden; }
.fp-left-side { flex: 1; display: flex; flex-direction: column; align-items: center; max-width: 500px; transition: 0.5s ease; min-width: 0; width: 100%; }
.fp-right-side { flex: 1; max-width: 0; opacity: 0; overflow-y: auto; overflow-x: hidden; height: 70vh; transition: 0.5s ease; padding-right: 20px; scroll-behavior: smooth; }

.full-player-overlay.lyrics-active .fp-right-side,
.full-player-overlay.queue-active .fp-right-side { max-width: 600px; opacity: 1; }
.full-player-overlay.lyrics-active .fp-left-side,
.full-player-overlay.queue-active .fp-left-side { transform: translateX(-20px); }

.fp-cover-container { width: 100%; aspect-ratio: 1/1; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.8); margin-bottom: 30px; flex-shrink: 0; max-height: 60vh; }
.fp-cover { width: 100%; height: 100%; object-fit: cover; }

.fp-info { text-align: center; margin-bottom: 30px; width: 100%; min-width: 0; }
.fp-title { font-size: clamp(24px, 5vw, 36px); font-weight: 900; color: white; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fp-artist { font-size: clamp(16px, 3vw, 20px); font-weight: 600; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.fp-controls-block { width: 100%; display: flex; flex-direction: column; gap: 25px; flex-shrink: 0; }
.fp-progress { width: 100%; display: flex; align-items: center; gap: 10px; }
.fp-progress input { flex: 1; height: clamp(4px, 1vh, 6px); border-radius: 2px; cursor: pointer; background: #333; accent-color: var(--accent); min-width: 0; }
.fp-progress span { font-size: clamp(11px, 2vw, 13px); color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.fp-main-btns { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 40px); flex-wrap: wrap; }
.fp-main-btns .icon-btn svg { width: 32px; height: 32px; }
.fp-main-btns .play-btn { width: clamp(60px, 10vw, 80px); height: clamp(60px, 10vw, 80px); flex-shrink: 0; }
.fp-main-btns .play-btn svg { width: 100%; height: 100%; }

.fp-secondary-btns { display: flex; justify-content: center; gap: clamp(15px, 3vw, 30px); margin-top: 10px; flex-wrap: wrap; }
.fp-secondary-btns .icon-btn svg { width: clamp(20px, 3vw, 28px); height: clamp(20px, 3vw, 28px); flex-shrink: 0; }

#fp-lyrics-text { font-size: clamp(18px, 3.2vh, 28px); line-height: 1.5; color: rgba(255,255,255,0.5); font-weight: 700; white-space: pre-wrap; max-width: 100%; overflow-wrap: break-word; }

/* Queue styles */
#fp-queue-list, #side-queue-list { display: flex; flex-direction: column; gap: 10px; }
#fp-queue-list .track-row, #side-queue-list .track-row { 
    display: flex; align-items: center; padding: 8px; border-radius: 8px; 
    cursor: pointer; transition: 0.2s; background: rgba(255,255,255,0.03);
}
#fp-queue-list .track-row:hover, #side-queue-list .track-row:hover { background: rgba(255,255,255,0.08); }
#fp-queue-list .track-row.active, #side-queue-list .track-row.active { background: rgba(255, 204, 0, 0.2); border: 1px solid var(--accent); }
#fp-queue-list .track-title, #side-queue-list .track-title { 
    font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; 
}
#fp-queue-list .track-artist, #side-queue-list .track-artist { 
    font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; 
}
.lyric-line {
    margin-bottom: 28px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
    cursor: pointer;
    opacity: 0.25;
    transform-origin: left center;
    transform: scale(0.85); /* Неактивные строчки меньше */
    max-width: 80%; /* Запас для масштаба и сдвига */
    box-sizing: border-box;
}
.lyric-line.active {
    color: var(--accent);
    opacity: 1;
    transform: scale(1.15) translateX(15px); /* Активная выезжает и увеличивается */
    font-weight: 800;
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.45);
}
.lyric-line:hover {
    opacity: 0.8;
    transform: scale(0.92);
}
.eq-grid { display: flex; justify-content: space-between; height: 200px; padding: 20px 0; }
.eq-band { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; }
.eq-band span { font-size: 10px; color: var(--text-muted); font-weight: bold; }
.eq-band input[type="range"] {
    writing-mode: bt-lr; /* Webkit */
    appearance: slider-vertical;
    width: 8px;
    height: 150px;
    background: #333;
    accent-color: var(--accent);
    outline: none;
}
/* Mobile EQ: horizontal sliders */
@media screen and (max-width: 768px) {
    .eq-grid { height: auto; flex-direction: column; gap: 15px; padding: 10px 0; }
    .eq-band { flex-direction: row; gap: 12px; width: 100%; justify-content: center; }
    .eq-band input[type="range"] {
        writing-mode: lrt-bt;
        appearance: auto;
        width: 100%;
        height: 6px;
        max-width: 200px;
    }
    .eq-band span { font-size: 11px; min-width: 40px; text-align: center; }
}

/* Скрыты на десктопе */
.mobile-header, .mobile-tabbar { display: none; }

/* --- Scrollbars --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar:horizontal { display: none !important; height: 0 !important; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #444; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* --- Mobile --- */
/* Срабатывает там же где раньше работал горизонтальный сайдбар */
@media screen and (max-width: 768px) {
    body { height: 100dvh; }
    .titlebar { display: none; }
    .auth-overlay, .modal-overlay, .wave-settings-modal { top: 0; height: 100%; }

    /* Убираем старый сайдбар, показываем новые мобильные элементы */
    .sidebar { display: none !important; }
    .mobile-header {
        display: flex;
        position: fixed;
        top: 0; left: 0; right: 0;
        z-index: 55;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        background: var(--bg-dark);
        border-bottom: 1px solid rgba(255,255,255,0.05);
        height: 54px;
    }
    .mobile-header .profile-section {
        margin-bottom: 0; padding: 5px 10px; border-radius: 10px;
        background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05);
        cursor: pointer; display: flex; align-items: center; gap: 8px; transition: 0.2s;
    }
    .mobile-header .profile-section:hover { background: var(--bg-hover); }
    .mobile-header .profile-section .avatar { width: 30px; height: 30px; font-size: 15px; }
    .mobile-header .profile-section span { font-weight: bold; font-size: 14px; }
    .mobile-header .logout-btn { font-size: 16px; }
    .mobile-header-title { font-size: 16px; font-weight: 900; color: var(--accent); letter-spacing: 1px; }
    .nav-arrows { display: none; }
    /* Carousel arrows on mobile */
    .carousel-arrows { opacity: 0.8; }
    .nav-arrow-btn { min-width: 44px; min-height: 44px; padding: 10px; }
    /* Ensure show-all-btn doesn't overlap with title on mobile */
    .media-section-header { flex-direction: row; align-items: center; justify-content: space-between; }
    .media-section-header h2 { margin: 0; flex: 1; min-width: 0; }
    .show-all-btn { flex-shrink: 0; }
    /* Modal boxes on mobile */
    .modal-overlay .modal-box { width: 95vw; max-width: 400px; max-height: 85vh; top: 50%; transform: translate(-50%, -50%); }
    .modal-overlay .modal-box h2 { font-size: 20px; }
    .modal-overlay .modal-box p { font-size: 14px; }
    .modal-overlay .modal-box input[type="text"] { font-size: 16px; padding: 12px 15px; }
    .modal-overlay .modal-box button { font-size: 15px; padding: 12px 24px; }
    .modal-overlay .modal-box button.primary { font-size: 15px; padding: 12px 24px; }
    /* Auth overlay on mobile */
    .auth-overlay { padding: 20px; justify-content: center; }
    .auth-overlay .auth-box { width: 95vw; max-width: 360px; padding: 30px 20px; }
    .auth-overlay .auth-box h2 { font-size: 24px; }
    .auth-overlay .auth-box input { font-size: 16px; padding: 14px; }
    .auth-overlay .auth-box button { font-size: 16px; padding: 14px; }
    /* Wave settings modal on mobile */
    .wave-settings-modal { padding: 20px; }
    .wave-settings-modal .modal-box { width: 95vw; max-width: 400px; max-height: 80vh; top: 50%; transform: translate(-50%, -50%); }
    .wave-settings-modal .modal-box h2 { font-size: 20px; }

    .main-container {
        flex-direction: column;
        height: calc(100dvh - 54px - 80px - 56px);
        overflow: hidden;
        margin-top: 54px;
    }
    .content-area { padding: 15px; overflow-y: auto; flex: 1; }
    .top-nav-bar { height: auto; margin-bottom: 15px; flex-wrap: wrap; gap: 10px; }
    .search-box { width: 100%; max-width: 100%; margin: 0; order: 10; }
    .search-box input { font-size: 16px; padding: 12px 16px; }
    #yt-search-toggle { width: 100%; justify-content: flex-end; margin: 0; order: 11; }

    .player-bar {
        height: 64px; padding: 0 10px;
        position: fixed; bottom: 56px; left: 0; right: 0;
        background: rgba(20,20,20,0.98);
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .track-info { width: auto; flex: 1; min-width: 0; gap: 10px; cursor: pointer; }
    .track-info img { display: block; width: 42px; height: 42px; margin: 0; pointer-events: none; }
    .track-info-text { overflow: hidden; display: flex; flex-direction: column; justify-content: center; pointer-events: none; min-width: 0; flex: 1; }
    #player-title { font-size: 14px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #player-artist { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    
    /* Скрываем лишние кнопки в мини-плеере на мобилке */
    #player-like-btn, #player-dislike-btn, #player-share-btn, #player-add-btn { display: none !important; }

    .player-controls { width: auto; flex: 0 0 auto; margin-left: 10px; }
    .player-controls .buttons { gap: 15px; margin: 0; }
    /* Скрываем кнопку "Назад" в мини-плеере */
    .player-controls .buttons button:first-child { display: none; }
    
    .progress { display: none; }
    .extra-controls { display: none; }

    .mobile-tabbar {
        display: flex;
        position: fixed; bottom: 0; left: 0; right: 0;
        height: 56px;
        background: var(--bg-dark);
        border-top: 1px solid rgba(255,255,255,0.07);
        z-index: 60;
    }
    .mobile-tab-btn {
        flex: 1; display: flex; flex-direction: column;
        align-items: center; justify-content: center;
        gap: 3px; background: transparent; border: none;
        color: var(--text-muted); cursor: pointer; transition: 0.2s;
        font-size: 11px; font-weight: 600; padding: 6px 0;
    }
    .mobile-tab-btn .tab-icon { font-size: 20px; line-height: 1; }
    .mobile-tab-btn .tab-icon svg { transition: transform 0.2s ease; fill: currentColor; }
    .mobile-tab-btn .tab-icon svg { transition: transform 0.2s ease; }
    .mobile-tab-btn:hover, .mobile-tab-btn.active { color: var(--accent); }
    .mobile-tab-btn.active .tab-icon svg { transform: scale(1.1); }

    .hero-title { font-size: 36px; }
    .hero-header { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 25px; }
    .hero-header img { width: 180px; height: 180px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
    /* Hero text overflow on mobile */
    .hero-title { white-space: normal; line-height: 1.2; max-width: 100%; }
    /* Album/Artist hero responsive */
    .album-view-hero img, .artist-view-hero img { width: 180px; height: 180px; }
    .album-view-hero .hero-title, .artist-view-hero .hero-title { font-size: 32px; white-space: normal; line-height: 1.2; }

    /* Track list responsive */
    .track-row { padding: 10px 15px; }
    .track-thumb-container { width: 45px; height: 45px; margin-right: 15px; }
    .track-title { font-size: 14px; }
    .track-artist { font-size: 12px; }
    .track-actions { gap: 10px; margin-left: 15px; }
    .track-actions .icon-btn { padding: 3px; }
    .track-actions .icon-btn svg { width: 20px; height: 20px; }

    /* Grid fixes */
    .grid-container { gap: 15px; justify-content: space-between; }
    .card { width: calc(50% - 8px); min-width: 0; padding: 12px; }
    .card img { margin-bottom: 10px; }
    .card h3 { font-size: 14px; }
    /* Make card images responsive */
    .card img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; }
    /* Ensure track rows are tappable on mobile */
    .track-row { min-height: 56px; }
    /* One-line grid on mobile */
    .grid-container.one-line { padding-bottom: 10px; }
    /* Media section headers on mobile */
    .media-section-header { flex-wrap: wrap; gap: 10px; }
    .media-section-header h2 { font-size: 18px; }
    .media-section-header .show-all-btn { font-size: 13px; padding: 8px 14px; }
    /* Profile view responsive */
    .profile-view { gap: 15px; }
    .profile-view .hero-header img { width: 160px; height: 160px; }
    .profile-view .hero-title { font-size: 28px; white-space: normal; line-height: 1.2; }
    .profile-view .profile-info { font-size: 13px; }
    .profile-view .profile-stats { font-size: 12px; gap: 15px; }
    .profile-view .profile-stats .stat-value { font-size: 16px; }
    .profile-view .profile-stats .stat-label { font-size: 11px; }
    /* Profile cards responsive */
    .profile-view .grid-container { gap: 12px; }
    .profile-view .card { padding: 10px; }
    .profile-view .card h3 { font-size: 13px; }
    .profile-view .card p { font-size: 11px; }
    /* Generic view responsive */
    .generic-view { gap: 15px; }
    .generic-view .hero-header img { width: 160px; height: 160px; }
    .generic-view .hero-title { font-size: 28px; white-space: normal; line-height: 1.2; }
    .generic-view .grid-container { gap: 12px; }

    /* Mobile Full Player */
    .full-player-overlay { padding: 15px; }
    .fp-close { top: 15px; right: 15px; width: 44px; height: 44px; background: rgba(0,0,0,0.3); }
    .fp-close svg { width: 22px; height: 22px; }

    .fp-body {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 65px;
        gap: 15px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .fp-left-side {
        width: 100%;
        max-width: 100%;
        transform: none !important;
    }

    .fp-cover-container {
        width: 70vw;
        height: 70vw;
        max-width: 300px;
        max-height: 300px;
        margin-bottom: 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    }

    .fp-info { margin-bottom: 20px; width: 100%; }
    .fp-title { font-size: 20px; white-space: normal; line-height: 1.2; text-align: center; }
    .fp-artist { font-size: 16px; text-align: center; }

    .fp-controls-block { gap: 15px; width: 100%; padding: 0 10px; }
    .fp-main-btns { gap: 0; justify-content: space-between; width: 100%; }
    .fp-main-btns .play-btn { width: 60px; height: 60px; min-width: 60px; min-height: 60px; }
    .fp-secondary-btns { gap: 20px; }
    /* Ensure all full player buttons have proper touch targets */
    .fp-main-btns .icon-btn { min-width: 44px; min-height: 44px; padding: 10px; }
    .fp-main-btns .icon-btn svg { width: 24px; height: 24px; }
    /* Lyrics text responsive */
    #fp-lyrics-text { font-size: 22px; line-height: 1.4; }
    /* Queue list responsive */
    #fp-queue-list .track-row, #side-queue-list .track-row { padding: 10px; min-height: 50px; }

    /* Mobile Lyrics Overlay */
    .fp-right-side {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.9); z-index: 20;
        padding: 80px 20px 20px;
        max-width: 100% !important;
        transform: translateY(100%); transition: 0.3s ease;
    }
    .full-player-overlay.lyrics-active .fp-right-side,
    .full-player-overlay.queue-active .fp-right-side { transform: translateY(0); opacity: 1; }
    .full-player-overlay.lyrics-active .fp-close { z-index: 30; }
    
    /* Tablet/Desktop responsive */
    @media screen and (max-width: 1024px) {
        .fp-body { gap: 40px; }
        .fp-cover-container { max-width: 250px; max-height: 250px; }
        .fp-title { font-size: 28px; }
        .fp-artist { font-size: 18px; }
    }
    
    /* Small desktop responsive */
    @media screen and (max-height: 700px) {
        .full-player-overlay { padding: 20px; }
        .fp-cover-container { margin-bottom: 20px; }
        .fp-info { margin-bottom: 20px; }
        .fp-title { font-size: 28px; }
        .fp-controls-block { gap: 20px; }
    }
    
    /* Very small windows */
    @media screen and (max-width: 600px), screen and (max-height: 500px) {
        .fp-cover-container { max-width: 200px; max-height: 200px; }
        .fp-title { font-size: 18px; }
        .fp-artist { font-size: 14px; }
        .fp-main-btns .play-btn { width: 50px; height: 50px; }
        .fp-main-btns .icon-btn svg { width: 24px; height: 24px; }
        .fp-secondary-btns { gap: 15px; }
        .fp-secondary-btns .icon-btn svg { width: 22px; height: 22px; }
    }
}

/* --- Extra small phones (iPhone SE, small Android) --- */
@media screen and (max-width: 375px) {
    .content-area { padding: 10px; }
    .hero-title { font-size: 28px; }
    .hero-header { gap: 15px; margin-bottom: 20px; }
    .hero-header img { width: 140px; height: 140px; }
    .album-view-hero img, .artist-view-hero img { width: 140px; height: 140px; }
    .album-view-hero .hero-title, .artist-view-hero .hero-title { font-size: 24px; }
    .card { width: calc(50% - 6px); padding: 10px; }
    .card img { margin-bottom: 8px; }
    .card h3 { font-size: 12px; }
    .card p { font-size: 11px; }
    .track-row { padding: 8px 10px; }
    .track-thumb-container { width: 40px; height: 40px; margin-right: 10px; }
    .track-title { font-size: 13px; }
    .track-artist { font-size: 11px; }
    .track-actions { gap: 8px; margin-left: 10px; }
    .track-actions .icon-btn svg { width: 18px; height: 18px; }
    .track-duration { font-size: 11px; width: 35px; }
    .media-section-header h2 { font-size: 18px; }
    .media-section-header .show-all-btn { font-size: 12px; padding: 6px 12px; }
    .fp-cover-container { width: 65vw; height: 65vw; max-width: 240px; max-height: 240px; }
    .fp-title { font-size: 16px; }
    .fp-artist { font-size: 13px; }
    .fp-main-btns .play-btn { width: 50px; height: 50px; }
    .fp-main-btns .icon-btn svg { width: 22px; height: 22px; }
    .fp-secondary-btns .icon-btn svg { width: 20px; height: 20px; }
    .wave-play-btn { font-size: 48px; gap: 10px; }
    .wave-settings-btn { padding: 12px 20px; font-size: 14px; }
    .ws-pill { padding: 10px 14px; font-size: 12px; }
    .player-bar { height: 56px; padding: 0 8px; }
    .track-info img { width: 38px; height: 38px; }
    #player-title { font-size: 13px; }
    #player-artist { font-size: 11px; }
    .player-controls .buttons { gap: 12px; }
    .mobile-tabbar { height: 48px; }
    .mobile-tab-btn { font-size: 10px; padding: 4px 0; }
    .mobile-tab-btn .tab-icon { font-size: 18px; }
    .mobile-header { height: 48px; padding: 8px 12px; }
    .main-container { height: calc(100dvh - 48px - 56px - 48px); }
    .main-container { margin-top: 48px; }
}

/* --- Landscape phones (horizontal orientation) --- */
@media screen and (max-width: 900px) and (orientation: landscape) {
    .player-bar { height: 56px; }
    .mobile-tabbar { height: 48px; }
    .main-container { height: calc(100dvh - 48px - 56px - 48px); }
    .main-container { margin-top: 48px; }
    .fp-cover-container { max-width: 200px; max-height: 200px; }
    .fp-info { margin-bottom: 15px; }
    .fp-controls-block { gap: 12px; }
    .fp-title { font-size: 22px; }
    .fp-artist { font-size: 16px; }
    .fp-main-btns .play-btn { width: 50px; height: 50px; }
    .hero-header img { width: 140px; height: 140px; }
    .hero-title { font-size: 28px; }
    .hero-header { gap: 15px; margin-bottom: 20px; }
    .wave-blob { width: 500px; height: 500px; }
    .wave-play-btn { font-size: 48px; }
    .wave-settings-btn { padding: 10px 20px; font-size: 14px; }
    .modal-overlay .modal-box { width: 95vw; max-height: 90vh; }
}

/* --- Tablet (iPad, large phones) --- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .content-area { padding: 20px; }
    .hero-header img { width: 220px; height: 220px; }
    .hero-title { font-size: 48px; }
    .grid-container { gap: 20px; }
    .card { width: calc(33.33% - 14px); min-width: 0; }
    .card h3 { font-size: 15px; }
    .fp-body { gap: 50px; }
    .fp-cover-container { max-width: 300px; max-height: 300px; }
    .fp-title { font-size: 28px; }
    .fp-artist { font-size: 20px; }
}

/* --- iPad Pro / large tablet --- */
@media screen and (min-width: 1024px) and (max-width: 1280px) {
    .grid-container { gap: 22px; }
    .card { width: calc(25% - 17px); }
    .fp-body { gap: 50px; }
    .fp-cover-container { max-width: 320px; max-height: 320px; }
}

/* --- Touch-friendly: ensure minimum touch targets --- */
@media (hover: none) and (pointer: coarse) {
    .icon-btn { min-width: 44px; min-height: 44px; padding: 10px; }
    .icon-btn svg { width: 22px; height: 22px; }
    .mobile-tab-btn { min-height: 44px; }
    .ws-pill { min-height: 44px; }
    .nav-arrow-btn { min-width: 44px; min-height: 44px; }
    .play-btn { min-width: 44px; min-height: 44px; }
    .fp-close { min-width: 44px; min-height: 44px; }
    /* Make track rows easier to tap */
    .track-row { min-height: 56px; }
    /* Ensure album/artist cards are tappable */
    .card { min-height: 100px; }
}

/* --- Prefers reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    .wave-blob { animation: none; }
    .wave-blob.paused { animation: none; }
    .lyric-line { transition: none; }
    .fp-cover-container { transition: none; }
    .fp-left-side, .fp-right-side { transition: none; }
    .mobile-tab-btn .tab-icon svg { transition: none; }
    .play-btn { transition: none; }
}

/* --- High DPI / Retina displays --- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .wave-blob { filter: blur(100px) saturate(1.2); }
}