/* LOVELL — Dizilla Tarzı Kırmızı Tema */
:root {
  --bg: #0f0f0f;
  --bg-2: #1a1a1a;
  --bg-3: #252525;
  --accent: #dc2c3f;
  --accent-dark: #b01a2e;
  --accent-light: #ff5a7e;
  --line: rgba(220, 44, 63, 0.15);
  --line-strong: rgba(220, 44, 63, 0.3);
  --text: #ffffff;
  --dim: #b0b0b0;
  --faint: #808080;
  --red: #dc2c3f;
  --red-ink: #ffffff;
  --blue: #dc2c3f;
  --stage: #0d0d15;
  --glass: rgba(20, 20, 35, .55);
  --glass-line: rgba(220, 44, 63, 0.3);
  --accent-soft: rgba(220, 44, 63, 0.12);
  --purple: #8338ec;
  --cyan: #00d4ff;
  --pink: #dc2c3f;
  --lime: #3a86ff;
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --ease-elastic: cubic-bezier(.17, .67, .12, .99);
  --display: "Archivo", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1560px;
  --focus-ring: var(--accent);
  --transition-fast: 150ms var(--ease-out);
  --transition-normal: 250ms var(--ease-out);
  --transition-slow: 400ms var(--ease-out);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4efee;
  --bg-2: #ebe2e1;
  --bg-3: #e4d9d8;
  --line: rgba(40, 12, 14, .1);
  --line-strong: rgba(40, 12, 14, .18);
  --text: #1a0c0d;
  --dim: #6b5c5d;
  --faint: #8a7b7c;
  --red: #c41824;
  --red-ink: #ffffff;
  --blue: #c41824;
  --stage: #ebe2e1;
  --glass: rgba(255, 248, 248, .55);
  --glass-line: rgba(40, 12, 14, .12);
  --accent-soft: rgba(196, 24, 36, .12);
  --focus-ring: var(--blue);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(900px 600px at 50% -20%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 50%),
    radial-gradient(800px 400px at 10% 100%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fx-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .32; }
.fx-a { width: min(62vw, 720px); height: min(62vw, 720px); top: -18%; right: -12%; background: #dc2c3f; }
.fx-b { width: min(48vw, 560px); height: min(48vw, 560px); bottom: -22%; left: -14%; background: #4a0a1a; }
.fx-grain {
  position: absolute; inset: 0; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.7'/></svg>");
}
:root[data-theme="light"] .fx-orb { opacity: .14; }
:root[data-theme="light"] .fx-grain { mix-blend-mode: multiply; opacity: .04; }
main, .top, .foot, .bottom-nav, .entry, .toast { position: relative; z-index: 1; }
main { flex: 1; }
main:focus, main:focus-visible { outline: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button {
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-weight: 600;
}
button:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
button:active {
  transform: translateY(0px);
}
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 800; letter-spacing: -0.5px; }
p { margin: 0; }
code { font: 500 .9em ui-monospace, "Cascadia Code", Consolas, monospace; background: var(--bg-3); padding: .1em .4em; border-radius: 4px; overflow-wrap: anywhere; }
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus-ring) 20%, transparent);
}
:focus:not(:focus-visible) { outline: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.skip:focus { top: 12px; }
.muted { color: var(--dim); }
.pad { padding: 18px 20px; }

/* Improved selection styles */
::selection { background: color-mix(in srgb, var(--red) 30%, transparent); color: var(--text); }
::-moz-selection { background: color-mix(in srgb, var(--red) 30%, transparent); color: var(--text); }

/* Better scrollbar styling */
* { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; border: 2px solid transparent; background-clip: content-box; }
*::-webkit-scrollbar-thumb:hover { background: var(--faint); }
*::-webkit-scrollbar-corner { background: transparent; }

/* ---------- Üst çubuk ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: transparent;
  border-bottom: 0;
  padding: 10px 0 0;
}
.top-inner {
  max-width: calc(var(--max) + 8px); margin: 0 auto; padding: 8px 12px 4px 16px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; min-width: 0;
  border: 1px solid var(--glass-line); border-radius: 28px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.logo { display: flex; align-items: center; color: var(--red); flex: none; }
.brand-mark { display: block; width: 32px; height: 32px; object-fit: contain; }
.logo .brand-mark { width: 34px; height: 34px; }
.nav { display: flex; flex: 1 0 100%; order: 6; gap: 22px; font-size: 15px; font-weight: 500; overflow: visible; }
.nav a { color: var(--dim); padding: 6px 0 10px; position: relative; white-space: nowrap; }
.nav a:hover { color: var(--text); }
.nav a[aria-current] { color: var(--text); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--red); border-radius: 2px; }
.count { margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--dim); font-variant-numeric: tabular-nums; }
.top-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; flex: none; }
.search-open { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px 0 12px; width: 168px; border: 1px solid var(--glass-line); background: color-mix(in srgb, var(--bg) 35%, transparent); border-radius: 999px; color: var(--dim); font-size: 14px; }
.search-open:hover { border-color: var(--faint); color: var(--text); }
.search-open svg, .search-box svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: none; }
.search-open kbd { margin-left: auto; font: 600 12px var(--body); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; color: var(--faint); }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--glass-line); background: color-mix(in srgb, var(--bg) 35%, transparent); border-radius: 999px; }
.icon-btn:hover { border-color: var(--faint); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .moon { display: none; }
:root[data-theme="light"] .icon-btn .sun { display: none; }
:root[data-theme="light"] .icon-btn .moon { display: inline; }

/* ---------- Düğmeler ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--bg-3);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}
.btn:active::before { opacity: .12; }
.btn:hover { background: color-mix(in srgb, var(--bg-3) 80%, var(--text)); }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--focus-ring), 0 0 0 4px color-mix(in srgb, var(--focus-ring) 20%, transparent);
}
.btn svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.btn svg.ln { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-play { background: var(--red); color: var(--red-ink); box-shadow: 0 12px 28px -14px color-mix(in srgb, var(--red) 80%, transparent); }
.btn-play:hover { background: color-mix(in srgb, var(--red) 88%, white); transform: translateY(-1px); box-shadow: 0 16px 32px -16px color-mix(in srgb, var(--red) 90%, transparent); }
.btn-play:active { transform: translateY(0) scale(.98); }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--faint); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: default; pointer-events: none; }
.text-btn { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 600; font-size: 14px; position: relative; }
.text-btn::after { content: ""; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--transition-fast); }
.text-btn:hover::after { transform: scaleX(1); transform-origin: left; }
.text-btn:focus-visible { outline: none; border-radius: 4px; }

/* ---------- Vitrin ---------- */
.hero {
  --text: #f7f7f7; --dim: #cacaca; --line: rgba(255,255,255,.22); --bg-2: rgba(255,255,255,.08); --bg-3: rgba(255,255,255,.14); --red-ink: #fff;
  position: relative; color: var(--text); background: #080808;
  min-height: min(76vh, 720px); display: flex; align-items: flex-end; overflow: hidden;
}
:root[data-theme="light"] .hero { --red: #e4202b; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; animation: settle 1.4s ease-out both; }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.72) 34%, rgba(0,0,0,.08) 68%),
  linear-gradient(0deg, #090909 0%, rgba(9,9,9,0) 38%); }
.hero-body { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter) 128px; animation: hero-body-in 1s var(--ease-out) backwards; }
@keyframes hero-body-in { from { opacity: 0; transform: translateY(30px); } }
.hero-title { font-family: var(--display); font-weight: 850; font-stretch: 72%; font-size: clamp(46px, 7.4vw, 108px); line-height: .9; letter-spacing: -.012em; max-width: 11ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 12px; color: var(--dim); font-size: 15px; }
.hero-text { max-width: 54ch; color: var(--dim); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 26px; font-size: clamp(15px, 1.6vw, 18px); }
.hero-strip { position: absolute; z-index: 2; right: var(--gutter); bottom: 34px; display: flex; gap: 10px; }
.thumb { position: relative; overflow: hidden; background: var(--bg-3); }
.hero-strip .thumb { width: 120px; aspect-ratio: 16 / 9; border-radius: 8px; border: 0; padding: 0; opacity: .55; transition: opacity var(--transition-normal), transform var(--transition-normal); }
.hero-strip .thumb:hover, .hero-strip .thumb.on { opacity: 1; transform: scale(1.05); }
.hero-strip .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow) var(--ease-out); }
.hero-strip .thumb:hover img { transform: scale(1.08); }
.hero-strip .thumb i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red); transition: width var(--transition-slow) linear; }
.hero-strip .thumb.on i { width: 100%; animation: tick 9s linear both; }
@keyframes tick { from { width: 0; } }
.score { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.star { width: 12px; height: 12px; fill: var(--red); }
.hero-meta .score { background: rgba(0,0,0,.5); border-radius: 20px; padding: 4px 10px; border: 1px solid rgba(255,255,255,.2); font-size: 15px; font-weight: 700; }

/* ---------- Sayfa iskeleti ---------- */
.page { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 72px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; padding: 48px 0 24px; }
.page-head h1 { font-family: var(--display); font-weight: 850; font-stretch: 72%; font-size: clamp(40px, 5.4vw, 68px); line-height: .95; }
.page-head p { color: var(--dim); flex-basis: 100%; }

/* ---------- Raflar ---------- */
.shelf { margin-top: 44px; }
.shelf-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.shelf-head h2, .genres h2, .ep-head h2 { font-family: var(--display); font-weight: 800; font-stretch: 85%; font-size: 26px; letter-spacing: -.005em; }
.shelf-tools { display: flex; align-items: center; gap: 6px; }
.more { color: var(--dim); font-size: 14px; font-weight: 600; margin-right: 10px; }
.more:hover { color: var(--text); }
.arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; }
.arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover:not(:disabled) { background: var(--bg-2); }
.arrow:disabled { opacity: .3; cursor: default; }
.row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(136px, 14.2vw, 196px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px; margin: -4px; }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
.row-wide { grid-auto-columns: clamp(250px, 25vw, 340px); }

/* ---------- Kartlar ---------- */
.card { display: flex; flex-direction: column; gap: 4px; min-width: 0; transition: transform var(--transition-normal), box-shadow var(--transition-normal), filter var(--transition-fast); }
.card-img { position: relative; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; background: var(--bg-3); margin-bottom: 8px; transition: box-shadow var(--transition-normal), transform var(--transition-normal); }
.card-img img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; transition: transform var(--transition-slow) var(--ease-out), filter var(--transition-normal); }
.card-ph { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px; font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: 22px; line-height: 1; color: var(--faint); background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); }
.card-img::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  border-radius: 6px;
}
.card:hover .card-img, .card:focus-visible .card-img { box-shadow: 0 0 0 2px var(--text), 0 24px 48px -24px rgba(0,0,0,.6); transform: translateY(-6px); }
.card:hover .card-img img, .card:focus-visible .card-img img { transform: scale(1.08); }
.card:hover .card-img::after, .card:focus-visible .card-img::after { opacity: 1; }
.card:focus-visible, .wide:focus-visible { outline: none; }
.card:hover, .card:focus-visible { transform: translateY(-8px); }
.card-title { font-weight: 600; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--dim); font-size: 13px; }
.flag { position: absolute; z-index: 2; left: 8px; top: 8px; background: var(--red); color: var(--red-ink); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.wide { display: flex; flex-direction: column; gap: 4px; min-width: 0; transition: transform var(--transition-normal), box-shadow var(--transition-normal), filter var(--transition-fast); }
.wide-img { position: relative; aspect-ratio: 16 / 9; border-radius: 6px 6px 0 0; overflow: hidden; background: var(--bg-3); transition: box-shadow var(--transition-normal), transform var(--transition-normal); }
.wide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow) var(--ease-out), filter var(--transition-normal); }
.wide-play { position: absolute; left: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(10,12,28,.8); display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: opacity var(--transition-fast), transform var(--transition-fast) var(--ease-spring); }
.wide-play svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
.wide:hover .wide-play, .wide:focus-visible .wide-play { opacity: 1; transform: scale(1); }
.wide:hover .wide-img, .wide:focus-visible .wide-img { box-shadow: 0 0 0 2px var(--text), 0 24px 48px -24px rgba(0,0,0,.6); transform: translateY(-6px); }
.wide:hover .wide-img img, .wide:focus-visible .wide-img img { transform: scale(1.08); }
.wide:hover, .wide:focus-visible { transform: translateY(-8px); }
.wide .card-title { margin-top: 8px; }
.bar { display: block; height: 3px; background: color-mix(in srgb, var(--text) 18%, transparent); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--blue); transition: width var(--transition-normal) var(--ease-out); }
.wide > .bar { border-radius: 0 0 3px 3px; }
.noimg img { display: none; }

/* Enhanced card hover overlay with quick actions */
.card-hover { position: absolute; z-index: 3; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); opacity: 0; transform: scale(.7); transition: opacity var(--transition-fast), transform var(--transition-fast) var(--ease-spring); box-shadow: 0 8px 24px -6px rgba(0,0,0,.6); }
.card-hover svg { width: 18px; height: 18px; fill: #fff; margin-left: 3px; }
.card:hover .card-hover, .card:focus-visible .card-hover { opacity: 1; transform: none; }

/* ---------- Türler ---------- */
.genres { margin-top: 56px; }
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 16px; }
.genre-grid a {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  white-space: nowrap;
  padding: 22px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 750;
  font-stretch: 80%;
  font-size: 22px;
  color: var(--text);
  transition: all var(--transition-normal);
}
.genre-grid a::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.genre-grid a span { position: relative; z-index: 1; }
.genre-grid a:hover {
  border-color: var(--faint);
  background: var(--bg-3);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -12px rgba(0,0,0,.4);
}
.genre-grid a:hover::before { transform: translateX(120%); }
:root[data-section="anime"] .genre-grid a {
  border-radius: 16px;
  background: linear-gradient(135deg, hsl(var(--h) 80% 58%), hsl(calc(var(--h) + 45) 70% 34%));
  font-style: italic;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  color: #fff;
}
:root[data-section="anime"] .genre-grid a::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 12px solid rgba(255,255,255,.14);
  transition: transform .4s var(--ease-out);
}
:root[data-section="anime"] .genre-grid a:hover::after { transform: scale(1.3); }
:root[data-section="anime"] .genre-grid a:hover {
  filter: brightness(1.1);
  background: linear-gradient(135deg, hsl(var(--h) 80% 58%), hsl(calc(var(--h) + 45) 70% 34%));
}
:root[data-section="media"] .genre-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
:root[data-section="media"] .genre-grid a {
  border-radius: 6px;
  min-height: 88px;
  font-family: var(--body);
  font-weight: 700;
  font-stretch: 100%;
  font-size: 18px;
  background: linear-gradient(120deg, hsl(var(--h) 55% 26%) 0%, #1a1a1a 85%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  transition: transform var(--transition-normal), filter var(--transition-fast), border-color var(--transition-fast);
}
:root[data-section="media"] .genre-grid a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: hsl(var(--h) 75% 55%);
  transition: width var(--transition-normal);
}
:root[data-section="media"] .genre-grid a:hover {
  transform: scale(1.04);
  background: linear-gradient(120deg, hsl(var(--h) 60% 32%) 0%, #222 85%);
  border-color: hsl(var(--h) 75% 55%);
}
:root[data-section="media"] .genre-grid a:hover::before { width: 8px; }
:root[data-section="media"][data-theme="light"] .genre-grid a { background: linear-gradient(120deg, hsl(var(--h) 55% 34%) 0%, #2a2a2a 85%); }

/* ---------- Filtreler ve ızgara ---------- */
.filter-search input { width: min(320px, 100%); height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font-size: 14px; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.filter-search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent); }
.filter-search input::placeholder { color: var(--faint); }
.filter-search { flex: 0 1 320px; }
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--dim);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.chip::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.chip:hover {
  color: var(--text);
  border-color: var(--faint);
  transform: translateY(-1px);
}
.chip.on {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  box-shadow: 0 4px 16px -4px color-mix(in srgb, var(--red) 50%, transparent);
}
.chip.on::before { opacity: 1; }
.chip:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--focus-ring), 0 0 0 4px color-mix(in srgb, var(--focus-ring) 20%, transparent); }
.chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.select { display: inline-flex; align-items: center; gap: 10px; color: var(--dim); font-size: 14px; }
.select select {
  height: 40px;
  padding: 0 36px 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%238a90b8' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 12px no-repeat;
  color: var(--text);
  appearance: none;
  font-size: 14px;
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.select select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 28px 20px; }
.more-wrap { display: flex; justify-content: center; padding-top: 36px; }

