/* ==========================================================================
   Gece stüdyosu — tasarım sistemi
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Roboto:wght@500&display=swap');

:root {
  /* renk */
  --ink:         #0f0d11;
  --ink-2:       #131017;
  --surface:     #17141a;
  --surface-2:   #1f1b24;
  --surface-3:   #272231;
  --line:        rgba(242, 237, 232, .08);
  --line-strong: rgba(242, 237, 232, .18);
  --text:        #f2ede8;
  --muted:       #a39a95;
  --muted-dim:   #776f6c;
  --accent:      #39ff14;
  --accent-hi:   #a8ff8f;
  --accent-dim:  rgba(57, 255, 20, .12);
  --accent-glow: rgba(57, 255, 20, .55);
  --accent-ink:  #031a06;                 /* neon zemin üstündeki yazı */
  --danger:      #e0685f;

  /* tipografi */
  --font-display: 'Kapak Tilt Neon', 'Manrope', sans-serif;   /* kapaktaki şarkı adıyla aynı */
  --display-ink: #c8f7b8;
  --display-glow: 0 0 12px rgba(57, 255, 20, .3);
  --font-body:    'Manrope', 'Segoe UI', 'Helvetica Neue', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* ölçü */
  --u: 4px;
  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1180px;
  --player-h: 92px;

  /* form */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* hareket */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --fast: 140ms var(--ease);
  --base: 220ms var(--ease);
  --slow: 420ms var(--ease);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  padding-bottom: calc(var(--player-h) + 16px);
  overflow-x: hidden;
}

body.player-idle { padding-bottom: 32px; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; line-height: 1.08; margin: 0; }

::selection { background: var(--accent); color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* --- kapaktan gelen ortam ışığı --------------------------------------- */
#ambient {
  position: fixed;
  inset: -20vh -10vw auto;
  height: 70vh;
  z-index: 0;
  pointer-events: none;
  filter: blur(90px) saturate(1.3);
  opacity: 0;
  transition: opacity 900ms var(--ease), background 900ms var(--ease);
  background: radial-gradient(45% 60% at 50% 0%, var(--ambient, #39ff14) 0%, transparent 70%);
}
#ambient.on { opacity: .30; }

.shell { position: relative; z-index: 1; }

/* --- üst bar ----------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color var(--base), background var(--base);
}
.topbar.scrolled { border-bottom-color: var(--line); }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo {
  width: 76px; height: 76px; flex: none; display: block; margin: -14px 0 -14px -8px;
  filter: drop-shadow(0 0 6px rgba(57, 255, 20, .35));
  transition: filter var(--base), transform var(--base);
}
.brand:hover .brand-logo { filter: drop-shadow(0 0 12px var(--accent-glow)); transform: scale(1.04); }
.brand-name {
  font-family: var(--font-display); font-size: 26px; line-height: 1; letter-spacing: .01em; white-space: nowrap;
  color: var(--text); transition: color var(--base), text-shadow var(--base);
}
.brand:hover .brand-name { color: var(--accent); text-shadow: 0 0 18px var(--accent-glow); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 500;
  color: var(--muted); transition: color var(--fast), background var(--fast);
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.active { color: var(--accent); background: var(--accent-dim); }

/* --- sayfa gövdesi ----------------------------------------------------- */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) 80px; }

.page-enter { animation: pageIn var(--slow) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.eyebrow {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted-dim); margin-bottom: 18px;
}

/* --- ana sayfa başlığı ------------------------------------------------- */
.home-head {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  padding: clamp(40px, 7vw, 80px) 0 clamp(28px, 4vw, 44px);
}
.home-head h1 { font-size: clamp(42px, 7vw, 72px); letter-spacing: -.015em; }
.home-block + .home-block { margin-top: clamp(44px, 6vw, 68px); }

/* --- çalma listesi kartları -------------------------------------------- */
.pl-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: clamp(16px, 2.4vw, 26px); padding-top: 22px;
}
.pl-card { position: relative; min-width: 0; container-type: inline-size; }
.pl-card > a { display: block; }
.pl-card-cover {
  display: block; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  transition: transform var(--base), box-shadow var(--base);
}
.pl-card:hover .pl-card-cover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .95); }
.pl-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-card-cover .cover-empty { font-size: 54px; }
.pl-mosaic { display: grid; grid-template-columns: 1fr 1fr; width: 100%; height: 100%; }
.pl-mosaic img { aspect-ratio: 1; }
.pl-card-title {
  display: block; margin-top: 12px; font-size: 15.5px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--fast);
}
.pl-card:hover .pl-card-title { color: var(--accent); }
.pl-card-sub { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--muted-dim); }
.pl-card-play {
  /* kapak kare olduğu için yüksekliği kartın genişliğine eşit: düğme sağ alt köşeye oturur */
  position: absolute; right: 12px; top: calc(100cqw - 58px); transform: translateY(8px);
  display: grid; place-items: center; width: 46px; height: 46px; border: none; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); cursor: pointer;
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .9);
  opacity: 0; transition: opacity var(--base), transform var(--base), background var(--fast);
}
.pl-card-play:hover { background: var(--accent-hi); }
.pl-card:hover .pl-card-play, .pl-card-play:focus-visible { opacity: 1; transform: none; }

/* --- çalma listesi sayfası ---------------------------------------------- */
.pl-hero {
  display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px);
  align-items: end; padding: clamp(40px, 7vw, 80px) 0 clamp(28px, 4vw, 44px);
}
.pl-hero-cover {
  aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .95);
}
.pl-hero-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-hero-cover .cover-empty { font-size: 80px; }

/* --- butonlar ---------------------------------------------------------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  background: transparent; color: var(--text);
  font-family: var(--font-body); font-size: 14.5px; font-weight: 600; cursor: pointer;
  transition: transform var(--base), background var(--base), border-color var(--base), color var(--base), box-shadow var(--base);
}
/* çerçeveli butonlar: üzerine gelince neon kenar ve soldan dolan hafif yeşil */
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--accent-dim), rgba(57, 255, 20, .04));
  transform: scaleX(0); transform-origin: left; transition: transform 380ms var(--ease);
}
.btn:hover {
  border-color: rgba(57, 255, 20, .55); color: var(--accent-hi); transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(57, 255, 20, .12), 0 10px 28px -14px var(--accent-glow);
}
.btn:hover::before { transform: scaleX(1); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: 80ms; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn:disabled::before, .btn:disabled::after { display: none; }

/* ana buton: neon zemin, nabız gibi atan parıltı ve üzerinden geçen ışık */
.btn-primary {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 18px -4px var(--accent-glow), 0 8px 26px -12px var(--accent-glow);
}
.btn-primary::before {
  transform: skewX(-20deg) translateX(-160%); transform-origin: center;
  left: 0; width: 55%; inset: 0 auto 0 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent);
  transition: none;
}
.btn-primary:hover {
  background: var(--accent-hi); border-color: var(--accent-hi); color: var(--accent-ink);
  box-shadow: 0 0 0 4px rgba(57, 255, 20, .14), 0 0 34px -2px var(--accent-glow), 0 14px 34px -14px var(--accent-glow);
}
.btn-primary:hover::before { transform: skewX(-20deg) translateX(300%); transition: transform 700ms var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .btn-primary:not(:hover):not(:disabled) { animation: neonPulse 2.8s ease-in-out infinite; }
}
@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 16px -6px var(--accent-glow), 0 8px 26px -12px var(--accent-glow); }
  50% { box-shadow: 0 0 28px -2px var(--accent-glow), 0 8px 30px -10px var(--accent-glow); }
}
.btn-ghost { border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); border-color: transparent; box-shadow: none; }

