/* ═══════════════════════════════════════════════════════
   TgMusicBot WebApp v2 — Premium Müzik Oynatıcı
   Akıcı geçişler, glassmorphism, sürükle-bırak
   ═══════════════════════════════════════════════════════ */

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

html, body {
  height:100%; overflow:hidden;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  -webkit-tap-highlight-color:transparent;
  user-select:none; -webkit-user-select:none;
}

/* ===== TEMA DEĞİŞKENLERİ ===== */
:root, [data-theme="spotify-dark"] {
  --bg-0:#0a0a0a; --bg-1:#121212; --bg-2:#181818; --bg-3:#242424; --bg-4:#2a2a2a;
  --glass:rgba(18,18,18,.88); --glass-border:rgba(255,255,255,.06);
  --text-1:#fff; --text-2:#b3b3b3; --text-3:#6a6a6a;
  --accent:#1db954; --accent-h:#1ed760; --accent-glow:rgba(29,185,84,.3);
  --accent-soft:rgba(29,185,84,.1);
  --danger:#e74c3c;
  --shadow:0 8px 32px rgba(0,0,0,.6);
  --r:12px; --r-sm:8px; --r-lg:20px; --r-full:9999px;
}
[data-theme="dark"] {
  --bg-0:#08080a; --bg-1:#0d0d0f; --bg-2:#18181b; --bg-3:#1f1f23; --bg-4:#27272a;
  --glass:rgba(13,13,15,.88);
  --accent:#818cf8; --accent-h:#a5b4fc; --accent-glow:rgba(129,140,248,.3);
  --accent-soft:rgba(129,140,248,.1);
}
[data-theme="pink-dark"] {
  --bg-0:#140a11; --bg-1:#1a0f17; --bg-2:#251520; --bg-3:#33192f; --bg-4:#3d1e38;
  --glass:rgba(26,15,23,.88);
  --text-1:#ffe4f2; --text-2:#c9a0b5;
  --accent:#ff69b4; --accent-h:#ff85c1; --accent-glow:rgba(255,105,180,.3);
  --accent-soft:rgba(255,105,180,.1);
}
[data-theme="hologram"] {
  --bg-0:#060610; --bg-1:#0a0a14; --bg-2:#12121f; --bg-3:#1a1a2e; --bg-4:#20203a;
  --glass:rgba(10,10,20,.88); --glass-border:rgba(0,229,255,.1);
  --text-2:#8888aa;
  --accent:#00e5ff; --accent-h:#40efff; --accent-glow:rgba(0,229,255,.3);
  --accent-soft:rgba(0,229,255,.1);
}
[data-theme="youtube-dark"] {
  --bg-0:#0a0a0a; --bg-1:#0f0f0f; --bg-2:#1a1a1a; --bg-3:#212121; --bg-4:#2a2a2a;
  --glass:rgba(15,15,15,.88);
  --accent:#ff4444; --accent-h:#ff6666; --accent-glow:rgba(255,68,68,.3);
  --accent-soft:rgba(255,68,68,.1);
}

/* ===== APP LAYOUT ===== */
.app {
  height:100vh; height:100dvh;
  display:flex; flex-direction:column;
  background:var(--bg-0); color:var(--text-1);
  transition:background .4s cubic-bezier(.4,0,.2,1), color .3s ease;
}
.main-app {
  display:flex; flex-direction:column; height:100%;
  opacity:0; animation:appReveal .6s cubic-bezier(.4,0,.2,1) forwards;
}

/* ===== YÜKLEME EKRANI ===== */
.loading-screen {
  height:100vh; height:100dvh;
  display:flex; align-items:center; justify-content:center;
  background:var(--bg-0);
}
.loading-content { text-align:center; }

.loading-rings {
  position:relative; width:120px; height:120px; margin:0 auto 24px;
}
.ring {
  position:absolute; inset:0; border-radius:50%;
  border:2px solid transparent;
}
.ring-1 {
  border-top-color:var(--accent); animation:ringRotate 1.2s linear infinite;
}
.ring-2 {
  inset:10px; border-right-color:var(--accent);
  opacity:.6; animation:ringRotate 1.8s linear infinite reverse;
}
.ring-3 {
  inset:20px; border-bottom-color:var(--accent);
  opacity:.3; animation:ringRotate 2.4s linear infinite;
}
.loading-icon {
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  color:var(--accent);
}
.loading-text {
  color:var(--text-2); font-size:14px; font-weight:500;
  letter-spacing:.5px;
}
.dots::after {
  content:''; animation:loadDots 1.5s steps(4,end) infinite;
}