/* ---------- Durumlar ---------- */
.loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--dim); padding: 64px 16px; font-size: 15px; }
.loading .spin { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--red); animation: spin 1s linear infinite; }
.loading p { margin: 0; color: var(--dim); font-size: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Enhanced empty states */
.state { max-width: 520px; margin: 48px auto; text-align: center; display: grid; justify-items: center; gap: 16px; animation: state-in .5s var(--ease-out) forwards; }
@keyframes state-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.state h2 { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 30px; }
.state p { color: var(--dim); max-width: 48ch; line-height: 1.6; }
.state .actions { margin-top: 8px; }
.state-ico { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 24px; background: color-mix(in srgb, var(--red) 12%, var(--bg-2)); border: 1px solid color-mix(in srgb, var(--red) 28%, var(--line)); color: var(--red); margin-bottom: 4px; box-shadow: 0 16px 48px -16px color-mix(in srgb, var(--red) 55%, transparent); animation: float 5s ease-in-out infinite; }
.state-ico svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.state-ico::after { content: ""; position: absolute; inset: -12px; border-radius: 32px; border: 1px dashed color-mix(in srgb, var(--red) 30%, transparent); animation: spin 30s linear infinite; }
:root[data-section="anime"] .state-ico { background: linear-gradient(140deg, color-mix(in srgb, #ff3d7f 18%, var(--bg-2)), color-mix(in srgb, #8b5cf6 18%, var(--bg-2))); }
:root[data-section="media"] .state-ico { background: color-mix(in srgb, var(--red) 10%, var(--bg-2)); }
:root[data-section="livetv"] .state-ico { background: color-mix(in srgb, var(--red) 10%, var(--bg-2)); }
.state-left { margin: 0 0 24px; text-align: left; justify-items: start; }
.state-left .actions { justify-content: flex-start; }
@media (prefers-reduced-motion: reduce) { .state-ico, .state-ico::after { animation: none; } }

/* ---------- İzleme ---------- */
.cinema { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); min-height: min(78vh, 800px); background: #050505; border-block: 1px solid #222; }
.stage { min-width: 0; background: var(--stage); }
.stage-inner { position: relative; margin: 0 auto; aspect-ratio: 16 / 9; max-height: 78vh; width: 100%; color: #eef; }
.stage-inner .loading { position: absolute; inset: 0; color: #a7abd0; }
.stage video { width: 100%; height: 100%; display: block; background: #000; }
.stage .art { width: 100%; height: 100%; }
.stage .art .loading { height: 100%; }
.stage-empty { overflow: hidden; display: flex; align-items: center; }
.stage-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: blur(2px) saturate(.8); transform: scale(1.02); }
.stage-empty::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.65) 55%, rgba(0,0,0,.3)); }
.stage-msg { position: relative; z-index: 1; max-width: 600px; padding: 32px var(--gutter); --text: #fff; --line: rgba(255,255,255,.25); --bg-2: rgba(255,255,255,.08); --bg-3: rgba(255,255,255,.12); --red-ink: #fff; --blue: #ff5964; }
:root[data-theme="light"] .stage-msg { --red: #e4202b; }
.stage-msg h2 { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.02; margin-bottom: 12px; }
.stage-msg > p { color: #b9bddc; margin-bottom: 22px; max-width: 52ch; }
.addfile { margin-top: 22px; color: #b9bddc; font-size: 14px; }
.addfile summary { cursor: pointer; color: var(--blue); font-weight: 600; }
.addfile p { margin: 10px 0 12px; }
.addfile code { background: rgba(255,255,255,.1); color: #eef; }
.src-bar { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 18px; border-top: 1px solid #222; background: #0a0a0a; --bg-2: #151515; --line: #353535; --text: #fff; --dim: #b2b2b2; }
.watch-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.watch-jump { display: flex; align-items: center; gap: 8px; }
.badge-ep { padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.stream-audio { display: flex; gap: 6px; }
.stream-audio button { height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--glass-line); background: transparent; color: var(--dim); font-size: 13px; font-weight: 700; }
.stream-audio button.on { border-color: var(--red); color: var(--text); background: var(--accent-soft); }
.ep-strip { display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) 14px; }
.ep-strip > span { flex: none; color: var(--dim); font-size: 13px; font-weight: 700; }
.ep-strip > span b { color: var(--text); }
.ep-strip-list { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; }
.ep-strip-list a { flex: none; min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--glass-line); color: var(--dim); font-weight: 700; scroll-snap-align: center; }
.ep-strip-list a.on { border-color: var(--red); color: var(--text); background: var(--accent-soft); }
.source-label, .eyebrow { color: #888; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* VidRift iframe oynatıcı */
.vidrift-wrap { position: relative; width: 100%; height: 100%; }
.vidrift-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; display: block; }
.source-list { display: flex; flex-wrap: wrap; gap: 7px; }
.source-chip { min-height: 28px; padding: 4px 10px; border: 1px solid #303030; border-radius: 5px; background: #151515; color: #aaa; font-size: 12px; font-weight: 700; }
.source-chip:hover { border-color: #777; color: #fff; }
.source-chip.on { background: var(--red); border-color: var(--red); color: #fff; }
.source-chip-dim { color: #666; border-color: #252525; }
.cinema-panel { display: grid; grid-template-rows: auto auto minmax(0, 1fr); min-height: 0; padding: 18px 12px 12px; background: #0d0d0d; border-left: 1px solid #262626; color: #f4f4f4; }
.cinema-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 12px; border-bottom: 1px solid #252525; }
.cinema-panel-head strong { color: #999; font-size: 12px; font-variant-numeric: tabular-nums; }
.cinema-panel .ep-tools { padding: 12px 6px; }
.cinema-panel .select { color: #aaa; }
.cinema-panel .select select { height: 32px; border-color: #333; background-color: #181818; color: #eee; }
.cinema-ep-list { align-content: start; overflow-y: auto; padding: 0 2px 10px; scrollbar-color: #444 transparent; }
.cinema-ep-list .ep { grid-template-columns: 28px 96px minmax(0, 1fr); gap: 10px; min-height: 66px; padding: 7px; border: 0; border-radius: 5px; }
.cinema-ep-list .ep:hover, .cinema-ep-list .ep.cur { background: #202020; }
.cinema-ep-list .ep.cur { box-shadow: inset 3px 0 var(--red); }
.cinema-ep-list .ep-n { align-self: center; color: #aaa; font-size: 16px; }
.cinema-ep-list .ep.cur .ep-n { color: #fff; }
.cinema-ep-list .ep-thumb { align-self: center; }
.cinema-ep-list .ep-title { font-size: 13px; color: #f5f5f5; }
.cinema-ep-list .ep-meta { gap: 8px; font-size: 11px; color: #999; }
.cinema-ep-list .ep-text { display: none; }
.cinema-ep-list.no-stills .ep { grid-template-columns: 28px minmax(0, 1fr); }
.next-up { z-index: 40; position: absolute; right: 20px; bottom: 76px; background: rgba(0,0,0,.92); border: 1px solid rgba(255,255,255,.15); padding: 16px 18px; border-radius: 10px; display: grid; gap: 12px; --line: rgba(255,255,255,.25); --text: #fff; --bg-2: rgba(255,255,255,.08); }
.next-up[hidden] { display: none; }
.stage-error { z-index: 40; position: absolute; left: 50%; top: 18px; transform: translateX(-50%); background: rgba(10,12,28,.94); border: 1px solid var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 14px; max-width: calc(100% - 32px); }
.watch-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 36px; align-items: start; }
.now { color: var(--dim); font-size: 14px; font-weight: 500; margin-bottom: 8px; min-height: 1.4em; }
.title { font-family: var(--display); font-weight: 850; font-stretch: 72%; font-size: clamp(40px, 5.6vw, 72px); line-height: .92; letter-spacing: -.01em; }
.original { color: var(--faint); margin-top: 10px; font-size: 15px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--dim); font-size: 14px; margin: 18px 0; }
.overview { max-width: 68ch; max-height: 7.8em; overflow: hidden; }
.overview.clamped { -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.overview.open { max-height: none; }
.overview.clamped.open { -webkit-mask-image: none; mask-image: none; }
.overview p + p { margin-top: .8em; }
#ov-more { margin-top: 6px; }
.note { color: var(--faint); font-size: 13px; margin-top: 8px; }
.info .actions { margin-top: 26px; }


.episodes { margin-top: 56px; }
.ep-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.ep-tools { display: flex; flex-wrap: wrap; gap: 14px; }
.ep-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ep { display: grid; grid-template-columns: 52px 168px minmax(0, 1fr); gap: 18px; align-items: center; padding: 12px 14px 12px 10px; border-radius: 10px; border-left: 3px solid transparent; }
.ep:hover { background: var(--bg-2); }
.ep.cur { background: var(--bg-2); border-left-color: var(--red); }
.ep-n { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: 30px; color: var(--faint); text-align: right; font-variant-numeric: tabular-nums; }
.ep.cur .ep-n { color: var(--red); }
.ep-thumb { aspect-ratio: 16 / 9; border-radius: 6px; }
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep-thumb .bar { position: absolute; left: 0; right: 0; bottom: 0; }
.ep-body { display: grid; gap: 3px; min-width: 0; }
.ep-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; color: var(--dim); }
.ep-meta .has { color: var(--red); font-weight: 600; }
.ep-text { font-size: 14px; color: var(--dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 80ch; }
.no-stills .ep { grid-template-columns: 52px minmax(0, 1fr); padding-block: 14px; }
.no-stills .ep-thumb { display: none; }
.ep.seen .ep-title { color: var(--dim); }

/* ---------- Rehber ---------- */
.guide { margin-top: 48px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; max-width: 820px; }
.guide h2 { font-size: 19px; font-weight: 600; margin-bottom: 14px; }
.guide ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--dim); }
.guide li::marker { color: var(--text); font-weight: 600; }

/* ---------- Arama ---------- */
dialog { border: 0; padding: 0; color: var(--text); }
dialog::backdrop {
  background: rgba(5, 6, 16, .62);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  animation: backdrop-in .3s ease-out;
}
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
dialog[open] { animation: dialog-in .35s cubic-bezier(.2,.8,.2,1); }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(-20px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
dialog.closing { animation: dialog-out .2s ease-in forwards; }
@keyframes dialog-out { to { opacity: 0; transform: translateY(-10px) scale(.98); } }
.search {
  width: min(680px, calc(100vw - 24px));
  margin: 11vh auto auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.55), 0 0 0 1px var(--glass-line);
}
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 20%, transparent);
}
.search-box svg { color: var(--faint); width: 20px; height: 20px; flex-shrink: 0; }
.search-box input {
  flex: 1;
  min-width: 0;
  height: 64px;
  border: 0;
  background: none;
  font-size: 19px;
  outline: none;
  color: var(--text);
}
.search-box input::placeholder { color: var(--faint); }
.search-box input::-webkit-search-cancel-button { display: none; -webkit-appearance: none; }
.search-results { max-height: min(60vh, 560px); overflow-y: auto; padding: 8px; }
.result {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.result:hover, .result:focus-visible {
  background: var(--bg-3);
  outline: none;
  transform: translateX(4px);
}
.result:focus-visible {
  box-shadow: 0 0 0 2px var(--focus-ring), 0 0 0 4px color-mix(in srgb, var(--focus-ring) 20%, transparent);
}
.result-img {
  width: 48px;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-3);
  flex-shrink: 0;
}
.result-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-normal) var(--ease-out); }
.result:hover .result-img img { transform: scale(1.08); }
.result strong { display: block; font-weight: 600; font-size: 15px; color: var(--text); }
.result small { color: var(--dim); font-size: 13px; line-height: 1.4; }
.result-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 10px 6px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.result-group:first-child { border-top: none; margin-top: 0; }
.result-group small { font-size: 11px; color: var(--faint); opacity: .8; }
.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 30%, transparent);
}
.search-chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-3);
  border-color: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.search-chips .chip:hover {
  background: color-mix(in srgb, var(--bg-3) 70%, var(--text) 10%);
  transform: translateY(-1px);
}
.search-chips .chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--focus-ring), 0 0 0 4px color-mix(in srgb, var(--focus-ring) 20%, transparent);
}
.search-chips .chip svg { width: 13px; height: 13px; fill: none; stroke: var(--faint); stroke-width: 1.8; stroke-linecap: round; }
.trailer {
  width: min(1100px, calc(100vw - 24px));
  background: #000;
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.9);
}
.trailer-frame { border-radius: 12px; overflow: hidden; }
.trailer-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.trailer-close {
  position: absolute;
  right: 8px;
  top: -44px;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.trailer-close:hover { background: rgba(255,255,255,.2); transform: scale(1.1); }

/* ---------- Alt bilgi ve bildirim ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 40px; }
.foot-inner { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 40px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 32px; align-items: center; color: var(--faint); font-size: 13px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 17px; letter-spacing: .04em; }
.foot-brand img { border-radius: 6px; }
.foot-status[data-src="TMDB"]::before, .foot-status[data-src]::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; background: var(--blue); vertical-align: 1px; }
.foot-status[data-src="AniList"]::before, .foot-status[data-src="Yerel seçki"]::before { background: var(--red); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: 8px; font-weight: 600; font-size: 14px; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Duyarlı yerleşim ---------- */
@media (max-width: 1080px) {
  .search-open { min-width: 0; }
  .search-open span, .search-open kbd { display: none; }
  .nav { gap: 20px; }
}
@media (max-width: 900px) {
  .cinema { grid-template-columns: 1fr; }
  .cinema-panel { max-height: 460px; border-top: 1px solid #262626; border-left: 0; }
  .watch-grid { grid-template-columns: 1fr; }
  .hero-strip { display: none; }
  .hero-body { padding-bottom: 56px; }
  .foot-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .top-inner { height: auto; flex-wrap: wrap; gap: 0 16px; padding-top: 12px; }
  .nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; gap: 22px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 12px 0 14px; }
  .nav a[aria-current]::after { bottom: 6px; }
  .hero { min-height: 70vh; }
  .hero-shade { background: linear-gradient(0deg, rgba(0,0,0,1) 6%, rgba(0,0,0,.75) 45%, rgba(0,0,0,.15) 100%); }
  .hero-body { padding-top: 160px; }
  .stage-inner { aspect-ratio: auto; min-height: 56vw; max-height: none; }
  .stage-inner:has(video) { aspect-ratio: 16 / 9; min-height: 0; }
  .stage-msg { padding: 28px 16px; }
  .src-bar { align-items: flex-start; flex-direction: column; gap: 6px; padding: 10px 16px; }
  .cinema-panel { padding-inline: 8px; }
  .ep { grid-template-columns: 34px 112px minmax(0, 1fr); gap: 12px; padding: 10px 8px 10px 4px; }
  .ep-n { font-size: 22px; }
  .shelf .arrow { display: none; }
  .more { margin-right: 0; white-space: nowrap; }
  .shelf-head h2 { font-size: 23px; }
  .no-stills .ep { grid-template-columns: 34px minmax(0, 1fr); }
  .ep-text { display: none; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 22px 14px; }
  .filters { flex-direction: column; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .chip { white-space: nowrap; }
  .filter-search { flex-basis: 100%; }
  .filter-search input { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .fx-orb { display: none; }
}
@media (max-width: 760px) {
  .top { padding: 8px 10px 0; }
  .top-inner { height: 52px; gap: 10px; padding: 0 10px 0 14px; border-radius: 18px; }
  .search-open { min-width: 0; padding: 0 10px; }
  .search-open span, .search-open kbd { display: none; }
  .entry-word { font-size: 34vw; }
}

/* ---------- Skeleton loader ---------- */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes skeleton-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.skeleton {
  background: linear-gradient(90deg, var(--bg-3) 25%, color-mix(in srgb, var(--bg-3) 60%, var(--text) 8%) 50%, var(--bg-3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s ease infinite, skeleton-breathe 3s ease-in-out infinite;
  border-radius: 6px;
  display: block;
}
.skeleton-text {
  height: 1em;
  border-radius: 4px;
  margin-bottom: 0.5em;
}
.skeleton-text:last-child { width: 60%; }
.skeleton-title { height: 1.5em; width: 80%; margin-bottom: 0.75em; }
.skeleton-avatar { width: 40px; height: 40px; border-radius: 50%; }
.skeleton-card { pointer-events: none; }
.skeleton-card .card-img { background: none; border-radius: 6px; aspect-ratio: 2/3; }
.skeleton-land .skeleton-card .card-img { aspect-ratio: 16/9; border-radius: 6px; }
.skeleton-wide .skeleton-card .card-img { aspect-ratio: 16/9; border-radius: 6px 6px 0 0; }
.skeleton .card-title { height: 1.2em; width: 90%; margin-top: 8px; }
.skeleton .card-meta { height: 1em; width: 60%; margin-top: 6px; }
@media (prefers-reduced-motion: reduce) {
  .skeleton { animation: none; background: var(--bg-3); }
}

/* Enhanced loading spinner */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--dim);
  padding: 64px 16px;
  font-size: 15px;
}
.loading .spin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--red);
  border-right-color: color-mix(in srgb, var(--red) 40%, transparent);
  animation: spin 1s linear infinite;
}
.loading p { margin: 0; color: var(--dim); font-size: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Page transition loading bar */
body::before {
  content: "";
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--grad, var(--red));
  box-shadow: 0 0 12px color-mix(in srgb, var(--red) 70%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}
.loading-bar body::before { opacity: 1; animation: bar-run 2s cubic-bezier(.1, .7, .2, 1) forwards; }
.loading-done body::before { width: 100% !important; opacity: 0; animation: none; transition: width .3s ease, opacity .4s ease .2s; }
@keyframes bar-run { 0% { width: 0; } 30% { width: 45%; } 100% { width: 92%; } }

/* ---------- Kart hover overlay ---------- */
.card-img::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .2s;
  border-radius: 6px;
}
.card:hover .card-img::after { opacity: 1; }
.card { transition: transform .2s; }
.card:hover { transform: translateY(-4px); }

/* ---------- Scroll animasyonu ---------- */
.card, .wide {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .35s ease, transform .35s ease;
}
.card.visible, .wide.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .card, .wide { opacity: 1; transform: none; transition: none; }
}

/* ---------- Toast tipleri ---------- */
.toast[data-type="success"] { background: #1a6b3c; color: #fff; }
.toast[data-type="error"] { background: var(--red); color: #fff; }
.toast[data-type="info"] { /* mevcut varsayılan */ }

/* Enhanced toast animations */
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 14px;
  border-radius: 12px;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.6), 0 0 0 1px var(--line);
  max-width: calc(100vw - 32px);
  animation: toast-in .4s cubic-bezier(.3,1.3,.5,1) forwards;
}
@keyframes toast-in {
  from { transform: translate(-50%, 20px) scale(.95); opacity: 0; }
  to { transform: translate(-50%, 0) scale(1); opacity: 1; }
}
.toast.removing { animation: toast-out .3s ease-in forwards; }
@keyframes toast-out { to { transform: translate(-50%, -20px) scale(.95); opacity: 0; } }
.toast.has-act { pointer-events: auto; }
.toast-ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, currentColor 16%, transparent); flex: none; }
.toast-ico svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.toast-act { margin-left: 6px; padding: 6px 14px; border-radius: 8px; border: 0; background: color-mix(in srgb, currentColor 18%, transparent); color: inherit; font-weight: 800; font-size: 13px; transition: background var(--transition-fast); }
.toast-act:hover { background: color-mix(in srgb, currentColor 28%, transparent); }
.toast-message { flex: 1; font-weight: 500; font-size: 14px; line-height: 1.4; }
.toast-close { width: 24px; height: 24px; display: grid; place-items: center; background: transparent; border: 0; color: inherit; opacity: 0.6; transition: opacity var(--transition-fast), transform var(--transition-fast); flex-shrink: 0; }
.toast-close:hover { opacity: 1; transform: scale(1.1); }
.toast-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Chips mobil scroll ---------- */
.chips::-webkit-scrollbar { display: none; }
.chip.on { box-shadow: 0 0 0 2px var(--text); }

/* ---------- Hero puan badge ---------- */
.hero-meta .score { background: rgba(0,0,0,.5); border-radius: 20px; padding: 4px 10px; border: 1px solid rgba(255,255,255,.2); font-size: 15px; font-weight: 700; }

/* ---------- Bölüm thumbnail hover ---------- */
.ep-thumb { transition: transform .2s; }
.ep:hover .ep-thumb { transform: scale(1.04); }

/* ---------- Hero zenginleştirme ---------- */
.hero-text { font-size: clamp(15px, 1.6vw, 18px); -webkit-line-clamp: 4; }

/* ---------- Hamburger menü (≤ 760px) ---------- */
.hamburger { display: none; }
@media (max-width: 760px) {
  .hamburger {
    display: grid;
    place-items: center;
    order: 2;
    margin-left: auto;
    width: 38px; height: 38px;
    border: 1px solid var(--line);
    background: var(--bg-2);
    border-radius: 8px;
  }
  .hamburger svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  /* Nav mobilde gizli, hamburger ile açılır */
  .nav {
    display: none;
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 16px var(--gutter);
    gap: 0;
    z-index: 19;
    overflow-y: auto;
    order: unset;
    width: 100%;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; white-space: normal; }
  .nav a[aria-current]::after { display: none; }
  .top-actions { margin-left: auto; }
}

/* ---------- Sonsuz scroll sentinel ---------- */
#more { display: none; }

/* ---------- Glassmorphism: arama dialog ---------- */
.search {
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  animation: search-in .3s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes search-in {
  from { opacity: 0; transform: translateY(-20px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.search.closing { animation: search-out .2s ease-in forwards; }
@keyframes search-out { to { opacity: 0; transform: translateY(-10px) scale(.98); } }

/* Enhanced search dialog */
.search {
  width: min(680px, calc(100vw - 24px));
  margin: 11vh auto auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.55), 0 0 0 1px var(--glass-line);
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.search-field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
}
.search-field:focus-within { border-color: var(--line-strong); }
.search-box svg { color: var(--faint); width: 18px; height: 18px; flex: none; }
.search-box input {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  font-size: 16px;
  outline: none;
  box-shadow: none;
  color: var(--text);
}
.search-box input:focus,
.search-box input:focus-visible { outline: none; box-shadow: none; }
.search-box input::placeholder { color: var(--faint); }
.search-box input::-webkit-search-cancel-button { display: none; -webkit-appearance: none; }
.search-close {
  flex: none;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}
.search-close:hover { border-color: var(--faint); }
.search-results {
  max-height: min(60vh, 560px);
  overflow-y: auto;
  padding: 8px;
}
.result {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.result:hover, .result:focus-visible {
  background: var(--bg-3);
  outline: none;
  transform: translateX(4px);
}
.result:focus-visible {
  box-shadow: 0 0 0 2px var(--focus-ring), 0 0 0 4px color-mix(in srgb, var(--focus-ring) 20%, transparent);
}
.result-img {
  width: 48px;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-3);
  flex-shrink: 0;
}
.result-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-normal) var(--ease-out); }
.result:hover .result-img img { transform: scale(1.08); }
.result strong { display: block; font-weight: 600; font-size: 15px; color: var(--text); }
.result small { color: var(--dim); font-size: 13px; line-height: 1.4; }
.result-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 10px 6px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.result-group:first-child { border-top: none; margin-top: 0; }
.result-group small { font-size: 11px; color: var(--faint); opacity: .8; }
.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 30%, transparent);
}
.search-chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-3);
  border-color: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.search-chips .chip:hover {
  background: color-mix(in srgb, var(--bg-3) 70%, var(--text) 10%);
  transform: translateY(-1px);
}
.search-chips .chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--focus-ring), 0 0 0 4px color-mix(in srgb, var(--focus-ring) 20%, transparent);
}
.search-chips .chip svg { width: 13px; height: 13px; fill: none; stroke: var(--faint); stroke-width: 1.8; stroke-linecap: round; }

/* ========== Embed chip pill ========== */
.source-chip {
  border-radius: 20px;
  transition: background .12s, border-color .12s, color .12s;
}
.source-chip:hover {
  background: #252535;
  border-color: #666;
  color: #fff;
}
.source-chip.on {
  background: var(--red, #e4202b);
  border-color: var(--red, #e4202b);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(228,32,43,.28);
}

/* =====================================================================
   İKİ BÖLÜMLÜ ARAYÜZ (v7)
   html[data-section="anime"]  → mor-pembe, afiş ağırlıklı, Japonca dokunuşlar
   html[data-section="media"]  → Netflix sadeliği: siyah zemin, kırmızı, yatay kartlar
   ===================================================================== */

/* ---------- Bölüm temaları ---------- */
:root[data-section="anime"] {
  --bg: #0d0707; --bg-2: #160a0b; --bg-3: #1a0c0d; --line: rgba(255, 236, 236, .1);
  --text: #f4efef; --dim: #a89c9d; --faint: #7d7071;
  --red: #d61e2b; --red-2: #f0323e; --red-ink: #fff; --blue: #f0323e;
  --grad: linear-gradient(120deg, #d61e2b 0%, #f0323e 100%);
  --hero-fade: #0d0707; --radius: 14px; --ring: #f0323e;
}
:root[data-section="anime"][data-theme="light"] {
  --bg: #f4efee; --bg-2: #ebe2e1; --bg-3: #e4d9d8; --line: rgba(40, 12, 14, .1);
  --text: #1a0c0d; --dim: #6b5c5d; --faint: #8a7b7c;
  --red: #c41824; --red-2: #d61e2b; --blue: #c41824; --ring: #c41824;
}
:root[data-section="media"] {
  --bg: #0d0707; --bg-2: #160a0b; --bg-3: #1a0c0d; --line: rgba(255, 236, 236, .1);
  --text: #f4efef; --dim: #a89c9d; --faint: #7d7071;
  --red: #d61e2b; --red-2: #f0323e; --red-ink: #fff; --blue: #f0323e;
  --grad: linear-gradient(120deg, #d61e2b, #9a1520);
  --hero-fade: #0d0707; --radius: 14px; --ring: #f4efef;
}
:root[data-section="media"][data-theme="light"] {
  --bg: #f4efee; --bg-2: #ebe2e1; --bg-3: #e4d9d8; --line: rgba(40, 12, 14, .1);
  --text: #1a0c0d; --dim: #6b5c5d; --faint: #8a7b7c; --ring: #1a0c0d;
}
body { transition: background-color .3s ease, color .3s ease; }
:focus-visible { outline-color: var(--ring, var(--blue)); }

/* ---------- Bölüm değiştirici ---------- */
.tab-bar {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 3px; margin: 0 4px 0 -12px; flex: none;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px;
  transition: border-color var(--transition-normal), background var(--transition-normal);
}
.tab-bar::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,.08) 50%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}
.tab-bar:hover::before { opacity: 1; }
.tab-glider {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3);
  border-radius: 999px; background: var(--grad);
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), background .3s, box-shadow .3s;
  box-shadow: 0 4px 20px -6px color-mix(in srgb, var(--red) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.15);
}
:root[data-section="anime"] .tab-bar { --i: 0; }
:root[data-section="media"] .tab-bar { --i: 1; }
:root[data-section="livetv"] .tab-bar { --i: 2; }
.tab-btn {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent;
  color: var(--dim); font-weight: 650; font-size: 14px; white-space: nowrap; transition: color var(--transition-fast);
}
.tab-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; transition: transform var(--transition-fast); }
.tab-btn[data-tab="anime"] svg path { fill: currentColor; stroke: none; }
.tab-btn[data-tab="media"] svg path { fill: currentColor; stroke: none; }
.tab-btn[data-tab="livetv"] svg .ln { fill: none; stroke: currentColor; }
.tab-btn:hover { color: var(--text); }
.tab-btn:hover svg { transform: scale(1.1); }
.tab-btn.active, .tab-btn[aria-selected="true"] { color: #fff; }
.tab-btn:focus-visible { outline: none; }
.tab-btn:focus-visible::after {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 999px;
  box-shadow: 0 0 0 2px var(--focus-ring), 0 0 0 4px color-mix(in srgb, var(--focus-ring) 20%, transparent);
}

/* ---------- Üst çubuk ---------- */
:root[data-section="anime"] .logo { color: var(--red); }
:root[data-section="anime"] .nav a[aria-current]::after { background: var(--grad); height: 3px; }
:root[data-section="media"] .top { background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
:root[data-section="media"] .top.scrolled { background: transparent; }
:root[data-section="media"][data-theme="light"] .top:not(.scrolled) { --text: #fff; --dim: #e5e5e5; --line: rgba(255,255,255,.3); --bg-2: rgba(0,0,0,.35); color: #fff; }
:root[data-section="media"] .nav { gap: 22px; font-size: 14px; }
:root[data-section="media"] .nav a { color: #e5e5e5; }
:root[data-section="media"][data-theme="light"] .top.scrolled .nav a { color: var(--dim); }
:root[data-section="media"] .nav a[aria-current] { color: var(--text); font-weight: 700; }
:root[data-section="media"] .nav a[aria-current]::after { display: none; }
:root[data-section="media"] .search-open, :root[data-section="media"] .icon-btn, :root[data-section="media"] .profile-chip { background: rgba(0,0,0,.35); }
:root[data-section="media"] .top.scrolled .search-open, :root[data-section="media"] .top.scrolled .icon-btn, :root[data-section="media"] .top.scrolled .profile-chip { background: var(--bg-2); }

/* ---------- Düğmeler ---------- */
:root[data-section="anime"] .btn-play { background: var(--grad); border-radius: 999px; box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--red) 80%, transparent); }
:root[data-section="anime"] .btn-play:hover { filter: brightness(1.08); background: var(--grad); }
:root[data-section="anime"] .hero .btn-ghost { border-radius: 999px; backdrop-filter: blur(8px); }
:root[data-section="media"] .hero .btn-play { background: #fff; color: #000; border-radius: 4px; padding: 0 26px; font-size: 17px; }
:root[data-section="media"] .hero .btn-play:hover { background: rgba(255,255,255,.78); }
:root[data-section="media"] .hero .btn-ghost { background: rgba(109,109,110,.7); border: 0; border-radius: 4px; padding: 0 22px; font-size: 17px; }
:root[data-section="media"] .hero .btn-ghost:hover { background: rgba(109,109,110,.5); }
:root[data-section="media"] .btn { border-radius: 4px; }

/* ---------- Vitrin (ortak) ---------- */
.hero-shade { background:
  linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.62) 34%, rgba(0,0,0,0) 70%),
  linear-gradient(0deg, var(--hero-fade, #090909) 0%, transparent 34%); }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #d8d4ee; font-size: 13px; font-weight: 700; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.hero-skeleton { background: var(--bg-2); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .65; } }

/* Anime vitrini: mor ton, havada duran afiş, dikey Japonca başlık */
:root[data-section="anime"] .hero { background: #0d0b16; }
:root[data-section="anime"] .hero-shade { background:
  radial-gradient(120% 90% at 0% 100%, rgba(13,11,22,.96) 20%, rgba(13,11,22,.55) 55%, transparent 80%),
  linear-gradient(90deg, rgba(13,11,22,.9), rgba(40,14,60,.35) 60%, rgba(13,11,22,.55)),
  linear-gradient(0deg, var(--hero-fade) 0%, transparent 30%); }
:root[data-section="anime"] .hero-bg img { filter: saturate(1.15); }
:root[data-section="anime"] .hero-eyebrow .pill { background: var(--grad); color: #fff; padding: 4px 10px; border-radius: 999px; letter-spacing: .06em; }
:root[data-section="anime"] .hero-title { font-style: italic; font-stretch: 68%; }
.hero-native {
  position: absolute; z-index: 1; right: calc(var(--gutter) - 6px); top: 96px; max-height: calc(100% - 200px); overflow: hidden;
  writing-mode: vertical-rl; font: 900 clamp(38px, 4.6vw, 76px)/1 "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.4); letter-spacing: .08em; pointer-events: none;
  animation: rise 1s ease-out both;
}
.hero-poster {
  position: absolute; z-index: 1; right: calc(var(--gutter) + clamp(70px, 7vw, 120px)); top: 50%;
  width: clamp(170px, 15vw, 240px); transform: translateY(-62%) rotate(3deg);
}
.hero-poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.12), 0 0 70px -10px rgba(192,69,232,.55); animation: float 6s ease-in-out infinite, rise .8s ease-out both; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes rise { from { opacity: 0; translate: 0 18px; } }
:root[data-section="anime"] .hero-strip .thumb { border-radius: 10px; }
:root[data-section="anime"] .hero-strip .thumb i { background: var(--grad); }

/* Film & Dizi vitrini: Netflix gibi tam ekran, başlık altından girer */
:root[data-section="media"] .hero { margin-top: -64px; min-height: min(86vh, 820px); background: #000; }
:root[data-section="media"] .hero-shade { background:
  linear-gradient(77deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 38%, rgba(0,0,0,0) 72%),
  linear-gradient(0deg, var(--hero-fade) 0%, rgba(17,17,17,.6) 14%, transparent 34%); }
:root[data-section="media"] .hero-body { padding-bottom: 150px; }
:root[data-section="media"] .hero-title { font-stretch: 78%; font-weight: 900; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
:root[data-section="media"] .hero-eyebrow { color: #ddd; letter-spacing: .32em; font-size: 12px; }
.hero-mark { display: inline-grid; place-items: center; width: 22px; height: 30px; font: 900 30px/1 var(--display); font-stretch: 70%; color: var(--red); letter-spacing: 0; }
:root[data-section="media"] .hero-meta .score { background: none; border: 0; padding: 0; color: #46d369; font-weight: 700; }
:root[data-section="media"] .hero-meta .score .star { fill: #46d369; }
:root[data-section="media"] .hero-strip { bottom: 150px; gap: 6px; }
:root[data-section="media"] .hero-strip .thumb { width: 22px; height: 3px; aspect-ratio: auto; border-radius: 2px; opacity: 1; background: rgba(255,255,255,.35); }
:root[data-section="media"] .hero-strip .thumb img { display: none; }
:root[data-section="media"] .hero-strip .thumb.on { width: 40px; }
:root[data-section="media"] .hero-strip .thumb i { height: 100%; background: #fff; }

/* ---------- Raf başlıkları ---------- */
:root[data-section="anime"] .shelf-head h2 { display: flex; align-items: center; gap: 12px; }
:root[data-section="anime"] .shelf:not(.shelf-rank) .shelf-head h2::before { content: ""; width: 5px; height: 22px; border-radius: 3px; background: var(--grad); flex: none; }
:root[data-section="media"] .shelf { margin-top: 38px; }
:root[data-section="media"] .shelf-head { margin-bottom: 12px; }
:root[data-section="media"] .shelf-head h2, :root[data-section="media"] .genres h2 { font-family: var(--body); font-weight: 700; font-stretch: 100%; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: 0; display: flex; align-items: center; gap: 12px; }
.more { display: inline-flex; align-items: center; gap: 4px; }
.more svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.more:hover svg { transform: translateX(3px); }
:root[data-section="media"] .more { color: #54b9c5; font-size: 13px; opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .25s; }
:root[data-section="media"] .shelf:hover .more, :root[data-section="media"] .more:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { :root[data-section="media"] .more { opacity: 1; transform: none; } }
.top10 { display: inline-grid; place-items: center; width: 34px; height: 38px; border-radius: 4px; background: var(--grad); color: #fff; font: 900 9px/1 var(--display); letter-spacing: .06em; flex: none; }
.top10 b { display: block; font-size: 18px; font-stretch: 75%; letter-spacing: -.02em; margin-top: 1px; }
:root[data-section="media"] .top10 { background: var(--red); border-radius: 2px; }

/* ---------- Satırlar ---------- */
.row { padding: 10px 6px; margin: -10px -6px; }
.row-land { grid-auto-columns: clamp(200px, 18.6vw, 290px); gap: 10px; }
.row-rank { grid-auto-columns: clamp(170px, 17vw, 230px); gap: 14px; }
:root[data-section="media"] .row-poster { grid-auto-columns: clamp(130px, 12.6vw, 176px); gap: 10px; }

/* ---------- Afiş kartı ---------- */
.card-img { border-radius: var(--radius, 6px); }
.card-img::after { border-radius: inherit; }
.card-score { position: absolute; z-index: 3; right: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 999px; background: rgba(10,8,20,.72); backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.card-score .star { width: 10px; height: 10px; fill: #ffc94d; }
.card-hover { position: absolute; z-index: 3; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); opacity: 0; transform: scale(.7); transition: opacity .2s, transform .25s cubic-bezier(.3,1.4,.5,1); box-shadow: 0 8px 24px -6px rgba(0,0,0,.6); }
.card-hover svg { width: 16px; height: 16px; fill: #fff; margin-left: 3px; }
.card:hover .card-hover, .card:focus-visible .card-hover { opacity: 1; transform: none; }
.card-meta .kind { color: var(--faint); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
:root[data-section="anime"] .card:hover .card-img,
:root[data-section="anime"] .card:focus-visible .card-img {
  animation: red-live 1.35s ease-in-out infinite;
}
@keyframes red-live {
  0%, 100% { box-shadow: 0 0 0 1.5px #ff3040, 0 0 12px 1px rgba(255, 42, 58, .4), 0 0 26px 6px rgba(214, 20, 40, .22); }
  50% { box-shadow: 0 0 0 2px #ff7a82, 0 0 24px 4px rgba(255, 42, 58, .85), 0 0 48px 14px rgba(214, 20, 40, .5); }
}
:root[data-section="anime"] .card:hover .card-hover,
:root[data-section="anime"] .card:focus-visible .card-hover {
  animation: play-glow 1.35s ease-in-out infinite;
}
@keyframes play-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 42, 58, .0), 0 8px 24px -6px rgba(0,0,0,.6); }
  50% { box-shadow: 0 0 0 8px rgba(255, 42, 58, .22), 0 8px 24px -6px rgba(0,0,0,.6); }
}
:root[data-section="media"] .card .card-title, :root[data-section="media"] .card .card-meta { display: none; }
:root[data-section="media"] .card-hover { background: rgba(255,255,255,.92); }
:root[data-section="media"] .card-hover svg { fill: #000; }
:root[data-section="media"] .card:hover { transform: scale(1.05); }
:root[data-section="media"] .card:hover .card-img { box-shadow: 0 14px 30px -10px rgba(0,0,0,.8); }

/* ---------- Yatay kart (16:9) ---------- */
.land { display: block; min-width: 0; position: relative; transition: transform .25s ease, opacity .35s ease; }
.land-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius, 6px); background: var(--bg-3); }
.land-img img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.land-img img.is-poster { object-position: center 20%; }
.land-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; font: 800 20px/1.05 var(--display); font-stretch: 78%; color: var(--faint); background: linear-gradient(135deg, var(--bg-3), var(--bg-2)); }
.land-shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.35) 38%, transparent 62%); }
.land-body { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 10px; display: grid; gap: 3px; color: #fff; }
.land-title { font: 800 clamp(15px, 1.25vw, 19px)/1.1 var(--display); font-stretch: 82%; letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.land-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; font-size: 12px; color: #d2d2d2; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .25s, opacity .25s; }
.land-meta .score { color: #46d369; font-weight: 700; }
.land-meta .score .star { fill: #46d369; width: 10px; height: 10px; }
.land-meta .kind { border: 1px solid rgba(255,255,255,.4); border-radius: 3px; padding: 0 5px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.land-play { position: absolute; z-index: 3; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; opacity: 0; transform: scale(.7); transition: opacity .2s, transform .25s; }
.land-play svg { width: 13px; height: 13px; fill: #000; margin-left: 2px; }
.land:hover, .land:focus-visible { transform: scale(1.06); z-index: 2; outline: none; }
.land:hover .land-img, .land:focus-visible .land-img { box-shadow: 0 18px 36px -12px rgba(0,0,0,.85); }
.land:focus-visible .land-img { box-shadow: 0 0 0 2px var(--ring); }
.land:hover .land-meta, .land:focus-visible .land-meta { max-height: 40px; opacity: 1; }
.land:hover .land-play, .land:focus-visible .land-play { opacity: 1; transform: none; }
.land:hover .land-body, .land:focus-visible .land-body { right: 52px; }
:root[data-section="anime"] .land-play { background: var(--grad); }
:root[data-section="anime"] .land-play svg { fill: #fff; }
:root[data-section="anime"] .land:hover .land-img { box-shadow: 0 0 0 2px var(--red), 0 18px 36px -12px rgba(0,0,0,.85); }
.land.noimg-fallback .land-shade { display: none; }
.land-img.noimg .land-shade { background: none; }

/* ---------- İlk 10 kartı ---------- */
.rank { position: relative; display: block; min-width: 0; padding-left: 40%; transition: transform .25s, opacity .35s; }
.rank .card-img { margin: 0; aspect-ratio: 2 / 3; position: relative; z-index: 1; }
.rank-n {
  position: absolute; left: -4px; bottom: -0.08em; z-index: 0;
  font: 900 clamp(120px, 12vw, 176px)/.8 var(--display); font-stretch: 62%; letter-spacing: -.06em;
  color: var(--bg); -webkit-text-stroke: 3px color-mix(in srgb, var(--text) 55%, transparent);
  user-select: none;
}
.rank:nth-child(10) .rank-n { letter-spacing: -.14em; left: -14px; }
:root[data-section="anime"] .rank-n { color: transparent; -webkit-text-stroke: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; opacity: .9; }
.rank:hover { transform: translateY(-4px); }
.rank:hover .card-img { box-shadow: 0 0 0 2px var(--text); }
.rank:focus-visible { outline: none; }
.rank:focus-visible .card-img { box-shadow: 0 0 0 2px var(--ring); }
.rank, .land { opacity: 0; }
.rank.visible, .land.visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .rank, .land { opacity: 1; } }

/* ---------- Izgaralar ---------- */
.grid-land { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px 12px; }
.sk-poster { aspect-ratio: 2 / 3; border-radius: var(--radius, 6px); }
.sk-land { aspect-ratio: 16 / 9; border-radius: var(--radius, 6px); }

/* ---------- Tür kutucukları ---------- */
.genres .shelf-head { margin-bottom: 0; }
.genre-grid a { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 92px; color: #fff; border: 0; }
.genre-grid a span { position: relative; z-index: 1; }
:root[data-section="anime"] .genre-grid a { border-radius: 14px; background: linear-gradient(135deg, hsl(var(--h) 80% 58%), hsl(calc(var(--h) + 45) 70% 34%)); font-style: italic; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
:root[data-section="anime"] .genre-grid a::after { content: ""; position: absolute; right: -18px; top: -18px; width: 86px; height: 86px; border-radius: 50%; border: 12px solid rgba(255,255,255,.14); transition: transform .3s; }
:root[data-section="anime"] .genre-grid a:hover::after { transform: scale(1.25); }
:root[data-section="anime"] .genre-grid a:hover { filter: brightness(1.1); background: linear-gradient(135deg, hsl(var(--h) 80% 58%), hsl(calc(var(--h) + 45) 70% 34%)); }
:root[data-section="media"] .genre-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
:root[data-section="media"] .genre-grid a { border-radius: 4px; min-height: 84px; font-family: var(--body); font-weight: 700; font-stretch: 100%; font-size: 17px; background: linear-gradient(120deg, hsl(var(--h) 55% 26%) 0%, #1a1a1a 85%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); transition: transform .2s; }
:root[data-section="media"] .genre-grid a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: hsl(var(--h) 75% 55%); }
:root[data-section="media"] .genre-grid a:hover { transform: scale(1.03); background: linear-gradient(120deg, hsl(var(--h) 60% 32%) 0%, #222 85%); }
:root[data-section="media"][data-theme="light"] .genre-grid a { background: linear-gradient(120deg, hsl(var(--h) 55% 34%) 0%, #2a2a2a 85%); }

/* ---------- Keşfet sayfası ---------- */
.eyebrow { display: block; color: var(--faint); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
:root[data-section="anime"] .page-head .eyebrow { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
:root[data-section="media"] .page-head .eyebrow { color: var(--red); }
.page-head { align-items: flex-end; }
.kind-switch { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); margin-right: auto; }
.kind-switch a { padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 650; color: var(--dim); }
.kind-switch a:hover { color: var(--text); }
.kind-switch a.on { background: var(--text); color: var(--bg); }
:root[data-section="media"] .kind-switch, :root[data-section="media"] .kind-switch a { border-radius: 4px; }
:root[data-section="media"] .page-browse, :root[data-section="media"] .page-head { padding-top: 0; }
:root[data-section="media"] main > .page:first-child { padding-top: 32px; }
:root[data-section="anime"] .chip { border-radius: 999px; }
:root[data-section="anime"] .chip.on { background: var(--grad); border-color: transparent; color: #fff; box-shadow: none; }
:root[data-section="media"] .chip { border-radius: 4px; }
:root[data-section="media"] .chip.on { background: var(--text); color: var(--bg); box-shadow: none; }

/* ---------- İzleme sayfası vurguları ---------- */
:root[data-section="anime"] .cinema { background: radial-gradient(80% 120% at 50% 0%, #1a1030, #07060c 70%); border-color: #221a38; }
:root[data-section="anime"] .cinema-panel { background: #0f0c1c; border-color: #241d3d; }
:root[data-section="anime"] .cinema-ep-list .ep:hover, :root[data-section="anime"] .cinema-ep-list .ep.cur { background: #1d1733; }
:root[data-section="anime"] .src-bar { background: #0b0915; border-color: #221a38; }
:root[data-section="anime"] .source-chip.on { background: var(--grad); border-color: transparent; box-shadow: 0 0 0 2px rgba(192,69,232,.3); }
:root[data-section="media"] .title { font-stretch: 80%; font-weight: 900; }
:root[data-section="media"] .source-chip, :root[data-section="media"] .source-chip.on { border-radius: 4px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1180px) {
  .tab-btn { padding: 0 12px; }
  .nav { gap: 18px; }
  .hero-poster { display: none; }
}
@media (max-width: 900px) {
  .hero-native { display: none; }
  :root[data-section="media"] .hero-body { padding-bottom: 72px; }
}
@media (max-width: 760px) {
  .tab-bar { order: 4; width: 100%; margin: 10px 0 12px; }
  .tab-btn { height: 36px; }
  :root[data-section="media"] .hero { margin-top: 0; }
  :root[data-section="media"] .top { background: color-mix(in srgb, var(--bg) 96%, transparent); }
  .row-land { grid-auto-columns: 72vw; }
  .row-rank { grid-auto-columns: 46vw; }
  .rank-n { font-size: 30vw; }
  .grid-land { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
  .land-meta { max-height: 40px; opacity: 1; }
  .kind-switch { order: 3; }
  .nav { top: 118px; }
  .genre-grid, :root[data-section="media"] .genre-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .genre-grid a { min-height: 64px; padding: 14px; font-size: 17px; white-space: normal; }
}

/* OMDb & Puan rozetleri */
.imdb-score { display: inline-flex; align-items: center; gap: 4px; }
.metascore {
  display: inline-block;
  background: #6ac045;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 1px 5px;
  border-radius: 3px;
}
.metascore[data-score] { }
.awards-badge { font-size: 16px; cursor: help; }


/* OMDb & Puan rozetleri */
.imdb-score { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--text); }
.metascore { display: inline-grid; place-items: center; min-width: 26px; height: 22px; background: #6ac045; color: #fff; font-weight: 800; font-size: 12px; padding: 0 5px; border-radius: 4px; }
.badge-rt, .badge-box, .awards-badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--line); color: var(--text); }
.badge-rt b { color: #fa320a; font-weight: 900; letter-spacing: .02em; }
.awards-badge { cursor: help; color: #f5c518; border-color: color-mix(in srgb, #f5c518 45%, transparent); }
.awards-badge svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* =====================================================================
   CANLI TV BÖLÜMÜ (v8) — gece mavisi zemin, canlı yayın kırmızısı
   ===================================================================== */
:root[data-section="livetv"] {
  --bg: #070910; --bg-2: #0e1322; --bg-3: #172038; --line: #222c46;
  --text: #eef3ff; --dim: #9fb0d0; --faint: #6b7a99;
  --red: #ff2e4d; --red-2: #ff7a2e; --red-ink: #fff; --blue: #3ad1ff;
  --grad: linear-gradient(120deg, #ff2e4d 0%, #ff5a3c 60%, #ff8a2e 100%);
  --hero-fade: #070910; --radius: 12px; --ring: #3ad1ff;
}
:root[data-section="livetv"][data-theme="light"] {
  --bg: #f6f8fc; --bg-2: #ffffff; --bg-3: #e9eef7; --line: #d8e0ee;
  --text: #0d1426; --dim: #4f5d78; --faint: #8592ab; --ring: #0a84c6;
}
:root[data-section="livetv"] .logo { color: var(--red); }
:root[data-section="livetv"] .nav a[aria-current]::after { display: none; }
.tab-live { position: absolute; top: 5px; right: 9px; width: 6px; height: 6px; border-radius: 50%; background: #ff2e4d; box-shadow: 0 0 0 0 rgba(255,46,77,.7); animation: live-pulse 1.8s ease-out infinite; }
.tab-btn.active .tab-live { background: #fff; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,46,77,.65); } 70% { box-shadow: 0 0 0 7px rgba(255,46,77,0); } 100% { box-shadow: 0 0 0 0 rgba(255,46,77,0); } }

.livetv-page { padding-top: 8px; }
.live-head { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; padding: 48px 0 26px; }
.live-head::before { content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; top: -60px; height: 320px; background: radial-gradient(40% 70% at 12% 30%, rgba(255,46,77,.22), transparent 70%), radial-gradient(35% 60% at 80% 10%, rgba(58,209,255,.16), transparent 70%); pointer-events: none; }
.live-head h1 { font-family: var(--display); font-weight: 900; font-stretch: 70%; font-size: clamp(46px, 6vw, 84px); line-height: .9; letter-spacing: -.015em; }
.live-sub { color: var(--dim); margin-top: 10px; font-size: 15px; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 5px 11px 5px 9px; border-radius: 999px; background: rgba(255,46,77,.14); color: #ff5a6e; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.live-badge i { width: 8px; height: 8px; border-radius: 50%; background: #ff2e4d; animation: live-pulse 1.8s ease-out infinite; }
.live-badge-sm { margin: 0; padding: 3px 9px 3px 7px; font-size: 10px; }
.live-badge-sm i { width: 6px; height: 6px; }
.live-search { display: flex; align-items: center; gap: 10px; width: min(340px, 100%); height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--faint); transition: border-color .2s, box-shadow .2s; }
.live-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
.live-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: none; }
.live-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; color: var(--text); font-size: 15px; }

.livetv-cats { position: sticky; top: 64px; z-index: 6; display: flex; gap: 8px; margin: 0 calc(var(--gutter) * -1); padding: 12px var(--gutter); overflow-x: auto; scrollbar-width: none; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.livetv-cats::-webkit-scrollbar { display: none; }
.cat-btn { position: relative; overflow: hidden; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--dim); font-size: 14px; font-weight: 650; cursor: pointer; transition: color .2s, border-color .2s, background .2s, transform .2s; }
.cat-btn svg { width: 16px; height: 16px; fill: none; stroke: hsl(var(--h, 210) 80% 62%); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cat-btn small { font-size: 11px; font-weight: 700; color: var(--faint); font-variant-numeric: tabular-nums; }
.cat-btn:hover { color: var(--text); border-color: var(--faint); transform: translateY(-1px); }
.cat-btn.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 22px -10px rgba(255,46,77,.8); }
.cat-btn.active svg { stroke: #fff; }
.cat-btn.active small { color: rgba(255,255,255,.8); }

.ch-group { margin-top: 38px; }
.ch-group[hidden] { display: none; }
.ch-group-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--display); font-weight: 800; font-stretch: 82%; font-size: 26px; }
.ch-group-head svg { width: 24px; height: 24px; padding: 4px; border-radius: 8px; fill: none; stroke: hsl(var(--h, 210) 85% 65%); background: hsl(var(--h, 210) 70% 50% / .14); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; box-sizing: content-box; }
.ch-group-head small { margin-left: 4px; font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--faint); }
.ch-recent .ch-group-head svg { stroke: var(--blue); background: color-mix(in srgb, var(--blue) 14%, transparent); }
.livetv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ch-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); cursor: pointer; outline: none; transition: transform .25s cubic-bezier(.2,.7,.2,1), border-color .2s, box-shadow .25s, background .2s; animation: rise .5s cubic-bezier(.2,.7,.2,1) var(--d, 0ms) backwards; }
.ch-card[hidden] { display: none; }
.ch-logo { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: radial-gradient(90% 90% at 50% 30%, hsl(var(--h, 210) 60% 40% / .32), transparent 75%), var(--bg-3); }
.ch-logo img { width: 62%; height: 62%; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.ch-ph { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: hsl(var(--h, 210) 60% 45% / .3); color: var(--text); font: 800 18px var(--display); text-transform: uppercase; }
.ch-name { font-size: 13px; font-weight: 650; line-height: 1.3; color: var(--text); text-align: left; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 0 2px; }
.ch-live { position: absolute; left: 7px; top: 7px; display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px 2px 6px; border-radius: 999px; background: rgba(255,46,77,.92); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .12em; opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
.ch-live i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.ch-play { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s cubic-bezier(.3,1.4,.5,1); }
.ch-play svg { width: 12px; height: 12px; fill: #000; margin-left: 2px; }
.ch-card:hover, .ch-card:focus-visible { transform: translateY(-5px); border-color: hsl(var(--h, 210) 75% 58%); background: var(--bg-3); box-shadow: 0 18px 36px -18px hsl(var(--h, 210) 80% 50% / .7); }
.ch-card:focus-visible { box-shadow: 0 0 0 2px var(--ring); }
.ch-card:hover .ch-logo img, .ch-card:focus-visible .ch-logo img { transform: scale(1.1); }
.ch-card:hover .ch-live, .ch-card:hover .ch-play, .ch-card:focus-visible .ch-live, .ch-card:focus-visible .ch-play { opacity: 1; transform: none; }

.livetv-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(3,5,12,.0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); transition: background .3s, backdrop-filter .3s; }
.livetv-modal.open { background: rgba(3,5,12,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.livetv-modal-inner { width: min(980px, 100%); overflow: hidden; border-radius: 18px; background: #0b0f1c; border: 1px solid #1d2742; box-shadow: 0 40px 100px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03); opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .3s, transform .4s cubic-bezier(.2,.8,.2,1); color: #eef3ff; }
.livetv-modal.open .livetv-modal-inner { opacity: 1; transform: none; }
.livetv-modal-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; border-bottom: 1px solid #1d2742; }
.livetv-modal-logo { width: 38px; height: 38px; object-fit: contain; border-radius: 8px; background: #172038; padding: 4px; }
.livetv-modal-title { flex: 1; min-width: 0; display: grid; font-weight: 700; font-size: 16px; }
.livetv-modal-title small { color: #8796b8; font-size: 12px; font-weight: 600; }
.livetv-modal-close { --line: #2a3554; --bg-2: #141b2e; color: #eef3ff; }
.livetv-modal-close svg { stroke-width: 2.2; }
.livetv-modal-body { position: relative; aspect-ratio: 16 / 9; background: #000; }
.livetv-status { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #9aa6c4; font-size: 14px; pointer-events: none; }

/* =====================================================================
   ANİMASYONLAR (v8)
   ===================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* Bölüm geçişi: tıklanan sekmeden yayılan daire */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: vt-reveal .7s cubic-bezier(.65, 0, .25, 1) both; }
@keyframes vt-reveal { from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 0)); } to { clip-path: circle(var(--vt-r, 150vmax) at var(--vt-x, 50%) var(--vt-y, 0)); } }

/* Kartlar: satır içinde sırayla belirir (yalnızca giriş; üzerine gelme efektlerini geciktirmez) */
.card, .wide, .land, .rank { opacity: 0; transform: none; transition: transform .28s cubic-bezier(.2,.7,.2,1), opacity .2s; }
.card.visible, .wide.visible, .land.visible, .rank.visible { opacity: 1; animation: card-in .6s cubic-bezier(.2,.7,.2,1) var(--d, 0ms) backwards; }
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } }
.rank.visible .rank-n { animation: rank-in .8s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0ms) + 120ms) backwards; }
@keyframes rank-in { from { opacity: 0; transform: translateX(-26px) skewX(-8deg); } }

.card .card-img, .rank .card-img { transition: transform .35s var(--ease), box-shadow .2s; }
.card:hover .card-img, .rank:hover .card-img { transform: translateY(-4px); }
.hero-poster { transition: transform .4s var(--ease); }

/* Tıklama dalgası */
.btn, .tab-btn, .chip, .cat-btn, .kind-switch a { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .22; transform: scale(0); pointer-events: none; animation: ripple .6s ease-out forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* Vitrin: çapraz geçiş, yavaş yakınlaşma (Ken Burns), kademeli yazı girişi */
.hero-bg img { position: absolute; inset: 0; animation: hero-fade 1.1s var(--ease) backwards; transition: opacity 1s ease; }
.hero-bg img.out { opacity: 0; }
@keyframes hero-fade { from { opacity: 0; } }
.hero-body > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) backwards; }
.hero-body > :nth-child(2) { animation-delay: .07s; }
.hero-body > :nth-child(3) { animation-delay: .14s; }
.hero-body > :nth-child(4) { animation-delay: .21s; }
.hero-body > :nth-child(5) { animation-delay: .28s; }
:root[data-section="media"] .hero-title { animation: title-in .9s cubic-bezier(.2,.7,.2,1) .05s backwards; }
@keyframes title-in { from { opacity: 0; transform: translateY(24px); letter-spacing: .04em; filter: blur(6px); } }
@supports (animation-timeline: scroll()) {
  .hero-body { animation: hero-par linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
  @keyframes hero-par { to { opacity: 0; transform: translateY(-60px); } }
}

/* Anime vitrininde süzülen sakura yaprakları */
.petals { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.petals i { position: absolute; top: -6%; left: calc(var(--k) * 7.4% - 4%); width: 13px; height: 10px; border-radius: 100% 0 100% 0; background: linear-gradient(135deg, #ffd1e2, #ff8fb8); opacity: .65; filter: drop-shadow(0 2px 6px rgba(255,105,160,.35)); animation: petal calc(11s + var(--k) * .55s) linear calc(var(--k) * -1.3s) infinite; }
.petals i:nth-child(3n) { width: 7px; height: 6px; opacity: .45; }
.petals i:nth-child(4n) { filter: blur(1.5px); }
@keyframes petal {
  0% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(5vw, 28vh) rotate(140deg); }
  50% { transform: translate(-2vw, 56vh) rotate(290deg); }
  75% { transform: translate(7vw, 84vh) rotate(430deg); }
  100% { transform: translate(3vw, 112vh) rotate(560deg); }
}

/* Raf başlığındaki çubuk ve "Tümünü gör" */
:root[data-section="anime"] .shelf:not(.shelf-rank) .shelf-head h2::before { transform-origin: bottom; animation: bar-grow .7s cubic-bezier(.2,.7,.2,1) backwards; }
@keyframes bar-grow { from { transform: scaleY(0); } }
.arrow { transition: background .2s, transform .2s, opacity .2s; }
.arrow:hover:not(:disabled) { transform: scale(1.1); }

/* Arama sonuçları: kademeli giriş ve tür grupları */
.result { animation: rise .35s cubic-bezier(.2,.7,.2,1) var(--d, 0ms) backwards; }
.result-group { display: flex; align-items: center; gap: 8px; padding: 12px 10px 6px; color: var(--faint); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.result-group small { font-size: 11px; color: var(--faint); opacity: .8; }
.search[open] { animation: dialog-in .28s cubic-bezier(.2,.8,.2,1); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(-12px) scale(.98); } }

/* Listem: dizi / film grupları */
.list-group + .list-group { margin-top: 44px; }
.list-group-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; font-family: var(--display); font-weight: 800; font-stretch: 82%; font-size: 26px; }
.list-group-head small { font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--faint); }

/* Tür kutucukları: üzerine gelince parlama süpürmesi */
.genre-grid a::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
:root[data-section="media"] .genre-grid a::before { width: auto; left: 0; right: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%); }
.genre-grid a:hover::before { transform: translateX(120%); }
:root[data-section="media"] .genre-grid a { border-left: 4px solid hsl(var(--h) 75% 55%); }

/* Duyarlı: üç sekme */
@media (max-width: 1320px) { .tab-btn { padding: 0 12px; } .nav { gap: 16px; font-size: 14px; } }
@media (max-width: 1180px) { .tab-btn svg { display: none; } }
@media (max-width: 760px) {
  .tab-btn { padding: 0 6px; font-size: 13px; }
  .tab-live { right: 6px; }
  .live-head { padding-top: 28px; }
  .live-search { width: 100%; }
  .livetv-cats { top: 118px; }
  .livetv-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
  .ch-live, .ch-play { opacity: 1; transform: none; }
  .ch-play { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .petals, .tab-live, .live-badge i { display: none; }
  ::view-transition-new(root) { animation: none; }
  .hero-body { animation: none !important; }
  .card, .wide, .land, .rank { opacity: 1; animation: none !important; }
  .hero-bg img { animation: none; }
}
.livetv-page { overflow-x: clip; }
#livetv-empty[hidden] { display: none; }
@media (max-width: 520px) {
  .livetv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ch-card { padding: 6px 6px 8px; gap: 6px; border-radius: 12px; }
  .ch-name { font-size: 11.5px; }
  .ch-live { display: none; }
  .ch-group-head { font-size: 22px; }
}

/* =====================================================================
   GELİŞMİŞ ARAYÜZ (v9)
   ===================================================================== */
@property --ambc { syntax: '<color>'; inherits: true; initial-value: transparent; }

/* ---------- Görseller yumuşakça belirir ---------- */
:is(.card-img, .land-img, .wide-img, .ep-thumb, .result-img, .qv-rec-img, .qv-ep-img, .ch-logo, .qv-banner) img { opacity: 0; transition: opacity .5s ease, transform .3s cubic-bezier(.2,.7,.2,1); animation: img-safety 0s 4s forwards; }
:is(.card-img, .land-img, .wide-img, .ep-thumb, .result-img, .qv-rec-img, .qv-ep-img, .ch-logo, .qv-banner) img.ld { opacity: 1; }
@keyframes img-safety { to { opacity: 1; } }

/* ---------- Ortam ışığı ---------- */
.hero, .cinema, .qv { transition: --ambc 1.4s ease; }
.hero-shade { box-shadow: inset 0 -160px 140px -120px color-mix(in srgb, var(--ambc) 55%, transparent); }
:root[data-section="anime"] .page-home::before, :root[data-section="media"] .page-home::before { content: none; }
:root[data-section="anime"] .cinema { background: radial-gradient(80% 120% at 40% 0%, color-mix(in srgb, var(--ambc) 38%, #120c22), #07060c 72%); }
:root[data-section="media"] .cinema { background: radial-gradient(80% 120% at 40% 0%, color-mix(in srgb, var(--ambc) 30%, #0a0a0a), #050505 72%); }

/* ---------- Kartlarda hızlı eylemler ---------- */
.card-sheet {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0;
  display: grid; gap: 2px; padding: 36px 10px 46px;
  background: linear-gradient(to top, rgba(0,0,0,.92) 20%, transparent);
  color: #fff; transform: translateY(12px); opacity: 0;
  transition: transform .4s var(--ease), opacity .3s ease;
}
.card-sheet b { font-size: 13px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-sheet small { color: rgba(255,255,255,.75); font-size: 11px; font-weight: 650; }
.card:hover .card-sheet, .card:focus-visible .card-sheet { transform: none; opacity: 1; }
.qa { position: absolute; z-index: 5; left: 8px; bottom: 8px; display: flex; gap: 6px; opacity: 0; transform: translateY(10px); transition: opacity .28s ease .08s, transform .4s var(--ease) .08s; }
.qa-btn:nth-child(2) { transition-delay: .12s; }
.qa-land { left: auto; bottom: auto; right: 10px; top: 10px; }
.card:hover .qa, .card:focus-within .qa, .rank:hover .qa, .land:hover .qa, .land:focus-visible .qa { opacity: 1; transform: none; }
.qa-btn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(12,10,22,.72); border: 1.5px solid rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.qa-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qa-btn:hover { background: rgba(255,255,255,.95); color: #000; border-color: #fff; transform: scale(1.08); }
.qa-btn.on { background: var(--red); border-color: var(--red); color: #fff; }
:root[data-section="anime"] .qa-btn.on { background: var(--grad); border-color: transparent; }
.card .card-hover { pointer-events: none; }
.rank .qa { left: auto; right: 8px; }
@media (hover: none) {
  .qa { opacity: 1; transform: none; left: auto; right: 6px; bottom: 6px; }
  .qa .qa-btn[data-list] { display: none; }
  .qa-btn { width: 28px; height: 28px; }
  .qa-land { top: auto; bottom: 6px; right: 6px; }
}
.wide-img { position: relative; }
.qa-forget { position: absolute; z-index: 3; top: 8px; right: 8px; width: 28px; height: 28px; opacity: 0; transition: opacity .2s, background .15s; }
.wide:hover .qa-forget, .wide:focus-within .qa-forget { opacity: 1; }
@media (hover: none) { .qa-forget { opacity: 1; } }
.wide.leaving { transition: opacity .25s, transform .25s; opacity: 0 !important; transform: scale(.9) !important; }
.picked .card-img, .picked .land-img { box-shadow: 0 0 0 3px var(--red), 0 0 40px 4px color-mix(in srgb, var(--red) 60%, transparent) !important; animation: picked .6s ease-in-out 2; }
@keyframes picked { 50% { transform: scale(1.05); } }

/* ---------- Vitrin: bilgi düğmesi ---------- */
.btn-info svg.ln { width: 17px; height: 17px; }
:root[data-section="anime"] .hero .btn-info { border-radius: 999px; }

/* ---------- Detay penceresi ---------- */
.qv { width: min(940px, calc(100vw - 24px)); max-height: calc(100vh - 6vh); margin: 3vh auto; padding: 0; border-radius: 18px; overflow: auto; background: var(--bg-2); color: var(--text); box-shadow: 0 40px 140px -30px color-mix(in srgb, var(--ambc) 75%, rgba(0,0,0,.8)), 0 0 0 1px color-mix(in srgb, var(--line) 80%, transparent); scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.qv::backdrop { background: rgba(4,4,10,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.qv[open] { animation: qv-in .38s cubic-bezier(.2,.8,.2,1); }
.qv[open]::backdrop { animation: fade-in .3s ease; }
.qv.closing { animation: qv-out .18s ease-in forwards; }
@keyframes qv-in { from { opacity: 0; transform: translateY(28px) scale(.96); } }
@keyframes qv-out { to { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes fade-in { from { opacity: 0; } }
.qv-card { position: relative; }
.qv-close { position: absolute; z-index: 3; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(10,10,14,.7); border-color: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(8px); }
.qv-close svg { stroke-width: 2.2; }
.qv-banner { position: relative; aspect-ratio: 16 / 8; background: #000; overflow: hidden; color: #fff; }
.qv-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qv-banner img.ld { animation: kenburns 30s ease-in-out infinite alternate; }
.qv-shade { position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg-2) 0%, color-mix(in srgb, var(--bg-2) 40%, transparent) 30%, transparent 62%), linear-gradient(90deg, rgba(0,0,0,.55), transparent 60%); }
.qv-head { position: absolute; left: 32px; right: 32px; bottom: 26px; display: grid; gap: 18px; }
.qv-title { font-family: var(--display); font-weight: 900; font-stretch: 72%; font-size: clamp(32px, 4.6vw, 58px); line-height: .92; letter-spacing: -.01em; max-width: 14ch; text-shadow: 0 2px 24px rgba(0,0,0,.5); color: var(--text); }
:root[data-section="anime"] .qv-title { font-style: italic; }
.qv-head .btn-ghost { --text: #fff; color: var(--text); background: rgba(40,40,48,.6); border-color: rgba(255,255,255,.3); backdrop-filter: blur(6px); }
:root[data-theme="light"] .qv-head .btn-ghost { color: #141414; background: rgba(255,255,255,.75); border-color: rgba(0,0,0,.15); }
:root[data-section="media"] .qv-head .btn-play { background: #fff; color: #000; }
.qv-body { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 20px 40px; padding: 8px 32px 24px; }
.qv-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--dim); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.qv-facts .score { color: #46d369; font-weight: 800; }
:root[data-section="anime"] .qv-facts .score { color: var(--text); }
.kind-pill { border: 1px solid var(--line); padding: 1px 8px; border-radius: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.qv-text { line-height: 1.65; color: var(--text); max-width: 66ch; }
.qv-text .skeleton { display: block; }
.qv-side { margin: 0; display: grid; gap: 14px; align-content: start; font-size: 14px; }
.qv-side dt { color: var(--faint); font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.qv-side dd { margin: 0; color: var(--text); display: flex; flex-wrap: wrap; gap: 6px; }
.qv-side dd span { padding: 2px 9px; border-radius: 999px; background: var(--bg-3); font-size: 13px; }
.qv-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.qv-sec-head h3 { font-family: var(--display); font-weight: 800; font-stretch: 82%; font-size: 24px; }
.qv-eps, .qv-recs { padding: 10px 32px 28px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 22px; }
.qv-ep-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 460px; overflow-y: auto; scrollbar-width: thin; }
.qv-ep { display: grid; grid-template-columns: 34px 132px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 10px; border-radius: 10px; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); transition: background .15s; }
.qv-ep.no-still { grid-template-columns: 34px minmax(0, 1fr) auto; }
.qv-ep:hover { background: var(--bg-3); }
.qv-ep-n { font: 800 24px var(--display); font-stretch: 75%; color: var(--faint); text-align: center; }
.qv-ep-img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--bg-3); }
.qv-ep-img img { width: 100%; height: 100%; object-fit: cover; }
.qv-ep-img .bar { position: absolute; left: 0; right: 0; bottom: 0; }
.qv-ep-body { display: grid; gap: 4px; min-width: 0; }
.qv-ep-body strong { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qv-ep-body span { font-size: 13px; color: var(--dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qv-ep-rt { font-size: 13px; color: var(--faint); font-weight: 600; }
.qv-more { padding: 12px 10px; }
.qv-rec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.qv-rec { display: grid; gap: 8px; border-radius: 10px; background: var(--bg-3); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.qv-rec:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.7); }
.qv-rec-img { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--bg-2); }
.qv-rec-img img { width: 100%; height: 100%; object-fit: cover; }
.qv-rec-t { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 1; color: #fff; font: 800 15px/1.1 var(--display); font-stretch: 82%; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.qv-rec-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent 60%); }
.qv-rec-meta { display: flex; align-items: center; gap: 10px; padding: 0 10px 10px; font-size: 13px; color: var(--dim); }
.qv-rec-meta .qa-btn { margin-left: auto; width: 30px; height: 30px; background: transparent; color: var(--text); border-color: var(--line); }
.qv-rec-meta .qa-btn.on { color: #fff; }

/* ---------- Mobil alt menü ---------- */
.bottom-nav { display: none; }
@media (max-width: 760px) {
  .bottom-nav {
    position: fixed;
    z-index: 30;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
    box-shadow: 0 -4px 24px -8px rgba(0,0,0,.3);
    animation: bottom-nav-in .4s cubic-bezier(.2,.8,.2,1);
  }
  @keyframes bottom-nav-in { from { transform: translateY(100%); opacity: 0; } }
  .bottom-nav a, .bottom-nav button {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 8px 0 6px;
    border: 0;
    background: none;
    color: var(--faint);
    font-size: 10.5px;
    font-weight: 650;
    border-radius: 8px;
    transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
  }
  .bottom-nav a:hover, .bottom-nav button:hover {
    color: var(--text);
    background: color-mix(in srgb, var(--red) 10%, transparent);
  }
  .bottom-nav svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s cubic-bezier(.3,1.4,.5,1), stroke var(--transition-fast);
  }
  .bottom-nav [aria-current] { color: var(--text); }
  .bottom-nav [aria-current] svg {
    transform: translateY(-3px) scale(1.1);
    stroke: var(--red);
    filter: drop-shadow(0 2px 8px color-mix(in srgb, var(--red) 50%, transparent));
  }
  .bottom-nav [aria-current]::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    width: 28px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: var(--grad);
    transform: translateX(-50%);
    animation: indicator-in .4s cubic-bezier(.3,1.4,.5,1);
  }
  @keyframes indicator-in { from { width: 0; opacity: 0; } }
  .bottom-nav b {
    position: absolute;
    top: 0px;
    left: calc(50% + 8px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    animation: badge-in .3s cubic-bezier(.3,1.4,.5,1);
  }
  @keyframes badge-in { from { transform: scale(0); opacity: 0; } }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
  :root[data-mode="cloud"] .hamburger { display: none; }
  :root[data-mode="cloud"] .top-actions { margin-left: auto; }
  .qv { width: 100vw; max-width: 100vw; max-height: 94vh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .qv[open] { animation: sheet-in .38s cubic-bezier(.2,.8,.2,1); }
  @keyframes sheet-in { from { transform: translateY(60%); opacity: .4; } }
  .qv-banner { aspect-ratio: 16 / 11; }
  .qv-head { left: 18px; right: 18px; bottom: 16px; }
  .qv-body { grid-template-columns: 1fr; padding: 4px 18px 18px; }
  .qv-eps, .qv-recs { padding-left: 18px; padding-right: 18px; }
  .qv-ep { grid-template-columns: 26px 96px minmax(0, 1fr); gap: 10px; padding: 10px 4px; }
  .qv-ep-rt { display: none; }
  .qv-rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Yukarı çık ---------- */
.to-top { position: fixed; z-index: 25; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 85%, transparent); color: var(--text); backdrop-filter: blur(10px); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .25s, transform .3s cubic-bezier(.3,1.4,.5,1), background .2s; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--bg-3); }
@media (max-width: 760px) { .to-top { bottom: calc(80px + env(safe-area-inset-bottom)); right: 14px; width: 42px; height: 42px; } }

/* ---------- Sürükleyerek kaydırma ---------- */
.row.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.row.dragging * { pointer-events: none; }
.row img { -webkit-user-drag: none; user-select: none; }

/* ---------- Bildirim (geri al düğmeli) ---------- */
.toast { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 14px; border-radius: 12px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); max-width: calc(100vw - 32px); }
.toast.has-act { pointer-events: auto; }
.toast-ico { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, currentColor 16%, transparent); flex: none; }
.toast-ico svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.toast-act { margin-left: 6px; padding: 5px 12px; border-radius: 8px; border: 0; background: color-mix(in srgb, currentColor 18%, transparent); color: inherit; font-weight: 800; font-size: 13px; }
.toast-act:hover { background: color-mix(in srgb, currentColor 28%, transparent); }
.toast.show { animation: toast-in .35s cubic-bezier(.3,1.3,.5,1); }
@keyframes toast-in { from { transform: translate(-50%, 18px) scale(.95); opacity: 0; } }

/* ---------- Arama penceresi ---------- */
.search-idle { padding-bottom: 6px; }
.search-idle .result-group { justify-content: space-between; padding-right: 12px; }
.search-idle .text-btn { font-size: 12px; letter-spacing: 0; text-transform: none; }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 10px 8px; }
.search-chips .chip { display: inline-flex; align-items: center; gap: 7px; background: var(--bg-3); border-color: transparent; color: var(--text); cursor: pointer; }
.search-chips .chip svg { width: 13px; height: 13px; fill: none; stroke: var(--faint); stroke-width: 1.8; stroke-linecap: round; }
.result { grid-template-columns: 44px 1fr auto; }
.result-rank { font: 900 28px var(--display); font-stretch: 65%; color: transparent; -webkit-text-stroke: 1.5px var(--faint); padding-right: 8px; }
.result-all { display: block; margin: 6px 4px 4px; padding: 12px; border-radius: 8px; text-align: center; font-weight: 700; font-size: 14px; color: var(--text); background: var(--bg-3); }
.result-all:hover { background: color-mix(in srgb, var(--bg-3) 70%, var(--text) 10%); }

/* ---------- Kısayollar ---------- */
.keys {
  width: min(480px, calc(100vw - 24px));
  border-radius: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7), 0 0 0 1px var(--glass-line);
}
.keys::backdrop {
  background: rgba(4,4,10,.6);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  animation: backdrop-in .3s ease-out;
}
.keys[open] { animation: dialog-in .28s cubic-bezier(.2,.8,.2,1); }
.keys.closing { animation: dialog-out .2s ease-in forwards; }
.keys-card { padding: 26px 26px 22px; display: grid; gap: 18px; }
.keys h2 { font-family: var(--display); font-weight: 850; font-stretch: 78%; font-size: 30px; }
.keys dl { margin: 0; display: grid; gap: 10px; }
.keys dl div { display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 12px; }
.keys dt { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; color: var(--faint); font-size: 12px; }
.keys dt i { font-style: normal; color: var(--faint); }
.keys dt span { margin: 0 4px; font-size: 11px; }
.keys dd { margin: 0; color: var(--dim); font-size: 14px; }
.keys kbd {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  background: var(--bg-3);
  color: var(--text);
  font: 700 12px var(--body);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.keys kbd:hover { transform: translateY(-1px); border-color: var(--faint); background: var(--bg-2); }
.keys-card .btn { justify-self: end; }
@media (max-width: 760px) {
  .keys dl div { grid-template-columns: 1fr; gap: 4px; }
  .keys dt { justify-content: center; }
}

/* ---------- Listem / Keşfet araçları ---------- */
.head-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.shuffle-btn { order: 3; }
.btn svg.ln { width: 16px; height: 16px; }

/* ---------- İzleme sayfası ---------- */
.cinema { position: relative; grid-template-rows: auto minmax(0, 1fr); }
.cinema-tools { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 6px; padding: 8px 14px; border-bottom: 1px solid rgba(255,255,255,.06); background: rgba(0,0,0,.35); }
.cine-btn { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #cfd3e6; font-size: 13px; font-weight: 650; transition: background .15s, color .15s, border-color .15s; }
.cine-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cine-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.cine-btn[aria-pressed="true"] { background: var(--red); border-color: transparent; color: #fff; }
:root[data-section="anime"] .cine-btn[aria-pressed="true"] { background: var(--grad); }
.cinema.theater { grid-template-columns: minmax(0, 1fr); }
.cinema.theater .stage-inner { max-height: 88vh; }
.cinema.theater .cinema-panel { max-height: 420px; border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
.cinema.no-panel { grid-template-columns: minmax(0, 1fr); }
.cinema.no-panel .cinema-panel { display: none; }
.ep-find { display: flex; align-items: center; gap: 8px; margin: 12px 6px 0; height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid #2b2b38; background: rgba(255,255,255,.04); color: #8d92ad; }
.ep-find:focus-within { border-color: var(--red); }
.ep-find svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: none; }
.ep-find input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; color: #f2f2f6; font-size: 13px; }
.cinema-panel { grid-template-rows: auto auto auto minmax(0, 1fr); }
.cinema-ep-list > li[hidden] { display: none; }
.ep-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; max-width: 680px; }
.ep-step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); font-size: 14px; font-weight: 600; transition: border-color .2s, background .2s, transform .2s; min-width: 0; }
.ep-step span { display: grid; gap: 2px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-step small { color: var(--faint); font-size: 12px; font-weight: 600; }
.ep-step svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ep-step.next { grid-column: 2; justify-content: space-between; text-align: right; }
.ep-step:hover { border-color: var(--red); background: var(--bg-3); }
.ep-step.prev:hover { transform: translateX(-3px); }
.ep-step.next:hover { transform: translateX(3px); }
@media (max-width: 900px) {
  .cinema-tools { padding: 6px 10px; }
  .cine-btn span { display: none; }
  .cinema.theater .stage-inner { max-height: none; }
}
@media (max-width: 560px) { .ep-nav { grid-template-columns: 1fr; } .ep-step.next { grid-column: auto; } }

@media (prefers-reduced-motion: reduce) {
  .qv[open], .qv.closing, .keys[open], .toast.show { animation: none; }
  :is(.card-img, .land-img, .wide-img, .ep-thumb, .result-img, .qv-rec-img, .qv-ep-img, .ch-logo, .qv-banner) img { opacity: 1; transition: none; }
  .qv-banner img.ld { animation: none; }
}
.keys dl div { grid-template-columns: 200px 1fr; }
.keys dt i { font-style: normal; color: var(--faint); }
.keys dt span { margin: 0 4px; font-size: 11px; }
@media (max-width: 760px) {
  .hero .btn-info { width: 44px; padding: 0; }
  .hero .btn-info span { display: none; }
  .hero .actions { flex-wrap: nowrap; }
  .keys dl div { grid-template-columns: 1fr; gap: 4px; }
}

/* =====================================================================
   AKICI HOVER (v10): büyüyen önizleme kartı, yumuşak geçişler, odak
   ===================================================================== */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-spring: cubic-bezier(.34, 1.4, .64, 1); }

/* Önizleme kartı */
.peek { position: absolute; z-index: 45; visibility: hidden; border-radius: 14px; overflow: hidden; background: var(--bg-2); color: var(--text); box-shadow: 0 30px 70px -18px rgba(0,0,0,.85), 0 0 0 1px color-mix(in srgb, var(--line) 80%, transparent), 0 0 60px -10px color-mix(in srgb, var(--ambc) 65%, transparent); transform-origin: center; will-change: transform, opacity; transition: --ambc .8s ease; }
.peek.open { visibility: visible; }
.peek:not(.open) { pointer-events: none; }
.peek-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--bg-3); overflow: hidden; }
.peek-media img { width: 100%; height: 100%; object-fit: cover; animation: peek-zoom 6s ease-out both; }
.peek-media img.is-poster { object-position: center 22%; }
@keyframes peek-zoom { from { transform: scale(1.12); } }
.peek-ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; font: 800 22px var(--display); font-stretch: 80%; color: var(--faint); }
.peek-shade { position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg-2) 0%, color-mix(in srgb, var(--bg-2) 30%, transparent) 30%, transparent 60%); }
.peek-title { position: absolute; left: 14px; right: 14px; bottom: 8px; font: 900 clamp(18px, 1.6vw, 24px)/1 var(--display); font-stretch: 78%; letter-spacing: -.005em; text-shadow: 0 2px 14px rgba(0,0,0,.6); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
:root[data-section="anime"] .peek-title { font-style: italic; }
.peek-body { display: grid; gap: 9px; padding: 10px 14px 16px; animation: peek-body .4s var(--ease) both; }
@keyframes peek-body { from { opacity: 0; transform: translateY(10px); } }
.peek-acts { display: flex; align-items: center; gap: 8px; }
.peek-acts .qa-btn { width: 38px; height: 38px; background: transparent; border-color: color-mix(in srgb, var(--text) 45%, transparent); color: var(--text); backdrop-filter: none; }
.peek-acts .qa-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.peek-acts .qa-btn.on { background: var(--red); border-color: transparent; color: #fff; }
:root[data-section="anime"] .peek-acts .qa-btn.on { background: var(--grad); }
.peek-more { margin-left: auto; }
.peek-more svg { width: 17px; height: 17px; }
.peek-play { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #000; transition: transform .25s var(--ease-spring), background .2s; }
.peek-play svg { width: 15px; height: 15px; fill: currentColor; margin-left: 3px; }
.peek-play:hover { transform: scale(1.12); background: #e8e8e8; }
:root[data-section="anime"] .peek-play { background: var(--grad); color: #fff; }
.peek-acts .qa-btn, .peek-play { transition: transform .25s var(--ease-spring), background .2s, color .2s, border-color .2s; }
.peek-acts .qa-btn:active, .peek-play:active { transform: scale(.92); }
.peek-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--dim); font-weight: 600; }
.peek-score { display: inline-flex; align-items: center; gap: 4px; color: #46d369; font-weight: 800; }
.peek-score .star { fill: #46d369; }
:root[data-section="anime"] .peek-score { color: var(--text); }
:root[data-section="anime"] .peek-score .star { fill: var(--red); }
.peek-genres { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12.5px; color: var(--text); }
.peek-genres span + span::before { content: "•"; margin: 0 7px; color: var(--faint); }
.peek-text { font-size: 13px; line-height: 1.5; color: var(--dim); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Önizleme açıkken alttaki kart sakinleşir */
.peeking { transform: none !important; }
.peeking .qa, .peeking .card-sheet { opacity: 0 !important; }

/* Daha akıcı temel hover: uzun, yumuşak eğriler; görsel içten yakınlaşır */
.card, .land, .rank, .wide { transition: transform .5s var(--ease-out), opacity .3s ease, filter .4s ease; }
.card-img, .land-img, .wide-img { transition: box-shadow .4s var(--ease-out), transform .5s var(--ease-out); }
:is(.card-img, .land-img, .wide-img) img.ld { transition: opacity .5s ease, transform .8s var(--ease-out); }
:is(.card, .rank):hover .card-img img.ld, .land:hover .land-img img.ld, .wide:hover .wide-img img.ld { transform: scale(1.07); }
.card-img::after { transition: opacity .4s ease; }
.card-hover { transition: opacity .3s ease, transform .45s var(--ease-spring); }
.qa { transition: opacity .3s ease, transform .45s var(--ease-out); }
.qa-btn { transition: background .2s, border-color .2s, color .2s, transform .3s var(--ease-spring); }
.land-meta { transition: max-height .4s var(--ease-out), opacity .35s ease; }
.land-play { transition: opacity .3s ease, transform .45s var(--ease-spring); }
.wide-play { transition: transform .45s var(--ease-spring), background .2s; }
.wide:hover .wide-play { transform: scale(1.15); background: var(--red); }
.wide:hover { transform: translateY(-4px); }

/* Odak: satırda üzerine gelinen kart öne çıkar, diğerleri hafifçe geri çekilir */
@media (hover: hover) and (pointer: fine) {
  .row:has(> :is(.card, .land, .rank, .wide):hover) > :is(.card, .land, .rank, .wide):not(:hover) { filter: brightness(.62) saturate(.75); }
  .grid:has(> :is(.card, .land):hover) > :is(.card, .land):not(:hover) { filter: brightness(.7) saturate(.8); }
  :root[data-section="anime"] .card:hover { transform: translateY(-8px); }
  :root[data-section="media"] .card:hover { transform: scale(1.06); }
  .rank:hover { transform: translateY(-6px); }
  .rank:hover .rank-n { transform: translateX(-6px); transition: transform .5s var(--ease-out); }
  .rank .rank-n { transition: transform .5s var(--ease-out); }
  .genre-grid a { transition: transform .45s var(--ease-out), filter .3s; }
  .genre-grid a:hover { transform: translateY(-4px); }
  .ch-card { transition: transform .5s var(--ease-out), border-color .3s, box-shadow .4s var(--ease-out), background .3s; }
}

/* Kartın üzerinde gezinen ışık (imleci izler) */
.land-img::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.14), transparent 60%); }
.land:hover .land-img::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .peek-media img { animation: none; }
  .row:has(> :hover) > :not(:hover), .grid:has(> :hover) > :not(:hover) { filter: none !important; }
  :is(.card, .rank, .land, .wide):hover :is(.card-img, .land-img, .wide-img) img.ld { transform: none; }
  :root[data-section="anime"] .card:hover .card-img,
  :root[data-section="anime"] .card:hover .card-hover { animation: none; }
}

/* =====================================================================
   v11: yükleme çubuğu, vitrin fragmanı, Senin için, favori kanallar
   ===================================================================== */
/* Sayfa geçişlerinde üstte ince yükleme çubuğu */
body::before { content: ""; position: fixed; z-index: 100; top: 0; left: 0; height: 3px; width: 0; background: var(--grad, var(--red)); box-shadow: 0 0 12px color-mix(in srgb, var(--red) 70%, transparent); opacity: 0; pointer-events: none; }
.loading-bar body::before { opacity: 1; animation: bar-run 8s cubic-bezier(.1, .7, .2, 1) forwards; }
.loading-done body::before { width: 100% !important; opacity: 0; animation: none; transition: width .25s ease, opacity .35s ease .2s; }
@keyframes bar-run { 0% { width: 0; } 30% { width: 45%; } 100% { width: 92%; } }

/* Vitrinde sessiz fragman */
.hero-trailer { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hero-trailer iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); transform: translate(-50%, -50%) scale(1.22); border: 0; }
.trailer-on .hero-trailer { opacity: 1; }
.trailer-on .hero-bg img { opacity: 0; transition: opacity 1.2s ease; }
.trailer-on .hero-poster, .trailer-on .hero-native, .trailer-on .petals { opacity: 0; transition: opacity .8s ease; }
.trailer-on .hero-text { opacity: 0; max-height: 0; margin: 0; transition: opacity .6s ease, max-height .8s ease .3s, margin .8s ease .3s; }
.hero-text { max-height: 8em; transition: opacity .6s ease, max-height .6s ease; }
.hero-mute { position: absolute; z-index: 3; right: var(--gutter); bottom: 120px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.6); background: rgba(0,0,0,.35); color: #fff; backdrop-filter: blur(6px); transition: opacity .4s, transform .3s var(--ease-spring, ease), background .2s; }
.hero-mute svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-mute:hover { background: rgba(255,255,255,.2); transform: scale(1.08); }
.hero:not(.trailer-on) .hero-mute { opacity: 0; pointer-events: none; }
:root[data-section="media"] .hero-mute { bottom: 190px; }

/* Senin için rafı */
.shelf-foryou .shelf-head h2::after { content: "Sana özel"; margin-left: 12px; padding: 3px 9px; border-radius: 999px; background: var(--grad); color: #fff; font: 700 11px/1.4 var(--body); letter-spacing: .02em; vertical-align: middle; }

/* Favori kanallar */
.ch-fav { position: absolute; right: 7px; top: 7px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(5,8,18,.6); color: #fff; opacity: 0; transform: scale(.7); transition: opacity .2s, transform .3s var(--ease-spring, ease), background .2s; }
.ch-fav svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.ch-card:hover .ch-fav, .ch-card:focus-within .ch-fav, .ch-fav.on { opacity: 1; transform: none; }
.ch-fav.on { color: #ffc93d; }
.ch-fav.on svg { fill: currentColor; }
.ch-fav:hover { background: rgba(5,8,18,.85); transform: scale(1.12); }
.ch-favs .ch-group-head svg { stroke: #ffc93d; fill: color-mix(in srgb, #ffc93d 30%, transparent); background: rgba(255,201,61,.14); }
@media (hover: none) { .ch-fav { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) { .loading-bar body::before { animation: none; width: 60%; } }

/* =====================================================================
   v12: zengin boş durumlar, kadro, ayarlar, gelişmiş canlı TV oynatıcı,
   izleme geçmişi, yeni alt bilgi
   ===================================================================== */
main { overflow-x: clip; }
.livetv-page { overflow-x: visible; }
.live-head::before { left: 50%; right: auto; width: 100vw; transform: translateX(-50%); }
.modal-open, .modal-open body { overflow: hidden; }

/* ---------- Boş durumlar ---------- */
.state-rich { padding: 36px 24px; gap: 14px; }
.state-rich p { max-width: 46ch; line-height: 1.6; }
.state-rich .actions { justify-content: center; margin-top: 6px; }
.state-ico { position: relative; display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 6px; border-radius: 26px; background: color-mix(in srgb, var(--red) 12%, var(--bg-2)); border: 1px solid color-mix(in srgb, var(--red) 28%, var(--line)); color: var(--red); box-shadow: 0 18px 50px -18px color-mix(in srgb, var(--red) 60%, transparent); animation: rise .6s var(--ease-out, ease) both, float 6s ease-in-out .6s infinite; }
.state-ico::after { content: ""; position: absolute; inset: -10px; border-radius: 32px; border: 1px dashed color-mix(in srgb, var(--red) 30%, transparent); animation: spin 26s linear infinite; }
.state-ico svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:root[data-section="anime"] .state-ico { background: linear-gradient(140deg, color-mix(in srgb, #ff3d7f 18%, var(--bg-2)), color-mix(in srgb, #8b5cf6 18%, var(--bg-2))); }
.state-rich.state-left { text-align: left; justify-items: start; margin: 0 0 24px; padding-inline: 0; }
.state-rich.state-left .actions { justify-content: flex-start; }
.state-404 h2 { font-size: clamp(32px, 4vw, 46px); }
#suggest .shelf { margin-top: 12px; }

/* ---------- Kadro ---------- */
.row-cast { grid-auto-columns: clamp(112px, 9.4vw, 140px); gap: 16px; }
.person { display: grid; justify-items: center; align-content: start; text-align: center; gap: 3px; min-width: 0; animation: rise .5s var(--ease-out, ease) var(--d, 0ms) backwards; }
.person-img { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: linear-gradient(140deg, var(--bg-3), var(--bg-2)); margin-bottom: 8px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .4s var(--ease-out, ease); }
.person-img img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person-ph { position: absolute; inset: 0; display: grid; place-items: center; font: 800 28px var(--display); font-stretch: 80%; color: var(--faint); }
.person:hover .person-img { box-shadow: 0 0 0 2px var(--red); transform: translateY(-3px); }
.person strong { font-size: 14px; font-weight: 650; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.person small { font-size: 12.5px; color: var(--dim); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- İzleme sayfası ekleri ---------- */
.status-pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--line); color: var(--dim); }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.on { color: #2fd27a; border-color: color-mix(in srgb, #2fd27a 40%, transparent); background: color-mix(in srgb, #2fd27a 10%, transparent); }
.status-pill.soon { color: #f5b638; border-color: color-mix(in srgb, #f5b638 40%, transparent); }
.status-pill.off { color: var(--faint); }
.tagline { color: var(--dim); font-style: italic; margin: -6px 0 14px; font-size: 15px; }
.next-air { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 10px 16px 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--red) 10%, var(--bg-2)); border: 1px solid color-mix(in srgb, var(--red) 30%, var(--line)); font-size: 13.5px; color: var(--dim); }
.next-air svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--grad, var(--red)); stroke: #fff; flex: none; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.next-air span { display: grid; }
.next-air b { color: var(--text); font-size: 14.5px; }
.btn-icon { width: 44px; padding: 0; }
.btn svg.ln { width: 16px; height: 16px; }
#mark-seen.on { background: color-mix(in srgb, #2fd27a 14%, transparent); border-color: color-mix(in srgb, #2fd27a 50%, transparent); color: #2fd27a; }
.shelf-cast { margin-top: 52px; }

/* İzleme sayfası iskeleti */
.stage-skel { overflow: hidden; display: grid; place-items: center; }
.stage-skel .stage-bg { opacity: .22; filter: blur(14px) saturate(1.2); transform: scale(1.1); }
.stage-skel .loading { position: relative; z-index: 1; }
.skel-panel { display: grid; grid-template-rows: none; align-content: start; gap: 10px; }
.sk-ep { height: 62px; border-radius: 8px; }
.watch-loading .info .skeleton { display: block; }
.watch-loading .actions { display: flex; gap: 10px; }

/* ---------- İzleme geçmişi ---------- */
.lib-switch { margin-right: auto; }
.lib-switch a { display: inline-flex; align-items: center; gap: 8px; }
.lib-switch small { min-width: 20px; height: 18px; padding: 0 6px; border-radius: 9px; background: color-mix(in srgb, currentColor 14%, transparent); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.grid-wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px 16px; }
.wide-done { position: absolute; z-index: 2; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(20,150,80,.92); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .02em; }

/* ---------- Ayarlar ---------- */
.settings {
  width: min(600px, calc(100vw - 24px));
  max-height: calc(100vh - 6vh);
  margin: 3vh auto auto;
  border-radius: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.8), 0 0 0 1px var(--glass-line);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.settings::backdrop {
  background: rgba(4,4,10,.66);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  animation: backdrop-in .3s ease-out;
}
.settings[open] { animation: dialog-in .35s cubic-bezier(.2,.8,.2,1); }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(-20px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.settings.closing { animation: dialog-out .2s ease-in forwards; }
@keyframes dialog-out { to { opacity: 0; transform: translateY(-10px) scale(.98); } }
.settings-card { display: grid; }
.settings-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 16px 26px;
  background: color-mix(in srgb, var(--bg-2) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.settings-head h2 { font-family: var(--display); font-weight: 850; font-stretch: 78%; font-size: 30px; }
.set-sec { padding: 18px 26px 20px; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); display: grid; gap: 4px; }
.set-sec h3 { color: var(--faint); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 0; cursor: pointer; border-radius: 8px; transition: background var(--transition-fast); }
.set-row:hover { background: color-mix(in srgb, var(--bg-3) 50%, transparent); }
.set-row > span { display: grid; gap: 2px; min-width: 0; }
.set-row strong { font-weight: 650; font-size: 15px; }
.set-row small { color: var(--dim); font-size: 13px; line-height: 1.45; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line); flex: none; }
.seg button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--dim); font-size: 13.5px; font-weight: 650; transition: background .2s, color .2s, transform var(--transition-fast); }
.seg button:hover { background: color-mix(in srgb, var(--bg-2) 80%, transparent); }
.seg button[aria-checked="true"] { background: var(--grad, var(--red)); color: #fff; box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--red) 80%, transparent); transform: scale(1.02); }
.switch {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: none;
  width: 50px;
  height: 30px;
  margin: 0;
  border-radius: 999px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--faint);
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  transition: transform .3s cubic-bezier(.3,1.4,.5,1), background .25s, box-shadow .25s;
}
.switch:checked {
  background: var(--grad, var(--red));
  border-color: transparent;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 25%, transparent);
}
.switch:checked::after { transform: translateX(20px); background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.switch:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--focus-ring), 0 0 0 4px color-mix(in srgb, var(--focus-ring) 20%, transparent); }
.set-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.set-stats span { padding: 8px 12px; border-radius: 10px; background: var(--bg-3); font-size: 13px; color: var(--dim); }
.set-stats b { color: var(--text); font-size: 15px; margin-right: 3px; font-variant-numeric: tabular-nums; }
.set-note { color: var(--faint); font-size: 13px; margin-bottom: 12px; }
.set-sec label.btn { cursor: pointer; }
.settings-foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 26px 20px; }

/* ---------- Anahtarsız giriş ---------- */
html[data-locked] .top, html[data-locked] main, html[data-locked] .foot, html[data-locked] .bottom-nav, html[data-locked] .toast { display: none !important; }
.entry { display: none; }
html[data-locked] .entry { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: transparent; }
#nope[hidden] { display: none !important; }
#nope { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 24px; background: #0d0707; }
.entry-card {
  position: relative; width: min(420px, 100%); display: grid; gap: 14px; padding: 32px 26px 26px;
  border: 1px solid var(--glass-line); border-radius: 28px;
  background: color-mix(in srgb, var(--bg-2) 86%, transparent);
  box-shadow: 0 30px 80px -36px rgba(0,0,0,.7);
}
.entry-card::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 2px; border-radius: 2px; background: var(--red); }
.entry-card h1 { font-family: var(--display); font-weight: 850; font-stretch: 78%; font-size: 42px; }
.entry-card p { color: var(--dim); }
.entry-err:empty { display: none; }
.entry-err { color: #ff8d96; }

/* ---------- Profil anahtarı ---------- */
.profile-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 5px; border: 1px solid var(--line); background: var(--bg-2); border-radius: 999px; color: var(--text); font-size: 14px; font-weight: 650; }
.profile-chip:hover { border-color: var(--faint); }
.profile-chip.on { border-color: color-mix(in srgb, var(--red) 55%, var(--line)); }
.avatar { display: grid; place-items: center; overflow: hidden; width: 28px; height: 28px; border-radius: 50%; background: var(--c, var(--red)); color: #fff; font: 800 13px/1 var(--display); font-stretch: 85%; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.avatar[data-c="0"] { --c: #e4202b; }
.avatar[data-c="1"] { --c: #7c5cff; }
.avatar[data-c="2"] { --c: #1f8a70; }
.avatar[data-c="3"] { --c: #d97706; }
.avatar[data-c="4"] { --c: #2563eb; }
.avatar[data-c="5"] { --c: #db2777; }
.avatar[data-c="6"] { --c: #0f766e; }
.avatar[data-c="7"] { --c: #b45309; }
.avatar-lg { width: 64px; height: 64px; font-size: 28px; }
.profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.profile-card { display: grid; align-content: start; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.profile-card h2 { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 28px; }
.profile-card p { color: var(--dim); }
.field { display: grid; gap: 6px; color: var(--dim); font-size: 13px; font-weight: 650; }
.field input { height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 16px; font-weight: 600; }
.field input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
#profile-key { font-family: ui-monospace, Consolas, monospace; letter-spacing: .06em; }
.profile-id { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; }
.profile-customize { display: grid; gap: 12px; flex: 1; min-width: min(100%, 220px); }
.profile-rename { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.profile-rename .field { flex: 1; min-width: 180px; }
.profile-photo { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-photo label.btn { cursor: pointer; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); cursor: pointer; }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px #fff; }
@media (max-width: 900px) { .profile-name { display: none; } .profile-chip { padding-right: 5px; } }

/* ---------- Alt bilgi ---------- */
.foot { margin-top: 64px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-2) 70%, transparent)); }
.foot-inner { display: grid; grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 64px; }
.foot-about { max-width: 340px; display: grid; gap: 12px; }
.foot-tag { color: var(--dim); font-size: 14px; line-height: 1.6; }
.foot-brand { font-size: 20px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 28px 64px; }
.foot-links > div { display: grid; align-content: start; justify-items: start; gap: 9px; }
.foot-links h3 { color: var(--text); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.foot-links a, .foot-btn { color: var(--dim); font-size: 14px; padding: 0; border: 0; background: none; text-align: left; transition: color .2s, transform .2s; }
.foot-links a:hover, .foot-btn:hover { color: var(--text); transform: translateX(2px); }
:root[data-mode="cloud"] [data-nav-local] { display: none; }

/* ---------- Canlı TV ---------- */
.sk-ch { aspect-ratio: 1 / .86; border-radius: 14px; }
.livetv-modal-inner { width: min(1240px, 100%); max-height: calc(100vh - 32px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.livetv-modal-head { gap: 10px; }
.livetv-modal-logo-wrap { display: contents; }
.ch-ph-sm { display: grid; place-items: center; color: #eef3ff; font: 800 14px var(--display); text-transform: uppercase; }
.zap { display: flex; gap: 6px; margin-left: 6px; }
.zap .icon-btn, .livetv-modal-close { --line: #2a3554; --bg-2: #141b2e; color: #eef3ff; }
.zap .icon-btn:hover, .livetv-modal-close:hover { background: #1c2540; }
.zap .icon-btn[aria-pressed="true"] { background: var(--grad); border-color: transparent; }
.zap svg { stroke-width: 2.2; }
.livetv-modal-main { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; }
.side-open .livetv-modal-main { grid-template-columns: minmax(0, 1fr) 300px; }
.livetv-modal-body { aspect-ratio: 16 / 9; max-height: calc(100vh - 170px); width: 100%; margin: auto; }
.livetv-modal-body video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.livetv-side { display: none; min-height: 0; grid-template-rows: auto minmax(0, 1fr); border-left: 1px solid #1d2742; background: #090d18; }
.side-open .livetv-side { display: grid; }
.livetv-side .ep-find { margin: 10px; border-color: #24304d; }
.livetv-side-list { list-style: none; margin: 0; padding: 0 6px 10px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #2a3554 transparent; max-height: calc(100vh - 250px); }
.livetv-side-list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 8px; background: none; color: #c9d3ea; font-size: 13px; font-weight: 600; text-align: left; transition: background .15s; }
.livetv-side-list button:hover { background: #141b2e; }
.livetv-side-list button.on { background: #1a2340; color: #fff; box-shadow: inset 3px 0 #ff2e4d; }
.livetv-side-list button > span:last-child { display: grid; min-width: 0; }
.livetv-side-list small { color: #6f7d9c; font-size: 11px; font-weight: 600; }
.side-logo { display: grid; place-items: center; width: 40px; height: 28px; flex: none; border-radius: 6px; background: #141b2e; color: #8796b8; font: 800 11px var(--display); text-transform: uppercase; overflow: hidden; }
.side-logo img { width: 80%; height: 80%; object-fit: contain; }
.livetv-status { z-index: 2; }
.livetv-status:empty { display: none; }
.livetv-status[data-kind="err"] { pointer-events: auto; background: rgba(4,6,14,.78); backdrop-filter: blur(6px); }
.livetv-status[data-kind="load"] { background: radial-gradient(circle, rgba(4,6,14,.5), transparent 70%); }
.livetv-status-box { display: grid; justify-items: center; gap: 12px; padding: 20px; text-align: center; max-width: 360px; color: #dfe6f7; }
.livetv-status-box svg { width: 40px; height: 40px; fill: none; stroke: #ff5a6e; stroke-width: 1.8; stroke-linecap: round; }
.livetv-status-box .spin { width: 32px; height: 32px; border-width: 3px; border-color: rgba(255,255,255,.18); border-top-color: #ff2e4d; }
.livetv-status-box .actions { justify-content: center; --line: rgba(255,255,255,.25); --text: #fff; --bg-2: rgba(255,255,255,.08); }
.livetv-keys { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 16px; border-top: 1px solid #1d2742; color: #6f7d9c; font-size: 12px; }
.livetv-keys kbd { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; margin-right: 3px; border-radius: 5px; border: 1px solid #2a3554; border-bottom-width: 2px; background: #141b2e; color: #c9d3ea; font: 700 11px var(--body); }
@media (max-width: 760px) {
  .livetv-modal { padding: 0; align-items: stretch; }
  .livetv-modal-inner { border-radius: 0; max-height: none; height: 100%; align-content: start; grid-template-rows: auto minmax(0, 1fr); }
  .livetv-modal-head .live-badge { display: none; }
  .zap { margin-left: auto; }
  .livetv-modal-main, .side-open .livetv-modal-main { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .livetv-side { display: grid; border-left: 0; border-top: 1px solid #1d2742; }
  .livetv-side-list { max-height: none; }
  .livetv-keys { display: none; }
}

/* ---------- Çevrimdışı şeridi ---------- */
.is-offline body::after { content: "Çevrimdışısın — bazı içerikler yüklenemeyebilir"; position: fixed; z-index: 70; left: 50%; top: 72px; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; background: #3a1418; color: #ffd5d9; border: 1px solid #7a2630; font-size: 13px; font-weight: 650; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); white-space: nowrap; }

/* ---------- Duyarlı ---------- */
@media (max-width: 760px) {
  .foot-top { flex-direction: column; }
  .foot-links { gap: 24px 40px; }
  .set-row:has(.seg) { flex-wrap: wrap; }
  .settings { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .lib-switch { width: 100%; }
  #theme { display: none; }
  .lib-switch a { flex: 1; justify-content: center; }
  .row-cast { grid-auto-columns: 30vw; }
  .next-air { width: 100%; }
  .info .actions .btn { flex: 1 1 auto; }
  .info .actions .btn-icon { flex: 0 0 44px; }
}
@media (prefers-reduced-motion: reduce) { .state-ico, .state-ico::after, .person, .lf-vinyl, .lf-note { animation: none; } }
.ep-step span { white-space: normal; }
.ep-step b { display: block; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-step.next span { justify-items: end; }
/* Bölüm paneli oynatıcının yüksekliğini aşmaz; uzun listeler kendi içinde kayar. */
@media (min-width: 901px) { .cinema:not(.theater):not(.no-panel) > .cinema-panel { height: 0; min-height: 100%; } }
.ep-nav { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.ep-step.next { grid-column: auto; }
.ep-step b { max-width: 100%; }
/* Film & Dizi: üst çubuk yalnızca vitrinin üstündeyken şeffaf olur */
:root[data-section="media"] body:not(:has(main .hero)) .top { background: color-mix(in srgb, var(--bg) 96%, transparent); }
:root[data-section="media"] body:not(:has(main .hero)) .top .search-open, :root[data-section="media"] body:not(:has(main .hero)) .top .icon-btn, :root[data-section="media"] body:not(:has(main .hero)) .top .profile-chip { background: var(--bg-2); }
:root[data-section="media"][data-theme="light"] body:not(:has(main .hero)) .top:not(.scrolled) { --text: #141414; --dim: #5f5f5f; --line: #dddddd; --bg-2: #f5f5f5; color: #141414; }
:root[data-section="media"][data-theme="light"] body:not(:has(main .hero)) .top .nav a { color: var(--dim); }
:root[data-section="media"][data-theme="light"] body:not(:has(main .hero)) .top .nav a[aria-current] { color: var(--text); }

/* ---------- Kaynak çubuğu (doğrudan + embed) ---------- */
.src-bar { flex-wrap: wrap; row-gap: 8px; column-gap: 12px; }
.src-bar .source-list { flex: 0 1 auto; }
.src-bar .source-label + .source-list { margin-right: 10px; }
.source-chip.is-tr::after { content: "TR"; margin-left: 6px; padding: 0 4px; border-radius: 3px; background: rgba(255,255,255,.14); font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.source-chip.is-dub::after { content: "TR DUBLAJ"; background: var(--red); color: var(--red-ink); padding: 2px 6px; border-radius: 3px; margin-left: 6px; }
.source-chip.on.is-tr::after { background: rgba(0,0,0,.25); }
.source-chip.on.is-dub::after { background: rgba(0,0,0,.25); color: var(--text); }
.src-status { display: inline-flex; align-items: center; gap: 8px; color: #8d92ad; font-size: 12px; font-weight: 600; margin-left: auto; }
.src-status .spin { width: 13px; height: 13px; border-width: 2px; }
.stage-error { display: flex; align-items: center; gap: 14px; }
.stage-error .btn { flex-shrink: 0; white-space: nowrap; }
.stage-error p { margin: 0; min-width: 0; }
.source-chip.is-backup { opacity: .62; border-style: dashed; }
.source-chip.is-backup:hover, .source-chip.is-backup.on { opacity: 1; }

/* ---------- AniSkip: giriş / bitiş atlama ---------- */
.skip-btn { position: absolute; z-index: 30; right: 22px; bottom: 74px; height: 40px; padding: 0 18px; border-radius: 8px; border: 1px solid rgba(255,255,255,.35); background: rgba(10,10,14,.78); color: #fff; font-weight: 700; font-size: 14px; backdrop-filter: blur(8px); box-shadow: 0 10px 30px -10px rgba(0,0,0,.7); animation: rise .3s var(--ease-out, ease) both; transition: background .2s, transform .2s; }
.skip-btn:hover { background: #fff; color: #000; transform: translateY(-2px); }
.skip-btn[hidden] { display: none; }

/* ---------- Araç kutusu / Lovellify ---------- */
.hub-link {
  display: none;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.hub-link:hover { color: var(--text); border-color: var(--faint); }
html[data-app="watch"] .hub-link,
html[data-app="lovellify"] .hub-link,
html[data-app="speedfy"] .hub-link,
html[data-app="readfy"] .hub-link,
html[data-app="tavsiye"] .hub-link { display: inline-flex; }
html[data-app="hub"] .tab-bar,
html[data-app="hub"] .nav,
html[data-app="hub"] .search-open,
html[data-app="hub"] .hamburger,
html[data-app="hub"] .bottom-nav,
html[data-app="hub"] .foot,
html[data-app="lovellify"] .tab-bar,
html[data-app="lovellify"] .nav,
html[data-app="lovellify"] .search-open,
html[data-app="lovellify"] .hamburger,
html[data-app="lovellify"] .bottom-nav,
html[data-app="lovellify"] .foot,
html[data-app="speedfy"] .tab-bar,
html[data-app="speedfy"] .nav,
html[data-app="speedfy"] .search-open,
html[data-app="speedfy"] .hamburger,
html[data-app="speedfy"] .bottom-nav,
html[data-app="speedfy"] .foot,
html[data-app="readfy"] .tab-bar,
html[data-app="readfy"] .nav,
html[data-app="readfy"] .search-open,
html[data-app="readfy"] .hamburger,
html[data-app="readfy"] .bottom-nav,
html[data-app="readfy"] .foot,
html[data-app="tavsiye"] .tab-bar,
html[data-app="tavsiye"] .nav,
html[data-app="tavsiye"] .search-open,
html[data-app="tavsiye"] .hamburger,
html[data-app="tavsiye"] .bottom-nav,
html[data-app="tavsiye"] .foot { display: none !important; }
html[data-app="hub"] .top,
html[data-app="lovellify"] .top,
html[data-app="speedfy"] .top {
  background: transparent;
  border-bottom: 0;
}
.side { display: none; }
html[data-app="watch"] { --side-w: 232px; }
html[data-app="watch"][data-side="rail"] { --side-w: 88px; }
html[data-app="watch"] .side {
  display: flex; flex-direction: column; gap: 18px;
  position: fixed; z-index: 30; left: 14px; top: 14px; bottom: 14px; width: var(--side-w);
  padding: 14px 10px; border-radius: 24px; overflow: hidden;
  background: color-mix(in srgb, var(--bg-2) 94%, #000);
  border: 1px solid var(--glass-line);
  transition: width .28s var(--ease);
}
.side-head { display: flex; align-items: center; gap: 6px; min-height: 40px; }
.side-brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; padding: 4px; font-family: var(--display); font-weight: 850; letter-spacing: .04em; }
.side-brand img { width: 28px; height: 28px; flex: none; border-radius: 8px; }
.side-brand span, .side-nav a span, .side-tabs .tab-btn span { white-space: nowrap; overflow: hidden; transition: opacity .2s var(--ease); }
.side-toggle {
  flex: none; width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; border-radius: 10px; background: transparent; color: var(--dim);
}
.side-toggle:hover { color: var(--text); background: var(--accent-soft); }
.side-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .28s var(--ease); }
html[data-side="rail"] .side-toggle svg { transform: scaleX(-1); }
html[data-side="rail"] .side-brand span,
html[data-side="rail"] .side-nav a span,
html[data-side="rail"] .side-tabs .tab-btn span { opacity: 0; width: 0; }
.side-nav, .side-tabs { display: grid; gap: 4px; }
.side-nav a, .side-tabs .tab-btn {
  display: flex; align-items: center; justify-content: flex-start; gap: 12px; height: 42px; padding: 0 12px;
  border: 0; border-radius: 12px; background: transparent; color: var(--dim);
  font-size: 14px; font-weight: 700; text-align: left;
}
.side-nav svg, .side-tabs .tab-btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side-nav a[data-side-nav="listem"] svg, .side-tabs .tab-btn[data-tab="anime"] svg { fill: currentColor; stroke: none; }
.side-nav a[aria-current], .side-tabs .tab-btn.active { background: var(--red); color: #fff; }
.side-nav a:hover, .side-tabs .tab-btn:hover { color: var(--text); }
.side-nav a[aria-current]:hover, .side-tabs .tab-btn.active:hover { color: #fff; }
html[data-app="watch"] .top { padding: 14px 16px 0 calc(var(--side-w) + 28px); background: transparent; transition: padding-left .28s var(--ease); }
html[data-app="watch"] .logo,
html[data-app="watch"] .hub-link,
html[data-app="watch"] .tab-bar,
html[data-app="watch"] .nav { display: none !important; }
html[data-app="watch"] .top-inner {
  max-width: none; margin: 0; justify-content: flex-end;
  border-radius: 18px; padding: 8px 10px;
}
html[data-app="watch"] main,
html[data-app="watch"] .foot { margin-left: calc(var(--side-w) + 14px); transition: margin-left .28s var(--ease); }
html[data-app="watch"] .hero {
  margin: 12px 18px 0; border-radius: 22px; min-height: min(58vh, 520px);
}
html[data-app="watch"] .page { padding-top: 8px; }
@media (max-width: 860px) {
  html[data-app="watch"] .side { display: none; }
  html[data-app="watch"] .side.open { display: flex; left: 10px; right: 10px; width: auto; z-index: 40; }
  html[data-app="watch"] .top { padding-left: 12px; }
  html[data-app="watch"] main,
  html[data-app="watch"] .foot { margin-left: 0; }
  html[data-app="watch"] .hamburger { display: grid; }
}
.hub { position: relative; max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter) 96px; }
.hub-hero { position: relative; z-index: 1; max-width: 36rem; padding: 18px 0 28px; }
.hub-hero h1 { font-family: var(--display); font-weight: 850; font-stretch: 72%; font-size: clamp(56px, 8vw, 92px); line-height: .86; letter-spacing: -.04em; }
.hub-hero p { margin-top: 14px; color: var(--dim); max-width: 36ch; font-size: 17px; }
.hub-grid {
  position: relative; z-index: 1;
  display: grid; gap: 14px;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-areas: "watch love speed" "watch read tav" "okey okey indir";
}
.hub-card[data-tool="watch"] { grid-area: watch; }
.hub-card[data-tool="lovellify"] { grid-area: love; }
.hub-card[data-tool="speedfy"] { grid-area: speed; }
.hub-card[data-tool="readfy"] { grid-area: read; }
.hub-card[data-tool="tavsiye"] { grid-area: tav; }
.hub-card[data-tool="okey"] { grid-area: okey; min-height: 150px; }
.hub-card[data-tool="indir"] { grid-area: indir; min-height: 150px; }
.hub-card {
  position: relative; display: grid; align-content: end; gap: 8px; min-width: 0; min-height: 168px; padding: 18px 18px 20px;
  border: 2px solid var(--glass-line); border-radius: 22px; overflow: hidden;
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--tool) 32%, transparent), transparent 50%),
    color-mix(in srgb, var(--bg-2) 95%, #000);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.hub-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--tool);
  box-shadow: 0 16px 40px rgba(255, 0, 110, 0.2);
}
.hub-card[data-tool="watch"] { min-height: 360px; padding: 28px 26px; }
.hub-card[data-tool="watch"] h2 { font-size: clamp(3rem, 6vw, 4.6rem); }
.hub-card[data-tool="watch"] { --tool: #e23b45; }
.hub-card[data-tool="lovellify"] { --tool: #f0a35e; }
.hub-card[data-tool="speedfy"] { --tool: #5ec8f0; }
.hub-card[data-tool="readfy"] { --tool: #c084fc; }
.hub-card[data-tool="tavsiye"] { --tool: #f472b6; }
.hub-card[data-tool="okey"] { --tool: #f5b301; }
.hub-card[data-tool="indir"] { --tool: #34d399; }
.hub-card[data-tool="okey"]::after {
  content: "1 2 3"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%) rotate(-6deg);
  font-family: var(--display); font-weight: 900; font-size: clamp(34px, 5vw, 56px); letter-spacing: .18em;
  color: #c62828; padding: 6px 14px; border-radius: 10px;
  background: linear-gradient(175deg, #fffef8, #efe5cb); box-shadow: 0 3px 0 #b3a47c, 0 14px 30px -10px rgba(0,0,0,.6);
  opacity: .92; pointer-events: none;
}
.hub-card:hover { border-color: var(--tool, var(--red)); transform: translateY(-4px); box-shadow: 0 18px 36px -24px color-mix(in srgb, var(--tool, var(--red)) 80%, transparent); }
.hub-n { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 12px; letter-spacing: .16em; color: var(--tool, var(--faint)); }
.hub-kicker { color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hub-card h2 {
  font-family: var(--display); font-weight: 850; font-stretch: 78%;
  font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: .95; letter-spacing: -.03em;
  max-width: 100%;
}
.hub-card p { color: var(--dim); font-size: 14px; max-width: 24ch; }
@media (max-width: 980px) {
  .hub-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "watch watch" "love speed" "read tav" "okey indir"; }
  .hub-card[data-tool="watch"] { min-height: 220px; }
}
@media (max-width: 640px) {
  .hub-grid { grid-template-columns: 1fr; grid-template-areas: "watch" "love" "speed" "read" "tav" "okey" "indir"; }
  .hub-card[data-tool="okey"]::after { font-size: 28px; right: 14px; top: 22px; transform: rotate(-6deg); }
}

.lf { position: relative; min-height: calc(100dvh - 64px); padding: 24px var(--gutter) 64px; }
.lf-hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr);
  align-items: center; gap: 24px; max-width: var(--max); margin: 0 auto 28px;
  min-height: min(52vh, 520px);
}
.lf-copy .eyebrow { color: var(--red); }
.lf-copy h1 { display: flex; flex-direction: column; font-family: var(--display); font-weight: 850; font-stretch: 68%; font-size: clamp(64px, 11vw, 128px); line-height: .78; letter-spacing: -.03em; }
.lf-copy h1 b { font-weight: 850; }
.lf-copy h1 em { color: var(--red); font-style: normal; margin-left: .08em; }
.lf-copy p { max-width: 46ch; margin-top: 22px; color: var(--dim); }
.lf-object { position: relative; aspect-ratio: 1; max-width: 420px; justify-self: end; width: 100%; }
.lf-vinyl {
  position: absolute; inset: 12% 8% 18% 18%; border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 5px, rgba(255,255,255,.04) 6px, transparent 7px),
    radial-gradient(circle at 38% 30%, #2a2a2a 0, #0a0a0a 40%, #000 70%);
  border: 2px solid rgba(255,255,255,.12);
  box-shadow: -18px 28px 50px rgba(0,0,0,.6);
  animation: lf-float 6s ease-in-out infinite;
}
.lf-vinyl::before {
  content: ""; position: absolute; inset: 32%; border-radius: 50%;
  background: radial-gradient(circle, #090909 0 18%, var(--red) 19% 58%, #4a0a10 80%);
  box-shadow: 0 0 24px color-mix(in srgb, var(--red) 40%, transparent);
}
.lf-note {
  position: absolute; right: 0; top: 0; color: var(--red);
  font-family: Georgia, serif; font-size: clamp(120px, 18vw, 240px); line-height: 1;
  transform: rotate(-8deg); text-shadow: -3px 4px 0 #7a1018, 0 0 28px color-mix(in srgb, var(--red) 40%, transparent);
  animation: lf-note 5s ease-in-out infinite;
}
@keyframes lf-float { 50% { transform: translateY(-10px); } }
@keyframes lf-note { 50% { transform: translateY(-10px) rotate(-8deg); } }
.lf-search {
  display: flex; align-items: center; gap: 10px; max-width: 760px;
  padding: 8px 8px 8px 18px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--bg-2);
}
.lf-search input { flex: 1; min-width: 0; height: 48px; border: 0; background: none; font-size: 16px; }
.lf-search input:focus { outline: none; }
.lf-search.is-center { margin: 0 auto; width: min(760px, 100%); }
.lf-search.is-docked { margin: 0 auto 28px; width: min(680px, 100%); padding: 6px 6px 6px 16px; }
.lf-search.is-docked input { height: 40px; font-size: 14px; }
.lf-search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent); }
.lf-status { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 72px 16px; }
.lf-error h2 { font-family: var(--display); font-stretch: 80%; font-size: 36px; }
.lf-result { max-width: var(--max); margin: 0 auto; display: grid; gap: 16px; }
.lf-track { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); }
.lf-cover { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg-3); }
.lf-cover img { width: 100%; height: 100%; object-fit: cover; }
.lf-heading h1 { font-family: var(--display); font-weight: 850; font-stretch: 78%; font-size: clamp(32px, 4vw, 52px); line-height: .95; }
.lf-heading > p { color: var(--dim); margin: 8px 0 14px; }
.lf-mini { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--faint); font-size: 13px; margin-bottom: 18px; }
.lf-signal, .lf-ids, .lf-platforms, .lf-artists { padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); }
.lf-signal-top { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.lf-signal h2 { font-family: var(--display); font-stretch: 80%; font-size: 32px; }
.lf-signal p { color: var(--dim); margin-top: 6px; }
.lf-conf { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; border: 3px solid var(--red); flex: none; }
.lf-conf b { font-size: 22px; line-height: 1; }
.lf-conf small { color: var(--faint); }
.lf-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 18px 0 0; }
.lf-meta dt { color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lf-meta dd { margin: 4px 0 0; font-weight: 650; }
.lf-ids { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
.lf-ids button { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); text-align: left; }
.lf-ids button:hover { border-color: var(--faint); }
.lf-ids span { color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.lf-ids strong { font-family: ui-monospace, Consolas, monospace; }
.lf-platforms h3, .lf-artists { font-size: 14px; }
.lf-links, .lf-artists { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lf-links a, .lf-artist { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font-weight: 650; font-size: 13px; }
.lf-links a:hover, .lf-artist:hover { border-color: var(--red); }
.lf-artist img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
@media (max-width: 760px) {
  .lf-hero { grid-template-columns: 1fr; min-height: 0; }
  .lf-object { max-width: 240px; justify-self: start; }
  .lf-track, .lf-ids { grid-template-columns: 1fr; }
  .lf-cover { max-width: 180px; }
  .lf-search { flex-direction: column; align-items: stretch; padding: 12px; }
  .lf-search .btn { width: 100%; }
}

html[data-app="speedfy"] #main { min-height: calc(100dvh - 64px); }
html[data-app="speedfy"][data-sf="run"] .top {
  opacity: 0; pointer-events: none; transform: translateY(-12px);
  transition: opacity .25s, transform .25s;
}
html[data-app="speedfy"][data-sf="run"] #main { min-height: 100dvh; }
.sf.is-done { max-width: min(1120px, 100%); margin: 0 auto; padding: 28px var(--gutter) 80px; }
.sf.is-test {
  position: relative;
  display: grid; grid-template-rows: auto 1fr auto;
  min-height: calc(100dvh - 64px); margin: 0; padding: 0;
  max-width: none; width: 100%;
}
html[data-sf="run"] .sf.is-test { min-height: 100dvh; }
.sf-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 16px; padding: 18px var(--gutter) 0; position: relative; z-index: 2;
}
.sf.is-done .sf-bar { justify-content: space-between; padding: 0; margin-bottom: 28px; }
.sf-modes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sf-chip {
  height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--dim); font-weight: 650; font-size: 13px;
}
.sf-chip.on { border-color: var(--red); color: var(--text); background: color-mix(in srgb, var(--red) 14%, transparent); }
.sf-chip:disabled { opacity: .45; }
.sf-sep { width: 1px; height: 18px; background: var(--line); margin: 0 4px; }
.sf-hud { display: flex; align-items: baseline; gap: 16px; font-family: var(--display); }
.sf.is-test .sf-hud { position: absolute; left: 50%; top: 22vh; transform: translateX(-50%); pointer-events: none; }
.sf-hud #sf-timer { font-size: clamp(28px, 4vw, 42px); font-weight: 850; font-stretch: 75%; color: var(--red); line-height: 1; }
.sf-restart {
  position: absolute; right: var(--gutter); top: 18px;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--bg-2); color: var(--dim); font-size: 18px;
}
.sf-restart:hover { color: var(--text); }
.sf.is-run .sf-modes, .sf.is-run .sf-restart, .sf.is-run .sf-hint { opacity: 0; pointer-events: none; }
.sf-stage {
  position: relative; min-height: 0; height: auto; padding: 0; border: 0;
  background: none; cursor: text; display: flex; align-items: center;
  width: 100vw; margin-left: calc(50% - 50vw);
}
.sf-rail {
  width: 100%; height: clamp(5.5rem, 16vh, 8.5rem); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 88%, transparent 100%);
}
.sf-words {
  display: flex; flex-wrap: nowrap; align-items: center; gap: .8em;
  height: 100%;
  font: 500 clamp(2.2rem, 4.8vw, 5rem)/1.2 ui-monospace, "Cascadia Code", Consolas, monospace;
  white-space: nowrap; user-select: none; will-change: transform;
  transition: transform .16s cubic-bezier(.2,.7,.2,1);
}
.sf-word { display: inline-flex; flex: none; margin: 0; align-items: baseline; }
.sf-word.is-on { text-shadow: 0 0 32px color-mix(in srgb, var(--red) 35%, transparent); }
.sf-word span { color: var(--faint); }
.sf-word .ok { color: var(--text); }
.sf-word .bad { color: var(--red); text-decoration: underline; }
.sf-word .extra { color: var(--red); opacity: .8; }
.sf-word.is-bad { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--red) 50%, transparent); }
.sf-caret {
  display: inline-block; width: 3px; height: .95em; margin: 0 2px -3px 0;
  background: var(--red); animation: sf-blink 1.05s step-end infinite;
  box-shadow: 0 0 16px var(--red);
}
@keyframes sf-blink { 50% { opacity: 0; } }
.sf-hidden {
  position: absolute; width: 1px; height: 1px; opacity: 0; border: 0; padding: 0; margin: 0;
  color: transparent; background: transparent; caret-color: transparent;
}
.sf-stage .sf-hidden { inset: 0; width: auto; height: auto; cursor: text; }
.sf-hint { margin: 0 0 28px; text-align: center; color: var(--dim); font-size: 14px; font-weight: 650; }
.sf-score { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 8px 0 28px; }
.sf-score > div { padding: 18px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.sf-score b { display: block; font-family: var(--display); font-weight: 850; font-stretch: 72%; font-size: clamp(36px, 6vw, 64px); line-height: .9; }
.sf-score small { font-size: 18px; color: var(--faint); }
.sf-score > div small { display: block; margin-top: 6px; font-size: 12px; }
.sf-best { color: var(--red); font-weight: 700; margin: -12px 0 20px; }
.sf-warn { color: var(--red); }
.sf-board-wrap { margin-top: 36px; }
.sf-board-wrap header { margin-bottom: 14px; }
.sf-board-wrap h2 { font-family: var(--display); font-stretch: 80%; font-size: 28px; }
.sf-board-wrap header p { color: var(--dim); margin-top: 4px; }
.sf-empty { color: var(--dim); padding: 18px 0; }
.sf-table { width: 100%; border-collapse: collapse; }
.sf-table th, .sf-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.sf-table th { color: var(--faint); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.sf-table td:nth-child(3), .sf-table th:nth-child(3),
.sf-table td:nth-child(4), .sf-table th:nth-child(4) { text-align: right; font-variant-numeric: tabular-nums; }
.sf-table tr.is-you { background: color-mix(in srgb, var(--red) 12%, transparent); }
.sf-table small { color: var(--red); font-weight: 700; }
@media (max-width: 760px) {
  .sf-words { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .sf-score { grid-template-columns: 1fr 1fr; }
  .sf.is-test .sf-hud { top: 18vh; }
}
@media (prefers-reduced-motion: reduce) {
  .sf-words { transition: none; }
}

html[data-accent] { --red: var(--user-accent); --blue: var(--user-accent); --grad: var(--user-accent); }
html[data-wall] body {
  background-image: var(--user-wall);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
html[data-wall] .fx::after {
  content: ""; position: absolute; inset: 0;
  background: color-mix(in srgb, var(--bg) 58%, transparent);
}
html[data-theme="kitty"],
html[data-theme="kitty"][data-section="anime"],
html[data-theme="kitty"][data-section="media"],
html[data-theme="kitty"][data-section="livetv"],
html[data-theme="kitty"][data-section="hub"],
html[data-theme="kitty"][data-section="lovellify"],
html[data-theme="kitty"][data-section="speedfy"],
html[data-theme="kitty"][data-section="readfy"],
html[data-theme="kitty"][data-section="tavsiye"] {
  --bg: #fff3f8; --bg-2: #ffe4ef; --bg-3: #ffd4e6; --line: rgba(232, 67, 147, .16);
  --line-strong: rgba(232, 67, 147, .28);
  --text: #4a1530; --dim: #a14d73; --faint: #c47a9a;
  --red: #ff5aa5; --red-ink: #fff; --blue: #ff7eb6;
  --glass: rgba(255, 240, 246, .72); --glass-line: rgba(255, 90, 165, .32);
  --accent-soft: rgba(255, 90, 165, .18); --hero-fade: #fff3f8; --ring: #ff5aa5;
  --grad: linear-gradient(120deg, #ff5aa5, #ff8ec8);
  color-scheme: light;
}
html[data-theme="kitty"] .fx-a { background: #ff5aa5; opacity: .22; }
html[data-theme="kitty"] .fx-b { background: #ffc1dc; opacity: .36; }
html[data-theme="kitty"] .fx-grain { mix-blend-mode: multiply; opacity: .035; }
html[data-theme="kitty"] .hub-word, html[data-theme="kitty"] .entry-word { color: color-mix(in srgb, #ff5aa5 22%, transparent); }
html[data-theme="kitty"] .hub-card, html[data-theme="kitty"] .entry-card, html[data-theme="kitty"] .mood-card {
  box-shadow: 0 18px 40px -28px rgba(255, 90, 165, .7);
}
html[data-theme="kitty"] .hub-card::after {
  content: "♡"; position: absolute; right: 18px; top: 14px; color: #ff5aa5; opacity: .45; font-size: 18px;
  animation: kitty-heart 2.8s var(--ease) infinite;
}
html[data-theme="kitty"] .btn-play { box-shadow: 0 12px 28px -12px #ff5aa5; }
html[data-theme="kitty"] .icon-btn .sun { display: none; }
html[data-theme="kitty"] .icon-btn .moon { display: inline; }
html[data-theme="kitty"][data-section="media"] .nav a { color: var(--dim); }
html[data-theme="kitty"][data-section="media"] .nav a[aria-current] { color: var(--text); }
html[data-theme="kitty"][data-section="media"] .search-open,
html[data-theme="kitty"][data-section="media"] .icon-btn,
html[data-theme="kitty"][data-section="media"] .profile-chip { background: color-mix(in srgb, var(--bg) 35%, transparent); }
@keyframes kitty-heart {
  0%, 100% { transform: scale(1); opacity: .4; }
  50% { transform: scale(1.18); opacity: .7; }
}

.hub-card { animation: card-in .5s var(--ease) both; }
.hub-card:nth-child(1) { animation-delay: .04s; }
.hub-card:nth-child(2) { animation-delay: .1s; }
.hub-card:nth-child(3) { animation-delay: .16s; }
.hub-card:nth-child(4) { animation-delay: .22s; }
.hub-card:nth-child(5) { animation-delay: .28s; }
.mood-card { transition: border-color .25s var(--ease), transform .25s var(--ease); }

.lf-batch { max-width: var(--max); margin: 24px auto 0; }
.lf-table { width: 100%; border-collapse: collapse; }
.lf-table th, .lf-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.lf-table th { color: var(--faint); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

.sf-insight { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; max-width: var(--max); margin: 8px auto 28px; }
.sf-spark { width: 100%; height: 88px; color: var(--red); }
.sf-miss { display: flex; flex-wrap: wrap; gap: 10px; }
.sf-miss b { font-family: var(--display); font-size: 28px; }
.sf-miss small { color: var(--faint); margin-left: 4px; }

.rf { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 80px; }
.rf-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.rf-reader { max-width: 860px; }
.rf-page { width: 100%; border-radius: var(--radius-m); background: #000; min-height: 40vh; }
.rf-head { display: grid; grid-template-columns: 120px 1fr; gap: 18px; margin: 18px 0 24px; }
.rf-head img { width: 120px; border-radius: 12px; }
.rf-ch { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rf-ch button { width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--glass-line); background: var(--glass); transition: all var(--transition-fast); cursor: pointer; }
.rf-ch button:hover { border-color: var(--red); background: var(--bg-2); }
.rf-ch button:disabled { opacity: 0.5; cursor: not-allowed; }
.rf-ch button.reading { border-color: var(--red); background: var(--accent-soft); font-weight: 600; }
.rf-shelf { margin-top: 28px; }
.rf-shelf > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rf-shelf h2 { font-family: var(--display); font-weight: 800; font-stretch: 82%; font-size: 22px; }
.rf-more { display: flex; justify-content: center; margin-top: 18px; }
.rf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; margin-top: 14px; }
.rf-card { display: grid; gap: 8px; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; transition: transform var(--transition-fast); }
.rf-card:hover img, .rf-card:hover .rf-ph { transform: scale(1.05); }
.rf-card img, .rf-ph { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 12px; background: var(--bg-3); transition: transform var(--transition-fast); }
.rf-card span:last-child { font-size: 13px; line-height: 1.3; word-break: break-word; }
@media (max-width: 480px) { .rf-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; } }
.bridge { display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; margin: 12px 0; padding: 8px 12px 8px 8px; border: 1px solid var(--glass-line); border-radius: 14px; background: var(--glass); }
.bridge img { width: 36px; height: 52px; object-fit: cover; border-radius: 6px; }
.bridge small { display: block; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.bridge b { font-size: 15px; }
.week-jump { margin: 8px 0 0; }
.week-jump a { color: var(--red); font-weight: 700; }
.week { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 80px; }
.week-day { margin-top: 26px; }
.week-day h2 { font-family: var(--display); font-weight: 800; font-size: 22px; margin-bottom: 8px; text-transform: capitalize; }
.week-row { display: grid; grid-template-columns: 58px 42px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.week-row time { color: var(--dim); font-variant-numeric: tabular-nums; }
.week-row img, .week-row .rf-ph { width: 42px; height: 60px; object-fit: cover; border-radius: 6px; }
.week-row small { display: block; color: var(--faint); }
.week-row.is-past { opacity: .55; }

.mood { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 80px; }
.mood-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.mood-card { display: grid; gap: 8px; min-height: 120px; padding: 20px; text-align: left; border-radius: var(--radius-l); border: 1px solid var(--glass-line); background: var(--glass); color: inherit; }
.mood-card:hover { border-color: var(--red); transform: translateY(-4px); }
.mood-card span { color: var(--dim); font-size: 14px; }
.mood-reveal { display: grid; grid-template-columns: minmax(0, .9fr) 1.1fr; gap: 20px; margin-top: 28px; padding: 16px; border-radius: var(--radius-l); border: 1px solid var(--glass-line); background: var(--glass); overflow: hidden; animation: card-in .45s var(--ease); }
.mood-reveal img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; }
.mood-reveal.is-spin { display: flex; align-items: center; gap: 12px; min-height: 80px; }
@media (max-width: 720px) {
  .sf-insight, .mood-reveal, .rf-head { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-card, .mood-reveal, html[data-theme="kitty"] .hub-card::after { animation: none; }
  .hub-card:hover, .mood-card:hover { transform: none; }
  html[data-app="watch"] .side,
  html[data-app="watch"] .top,
  html[data-app="watch"] main,
  html[data-app="watch"] .foot,
  .side-toggle svg { transition: none; }
}

.source-help {display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 18px;background:#12121b;color:#eee;font-size:13px;}
.source-help span {margin-right:auto;}
@media(max-width:600px){.stage-error{flex-wrap:wrap;width:calc(100% - 32px);}.stage-error p{width:100%;}}

/* Lovell Tools download landing page */
.tools-download{max-width:1120px;margin:auto}.tools-release{display:grid;grid-template-columns:300px 1fr;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:rgba(255,255,255,.025)}.tools-art{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:360px;padding:32px;background:radial-gradient(ellipse at top,#81354c,transparent 80%),#18131e;gap:18px}.tools-art>span{font-size:76px;letter-spacing:-8px;font-weight:800}.tools-art small{letter-spacing:4px;font-size:10px}.tools-art-lines{width:160px;display:grid;gap:10px;margin-top:22px}.tools-art-lines i{height:6px;border-radius:9px;background:#ffffff24}.tools-art-lines i:nth-child(2){width:70%}.tools-art-lines i:nth-child(3){width:45%}.tools-release-info{padding:38px}.tools-release-info h2{font-size:26px;margin:18px 0 10px}.tools-release-info p,.tools-details p{line-height:1.7;color:var(--muted)}.tools-status{font-size:12px;border:1px solid #e9b86d55;border-radius:30px;padding:7px 12px;color:#e9bd7e;background:#e9b86d0c}.tools-release-info button{margin-top:18px}.tools-release-info button:disabled{opacity:.5;cursor:not-allowed}.tools-note{font-size:12px}.tools-meta{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding-top:20px;border-top:1px solid var(--line);margin-top:25px}.tools-meta dt{font-size:12px;color:var(--muted)}.tools-meta dd{margin:6px 0 0;font-size:14px}.tools-details{margin:32px 0;padding:24px;border:1px solid var(--line);border-radius:18px}.tools-details h2{font-size:18px}@media(max-width:650px){.tools-release{grid-template-columns:1fr}.tools-art{min-height:190px;padding:24px}.tools-art>span{font-size:54px}.tools-art-lines{display:none}.tools-release-info{padding:25px}.tools-release-info h2{font-size:23px}}


/* =====================================================================
   Dizilla düzeni (kırmızı): öne çıkanlar, yeni eklenenler + en çok
   izlenenler, türe göre keşif, yorumlar ve Reels.
   ===================================================================== */
.dz-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dz-head h2 { font-size: clamp(20px, 1.6vw, 26px); }
.dz-sub { margin-left: auto; color: var(--dim); font-size: 13px; font-weight: 600; }

/* Öne çıkanlar */
.row-ft { grid-auto-columns: clamp(280px, 30vw, 470px); gap: 20px; }
.ft { display: flex; flex-direction: column; min-width: 0; scroll-snap-align: start; }
.ft-tag { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ft-line { margin: 4px 0 10px; font-weight: 700; font-size: 16px; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ft-card { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal); }
.ft-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.ft-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 14px 40px -18px color-mix(in srgb, var(--red) 70%, transparent); }
.ft-card:hover img { transform: scale(1.04); }
.ft-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .86)); }
.ft-score { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 2px 8px; border-radius: 7px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 12px; font-weight: 800; }
.ft-body { position: absolute; left: 14px; bottom: 12px; right: 46%; z-index: 1; display: flex; flex-direction: column; color: #fff; min-width: 0; }
.ft-body b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft-body small { font-size: 12px; color: rgba(255, 255, 255, .75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft-cta { position: absolute; right: 12px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 10px; background: #fff; color: #111; font-size: 13px; font-weight: 800; white-space: nowrap; }
.ft-cta svg { width: 11px; height: 11px; fill: currentColor; }
.ft-card:hover .ft-cta { background: var(--red); color: #fff; }

/* Yeni eklenenler | En çok izlenenler */
.dz-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 22px; margin-top: 44px; align-items: start; }
.dz-panel { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--bg-2) 72%, transparent); }
.dz-pager { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.dz-page { color: var(--dim); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; margin-right: 4px; }
.dz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }
.dz-chip { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg-3); color: var(--dim); font-size: 13px; font-weight: 700; }
.dz-chip:hover { color: var(--text); transform: none; }
.dz-chip.on { background: var(--red); border-color: var(--red); color: #fff; }
.dz-genre:not(.on) { border-color: hsl(var(--h) 70% 50% / .35); }
.dz-switch { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--dim); font-size: 13px; font-weight: 700; cursor: pointer; }
.dz-switch input { accent-color: var(--red); width: 16px; height: 16px; }
.dz-grid, .dz-picks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 14px; }
.dz-empty { grid-column: 1 / -1; padding: 28px 0; text-align: center; }
.dz-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dz-rank a { display: grid; grid-template-columns: 30px 46px minmax(0, 1fr); align-items: center; gap: 12px; padding: 6px; border-radius: 12px; }
.dz-rank a:hover { background: var(--accent-soft); }
.dz-n { font: 900 22px/1 var(--display); color: var(--faint); text-align: center; }
.dz-rank li:nth-child(-n+3) .dz-n { color: var(--red); }
.dz-thumb { width: 46px; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; background: var(--bg-3); }
.dz-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dz-name { display: flex; flex-direction: column; min-width: 0; }
.dz-name b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-name small { font-size: 12px; color: var(--dim); }

/* Türe göre keşfet */
.dz-discover { margin-top: 44px; }
.dz-picks .sk-poster { aspect-ratio: 2 / 3; border-radius: var(--radius-m); }
.dz-all { margin-top: 12px; text-align: right; }

/* Reels çağrısı (ana sayfa) */
.dz-reels-cta { display: flex; align-items: center; gap: 16px; margin-top: 44px; padding: 18px 22px; border-radius: 18px; border: 1px solid var(--line-strong); background: linear-gradient(110deg, color-mix(in srgb, var(--red) 26%, var(--bg-2)), var(--bg-2) 60%); }
.dz-reels-cta:hover { border-color: var(--red); }
.dz-reels-cta > span:nth-child(2) { display: flex; flex-direction: column; }
.dz-reels-cta small { color: var(--dim); }
.dz-reels-cta .more { margin-left: auto; }
.dz-reels-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--red); color: #fff; flex: none; }
.dz-reels-icon svg { width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 1280px) {
  .dz-split { grid-template-columns: minmax(0, 1fr); }
  .dz-grid, .dz-picks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .dz-grid, .dz-picks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dz-panel { padding: 14px; }
  .dz-switch { margin-left: 0; }
  .ft-body { right: 14px; bottom: 54px; }
}
@media (max-width: 460px) {
  .dz-grid, .dz-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dz-reels-cta .more { display: none; }
}

/* Yorumlar */
.cm { margin-top: 40px; }
.cm-count { color: var(--dim); font-size: .8em; font-weight: 700; margin-left: 4px; }
.cm-form { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; }
.cm-field { flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--bg-2); transition: border-color var(--transition-fast); }
.cm-field:focus-within { border-color: var(--red); }
.cm-field textarea { display: block; width: 100%; min-height: 64px; resize: vertical; padding: 12px 14px 4px; border: 0; background: transparent; color: var(--text); font: inherit; outline: none; }
.cm-tools { display: flex; align-items: center; gap: 12px; padding: 6px 8px 8px 14px; }
.cm-check { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: 13px; cursor: pointer; }
.cm-check input { accent-color: var(--red); }
.cm-left { margin-left: auto; color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.cm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cm-item { display: flex; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--line); }
.cm-body { min-width: 0; flex: 1; }
.cm-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.cm-head time { color: var(--faint); font-size: 12px; }
.cm-you { padding: 0 6px; border-radius: 6px; background: var(--accent-soft); color: var(--red); font-size: 11px; font-weight: 800; }
.cm-text { margin-top: 4px; color: color-mix(in srgb, var(--text) 88%, var(--dim)); overflow-wrap: anywhere; }
.cm-spoiler { margin-top: 6px; padding: 6px 12px; border-radius: 10px; border: 1px dashed var(--line-strong); background: var(--bg-3); color: var(--dim); font-size: 13px; }
.cm-del { margin-top: 4px; font-size: 12px; color: var(--faint); }
.cm-del:hover { color: var(--red); }
.cm-empty { padding: 8px 0 4px; }

/* Reels (Tavsiye) */
.reels-row { margin-top: 44px; scroll-margin-top: 90px; }
.reels-sub { font-size: 13px; }
.reel-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 15vw, 210px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px; margin: -4px; }
.reel-tiles::-webkit-scrollbar { display: none; }
.reel-tile, .reel-sk { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; scroll-snap-align: start; }
.reel-tile { display: block; padding: 0; border: 1px solid var(--line); background: var(--bg-3); color: #fff; text-align: left; }
.reel-tile:hover { transform: translateY(-4px); border-color: var(--red); filter: none; }
.reel-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .85)); }
.reel-ig { background: linear-gradient(160deg, #f58529, #dd2a7b 45%, #8134af); }
.reel-badge { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 2px 8px; border-radius: 7px; background: rgba(0, 0, 0, .6); font-size: 11px; font-weight: 800; }
.reel-tile-body { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; display: flex; flex-direction: column; }
.reel-tile-body b { font-size: 14px; line-height: 1.25; }
.reel-tile-body small { font-size: 12px; color: rgba(255, 255, 255, .75); }
.reel-tile-play { position: absolute; top: 50%; left: 50%; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--red); opacity: 0; transform: scale(.85); transition: opacity var(--transition-fast), transform var(--transition-fast); }
.reel-tile-play svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
.reel-tile:hover .reel-tile-play, .reel-tile:focus-visible .reel-tile-play { opacity: 1; transform: none; }

dialog.reels { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #050505; color: #fff; }
dialog.reels::backdrop { background: rgba(0, 0, 0, .9); }
.reels-feed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; }
.reels-feed::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; overflow: hidden; }
.reel-bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(34px) brightness(.35); }
.reel-frame { position: relative; z-index: 1; width: min(100vw, calc(100dvh * 9 / 16)); height: min(100dvh, calc(100vw * 16 / 9)); display: grid; place-items: center; background: #000; border-radius: 18px; overflow: hidden; }
.reel-frame iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.reel-frame.is-ig iframe { height: 100%; aspect-ratio: auto; }
.reel-none { padding: 24px; text-align: center; color: rgba(255, 255, 255, .7); }
.reel-info { position: absolute; z-index: 2; left: 50%; bottom: 28px; width: min(calc(100vw - 32px), calc(100dvh * 9 / 16 - 32px)); transform: translateX(-50%); text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.reel-info h3 { font-size: 20px; }
.reel-meta { font-size: 13px; color: rgba(255, 255, 255, .78); }
.reel-line { margin-top: 6px; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reel-info .actions { margin-top: 12px; }
.reels-close { position: fixed; top: 16px; right: 16px; z-index: 5; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; }
.reels-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.reels-nav { position: fixed; right: 20px; top: 50%; z-index: 5; display: grid; gap: 10px; transform: translateY(-50%); }
.reels-nav button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; }
.reels-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 720px) { .reels-nav { display: none; } .reel-frame { border-radius: 0; } }

/* Tavsiye: kategori seçimi, Instagram reel bilgisi */
.mood-cats { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 18px; }
.mood-cats .dz-chip { height: 40px; padding: 0 20px; font-size: 14px; }
.reel-src { font-size: 12px; font-weight: 800; color: #fff; opacity: .85; margin-bottom: 2px; }
.reel-ig .reel-badge { background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); }
/* Instagram gömmesinin altı beyaz: bilgi üstüne binmesin, altında koyu bir şerit olsun. */
.reel-ig-slide { place-items: start center; }
.reel-ig-slide .reel-frame { margin-top: 12px; height: calc(100dvh - 176px); width: min(100vw, calc((100dvh - 176px) * 9 / 16 + 40px)); background: #fff; }
.reel-ig-slide .reel-info { bottom: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(12, 12, 12, .94); border: 1px solid rgba(255, 255, 255, .08); text-shadow: none; }
.reel-ig-slide .reel-info .actions { margin-top: 8px; }

/* Tavsiye: çekilişin altında ek öneriler */
.mood-more-head { display: flex; align-items: center; gap: 12px; margin: 26px 0 14px; }
.mood-more-head h2 { font-size: clamp(18px, 1.4vw, 22px); }
.mood-more-head .btn { margin-left: auto; }
.mood-more { margin-bottom: 8px; }


/* =====================================================================
   Sade düzen (izleme bölümü): üstte yatay menü, tam genişlikte vitrin,
   ilk satır vitrinin altına biner. Bu blok en sonda durur ve yukarıdaki
   yan menü / cam görünüm kurallarını ezer; kaldırılırsa eski düzen döner.
   ===================================================================== */

/* Akıcı kaydırma: sabit bulanık ışık katmanları ve sabit arka plan her
   kaydırmada yeniden boyanıyordu; izleme bölümünde düz zemin kullanılır. */
html[data-app="watch"] .fx { display: none; }
html[data-app="watch"] body { background: var(--bg); }

/* Üst menü: vitrinin üstünde şeffaf, kaydırınca koyu zemin */
:root[data-app="watch"] .top {
  position: fixed; left: 0; right: 0; top: 0; z-index: 30;
  padding: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
  transition: background-color .3s ease, box-shadow .3s ease;
}
:root[data-app="watch"] .top.scrolled {
  background: rgba(12, 8, 9, .94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -12px rgba(0, 0, 0, .7);
}
/* Açık temada da üst çubuk vitrinin üstünde koyu durur: yazı renkleri sabit açık. */
html[data-app="watch"] .top-inner { --text: #f7f7f7; --dim: #cacaca; --faint: #9a9a9a; --line: rgba(255, 255, 255, .22); --bg-2: rgba(255, 255, 255, .08); color: var(--text); }
:root[data-theme="light"][data-app="watch"] body:not(:has(main > .hero:first-child)) .top { background: rgba(12, 8, 9, .94); }
html[data-app="watch"] .top-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter);
  justify-content: flex-start; flex-wrap: nowrap; gap: 28px;
  border: 0; border-radius: 0; background: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
html[data-app="watch"] .logo { display: flex !important; gap: 10px; order: 0; }
html[data-app="watch"] .hub-link { display: none !important; }
html[data-app="watch"] .logo::after {
  content: "LOVELL"; color: var(--text);
  font: 800 19px/1 var(--display); letter-spacing: .32em;
}
html[data-app="watch"] .nav {
  display: flex !important; flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; order: 1; gap: 26px; font-size: 15px; font-weight: 600;
}
html[data-app="watch"] .nav::-webkit-scrollbar { display: none; }
html[data-app="watch"] .nav a { padding: 8px 0; color: rgba(255, 255, 255, .72); }
html[data-app="watch"] .nav a:hover, html[data-app="watch"] .nav a[aria-current] { color: #fff; }
html[data-app="watch"] .nav a[aria-current]::after { bottom: 0; height: 3px; }
/* Anime / Film & Dizi / Canlı seçimi: sade, küçük bir anahtar */
html[data-app="watch"] .tab-bar {
  display: inline-flex !important; margin-left: auto; order: 2;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);
}
html[data-app="watch"] .tab-bar::before { display: none; }
html[data-app="watch"] .top-actions { margin-left: 0; order: 3; }
html[data-app="watch"] .search-open { width: 40px; padding: 0; justify-content: center; background: transparent; border-color: transparent; }
html[data-app="watch"] .search-open span, html[data-app="watch"] .search-open kbd { display: none; }
html[data-app="watch"] .icon-btn { background: transparent; border-color: transparent; }
html[data-app="watch"] .profile-chip { background: transparent; }

/* Yan menü yerine üst menü */
html[data-app="watch"] .side:not(.open) { display: none !important; }
@media (min-width: 861px) { html[data-app="watch"] .side { display: none !important; } }
html[data-app="watch"] main,
html[data-app="watch"] .foot { margin-left: 0; }
html[data-app="watch"] main { padding-top: 76px; }

/* Vitrin: tam genişlik, solda tek bilgi bloğu */
:root[data-app="watch"] main > .hero:first-child {
  margin: -76px 0 0; border-radius: 0;
  min-height: min(92vh, 820px);
  display: flex; align-items: center;
}
:root[data-app="watch"] .hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 5, 6, .92) 0%, rgba(8, 5, 6, .62) 34%, rgba(8, 5, 6, 0) 66%),
    linear-gradient(0deg, var(--bg) 0%, rgba(12, 8, 9, 0) 34%);
  box-shadow: none;
}
:root[data-app="watch"] .hero-body { padding: 150px var(--gutter) 210px; }
:root[data-app="watch"] .hero-eyebrow { font-size: 12px; letter-spacing: .34em; color: rgba(255, 255, 255, .72); }
:root[data-app="watch"] .hero-title { font-size: clamp(44px, 6.4vw, 96px); max-width: 12ch; text-shadow: 0 6px 30px rgba(0, 0, 0, .45); }
:root[data-app="watch"] .hero-meta { gap: 0; color: rgba(255, 255, 255, .82); font-size: 15px; }
:root[data-app="watch"] .hero-meta > span + span::before { content: ""; display: inline-block; width: 1px; height: 14px; margin: 0 14px; vertical-align: -2px; background: rgba(255, 255, 255, .35); }
:root[data-app="watch"] .hero-meta .score { background: none; border: 0; padding: 0; }
:root[data-app="watch"] .hero-text { max-width: 46ch; color: rgba(255, 255, 255, .78); font-size: clamp(15px, 1.25vw, 17px); -webkit-line-clamp: 3; }
:root[data-app="watch"] .hero .actions { gap: 14px; }
:root[data-app="watch"] .hero .btn { height: 52px; padding: 0 30px; font-size: 16px; border-radius: 999px; }
:root[data-app="watch"] .hero .btn-play { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--red) 80%, transparent); }
:root[data-app="watch"] .hero .btn-ghost { background: rgba(0, 0, 0, .22); border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; }
:root[data-app="watch"] .hero .btn-ghost:hover { background: rgba(255, 255, 255, .12); }
:root[data-app="watch"] .hero .btn-info { width: 52px; padding: 0; }
:root[data-app="watch"] .hero .btn-info span { display: none; }
/* Küçük resimler yerine ince ilerleme çizgileri */
:root[data-app="watch"] .hero-strip { bottom: 150px; gap: 8px; }
:root[data-app="watch"] .hero-strip .thumb { width: 34px; height: 4px; aspect-ratio: auto; border-radius: 4px; opacity: 1; background: rgba(255, 255, 255, .28); overflow: hidden; }
:root[data-app="watch"] .hero-strip .thumb img { display: none; }
:root[data-app="watch"] .hero-strip .thumb.on, :root[data-app="watch"] .hero-strip .thumb:hover { transform: none; background: rgba(255, 255, 255, .4); }
:root[data-app="watch"] .hero-strip .thumb i { height: 100%; background: #fff; }
:root[data-app="watch"] .hero-mute { bottom: 140px; }
/* İlk satır vitrinin altına biner */
:root[data-app="watch"] main > .hero:first-child + .page-home { position: relative; z-index: 2; margin-top: -120px; }

@media (max-width: 1100px) {
  html[data-app="watch"] .top-inner { gap: 18px; }
  html[data-app="watch"] .nav { gap: 18px; font-size: 14px; }
  html[data-app="watch"] .logo::after { display: none; }
  html[data-app="watch"] .profile-name { display: none; }
  html[data-app="watch"] .profile-chip { padding-right: 5px; }
}
@media (max-width: 860px) {
  html[data-app="watch"] .nav, html[data-app="watch"] .tab-bar { display: none !important; }
  html[data-app="watch"] .top-actions { margin-left: auto; }
  html[data-app="watch"] .logo::after { display: inline; font-size: 16px; }
  html[data-app="watch"] main { padding-top: 64px; }
  :root[data-app="watch"] main > .hero:first-child { margin-top: -64px; min-height: min(78vh, 640px); align-items: flex-end; }
  :root[data-app="watch"] .hero-shade { background: linear-gradient(0deg, var(--bg) 4%, rgba(8, 5, 6, .55) 48%, rgba(8, 5, 6, .25) 100%); }
  :root[data-app="watch"] .hero-body { padding: 120px var(--gutter) 130px; }
  :root[data-app="watch"] .hero-strip { bottom: 96px; left: var(--gutter); right: auto; }
  :root[data-app="watch"] main > .hero:first-child + .page-home { margin-top: -60px; }
  :root[data-app="watch"] .hero-meta { gap: 4px 14px; }
  :root[data-app="watch"] .hero-meta > span + span::before { display: none; }
}

/* ---------------- Kaydırma animasyonları ----------------
   Yalnızca opacity ve transform (ekran kartında çalışır, sayfayı yeniden
   dizmez). Bölümler görünür alana girince bir kez belirir. */
.reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
/* Vitrin kaydırdıkça hafifçe uzaklaşır (tarayıcı destekliyorsa; JS yok). */
@supports (animation-timeline: scroll()) {
  :root[data-app="watch"] main > .hero:first-child .hero-bg {
    animation: hero-drift linear both; animation-timeline: scroll(root); animation-range: 0 90vh;
  }
  :root[data-app="watch"] main > .hero:first-child .hero-body {
    animation: hero-lift linear both; animation-timeline: scroll(root); animation-range: 0 70vh;
  }
  @keyframes hero-drift { to { transform: translate3d(0, 14vh, 0) scale(1.06); } }
  @keyframes hero-lift { to { transform: translate3d(0, -6vh, 0); opacity: 0; } }
}
/* Ekran dışındaki uzun satırlar çizilmez: ilk açılış ve kaydırma hafifler. */
html[data-app="watch"] .page-home > .shelf:nth-child(n+4) { content-visibility: auto; contain-intrinsic-size: auto 360px; }
@media (prefers-reduced-motion: reduce) {
  /* Hareket yok, yalnızca yumuşak bir solma. */
  .reveal { transform: none; transition: opacity .5s ease; }
  :root[data-app="watch"] main > .hero:first-child .hero-bg,
  :root[data-app="watch"] main > .hero:first-child .hero-body { animation: none; }
}


/* ---------- Üst menü: cam görünümlü bölüm anahtarı + Araçlar düğmesi ---------- */
.hub-link { gap: 7px; }
.hub-link svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

/* Anahtar: buzlu cam zemin, daha ferah düğmeler */
:root[data-app="watch"] .top .tab-bar {
  padding: 5px; margin: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 24px -12px rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
}
:root[data-app="watch"] .top .tab-btn { height: 38px; padding: 0 20px; gap: 8px; color: rgba(255, 255, 255, .72); }
:root[data-app="watch"] .top .tab-btn:hover { color: #fff; }
:root[data-app="watch"] .top .tab-btn.active, :root[data-app="watch"] .top .tab-btn[aria-selected="true"] { color: #fff; }
/* Seçili olanın arkasındaki kayan parça: kırmızı tonlu cam */
:root[data-app="watch"] .top .tab-glider {
  top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3);
  background: linear-gradient(180deg, rgba(255, 120, 130, .42), rgba(220, 44, 63, .30));
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -8px 16px -10px rgba(120, 0, 16, .6), 0 6px 20px -8px rgba(220, 44, 63, .75);
}

/* Araçlar: menüde, cam bir düğme olarak */
html[data-app="watch"] .hub-link {
  display: inline-flex !important; order: 2; height: 40px; padding: 0 16px;
  color: rgba(255, 255, 255, .82);
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
}
html[data-app="watch"] .hub-link:hover { color: #fff; border-color: rgba(255, 255, 255, .32); }
html[data-app="watch"] .top .tab-bar { order: 3; margin-left: auto; }
html[data-app="watch"] .top-actions { order: 4; }

.nav-short { display: none; }
@media (max-width: 1280px) {
  :root[data-app="watch"] .top .tab-btn { padding: 0 14px; }
  html[data-app="watch"] .logo::after { display: none; }
  html[data-app="watch"] .top-inner { gap: 18px; }
  html[data-app="watch"] .nav { gap: 18px; }
  html[data-app="watch"] .nav-long { display: none; }
  html[data-app="watch"] .nav-short { display: inline; }
  html[data-app="watch"] .hub-link span { display: none; }
  html[data-app="watch"] .hub-link { width: 40px; padding: 0; justify-content: center; }
}
@media (max-width: 1100px) {
  :root[data-app="watch"] .top .tab-btn svg { display: none; }
}
@media (max-width: 860px) {
  html[data-app="watch"] .hub-link { display: none !important; }
}

/* =====================================================================
   v12: kaydırma animasyonları — ilerleme çubuğu, raf kenarı, poster eğimi, raf başlığı
   Hepsi `transform` yerine bağımsız `scale`/`rotate` kullanır: hover'daki yükselme (transform) ile çakışmaz.
   ===================================================================== */
/* Üstte sayfanın ne kadarının okunduğunu gösteren ince çubuk (yükleme çubuğunun altında kalır) */
.scroll-progress { position: fixed; z-index: 99; top: 0; left: 0; right: 0; height: 2px; background: var(--grad, var(--red)); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); pointer-events: none; will-change: transform; }
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: scroll-progress linear both; animation-timeline: scroll(root block); }
  @keyframes scroll-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

@media (prefers-reduced-motion: no-preference) {
  /* Yatay raflar: kenara yaklaşan kart hafifçe küçülüp solar, ortaya gelince tam boy olur */
  @supports (animation-timeline: view(inline)) {
    .row > * :is(.card-img, .land-img) { animation: rail-edge linear both; animation-timeline: view(inline); animation-range: cover 0% cover 100%; }
    @keyframes rail-edge {
      0% { scale: .88; opacity: .45; }
      12%, 88% { scale: 1; opacity: 1; }
      100% { scale: .88; opacity: .45; }
    }
  }

  /* Poster eğimi (main.js: .is-tilt + --ax/--ay/--ang) ve imleci izleyen ışık */
  .card, .rank, .land { perspective: 900px; }
  .card .card-img, .rank .card-img, .land .land-img { transition: transform .35s var(--ease), box-shadow .2s, rotate .55s var(--ease-out), scale .3s var(--ease-out); }
  .card-img.is-tilt, .land-img.is-tilt { rotate: var(--ax, 0) var(--ay, 1) 0 var(--ang, 0deg); transition-duration: .35s, .2s, .12s, .3s; }
  .card-img::before, .land-img::before {
    content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .35s ease;
    background: radial-gradient(circle at calc((var(--tx, 0) + .5) * 100%) calc((var(--ty, 0) + .5) * 100%), rgba(255, 255, 255, .24), rgba(255, 255, 255, .06) 30%, transparent 60%);
  }
  .is-tilt::before { opacity: 1; }

  /* Basınca kart bir an içeri çöker */
  .card:active, .rank:active, .land:active { scale: .97; transition: scale .12s ease; }

  /* Raf görünür olunca başlıktaki renkli çizgi aşağıdan büyür, başlık soldan kayar */
  .shelf.reveal .shelf-head h2 { translate: -14px 0; opacity: 0; transition: translate .6s var(--ease-out) .08s, opacity .5s ease .08s; }
  .shelf.reveal.in .shelf-head h2 { translate: 0 0; opacity: 1; }
  .shelf.reveal .shelf-head h2::before { scale: 1 0; transform-origin: 50% 100%; transition: scale .55s cubic-bezier(.3, 1.5, .5, 1) .25s; }
  .shelf.reveal.in .shelf-head h2::before { scale: 1 1; }
}

/* =====================================================================
   v13: BUZLU CAM ARAYÜZ (izleme bölümü)
   Solda üzerine gelince açılan ikon menüsü, vitrin görselinden renk alan sıcak zemin,
   köşeleri yuvarlak vitrin kartı, noktalı sayfalama, cam düğmeler, gruplu ayarlar.
   En sonda durur; yukarıdaki üst menü / tam genişlik vitrin kurallarını ezer.
   ===================================================================== */
@property --ambg { syntax: '<color>'; inherits: true; initial-value: #5a2d27; }
html[data-app="watch"] {
  --peach: #f4a67a; --peach-2: #f8c4a0; --peach-ink: #24130b;
  --g-bg: rgba(255, 255, 255, .055); --g-bg-2: rgba(255, 255, 255, .1); --g-line: rgba(255, 255, 255, .09);
  --g-panel: rgba(30, 21, 21, .5); --g-panel-strong: rgba(36, 25, 24, .82);
  --ambg: var(--page-amb, #5a2d27);
  accent-color: var(--peach);
  transition: --ambg 1.6s ease;
}
html[data-app="watch"][data-theme="light"] {
  --peach: #e2814f; --peach-2: #f0a77d; --peach-ink: #fff;
  --g-bg: rgba(40, 20, 15, .04); --g-bg-2: rgba(40, 20, 15, .08); --g-line: rgba(40, 20, 15, .09);
  --g-panel: rgba(255, 250, 247, .62); --g-panel-strong: rgba(255, 250, 247, .9);
}
html[data-app="watch"][data-accent] { --peach: var(--user-accent); --peach-2: var(--user-accent); --peach-ink: #fff; }

/* Sıcak, görselden renk alan zemin: tek sabit katman, bulanıklık filtresi yok (kaydırmayı yormaz) */
html[data-app="watch"] .fx {
  display: block; z-index: -1;
  background:
    radial-gradient(110% 75% at 78% -8%, color-mix(in srgb, var(--ambg) 55%, transparent), transparent 62%),
    radial-gradient(80% 60% at -5% 105%, color-mix(in srgb, var(--ambg) 32%, transparent), transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 86%, var(--ambg)), var(--bg) 85%);
}
html[data-app="watch"] .fx-orb { display: none; }

/* ---------- İkon menüsü ---------- */
#side .side-me { display: flex; align-items: center; gap: 12px; padding: 4px; border-radius: 16px; color: var(--text); text-decoration: none; }
#side .side-me .avatar { width: 40px; height: 40px; flex: none; font-size: 15px; box-shadow: 0 0 0 2px var(--g-line); }
#side .side-me-name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#side .side-nav { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
/* Sayfa değişince odak programla main'e taşınır; ekran okuyucu için, görünür halka gerekmez */
main:focus, main:focus-visible { box-shadow: none; outline: none; }
/* Odak halkası ve seçili çipler de şeftali (kırmızı yalnızca içerik vurgularında kalır) */
:root[data-app="watch"][data-section] { --focus-ring: var(--peach); --ring: var(--peach); }
:root[data-app="watch"] :is(.chip, .dz-chip).on { background: var(--peach); border-color: transparent; color: var(--peach-ink); box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--peach) 80%, transparent); }
#side .side-nav > a, #side .side-nav > button, #side .side-exit {
  display: flex; align-items: center; gap: 12px; width: 100%; height: 46px; padding: 0 10px 0 1px;
  border: 0; border-radius: 15px; background: transparent; color: var(--dim);
  font: 600 14.5px var(--body); text-align: left; text-decoration: none; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
#side .side-nav svg, #side .side-exit svg {
  width: 44px; height: 44px; padding: 11px; flex: none; box-sizing: border-box; border-radius: 14px;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
#side .side-nav > :hover, #side .side-exit:hover { color: var(--text); background: var(--g-bg); }
#side .side-nav > a[aria-current] { color: var(--text); background: transparent; }
#side .side-nav > a[aria-current] svg { background: var(--peach); color: var(--peach-ink); box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--peach) 75%, transparent); }
#side .side-nav span, #side .side-exit span { white-space: nowrap; overflow: hidden; }

@media (min-width: 861px) {
  html[data-app="watch"] { --rail: 64px; --rail-gap: 14px; --gutter: 26px; }
  html[data-app="watch"] #side {
    display: flex !important; flex-direction: column; gap: 0;
    position: fixed; z-index: 40; left: var(--rail-gap); top: var(--rail-gap); bottom: var(--rail-gap); right: auto;
    width: var(--rail); padding: 12px 8px; border-radius: 24px; overflow: hidden;
    background: var(--g-panel); border: 1px solid var(--g-line);
    -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
    box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .8);
    transition: width .34s var(--ease), background-color .34s ease, box-shadow .34s ease;
  }
  /* Üzerine gelince (ya da klavyeyle içine girince) içeriği itmeden genişler */
  html[data-app="watch"] #side:hover, html[data-app="watch"] #side:focus-within {
    width: 236px; background: var(--g-panel-strong);
    box-shadow: 40px 0 90px -30px rgba(0, 0, 0, .7), 0 20px 50px -30px rgba(0, 0, 0, .8);
  }
  html[data-app="watch"] #side .side-nav { margin: auto 0; }
  html[data-app="watch"] #side .side-tabs { display: none; }
  html[data-app="watch"] #side :is(.side-me-name, .side-nav span, .side-exit span) { opacity: 0; transition: opacity .18s ease; }
  html[data-app="watch"] #side:is(:hover, :focus-within) :is(.side-me-name, .side-nav span, .side-exit span) { opacity: 1; transition: opacity .25s ease .08s; }

  /* Üst şerit: yalnızca sağda bölüm anahtarı; arama, profil ve ayarlar ikon menüsünde */
  :root[data-app="watch"] .top {
    position: relative; z-index: 20; background: none; box-shadow: none;
    padding: 14px var(--gutter) 0 calc(var(--rail) + var(--rail-gap) * 2 + var(--gutter));
  }
  :root[data-app="watch"] .top.scrolled { background: none; box-shadow: none; }
  :root[data-app="watch"] .top-inner { max-width: none; padding: 0; min-height: 50px; justify-content: flex-end; background: none; border: 0; }
  html[data-app="watch"] .top :is(.logo, .hub-link, .nav, .top-actions) { display: none !important; }
  html[data-app="watch"] .top .tab-bar { display: flex !important; margin-left: auto; }
  :root[data-app="watch"] .top .tab-glider {
    background: var(--peach); border-color: transparent;
    box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--peach) 80%, transparent);
  }
  :root[data-app="watch"] .top .tab-btn.active, :root[data-app="watch"] .top .tab-btn[aria-selected="true"] { color: var(--peach-ink); }

  html[data-app="watch"] main, html[data-app="watch"] .foot { margin-left: calc(var(--rail) + var(--rail-gap) * 2); }
  :root[data-app="watch"] main { padding-top: 0; }

  /* Vitrin: içe çekilmiş, köşeleri yuvarlak bir kart; bilgiler sol altta */
  :root[data-app="watch"] main > .hero:first-child {
    margin: 14px var(--gutter) 0; border-radius: 28px; overflow: hidden; isolation: isolate;
    min-height: min(74vh, 720px); display: flex; align-items: flex-end;
    box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9), 0 0 0 1px var(--g-line);
  }
  :root[data-app="watch"] .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 5, 6, .78) 0%, rgba(8, 5, 6, .38) 38%, rgba(8, 5, 6, 0) 64%),
      linear-gradient(0deg, rgba(8, 5, 6, .72) 0%, rgba(8, 5, 6, 0) 46%);
    box-shadow: none;
  }
  :root[data-app="watch"] .hero-body { padding: 60px 48px 48px; max-width: 760px; }
  :root[data-app="watch"] .hero-strip { left: auto; right: 34px; bottom: 38px; gap: 7px; }
  :root[data-app="watch"] .hero-mute { top: 22px; right: 22px; bottom: auto; }
  :root[data-app="watch"] main > .hero:first-child + .page-home { margin-top: 34px; }
}

/* ---------- Vitrin içeriği ---------- */
:root[data-app="watch"] .hero-eyebrow { font-size: 11px; letter-spacing: .26em; color: rgba(255, 255, 255, .7); }
:root[data-app="watch"] .hero-title { font-weight: 850; font-size: clamp(38px, 4.8vw, 76px); line-height: .95; max-width: 14ch; letter-spacing: -.02em; }
:root[data-app="watch"] .hero-meta { color: rgba(255, 255, 255, .86); font-size: 15px; font-weight: 600; }
:root[data-app="watch"] .hero-meta > span + span::before { content: "•"; display: inline; width: auto; height: auto; margin: 0 10px; background: none; color: rgba(255, 255, 255, .5); }
:root[data-app="watch"] .hero-meta .score { color: #f6c445; font-weight: 800; }
:root[data-app="watch"] .hero-text { color: rgba(255, 255, 255, .9); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; max-width: 52ch; }
:root[data-app="watch"] .hero .btn { height: 50px; padding: 0 28px; border-radius: 999px; font-weight: 700; }
:root[data-app="watch"] .hero .btn-play { background: #fff; color: #111; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); }
:root[data-app="watch"] .hero .btn-play svg { fill: #111; }
:root[data-app="watch"] .hero .btn-play:hover { background: #f1ece9; }
:root[data-app="watch"] .hero .btn-ghost {
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
/* Sayfalama: noktalar, seçili olan uzun hap; içinde kalan süre dolar */
:root[data-app="watch"] .hero-strip .thumb { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .5); transition: width .35s var(--ease), background .25s ease; }
:root[data-app="watch"] .hero-strip .thumb:hover { background: rgba(255, 255, 255, .8); }
:root[data-app="watch"] .hero-strip .thumb.on { width: 36px; background: rgba(255, 255, 255, .38); }
:root[data-app="watch"] .hero-strip .thumb:not(.on) i { opacity: 0; }

/* ---------- Raflar ---------- */
:root[data-app="watch"] .shelf-head h2 { font-family: var(--body); font-weight: 700; font-stretch: normal; font-size: clamp(19px, 1.5vw, 23px); letter-spacing: -.01em; }
:root[data-app="watch"] .shelf .shelf-head h2::before { display: none; }
:root[data-app="watch"] .arrow {
  width: 38px; height: 38px; border: 1px solid var(--g-line); background: var(--g-bg); color: var(--text);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background .2s ease, transform .2s ease;
}
:root[data-app="watch"] .arrow:hover:not(:disabled) { background: var(--g-bg-2); transform: scale(1.06); }
:root[data-app="watch"] :is(.card-img, .land-img, .rank .card-img) { border-radius: 16px; }
:root[data-app="watch"] .card:hover .card-img, :root[data-app="watch"] .card:focus-visible .card-img { box-shadow: 0 0 0 2px color-mix(in srgb, var(--peach) 80%, transparent), 0 24px 48px -24px rgba(0, 0, 0, .7); }

/* "İzlemeye devam" kartı: bilgiler görselin üstünde, kalan süre sağ üstte */
.wide-info, .wide-left { display: none; }
:root[data-app="watch"] .wide { gap: 0; }
:root[data-app="watch"] .wide-img { border-radius: 18px; }
:root[data-app="watch"] .wide > .card-title, :root[data-app="watch"] .wide > .card-meta { display: none; }
:root[data-app="watch"] .wide-info {
  display: grid; gap: 2px; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 46px 16px 15px; pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .45) 55%, transparent);
}
:root[data-app="watch"] .wide-info small { font-size: 12px; font-weight: 750; letter-spacing: .04em; color: rgba(255, 255, 255, .72); }
:root[data-app="watch"] .wide-info b { font-size: 16px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:root[data-app="watch"] .wide-left {
  display: block; position: absolute; top: 10px; right: 10px; z-index: 3; padding: 4px 10px; border-radius: 999px;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-weight: 700;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity .2s ease;
}
:root[data-app="watch"] .wide:hover .wide-left { opacity: 0; }
:root[data-app="watch"] .wide-img .bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: rgba(255, 255, 255, .18); }
:root[data-app="watch"] .wide-img .bar i { background: var(--peach); }
:root[data-app="watch"] .wide-play { left: auto; right: 12px; bottom: 16px; z-index: 3; background: rgba(255, 255, 255, .92); }
:root[data-app="watch"] .wide-play svg { fill: #111; }
:root[data-app="watch"] .wide-img .qa-forget { z-index: 4; }

/* ---------- Ayarlar: buzlu cam panel, gruplu satırlar ---------- */
html[data-app="watch"] .settings {
  background: var(--g-panel-strong); border: 1px solid var(--g-line); border-radius: 28px;
  -webkit-backdrop-filter: blur(30px) saturate(140%); backdrop-filter: blur(30px) saturate(140%);
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, .85);
}
html[data-app="watch"] .settings::backdrop { background: rgba(6, 4, 4, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html[data-app="watch"] .settings-head { border-bottom: 0; }
html[data-app="watch"] .set-sec { border-bottom: 0; gap: 0; padding: 10px 22px 16px; }
html[data-app="watch"] .set-sec h3 { font-size: 11px; letter-spacing: .16em; color: var(--faint); margin: 0 4px 10px; }
html[data-app="watch"] .set-sec > .set-row { padding: 14px 18px; border-radius: 0; background: var(--g-bg); }
html[data-app="watch"] .set-sec > .set-row:hover { background: var(--g-bg-2); }
html[data-app="watch"] .set-sec > .set-row + .set-row { border-top: 1px solid var(--g-line); }
html[data-app="watch"] .set-sec > h3 + .set-row { border-top-left-radius: 18px; border-top-right-radius: 18px; }
html[data-app="watch"] .set-sec > .set-row:not(:has(+ .set-row)) { border-bottom-left-radius: 18px; border-bottom-right-radius: 18px; }
html[data-app="watch"] .set-sec > :is(.set-note, .set-stats, .actions) { margin: 4px 4px 0; }
html[data-app="watch"] .switch:checked { background: var(--peach); border-color: var(--peach); box-shadow: 0 0 0 3px color-mix(in srgb, var(--peach) 22%, transparent); }
html[data-app="watch"] .seg button[aria-checked="true"] { background: var(--peach); color: var(--peach-ink); }
html[data-app="watch"] .settings .btn-play { background: var(--peach); color: var(--peach-ink); }

/* Arama penceresi de aynı cam yüzeyi kullanır */
html[data-app="watch"] .search {
  background: var(--g-panel-strong); border: 1px solid var(--g-line);
  -webkit-backdrop-filter: blur(30px) saturate(140%); backdrop-filter: blur(30px) saturate(140%);
}

@media (prefers-reduced-motion: reduce) {
  html[data-app="watch"] #side, html[data-app="watch"] #side * { transition: none !important; }
}

/* =====================================================================
   v14: ARAÇ KUTUSU — izleme bölümüyle aynı buzlu cam dili
   Sıcak, görselden renk alan zemin; cam üst şerit; cam kartlar, renkli ikon kareleri,
   üzerine gelince beliren ok; "İzle" kartında son vitrin görseli.
   ===================================================================== */
html[data-app="hub"] {
  --peach: #f4a67a; --peach-ink: #24130b;
  --g-bg: rgba(255, 255, 255, .055); --g-bg-2: rgba(255, 255, 255, .1); --g-line: rgba(255, 255, 255, .09);
  --g-panel: rgba(30, 21, 21, .5); --g-panel-strong: rgba(36, 25, 24, .82);
  --ambg: var(--page-amb, #5a2d27);
  transition: --ambg 1.6s ease;
}
html[data-app="hub"][data-theme="light"] {
  --peach: #e2814f; --peach-ink: #fff;
  --g-bg: rgba(40, 20, 15, .04); --g-bg-2: rgba(40, 20, 15, .08); --g-line: rgba(40, 20, 15, .09);
  --g-panel: rgba(255, 250, 247, .62); --g-panel-strong: rgba(255, 250, 247, .9);
}
html[data-app="hub"] body { background: var(--bg); }
html[data-app="hub"] .fx {
  display: block; z-index: -1;
  background:
    radial-gradient(110% 75% at 78% -8%, color-mix(in srgb, var(--ambg) 55%, transparent), transparent 62%),
    radial-gradient(80% 60% at -5% 105%, color-mix(in srgb, var(--ambg) 32%, transparent), transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 86%, var(--ambg)), var(--bg) 85%);
}
html[data-app="hub"] .fx-orb { display: none; }

/* Cam üst şerit */
html[data-app="hub"] .top { padding: 16px var(--gutter) 0; }
html[data-app="hub"] .top-inner {
  max-width: var(--max); padding: 8px 10px 8px 16px; border-radius: 22px;
  background: var(--g-panel); border: 1px solid var(--g-line);
  -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .8);
}
html[data-app="hub"] :is(.profile-chip, .icon-btn) { background: var(--g-bg); border: 1px solid var(--g-line); }
html[data-app="hub"] :is(.profile-chip, .icon-btn):hover { background: var(--g-bg-2); }

/* Başlık */
html[data-app="hub"] .hub { padding-top: 34px; }
html[data-app="hub"] .hub-hero .eyebrow { color: var(--peach); letter-spacing: .26em; }
html[data-app="hub"] .hub-hero p { color: var(--dim); }

/* Kartlar: buzlu cam panel, aracın renginde yumuşak ışık */
html[data-app="hub"] .hub-grid { gap: 16px; }
html[data-app="hub"] .hub-card {
  gap: 6px; padding: 22px 22px 22px; border: 1px solid var(--g-line); border-radius: 26px;
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--tool) 26%, transparent), transparent 60%),
    var(--g-panel);
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .85);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease, background-color .35s ease;
}
html[data-app="hub"] .hub-card:hover {
  transform: translateY(-5px); border-color: color-mix(in srgb, var(--tool) 55%, transparent);
  box-shadow: 0 34px 70px -36px color-mix(in srgb, var(--tool) 70%, rgba(0, 0, 0, .9));
}
html[data-app="hub"] .hub-card:focus-visible { outline: 2px solid var(--tool); outline-offset: 3px; }
/* Renkli ikon karesi (sol üst) ve ok (sağ üst) */
.hub-ico, .hub-go { display: none; }
html[data-app="hub"] .hub-ico {
  display: grid; place-items: center; position: absolute; left: 20px; top: 20px; z-index: 1;
  width: 46px; height: 46px; border-radius: 15px;
  background: color-mix(in srgb, var(--tool) 88%, #fff 12%); color: #1a1010;
  box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--tool) 85%, transparent);
  transition: transform .35s var(--ease);
}
html[data-app="hub"] .hub-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[data-app="hub"] .hub-card:hover .hub-ico { transform: rotate(-6deg) scale(1.06); }
html[data-app="hub"] .hub-go {
  display: grid; place-items: center; position: absolute; right: 18px; top: 18px; z-index: 1;
  width: 38px; height: 38px; border-radius: 50%; background: var(--g-bg-2); border: 1px solid var(--g-line); color: var(--text);
  opacity: 0; transform: translate(-6px, 6px); transition: opacity .25s ease, transform .35s var(--ease);
}
html[data-app="hub"] .hub-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
html[data-app="hub"] .hub-card:is(:hover, :focus-visible) .hub-go { opacity: 1; transform: none; }
html[data-app="hub"] .hub-n { color: var(--tool); }
/* Küçük kartlarda içerik ikonun altında başlar; numara yerine ikon aracı tanıtır */
html[data-app="hub"] .hub-card:not([data-tool="watch"]) { padding-top: 82px; }
html[data-app="hub"] .hub-card:not([data-tool="watch"]) .hub-n { display: none; }
html[data-app="hub"] .hub-card h2 { font-family: var(--body); font-weight: 750; font-stretch: normal; letter-spacing: -.02em; font-size: clamp(1.3rem, 1.7vw, 1.6rem); }
html[data-app="hub"] .hub-card p { color: color-mix(in srgb, var(--text) 72%, transparent); }

/* "İzle": son vitrin görseli, büyük başlık */
html[data-app="hub"] .hub-card[data-tool="watch"] { padding: 30px 28px; }
html[data-app="hub"] .hub-card[data-tool="watch"]::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--art, none) center 30% / cover no-repeat;
  opacity: .6; transition: opacity .5s ease, transform .8s var(--ease);
}
html[data-app="hub"] .hub-card[data-tool="watch"]::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 6, 6, .88) 0%, rgba(10, 6, 6, .35) 55%, rgba(10, 6, 6, .1) 100%);
}
html[data-app="hub"] .hub-card[data-tool="watch"] { isolation: isolate; }
html[data-app="hub"] .hub-card[data-tool="watch"]:hover::before { opacity: .75; transform: scale(1.04); }
html[data-app="hub"] .hub-card[data-tool="watch"] h2 { font-family: var(--display); font-weight: 850; font-stretch: 78%; font-size: clamp(3rem, 5.6vw, 4.6rem); color: #fff; }
html[data-app="hub"] .hub-card[data-tool="watch"] :is(p, .hub-kicker) { color: rgba(255, 255, 255, .82); }
html[data-app="hub"] .hub-card[data-tool="watch"] .hub-go { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .22); color: #fff; }

@media (max-width: 860px) {
  html[data-app="hub"] .hub-ico { width: 40px; height: 40px; border-radius: 13px; left: 16px; top: 16px; }
  html[data-app="hub"] .hub-card:not([data-tool="watch"]) { padding-top: 74px; }
  html[data-app="hub"] .hub-card[data-tool="watch"] { padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-app="hub"] .hub-card, html[data-app="hub"] .hub-card:hover { transform: none; }
  html[data-app="hub"] .hub-card[data-tool="watch"]::before { transition: none; transform: none; }
}