/* tıklama dalgası (app.js ekler) */
.ripple {
  position: absolute; z-index: 0; border-radius: 50%; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  background: radial-gradient(circle, rgba(168, 255, 143, .7), rgba(57, 255, 20, 0) 70%);
  animation: ripple 620ms var(--ease) forwards;
}
.btn-primary .ripple { background: radial-gradient(circle, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%); }
@keyframes ripple { to { transform: scale(26); opacity: 0; } }
.btn-danger { color: var(--danger); border-color: rgba(224, 104, 95, .35); }
.btn-danger::before { background: rgba(224, 104, 95, .14); }
.btn-danger:hover { color: var(--danger); border-color: var(--danger); box-shadow: 0 10px 28px -14px rgba(224, 104, 95, .7); }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* --- şarkı listesi ----------------------------------------------------- */
.list-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.list-head h2 { font-size: clamp(26px, 3.4vw, 34px); }
.list-count { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-dim); }

.song-list { list-style: none; margin: 0; padding: 0; }

.song-row {
  display: grid;
  grid-template-columns: 30px 56px minmax(0, 1fr) auto auto auto;
  align-items: center; gap: 18px;
  padding: 12px 14px; margin: 0 -14px;
  border-radius: var(--r-md);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background var(--fast), transform var(--fast);
}
.song-row:hover { background: var(--surface); transform: translateX(2px); }
.song-row:hover .row-index { opacity: 0; }
.song-row:hover .row-play { opacity: 1; }
.song-row.playing { background: linear-gradient(90deg, var(--accent-dim), transparent 70%); }
.song-row.playing .row-title { color: var(--accent); }

.row-num { position: relative; display: grid; place-items: center; width: 30px; height: 30px; }
.row-index { font-family: var(--font-mono); font-size: 13px; color: var(--muted-dim); transition: opacity var(--fast); }
.row-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; color: var(--accent); transition: opacity var(--fast);
}
.row-play svg { width: 15px; height: 15px; }

.row-cover {
  width: 56px; height: 56px; border-radius: 10px; overflow: hidden; flex: none;
  background: var(--surface-2); border: 1px solid var(--line);
  transition: transform var(--base), box-shadow var(--base);
}
.song-row:hover .row-cover { transform: scale(1.06); box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .9); }
.row-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cover-empty {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--font-display); color: var(--muted-dim);
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 6px, var(--surface) 6px 12px);
}

.row-meta { min-width: 0; }
.row-title {
  display: block;
  font-size: 16.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-decoration-color: transparent; text-underline-offset: 4px;
  transition: color var(--fast), text-decoration-color var(--fast);
}
a.row-title:hover { color: var(--accent); text-decoration: underline; text-decoration-color: currentColor; }
.row-sub { font-size: 13.5px; color: var(--muted-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.row-badge {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-dim); border: 1px solid var(--line); padding: 4px 9px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.row-time { font-family: var(--font-mono); font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* çalan satırdaki minik dalga */
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.bars span { width: 2.5px; background: var(--accent); border-radius: 2px; animation: bar 900ms var(--ease) infinite alternate; }
.bars span:nth-child(2) { animation-delay: 160ms; }
.bars span:nth-child(3) { animation-delay: 320ms; }
.bars span:nth-child(4) { animation-delay: 90ms; }
@keyframes bar { from { height: 20%; } to { height: 100%; } }
.paused .bars span { animation-play-state: paused; }

/* --- boş durum --------------------------------------------------------- */
.empty {
  border: 1px dashed var(--line-strong); border-radius: var(--r-lg);
  padding: clamp(36px, 7vw, 64px); text-align: center; color: var(--muted);
  background: linear-gradient(180deg, var(--surface) 0%, transparent 100%);
}
.empty h3 { font-size: 26px; color: var(--text); margin-bottom: 10px; }
.empty p { margin: 0 auto 24px; max-width: 46ch; }

/* --- şarkı sayfası ----------------------------------------------------- */
.song-hero {
  display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px); align-items: start;
  padding: clamp(32px, 5vw, 56px) 0 clamp(28px, 4vw, 44px);
}

.cover-stage { position: relative; }
.cover-stage::before {
  content: ''; position: absolute; inset: 8%;
  background: var(--ambient, var(--accent)); filter: blur(60px); opacity: .45; z-index: 0;
  border-radius: 50%;
  transform: scale(var(--pulse, 1));
  transition: transform 90ms linear;
}
.cover-big {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 1; border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95);
}
.cover-big img { width: 100%; height: 100%; object-fit: cover; display: block; }

.song-title { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: 0; margin-bottom: 14px; }
.song-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.song-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.song-about { color: var(--muted); font-size: 16.5px; margin: 28px 0 0; max-width: 58ch; white-space: pre-wrap; }

/* geniş dalga görselleştirici */
.wave-wrap { margin: 8px 0 0; }
#waveCanvas { width: 100%; height: 76px; display: block; opacity: .9; }

/* sözler */
.lyrics-block { padding: clamp(28px, 5vw, 48px) 0 0; border-top: 1px solid var(--line); margin-top: clamp(32px, 5vw, 52px); }
.lyrics {
  font-family: var(--font-display); font-size: clamp(19px, 2.3vw, 24px); line-height: 1.85;
  white-space: pre-wrap; color: #e6ded6; max-width: 62ch; margin: 22px 0 0;
}
.lyrics-empty { color: var(--muted-dim); font-family: var(--font-body); font-size: 15.5px; }

/* --- biyografi --------------------------------------------------------- */
.bio-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); padding: clamp(36px, 6vw, 72px) 0; align-items: start; }
.bio-photo { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface-2); }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-text { font-size: 17px; color: #ded6d0; white-space: pre-wrap; max-width: 62ch; }
.bio-text h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 22px; }

/* --- iletişim ---------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(28px, 5vw, 56px); padding: clamp(36px, 6vw, 72px) 0; align-items: start; }
.contact-links { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 2px; }
.contact-links a, .contact-links span {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 4px; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 500;
  transition: padding-left var(--base), color var(--fast);
}
.contact-links a:hover { padding-left: 12px; color: var(--accent); }
.contact-links .label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dim); }

/* --- form -------------------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 32px); }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.field .hint { font-weight: 400; color: var(--muted-dim); font-size: 12.5px; }

input[type='text'], input[type='email'], input[type='password'], input[type='number'], textarea, select {
  width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 15px;
  color: var(--text); background: var(--ink-2); border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); transition: border-color var(--fast), background var(--fast);
}
input:hover, textarea:hover, select:hover { border-color: rgba(242, 237, 232, .28); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); background: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--muted-dim); }
textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

input[type='file'] {
  width: 100%; font-size: 13.5px; color: var(--muted); padding: 10px;
  border: 1px dashed var(--line-strong); border-radius: var(--r-sm); background: var(--ink-2);
}
input[type='file']::file-selector-button {
  margin-right: 12px; padding: 7px 14px; border-radius: var(--r-pill); cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); font-family: var(--font-body); font-weight: 600;
}
input[type='file']::file-selector-button:hover { background: var(--surface-3); }

.form-note { font-size: 14px; border-radius: var(--r-sm); padding: 11px 14px; margin-bottom: 16px; }
.form-note.ok { background: rgba(120, 190, 140, .12); color: #9fd8b1; border: 1px solid rgba(120, 190, 140, .3); }
.form-note.err { background: rgba(224, 104, 95, .12); color: #f0a49d; border: 1px solid rgba(224, 104, 95, .3); }

/* --- oynatıcı ---------------------------------------------------------- */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1.3fr);
  align-items: center; gap: 24px;
  height: var(--player-h); padding: 0 clamp(14px, 3vw, 28px);
  background: color-mix(in srgb, var(--ink-2) 88%, transparent);
  backdrop-filter: blur(24px) saturate(1.3);
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  transition: transform var(--slow);
}
.player.visible { transform: none; }

