/* style.css - V541 (Fixed Modal Z-Index) */

:root {
    --bg-color: #0b0b0b;
    --card-bg: #121212;
    --panel-bg: #181818;
    --text-color: #ededed;
    --text-muted: #888888;
    
    --accent-color: #C06C42;
    --accent-dark: #8a4b2c;
    --accent-glow: rgba(192, 108, 66, 0.5);
    --accent-rgb: 192, 108, 66; 
    
    --border-color: #2a2a2a;
    --font-main: 'Inter', sans-serif;
    --font-head: 'Oswald', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; outline: none; -webkit-tap-highlight-color: transparent; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    height: 100vh; width: 100vw;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }

.main-container {
    width: 96%; max-width: 1350px; height: 90%; max-height: 850px;
    background: var(--card-bg); 
    display: flex; flex-direction: row; 
    position: relative;
    border: 1px solid var(--border-color); border-radius: 20px; overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

/* --- HEADER --- */
.header-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 80px;
    display: flex; align-items: center; justify-content: space-between; 
    padding: 0 25px; z-index: 100; pointer-events: none;
    background: rgba(18,18,18, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-left, .header-right { 
    pointer-events: auto; display: flex; align-items: center; gap: 12px; flex: 1; 
    z-index: 101; 
}
.header-left { justify-content: flex-start; }
.header-right { justify-content: flex-end; }

.header-center {
    pointer-events: none; position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%); text-align: center;
    width: auto; z-index: 90;
}
.brand-display { 
    pointer-events: auto;
    font-family: var(--font-head); font-size: 2.2rem; color: #fff; 
    font-weight: 700; text-transform: uppercase; letter-spacing: 3px; 
    text-shadow: 0 5px 20px rgba(0,0,0,0.5); white-space: nowrap; line-height: 1;
}
.brand-display span { color: var(--accent-color); text-shadow: none; }

.icon-btn {
    width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border-color);
    background: #282828;
    color: var(--text-muted); cursor: pointer; font-size: 1rem;
    display: flex; align-items: center; justify-content: center; transition: all 0.3s;
    pointer-events: auto;
}
.icon-btn:hover { color: #fff; border-color: #555; background: #333; transform: translateY(-2px); }
.icon-btn:active { transform: scale(0.95); }
.icon-btn.active { 
    background: var(--accent-color); color: #fff; border-color: var(--accent-color); 
    box-shadow: none; 
}

.menu-btn { 
    width: 46px; height: 46px; border-radius: 50%; 
    background: #222; border: 1px solid #333; 
    color: #fff; font-size: 1.2rem; cursor: pointer; 
    display: flex; align-items: center; justify-content: center; transition: 0.3s;
    pointer-events: auto;
}
.menu-btn:hover { color: var(--accent-color); border-color: var(--accent-color); transform: rotate(15deg); }

.mobile-menu-btn { display: none !important; pointer-events: auto; }
.mobile-only { display: none !important; }
.mobile-search-row { display: none; } 
.mobile-pl-close { display: none; }

/* --- COLUMNS --- */
.left-col {
    width: 40%; max-width: 480px; background: var(--panel-bg); border-right: 1px solid var(--border-color);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 100px 30px 40px 30px; position: relative; z-index: 10;
}
.right-col {
    flex: 1; background: var(--bg-color); display: flex; flex-direction: column;
    padding: 100px 40px 30px 40px; position: relative; z-index: 10; min-width: 0;
}

/* --- VISUALS --- */
.visual-container { 
    width: 100%; height: 320px; 
    display: flex; align-items: center; justify-content: center; 
    position: relative; margin-bottom: 30px; flex-shrink: 0; overflow: hidden;
}
.loader-overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    display: flex; align-items: center; justify-content: center; 
    z-index: 30; pointer-events: none; opacity: 0; transition: opacity 0.3s; 
    background: rgba(0,0,0,0.8);
    border-radius: 20px;
}
.loader-overlay.active { opacity: 1; pointer-events: auto; }
.spinner { width: 50px; height: 50px; border: 3px solid rgba(255,255,255,0.1); border-top: 3px solid var(--accent-color); border-radius: 50%; animation: loaderSpin 1s cubic-bezier(0.6, 0.2, 0.4, 0.8) infinite; }
@keyframes loaderSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.vinyl-wrapper, .video-wrapper {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%); 
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.vinyl-wrapper {
    width: 280px; height: 280px; border-radius: 50%;
    background: #111;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #333; z-index: 5; opacity: 1; visibility: visible;
}
.vinyl-wrapper.hidden { opacity: 0; visibility: hidden; pointer-events: none; z-index: 1; }

