/* ==========================================================================
   Groyt Müzik Paneli (11 Ekim 2026)
   Düzen: üstte ince çubuk (sunucu seçici) · solda menü · ortada görünüm ·
   sağda sıra · en altta sabit oynatıcı. Dar ekranda menü üstte kayan şerit,
   sıra alttan açılan çekmece. Bilerek tek (koyu) tema: sitenin dünyası.
   ========================================================================== */
:root {
  color-scheme: dark;
  --bg: #07080d;
  --panel: #0e1017;
  --panel-2: #151824;
  --panel-3: #1c2030;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f2f4f8;
  --muted: #9097ab;
  --faint: #5f667a;
  --accent: #ffc107;
  --accent-2: #ffda47;
  --accent-ink: #1b1400;
  --accent-soft: rgba(255, 193, 7, 0.12);
  --heart: #ff5c8a;
  --ok: #3ddc84;
  --warn: #ffb547;
  --danger: #ff6464;
  --font: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --radius-sm: 9px;
  --bar-h: 92px;
  --top-h: 60px;
  --nav-w: 212px;
  --queue-w: 340px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; }
code { font-family: ui-monospace, Consolas, monospace; font-size: 0.9em; padding: 1px 5px; border-radius: 5px; background: var(--panel-3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ---------- Üst çubuk ---------- */
.mz-top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  height: var(--top-h); display: flex; align-items: center; gap: 16px; padding-inline: 20px;
  background: rgba(7, 8, 13, 0.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.mz-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.mz-brand-logo { width: 30px; height: 30px; border-radius: 8px; }
.mz-brand-name { font-weight: 700; font-size: 16px; }
.mz-guild { position: relative; min-width: 0; }
.mz-guild-btn {
  display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; max-width: 320px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
}
.mz-guild-btn:hover { border-color: var(--line-2); }
.mz-guild-icon, .mz-gicon {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; overflow: hidden;
  background: var(--panel-3); font-size: 12px; font-weight: 700; color: var(--muted);
}
.mz-guild-icon img, .mz-gicon img { width: 100%; height: 100%; object-fit: cover; }
.mz-guild-text { display: grid; text-align: left; min-width: 0; line-height: 1.15; }
.mz-guild-text small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-guild-text b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-chev { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
.mz-guild-menu {
  position: absolute; top: calc(100% + 8px); left: 0; width: min(340px, calc(100vw - 32px)); max-height: 60vh; overflow: auto; padding: 6px;
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.mz-guild-opt { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px; background: none; border: 0; border-radius: var(--radius-sm); text-align: left; }
.mz-guild-opt:hover, .mz-guild-opt[aria-selected="true"] { background: var(--panel-3); }
.mz-guild-opt .mz-gname { flex: 1; min-width: 0; display: grid; line-height: 1.2; }
.mz-guild-opt .mz-gname b { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-guild-opt .mz-gname small { font-size: 12px; color: var(--muted); }
.mz-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.18); flex-shrink: 0; }
.mz-top-links { margin-left: auto; display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.mz-link { font-size: 14px; color: var(--muted); text-decoration: none; }
.mz-link:hover { color: var(--text); }
.mz-me { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.mz-me img { width: 28px; height: 28px; border-radius: 50%; }

/* ---------- Kapı ---------- */
.mz-gate { min-height: calc(100vh - var(--top-h)); display: grid; place-items: center; padding: 24px 16px; }
.mz-gate-card { width: min(440px, 100%); text-align: center; display: grid; gap: 14px; justify-items: center; padding: 32px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.mz-gate-card h1 { margin: 0; font-size: 22px; text-wrap: balance; }
.mz-gate-card p { margin: 0; color: var(--muted); }
.mz-spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--panel-3); border-top-color: var(--accent); animation: mz-spin 0.8s linear infinite; }
@keyframes mz-spin { to { transform: rotate(360deg); } }

/* ---------- Kabuk ---------- */
.mz-shell {
  display: grid; grid-template-columns: var(--nav-w) minmax(0, 1fr) var(--queue-w); gap: 20px;
  max-width: 1500px; margin: 0 auto;
  padding: 20px 20px calc(var(--bar-h) + 28px + env(safe-area-inset-bottom, 0px));
}
.mz-nav {
  position: sticky; top: calc(var(--top-h) + 20px); align-self: start;
  display: grid; gap: 2px; padding: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.mz-nav-label { margin: 10px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.mz-nav-label:first-child { margin-top: 2px; }
.mz-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: var(--radius-sm); text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; }
.mz-nav a svg { width: 18px; height: 18px; flex-shrink: 0; }
.mz-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.mz-nav a.is-active { color: var(--text); background: var(--accent-soft); }
.mz-nav a.is-active svg { color: var(--accent); }
.mz-content { min-width: 0; }
.mz-view { display: grid; gap: 18px; align-content: start; min-width: 0; }
.mz-view-head h1 { margin: 0; font-size: 26px; text-wrap: balance; }
.mz-view-head p { margin: 4px 0 0; color: var(--muted); max-width: 62ch; }
.mz-view-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.mz-head-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mz-section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 6px 0 -6px; }
.mz-section-title h2 { margin: 0; font-size: 16px; }
.mz-section-title a, .mz-section-title button { font-size: 13px; color: var(--muted); background: none; border: 0; text-decoration: none; }
.mz-section-title a:hover, .mz-section-title button:hover { color: var(--text); }

/* ---------- Çalan şarkı ---------- */
.mz-now { position: relative; overflow: hidden; display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.mz-now-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(48px) saturate(1.3); opacity: 0.22; transform: scale(1.3); pointer-events: none; }
.mz-now > *:not(.mz-now-bg) { position: relative; }
.mz-cover { width: 188px; aspect-ratio: 1; max-width: 100%; border-radius: 12px; object-fit: cover; background: var(--panel-3); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); }
.mz-cover-ph { display: grid; place-items: center; color: var(--faint); }
.mz-cover-ph svg { width: 44%; height: 44%; }
.mz-now-info { display: grid; gap: 10px; min-width: 0; }
.mz-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.mz-eyebrow.is-paused { color: var(--warn); }
.mz-eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.mz-eq i { width: 3px; background: currentColor; border-radius: 1px; animation: mz-eq 0.9s ease-in-out infinite; }
.mz-eq i:nth-child(2) { animation-delay: -0.3s; }
.mz-eq i:nth-child(3) { animation-delay: -0.6s; }
@keyframes mz-eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.is-paused .mz-eq i { animation: none; height: 40%; }
.mz-title { margin: 0; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.15; font-weight: 700; text-wrap: balance; overflow-wrap: anywhere; }
.mz-title a { text-decoration: none; }
.mz-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.mz-artist { margin: 0; color: var(--muted); font-size: 16px; overflow-wrap: anywhere; }
.mz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; align-items: center; }
.mz-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 999px; max-width: 100%; }
.mz-chip b { color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-avatars { display: inline-flex; }
.mz-avatars img, .mz-avatars span { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--panel); margin-left: -6px; background: var(--panel-3); }
.mz-avatars img:first-child, .mz-avatars span:first-child { margin-left: 0; }
.mz-now-actions { display: flex; gap: 8px; margin-top: 2px; flex-wrap: wrap; }
.mz-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.mz-filters-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.mz-filter { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; font: inherit; font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.mz-filter:hover:not(:disabled) { color: var(--text); border-color: var(--line-2); }
.mz-filter.is-on { color: var(--accent); background: var(--accent-soft); border-color: rgba(255, 193, 7, 0.4); font-weight: 600; cursor: default; }
.mz-filter:disabled:not(.is-on) { opacity: 0.5; cursor: not-allowed; }
.mz-filter-eq { color: var(--text); }
.mz-filter-eq.is-custom { color: var(--accent); border-color: rgba(255, 193, 7, 0.4); }
.mz-lock { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; padding: 1px 7px; border-radius: 999px; color: var(--accent-ink); background: var(--accent); }
.mz-chip-vote b, .mz-chip-mix b { color: var(--accent); }

/* ---------- Hızlı radyo ---------- */
.mz-radio { display: grid; gap: 10px; }
.mz-section-hint { font-size: 13px; color: var(--muted); }
.mz-radio-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.mz-radio-tile { display: grid; justify-items: center; gap: 4px; padding: 12px 8px 10px; font: inherit; color: var(--text); text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color 0.15s, transform 0.15s, background 0.15s; min-width: 0; }
.mz-radio-tile:hover:not(:disabled) { border-color: var(--line-2); transform: translateY(-2px); }
.mz-radio-tile:disabled { opacity: 0.6; cursor: progress; }
.mz-radio-tile.is-on { border-color: rgba(255, 193, 7, 0.55); background: var(--accent-soft); cursor: default; }
.mz-radio-logo { position: relative; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: var(--panel-3); margin-bottom: 4px; }
.mz-radio-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mz-radio-live { position: absolute; right: 4px; bottom: 4px; padding: 3px 4px; border-radius: 6px; background: rgba(0, 0, 0, 0.7); }
.mz-radio-tile b { font-size: 13px; font-weight: 600; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-radio-tile small { font-size: 12px; color: var(--muted); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-radio-tile.is-on small { color: var(--accent); }

/* ---------- Ekolayzır penceresi ---------- */
.mz-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(3, 4, 8, 0.66); backdrop-filter: blur(6px); }
.mz-modal[hidden] { display: none; }
.mz-eqd { width: min(600px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; gap: 14px; padding: 22px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.mz-eq-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mz-eq-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(255, 193, 7, 0.3); }
.mz-eq-icon svg { width: 22px; height: 22px; }
.mz-eq-head h2 { margin: 0; font-size: 18px; }
.mz-eq-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.mz-eq-close { border-radius: 50%; background: rgba(255, 255, 255, 0.06); }
.mz-eq-label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mz-eq-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mz-eq-preset { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px 12px; font: inherit; font-size: 13px; font-weight: 500; color: var(--muted); text-align: left; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-eq-preset:hover:not(:disabled) { color: var(--text); border-color: var(--line-2); }
.mz-eq-preset.is-on { color: var(--text); font-weight: 700; background: var(--accent-soft); border-color: var(--accent); }
.mz-eq-preset:disabled { opacity: 0.5; cursor: not-allowed; }
.mz-eq-board { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; padding: 16px 10px 12px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); border-radius: 14px; }
.mz-eq-band { display: grid; justify-items: center; gap: 8px; min-width: 0; }
.mz-eq-val { font: 600 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); min-height: 16px; }
.mz-eq-hz { font: 500 10px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); white-space: nowrap; }
.mz-eq-band input[type="range"] { writing-mode: vertical-lr; direction: rtl; width: 22px; height: 150px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.mz-eq-band input[type="range"]:disabled { cursor: not-allowed; opacity: 0.5; }
/* Genel kaydırıcı stili (aşağıda) yatay ve tutamaksız; ekolayzırda dikey, tutamak hep görünür. */
.mz-eq-band input[type="range"]::-webkit-slider-runnable-track { width: 8px; height: 100%; border-radius: 4px; background: linear-gradient(to bottom, var(--panel-3) calc(50% - 1px), var(--line-2) calc(50% - 1px), var(--line-2) calc(50% + 1px), var(--panel-3) calc(50% + 1px)); }
.mz-eq-band input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 12px; margin: 0 0 0 -8px; border-radius: 4px; background: var(--accent); opacity: 1; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.mz-eq-band input[type="range"]::-moz-range-track { width: 8px; height: 100%; border-radius: 4px; background: var(--panel-3); }
.mz-eq-band input[type="range"]::-moz-range-progress { background: transparent; }
.mz-eq-band input[type="range"]::-moz-range-thumb { width: 24px; height: 12px; border: 0; border-radius: 4px; background: var(--accent); opacity: 1; }
.mz-eq-band input[type="range"]:hover::-webkit-slider-runnable-track { background: linear-gradient(to bottom, var(--panel-3) calc(50% - 1px), var(--line-2) calc(50% - 1px), var(--line-2) calc(50% + 1px), var(--panel-3) calc(50% + 1px)); }
.mz-eq-band input[type="range"]:disabled::-webkit-slider-thumb { background: var(--muted); }
.mz-eq-scale { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.mz-eq-note { margin: 0; padding: 10px 12px; font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 10px; }
.mz-eq-lock { display: grid; gap: 6px; justify-items: start; padding: 14px; font-size: 13px; color: var(--muted); background: var(--accent-soft); border: 1px solid rgba(255, 193, 7, 0.3); border-radius: 12px; }
.mz-eq-lock b { color: var(--text); font-size: 14px; }
.mz-eq-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Sıra: tutma kolu ---------- */
.mz-grip { display: none; place-items: center; width: 22px; height: 28px; color: var(--muted); cursor: grab; touch-action: none; }
.mz-grip svg { width: 16px; height: 16px; fill: currentColor; }
.mz-queue-list .mz-row[draggable="true"]:hover .mz-grip { display: grid; }
.mz-queue-list .mz-row[draggable="true"]:hover .mz-qn { display: none; }
@media (pointer: coarse) {
  .mz-grip { display: grid; }
  .mz-qn { display: none; }
}
#mixBtn.is-on { color: var(--accent); }

.mz-now-empty { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 40px 22px; }
.mz-now-empty .mz-cover { width: 96px; }
.mz-now-empty h2 { margin: 0; font-size: 20px; }
.mz-now-empty p { margin: 0; color: var(--muted); max-width: 46ch; }

/* ---------- Bilgi şeridi ---------- */
.mz-notice { display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-size: 14px; background: var(--accent-soft); border: 1px solid rgba(255, 193, 7, 0.25); border-radius: var(--radius-sm); }
.mz-notice svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.mz-notice.is-info { background: rgba(255, 255, 255, 0.04); border-color: var(--line); }
.mz-notice.is-info svg { color: var(--muted); }

/* ---------- Arama ---------- */
.mz-search { display: grid; gap: 10px; }
.mz-search-bar { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; }
.mz-search-bar:focus-within { border-color: rgba(255, 193, 7, 0.45); }
.mz-search-bar > svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.mz-search-bar input { flex: 1; min-width: 0; background: none; border: 0; outline: none; padding: 8px 0; font-size: 15px; }
.mz-search-bar input::placeholder { color: var(--faint); }
.mz-results { display: grid; gap: 2px; }
.mz-results:empty { display: none; }
.mz-results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 6px 8px; font-size: 13px; color: var(--muted); }
.mz-results-head button.mz-link-btn { background: none; border: 0; color: var(--muted); font-size: 13px; }
.mz-results-head button.mz-link-btn:hover { color: var(--text); }

/* ---------- Düğmeler ---------- */
.mz-btn { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel-2); font-weight: 600; font-size: 14px; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.mz-btn:hover:not(:disabled) { border-color: var(--muted); }
.mz-btn-accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.mz-btn-accent:hover:not(:disabled) { background: var(--accent-2); border-color: transparent; }
.mz-btn-danger { color: var(--danger); }
.mz-btn:disabled { opacity: 0.55; }
.mz-btn-sm { padding: 6px 12px; font-size: 13px; }
.mz-icon-btn { position: relative; width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; border-radius: 50%; color: var(--muted); flex-shrink: 0; }
.mz-icon-btn svg { width: 19px; height: 19px; }
.mz-icon-btn:hover:not(:disabled) { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.mz-icon-btn.is-on { color: var(--accent); }
.mz-icon-btn:disabled { opacity: 0.35; }
.mz-icon-btn.mz-sm { width: 30px; height: 30px; }
.mz-icon-btn.mz-sm svg { width: 16px; height: 16px; }
.mz-icon-btn.mz-danger:hover:not(:disabled) { color: var(--danger); }
.mz-heart.is-fav { color: var(--heart); }
.mz-heart.is-fav svg path { fill: currentColor; }

/* ---------- Şarkı satırı ---------- */
.mz-tracks { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.mz-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: var(--radius-sm); }
.mz-row.has-num { grid-template-columns: 24px 44px minmax(0, 1fr) auto; }
.mz-row:hover { background: var(--panel); }
.mz-row-art { width: 44px; height: 44px; border-radius: 7px; object-fit: cover; background: var(--panel-3); }
.mz-row-text { display: grid; min-width: 0; line-height: 1.25; }
.mz-row-text b { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-row-text small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-row-side { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mz-row-side .mz-dur { min-width: 40px; text-align: right; margin-right: 4px; }
.mz-qi { font-size: 12px; color: var(--faint); text-align: right; font-variant-numeric: tabular-nums; }
.mz-tag { font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--panel-3); color: var(--muted); white-space: nowrap; }
.mz-skeleton { height: 60px; border-radius: var(--radius-sm); background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: mz-shimmer 1.2s linear infinite; }
@keyframes mz-shimmer { to { background-position: -200% 0; } }
.mz-empty { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 36px 18px; color: var(--muted); background: var(--panel); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.mz-empty b { color: var(--text); font-size: 16px; }
.mz-empty-line { padding: 14px 8px; color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Liste kartları (Keşfet, ana ekran rafı) ---------- */
.mz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 14px; }
.mz-card { display: grid; gap: 10px; align-content: start; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; overflow: hidden; }
.mz-card > * { min-width: 0; }
.mz-card:hover { border-color: var(--line-2); background: var(--panel-2); }
/* Kare kapak: 2×2 hücreler sabit, kare olmayan kapaklar taşmadan kırpılır. */
.mz-mosaic { position: relative; width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); background: var(--panel-3); }
.mz-mosaic img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; display: block; }
.mz-mosaic.is-single { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.mz-mosaic .mz-cover-ph { grid-column: 1 / -1; }
.mz-card-play { position: absolute; right: 8px; bottom: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45); opacity: 0; transform: translateY(4px); transition: opacity 0.15s, transform 0.15s; }
.mz-card:hover .mz-card-play, .mz-card:focus-within .mz-card-play { opacity: 1; transform: none; }
.mz-card-play svg { width: 16px; height: 16px; }
.mz-card b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-card small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-card-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.mz-card-meta:empty { display: none; }

/* ---------- Kişisel kütüphane (sunucu seçilmedi) ---------- */
.mz-shell.is-personal { grid-template-columns: var(--nav-w) minmax(0, 1fr); padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.mz-shell.is-personal .mz-queue, .mz-shell.is-personal .mz-search { display: none; }
.mz-now-empty .mz-now-actions { justify-content: center; }
.mz-now-empty .mz-now-actions .mz-btn { gap: 8px; }

/* ---------- Bölünmüş görünüm (Çalma listeleri) ---------- */
.mz-split { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; align-items: start; }
.mz-pl-list { display: grid; gap: 4px; padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.mz-pl-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px; border-radius: var(--radius-sm); background: none; border: 0; text-align: left; width: 100%; }
.mz-pl-item:hover { background: var(--panel-2); }
.mz-pl-item.is-on { background: var(--accent-soft); }
.mz-pl-item .mz-mosaic { width: 40px; border-radius: 7px; }
.mz-pl-item b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.mz-pl-item small { font-size: 12px; color: var(--muted); }
.mz-pl-detail { display: grid; gap: 14px; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.mz-pl-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; }
.mz-pl-head h2 { margin: 0; font-size: 22px; overflow-wrap: anywhere; }
.mz-pl-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.mz-inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.mz-inline-form input:not([type="checkbox"]) { flex: 1; min-width: 180px; padding: 9px 12px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); outline: none; }
.mz-inline-form input:focus { border-color: rgba(255, 193, 7, 0.45); }
.mz-check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }

/* ---------- İstatistik ---------- */
.mz-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mz-stat { padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.mz-stat b { display: block; font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mz-stat span { font-size: 13px; color: var(--muted); }
.mz-seg { display: inline-flex; padding: 3px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; }
.mz-seg button { padding: 6px 12px; border: 0; background: none; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.mz-seg button.is-on { background: var(--panel-3); color: var(--text); }
.mz-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.mz-box { display: grid; gap: 10px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.mz-box-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.mz-box-head h2 { margin: 0; font-size: 15px; }
.mz-plays { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Destek ---------- */
.mz-support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.mz-support-item { display: grid; gap: 4px; align-content: start; padding: 18px; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.mz-support-item:hover { border-color: rgba(255, 193, 7, 0.4); background: var(--panel-2); }
.mz-support-ico { font-size: 22px; margin-bottom: 6px; }
.mz-support-item b { font-size: 15px; }
.mz-support-item span:not(.mz-support-ico) { font-size: 13px; color: var(--muted); }

/* ---------- Ayarlar ---------- */
.mz-card-list { display: grid; gap: 14px; }
.mz-setting-group { padding: 6px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.mz-setting-group > h2 { margin: 12px 0 2px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.mz-setting { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mz-setting:last-child { border-bottom: 0; }
.mz-setting div { min-width: 0; }
.mz-setting b { display: block; font-size: 14.5px; font-weight: 600; }
.mz-setting small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.mz-toggle { position: relative; width: 44px; height: 26px; flex-shrink: 0; }
.mz-toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.mz-toggle span { position: absolute; inset: 0; border-radius: 999px; background: var(--panel-3); border: 1px solid var(--line-2); transition: background 0.15s; pointer-events: none; }
.mz-toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--muted); transition: transform 0.15s, background 0.15s; }
.mz-toggle input:checked + span { background: var(--accent); border-color: transparent; }
.mz-toggle input:checked + span::after { transform: translateX(18px); background: var(--accent-ink); }
.mz-toggle input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.mz-rules { display: grid; gap: 6px; margin: 4px 0 14px; padding: 0; list-style: none; }
.mz-rules li { font-size: 14px; color: var(--muted); }
.mz-rules li b { color: var(--text); }

/* ---------- Yardım ---------- */
.mz-faq { display: grid; gap: 8px; }
.mz-faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.mz-faq summary { cursor: pointer; list-style: none; padding: 14px 16px; font-weight: 600; font-size: 14.5px; display: flex; justify-content: space-between; gap: 12px; }
.mz-faq summary::-webkit-details-marker { display: none; }
.mz-faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 18px; line-height: 1; }
.mz-faq details[open] summary::after { content: "−"; }
.mz-faq details p { margin: 0; padding: 0 16px 14px; color: var(--muted); font-size: 14px; }
.mz-report { display: grid; gap: 10px; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.mz-report h2 { margin: 0; font-size: 16px; }
.mz-report p { margin: 0; color: var(--muted); font-size: 14px; }
.mz-report textarea { width: 100%; resize: vertical; min-height: 96px; padding: 10px 12px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); outline: none; }
.mz-report textarea:focus { border-color: rgba(255, 193, 7, 0.45); }
.mz-report-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }

/* ---------- Sıra ---------- */
.mz-queue {
  position: sticky; top: calc(var(--top-h) + 20px); max-height: calc(100vh - var(--top-h) - var(--bar-h) - 48px);
  display: grid; grid-template-rows: auto minmax(0, 1fr); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; align-self: start;
}
.mz-queue-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 16px 12px; border-bottom: 1px solid var(--line); }
.mz-queue-head h2 { margin: 0; font-size: 16px; }
.mz-queue-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mz-queue-actions { display: flex; gap: 2px; }
.mz-queue-close { display: none; }
.mz-queue-list { list-style: none; margin: 0; padding: 6px; overflow: auto; min-height: 120px; }
.mz-queue-list .mz-row { grid-template-columns: 22px 40px minmax(0, 1fr) auto; gap: 10px; }
.mz-queue-list .mz-row-art { width: 40px; height: 40px; }
.mz-row-tools { display: none; gap: 0; }
.mz-queue-list .mz-row:hover .mz-row-tools, .mz-queue-list .mz-row:focus-within .mz-row-tools { display: flex; }
.mz-queue-list .mz-row:hover .mz-dur, .mz-queue-list .mz-row:focus-within .mz-dur { display: none; }
.mz-row[draggable="true"] { cursor: grab; }
.mz-row.is-dragging { opacity: 0.4; }
.mz-row.is-drop-before { box-shadow: inset 0 2px 0 var(--accent); }
.mz-row.is-drop-after { box-shadow: inset 0 -2px 0 var(--accent); }
.mz-queue-empty { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 36px 16px; color: var(--muted); font-size: 14px; }
.mz-queue-empty b { color: var(--text); font-size: 15px; }

/* ---------- Açılır menü (listeye ekle) ---------- */
.mz-pop { position: fixed; z-index: 70; min-width: 220px; max-width: min(300px, calc(100vw - 32px)); max-height: 50vh; overflow: auto; padding: 6px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); }
.mz-pop p { margin: 4px 8px 6px; font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; }
.mz-pop button { width: 100%; display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; border: 0; background: none; border-radius: var(--radius-sm); text-align: left; font-size: 14px; }
.mz-pop button:hover { background: var(--panel-3); }
.mz-pop button small { color: var(--muted); }

/* ---------- Alt oynatıcı ---------- */
.mz-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; min-height: var(--bar-h);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 16px;
  padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 11, 18, 0.95); backdrop-filter: blur(16px); border-top: 1px solid var(--line);
}
.mz-bar-track { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mz-bar-track img, .mz-bar-track .mz-cover-ph { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--panel-3); flex-shrink: 0; }
.mz-bar-track > div:not(.mz-cover-ph) { display: grid; min-width: 0; line-height: 1.25; }
.mz-bar-track b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-bar-track small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-bar-center { display: grid; gap: 4px; justify-items: center; min-width: 0; }
.mz-controls { display: flex; align-items: center; gap: 8px; }
.mz-play { width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--text); color: var(--bg); }
.mz-play svg { width: 18px; height: 18px; }
.mz-play:hover:not(:disabled) { transform: scale(1.05); }
.mz-play:disabled { opacity: 0.4; }
.mz-loop-badge { position: absolute; top: 4px; right: 4px; font-size: 9px; font-weight: 700; line-height: 1; padding: 2px 3px; border-radius: 4px; background: var(--accent); color: var(--accent-ink); }
.mz-progress { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mz-progress span:first-child { text-align: right; }
.mz-bar-right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.mz-vol-num { width: 28px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mz-queue-toggle { display: none; }
.mz-q-count { position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 700; display: grid; place-items: center; }

input[type="range"] { -webkit-appearance: none; appearance: none; height: 16px; background: none; cursor: pointer; width: 100%; --fill: 0%; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--text) var(--fill), var(--panel-3) var(--fill)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--panel-3); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--text); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4px; border-radius: 50%; background: var(--text); opacity: 0; transition: opacity 0.15s; }
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--text); opacity: 0; }
input[type="range"]:hover::-webkit-slider-thumb, input[type="range"]:focus-visible::-webkit-slider-thumb { opacity: 1; }
input[type="range"]:hover::-moz-range-thumb { opacity: 1; }
input[type="range"]:hover::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--accent) var(--fill), var(--panel-3) var(--fill)); }
input[type="range"]:disabled { cursor: not-allowed; opacity: 0.45; }
#volume { width: 110px; }