.pl-now { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pl-cover {
  width: 56px; height: 56px; border-radius: 10px; overflow: hidden; flex: none;
  border: 1px solid var(--line); background: var(--surface-2);
  transition: transform var(--base);
}
.pl-cover:hover { transform: scale(1.05); }
.pl-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-text { min-width: 0; }
.pl-title { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-title:hover { color: var(--accent); }
.pl-sub { font-size: 12.5px; color: var(--muted-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pl-center { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; width: 100%; }
.pl-controls { display: flex; align-items: center; gap: 6px; }

.ctl {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border: none; border-radius: var(--r-pill); background: transparent; color: var(--muted); cursor: pointer;
  transition: color var(--fast), background var(--fast), transform var(--fast);
}
.ctl:hover { color: var(--accent-hi); background: var(--accent-dim); box-shadow: 0 0 16px -6px var(--accent-glow); }
.ctl:active { transform: scale(.88); }
.ctl.on { color: var(--accent); filter: drop-shadow(0 0 5px var(--accent-glow)); }
.ctl svg { width: 17px; height: 17px; }
.ctl-main {
  position: relative;
  width: 46px; height: 46px; background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 20px -4px var(--accent-glow);
}
.ctl-main:hover { background: var(--accent-hi); color: var(--accent-ink); transform: scale(1.08); box-shadow: 0 0 30px -2px var(--accent-glow); }
/* çalarken düğmenin etrafında yayılan neon halka */
.ctl-main::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  border: 2px solid var(--accent); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .player.is-playing .ctl-main::after { animation: ringOut 1.8s var(--ease) infinite; }
}
@keyframes ringOut { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
.ctl-main svg { width: 19px; height: 19px; }

.pl-seek { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 620px; }
.time { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-dim); font-variant-numeric: tabular-nums; min-width: 42px; }
.time.right { text-align: right; }

.track {
  position: relative; flex: 1; height: 16px; display: flex; align-items: center; cursor: pointer;
  transition: height var(--base);
}
.track.wave-mode { height: 34px; }
.track-wave { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
.track.wave-mode .track-wave { display: block; }
.track.wave-mode .track-rail, .track.wave-mode .track-knob { display: none; }
.track-rail { position: absolute; left: 0; right: 0; height: 4px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; }
.track-buffer { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(242, 237, 232, .12); width: 0; }
.track-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); }
.track-knob {
  position: absolute; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--text);
  transform: translate(-50%, -50%) scale(0); transition: transform var(--fast); pointer-events: none;
  box-shadow: 0 0 0 4px rgba(15, 13, 17, .8);
}
.track:hover .track-knob, .track.dragging .track-knob { transform: translate(-50%, -50%) scale(1); }

.pl-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
#vizCanvas { flex: 0 1 170px; width: 170px; min-width: 64px; height: 54px; opacity: .92; }
.volume { display: flex; align-items: center; gap: 8px; width: 108px; }
.volume input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: var(--r-pill); background: var(--surface-3); cursor: pointer; padding: 0; border: none; }
.volume input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 11px; height: 11px; border-radius: 50%; background: var(--text); cursor: pointer; }
.volume input[type='range']::-moz-range-thumb { width: 11px; height: 11px; border: none; border-radius: 50%; background: var(--text); cursor: pointer; }