/* ===== BAŞLIK ===== */
.app-header {
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 16px;
  padding-top:calc(env(safe-area-inset-top,8px) + 6px);
  background:var(--glass);
  backdrop-filter:blur(30px); -webkit-backdrop-filter:blur(30px);
  border-bottom:1px solid var(--glass-border);
  flex-shrink:0; z-index:50;
}
.header-left { display:flex; align-items:center; gap:12px; }

.header-logo {
  position:relative; width:36px; height:36px;
  display:flex; align-items:center; justify-content:center;
}
.logo-pulse {
  position:absolute; inset:-4px; border-radius:50%;
  background:var(--accent-glow);
  animation:logoPulse 3s ease-in-out infinite;
}
.logo-icon { position:relative; z-index:1; display:flex; align-items:center; justify-content:center; color:var(--accent); }

.header-info { display:flex; flex-direction:column; }
.app-header h1 { font-size:16px; font-weight:800; letter-spacing:-.3px; }
.header-subtitle { font-size:10px; color:var(--text-3); font-weight:600; text-transform:uppercase; letter-spacing:.5px; display:inline-flex; align-items:center; gap:4px; }

.header-right { display:flex; gap:8px; }
.icon-btn {
  width:36px; height:36px; border:none;
  background:rgba(255,255,255,.06); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--text-2); cursor:pointer;
  transition:all .2s ease;
}
.icon-btn:active { transform:scale(.88); background:rgba(255,255,255,.12); }

/* ===== İÇERİK & PANELLER (yatay kaydırma) ===== */
.app-content {
  flex:1; overflow:hidden; position:relative;
}
.panels-viewport {
  width:100%; height:100%; overflow:hidden;
}
.panels-track {
  display:flex; height:100%;
  transition:transform .4s cubic-bezier(.4,0,.2,1);
  will-change:transform;
}
.panel {
  flex:0 0 100%; width:100%; height:100%;
  overflow:hidden;
}
.panel-scroll {
  height:100%; overflow-y:auto; overflow-x:hidden;
  padding:20px 16px 40px;
  -webkit-overflow-scrolling:touch;
}

/* ===== ALT SEKME ÇUBUĞU ===== */
.tab-bar {
  display:flex;
  background:var(--glass);
  backdrop-filter:blur(30px); -webkit-backdrop-filter:blur(30px);
  border-top:1px solid var(--glass-border);
  flex-shrink:0; z-index:50;
  padding-bottom:env(safe-area-inset-bottom,0);
}
.tab-btn {
  flex:1; display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  gap:2px; padding:8px 0 6px;
  border:none; background:none;
  color:var(--text-3); font-size:10px; font-weight:600;
  font-family:inherit; cursor:pointer;
  transition:color .25s ease; position:relative;
}
.tab-btn .tab-icon { width:22px; height:22px; transition:transform .25s cubic-bezier(.4,0,.2,1); }
.tab-btn .tab-icon svg { width:100%; height:100%; }

.tab-btn.active { color:var(--accent); }
.tab-btn.active .tab-icon { transform:scale(1.15); }

.tab-btn:active .tab-icon { transform:scale(.85); }

.tab-badge {
  position:absolute; top:4px; right:calc(50% - 20px);
  font-size:9px; font-weight:700;
  background:var(--accent); color:#000;
  padding:1px 5px; border-radius:var(--r-full);
  min-width:16px; text-align:center;
}

/* ===== BOŞ DURUM ===== */
.empty-state {
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  padding:60px 24px; text-align:center;
  animation:fadeUp .4s ease;
}
.empty-state.compact { padding:40px 24px; }
.empty-state h3 { font-size:17px; font-weight:700; margin-top:20px; }
.empty-state p { font-size:13px; color:var(--text-3); margin-top:6px; }
.empty-state code {
  background:var(--accent-soft); color:var(--accent);
  padding:2px 8px; border-radius:4px; font-size:12px; font-weight:600;
}

/* Ekolayzer animasyonu (boş durum) */
.eq-bars {
  display:flex; align-items:flex-end; gap:4px; height:48px;
  padding:8px; background:var(--bg-3); border-radius:var(--r);
}
.eq-bar {
  width:6px; border-radius:3px; background:var(--accent);
  animation:eqIdle 1.8s ease-in-out infinite;
}
.eq-bar:nth-child(1) { height:16px; animation-delay:0s; }
.eq-bar:nth-child(2) { height:28px; animation-delay:.15s; }
.eq-bar:nth-child(3) { height:20px; animation-delay:.3s; }
.eq-bar:nth-child(4) { height:36px; animation-delay:.45s; }
.eq-bar:nth-child(5) { height:12px; animation-delay:.6s; }

/* ===== ŞU AN ÇALIYOR ===== */
.np-content {
  display:flex; flex-direction:column; align-items:center;
}

/* Albüm */
.album-section {
  position:relative; width:min(280px, 70vw); aspect-ratio:1;
  margin-bottom:24px;
}
.album-glow {
  position:absolute; inset:-50%;
  background:radial-gradient(circle,var(--accent) 0%,transparent 65%);
  opacity:0; transition:opacity .6s ease;
  pointer-events:none; filter:blur(40px);
}
.album-section.playing .album-glow {
  opacity:.15; animation:glowBreath 4s ease-in-out infinite;
}
.album-art {
  width:100%; height:100%;
  border-radius:var(--r-lg); overflow:hidden;
  background:var(--bg-3); box-shadow:var(--shadow);
  position:relative; z-index:1;
  transition:transform .5s cubic-bezier(.4,0,.2,1), box-shadow .5s ease;
}
.album-section.playing .album-art {
  box-shadow:0 12px 48px rgba(0,0,0,.6), 0 0 0 1px var(--glass-border);
}
.album-art img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.album-art:active img { transform:scale(1.03); }

.album-placeholder {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 50%,#7c3aed));
}
.album-placeholder svg { width:64px; height:64px; color:rgba(255,255,255,.85); }

/* Şarkı Bilgisi */
.track-info {
  text-align:center; width:100%; max-width:300px;
  margin-bottom:20px;
}
.track-title {
  font-size:20px; font-weight:800; letter-spacing:-.3px;
  line-height:1.3;
  display:-webkit-box; -webkit-line-clamp:2; line-clamp:2;
  -webkit-box-orient:vertical; overflow:hidden;
  transition:opacity .3s ease;
}
.track-artist {
  font-size:13px; color:var(--text-2); margin-top:4px; font-weight:500;
}
.platform-pill {
  display:inline-flex; align-items:center; gap:4px;
  font-size:9px; font-weight:700;
  text-transform:uppercase; letter-spacing:1px;
  color:var(--accent); background:var(--accent-soft);
  padding:3px 10px; border-radius:var(--r-full); margin-top:8px;
}
.platform-pill svg { flex-shrink:0; }

/* İlerleme */
.progress-section {
  width:100%; max-width:320px; margin-bottom:24px;
}
.progress-bar {
  height:4px; background:rgba(255,255,255,.08);
  border-radius:2px; cursor:pointer;
  position:relative; overflow:visible;
  transition:height .15s ease;
}
.progress-bar:hover, .progress-bar:active { height:6px; }
.progress-fill {
  height:100%; background:var(--accent);
  border-radius:2px; transition:width .2s linear;
  position:relative;
}
.progress-fill::after {
  content:''; position:absolute; right:0; top:50%;
  transform:translateY(-50%); width:0; height:0;
  background:var(--text-1); border-radius:50%;
  box-shadow:0 0 6px rgba(0,0,0,.4);
  transition:width .15s ease, height .15s ease;
}
.progress-bar:hover .progress-fill::after,
.progress-bar:active .progress-fill::after {
  width:14px; height:14px;
}
.progress-thumb { display:none; }
.progress-times {
  display:flex; justify-content:space-between;
  margin-top:8px; font-size:10px; color:var(--text-3);
  font-weight:600; font-variant-numeric:tabular-nums;
}

/* Kontroller */
.controls-row {
  display:flex; align-items:center; justify-content:center;
  gap:24px; margin-bottom:20px;
}
.ctrl-btn {
  border:none; background:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  color:var(--text-1); transition:transform .15s cubic-bezier(.4,0,.2,1), opacity .15s ease;
  width:48px; height:48px;
}
.ctrl-btn svg { width:26px; height:26px; }
.ctrl-btn:active { transform:scale(.82); }
.ctrl-btn:hover { opacity:.8; }

.ctrl-main {
  width:64px; height:64px;
  background:var(--accent); border-radius:50%; color:#000;
  box-shadow:0 4px 20px var(--accent-glow);
  transition:transform .2s cubic-bezier(.4,0,.2,1),
             box-shadow .3s ease, background .2s ease;
}
.ctrl-main:hover {
  background:var(--accent-h);
  box-shadow:0 6px 32px var(--accent-glow);
  transform:scale(1.06);
}
.ctrl-main:active { transform:scale(.9); }
.ctrl-main.playing {
  animation:playPulse 2.5s ease-in-out infinite;
}
.ctrl-main svg { width:28px; height:28px; }

/* Ses Seviyesi */
.volume-row {
  display:flex; align-items:center; gap:10px;
  width:100%; max-width:260px;
  padding:10px 14px; background:rgba(255,255,255,.04);
  border-radius:var(--r); border:1px solid var(--glass-border);
}
.vol-btn {
  width:24px; height:24px; border:none; background:none;
  color:var(--text-2); cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; transition:all .15s ease;
}
.vol-btn svg { width:18px; height:18px; }
.vol-btn:active { transform:scale(.85); }

.vol-track {
  flex:1; height:4px;
  background:rgba(255,255,255,.08);
  border-radius:2px; cursor:pointer;
  position:relative; overflow:visible;
}
.vol-fill {
  height:100%; background:var(--accent);
  border-radius:2px; transition:width .05s linear;
}
.vol-thumb {
  position:absolute; top:50%; transform:translateY(-50%);
  width:12px; height:12px; background:var(--text-1);
  border-radius:50%; box-shadow:0 1px 4px rgba(0,0,0,.4);
  opacity:0; transition:opacity .15s ease;
}
.vol-track:hover .vol-thumb { opacity:1; }
.vol-pct {
  font-size:10px; font-weight:700; color:var(--text-3);
  min-width:30px; text-align:right; font-variant-numeric:tabular-nums;
}

/* İsteyen Kişi */
.requested-by {
  margin-top:14px; font-size:11px;
  color:var(--text-3); font-weight:500;
  display:inline-flex; align-items:center; gap:4px;
}

/* ===== KUYRUK PANELİ ===== */
.panel-head {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:14px;
}
.panel-head h2 { font-size:17px; font-weight:700; display:flex; align-items:center; gap:8px; }
.panel-head h2 svg { flex-shrink:0; color:var(--accent); }
.pill-count {
  font-size:10px; font-weight:700;
  background:var(--accent-soft); color:var(--accent);
  padding:3px 10px; border-radius:var(--r-full);
}

.queue-info-bar {
  display:flex; align-items:center; gap:8px;
  padding:8px 12px; margin-bottom:12px;
  background:var(--accent-soft); border-radius:var(--r-sm);
  font-size:11px; color:var(--accent); font-weight:500;
}

.queue-list { display:flex; flex-direction:column; gap:2px; }

/* Kuyruk kartları */
.q-card {
  display:flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:var(--r-sm);
  background:transparent;
  transition:background .2s ease, transform .2s cubic-bezier(.4,0,.2,1),
             box-shadow .2s ease, opacity .2s ease;
  cursor:grab; position:relative;
}
.q-card:hover { background:rgba(255,255,255,.04); }
.q-card:active { cursor:grabbing; }

/* Sürükleme tutamağı */
.q-drag {
  display:flex; flex-direction:column; gap:2px;
  opacity:.3; flex-shrink:0; padding:4px 2px;
  cursor:grab; touch-action:none;
}
.q-drag span {
  display:block; width:14px; height:2px;
  background:var(--text-2); border-radius:1px;
}

.q-num {
  font-size:12px; font-weight:700; color:var(--text-3);
  min-width:18px; text-align:center;
}
.q-thumb {
  width:42px; height:42px;
  border-radius:var(--r-sm); overflow:hidden;
  background:var(--bg-3); flex-shrink:0;
}
.q-thumb img { width:100%; height:100%; object-fit:cover; }
.q-thumb-ph {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  background:var(--bg-4); color:var(--text-3);
}
.q-info { flex:1; min-width:0; }
.q-title {
  font-size:13px; font-weight:600; color:var(--text-1);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.q-meta { font-size:11px; color:var(--text-3); margin-top:1px; }
.q-dur {
  font-size:11px; color:var(--text-3); font-weight:600;
  font-variant-numeric:tabular-nums; flex-shrink:0;
}

/* Sürükleme durumu */
.q-card.dragging {
  opacity:.4; transform:scale(.95);
  background:var(--accent-soft);
}
.q-card.drag-over {
  border-top:2px solid var(--accent);
  padding-top:8px;
}
.q-card.drag-below {
  border-bottom:2px solid var(--accent);
  padding-bottom:8px;
}

/* ===== SOHBET LİSTESİ ===== */
.chats-list { display:flex; flex-direction:column; gap:10px; }

.chat-card-wrapper {
  border-radius:var(--r);
  background:var(--bg-3);
  border:1px solid transparent;
  transition:all .3s cubic-bezier(.4,0,.2,1);
  overflow:hidden;
}
.chat-card-wrapper:hover {
  background:var(--bg-4); border-color:var(--glass-border);
}
.chat-card-wrapper.selected {
  border-color:var(--accent);
  background:var(--accent-soft);
}
.chat-card-wrapper.expanded {
  border-color:var(--accent);
  background:var(--bg-2);
  box-shadow:0 4px 20px rgba(0,0,0,.3);
}

.chat-card-header {
  display:flex; align-items:center; gap:14px;
  padding:14px 16px;
  cursor:pointer;
  transition:background .2s ease;
}
.chat-card-header:active { opacity:.8; }

.chat-card-icon {
  width:44px; height:44px; border-radius:50%;
  background:var(--accent-soft);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; color:var(--accent);
}
.chat-card-info { flex:1; min-width:0; }
.chat-card-name { font-size:14px; font-weight:700; }
.chat-card-track {
  font-size:11px; color:var(--text-2);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:2px;
}
.chat-card-right {
  display:flex; flex-direction:column; align-items:flex-end; gap:6px; flex-shrink:0;
}
.chat-card-badge {
  font-size:10px; font-weight:700;
  background:var(--accent-soft); color:var(--accent);
  padding:3px 8px; border-radius:var(--r-full);
}
.chat-card-chevron {
  width:18px; height:18px; color:var(--text-3);
  transition:transform .3s cubic-bezier(.4,0,.2,1);
}
.chat-card-wrapper.expanded .chat-card-chevron {
  transform:rotate(180deg); color:var(--accent);
}

/* Detay Alanı */
.chat-card-detail {
  max-height:0; overflow:hidden;
  transition:max-height .35s cubic-bezier(.4,0,.2,1), padding .35s ease;
  padding:0 16px;
}
.chat-card-wrapper.expanded .chat-card-detail {
  max-height:600px;
  padding:0 16px 16px;
}

.chat-detail-actions {
  display:flex; gap:8px; margin-bottom:12px;
}
.chat-detail-btn {
  flex:1; display:inline-flex; align-items:center; justify-content:center; gap:6px;
  padding:10px 14px; border:none; border-radius:var(--r-sm);
  font-size:12px; font-weight:700; cursor:pointer;
  transition:all .2s ease; font-family:inherit;
}
.chat-detail-btn:active { transform:scale(.96); }
.chat-detail-btn.primary {
  background:var(--accent); color:#fff;
}
.chat-detail-btn.primary:hover { background:var(--accent-h); }
.chat-detail-btn.secondary {
  background:var(--bg-4); color:var(--text-1);
  border:1px solid var(--glass-border);
}
.chat-detail-btn.secondary:hover { background:var(--bg-3); }

/* Kuyruğun mini önizlemesi */
.chat-detail-label {
  font-size:11px; font-weight:600; color:var(--text-3);
  text-transform:uppercase; letter-spacing:.5px;
  margin-bottom:8px; display:flex; align-items:center; gap:6px;
}

.chat-mini-queue { display:flex; flex-direction:column; gap:6px; }
.chat-mini-track {
  display:flex; align-items:center; gap:10px;
  padding:8px 12px;
  background:var(--bg-3); border-radius:var(--r-sm);
  font-size:12px;
}
.chat-mini-num {
  width:18px; text-align:center; font-weight:700;
  color:var(--text-3); font-size:11px; flex-shrink:0;
}
.chat-mini-thumb {
  width:36px; height:36px; border-radius:6px; overflow:hidden;
  background:var(--bg-4); flex-shrink:0;
}
.chat-mini-thumb img { width:100%; height:100%; object-fit:cover; }
.chat-mini-thumb-ph {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  color:var(--text-3);
}
.chat-mini-info { flex:1; min-width:0; }
.chat-mini-title {
  font-weight:600; color:var(--text-1);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.chat-mini-artist {
  font-size:10px; color:var(--text-3); margin-top:1px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.chat-mini-dur { font-size:10px; color:var(--text-3); font-weight:600; flex-shrink:0; }

/* Şarkı çalınıyor animasyonu */
.chat-np-indicator {
  display:flex; align-items:center; gap:8px;
  padding:10px 12px; margin-bottom:10px;
  background:linear-gradient(135deg, var(--accent-soft), transparent);
  border-radius:var(--r-sm); border-left:3px solid var(--accent);
}
.chat-np-mini-bars { display:flex; align-items:flex-end; gap:2px; height:14px; }
.chat-np-mini-bars span {
  width:3px; background:var(--accent); border-radius:1px;
  animation:eqBar .8s ease-in-out infinite alternate;
}
.chat-np-mini-bars span:nth-child(1) { height:6px; animation-delay:.1s; }
.chat-np-mini-bars span:nth-child(2) { height:10px; animation-delay:.2s; }
.chat-np-mini-bars span:nth-child(3) { height:4px; animation-delay:.3s; }
.chat-np-mini-bars span:nth-child(4) { height:12px; animation-delay:.15s; }
.chat-np-text { font-size:12px; font-weight:600; color:var(--accent); flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ===== TOAST ===== */
.toast-container {
  position:fixed; bottom:80px; left:50%; transform:translateX(-50%);
  z-index:999; display:flex; flex-direction:column; align-items:center; gap:8px;
  pointer-events:none;
}
.toast {
  padding:10px 20px;
  background:var(--bg-4); color:var(--text-1);
  border-radius:var(--r-full);
  font-size:12px; font-weight:600;
  box-shadow:0 4px 24px rgba(0,0,0,.5);
  border:1px solid var(--glass-border);
  animation:toastIn .35s cubic-bezier(.4,0,.2,1) forwards;
  pointer-events:auto;
  display:inline-flex; align-items:center; gap:5px;
}
.toast svg { flex-shrink:0; }
.toast.out { animation:toastOut .3s cubic-bezier(.4,0,.2,1) forwards; }
.toast.success { border-color:var(--accent); color:var(--accent); }
.toast.warn { border-color:#f59e0b; color:#f59e0b; }

/* ===== KAYDIRMA ÇUBUĞU ===== */
::-webkit-scrollbar { width:3px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:var(--glass-border); border-radius:2px; }

/* ===== ANİMASYONLAR ===== */
@keyframes appReveal {
  from { opacity:0; transform:translateY(12px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(16px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes ringRotate {
  to { transform:rotate(360deg); }
}
@keyframes loadDots {
  0% { content:''; } 25% { content:'.'; } 50% { content:'..'; } 75% { content:'...'; }
}
@keyframes logoPulse {
  0%,100% { opacity:.3; transform:scale(1); }
  50% { opacity:.6; transform:scale(1.2); }
}
@keyframes glowBreath {
  0%,100% { opacity:.1; }
  50% { opacity:.2; }
}
@keyframes playPulse {
  0%,100% { box-shadow:0 4px 20px var(--accent-glow); }
  50% { box-shadow:0 8px 40px var(--accent-glow); }
}
@keyframes eqIdle {
  0%,100% { transform:scaleY(.4); opacity:.5; }
  50% { transform:scaleY(1); opacity:1; }
}
@keyframes eqBar {
  0% { height:4px; }
  50% { height:14px; }
  100% { height:4px; }
}
@keyframes toastIn {
  from { opacity:0; transform:translateY(16px) scale(.9); }
  to { opacity:1; transform:translateY(0) scale(1); }
}
@keyframes toastOut {
  from { opacity:1; transform:translateY(0) scale(1); }
  to { opacity:0; transform:translateY(-12px) scale(.9); }
}
@keyframes cardEnter {
  from { opacity:0; transform:translateX(-8px); }
  to { opacity:1; transform:translateX(0); }
}

/* ===== HOLOGRAM ÖZEL ===== */
[data-theme="hologram"] .app-header,
[data-theme="hologram"] .tab-bar {
  border-color:rgba(0,229,255,.15);
}
[data-theme="hologram"] .ctrl-main {
  background:linear-gradient(135deg,#00e5ff,#d500f9); color:#fff;
}
[data-theme="hologram"] .progress-fill,
[data-theme="hologram"] .vol-fill {
  background:linear-gradient(90deg,#00e5ff,#d500f9);
}
[data-theme="hologram"] .album-art {
  border:1px solid rgba(0,229,255,.15);
}

/* ===== DUYARLI TASARIM ===== */
@media (min-width:600px) {
  .panel-scroll { max-width:480px; margin:0 auto; }
  .album-section { width:300px; }
}
@media (max-height:600px) {
  .album-section { width:min(180px,50vw); margin-bottom:12px; }
  .np-content { padding-top:0; }
  .controls-row { gap:16px; margin-bottom:12px; }
  .ctrl-main { width:52px; height:52px; }
}