/* ---------- Bildirimler ---------- */
.mz-toasts { position: fixed; left: 50%; bottom: calc(var(--bar-h) + 16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 80; display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); pointer-events: none; }
.mz-toast { padding: 11px 14px; border-radius: var(--radius-sm); background: var(--panel-3); border: 1px solid var(--line-2); font-size: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); animation: mz-in 0.2s ease-out; }
.mz-toast.is-error { border-color: rgba(255, 100, 100, 0.45); }
.mz-toast.is-ok { border-color: rgba(61, 220, 132, 0.4); }
@keyframes mz-in { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Dar ekran ---------- */
@media (max-width: 1280px) {
  .mz-shell { grid-template-columns: var(--nav-w) minmax(0, 1fr); }
  .mz-queue {
    position: fixed; top: auto; right: 16px; left: auto; bottom: calc(var(--bar-h) + 12px + env(safe-area-inset-bottom, 0px));
    width: min(380px, calc(100vw - 32px)); max-height: min(70vh, 600px); z-index: 35;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); transform: translateY(calc(100% + 120px)); transition: transform 0.25s ease;
  }
  .mz-queue.is-open { transform: none; }
  .mz-queue-close, .mz-queue-toggle { display: grid; }
  .mz-queue-list .mz-row-tools { display: flex; }
  .mz-queue-list .mz-dur { display: none; }
}
@media (max-width: 960px) {
  .mz-shell, .mz-shell.is-personal { grid-template-columns: minmax(0, 1fr); padding-inline: 16px; }
  .mz-nav {
    position: sticky; top: var(--top-h); z-index: 20; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
    margin: -20px -16px 0; padding: 8px 16px; border-radius: 0; border-inline: 0; border-top: 0; background: rgba(7, 8, 13, 0.94);
  }
  .mz-nav::-webkit-scrollbar { display: none; }
  .mz-nav-label { display: none; }
  .mz-nav a { flex-shrink: 0; padding: 7px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
  .mz-nav a svg { width: 16px; height: 16px; }
  .mz-split, .mz-two { grid-template-columns: minmax(0, 1fr); }
  .mz-queue { left: 0; right: 0; width: auto; bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; }
  .mz-bar { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "track right" "center center"; gap: 6px 12px; padding-inline: 16px; }
  .mz-bar-track { grid-area: track; }
  .mz-bar-center { grid-area: center; }
  .mz-bar-right { grid-area: right; }
  #volume, .mz-vol-num { display: none; }
  .mz-radio-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  :root { --bar-h: 128px; }
}
@media (max-width: 600px) {
  .mz-top { padding-inline: 16px; gap: 10px; }
  .mz-brand-name, .mz-link, #meName { display: none; }
  .mz-guild-btn { max-width: 210px; }
  .mz-now { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 18px; }
  .mz-cover { width: min(220px, 64vw); }
  .mz-chips, .mz-now-actions, .mz-filters { justify-content: center; }
  .mz-filters-label { flex-basis: 100%; text-align: center; margin: 0; }
  .mz-stats { grid-template-columns: 1fr 1fr; }
  .mz-stats .mz-stat:last-child { grid-column: 1 / -1; }
  .mz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mz-radio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .mz-radio-logo { width: 54px; height: 54px; }
  .mz-eqd { padding: 16px; gap: 12px; }
  .mz-eq-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mz-eq-board { gap: 0; padding: 12px 4px 10px; }
  .mz-eq-band input[type="range"] { height: 130px; }
  .mz-eq-hz { font-size: 9px; }
  .mz-eq-scale { font-size: 11px; }
  .mz-card-play { opacity: 1; transform: none; }
  .mz-bar-track img, .mz-bar-track .mz-cover-ph { width: 44px; height: 44px; }
  .mz-row .mz-hide-sm { display: none; }
}