/* --- kuyruk ------------------------------------------------------------ */
.queue {
  position: fixed; right: clamp(10px, 2vw, 20px); bottom: calc(var(--player-h) + 12px); z-index: 49;
  width: min(360px, calc(100vw - 20px)); max-height: min(520px, 62vh);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(22px);
  border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .95);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none;
  transition: opacity var(--base), transform var(--base);
}
.queue.open { opacity: 1; transform: none; pointer-events: auto; }
.queue-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.queue-head strong { font-family: var(--font-display); font-size: 19px; font-weight: 400; }
.queue-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.queue-item {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 8px 10px; border-radius: var(--r-sm); cursor: pointer; transition: background var(--fast);
}
.queue-item:hover { background: var(--surface-2); }
.queue-item.current { background: var(--accent-dim); }
.queue-item.current .qi-title { color: var(--accent); }
.qi-cover { width: 38px; height: 38px; border-radius: 6px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.qi-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qi-title { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qi-time { font-family: var(--font-mono); font-size: 12px; color: var(--muted-dim); }

/* --- yönetim ----------------------------------------------------------- */
.admin-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(28px, 5vw, 48px) 0 20px; }
.admin-head h1 { font-size: clamp(32px, 5vw, 48px); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.tab {
  padding: 11px 18px; border: none; background: transparent; color: var(--muted); cursor: pointer;
  font-family: var(--font-body); font-size: 14.5px; font-weight: 600; border-bottom: 2px solid transparent;
  transition: color var(--fast), border-color var(--fast);
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab .pip { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; margin-left: 7px; border-radius: var(--r-pill); background: var(--accent); color: var(--ink); font-family: var(--font-mono); font-size: 11px; }

.admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 28px; align-items: start; }
.admin-song {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 8px;
  background: var(--surface); transition: border-color var(--fast);
}
.admin-song:hover { border-color: var(--line-strong); }
.admin-song .ac { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.admin-song .ac img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-actions { display: flex; gap: 6px; }

.msg-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; margin-bottom: 10px; background: var(--surface); }
.msg-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.msg-card .who { font-weight: 600; }
.msg-card .when { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-dim); }
.msg-card p { margin: 0 0 12px; color: #ded6d0; white-space: pre-wrap; }

.login-wrap { max-width: 400px; margin: clamp(60px, 12vh, 140px) auto; }
.login-wrap h1 { font-size: 40px; margin-bottom: 8px; }
.login-wrap p { color: var(--muted); margin: 0 0 28px; }

/* --- alt bilgi --------------------------------------------------------- */
.foot {
  max-width: var(--maxw); margin: 0 auto; padding: 32px var(--gutter) 40px;
  border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; color: var(--muted-dim); font-size: 13.5px;
}
.foot a:hover { color: var(--accent); }

/* --- duyarlılık -------------------------------------------------------- */
@media (max-width: 900px) {
  .song-hero, .song-hero.with-video, .bio-grid, .contact-grid, .admin-grid { grid-template-columns: minmax(0, 1fr); }
  .cover-stage { max-width: 320px; }
  .song-hero.with-video .cover-stage { max-width: 100%; }
  .contact-grid .card { order: -1; }
}

@media (max-width: 720px) {
  :root { --player-h: 78px; }
  .brand-logo { width: 60px; height: 60px; margin: -10px 0 -10px -6px; }
  .brand { gap: 6px; }
  .brand-name { font-size: 20px; }
  .nav a { padding: 7px 10px; font-size: 13.5px; }
  .player { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .pl-center { position: absolute; left: 0; right: 0; bottom: 0; top: auto; }
  .pl-seek { max-width: none; padding: 0 12px 6px; }
  .pl-controls { position: absolute; right: 8px; bottom: 26px; }
  .pl-right { display: none; }
  .pl-now { padding-bottom: 18px; }
  .pl-cover { width: 44px; height: 44px; }
  .song-row { grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 12px; }
  .pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-card-play { opacity: 1; transform: none; width: 40px; height: 40px; top: calc(100cqw - 50px); right: 10px; }
  .pl-hero { grid-template-columns: minmax(0, 1fr); }
  .pl-hero-cover { max-width: 220px; }
  .row-num, .row-badge, .row-badges { display: none; }
  .row-cover { width: 44px; height: 44px; }
  .time { min-width: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* --- görselleştirici menüsü -------------------------------------------- */
.viz-wrap { position: relative; }
.viz-menu {
  position: absolute; bottom: calc(100% + 14px); right: 0; z-index: 60;
  width: 236px; padding: 8px;
  background: color-mix(in srgb, var(--surface) 97%, transparent);
  backdrop-filter: blur(22px);
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  box-shadow: 0 26px 60px -28px rgba(0, 0, 0, .95);
  opacity: 0; transform: translateY(10px) scale(.98); pointer-events: none;
  transition: opacity var(--base), transform var(--base);
}
.viz-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.menu-title {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted-dim); margin: 12px 8px 6px;
}
.menu-title:first-child { margin-top: 4px; }
.menu-item {
  display: block; width: 100%; text-align: left; padding: 9px 10px;
  border: none; background: transparent; color: var(--muted); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 13.5px; font-weight: 500; cursor: pointer;
  transition: background var(--fast), color var(--fast);
}
.menu-item:hover { background: var(--surface-2); color: var(--text); }
.menu-item.on { color: var(--accent); background: var(--accent-dim); }
.menu-note {
  font-size: 11.5px; line-height: 1.55; color: var(--muted-dim);
  margin: 10px 8px 4px; padding-top: 10px; border-top: 1px solid var(--line);
}

/* --- YouTube oynatıcı kutusu -------------------------------------------- */
.yt-box {
  position: fixed; right: clamp(10px, 2vw, 20px); bottom: calc(var(--player-h) + 12px); z-index: 48;
  width: 268px; height: 151px;
  border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow: hidden;
  background: #000;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .95);
  opacity: 0; transform: translateY(14px) scale(.96); pointer-events: none;
  transition: opacity var(--base), transform var(--base), border-radius var(--base);
}
.yt-box.visible { opacity: 1; transform: none; pointer-events: auto; }
.yt-box.tucked { transform: translateX(calc(100% - 24px)); }
.yt-box.docked {
  right: auto; bottom: auto; border-radius: var(--r-lg);
  border-color: var(--line-strong);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95);
}
.yt-holder-wrap { width: 100%; height: 100%; overflow: hidden; }
#ytHolder, .yt-box iframe { display: block; width: 100%; height: 100%; border: 0; }
.yt-toggle {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 24px; height: 48px; display: grid; place-items: center;
  border: none; border-radius: 0 var(--r-sm) var(--r-sm) 0; cursor: pointer;
  background: color-mix(in srgb, var(--ink) 75%, transparent); color: var(--muted);
  transition: color var(--fast), background var(--fast);
}
.yt-toggle:hover { color: var(--text); background: var(--ink); }
.yt-toggle svg { width: 14px; height: 14px; }
.yt-box.tucked .yt-toggle svg { transform: rotate(180deg); }
.yt-box.docked .yt-toggle { display: none; }

/* şarkı sayfasında video kapak karesinin yerine oturur — 16:9, kırpmasız */
.song-hero.with-video { grid-template-columns: minmax(0, 580px) minmax(0, 1fr); }
.cover-stage[data-video="1"] .cover-big { aspect-ratio: 16 / 9; }
.cover-stage.has-video .cover-big { opacity: .1; }

/* video bitiminde YouTube öneri ızgarasının üstünü kapatan perde */
.yt-veil {
  position: absolute; inset: 0; z-index: 2;
  background-size: cover; background-position: center; background-color: var(--ink);
  opacity: 0; pointer-events: none;
  transition: opacity 260ms var(--ease);
}
.yt-veil::after { content: ''; position: absolute; inset: 0; background: rgba(15, 13, 17, .55); }
.yt-box.ended .yt-veil { opacity: 1; }

/* video üzerindeki kontroller */
.yt-controls {
  position: absolute; right: 10px; top: 10px; z-index: 3;
  display: flex; gap: 6px;
  opacity: 0; transition: opacity var(--base);
}
.yt-box:hover .yt-controls, .yt-box.fullscreen .yt-controls, .yt-controls:focus-within { opacity: 1; }
.yt-ctl {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: none; border-radius: var(--r-pill); cursor: pointer;
  background: rgba(15, 13, 17, .7); color: #f2ede8;
  backdrop-filter: blur(8px);
  transition: background var(--fast), transform var(--fast);
}
.yt-ctl:hover { background: rgba(15, 13, 17, .92); transform: scale(1.06); }
.yt-ctl svg { width: 16px; height: 16px; }
.song-credits { margin: -6px 0 18px; font-size: 15px; font-weight: 600; color: var(--accent-hi); letter-spacing: .02em; }

/* söz & müzik künyesi: videonun sol alt köşesi, tıklamaları engellemez */
.yt-credits {
  position: absolute; left: 0; bottom: 0; z-index: 2; max-width: 100%;
  padding: 26px 18px 14px; pointer-events: none;
  background: linear-gradient(0deg, rgba(8, 7, 10, .82), rgba(8, 7, 10, 0));
  border-bottom-left-radius: inherit;
  font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: .02em; color: #f2ede8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateX(-14px); transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}
.yt-credits::before {
  content: ''; display: inline-block; width: 3px; height: 1em; margin-right: 10px; vertical-align: -2px;
  border-radius: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow);
}
.yt-credits:empty { display: none; }
/* klipteki gibi belli anlarda görünür (player.js .show ekler);
   küçük köşe penceresinde okunmaz: yalnızca şarkı sayfasında ve tam ekranda */
.yt-box.docked .yt-credits.show, .yt-box.fullscreen .yt-credits.show { opacity: 1; transform: none; }
.yt-box.fullscreen .yt-credits { font-size: clamp(16px, 1.6vw, 24px); padding: 40px 32px 28px; }
.yt-ctl.on { color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 14px -4px var(--accent-glow); }

.yt-box:fullscreen {
  left: 0 !important; top: 0 !important;
  width: 100vw !important; height: 100vh !important;
  border: none; border-radius: 0; background: #000;
}
.yt-box:fullscreen .yt-holder-wrap { display: grid; place-items: center; height: 100%; }
.yt-box:fullscreen iframe { width: 100vw; height: 56.25vw; max-width: 177.78vh; max-height: 100vh; }
.yt-box:fullscreen .yt-toggle { display: none; }

/* YouTube marka bağlantısı */
.source-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Roboto', var(--font-body); font-weight: 500; font-size: 14px;
  color: var(--muted); transition: color var(--fast);
}
.source-link .yt-mark { flex: none; }
.source-link:hover { color: var(--text); }

@media (max-width: 720px) {
  .yt-box { width: 196px; height: 110px; }
  .viz-menu { right: -60px; }
}

/* dar telefonlar: logo, isim ve menü tek satıra sığsın */
@media (max-width: 440px) {
  .topbar { gap: 10px; padding-left: 14px; padding-right: 10px; }
  .brand-logo { width: 50px; height: 50px; margin: -8px 0 -8px -4px; }
  .brand-name { font-size: 18px; }
  .nav { gap: 0; }
  .nav a { padding: 6px 8px; font-size: 13px; }
}

/* ======================= versiyonlar =================================== */
.ver-tag {
  display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 9px;
  border-radius: var(--r-pill); border: 1px solid rgba(57, 255, 20, .35); background: var(--accent-dim);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-hi); white-space: nowrap;
}
.ver-tag-lg { font-size: 11.5px; padding: 4px 11px; margin-left: 0; letter-spacing: .1em; transition: background var(--fast), box-shadow var(--fast); }
a.ver-tag-lg:hover { background: rgba(57, 255, 20, .2); box-shadow: 0 0 16px -6px var(--accent-glow); }
.row-badges { display: flex; gap: 8px; justify-content: flex-end; }
.row-badges:empty { display: none; }
.row-badge-ver { color: var(--accent-hi); border-color: rgba(57, 255, 20, .3); }

/* şarkı sayfası: "Bu şarkının halleri" */
.versions { margin-top: clamp(40px, 6vw, 64px); }
.ver-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: clamp(14px, 2vw, 22px); padding-top: 20px;
}
.ver-card { position: relative; min-width: 0; container-type: inline-size; }
.ver-card > a { display: block; }
.ver-cover {
  position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  transition: transform var(--base), box-shadow var(--base), border-color var(--base);
}
.ver-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ver-card:hover .ver-cover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .95); }
.ver-card.current .ver-cover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 26px -8px var(--accent-glow); }
.ver-card.playing .ver-cover::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--accent); animation: verGlow 1.6s ease-in-out infinite alternate;
}
@keyframes verGlow { from { opacity: .35; } to { opacity: 1; } }
.ver-label {
  display: block; margin-top: 11px; font-size: 15px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--fast);
}
.ver-card:hover .ver-label, .ver-card.current .ver-label { color: var(--accent); }
.ver-sub { display: block; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-dim); }
.ver-play { top: calc(100cqw - 56px); }
.ver-card:hover .ver-play { opacity: 1; transform: none; }