.vinyl-wrapper::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 18px; height: 18px; background: #000; border-radius: 50%; z-index: 20; border: 2px solid #333; }

.vinyl-img { 
    width: 130px; height: 130px; border-radius: 50%; 
    overflow: hidden; border: 6px solid #080808; 
    animation: spin 6s linear infinite; animation-play-state: paused; 
    position: relative; z-index: 5; 
}
.vinyl-wrapper.spinning .vinyl-img { animation-play-state: running; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.video-wrapper { 
    width: 100%; height: 100%; 
    background: #000; border: 1px solid #333; 
    border-radius: 16px; overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    opacity: 0; z-index: 2; 
    visibility: hidden; pointer-events: none;
}
.video-wrapper.active { opacity: 1; z-index: 20; pointer-events: auto; visibility: visible; }
#yt-player { width: 100%; height: 100%; }

.html5-video {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    background: #000;
}

.fs-btn { position: absolute; bottom: 15px; left: 15px; background: rgba(0,0,0,0.8); color: #fff; border: 1px solid rgba(255,255,255,0.1); width: 40px; height: 40px; cursor: pointer; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: 0.2s; z-index: 30; }
.fs-btn:hover { background: var(--accent-color); border-color: var(--accent-color); }

.track-info-display { width: 100%; text-align: center; margin-bottom: 25px; height: 70px; display: flex; flex-direction: column; justify-content: center; flex-shrink: 0; position: relative; z-index: 10; }
.np-title { font-family: var(--font-main); font-size: 1.4rem; color: #fff; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 5px; }
.np-artist { font-size: 0.95rem; color: var(--accent-color); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }

.progress-area { width: 100%; margin-bottom: 30px; padding: 0 5px; cursor: pointer; user-select: none; }
.progress-bar-wrap { width: 100%; height: 6px; background: #222; border-radius: 3px; position: relative; overflow: hidden; }
.progress-buffer { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: #444; transition: width 0.2s linear; }
.progress-current { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: var(--accent-color); transition: width 0.1s linear; box-shadow: none; border-radius: 3px; }
.time-display { display: flex; justify-content: space-between; font-size: 0.75rem; color: #666; margin-top: 10px; font-weight: 600; font-family: 'Inter', monospace; }

.main-btns { display: flex; align-items: center; justify-content: center; gap: 25px; margin-bottom: 30px; }
.c-btn { width: 50px; height: 50px; border-radius: 16px; border: 1px solid #2a2a2a; background: #1a1a1a; color: #888; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.c-btn:hover { border-color: #444; color: #fff; transform: translateY(-2px); background: #222; }
.c-btn:active { transform: translateY(0); }
.c-btn.active { color: var(--accent-color); border-color: var(--accent-color); background: #221a15; }
.play-btn { width: 75px; height: 75px; border-radius: 22px; border: none; background: linear-gradient(135deg, var(--accent-color), var(--accent-dark)); color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; padding-left: 5px; cursor: pointer; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.play-btn:hover { transform: scale(1.05); }

.install-area { width: 100%; display: none; justify-content: center; margin-top: auto; }
.btn-install { border: 1px solid var(--accent-color); background: transparent; color: var(--accent-color); padding: 10px 25px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: 0.3s; width: 100%; letter-spacing: 1px; }
.btn-install:hover { background: var(--accent-color); color: #fff; }

.tabs-wrapper { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; background: #1a1a1a; padding: 6px; border-radius: 14px; border: 1px solid #2a2a2a; }
.tab-btn { background: transparent; border: none; color: #777; font-weight: 700; font-size: 0.9rem; cursor: pointer; padding: 10px 20px; border-radius: 10px; transition: 0.3s; white-space: nowrap; flex: 0; }
.tab-btn:hover { color: #ccc; }
.tab-btn.active { color: #fff; background: #2a2a2a; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.active-pl-label { color: var(--accent-color); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; margin-right: auto; padding-left: 10px; letter-spacing: 1px; display: none; }

.search-container { flex: 1; position: relative; }
.search-input { width: 100%; padding: 10px 15px; background: #222; border: 1px solid transparent; color: #fff; font-size: 0.95rem; height: 100%; border-radius: 10px; transition: 0.3s; }
.search-input:focus { background: #000; border-color: var(--accent-color); }
.search-input::placeholder { color: #555; }
.search-loader-box { text-align: center; padding: 60px 0; }
.search-spinner { width: 36px; height: 36px; border: 3px solid rgba(255,255,255,0.1); border-top-color: var(--accent-color); border-radius: 50%; animation: searchSpin 0.8s linear infinite; margin: 0 auto; }
@keyframes searchSpin { 100% { transform: rotate(360deg); } }

.search-suggestions { display: none; position: absolute; top: 105%; left: 0; width: 100%; background: #141414; border: 1px solid #333; border-radius: 10px; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.8); max-height: 300px; overflow-y: auto; }
.search-suggestion-item { padding: 12px 15px; border-bottom: 1px solid rgba(255,255,255,0.05); color: #ccc; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: 0.2s; }
.search-suggestion-item:hover { background: #2a2a2a; color: #fff; padding-left: 20px; }
.search-suggestion-item i { color: var(--accent-color); opacity: 0.7; font-size: 0.8rem; }

.pl-select-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid #333; background: #222; color: #888; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: 0.2s; margin-left: 5px; flex-shrink: 0; }
.pl-select-btn:hover { color: #fff; border-color: #fff; background: #333; }
.pl-select-btn.active { background: var(--accent-color); color: #fff; border-color: var(--accent-color); }

.playlist-area { flex-grow: 1; overflow-y: auto; overflow-x: hidden; border-top: 1px solid #222; padding-top: 10px; }

.track-row { padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,0.03); cursor: pointer; display: flex; align-items: center; gap: 15px; transition: all 0.2s ease; border-radius: 8px; margin-bottom: 2px; }
.track-row:hover { background: rgba(255,255,255,0.05); }
.track-row.active { background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.25) 0%, rgba(var(--accent-rgb), 0.05) 70%, transparent 100%); border-left: 4px solid var(--accent-color); transform: translateX(5px); }
.track-row.active .t-title { color: var(--accent-color); }

.track-left { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.t-title { font-weight: 600; font-size: 1.2rem; color: #ddd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-artist { font-size: 0.95rem; color: #777; }

.track-icon-box { width: 48px; height: 48px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.2s; }
.track-icon-box i { font-size: 24px; color: #666; transition: color 0.3s; }
.track-icon-box.youtube i { color: var(--accent-color); }
.track-icon-box.local i { color: #fff; }
.track-icon-box.link i { color: #aaa; }

.btn-list-action { background: transparent; border: none; color: #444; font-size: 1.2rem; cursor: pointer; padding: 8px; flex-shrink: 0; transition: 0.2s; border-radius: 50%; }
.btn-list-action:hover { color: #fff; background: rgba(255,255,255,0.1); }
.btn-list-action.liked { color: var(--accent-color); } .btn-list-action.del:hover { color: #ff4d4d; background: rgba(255,77,77,0.1); }

/* --- MODALS --- */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 99999; align-items: center; justify-content: center; }
.modal-overlay.show { display: flex; animation: fadeIn 0.3s ease-out; }

/* FIX: Ensure confirmation and alert modals are ALWAYS on top of everything else */
#alert-modal, #confirm-modal { z-index: 100001; }
#alert-modal .modal-box, #confirm-modal .modal-box { z-index: 100002; }

.modal-box { background: #141414; border: 1px solid rgba(255, 255, 255, 0.1); padding: 40px; width: 420px; text-align: center; position: relative; border-radius: 24px; box-shadow: 0 10px 40px #000; max-height: 85vh; overflow-y: auto; }
.modal-close { position: absolute; top: 20px; right: 20px; width: 32px; height: 32px; background: #2a2a2a; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #aaa; cursor: pointer; transition: 0.2s; border: 1px solid #333; }
.modal-close:hover { color: #fff; background: #c0392b; border-color: #c0392b; transform: rotate(90deg); }
.modal-title { color: #fff; margin-bottom: 25px; font-size: 1.5rem; font-weight: 800; font-family: var(--font-head); letter-spacing: 2px; text-transform: uppercase; }

.auth-group { position: relative; margin-bottom: 15px; }
.auth-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #666; font-size: 1rem; }
.auth-input { width: 100%; padding: 14px 14px 14px 45px; background: #0f0f0f; border: 1px solid #333; color: #fff; border-radius: 12px; font-size: 1rem; transition: all 0.3s; }
.auth-input:focus { border-color: var(--accent-color); background: #000; }
.modal-btn { width: 100%; padding: 16px; border: none; border-radius: 12px; font-size: 1rem; font-weight: 800; cursor: pointer; transition: 0.3s; margin-top: 10px; text-transform: uppercase; }
.btn-primary { background: linear-gradient(135deg, var(--accent-color), var(--accent-dark)); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.btn-danger { background: rgba(200, 50, 50, 0.1); color: #e55; border: 1px solid rgba(200, 50, 50, 0.3); }
.btn-dark { background: #1a1a1a; color: #ccc; border: 1px solid #333; }
.auth-toggle { margin-top: 20px; color: #666; font-size: 0.9rem; cursor: pointer; }

.user-card { background: #181818; padding: 25px; border-radius: 16px; margin-bottom: 25px; display: flex; align-items: center; gap: 15px; border: 1px solid #2a2a2a; }
.user-avatar { width: 55px; height: 55px; background: #252525; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--accent-color); }
.user-details { text-align: left; }
.user-name { font-size: 1.3rem; font-weight: 800; color: #fff; text-transform: uppercase; }
.user-status { font-size: 0.75rem; color: #666; font-weight: 600; margin-top: 4px; }
.menu-list-btn { width: 100%; padding: 18px 20px; margin-bottom: 12px; border-radius: 12px; background: #181818; border: 1px solid #252525; color: #ccc; font-weight: 600; text-align: left; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 15px; }
.menu-list-btn:hover { background: #202020; border-color: var(--accent-color); color: #fff; }

.pl-manage-item { display: flex; justify-content: space-between; align-items: center; background: #181818; padding: 15px; margin-bottom: 10px; border-radius: 12px; border: 1px solid #252525; }
.pl-manage-name { color: #fff; font-weight: 600; }
.pl-manage-actions button { background: transparent; border: none; color: #555; font-size: 1.1rem; margin-left: 10px; cursor: pointer; }
.pl-manage-actions button:hover { color: var(--accent-color); }

.tm-rename-input { background: transparent; border: none; border-bottom: 2px solid transparent; color: #fff; font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; width: 100%; text-align: center; margin-bottom: 20px; text-transform: uppercase; transition: 0.3s; padding: 5px; }
.tm-rename-input:focus { border-color: var(--accent-color); background: rgba(255,255,255,0.05); }
.tm-actions-bar { display: flex; justify-content: center; gap: 20px; margin-bottom: 25px; }
.tm-act-btn { width: 60px; height: 60px; border-radius: 16px; background: #1a1a1a; border: 1px solid #333; color: #888; font-size: 1.5rem; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; }
.tm-act-btn:hover { color: #fff; border-color: var(--accent-color); background: #222; transform: translateY(-3px); }
.track-manage-list { margin-top: 10px; background: rgba(0,0,0,0.2); border-radius: 16px; padding: 10px; max-height: 350px; overflow-y: auto; border: 1px solid #222; }
.tm-row { display: flex; justify-content: space-between; align-items: center; background: #1a1a1a; padding: 12px 15px; margin-bottom: 8px; border-radius: 12px; border: 1px solid #2a2a2a; transition: all 0.2s ease; }
.tm-row:hover { background: #222; border-color: var(--accent-color); transform: translateX(3px); }
.tm-info { display: flex; align-items: center; gap: 12px; overflow: hidden; flex: 1; }
.tm-icon { width: 32px; height: 32px; background: transparent; display: flex; align-items: center; justify-content: center; color: #666; font-size: 1.2rem; flex-shrink: 0; }
.tm-row[data-type="youtube"] .tm-icon { color: var(--accent-color); }
.tm-row[data-type="local_file"] .tm-icon { color: #fff; }
.tm-title { font-family: var(--font-main); font-size: 0.95rem; color: #ddd; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-del { background: transparent; border: none; color: #555; cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; transition: 0.2s; margin-left: 10px; }
.tm-del:hover { background: rgba(200, 50, 50, 0.15); color: #e55; }

.playlist-select-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 18px; margin-bottom: 10px; background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 12px; color: #ddd; font-size: 1rem; font-weight: 600; cursor: pointer; }
.playlist-select-btn span.tag { font-size: 0.7rem; background: #000; padding: 4px 8px; border-radius: 6px; color: #666; border: 1px solid #333; }

.theme-selector-wrapper { background: #181818; border: 1px solid #252525; border-radius: 12px; padding: 15px; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.theme-lbl { font-size: 0.9rem; color: #aaa; font-weight: 700; }
.theme-options { display: flex; gap: 10px; }
.theme-dot { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #333; cursor: pointer; transition: transform 0.2s, border-color 0.2s; outline: none; }
.theme-dot.active { border-color: #fff; box-shadow: 0 0 10px rgba(255,255,255,0.3); transform: scale(1.15); }

@media screen and (min-width: 1025px) and (max-height: 800px) {
    .main-container { height: 98vh; max-height: none; } 
    .left-col { padding: 80px 20px 20px 20px; }
    .right-col { padding: 80px 30px 20px 30px; }
    .visual-container { height: 220px; margin-bottom: 15px; }
    .vinyl-wrapper { width: 200px; height: 200px; }
    .vinyl-img { width: 90px; height: 90px; }
    .track-info-display { margin-bottom: 15px; height: auto; }
    .progress-area { margin-bottom: 15px; }
    .main-btns { gap: 15px; margin-bottom: 15px; }
    .c-btn { width: 40px; height: 40px; font-size: 1rem; }
    .play-btn { width: 60px; height: 60px; font-size: 1.4rem; }
    .header-overlay { height: 60px; }
    .brand-display { font-size: 1.8rem; }
}

@media (max-width: 767px) {
    body { overflow-y: auto; display: block; height: auto; padding: 0; }
    .main-container { width: 100%; height: auto; min-height: 100vh; flex-direction: column; border-radius: 0; border: none; box-shadow: none; }
    .header-overlay { position: relative; height: auto; padding: 15px 15px; background: #111; flex-direction: column; gap: 15px; border-bottom: 1px solid #222; display: flex; }
    .header-center { position: relative; width: 100%; height: 40px; left: auto; top: auto; transform: none; order: 1; display: flex; justify-content: center; align-items: center; pointer-events: none; }
    .brand-display { font-size: 1.8rem; letter-spacing: 2px; }
    .header-right { display: none !important; }
    .mobile-menu-btn { display: flex !important; align-items: center; justify-content: center; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); background: transparent; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; z-index: 60; pointer-events: auto; padding: 10px; height: 50px; width: 50px; margin-top: 2px; }
    .header-left { order: 2; width: 100%; justify-content: space-between; gap: 8px; padding-bottom: 5px; display: flex; }
    .mobile-only { display: flex !important; }
    .icon-btn, .mobile-only { width: 100%; max-width: none; flex: 1; height: 48px; border-radius: 12px; display: flex !important; justify-content: center; background: #1a1a1a; border-color: #2a2a2a; }
    .left-col { width: 100%; max-width: none; border-right: none; padding: 20px; }
    .right-col { display: none; } 
    .right-col.show-mobile { display: flex; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-color); z-index: 200; padding: 20px; padding-top: 80px; animation: fadeIn 0.2s ease-out; }
    .mobile-pl-close { display: flex; justify-content: center; align-items: center; position: absolute; top: 10px; right: 10px; z-index: 201; background: #222; border: 1px solid #333; color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; }
    .tabs-wrapper { display: none; }
    .mobile-search-row { position: absolute; top: 100%; left: 0; width: 100%; padding: 15px 20px; background: #141414; border-bottom: 1px solid #333; box-shadow: 0 10px 30px rgba(0,0,0,0.8); z-index: 100; display: none; }
    .mobile-search-row.active { display: block !important; }
    .mobile-search-input { background: #222; border: 1px solid #444; color: #fff; padding: 14px 15px; border-radius: 12px; font-size: 1rem; transition: 0.3s; width: 100%; }
    .mobile-search-input:focus { border-color: var(--accent-color); background: #000; }
    body.search-mode .left-col { display: none; }
    body.search-mode .right-col { display: block; padding-top: 80px; }
    .visual-container { height: 280px; margin-bottom: 20px; }
    .vinyl-wrapper { width: 240px; height: 240px; }
    .modal-box { width: 90%; padding: 30px 20px; }
    .main-btns { gap: 15px; }
    .c-btn { width: 45px; height: 45px; }
    .play-btn { width: 70px; height: 70px; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }