:root {
  --bg-dark: #0A0A0F;
  --bg-glass: rgba(16, 16, 24, 0.6);
  --bg-glass-hover: rgba(24, 24, 36, 0.8);
  --glass-border: rgba(255, 255, 255, 0.05);
  
  --primary: #7C3AED;
  --secondary: #00D9FF;
  --accent-pink: #FF006E;
  
  --text-main: #F8F8FF;
  --text-muted: #8F8F9F;
  
  --sidebar-w: 240px;
  --player-h: 90px;
  --mobile-nav-h: 70px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Animated Background */
.animated-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  overflow: hidden;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: float 20s infinite alternate ease-in-out;
}
.bg-orb-1 {
  width: 500px; height: 500px;
  background: var(--primary);
  top: -100px; left: -100px;
}
.bg-orb-2 {
  width: 600px; height: 600px;
  background: var(--secondary);
  bottom: -200px; right: -100px;
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(100px, 50px) scale(1.2); }
}

/* Glassmorphism Utilities */
.glass-panel {
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.glass-sidebar {
  background: rgba(16, 16, 24, 0.4);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--glass-border);
}
.glass-search {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.glass-player {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(30px);
  border-top: 1px solid var(--glass-border);
}
.glass-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

/* Text Gradients */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-text-lg {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glow & Hover Effects */
.neon-pulse {
  animation: neon-pulse 2s infinite;
}
@keyframes neon-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(124, 58, 237, 0.5); }
  50% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.8), 0 0 40px rgba(124, 58, 237, 0.4); }
}

.hover-glow {
  transition: all 0.3s ease;
}
.hover-glow:hover {
  text-shadow: 0 0 10px currentColor;
  transform: translateY(-2px);
}

/* Typography */
h1, h2, h3, .logo, .view-title, .track-title, .queue-header-title {
  font-family: 'Space Grotesk', sans-serif;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* APP SHELL */
.app-shell {
  display: flex; height: 100vh; padding-bottom: var(--player-h);
}

/* SIDEBAR */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  display: flex; flex-direction: column; height: 100%;
  position: relative; z-index: 10;
}
.sidebar-logo-wrap { padding: 32px 24px 24px; position: relative; }
.logo { font-weight: 800; font-size: 32px; letter-spacing: -1px; }

.sidebar-nav { flex: 1; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.nav-btn {
  background: transparent; border: none; border-radius: 12px;
  padding: 14px 16px; display: flex; align-items: center; gap: 16px;
  cursor: pointer; color: var(--text-muted);
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
  transition: all 0.3s ease; position: relative;
  overflow: hidden;
}
.nav-btn:hover {
  color: var(--text-main);
  background: var(--bg-glass-hover);
}
.nav-btn.active {
  color: var(--text-main);
  background: rgba(124, 58, 237, 0.15);
}
.nav-btn.active::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}
.nav-btn.active .nav-icon { color: var(--secondary); }

.nav-icon { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; }
.nav-icon svg { width: 100%; height: 100%; fill: currentColor; }

.sidebar-footer { padding: 24px; border-top: 1px solid var(--glass-border); }
.powered-badge {
  display: inline-flex; align-items: center;
  padding: 8px 12px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-muted);
}

/* MAIN CONTENT */
.main-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.content-header { padding: 32px 40px 16px; }
.view-title { font-weight: 700; font-size: 36px; letter-spacing: -1px; }

/* SEARCH */
.search-wrap { padding: 0 40px 24px; }
.search-inner {
  display: flex; align-items: center; padding: 6px 6px 6px 20px;
  border-radius: 40px; max-width: 600px;
  transition: all 0.3s ease;
}
.search-inner:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}
.search-icon-inline { width: 20px; height: 20px; fill: var(--text-muted); margin-right: 12px; }
.search-inner input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text-main); font-family: 'Inter', sans-serif; font-size: 16px;
  min-width: 0; text-overflow: ellipsis;
}
.search-inner input::placeholder { color: var(--text-muted); text-overflow: ellipsis; }
.search-btn {
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.search-btn:hover { transform: scale(1.05); }
.search-btn svg { width: 24px; height: 24px; fill: #fff; flex-shrink: 0; }

.status { padding: 0 40px; font-size: 13px; color: var(--secondary); font-weight: 500; margin-bottom: 12px; min-height: 20px; }

/* EMPTY STATE */
.empty-home { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.empty-home.hidden { display: none; }
.empty-home-icon {
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(124, 58, 237, 0.1); border: 1px solid rgba(124, 58, 237, 0.2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 32px;
  box-shadow: inset 0 0 30px rgba(124, 58, 237, 0.2), 0 0 40px rgba(124, 58, 237, 0.2);
}
.eq-bars { display: flex; gap: 6px; height: 40px; align-items: flex-end; }
.eq-bar {
  width: 6px; background: var(--secondary); border-radius: 3px;
  animation: eq-bounce 1s infinite alternate ease-in-out;
}
.eq-bar:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 100%; background: var(--primary); animation-delay: 0.3s; }
.eq-bar:nth-child(3) { height: 80%; animation-delay: 0.2s; }
.eq-bar:nth-child(4) { height: 40%; background: var(--accent-pink); animation-delay: 0.4s; }

@keyframes eq-bounce {
  0% { transform: scaleY(0.5); }
  100% { transform: scaleY(1); }
}
.empty-home-title { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.empty-home-sub { font-size: 16px; color: var(--text-muted); max-width: 400px; line-height: 1.6; }

/* TRACK LIST */
.main { flex: 1; overflow-y: auto; padding: 0 32px 32px; }
.tracks-table { display: flex; flex-direction: column; gap: 8px; }
.tracks-table-header {
  display: grid; grid-template-columns: 40px 56px 1fr 40px; gap: 16px;
  padding: 0 16px 12px; border-bottom: 1px solid var(--glass-border);
  color: var(--text-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
}
.track {
  display: grid; grid-template-columns: 40px 56px 1fr 40px; gap: 16px; align-items: center;
  padding: 12px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.02); border: 1px solid transparent;
  cursor: pointer; transition: all 0.3s ease;
}
.track:hover {
  background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.track.active {
  background: rgba(124, 58, 237, 0.1); border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
}
.track-num { font-size: 14px; font-weight: 600; color: var(--text-muted); text-align: center; }
.track.active .track-num { color: var(--secondary); text-shadow: 0 0 8px var(--secondary); }
.track-thumb { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.track-info { min-width: 0; }
.track-title { font-size: 15px; font-weight: 600; color: var(--text-main); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track.active .track-title { color: var(--secondary); }
.track-channel { font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* LIKE BUTTON */
.like-btn {
  background: transparent; border: none; cursor: pointer; color: var(--text-muted);
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; opacity: 0;
}
.track:hover .like-btn, .like-btn.liked { opacity: 1; }
.like-btn:hover { color: var(--accent-pink); background: rgba(255, 0, 110, 0.1); transform: scale(1.1); }
.like-btn.liked { color: var(--accent-pink); filter: drop-shadow(0 0 8px rgba(255, 0, 110, 0.5)); }
.like-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* QUEUE / LIKED HEADERS */
.queue-header { display: flex; align-items: center; justify-content: space-between; padding: 0 16px 20px; }
.queue-header-title { font-size: 24px; font-weight: 700; background: linear-gradient(135deg, var(--accent-pink), var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.queue-count { font-size: 13px; font-weight: 500; color: var(--text-muted); background: rgba(255,255,255,0.05); padding: 4px 12px; border-radius: 20px; }

/* EMPTY / LOADING */
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.empty-state .big { font-size: 64px; margin-bottom: 24px; animation: float 6s infinite ease-in-out; }
.empty-state p { font-size: 16px; font-weight: 500; }

.loading-dots { display: inline-flex; gap: 4px; align-items: center; }
.loading-dots span { width: 6px; height: 6px; background: var(--secondary); border-radius: 50%; animation: blink 1.4s infinite; }
.loading-dots span:nth-child(2) { animation-delay: .2s; }
.loading-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: 0.2; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 8px var(--secondary); } }

/* BOTTOM MINI PLAYER */
.mini-player { position: fixed; bottom: 0; left: 0; right: 0; height: var(--player-h); z-index: 200; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.mini-player.visible { transform: translateY(0); }
.mini-progress-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: rgba(255, 255, 255, 0.05); }
.gradient-progress { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent-pink)); background-size: 200% 100%; animation: gradient-shift 3s ease infinite; transition: width 0.3s linear; width: 0%; box-shadow: 0 0 10px var(--primary); }
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.mini-inner { display: flex; align-items: center; height: 100%; padding: 0 32px; gap: 24px; }
.mini-track-info { flex: 1; display: flex; align-items: center; gap: 16px; min-width: 0; }
.mini-thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; box-shadow: 0 8px 16px rgba(0,0,0,0.3); }
.mini-title { font-size: 16px; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 0 10px rgba(255,255,255,0.2); }
.mini-channel { font-size: 13px; color: var(--text-muted); }

.mini-controls { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.mini-btn { background: transparent; border: none; cursor: pointer; color: var(--text-main); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mini-btn svg { width: 20px; height: 20px; fill: currentColor; }
.mini-btn:hover { background: rgba(255,255,255,0.1); }
.mini-btn.pp { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.mini-btn.pp svg { width: 24px; height: 24px; }
.mini-btn.pp:hover { transform: scale(1.1); }

.mini-right { flex: 1; display: flex; justify-content: flex-end; }
.mini-expand-btn { background: transparent; border: none; cursor: pointer; color: var(--text-muted); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mini-expand-btn svg { width: 24px; height: 24px; fill: currentColor; }
.mini-expand-btn:hover { color: var(--text-main); background: rgba(255,255,255,0.1); }

/* FULL SCREEN PLAYER */
.full-player { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; transform: translateY(100%); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); overflow: hidden; }
.full-player.open { transform: translateY(0); }
.fp-bg { position: absolute; inset: 0; background: var(--bg-dark); z-index: 0; }
.fp-bg-art { position: absolute; inset: -50px; background-size: cover; background-position: center; filter: blur(80px) brightness(0.3) saturate(1.5); z-index: 1; transition: background-image 0.5s; }
.fp-bg-overlay { position: absolute; inset: 0; z-index: 2; background: rgba(10, 10, 15, 0.6); }

.fp-inner { position: relative; z-index: 10; display: flex; flex-direction: column; height: 100%; padding: 0 32px 40px; overflow-y: auto; max-width: 800px; margin: 0 auto; width: 100%; }
.fp-handle { width: 48px; height: 6px; background: rgba(255,255,255,0.2); border-radius: 6px; margin: 16px auto; cursor: pointer; transition: background 0.3s; }
.fp-handle:hover { background: rgba(255,255,255,0.5); }

.fp-topbar { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.fp-down { background: transparent; border: none; cursor: pointer; color: var(--text-muted); padding: 8px; }
.fp-down svg { width: 28px; height: 28px; fill: currentColor; }
.fp-label { font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }

.fp-art-wrap { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; padding: min(20px, 2vh) 0; }
.fp-art { height: 100%; max-height: 400px; aspect-ratio: 1 / 1; border-radius: 24px; object-fit: cover; box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(124, 58, 237, 0.2); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); border: 1px solid rgba(255,255,255,0.05); }
.fp-art.playing { transform: scale(1.02); box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(124, 58, 237, 0.4); }

.fp-info-row { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 32px; gap: 20px; }
.fp-info { flex: 1; min-width: 0; }
.fp-title { font-size: 28px; font-weight: 700; margin-bottom: 8px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.fp-channel { font-size: 16px; color: var(--text-muted); }
.fp-like-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); cursor: pointer; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.3s ease; backdrop-filter: blur(10px); }
.fp-like-btn:hover { background: rgba(255, 0, 110, 0.1); border-color: var(--accent-pink); color: var(--accent-pink); transform: scale(1.1); box-shadow: 0 0 20px rgba(255, 0, 110, 0.3); }
.fp-like-btn.liked { color: var(--accent-pink); filter: drop-shadow(0 0 10px rgba(255, 0, 110, 0.5)); border-color: rgba(255, 0, 110, 0.3); }
.fp-like-btn svg { width: 28px; height: 28px; fill: currentColor; }

.fp-progress-wrap { margin-bottom: 32px; }
.fp-bar { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 6px; cursor: pointer; position: relative; margin-bottom: 12px; transition: height 0.2s; overflow: visible; }
.fp-bar:hover { height: 8px; }
.fp-fill { height: 100%; border-radius: 6px; width: 0%; position: relative; }
.fp-fill::after { content: ''; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; background: #fff; border-radius: 50%; box-shadow: 0 0 10px var(--secondary); opacity: 0; transition: opacity 0.2s, transform 0.2s; }
.fp-bar:hover .fp-fill::after { opacity: 1; transform: translateY(-50%) scale(1.2); }
.fp-times { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); font-weight: 500; }

.fp-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 40px; }
.fp-btn { background: transparent; border: none; cursor: pointer; color: var(--text-main); width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; flex-shrink: 0; }
.fp-btn:hover { background: rgba(255,255,255,0.1); transform: scale(1.1); }
.fp-btn svg { width: 28px; height: 28px; fill: currentColor; }
.fp-btn.big { background: linear-gradient(135deg, var(--primary), var(--secondary)); width: 80px; height: 80px; box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4); }
.fp-btn.big svg { width: 36px; height: 36px; fill: #fff; }
.fp-btn.big:hover { transform: scale(1.05); box-shadow: 0 15px 40px rgba(124, 58, 237, 0.6); }
.fp-btn.mode-active { color: var(--secondary); filter: drop-shadow(0 0 8px var(--secondary)); }

.fp-volume-row { display: flex; align-items: center; gap: 16px; max-width: 400px; margin: 0 auto; width: 100%; }
.fp-vol-icon { background: transparent; border: none; cursor: pointer; color: var(--text-muted); padding: 8px; transition: color 0.3s; }
.fp-vol-icon:hover { color: var(--text-main); }
.fp-vol-icon svg { width: 24px; height: 24px; fill: currentColor; }
.volume-slider { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 6px; background: rgba(255,255,255,0.1); outline: none; cursor: pointer; background-image: linear-gradient(90deg, var(--primary), var(--secondary)); background-repeat: no-repeat; transition: height 0.2s; }
.volume-slider:hover { height: 8px; }
.volume-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.5); transition: transform 0.2s; }
.volume-slider::-webkit-slider-thumb:hover { transform: scale(1.3); }
.vol-label { font-size: 13px; color: var(--text-muted); width: 36px; text-align: right; font-weight: 500; }

/* TAP OVERLAY */
.tap-overlay { display: none; position: fixed; inset: 0; z-index: 400; align-items: center; justify-content: center; flex-direction: column; gap: 20px; }
.tap-overlay.show { display: flex; }
.tap-art { width: 120px; height: 120px; border-radius: 20px; object-fit: cover; box-shadow: 0 20px 40px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); }
.tap-title { font-size: 24px; text-align: center; padding: 0 40px; }
.tap-ch { font-size: 16px; color: var(--text-muted); }
.tap-btn { background: linear-gradient(135deg, var(--primary), var(--secondary)); border: none; border-radius: 40px; padding: 16px 48px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; color: #fff; cursor: pointer; box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4); transition: transform 0.2s; }
.tap-btn:hover { transform: scale(1.05); }
.tap-cancel { font-size: 14px; color: var(--text-muted); cursor: pointer; padding: 8px; }

/* TOAST */
.toast { position: fixed; bottom: calc(var(--player-h) + 24px); left: 50%; transform: translateX(-50%) translateY(20px); background: rgba(10, 10, 15, 0.9); backdrop-filter: blur(20px); border: 1px solid var(--primary); border-radius: 12px; padding: 12px 24px; font-size: 14px; font-weight: 500; color: #fff; z-index: 500; opacity: 0; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(124, 58, 237, 0.2); pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

#yt-container { position: fixed; top: -9999px; left: -9999px; width: 1px; height: 1px; }

/* MOBILE RESPONSIVE */
.mobile-nav { display: none; }
.mobile-header { display: none; }

@media(max-width:768px) {
  :root { --player-h: 80px; --mobile-nav-h: 64px; }
  .app-shell { padding-bottom: calc(var(--player-h) + var(--mobile-nav-h)); }
  .sidebar { display: none; }
  
  .mobile-header { display: flex; align-items: center; justify-content: center; padding: 16px; border-bottom: 1px solid var(--glass-border); z-index: 10; position: relative; }
  .mobile-header .logo { font-size: 28px; }
  
  .content-header { padding: 20px 20px 12px; }
  .view-title { font-size: 28px; }
  
  .search-wrap { padding: 0 20px 20px; }
  .search-inner { padding: 4px 4px 4px 16px; }
  
  .status { padding: 0 20px; }
  .empty-home { padding: 20px; }
  .empty-home-title { font-size: 24px; }
  
  .main { padding: 0 12px 20px; }
  .tracks-table-header { display: none; }
  .track { grid-template-columns: 48px 1fr 32px; gap: 12px; padding: 10px 12px; border-radius: 12px; }
  .track-num { display: none; }
  
  .mini-inner { padding: 0 16px; gap: 12px; }
  .mini-player.visible { transform: translateY(calc(-1 * var(--mobile-nav-h))); }
  .mini-right { display: none; }
  .mini-track-info { gap: 12px; }
  .mini-thumb { width: 44px; height: 44px; }
  
  .mini-controls { gap: 8px; }
  .mini-btn { width: 36px; height: 36px; }
  .mini-btn svg { width: 18px; height: 18px; }
  .mini-btn.pp { width: 44px; height: 44px; }
  .mini-btn.pp svg { width: 22px; height: 22px; }
  
  .fp-inner { padding: 0 20px 30px; }
  .fp-art-wrap { min-height: 250px; padding: 20px 0; }
  .fp-title { font-size: 22px; }
  .fp-controls { gap: clamp(8px, 3vw, 16px); justify-content: center; margin-bottom: 30px; }
  .fp-btn { width: 44px; height: 44px; }
  .fp-btn.big { width: 60px; height: 60px; }
  .fp-btn.big svg { width: 28px; height: 28px; }
  
  .mobile-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0;
    height: var(--mobile-nav-h); z-index: 150; align-items: stretch;
    background: rgba(10, 10, 15, 0.85); backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
  }
  .mobile-nav-btn {
    flex: 1; background: transparent; border: none; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; color: var(--text-muted); font-size: 11px; font-weight: 500; font-family: 'Inter', sans-serif;
    transition: all 0.3s;
  }
  .mobile-nav-btn.active { color: var(--primary); text-shadow: 0 0 10px rgba(124, 58, 237, 0.5); }
  .mobile-nav-btn svg { width: 24px; height: 24px; fill: currentColor; }
}