/* player'daki versiyon etiketi */
.pl-ver {
  flex: none; padding: 5px 11px; border-radius: var(--r-pill); cursor: pointer;
  border: 1px solid rgba(57, 255, 20, .35); background: var(--accent-dim); color: var(--accent-hi);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; white-space: nowrap;
  transition: background var(--fast), box-shadow var(--fast), transform var(--fast);
}
.pl-ver:hover { background: rgba(57, 255, 20, .2); box-shadow: 0 0 16px -6px var(--accent-glow); transform: translateY(-1px); }
.pl-ver[hidden] { display: none; }

/* dinlerken çıkan teklif kartı: player'ın sol üstü (sağda kuyruk ve video penceresi var) */
.ver-offer {
  position: fixed; left: clamp(10px, 2vw, 20px); bottom: calc(var(--player-h) + 12px); z-index: 49;
  width: min(360px, calc(100vw - 20px));
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(22px) saturate(1.2);
  border: 1px solid rgba(57, 255, 20, .28); border-radius: var(--r-lg);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .95), 0 0 40px -18px var(--accent-glow);
  padding: 14px 14px 12px;
  opacity: 0; transform: translateY(18px) scale(.97); pointer-events: none;
  transition: opacity 420ms var(--ease), transform 520ms var(--ease);
}
.ver-offer.open { opacity: 1; transform: none; pointer-events: auto; }
.vo-head { display: flex; align-items: center; justify-content: space-between; margin: -4px -4px 8px 2px; }
.vo-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.vo-head .ctl { width: 30px; height: 30px; }
.vo-head .ctl svg { width: 15px; height: 15px; }
.vo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.vo-item {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) auto auto; align-items: center; gap: 10px;
  padding: 6px; border-radius: var(--r-md); transition: background var(--fast);
}
.ver-offer.open .vo-item { animation: voIn 520ms var(--ease) both; }
.ver-offer.open .vo-item:nth-child(2) { animation-delay: 70ms; }
.ver-offer.open .vo-item:nth-child(3) { animation-delay: 140ms; }
@keyframes voIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.vo-item:hover { background: var(--surface-2); }
.vo-cover { width: 46px; height: 46px; border-radius: 9px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.vo-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vo-meta { min-width: 0; }
.vo-label { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vo-item:hover .vo-label { color: var(--accent-hi); }
.vo-sub { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--muted-dim); }
.vo-btn {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-strong); background: transparent; color: var(--muted);
  transition: color var(--fast), border-color var(--fast), background var(--fast), transform var(--fast), box-shadow var(--fast);
}
.vo-btn svg { width: 14px; height: 14px; }
.vo-btn:hover { color: var(--accent-hi); border-color: rgba(57, 255, 20, .55); transform: scale(1.08); }
.vo-play { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 0 16px -6px var(--accent-glow); }
.vo-play:hover { background: var(--accent-hi); color: var(--accent-ink); box-shadow: 0 0 22px -4px var(--accent-glow); }
.vo-note:not(:empty) { margin: 8px 4px 0; font-size: 12.5px; color: var(--accent-hi); }

@media (max-width: 720px) {
  .ver-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ver-play { opacity: 1; transform: none; width: 40px; height: 40px; top: calc(100cqw - 50px); right: 10px; }
  .pl-ver { display: none; }
  .ver-offer { left: 10px; right: 10px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ver-offer.open .vo-item, .ver-card.playing .ver-cover::after { animation: none; }
}

/* ======================= oylar ========================================= */
.vote-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.vote-btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px 9px 14px; border-radius: var(--r-pill); cursor: pointer;
  border: 1px solid var(--line-strong); background: transparent; color: var(--muted);
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  transition: color var(--base), border-color var(--base), background var(--base), box-shadow var(--base), transform var(--fast);
}
.vote-btn svg { width: 17px; height: 17px; transition: transform 380ms var(--ease); }
.vote-count { font-family: var(--font-mono); font-size: 13px; color: var(--text); font-variant-numeric: tabular-nums; }
.vote-label { color: inherit; }
.vote-btn:hover { color: var(--text); border-color: rgba(242, 237, 232, .32); transform: translateY(-1px); }
.vote-btn.up:hover svg { transform: rotate(-12deg) scale(1.1); }
.vote-btn.down:hover svg { transform: rotate(12deg) scale(1.1); }
.vote-btn:active { transform: scale(.95); }
.vote-btn.up.on {
  color: var(--accent); border-color: var(--accent); background: var(--accent-dim);
  box-shadow: 0 0 22px -8px var(--accent-glow);
}
.vote-btn.up.on .vote-count { color: var(--accent-hi); }
.vote-btn.up.on svg { fill: rgba(57, 255, 20, .25); }
.vote-btn.down.on { color: #f0a49d; border-color: rgba(224, 104, 95, .6); background: rgba(224, 104, 95, .1); }
.vote-btn.down.on svg { fill: rgba(224, 104, 95, .25); }
/* oy verildiği an: ikon zıplar, etrafa halka yayılır */
.vote-btn.pop svg { animation: votePop 520ms var(--ease); }
.vote-btn.pop::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  border: 2px solid currentColor; animation: voteRing 620ms var(--ease) forwards;
}
@keyframes votePop { 0% { transform: scale(1); } 35% { transform: scale(1.45) rotate(-14deg); } 70% { transform: scale(.92); } 100% { transform: none; } }
@keyframes voteRing { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.35, 1.7); } }
.vote-note { min-height: 20px; margin-top: 8px; font-size: 12.5px; color: var(--muted-dim); }
.vote-note.err { color: #f0a49d; }

/* versiyon kartlarında beğeni sayısı ve ziyaretçinin seçtiği hal */
.ver-likes { display: inline-flex; align-items: center; gap: 4px; margin-right: 6px; color: var(--muted); }
.ver-likes svg { width: 12px; height: 12px; }
.ver-card.liked .ver-likes { color: var(--accent); }
.ver-mine {
  display: none; margin-top: 6px; width: fit-content; padding: 2px 8px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent); box-shadow: 0 0 14px -4px var(--accent-glow);
}
.ver-card.liked .ver-mine { display: block; animation: voIn 420ms var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  .vote-btn.pop svg, .vote-btn.pop::after, .ver-card.liked .ver-mine { animation: none; }
}

