/* ============ Sahne – arayüz ============ */
:root {
  --bg: #0c0e12;
  --bg2: #111419;
  --surface: #181c23;
  --surface2: #20252e;
  --surface3: #2a303b;
  --border: rgba(255, 255, 255, .07);
  --border2: rgba(255, 255, 255, .12);
  --text: #eceef2;
  --muted: #9ba3b1;
  --dim: #6c7484;
  --accent: #f5a524;
  --accent2: #ffbe4d;
  --accent-ink: #1d1400;
  --accent-soft: rgba(245, 165, 36, .14);
  --danger: #ef5350;
  --ok: #34c77b;
  --radius: 10px;
  --radius-lg: 16px;
  --sidebar: 240px;
  --topbar: 64px;
  --music: 0px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .45);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg); color: var(--text); font: 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.has-music { --music: 76px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; font-weight: 650; letter-spacing: -.01em; }
::selection { background: var(--accent); color: var(--accent-ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

.ic { display: inline-flex; width: 20px; height: 20px; flex: none; }
.ic svg { width: 100%; height: 100%; }
.ic.sm { width: 16px; height: 16px; }
.ic.lg { width: 26px; height: 26px; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.boot { display: grid; place-items: center; height: 100vh; }

/* ---------- düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--border2); background: var(--surface2); cursor: pointer;
  font-weight: 600; white-space: nowrap; transition: background .15s, transform .1s, border-color .15s;
  user-select: none;
}
.btn:hover { background: var(--surface3); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.primary:hover { background: var(--accent2); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: rgba(255, 255, 255, .07); }
.btn.danger { color: #fff; background: #b4302d; border-color: transparent; }
.btn.danger:hover { background: var(--danger); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn.lg { height: 48px; padding: 0 24px; font-size: 15px; }
.btn.icon { width: 40px; padding: 0; }
.btn.icon.sm { width: 32px; }
.btn.on { color: var(--accent); border-color: rgba(245, 165, 36, .4); background: var(--accent-soft); }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: transparent; cursor: pointer; color: var(--muted); transition: background .15s, color .15s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.icon-btn.on { color: var(--accent); }

/* ---------- form ---------- */
input, select, textarea {
  font: inherit; color: var(--text); background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 8px; padding: 9px 12px; outline: none; width: 100%; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
select { appearance: none; padding-right: 32px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ba3b1' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; }
select.compact { width: auto; height: 36px; padding: 0 32px 0 12px; border-radius: 999px; background-color: var(--surface2); }
textarea { resize: vertical; min-height: 80px; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }
input[type=range] { padding: 0; border: 0; background: transparent; accent-color: var(--accent); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > label { font-weight: 600; font-size: 13px; color: var(--muted); }
.field .hint { font-size: 12.5px; color: var(--dim); }
.field-row { display: flex; gap: 10px; align-items: center; }
.check { display: flex; gap: 10px; align-items: center; cursor: pointer; padding: 6px 0; }
.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch i { position: absolute; inset: 0; background: var(--surface3); border-radius: 99px; transition: .2s; cursor: pointer; }
.switch i::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(18px); }
.form-error { color: #ff8a80; font-size: 13px; min-height: 18px; }

/* ---------- kabuk ---------- */
.shell { min-height: 100vh; }
.sidebar {
  position: fixed; z-index: 30; inset: 0 auto 0 0; width: var(--sidebar); background: var(--bg2);
  border-right: 1px solid var(--border); display: flex; flex-direction: column; padding-bottom: var(--music);
  transition: transform .25s ease;
}
.brand { display: flex; align-items: center; gap: 10px; height: var(--topbar); padding: 0 20px; font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.brand img { width: 30px; height: 30px; }
.brand small { font-size: 11px; color: var(--dim); font-weight: 500; letter-spacing: .02em; display: block; margin-top: -3px; }
.nav { flex: 1; overflow-y: auto; padding: 8px 10px 20px; }
.nav-title { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); font-weight: 700; padding: 18px 12px 6px; }
.nav-item {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; color: var(--muted);
  font-weight: 550; transition: background .15s, color .15s; position: relative;
}
.nav-item:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.nav-item.active { background: var(--accent-soft); color: var(--accent); }
.nav-item .count { margin-left: auto; font-size: 12px; color: var(--dim); font-weight: 500; }
.nav-item span.label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-foot { border-top: 1px solid var(--border); padding: 12px; display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), #ff7a45); flex: none; text-transform: uppercase; }
.side-foot .who { flex: 1; min-width: 0; }
.side-foot .who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-foot .who small { color: var(--dim); }
.main { margin-left: var(--sidebar); min-height: 100vh; padding-bottom: calc(var(--music) + 40px); }
.topbar {
  position: sticky; top: 0; z-index: 20; height: var(--topbar); display: flex; align-items: center; gap: 12px; padding: 0 28px;
  background: linear-gradient(var(--bg) 40%, rgba(12, 14, 18, .85)); backdrop-filter: blur(12px);
}
.topbar.transparent { background: linear-gradient(rgba(12, 14, 18, .7), transparent); backdrop-filter: none; }
.topbar .menu-btn { display: none; }
.search-box { position: relative; flex: 1; max-width: 520px; }
.search-box .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--dim); pointer-events: none; }
.search-box input { padding-left: 42px; border-radius: 999px; background: rgba(255, 255, 255, .06); border-color: transparent; height: 40px; }
.search-box input:focus { background: var(--bg2); }
.top-actions { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.scan-pill { display: none; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); padding: 5px 12px 5px 8px; border-radius: 99px; }
.scan-pill.show { display: inline-flex; }
.scan-pill .spinner { width: 14px; height: 14px; border-width: 2px; }
.backdrop-scrim { display: none; }
#view { position: relative; }
.view { padding: 8px 28px 0; animation: fade .25s ease; }
.view.flush { padding: 0; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- sayfa başlığı ---------- */
.page-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 12px 0 22px; }
.page-head h1 { font-size: 30px; }
.page-head .sub { color: var(--muted); margin-top: 2px; }
.page-head .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 22px; }
.toolbar .spacer { flex: 1; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--border); padding: 3px; border-radius: 999px; }
.seg button { border: 0; background: transparent; padding: 6px 16px; border-radius: 999px; cursor: pointer; color: var(--muted); font-weight: 600; }
.seg button.active { background: var(--surface3); color: var(--text); }

/* ---------- satırlar ---------- */
.row { margin-bottom: 34px; }
.row-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.row-head h2 { font-size: 19px; }
.row-head a.more { color: var(--muted); font-size: 13px; font-weight: 600; }
.row-head a.more:hover { color: var(--accent); }
.row-nav { margin-left: auto; display: flex; gap: 4px; }
.row-scroller { display: grid; grid-auto-flow: column; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 10px; margin: -4px -2px 0; scrollbar-width: none; scroll-behavior: smooth; }
.row-scroller::-webkit-scrollbar { display: none; }
.row-scroller > * { scroll-snap-align: start; }
.row-scroller.poster { grid-auto-columns: 158px; }
.row-scroller.wide { grid-auto-columns: 290px; }
.row-scroller.square { grid-auto-columns: 168px; }
.row-scroller.round { grid-auto-columns: 132px; }

/* ---------- ızgara ---------- */
.grid { display: grid; gap: 22px 18px; grid-template-columns: repeat(auto-fill, minmax(var(--card-w, 158px), 1fr)); }
.grid.wide { --card-w: 270px; }
.grid.square { --card-w: 168px; }
.grid.photos { --card-w: 180px; gap: 6px; }
.sentinel { height: 40px; }

/* ---------- kart ---------- */
.card { display: block; min-width: 0; position: relative; outline: none; }
.card-img { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 2/3; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); transition: transform .2s, box-shadow .2s; }
.card.wide .card-img { aspect-ratio: 16/9; }
.card.square .card-img, .card.photo .card-img { aspect-ratio: 1; }
.card.round .card-img { aspect-ratio: 1; border-radius: 50%; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.card-img img.loaded { opacity: 1; }
.card-ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; padding: 14px; text-align: center; color: var(--dim); background: linear-gradient(160deg, var(--surface2), var(--surface)); font-weight: 600; font-size: 13px; }
.card-ph .ic { width: 32px; height: 32px; opacity: .6; }
.card-ph span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-img.has-img .card-ph { display: none; }
.card:hover .card-img, .card:focus-visible .card-img { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0, 0, 0, .5); }
.card:focus-visible .card-img { outline: 2px solid var(--accent); outline-offset: 2px; }
.card-hover { position: absolute; inset: 0; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .2s; display: grid; place-items: center; }
.card:hover .card-hover { opacity: 1; }
.play-fab { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer; transform: scale(.85); transition: transform .2s; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.play-fab .ic { width: 22px; height: 22px; margin-left: 3px; }
.card:hover .play-fab { transform: scale(1); }
.play-fab:hover { background: var(--accent2); }
.card-more { position: absolute; right: 6px; bottom: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s; }
.card:hover .card-more { opacity: 1; }
.card-more:hover { background: rgba(0, 0, 0, .85); }
.card-badge { position: absolute; top: 8px; right: 8px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.card-badge.check { background: rgba(0, 0, 0, .65); color: var(--accent); padding: 0; width: 24px; }
.card-badge.check .ic { width: 14px; height: 14px; }
.card-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(0, 0, 0, .55); }
.card-progress i { display: block; height: 100%; background: var(--accent); }
.card-title { margin-top: 9px; font-weight: 600; font-size: 13.5px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-sub { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card.round .card-title, .card.round .card-sub { text-align: center; }
.card.photo .card-img { border-radius: 4px; box-shadow: none; }
.card.photo:hover .card-img { transform: none; filter: brightness(1.1); }
.collage { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; }
.collage img { position: static; opacity: 1; width: 100%; height: 100%; object-fit: cover; }
.collage.one { grid-template-columns: 1fr; grid-template-rows: 1fr; }

/* ---------- vitrin (hero) ---------- */
.hero { position: relative; height: min(68vh, 620px); min-height: 420px; margin: calc(var(--topbar) * -1) 0 28px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 9s linear; }
.hero-slide.active .hero-bg { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(12, 14, 18, .95) 0%, rgba(12, 14, 18, .6) 40%, rgba(12, 14, 18, 0) 70%), linear-gradient(0deg, var(--bg) 0%, rgba(12, 14, 18, 0) 40%); }
.hero-content { position: absolute; z-index: 2; left: 28px; bottom: 64px; max-width: 560px; }
.hero-content .kicker { color: var(--accent); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.hero-content h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; margin-bottom: 12px; text-shadow: 0 2px 20px rgba(0, 0, 0, .5); }
.hero-content .meta { color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; font-weight: 500; }
.hero-content p { color: #cfd3da; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 22px; font-size: 15px; }
.hero-content .btns { display: flex; gap: 10px; }
.hero-dots { position: absolute; z-index: 3; left: 28px; bottom: 28px; display: flex; gap: 8px; }
.hero-dots button { width: 26px; height: 4px; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .25); cursor: pointer; padding: 0; transition: background .2s, width .2s; }
.hero-dots button.active { background: var(--accent); width: 40px; }

/* ---------- detay ---------- */
.detail { position: relative; margin-top: calc(var(--topbar) * -1); }
.detail-bg { position: absolute; inset: 0 0 auto 0; height: 78vh; max-height: 760px; overflow: hidden; z-index: 0; }
.detail-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.detail-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 14, 18, .96) 0%, rgba(12, 14, 18, .7) 45%, rgba(12, 14, 18, .25) 100%), linear-gradient(0deg, var(--bg) 2%, rgba(12, 14, 18, 0) 55%); }
.detail-bg.blur img { filter: blur(40px) saturate(1.3); transform: scale(1.2); opacity: .35; }
.detail-main { position: relative; z-index: 1; display: flex; gap: 36px; padding: calc(var(--topbar) + 40px) 28px 30px; align-items: flex-start; }
.detail-poster { width: 250px; flex: none; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 2/3; background: var(--surface); box-shadow: var(--shadow); position: relative; }
.detail-poster.wide { width: 380px; aspect-ratio: 16/9; }
.detail-poster.square { aspect-ratio: 1; width: 260px; }
.detail-poster.round { aspect-ratio: 1; border-radius: 50%; width: 220px; }
.detail-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-poster.has-img .card-ph { display: none; }
.detail-poster .collage img { position: static; }
.detail-info { flex: 1; min-width: 0; max-width: 860px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--muted); font-weight: 600; margin-bottom: 8px; font-size: 14px; }
.crumbs a:hover { color: var(--accent); }
.crumbs .ic { width: 14px; height: 14px; opacity: .6; }
.detail-title { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; margin-bottom: 4px; }
.detail-orig { color: var(--dim); font-size: 15px; margin-bottom: 6px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); margin: 10px 0 6px; align-items: center; font-weight: 500; }
.detail-meta .rating { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 700; }
.detail-meta .rating .ic { width: 15px; height: 15px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 5px; border: 1px solid var(--border2); font-size: 12px; font-weight: 700; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 99px; background: rgba(255, 255, 255, .07); font-size: 12.5px; font-weight: 600; color: #d4d8de; }
a.chip:hover { background: var(--accent-soft); color: var(--accent); }
.tagline { font-style: italic; color: #c3c8d0; margin: 14px 0 6px; font-size: 15px; }
.overview { color: #d0d4db; font-size: 15px; line-height: 1.65; margin: 14px 0; max-width: 760px; }
.overview.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; align-items: center; }
.detail-actions .btn.primary { min-width: 150px; }
.progress-line { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin-top: 6px; }
.progress-line .bar { width: 160px; height: 4px; background: rgba(255, 255, 255, .15); border-radius: 4px; overflow: hidden; }
.progress-line .bar i { display: block; height: 100%; background: var(--accent); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin-top: 18px; font-size: 14px; }
.facts dt { color: var(--dim); font-weight: 600; }
.facts dd { margin: 0; color: #d0d4db; }
.detail-sections { position: relative; z-index: 1; padding: 0 28px; }

.person { text-align: center; }
.person .ph { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; margin: 0 auto 8px; background: var(--surface2); display: grid; place-items: center; color: var(--dim); font-weight: 700; font-size: 26px; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; }
.person b { display: block; font-size: 13px; line-height: 1.3; }
.person small { color: var(--muted); font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- bölüm listesi ---------- */
.ep-list { display: grid; gap: 4px; }
.ep { display: grid; grid-template-columns: 34px 220px 1fr auto; gap: 18px; align-items: center; padding: 12px; border-radius: var(--radius); transition: background .15s; cursor: pointer; }
.ep:hover { background: var(--surface); }
.ep-num { color: var(--dim); font-size: 18px; font-weight: 700; text-align: center; }
.ep-thumb { position: relative; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: var(--surface2); }
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep-thumb .card-hover { border-radius: 8px; }
.ep:hover .ep-thumb .card-hover { opacity: 1; }
.ep-title { font-weight: 650; font-size: 15px; }
.ep-meta { color: var(--muted); font-size: 13px; margin: 2px 0 6px; }
.ep-overview { color: #b9bec7; font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep-side { display: flex; gap: 4px; align-items: center; }
.watched-dot { color: var(--accent); }

/* ---------- şarkı tablosu ---------- */
.tracks { width: 100%; border-collapse: collapse; }
.tracks td { padding: 8px 10px; border-bottom: 1px solid var(--border); }
.tracks tr { transition: background .12s; cursor: pointer; }
.tracks tr:hover { background: var(--surface); }
.tracks tr.playing { color: var(--accent); }
.tracks td.num { width: 44px; text-align: center; color: var(--dim); font-variant-numeric: tabular-nums; }
.tracks tr:hover td.num .n { display: none; }
.tracks td.num .p { display: none; }
.tracks tr:hover td.num .p { display: inline-flex; color: var(--text); }
.tracks td.t-title b { display: block; font-weight: 600; }
.tracks td.t-title small { color: var(--muted); }
.tracks td.t-album { color: var(--muted); }
.tracks td.dur { width: 70px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.tracks td.act { width: 50px; text-align: right; }
.tracks td.cover { width: 52px; padding-right: 0; }
.tracks td.cover img, .tracks td.cover .ph { width: 40px; height: 40px; border-radius: 5px; object-fit: cover; background: var(--surface2); }
.disc-head td { color: var(--muted); font-weight: 700; padding-top: 20px; cursor: default; }

/* ---------- liste (geçmiş vb.) ---------- */
.list { display: grid; gap: 2px; }
.list-item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: var(--radius); transition: background .12s; }
.list-item:hover { background: var(--surface); }
.list-item .thumb { width: 120px; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; background: var(--surface2); flex: none; }
.list-item .thumb.sq { width: 52px; aspect-ratio: 1; }
.list-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-item .body { flex: 1; min-width: 0; }
.list-item .body b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-item .body small { color: var(--muted); }
.list-day { color: var(--dim); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin: 22px 12px 6px; }

/* ---------- boş durum ---------- */
.empty { text-align: center; padding: 80px 20px; color: var(--muted); max-width: 520px; margin: 0 auto; }
.empty .ic { width: 54px; height: 54px; color: var(--dim); margin-bottom: 14px; }
.empty h2 { color: var(--text); font-size: 22px; margin-bottom: 8px; }
.empty p { margin: 0 0 22px; }

.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .12); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: grid; place-items: center; padding: 80px; }
.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- açılır menü / pencere / bildirim ---------- */
.menu { position: fixed; z-index: 200; min-width: 230px; max-width: 320px; background: var(--surface2); border: 1px solid var(--border2); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; animation: pop .14s ease; max-height: 70vh; overflow-y: auto; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.menu-item { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: transparent; padding: 9px 12px; border-radius: 8px; cursor: pointer; text-align: left; font-weight: 550; }
.menu-item:hover { background: rgba(255, 255, 255, .07); }
.menu-item.danger { color: #ff8a80; }
.menu-item .ic { color: var(--muted); width: 18px; height: 18px; }
.menu-item.danger .ic { color: inherit; }
.menu-sep { height: 1px; background: var(--border); margin: 5px 4px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, .65); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; animation: fadein .15s; }
@keyframes fadein { from { opacity: 0; } }
.modal { width: 100%; max-width: 520px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius-lg); box-shadow: var(--shadow); animation: pop .18s ease; }
.modal.wide { max-width: 760px; }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 18px 20px 6px; }
.modal-head h2 { font-size: 19px; flex: 1; }
.modal-body { padding: 12px 20px; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px 18px; }
.toast-root { position: fixed; z-index: 300; left: 50%; bottom: calc(var(--music) + 24px); transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { background: var(--surface3); color: var(--text); border: 1px solid var(--border2); padding: 11px 18px; border-radius: 99px; box-shadow: var(--shadow); font-weight: 550; animation: pop .2s ease; display: flex; gap: 10px; align-items: center; max-width: 90vw; }
.toast.error { background: #4a1f1f; border-color: #7a2c2c; }
.toast.ok .ic { color: var(--ok); }

/* ---------- giriş ---------- */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(1200px 600px at 10% -10%, rgba(245, 165, 36, .16), transparent 60%), radial-gradient(900px 600px at 110% 110%, rgba(255, 110, 60, .1), transparent 60%), var(--bg); }
.auth-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 34px 30px; box-shadow: var(--shadow); }
.auth-card .logo { width: 56px; height: 56px; margin-bottom: 18px; }
.auth-card h1 { font-size: 26px; margin-bottom: 4px; }
.auth-card p { color: var(--muted); margin: 0 0 24px; }
.auth-card .btn { width: 100%; margin-top: 6px; }

/* ---------- ayarlar ---------- */
.settings { display: grid; grid-template-columns: 210px 1fr; gap: 30px; align-items: start; }
.settings-nav { position: sticky; top: calc(var(--topbar) + 10px); display: grid; gap: 2px; }
.settings-nav a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 8px; color: var(--muted); font-weight: 550; }
.settings-nav a:hover { background: var(--surface); color: var(--text); }
.settings-nav a.active { background: var(--surface2); color: var(--text); }
.settings-body { min-width: 0; max-width: 900px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 20px; }
.panel > h3 { font-size: 16px; margin-bottom: 4px; }
.panel > p.desc { color: var(--muted); margin: 0 0 18px; font-size: 13.5px; }
.panel-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.stat b { display: block; font-size: 26px; font-family: var(--font-display); }
.stat span { color: var(--muted); font-size: 13px; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: rgba(245, 165, 36, .1); border: 1px solid rgba(245, 165, 36, .3); margin-bottom: 18px; }
.alert .ic { color: var(--accent); margin-top: 1px; }
.alert.ok { background: rgba(52, 199, 123, .08); border-color: rgba(52, 199, 123, .3); }
.alert.ok .ic { color: var(--ok); }
.alert b { display: block; }
.alert p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.lib-card { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); margin-bottom: 10px; }
.lib-card .lib-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.lib-card .body { flex: 1; min-width: 0; }
.lib-card .body b { font-size: 15px; }
.lib-card .body small { display: block; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-card .acts { display: flex; gap: 4px; }
.type-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.type-pick button { border: 1px solid var(--border2); background: var(--bg2); border-radius: 12px; padding: 16px 8px; cursor: pointer; display: grid; justify-items: center; gap: 8px; font-weight: 600; color: var(--muted); }
.type-pick button.active { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.path-list { display: grid; gap: 6px; margin-bottom: 8px; }
.path-row { display: flex; gap: 8px; align-items: center; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; padding: 6px 6px 6px 12px; }
.path-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: Consolas, monospace; font-size: 13px; }
.browser { border: 1px solid var(--border2); border-radius: 10px; overflow: hidden; }
.browser-path { display: flex; gap: 8px; align-items: center; padding: 8px; background: var(--bg2); border-bottom: 1px solid var(--border); }
.browser-path input { font-family: Consolas, monospace; font-size: 13px; }
.browser-list { height: 300px; overflow-y: auto; }
.browser-list button { display: flex; width: 100%; gap: 10px; align-items: center; border: 0; background: transparent; padding: 9px 12px; cursor: pointer; text-align: left; }
.browser-list button:hover { background: rgba(255, 255, 255, .05); }
.browser-list .ic { color: var(--accent); }
.shortcuts { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border-bottom: 1px solid var(--border); }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; color: var(--dim); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.table td { padding: 11px 10px; border-bottom: 1px solid var(--border); }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 11.5px; font-weight: 700; background: var(--surface3); color: var(--muted); }
.badge.accent { background: var(--accent-soft); color: var(--accent); }
.badge.ok { background: rgba(52, 199, 123, .14); color: var(--ok); }
.pbar { height: 6px; background: var(--surface3); border-radius: 6px; overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--accent); transition: width .3s; }
.code { font-family: Consolas, monospace; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.code span { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.steps { padding-left: 20px; color: #cfd3da; line-height: 1.8; }
.steps li { margin-bottom: 4px; }
kbd { font-family: Consolas, monospace; font-size: 12px; background: var(--surface3); border: 1px solid var(--border2); border-bottom-width: 2px; padding: 1px 6px; border-radius: 5px; }

/* ---------- eşleştirme sonuçları ---------- */
.match-list { display: grid; gap: 6px; max-height: 50vh; overflow-y: auto; margin-top: 12px; }
.match-item { display: flex; gap: 12px; padding: 8px; border-radius: 10px; cursor: pointer; border: 1px solid transparent; }
.match-item:hover { background: var(--surface2); border-color: var(--border2); }
.match-item img, .match-item .ph { width: 54px; height: 81px; border-radius: 6px; object-fit: cover; background: var(--surface3); flex: none; }
.match-item small { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- video oynatıcı ---------- */
.player { position: fixed; inset: 0; z-index: 100; background: #000; color: #fff; user-select: none; overflow: hidden; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.player.hide-ui { cursor: none; }
.pl-layer { position: absolute; inset: 0; transition: opacity .3s; }
.player.hide-ui .pl-ui { opacity: 0; pointer-events: none; }
.pl-top { position: absolute; top: 0; left: 0; right: 0; padding: 20px 24px 60px; display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(rgba(0, 0, 0, .75), transparent); }
.pl-top .pl-titles h2 { font-size: 20px; }
.pl-top .pl-titles div { color: rgba(255, 255, 255, .7); font-size: 14px; margin-top: 2px; }
.pl-top .badge { background: rgba(255, 255, 255, .15); color: #fff; margin-left: auto; }
.pl-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.pl-seek { position: relative; height: 22px; display: flex; align-items: center; cursor: pointer; margin-bottom: 4px; touch-action: none; }
.pl-track { position: relative; width: 100%; height: 4px; background: rgba(255, 255, 255, .22); border-radius: 4px; transition: height .15s; }
.pl-seek:hover .pl-track, .pl-seek.drag .pl-track { height: 6px; }
.pl-buffer, .pl-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; }
.pl-buffer { background: rgba(255, 255, 255, .35); }
.pl-fill { background: var(--accent); }
.pl-knob { position: absolute; top: 50%; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%) scale(0); transition: transform .15s; box-shadow: 0 0 0 4px rgba(245, 165, 36, .25); }
.pl-seek:hover .pl-knob, .pl-seek.drag .pl-knob { transform: translate(-50%, -50%) scale(1); }
.pl-tip { position: absolute; bottom: 24px; transform: translateX(-50%); background: rgba(20, 20, 24, .95); padding: 4px 9px; border-radius: 6px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; display: none; }
.pl-seek:hover .pl-tip, .pl-seek.drag .pl-tip { display: block; }
.pl-ctrls { display: flex; align-items: center; gap: 6px; }
.pl-ctrls .icon-btn { color: #fff; width: 44px; height: 44px; }
.pl-ctrls .icon-btn .ic { width: 24px; height: 24px; }
.pl-ctrls .icon-btn:hover { background: rgba(255, 255, 255, .14); }
.pl-ctrls .icon-btn.on { color: var(--accent); }
.pl-time { font-variant-numeric: tabular-nums; font-size: 14px; margin: 0 10px; color: rgba(255, 255, 255, .9); white-space: nowrap; }
.pl-vol { display: flex; align-items: center; }
.pl-vol input { width: 0; opacity: 0; transition: width .2s, opacity .2s; }
.pl-vol:hover input, .pl-vol input:focus { width: 90px; opacity: 1; }
.pl-sp { flex: 1; }
.pl-center { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.pl-bigplay { width: 84px; height: 84px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; cursor: pointer; pointer-events: auto; backdrop-filter: blur(6px); transition: transform .15s, background .15s; }
.pl-bigplay:hover { background: var(--accent); color: var(--accent-ink); transform: scale(1.05); }
.pl-bigplay .ic { width: 36px; height: 36px; margin-left: 4px; }
.pl-spinner { position: absolute; inset: 0; display: none; place-items: center; pointer-events: none; }
.pl-spinner.show { display: grid; }
.pl-spinner .spinner { width: 54px; height: 54px; border-width: 4px; }
.pl-subs { position: absolute; left: 5%; right: 5%; bottom: 7%; text-align: center; pointer-events: none; transition: bottom .3s; font-size: calc(var(--sub-size, 100) * 0.028vh + 14px); line-height: 1.3; font-weight: 600; }
.player:not(.hide-ui) .pl-subs { bottom: 150px; }
.pl-subs span { display: inline; background: rgba(0, 0, 0, .55); padding: .08em .35em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; text-shadow: 0 1px 3px rgba(0, 0, 0, .9); white-space: pre-line; }
.pl-flash { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); background: rgba(0, 0, 0, .65); padding: 12px 20px; border-radius: 14px; font-size: 18px; font-weight: 700; opacity: 0; transition: opacity .25s; pointer-events: none; }
.pl-flash.show { opacity: 1; }
.pl-panel { position: absolute; right: 24px; bottom: 84px; width: 320px; max-height: 60vh; overflow-y: auto; background: rgba(22, 24, 30, .97); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 6px; display: none; box-shadow: var(--shadow); }
.pl-panel.show { display: block; animation: pop .14s ease; }
.pl-panel h4 { margin: 0; padding: 10px 12px 6px; font-size: 13px; color: rgba(255, 255, 255, .6); display: flex; align-items: center; gap: 8px; }
.pl-panel h4 button { border: 0; background: transparent; color: #fff; cursor: pointer; padding: 0; display: flex; }
.pl-opt { display: flex; width: 100%; align-items: center; gap: 10px; border: 0; background: transparent; color: #fff; padding: 10px 12px; border-radius: 8px; cursor: pointer; text-align: left; font-size: 14px; }
.pl-opt:hover { background: rgba(255, 255, 255, .08); }
.pl-opt .val { margin-left: auto; color: rgba(255, 255, 255, .55); font-size: 13px; }
.pl-opt .chk { width: 18px; color: var(--accent); }
.pl-opt small { display: block; color: rgba(255, 255, 255, .5); font-size: 12px; }
.pl-next { position: absolute; right: 24px; bottom: 110px; width: 360px; background: rgba(22, 24, 30, .96); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; overflow: hidden; display: none; box-shadow: var(--shadow); }
.pl-next.show { display: block; animation: pop .2s ease; }
.pl-next .img { aspect-ratio: 16/9; background: #222; position: relative; }
.pl-next .img img { width: 100%; height: 100%; object-fit: cover; }
.pl-next .ring { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--accent); }
.pl-next .body { padding: 12px 14px; }
.pl-next small { color: rgba(255, 255, 255, .6); text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.pl-next b { display: block; margin: 2px 0 10px; }
.pl-next .btns { display: flex; gap: 8px; }
.pl-error { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; background: rgba(0, 0, 0, .7); }
.pl-error > div { max-width: 460px; }
.pl-error h3 { font-size: 20px; margin-bottom: 8px; }
.pl-error p { color: rgba(255, 255, 255, .7); }

/* ---------- müzik çubuğu ---------- */
.musicbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: 76px; background: rgba(20, 23, 29, .97); border-top: 1px solid var(--border2); backdrop-filter: blur(14px); display: none; grid-template-columns: minmax(180px, 1fr) minmax(300px, 2fr) minmax(180px, 1fr); align-items: center; gap: 16px; padding: 0 16px; }
body.has-music .musicbar { display: grid; }
.mb-now { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mb-now img, .mb-now .ph { width: 52px; height: 52px; border-radius: 6px; object-fit: cover; background: var(--surface2); flex: none; cursor: pointer; }
.mb-now .t { min-width: 0; }
.mb-now b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.mb-now small { display: block; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-center { display: grid; gap: 2px; justify-items: center; }
.mb-btns { display: flex; align-items: center; gap: 4px; }
.mb-btns .play { width: 40px; height: 40px; border-radius: 50%; background: var(--text); color: var(--bg); border: 0; display: grid; place-items: center; cursor: pointer; }
.mb-btns .play:hover { transform: scale(1.05); }
.mb-btns .play .ic { width: 20px; height: 20px; }
.mb-seek { display: flex; align-items: center; gap: 10px; width: 100%; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mb-seek input { flex: 1; height: 4px; }
.mb-right { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.mb-right input { width: 100px; }
.queue-panel { position: fixed; z-index: 39; right: 12px; bottom: 88px; width: 380px; max-height: 60vh; background: var(--surface2); border: 1px solid var(--border2); border-radius: 14px; box-shadow: var(--shadow); display: none; flex-direction: column; }
.queue-panel.show { display: flex; animation: pop .15s; }
.queue-panel header { display: flex; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.queue-panel header b { flex: 1; }
.queue-list { overflow-y: auto; padding: 6px; }
.q-item { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; cursor: pointer; }
.q-item:hover { background: rgba(255, 255, 255, .06); }
.q-item.current { color: var(--accent); }
.q-item img, .q-item .ph { width: 38px; height: 38px; border-radius: 4px; object-fit: cover; background: var(--surface3); flex: none; }
.q-item .t { flex: 1; min-width: 0; }
.q-item .t b, .q-item .t small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-item .t small { color: var(--muted); }

/* ---------- fotoğraf görüntüleyici ---------- */
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(5, 6, 8, .97); display: flex; flex-direction: column; animation: fadein .2s; }
.lb-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.lb-top .t { flex: 1; min-width: 0; }
.lb-top .t b { display: block; }
.lb-top .t small { color: var(--muted); }
.lb-stage { flex: 1; position: relative; display: grid; place-items: center; min-height: 0; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .25s; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-nav:hover { background: rgba(255, 255, 255, .18); }
.lb-nav.prev { left: 16px; }
.lb-nav.next { right: 16px; }
.lb-strip { display: flex; gap: 4px; padding: 10px 16px 14px; overflow-x: auto; scrollbar-width: none; }
.lb-strip img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; cursor: pointer; opacity: .45; flex: none; transition: opacity .15s; }
.lb-strip img.active { opacity: 1; outline: 2px solid var(--accent); }

/* ---------- mobil ---------- */
@media (max-width: 900px) {
  :root { --topbar: 58px; }
  .sidebar { transform: translateX(-100%); box-shadow: var(--shadow); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .backdrop-scrim { display: block; position: fixed; inset: 0; z-index: 25; background: rgba(0, 0, 0, .55); }
  .main { margin-left: 0; }
  .topbar { padding: 0 14px; }
  .topbar .menu-btn { display: inline-grid; }
  .view { padding: 4px 16px 0; }
  .hero-content { left: 16px; right: 16px; bottom: 54px; }
  .hero-dots { left: 16px; }
  .detail-main { flex-direction: column; padding: calc(var(--topbar) + 20px) 16px 20px; gap: 22px; align-items: center; text-align: center; }
  .detail-info { width: 100%; }
  .detail-poster { width: 180px; }
  .detail-poster.wide { width: 100%; max-width: 420px; }
  .detail-poster.square, .detail-poster.round { width: 200px; }
  .detail-meta, .crumbs, .chips, .detail-actions { justify-content: center; }
  .facts { text-align: left; }
  .overview { text-align: left; }
  .detail-sections { padding: 0 16px; }
  .ep { grid-template-columns: 120px 1fr auto; gap: 12px; padding: 10px 4px; }
  .ep-num { display: none; }
  .ep-overview { -webkit-line-clamp: 2; }
  .grid { --card-w: 120px; gap: 16px 12px; }
  .grid.wide { --card-w: 220px; }
  .grid.square { --card-w: 140px; }
  .grid.photos { --card-w: 110px; gap: 3px; }
  .row-scroller.poster { grid-auto-columns: 124px; }
  .row-scroller.wide { grid-auto-columns: 240px; }
  .row-scroller.square { grid-auto-columns: 140px; }
  .row-scroller.round { grid-auto-columns: 110px; }
  .row-nav { display: none; }
  .settings { grid-template-columns: 1fr; }
  .settings-nav { position: static; display: flex; overflow-x: auto; }
  .settings-nav a { white-space: nowrap; }
  .musicbar { grid-template-columns: 1fr auto; height: 68px; }
  body.has-music { --music: 68px; }
  .mb-seek, .mb-right input, .mb-right .vol-btn { display: none; }
  .mb-center { order: 2; }
  .mb-btns .hide-sm { display: none; }
  .queue-panel { left: 8px; right: 8px; width: auto; bottom: 78px; }
  .pl-top { padding: 14px 14px 50px; }
  .pl-bottom { padding: 50px 12px 10px; }
  .pl-vol input { display: none; }
  .pl-ctrls .hide-sm { display: none; }
  .pl-time { margin: 0 4px; font-size: 13px; }
  .pl-panel { left: 10px; right: 10px; width: auto; bottom: 74px; }
  .pl-next { left: 10px; right: 10px; width: auto; }
  .tracks td.t-album, .tracks td.cover.hide-sm { display: none; }
  .type-pick { grid-template-columns: repeat(2, 1fr); }
  .lb-nav { display: none; }
  .page-head h1 { font-size: 24px; }
  .table .hide-sm { display: none; }
}

/* ---------- yükleme penceresi / göstergesi ---------- */
.type-pick.five { grid-template-columns: repeat(5, 1fr); }
.type-pick button small { display: block; line-height: 1.3; text-align: center; }
.type-pick button:disabled { opacity: .35; cursor: not-allowed; }
.dropzone { border: 2px dashed var(--border2); border-radius: 12px; padding: 22px; display: grid; justify-items: center; gap: 6px; cursor: pointer; color: var(--muted); text-align: center; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.over { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.dropzone .ic { color: var(--accent); }
.up-indicator { position: fixed; z-index: 45; right: 16px; bottom: calc(var(--music) + 16px); width: 280px; background: var(--surface2); border: 1px solid var(--border2); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; display: none; gap: 6px; }
.up-indicator.show { display: grid; animation: pop .2s ease; }
.up-indicator .up-row { display: flex; align-items: center; gap: 8px; }
.up-indicator .up-row b { flex: 1; font-size: 13.5px; }
.up-indicator .ic { color: var(--accent); }
@media (max-width: 900px) {
  .type-pick.five { grid-template-columns: repeat(2, 1fr); }
  .up-indicator { left: 12px; right: 12px; width: auto; }
}