/* ======================= sıraya ekle =================================== */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--player-h) + 16px); z-index: 60;
  max-width: min(440px, calc(100vw - 24px)); padding: 11px 18px; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface-2) 94%, transparent); backdrop-filter: blur(18px);
  border: 1px solid rgba(57, 255, 20, .35); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .95), 0 0 24px -12px var(--accent-glow);
  font-size: 13.5px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translate(-50%, 12px); pointer-events: none;
  transition: opacity 320ms var(--ease), transform 420ms var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast::before { content: '＋'; margin-right: 8px; color: var(--accent); }
body.player-idle .toast { bottom: 20px; }

/* kuyruk düğmesindeki sayaç */
#btnQueue { position: relative; }
#btnQueue[data-count]:not([data-count=''])::after {
  content: attr(data-count); position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; padding: 0 4px;
  display: grid; place-items: center; border-radius: var(--r-pill);
  background: var(--accent); color: var(--accent-ink); font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  box-shadow: 0 0 10px -2px var(--accent-glow);
}

/* kuyruk paneli bölümleri */
.queue-sep {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 10px 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dim);
}
.queue-sep:first-child { padding-top: 4px; }
.queue-item.queued { grid-template-columns: 38px minmax(0, 1fr) auto 26px; }
.queue-item.queued .qi-title { color: var(--accent-hi); }
.qi-ver { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.qi-remove, .qi-clear {
  border: none; background: transparent; color: var(--muted-dim); cursor: pointer; border-radius: var(--r-pill);
  transition: color var(--fast), background var(--fast);
}
.qi-remove { width: 26px; height: 26px; font-size: 17px; line-height: 1; }
.qi-remove:hover { color: var(--danger); background: rgba(224, 104, 95, .12); }
.qi-clear { padding: 3px 9px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.qi-clear:hover { color: var(--text); background: var(--surface-3); }

/* şarkı satırındaki "sıraya ekle" */
.row-add {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-strong); background: transparent; color: var(--muted);
  opacity: 0; transform: scale(.85);
  transition: opacity var(--fast), transform var(--base), color var(--fast), border-color var(--fast), box-shadow var(--fast), background var(--fast);
}
.row-add svg { width: 15px; height: 15px; }
.song-row:hover .row-add, .row-add:focus-visible { opacity: 1; transform: none; }
.row-add:hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); box-shadow: 0 0 16px -4px var(--accent-glow); transform: scale(1.08); }
.row-add.added { animation: addPop 520ms var(--ease); }
@keyframes addPop { 0% { transform: scale(1); } 40% { transform: scale(1.3) rotate(90deg); } 100% { transform: none; } }
@media (hover: none) { .row-add { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .row-add.added { animation: none; } .toast { transition: opacity 200ms; } }
.btn > svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 720px) { .row-badges { display: none; } }

/* ======================= şarkı satırı: mat açık yeşil tonlar ============ */
.song-row .row-title { color: #d3e9ce; }
.song-row .row-sub { color: #86a582; }
.song-row .row-time { color: #a3c49e; }
.song-row .row-index { color: #6f8d6b; }
.song-row.playing .row-title, .song-row .row-title:hover { color: var(--accent); }
.row-genre { color: #a3c49e; border-color: rgba(57, 255, 20, .2); background: rgba(57, 255, 20, .04); }
.row-likes { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 12px; color: #86a582; }
.row-likes svg { width: 13px; height: 13px; }
.row-badges { align-items: center; }
/* tür masaüstünde rozette, telefonda (rozetler gizli) alt satırda */
.sub-genre { display: none; }
@media (max-width: 720px) { .sub-genre { display: inline; } }

/* sıraya ekle: her zaman görünür */
.row-add { opacity: 1; transform: none; color: var(--accent-hi); border-color: rgba(57, 255, 20, .45); background: var(--accent-dim); }
.song-row:hover .row-add { box-shadow: 0 0 14px -6px var(--accent-glow); }
.song-row .row-time { min-width: 42px; text-align: right; }

/* ======================= çalma listeleri sayfası ======================= */
.home-head .list-count { align-self: flex-end; padding-bottom: 12px; }
.plx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 500px), 1fr)); gap: clamp(18px, 2.6vw, 28px); }
.plx {
  --art: 180px;
  position: relative; display: grid; grid-template-columns: var(--art) minmax(0, 1fr); gap: 66px;
  padding: 18px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--surface) 0%, color-mix(in srgb, var(--surface) 60%, transparent) 100%);
  border: 1px solid var(--line);
  transition: border-color var(--base), box-shadow var(--base), transform var(--base);
}
.plx:hover { border-color: rgba(57, 255, 20, .28); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .95), 0 0 34px -22px var(--accent-glow); transform: translateY(-2px); }
.plx.spinning { border-color: rgba(57, 255, 20, .45); }

/* kapak ve arkasındaki plak */
.plx-art { position: relative; width: var(--art); height: var(--art); align-self: start; }
.plx-cover {
  position: relative; z-index: 2; display: block; width: 100%; height: 100%; border-radius: var(--r-md); overflow: hidden;
  background: var(--surface-2); box-shadow: 6px 0 18px -6px rgba(0, 0, 0, .85);
}
.plx-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--slow); }
.plx:hover .plx-cover img { transform: scale(1.04); }
.plx-cover .cover-empty { font-size: 60px; }
.plx-disc {
  position: absolute; z-index: 1; top: 4%; left: 4%; width: 92%; height: 92%; border-radius: 50%;
  background:
    radial-gradient(circle, #0d0d0d 0 3.5%, transparent 3.6%),
    radial-gradient(circle, transparent 0 16%, rgba(57, 255, 20, .5) 16.5%, transparent 17.5%),
    var(--label, none) center / 34% 34% no-repeat,
    repeating-radial-gradient(circle, #111 0 1.2px, #1b1b1b 1.4px 2.6px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .05), 0 10px 26px -10px rgba(0, 0, 0, .9);
  transform: translateX(12%);
  transition: transform 700ms var(--ease);
}
/* etiketi daire yap: plak üzerinde yuvarlak kapak */
.plx-disc::after {
  content: ''; position: absolute; inset: 33%; border-radius: 50%;
  background: var(--label, radial-gradient(circle, var(--accent) 0 30%, #0a2b06 31%)) center / cover;
  box-shadow: 0 0 0 2px #0d0d0d, 0 0 14px -2px var(--accent-glow);
}
.plx-disc::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 20%, rgba(255, 255, 255, .07) 25%, transparent 32% 70%, rgba(255, 255, 255, .05) 75%, transparent 82%);
}
.plx:hover .plx-disc, .plx.spinning .plx-disc { transform: translateX(34%); }
.plx.spinning .plx-disc { animation: discSpin 2.4s linear infinite; }
@keyframes discSpin { from { transform: translateX(34%) rotate(0); } to { transform: translateX(34%) rotate(360deg); } }
.plx-play { z-index: 3; top: auto; bottom: 10px; right: 10px; }
.plx:hover .plx-play, .plx-play:focus-visible { opacity: 1; transform: none; }

/* şarkı listesi: kutuya sığmayan kaydırılır, altta solma */
.plx-body { display: flex; flex-direction: column; min-width: 0; height: var(--art); }
.plx-title { font-family: var(--font-display); font-size: 26px; line-height: 1.15; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--fast); }
.plx-title:hover { color: var(--accent); }
.plx-meta { font-family: var(--font-mono); font-size: 11.5px; color: #86a582; margin: 2px 0 8px; }
.plx-desc { margin: -2px 0 8px; font-size: 13px; color: var(--muted-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plx-tracks {
  list-style: none; margin: 0; padding: 0 6px 18px 0; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(57, 255, 20, .35) transparent;
  mask-image: linear-gradient(180deg, #000 calc(100% - 26px), transparent);
}
.plx-tracks::-webkit-scrollbar { width: 5px; }
.plx-tracks::-webkit-scrollbar-thumb { background: rgba(57, 255, 20, .35); border-radius: 4px; }
.plx-track {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 6px 8px; margin: 0 -8px; border-radius: 8px; cursor: pointer; transition: background var(--fast);
}
.plx-track:hover { background: var(--accent-dim); }
.plx-num { font-family: var(--font-mono); font-size: 11px; color: #6f8d6b; }
.plx-name { font-size: 14px; font-weight: 500; color: #d3e9ce; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plx-time { font-family: var(--font-mono); font-size: 11.5px; color: #86a582; }
.plx-track:hover .plx-name, .plx-track.playing .plx-name { color: var(--accent); }
.plx-track.playing .plx-num { color: var(--accent); }
.plx-track.playing .plx-num::before { content: '▶'; font-size: 9px; }
.plx-track.playing .plx-num { font-size: 0; }
.plx-track.playing .plx-num::before { font-size: 10px; }

@media (max-width: 560px) {
  .plx { --art: 124px; gap: 40px; padding: 14px; }
  .plx-title { font-size: 21px; }
  .plx-body { height: auto; max-height: 240px; min-height: var(--art); }
  .plx-play { opacity: 1; transform: none; width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .plx.spinning .plx-disc { animation: none; } }

/* ======================= kedi ========================================== */
.cat-layer { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 46; pointer-events: none; }   /* boyut şart: yoksa keskin ekranlı telefonda tuval 2-3 kat büyük çizilir, kedi ekran dışına kayar */
.cat-toggle {
  border: 1px solid var(--line-strong); background: transparent; color: var(--muted-dim); cursor: pointer;
  padding: 4px 12px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  transition: color var(--fast), border-color var(--fast);
}
.cat-toggle:hover { color: var(--accent); border-color: rgba(57, 255, 20, .5); }
.cat-toggle::before { content: '🐈‍⬛ '; }

/* dar ekran: menüde 5 bağlantı var; logonun yanındaki yazı gizlenir, menü gerekirse yana kayar */
@media (max-width: 600px) {
  .brand-name { display: none; }
  .nav { overflow-x: auto; scrollbar-width: none; min-width: 0; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 6px 7px; font-size: 12.5px; white-space: nowrap; }
}

/* panel: liste ve form ayrı ayrı kaydırılır (fare hangisinin üzerindeyse o kayar) */
@media (min-width: 901px) {
  .admin-split { position: sticky; top: 84px; --split-h: calc(100vh - 100px); }
  body:not(.player-idle) .admin-split { --split-h: calc(100vh - 100px - var(--player-h)); }
  .admin-split > section, .admin-split > aside {
    max-height: var(--split-h); overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: rgba(57, 255, 20, .3) transparent;
  }
  .admin-split > section { padding-right: 8px; }
  .admin-split > section::-webkit-scrollbar, .admin-split > aside::-webkit-scrollbar { width: 6px; }
  .admin-split > section::-webkit-scrollbar-thumb, .admin-split > aside::-webkit-scrollbar-thumb { background: rgba(57, 255, 20, .3); border-radius: 4px; }
  /* liste başlığı kayarken üstte kalsın */
  .admin-split > section > .list-head { position: sticky; top: 0; z-index: 2; background: var(--ink); padding-top: 4px; }
}

/* şarkı sayfası telefonda tek sütun (videolu şarkılar dahil; yukarıdaki iki sütun kuralını ezer) */
@media (max-width: 900px) {
  .song-hero, .song-hero.with-video { grid-template-columns: minmax(0, 1fr); }
}

/* boş oy notu yer kaplamasın */
.vote-note:empty { display: none; }

/* şarkı sayfası telefonda: boşluklar sıkı, dalga basık, sözler daha çok satır sığacak şekilde */
@media (max-width: 720px) {
  .song-hero { gap: 22px; padding-top: 18px; padding-bottom: 20px; }
  .song-title { font-size: clamp(32px, 9vw, 42px); margin-bottom: 8px; }
  .song-credits { margin: 0 0 14px; }
  .vote-bar { margin-top: 16px; }
  #waveCanvas { height: 44px; }
  .song-about { margin-top: 16px; font-size: 15.5px; }
  .lyrics-block { margin-top: 24px; padding-top: 22px; }
  .lyrics { font-size: 18.5px; line-height: 1.55; margin-top: 14px; }
  .versions { margin-top: 32px; }
}

/* ======================= paylaş ======================================== */
.share-menu {
  position: absolute; z-index: 70; min-width: 250px; padding: 6px;
  background: color-mix(in srgb, var(--surface-2) 96%, transparent); backdrop-filter: blur(18px);
  border: 1px solid rgba(57, 255, 20, .3); border-radius: var(--r-md);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .95), 0 0 30px -16px var(--accent-glow);
  animation: voIn 260ms var(--ease) both;
}
.share-item {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 12px; border: 0; border-radius: 9px;
  background: transparent; color: var(--text); font: 600 14px var(--font-body); text-align: left; cursor: pointer;
  transition: background var(--fast), color var(--fast);
}
.share-item:hover { background: var(--accent-dim); color: var(--accent-hi); }
.share-item i { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: 0 0 8px currentColor; }
.share-item .share-link { background: var(--accent); }
.share-item span { margin-left: auto; font: 11px var(--font-mono); color: var(--muted-dim); }
.share-native { border-bottom: 1px solid var(--line); border-radius: 9px 9px 0 0; margin-bottom: 4px; color: var(--accent-hi); }

/* ======================= yorumlar ====================================== */
.comments { margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(26px, 4vw, 40px); border-top: 1px solid var(--line); max-width: 760px; }
.comment-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.comment-empty { color: var(--muted-dim); font-size: 14.5px; padding: 6px 0; }
.comment { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; animation: voIn 360ms var(--ease) both; }
.comment.pending { opacity: .7; }
.comment-avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-dim); border: 1px solid rgba(57, 255, 20, .35); color: var(--accent-hi);
  font: 600 16px var(--font-body);
}
.comment-body { background: var(--surface); border: 1px solid var(--line); border-radius: 4px var(--r-md) var(--r-md) var(--r-md); padding: 11px 14px; min-width: 0; }
.comment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.comment-head strong { font-size: 14.5px; color: #d3e9ce; }
.comment-head time { font: 11.5px var(--font-mono); color: var(--muted-dim); }
.comment-badge { font: 10.5px var(--font-mono); color: #f0c674; border: 1px solid rgba(240, 198, 116, .35); padding: 1px 7px; border-radius: var(--r-pill); }
.comment-text { margin: 5px 0 0; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-edited { display: block; margin-top: 4px; font: italic 11.5px var(--font-body); color: var(--muted-dim); }
.comment-reply { margin-top: 10px; padding: 9px 12px; border-left: 2px solid var(--accent); background: rgba(57, 255, 20, .05); border-radius: 0 8px 8px 0; }
.comment-reply p { margin: 4px 0 0; font-size: 14.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.reply-badge {
  display: inline-flex; align-items: center; gap: 6px; font: 600 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent); padding: 2px 9px 2px 4px; border-radius: var(--r-pill); box-shadow: 0 0 12px -3px var(--accent-glow);
}
.reply-badge img { width: 16px; height: 16px; border-radius: 50%; background: #0a0f0a; }
.comment-form { margin-top: 26px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.comment-form textarea { min-height: 96px; }
.comment-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.comment-foot .hint { font-size: 12.5px; color: var(--muted-dim); }
/* bot tuzağı: insanlar görmez */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* hidden özelliği genel stillerden (ör. textarea display) önce gelsin */
[hidden] { display: none !important; }

/* --- canlı kapak: şablonlu şarkılarda video yerine müziğe göre hareket eden kapak --- */
@font-face { font-family: 'Kapak Tilt Neon'; src: url('/fonts/tilt-neon.woff2') format('woff2'); font-display: swap; }
.cover-stage[data-live]:not([data-live=""]) { cursor: pointer; }
.live-cover { --g: 0; }
.live-cover canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.live-cover .lc-logo {
  position: absolute; top: 6.6%; right: 6.6%; width: 12.7%; height: auto;
  filter: drop-shadow(0 0 calc(6px + var(--g) * 22px) rgba(57, 255, 20, .85));
  transform: scale(calc(1 + var(--g) * .05)); transition: transform 60ms;
}
.live-cover .lc-title {
  position: absolute; left: 7.3%; bottom: 7.3%; max-width: 70%; white-space: nowrap; overflow: hidden;
  font-family: 'Kapak Tilt Neon', sans-serif; line-height: 1.1; letter-spacing: .02em; color: #c8f7b8;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .9), 0 0 10px rgba(57, 255, 20, .35),
    0 0 calc(4px + var(--g) * 26px) rgba(57, 255, 20, calc(.25 + var(--g) * .7));
}
/* YouTube yalnızca ses kaynağı: görünmez ama çalmaya devam eder */
.yt-box.audio-only, .yt-box.audio-only.visible { opacity: 0; pointer-events: none; }

/* başlık yazı tipi her yerde kapaktaki şarkı adı gibi: Tilt Neon, açık neon yeşil, hafif ışıma */
h1, h2, h3, .brand-name, .lyrics, .queue-head strong, .plx-title, .cover-empty {
  color: var(--display-ink); text-shadow: var(--display-glow);
}
.plx-title:hover { color: var(--accent); }

/* listede kapak resmi = oynat düğmesi: üstünde hep küçük bir oynat üçgeni */
.row-cover { position: relative; cursor: pointer; }
.row-cover-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  transition: background var(--fast);
}
/* imleç yokken yalnızca belli edecek kadar; kapağın üstüne gelince belirginleşir */
.row-cover-play svg {
  width: 30%; height: 30%; padding: 8%; border-radius: 50%; box-sizing: content-box;
  color: var(--accent-ink); background: var(--accent); box-shadow: none;
  opacity: .32; transform: scale(.85);
  transition: transform var(--fast), box-shadow var(--fast), opacity var(--fast);
}
.row-cover:hover .row-cover-play { background: rgba(2, 8, 2, .28); }
.row-cover:hover .row-cover-play svg { opacity: 1; transform: scale(1.1); box-shadow: 0 0 16px rgba(57, 255, 20, .75); }
.song-row.playing .row-cover-play { opacity: 0; }

/* çevrimiçi sayacı: sağ üst köşe (üst çubuk sticky olduğu için ona göre konumlanır) */
.online {
  position: absolute; top: 6px; right: var(--gutter);
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: #86a582; pointer-events: none;
}
.online b { color: var(--display-ink); font-weight: 500; }
.online i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: online-blink 2.4s ease-in-out infinite; }
@keyframes online-blink { 50% { opacity: .35; } }

/* panelde sürükle-bırak sıralama */
.admin-song[data-sortable] { grid-template-columns: 18px 48px minmax(0, 1fr) auto; gap: 12px; }
.admin-song[data-sortable]:has(.ac[style*="36px"]) { grid-template-columns: 18px 36px minmax(0, 1fr) auto; }
@media (hover: hover) { .admin-song[data-sortable] { cursor: grab; } }
.drag-grip { display: grid; place-items: center; width: 18px; height: 28px; color: var(--muted-dim); cursor: grab; touch-action: none; }
.drag-grip svg { width: 16px; height: 16px; }
.admin-song[data-sortable]:hover .drag-grip { color: var(--accent); }
.admin-song.dragging {
  position: relative; z-index: 5; cursor: grabbing;
  border-color: var(--accent); box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .95), 0 0 0 1px rgba(57, 255, 20, .35);
  background: var(--surface-2);
}
body.sorting, body.sorting * { user-select: none; cursor: grabbing !important; }
.admin-song.flash { animation: admin-flash 1.4s ease-out; }
@keyframes admin-flash { 0%, 35% { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(57, 255, 20, .45), 0 0 22px -6px rgba(57, 255, 20, .6); } }
.admin-split > aside { scroll-margin-top: 90px; }

/* panel: şarkı listesi süzgeci, sıralama ayarı, kayıt durumu */
.admin-listbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 8px; }
.admin-listbar .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 5px 11px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: transparent;
  color: var(--muted); font: 600 12.5px var(--font-body); cursor: pointer; transition: color var(--fast), border-color var(--fast), background var(--fast);
}
.chip b { font-family: var(--font-mono); font-weight: 500; font-size: 11px; opacity: .7; margin-left: 3px; }
.chip:hover { color: var(--text); }
.chip.on { color: var(--accent); border-color: rgba(57, 255, 20, .5); background: var(--accent-dim); }
.order-mode { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.order-mode select { padding: 5px 8px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); font: 600 12.5px var(--font-body); }
.order-hint { margin: 0 0 12px; font-size: 12.5px; color: var(--muted-dim); }
.order-note { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em; }
.order-note.ok { color: var(--accent-hi); }
.order-note.busy { color: var(--muted); }
.order-note.err { color: #f0a49d; }
.dirty-note { margin: -6px 0 12px; font-size: 12.5px; color: #f5d27a; }
.btn.attention { animation: btn-attention 1.6s ease-in-out infinite; }
@keyframes btn-attention { 50% { box-shadow: 0 0 0 4px rgba(57, 255, 20, .25), 0 0 26px rgba(57, 255, 20, .55); } }
.admin-split > section > .admin-listbar { position: sticky; top: 52px; z-index: 2; background: var(--ink); padding: 6px 0; }
/* sürüklenen satır listeyi taşırınca kaydırma çubuğu belirip genişliği daraltmasın (satırlar sarıp yükseklik değişiyordu) */
.admin-split > section, .admin-split > aside { scrollbar-gutter: stable; }
html { scrollbar-gutter: stable; }
