/* =========================================================================
   Kadraj — tasarım sistemi
   Kimlik: bağımsız sinema fanzini. Kâğıt, mürekkep, risograf baskı, bilet koçanı.
   Yazı: Big Shoulders Display (afiş) · IBM Plex Sans (metin) · IBM Plex Mono (künye) · Caveat (el yazısı)
   Aralık: 4/8/12/16/24/32/48/64/96
   ========================================================================= */

:root {
  color-scheme: light;
  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --f-hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;

  /* Kâğıt ve mürekkep */
  --paper: #f2ece0;
  --paper-2: #e7dfcf;
  --card: #faf6ee;
  --ink: #1d1b17;
  --ink-2: #5a554c;
  --ink-3: #8a8273;
  --line: rgba(29, 27, 23, 0.14);
  --rule: rgba(29, 27, 23, 0.32);

  /* Baskı renkleri */
  --tomato: #e0452b;
  --tomato-text: #b8311b;
  --tomato-soft: rgba(224, 69, 43, 0.14);
  --mustard: #f2b928;
  --cobalt: #2f67b1;
  --star: #e09400;
  --danger: #c22b16;
  --offset: var(--ink);
  --tape: rgba(236, 222, 186, 0.78);

  /* Liste durumları — renk körlüğü doğrulamasından geçti */
  --st-watching: #1f9e48;
  --st-completed: #0a7cf0;
  --st-onhold: #d97b00;
  --st-plan: #5856d6;
  --st-dropped: #e5352b;

  --soft-shadow: 0 1px 1px rgba(40, 28, 12, 0.06), 0 10px 24px rgba(40, 28, 12, 0.1);

  --maxw: 1320px;
  --gutter: 40px;
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  --nav-h: 64px;
  --tabbar-h: 0px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .12  0 0 0 0 .09  0 0 0 0 .05  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --paper-noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .3  0 0 0 0 .22  0 0 0 0 .12  0 0 0 .13 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --squiggle: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'><path d='M2 6.5C14 2 22 9 34 5s20-3 30 1 22 2 32-2 14 0 22 2' fill='none' stroke='%23e0452b' stroke-width='3' stroke-linecap='round'/></svg>");
}

/* Gece modu: projeksiyon odası */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #17150f;
  --paper-2: #24211a;
  --card: #1e1b15;
  --ink: #f0e8d8;
  --ink-2: #b4ab99;
  --ink-3: #7f7767;
  --line: rgba(240, 232, 216, 0.13);
  --rule: rgba(240, 232, 216, 0.3);
  --tomato: #ff5c3e;
  --tomato-text: #ff8064;
  --tomato-soft: rgba(255, 92, 62, 0.16);
  --star: #ffb42a;
  --danger: #ff6a55;
  --offset: #000;
  --tape: rgba(200, 186, 150, 0.55);
  --st-watching: #28ad4c;
  --st-completed: #2b8fff;
  --st-onhold: #c87400;
  --st-plan: #6c6af0;
  --st-dropped: #ff453a;
  --soft-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 12px 28px rgba(0, 0, 0, 0.35);
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    color-scheme: dark;
    --paper: #17150f;
    --paper-2: #24211a;
    --card: #1e1b15;
    --ink: #f0e8d8;
    --ink-2: #b4ab99;
    --ink-3: #7f7767;
    --line: rgba(240, 232, 216, 0.13);
    --rule: rgba(240, 232, 216, 0.3);
    --tomato: #ff5c3e;
    --tomato-text: #ff8064;
    --tomato-soft: rgba(255, 92, 62, 0.16);
    --star: #ffb42a;
    --danger: #ff6a55;
    --offset: #000;
    --tape: rgba(200, 186, 150, 0.55);
    --st-watching: #28ad4c;
    --st-completed: #2b8fff;
    --st-onhold: #c87400;
    --st-plan: #6c6af0;
    --st-dropped: #ff453a;
    --soft-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 12px 28px rgba(0, 0, 0, 0.35);
  }
}

/* ------------------------------------------------------------------ Temel */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; background: var(--paper); }
body {
  margin: 0; font-family: var(--f-body); font-size: 15px; line-height: 1.5; color: var(--ink);
  background: var(--paper) var(--paper-noise); background-size: 220px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
:root[data-theme="dark"] body { background-image: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
button:disabled { cursor: default; }
svg { display: block; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
p { margin: 0; }
::selection { background: var(--mustard); color: #1d1b17; }
:focus-visible { outline: 2.5px solid var(--tomato); outline-offset: 3px; border-radius: 6px; }
/* Yatay kaydırılan şeritlerde odak çerçevesi kapsayıcının kenarında kesilmesin: öğenin içine çizilir */
:is(.tabs, .chips, .season-pills, .folder-tabs, .legal-nav, .side-tabs) :focus-visible { outline-offset: -3px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 500; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: var(--paper); font-weight: 600; transform: translateY(-160%); transition: transform 0.2s; }
.skip-link:focus { transform: none; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }
.doodle { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.doodle .fill-tomato { fill: var(--tomato); stroke: none; }
.doodle .stroke-tomato { stroke: var(--tomato); }

.mono { font-family: var(--f-mono); }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-2); }
.container { width: 100%; padding-inline: var(--edge); }

/* ------------------------------------------------------------------ Tipografi */

.page-title { font-family: var(--f-display); font-weight: 900; font-size: clamp(56px, 7vw, 96px); line-height: 0.86; text-transform: uppercase; letter-spacing: 0.005em; }
.page-sub { margin-top: 14px; max-width: 560px; font-size: 16px; color: var(--ink-2); }
.section-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 3.2vw, 42px); line-height: 0.95; text-transform: uppercase; }
.block-title { font-family: var(--f-display); font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; margin-bottom: 16px; }
.meta { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.hand { font-family: var(--f-hand); font-weight: 700; color: var(--tomato-text); line-height: 1; }

/* El yazısı not + ok */
.note { display: inline-flex; align-items: flex-end; gap: 4px; font-size: 25px; transform: rotate(-4deg); white-space: nowrap; }
.note .doodle-arrow { width: 46px; height: 30px; stroke: var(--tomato); stroke-width: 2.4; }

.link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.link .icon { width: 14px; height: 14px; stroke-width: 2.4; transition: transform 0.25s var(--ease); }
.link:hover { color: var(--tomato-text); border-color: var(--tomato); }
.link:hover .icon { transform: translateX(3px); }

kbd { font-family: var(--f-mono); font-size: 11px; font-weight: 600; line-height: 1; color: var(--ink-2); border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 4px; padding: 2px 5px; }

/* ------------------------------------------------------------------ Düğmeler */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 10px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  border: 1.5px solid var(--ink);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background-color 0.2s, color 0.2s;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.btn:disabled { opacity: 0.45; }
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--tomato); }
.btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--tomato); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--tomato); }
.btn-secondary { background: var(--card); color: var(--ink); box-shadow: 3px 3px 0 var(--offset); }
.btn-secondary:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--offset); }
.btn-secondary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--offset); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn-sm .icon { width: 15px; height: 15px; }
.btn-sm.btn-secondary { box-shadow: 2px 2px 0 var(--offset); }
.btn.status-btn { margin-left: 0; height: 46px; padding: 0 18px; font-size: 15px; font-weight: 600; border-radius: 10px; }
.btn.status-btn:hover { background: var(--card); }
.btn-text { padding: 2px 0; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.btn-text:hover { color: var(--tomato-text); }
.btn-text.is-danger { color: var(--danger); }

.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; color: var(--ink); transition: background-color 0.2s, transform 0.15s var(--ease); }
.icon-btn:hover:not(:disabled) { background: var(--paper-2); }
.icon-btn:active:not(:disabled) { transform: scale(0.92); }
.icon-btn:disabled { opacity: 0.3; }
.icon-btn.sm { width: 32px; height: 32px; }
.icon-btn.sm .icon { width: 16px; height: 16px; }
.icon-btn.ring { border: 1.5px solid var(--ink); background: var(--card); }
.icon-btn.ring:hover:not(:disabled) { background: var(--ink); color: var(--paper); }

.seg { display: inline-flex; padding: 3px; gap: 2px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--card); }
.seg-item { height: 32px; padding: 0 15px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.seg-item .icon { width: 16px; height: 16px; }
.seg-item:hover { background: var(--paper-2); }
.seg-item[aria-pressed="true"], .seg-item[aria-current="page"] { background: var(--ink); color: var(--paper); }

.chip { height: 34px; padding: 0 15px; border-radius: 999px; flex: none; display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 500; white-space: nowrap; border: 1.5px solid var(--rule); transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.chip:hover:not([aria-pressed="true"]) { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 600; }

.select { position: relative; display: inline-flex; align-items: center; }
.select select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 34px 0 14px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: box-shadow 0.15s, transform 0.15s; }
.select select:hover, .select select[aria-expanded="true"] { box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
.select select:disabled { opacity: 0.5; cursor: default; box-shadow: none; transform: none; }
.select .icon { position: absolute; right: 11px; width: 15px; height: 15px; pointer-events: none; stroke-width: 2.2; transition: transform 0.2s var(--ease), translate 0.15s; }
.select:has(select:hover) > .icon, .select:has(select[aria-expanded="true"]) > .icon { translate: -1px -1px; }
.select:has(select[aria-expanded="true"]) > .icon:not(.select-lead) { transform: rotate(180deg); }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--dot, var(--ink-3)); box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.12); }
.st-watching { --dot: var(--st-watching); }
.st-completed { --dot: var(--st-completed); }
.st-onhold { --dot: var(--st-onhold); }
.st-plan { --dot: var(--st-plan); }
.st-dropped { --dot: var(--st-dropped); }

.progress { height: 8px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--card); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--tomato) repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.18) 0 4px, transparent 4px 8px); border-right: 1.5px solid var(--ink); transition: width 0.5s var(--ease); }
.progress > span[style*="width:0"] { border-right: 0; }

/* Çıkartma */
.sticker {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px 0 7px;
  background: #fffdf8; color: #1d1b17; border: 1.5px solid #1d1b17; border-radius: 6px;
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 1px 2px 0 rgba(0, 0, 0, 0.18); transform: rotate(-4deg);
}
.sticker.is-soon { background: var(--mustard); }
.sticker.is-new { background: var(--mustard); transform: rotate(3deg); }

/* Mühür */
.stamp { display: inline-block; padding: 3px 10px; border: 2.5px solid var(--tomato); border-radius: 6px; color: var(--tomato-text); font-family: var(--f-display); font-weight: 900; font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; transform: rotate(-3deg); }

/* Bant */
.tape { position: absolute; z-index: 6; width: 92px; height: 28px; background: var(--tape); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); clip-path: polygon(3% 8%, 9% 0, 17% 10%, 26% 2%, 36% 9%, 47% 1%, 58% 8%, 70% 0, 81% 9%, 90% 1%, 97% 9%, 100% 92%, 92% 100%, 82% 91%, 71% 99%, 60% 92%, 48% 100%, 37% 91%, 25% 99%, 14% 90%, 5% 99%, 0 90%); }
.tape.tl { top: -12px; left: -26px; transform: rotate(-38deg); }
.tape.tr { top: -12px; right: -26px; transform: rotate(38deg); }

/* ------------------------------------------------------------------ Gezinme */

.nav { position: sticky; top: 0; z-index: 60; height: var(--nav-h); background: var(--paper); border-bottom: 1.5px solid var(--ink); }
:root:not([data-theme="dark"]) .nav { background: var(--paper) var(--paper-noise); background-size: 220px; }
.nav-inner { display: flex; align-items: center; gap: 40px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 9px; border-radius: 8px; }
.brand .logo { width: 30px; height: 30px; transition: transform 0.6s var(--ease); }
.brand:hover .logo { transform: rotate(144deg); }
.wordmark { font-family: var(--f-display); font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: 0.01em; text-transform: lowercase; }
.nav-links { display: flex; gap: 6px; }
.nav-link { position: relative; padding: 8px 10px; font-size: 15px; font-weight: 600; color: var(--ink-2); transition: color 0.2s; }
.nav-link:hover { color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: -1px; height: 9px; background: var(--squiggle) center / 100% 100% no-repeat; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.search-trigger { width: 270px; height: 40px; padding: 0 8px 0 13px; border-radius: 10px; display: inline-flex; align-items: center; gap: 9px; border: 1.5px solid var(--ink); background: var(--card); color: var(--ink-3); font-size: 14px; transition: box-shadow 0.15s, transform 0.15s; }
.search-trigger:hover { box-shadow: 3px 3px 0 var(--offset); transform: translate(-1px, -1px); }
.search-trigger .icon { width: 17px; height: 17px; color: var(--ink); stroke-width: 2.2; }
.search-trigger span { flex: 1; text-align: left; }
.search-mobile { display: none; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--ink); background: var(--mustard); color: #1d1b17; font-family: var(--f-display); font-weight: 900; font-size: 18px; transition: transform 0.2s var(--spring); }
.avatar:hover { transform: rotate(-8deg) scale(1.05); }
.avatar[aria-expanded="true"] { box-shadow: 3px 3px 0 var(--offset); }
.tabbar { display: none; }

/* ------------------------------------------------------------------ Sayfa */

main { display: block; min-height: 70vh; padding-bottom: 112px; }
main:focus { outline: none; }
main.is-entering .page { animation: pageIn 0.45s var(--ease) backwards; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } }

.page-head { position: relative; padding: 56px 0 32px; }
.page-head .note { position: absolute; left: min(440px, 60%); top: 54px; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ Afiş: risograf baskı yer tutucusu */

.art {
  --pp: #f3ebdc; --pi: #1d1b17;
  position: relative; overflow: hidden; width: 100%; height: 100%;
  background: var(--pp); color: var(--pi); container-type: inline-size; isolation: isolate;
}
.art.is-dark { --pp: #222a3d; --pi: #f3ebdc; }
.art::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: var(--noise); background-size: 120px; opacity: 0.3; mix-blend-mode: multiply; }
.art.is-dark::after { opacity: 0.25; }
.art--photo { background: var(--paper-2); }
.art--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.art--photo::after { opacity: 0.16; }
.sh { position: absolute; display: block; }
.sh2 { mix-blend-mode: multiply; translate: 0.9cqw -0.6cqw; }
.is-dark .sh2 { mix-blend-mode: screen; }
.halftone { -webkit-mask: radial-gradient(circle, #000 52%, transparent 56%) 0 0 / 2.6cqw 2.6cqw; mask: radial-gradient(circle, #000 52%, transparent 56%) 0 0 / 2.6cqw 2.6cqw; }

/* v0 güneş ve ufuk */
.art--v0 .sh1 { width: 62%; aspect-ratio: 1; left: 19%; top: 14%; border-radius: 50%; background: var(--a); }
.art--v0 .sh2 { left: 0; right: 0; top: 46%; height: 20%; background: var(--b); }
/* v1 şeritler */
.art--v1 .sh1 { left: 10%; right: 10%; top: 9%; height: 52%; background: repeating-linear-gradient(90deg, var(--a) 0 6cqw, transparent 6cqw 10.5cqw); }
.art--v1 .sh2 { width: 48%; aspect-ratio: 1; left: 34%; top: 24%; border-radius: 50%; background: var(--b); }
/* v2 dağlar */
.art--v2 .sh1 { left: 0; right: 0; top: 24%; height: 44%; background: var(--a); clip-path: polygon(0 100%, 0 62%, 24% 18%, 44% 58%, 66% 4%, 100% 66%, 100% 100%); }
.art--v2 .sh2 { width: 24%; aspect-ratio: 1; right: 14%; top: 9%; border-radius: 50%; background: var(--b); }
/* v3 kesik */
.art--v3 .sh1 { inset: 0 0 auto 0; height: 68%; background: var(--a); clip-path: polygon(0 0, 100% 0, 100% 40%, 0 96%); }
.art--v3 .sh2 { width: 40%; aspect-ratio: 1; left: 44%; top: 26%; border-radius: 50%; background: var(--b); }
/* v4 halkalar */
.art--v4 .sh1 { width: 96%; aspect-ratio: 1; left: -16%; top: -12%; border-radius: 50%; background: repeating-radial-gradient(circle, var(--a) 0 2.6cqw, transparent 2.6cqw 5.4cqw); }
.art--v4 .sh2 { width: 26%; aspect-ratio: 1; left: 22%; top: 20%; border-radius: 50%; background: var(--b); }

.art-top { position: absolute; z-index: 3; top: 5.5cqw; left: 6cqw; right: 6cqw; font-family: var(--f-mono); font-size: 3.7cqw; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art-title { position: absolute; z-index: 3; left: 6cqw; right: 6cqw; bottom: 11.5cqw; font-family: var(--f-display); font-weight: 900; font-size: 15.5cqw; line-height: 0.86; text-transform: uppercase; text-wrap: balance; }
.art-foot { position: absolute; z-index: 3; left: 6cqw; right: 6cqw; bottom: 4.5cqw; display: flex; justify-content: space-between; gap: 3cqw; font-family: var(--f-mono); font-size: 3.3cqw; font-weight: 500; text-transform: uppercase; opacity: 0.8; white-space: nowrap; }
.art-foot span:first-child { overflow: hidden; text-overflow: ellipsis; }

/* ------------------------------------------------------------------ Haftanın seçimi (vitrin) */

.feature { padding-top: 32px; }
.feature-stage { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.feature-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; gap: 56px;
  min-height: 540px; padding: 56px 64px; border: 1.5px solid var(--ink); border-radius: 18px;
  background: color-mix(in srgb, var(--a) 17%, var(--card)); overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 420px; height: 420px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--a) 55%, transparent) 30%, transparent 32%) 0 0 / 14px 14px;
  -webkit-mask: radial-gradient(circle, #000 20%, transparent 70%); mask: radial-gradient(circle, #000 20%, transparent 70%); opacity: 0.6;
}
.feature-label { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.feature-label .hand { font-size: 26px; transform: rotate(-3deg); }
.feature-title { margin: 22px 0 18px; font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 8vw, 128px); line-height: 0.82; text-transform: uppercase; text-wrap: balance; }
.feature-title.is-long { font-size: clamp(48px, 5.2vw, 84px); line-height: 0.88; }
.feature-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.feature-meta .score { color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.feature-meta .icon { width: 13px; height: 13px; color: var(--star); }
.feature-desc { max-width: 520px; margin: 18px 0 30px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.feature-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.feature-poster { position: relative; justify-self: center; width: min(310px, 100%); aspect-ratio: 2 / 3; transform: rotate(3deg); transition: transform 0.5s var(--spring); }
.feature-poster:hover { transform: rotate(0deg) scale(1.02); }
.feature-poster .art { border-radius: 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 24px 50px rgba(40, 28, 12, 0.3); }
.feature-poster .note { position: absolute; left: -128px; bottom: 30px; z-index: 7; flex-direction: row-reverse; transform: rotate(-6deg); }
.feature-poster .note .doodle-arrow { transform: scaleX(-1) rotate(-20deg); }

.feature-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.feature-dots { display: flex; gap: 6px; }
.hero-dot { display: flex; flex-direction: column; gap: 6px; padding: 6px 8px; border-radius: 8px; font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; color: var(--ink-3); transition: color 0.2s, background-color 0.2s; }
.hero-dot:hover { color: var(--ink); background: var(--paper-2); }
.hero-dot.is-active { color: var(--ink); }
.hero-dot-title { max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.hero-dot-bar { position: relative; display: block; height: 3px; border-radius: 3px; overflow: hidden; background: var(--line); }
.hero-dot-fill { position: absolute; inset: 0; background: var(--tomato); transform-origin: left; transform: scaleX(0); }
.hero-dot.is-active .hero-dot-fill { animation: heroFill 8s linear forwards; }
.feature:hover .hero-dot-fill, .feature:focus-within .hero-dot-fill { animation-play-state: paused; }
@keyframes heroFill { to { transform: scaleX(1); } }
.feature-arrows { display: flex; gap: 8px; }

/* ------------------------------------------------------------------ Raflar */

.shelf { margin-top: 72px; }
.shelf-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.shelf-head .note { position: absolute; left: calc(var(--edge) + var(--title-w, 300px)); bottom: 14px; }
.shelf-title-wrap { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.shelf-title-wrap .note { position: static; margin-bottom: 4px; }
.shelf-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.shelf-actions .link { margin-right: 10px; }
.shelf-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--card-w, 172px); gap: 26px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  padding: 14px var(--edge) 20px; margin-block: -14px -20px; scrollbar-width: none;
}
.shelf-track::-webkit-scrollbar { display: none; }
.shelf-track > * { scroll-snap-align: start; }
.shelf-track.is-tickets { --card-w: 420px; gap: 22px; }

/* Afiş kartı */
.card { position: relative; min-width: 0; }
.card-link { display: block; border-radius: 6px; }
.card-poster {
  position: relative; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14), 0 2px 0 rgba(0, 0, 0, 0.06);
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease);
}
@media (hover: hover) {
  .card:hover .card-poster { transform: translateY(-6px) rotate(-1.4deg); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 18px 32px rgba(40, 28, 12, 0.22); }
  .card:nth-child(even):hover .card-poster, .t10:nth-child(even) .card:hover .card-poster { transform: translateY(-6px) rotate(1.4deg); }
}
.card .sticker { position: absolute; z-index: 4; top: -8px; left: -8px; }
.card-title { margin-top: 12px; font-size: 14.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { margin-top: 4px; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; }
.card-meta .score { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); font-weight: 600; }
.card-meta .icon { width: 12px; height: 12px; color: var(--star); }
.card-meta .soon { color: var(--tomato-text); font-weight: 600; }
.card-quick {
  position: absolute; z-index: 5; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: #fffdf8; color: #1d1b17; border: 1.5px solid #1d1b17;
  opacity: 0; transform: scale(0.8) rotate(-30deg);
  transition: opacity 0.2s, transform 0.3s var(--spring), background-color 0.2s, color 0.2s;
}
.card-quick .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.card:hover .card-quick, .card:focus-within .card-quick, .card-quick[aria-expanded="true"] { opacity: 1; transform: none; }
@media (hover: hover) { .card:hover .card-quick { transform: translateY(-6px); } }
.card-quick:hover { background: var(--tomato); color: #fff; border-color: var(--tomato); }
.card-quick.is-in { background: #1d1b17; color: #fffdf8; }
@media (hover: none) { .card-quick { opacity: 1; transform: none; } }

/* Bilet (izlemeye devam et) */
.ticket { filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.12)) drop-shadow(0 10px 18px rgba(40, 28, 12, 0.12)); transition: transform 0.35s var(--spring); }
.ticket:hover { transform: translateY(-4px) rotate(-0.6deg); }
.ticket-inner {
  --stub: 104px;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--stub); border-radius: 12px;
  background: color-mix(in srgb, var(--a) 22%, var(--card));
  -webkit-mask: radial-gradient(circle 11px at calc(100% - var(--stub)) 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at calc(100% - var(--stub)) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 11px at calc(100% - var(--stub)) 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at calc(100% - var(--stub)) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
}
.ticket-main { display: flex; gap: 16px; min-width: 0; padding: 16px; border-radius: 12px 0 0 12px; }
.ticket-poster { width: 80px; aspect-ratio: 2 / 3; flex: none; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); }
.ticket-body { min-width: 0; display: flex; flex-direction: column; }
.ticket-kicker { font-size: 10.5px; }
.ticket-title { margin-top: 4px; font-family: var(--f-display); font-weight: 900; font-size: 28px; line-height: 0.9; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ticket-row { display: flex; gap: 14px; margin-top: auto; padding-top: 10px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); text-transform: uppercase; }
.ticket-row b { display: block; font-family: var(--f-display); font-size: 24px; font-weight: 900; line-height: 1; color: var(--ink); }
.punch { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 10px; }
.punch i { width: 9px; height: 9px; border: 1.5px solid var(--ink); border-radius: 2px; }
.punch i.on { background: var(--ink); }
.punch i.next { border-color: var(--tomato); background: var(--tomato-soft); }
.ticket-stub { display: grid; place-items: center; border-left: 2px dashed var(--rule); }
.stub-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; height: 100%; justify-content: center; border-radius: 0 12px 12px 0; transition: background-color 0.2s; }
.stub-btn:hover { background: color-mix(in srgb, var(--tomato) 14%, transparent); }
.stub-btn b { font-family: var(--f-display); font-weight: 900; font-size: 34px; line-height: 0.9; color: var(--tomato-text); }
.stub-btn span { font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.stub-btn:disabled b { color: var(--ink-3); }

/* Haftanın listesi (Top 10 tablosu) */
.chart { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: 48px; }
.chart-row { position: relative; display: grid; grid-template-columns: 56px 54px 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1.5px dotted var(--rule); }
.chart-rank { font-family: var(--f-display); font-weight: 900; font-size: 50px; line-height: 0.85; text-align: right; }
.chart-row:first-child .chart-rank { color: var(--tomato); }
.chart-move { display: inline-flex; align-items: center; gap: 2px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; }
.chart-move .icon { width: 10px; height: 10px; }
.chart-move.up { color: var(--st-watching); }
.chart-move.down { color: var(--danger); }
.chart-move.same { color: var(--ink-3); }
.chart-move .sticker { height: 20px; font-size: 9.5px; padding: 0 5px; }
.chart-thumb { width: 48px; aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14); transition: transform 0.3s var(--spring); }
.chart-row:hover .chart-thumb { transform: rotate(-4deg) scale(1.06); }
.chart-text { min-width: 0; }
.chart-title { display: block; font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.chart-sub { margin-top: 2px; }

/* Yayın takvimi */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1.5px solid var(--ink); border-radius: 14px; background: var(--card); overflow: hidden; }
.day { position: relative; min-height: 220px; padding: 14px 12px 16px; border-left: 1.5px solid var(--ink); }
.day:first-child { border-left: 0; }
.day.is-today { background: color-mix(in srgb, var(--mustard) 26%, var(--card)); }
.day-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1.5px dotted var(--rule); }
.day-name { font-family: var(--f-display); font-weight: 900; font-size: 24px; line-height: 1; text-transform: uppercase; }
.day-head .hand { font-size: 22px; transform: rotate(-6deg); }
.day-item { display: block; margin-bottom: 14px; }
.day-thumb { width: 100%; aspect-ratio: 3 / 2; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14); transition: transform 0.3s var(--spring); }
.day-item:hover .day-thumb { transform: rotate(-2deg); }
.day-thumb .art-title, .day-thumb .art-top, .day-thumb .art-foot { display: none; }
.day-title { margin-top: 8px; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.day-sub { margin-top: 2px; font-size: 10.5px; }
.day-empty { font-family: var(--f-hand); font-size: 20px; color: var(--ink-3); transform: rotate(-3deg); margin-top: 8px; }

/* Etiket makinesi türleri */
.dymo-wall { display: flex; flex-wrap: wrap; gap: 14px 12px; }
.dymo {
  --c: #1d1b17; display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px;
  background: color-mix(in srgb, var(--c) 86%, #000); color: #fffdf8; border-radius: 4px;
  font-family: var(--f-mono); font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -2px 0 rgba(0, 0, 0, 0.3), 0 2px 3px rgba(0, 0, 0, 0.22);
  transform: rotate(var(--r, 0deg)); transition: transform 0.3s var(--spring);
}
.dymo:hover { transform: rotate(0deg) translateY(-3px) scale(1.04); }
.dymo small { font-size: 11px; opacity: 0.7; letter-spacing: 0.06em; }
.dymo.sm { height: 30px; padding: 0 11px; font-size: 11.5px; letter-spacing: 0.12em; }

/* ------------------------------------------------------------------ Göz At */

.filters { position: sticky; top: var(--nav-h); z-index: 20; margin-inline: calc(-1 * var(--edge)); padding: 14px var(--edge); background: var(--paper); border-bottom: 1.5px solid transparent; transition: border-color 0.2s; }
:root:not([data-theme="dark"]) .filters { background: var(--paper) var(--paper-noise); background-size: 220px; }
.filters.is-stuck { border-bottom-color: var(--ink); }
.filters-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filters-row .spacer { flex: 1; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 14px; padding: 3px; margin-inline: -3px; -webkit-mask: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.chips::-webkit-scrollbar { display: none; }
.results-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0 22px; }
.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 40px 26px; }
.poster-grid.is-compact { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 32px 18px; }

/* ------------------------------------------------------------------ Sıralama */

.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 36px; }
.podium-item { position: relative; }
.podium-card {
  position: relative; display: flex; gap: 18px; padding: 18px; border: 1.5px solid var(--ink); border-radius: 14px;
  background: color-mix(in srgb, var(--medal) 30%, var(--card)); box-shadow: 4px 4px 0 var(--offset);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.podium-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--offset); }
.podium-poster { width: 112px; aspect-ratio: 2 / 3; flex: none; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16); transform: rotate(-2deg); }
.podium-body { min-width: 0; display: flex; flex-direction: column; }
.rosette { position: relative; width: 52px; height: 62px; margin: -4px 0 6px -4px; }
.rosette-svg { width: 100%; height: 100%; }
.rosette b { position: absolute; left: 0; right: 0; top: 13px; text-align: center; font-family: var(--f-display); font-weight: 900; font-size: 24px; line-height: 1; color: #1d1b17; }
.podium-title { font-family: var(--f-display); font-weight: 900; font-size: 30px; line-height: 0.9; text-transform: uppercase; }
.podium-score { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; gap: 8px; }
.podium-score strong { font-family: var(--f-display); font-weight: 900; font-size: 32px; line-height: 1; }
.podium-score .icon { width: 14px; height: 14px; color: var(--star); align-self: center; }
.podium-item .card-quick { top: 12px; right: 12px; }
.podium-item:hover .card-quick, .podium-item:focus-within .card-quick { opacity: 1; transform: none; }

.rank-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.rank-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 130px 170px; align-items: center; gap: 20px; padding: 14px 4px; border-bottom: 1.5px dotted var(--rule); transition: background-color 0.15s; }
.rank-row:hover { background: color-mix(in srgb, var(--mustard) 12%, transparent); }
.rank-num { font-family: var(--f-display); font-weight: 900; font-size: 46px; line-height: 0.9; text-align: center; color: var(--ink-3); }
.rank-main { display: flex; align-items: center; gap: 18px; min-width: 0; border-radius: 6px; }
.rank-thumb { width: 52px; aspect-ratio: 2 / 3; flex: none; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14); transition: transform 0.3s var(--spring); }
.rank-row:hover .rank-thumb { transform: rotate(-4deg); }
.rank-text { min-width: 0; }
.rank-title { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-sub { margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-score { text-align: right; }
.rank-score strong { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-display); font-size: 28px; font-weight: 900; line-height: 1; }
.rank-score strong .icon { width: 14px; height: 14px; color: var(--star); }
.rank-score small { display: block; margin-top: 2px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; }
.rank-action { display: flex; justify-content: flex-end; }

/* ------------------------------------------------------------------ Listem */

.panel { background: var(--card); border: 1.5px solid var(--ink); border-radius: 12px; padding: 24px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-title { font-family: var(--f-display); font-weight: 900; font-size: 24px; line-height: 1; text-transform: uppercase; }

.stats-card { position: relative; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stats > div + div { border-left: 1.5px dotted var(--rule); padding-left: 24px; }
.stat-value { font-family: var(--f-display); font-weight: 900; font-size: 64px; line-height: 0.85; font-variant-numeric: tabular-nums; }
.stat-value small { font-family: var(--f-mono); font-size: 13px; font-weight: 600; color: var(--ink-2); margin-left: 4px; text-transform: uppercase; }
.stat-label { margin-top: 8px; }
.stats-card .note { position: absolute; right: 28px; top: -18px; }

.stack { margin-top: 28px; }
.stack-bar { display: flex; gap: 2px; height: 16px; padding: 2px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--card); }
.stack-seg { min-width: 4px; height: 100%; border-radius: 2px; background: var(--dot); cursor: default; transition: opacity 0.2s; }
.stack-seg:first-child { border-radius: 999px 2px 2px 999px; }
.stack-seg:last-child { border-radius: 2px 999px 999px 2px; }
.stack-seg:only-child { border-radius: 999px; }
.stack-bar:hover .stack-seg:not(:hover) { opacity: 0.35; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-item b { color: var(--ink); font-weight: 700; font-family: var(--f-mono); }

/* Klasör sekmeleri */
.folder-tabs { display: flex; gap: 4px; margin-top: 36px; padding: 8px 14px 0; overflow-x: auto; scrollbar-width: none; }
.folder-tabs::-webkit-scrollbar { display: none; }
.folder-tab {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
  margin-bottom: -1.5px; border: 1.5px solid var(--ink); border-bottom: 0; border-radius: 10px 10px 0 0;
  background: var(--paper-2); font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color 0.2s, transform 0.2s var(--ease);
}
.folder-tab:hover { color: var(--ink); transform: translateY(-2px); }
.folder-tab[aria-current="page"] { z-index: 2; background: var(--card); color: var(--ink); transform: none; }
.folder-tab .count { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.folder-body { position: relative; z-index: 1; border: 1.5px solid var(--ink); border-radius: 0 12px 12px 12px; background: var(--card); padding: 6px 22px 12px; }

.list-toolbar { display: flex; align-items: center; gap: 12px; padding: 14px 0 16px; flex-wrap: wrap; border-bottom: 1.5px solid var(--ink); }
.list-toolbar .spacer { flex: 1; }
.search-input { position: relative; flex: 1 1 220px; max-width: 340px; }
.search-input > .icon { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; stroke-width: 2.2; pointer-events: none; }
.search-input input { width: 100%; height: 40px; padding: 0 38px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; }
.search-input input::placeholder { color: var(--ink-3); }
.search-input input::-webkit-search-cancel-button { display: none; }
.search-input .icon-btn { position: absolute; right: 4px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; }
.search-input .icon-btn .icon { width: 14px; height: 14px; }

.lhead, .lrow { display: grid; grid-template-columns: minmax(0, 1fr) 104px 220px 164px 36px; align-items: center; gap: 16px; }
.lhead { padding: 12px 6px; border-bottom: 1.5px dotted var(--rule); }
.lrow-ctrls { display: contents; }
.lrow { padding: 12px 6px; border-bottom: 1.5px dotted var(--rule); transition: background-color 0.15s; }
.lrow:last-child { border-bottom: 0; }
.lrow:hover { background: color-mix(in srgb, var(--mustard) 10%, transparent); }
.lrow-title { display: flex; align-items: center; gap: 16px; min-width: 0; border-radius: 6px; }
.lrow-thumb { width: 44px; aspect-ratio: 2 / 3; flex: none; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14); }
.lrow-text { min-width: 0; }
.lrow-name { font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow-sub { margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.score-btn, .status-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; margin-left: -10px; border-radius: 8px; font-size: 14px; font-weight: 700; white-space: nowrap; transition: background-color 0.15s; }
.score-btn:hover, .status-btn:hover, .score-btn[aria-expanded="true"], .status-btn[aria-expanded="true"] { background: var(--paper-2); }
.score-btn { font-family: var(--f-display); font-size: 22px; font-weight: 900; }
.score-btn .icon { width: 14px; height: 14px; color: var(--star); }
.score-btn .placeholder { font-family: var(--f-hand); font-size: 20px; font-weight: 700; color: var(--ink-3); }
.status-btn { font-size: 13.5px; font-weight: 600; }
.status-btn > .icon { width: 14px; height: 14px; color: var(--ink-3); stroke-width: 2.2; }

.prog-cell { display: flex; align-items: center; gap: 10px; }
.prog { flex: 1; min-width: 0; }
.prog-top { margin-bottom: 6px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); }
.prog-top b { color: var(--ink); font-weight: 700; }
.prog-cell .icon-btn { opacity: 0; }
.lrow:hover .prog-cell .icon-btn, .prog-cell .icon-btn:focus-visible { opacity: 1; }
.prog-cell .icon-btn:disabled { opacity: 0 !important; }
@media (hover: none) { .prog-cell .icon-btn { opacity: 1; } }

.watched-toggle { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; margin-left: -10px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.watched-toggle:hover { background: var(--paper-2); }
.watched-toggle .tick { position: relative; width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 5px; background: var(--card); }
.watched-toggle .tick .doodle-check { position: absolute; inset: -4px -6px -2px -2px; width: 28px; height: 28px; stroke: var(--tomato); stroke-width: 3; opacity: 0; transform: scale(0.6); transition: opacity 0.15s, transform 0.3s var(--spring); }
.watched-toggle[aria-pressed="true"] { color: var(--ink); }
.watched-toggle[aria-pressed="true"] .tick .doodle-check { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ Yapım detayı */

.back-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; padding: 6px 0; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.back-btn .icon { width: 16px; height: 16px; stroke-width: 2.4; transition: transform 0.2s var(--ease); }
.back-btn:hover .icon { transform: translateX(-3px); }

.dhead { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 64px; align-items: start; padding: 32px 0 8px; }
.dhead-poster { position: relative; aspect-ratio: 2 / 3; transform: rotate(-2.5deg); margin-top: 8px; }
.dhead-poster::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: 6px; background: color-mix(in srgb, var(--a) 55%, transparent); transform: rotate(5deg); z-index: -1; }
.dhead-poster .art { border-radius: 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16), 0 24px 46px rgba(40, 28, 12, 0.28); }
main.is-entering .dhead-poster { animation: dropIn 0.7s var(--spring) backwards; }
@keyframes dropIn { from { opacity: 0; transform: rotate(-12deg) translateY(-24px); } }
.dhead-info { min-width: 0; padding-top: 8px; }
.dtitle { margin-top: 14px; font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 7.4vw, 120px); line-height: 0.84; text-transform: uppercase; text-wrap: balance; }
.dtitle.is-long { font-size: clamp(48px, 5.4vw, 84px); line-height: 0.88; }
.dorig { margin-top: 10px; font-size: 18px; font-style: italic; color: var(--ink-2); }
.genre-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.dstats { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0; margin: 34px 0 0; padding: 0; }
.dstats > div { padding: 0 28px; border-left: 1.5px dotted var(--rule); }
.dstats > div:first-child { padding-left: 0; border-left: 0; }
.dstats dt { margin-bottom: 6px; }
.dstats dd { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: 40px; line-height: 0.9; }
.score-big { position: relative; display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 18px 4px 14px; }
.score-big .doodle-circle { position: absolute; inset: -8px -10px -10px -8px; width: calc(100% + 18px); height: calc(100% + 18px); stroke: var(--tomato); stroke-width: 3; }
.score-num { font-family: var(--f-display); font-weight: 900; font-size: 56px; line-height: 0.85; }
.score-of { font-family: var(--f-mono); font-size: 13px; color: var(--ink-2); }
.dstat-score dd { font-size: inherit; }
.votes { margin-top: 6px; }
.dactions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.dactions .status-btn.btn { margin-left: 0; height: 46px; padding: 0 18px; font-size: 15px; }

.detail-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; margin-top: 48px; }
.detail-main { min-width: 0; }
.detail-side { display: flex; flex-direction: column; gap: 22px; padding-top: 4px; }

.tabs { display: flex; gap: 16px; border-bottom: 1.5px solid var(--ink); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; padding: 10px 6px 14px; font-family: var(--f-display); font-weight: 800; font-size: 22px; line-height: 1; text-transform: uppercase; color: var(--ink-3); transition: color 0.2s; }
.tab:hover { color: var(--ink); }
.tab[aria-current="page"] { color: var(--ink); }
.tab[aria-current="page"]::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 2px; height: 9px; background: var(--squiggle) center / 100% 100% no-repeat; }
.block { margin-top: 40px; }
.synopsis { max-width: 62ch; font-size: 18px; line-height: 1.65; }
.synopsis::first-line { font-weight: 600; }

.cast { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px 18px; }
.person { display: flex; align-items: center; gap: 14px; min-width: 0; }
.person-avatar { position: relative; width: 56px; height: 56px; flex: none; border-radius: 50%; overflow: hidden; border: 1.5px solid var(--ink); display: grid; place-items: center; background: color-mix(in srgb, var(--pc) 35%, var(--card)); font-family: var(--f-display); font-weight: 900; font-size: 24px; }
.person-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.load-more { display: flex; justify-content: center; margin-top: 44px; }
.load-more .btn { min-width: 210px; justify-content: center; gap: 10px; }
.load-more .btn[aria-busy="true"] { cursor: progress; opacity: 1; }
.spinner { display: inline-block; width: 15px; height: 15px; flex: none; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ep.is-unaired .ep-title { color: var(--ink-3); }
.ep-check:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.person-name { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person-role { margin-top: 1px; font-family: var(--f-hand); font-size: 19px; font-weight: 600; color: var(--ink-2); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Dizin kartı (takip paneli) */
.index-card {
  position: relative; border: 1.5px solid var(--ink); border-radius: 6px; padding: 12px 22px 20px;
  background-color: #fbf8f0;
  background-image: linear-gradient(transparent 0 50px, rgba(224, 69, 43, 0.55) 50px 51.5px, transparent 51.5px), repeating-linear-gradient(transparent 0 29px, rgba(47, 103, 177, 0.16) 29px 30px);
  background-position: 0 0, 0 51px;
  color: #1d1b17; box-shadow: 4px 4px 0 var(--offset); transform: rotate(0.4deg);
  --ink: #1d1b17; --ink-2: #5a554c; --ink-3: #8a8273; --card: #fffdf8; --paper-2: #efe7d6; --rule: rgba(29, 27, 23, 0.32);
}
.index-card .panel-head { height: 38px; margin-bottom: 18px; }
.index-card .panel-title { font-family: var(--f-hand); font-weight: 700; font-size: 32px; text-transform: none; }
.index-card.is-new { animation: dealIn 0.6s var(--spring); }
.index-card.is-flat { transform: none; box-shadow: 3px 3px 0 var(--offset); }

/* Hızlı düzenleme penceresi (profildeki liste, afiş kartları) */
.modal.qe-modal { max-width: 520px; }
.qe-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.qe-thumb { width: 60px; aspect-ratio: 2 / 3; flex: none; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14); }
.qe-text { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.qe-wait { height: 320px; border-radius: 6px; background: var(--paper-2); animation: skPulse 1.4s ease-in-out infinite; }
@keyframes dealIn { from { opacity: 0; transform: rotate(-6deg) translateY(16px); } }
.done-stamp { position: absolute; right: 18px; top: 16px; transform: rotate(-12deg); background: rgba(255, 253, 248, 0.6); }
main.is-entering .done-stamp, .index-card.is-new .done-stamp { animation: stampIn 0.45s 0.15s var(--spring) backwards; }
@keyframes stampIn { from { opacity: 0; transform: rotate(-12deg) scale(1.8); } }
.field + .field { margin-top: 22px; }
.field-label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.field-label .score-actions { display: inline-flex; align-items: baseline; gap: 10px; }
.score-hint { font-family: var(--f-hand); font-size: 22px; font-weight: 700; color: var(--tomato-text); text-transform: none; letter-spacing: 0; line-height: 1; }
.score-hint.muted { color: var(--ink-3); }
.field-label .btn-text { font-size: 12px; font-family: var(--f-mono); }
.select-btn { width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--ink); background: var(--card); font-size: 15px; font-weight: 600; transition: box-shadow 0.15s, transform 0.15s; }
.select-btn:hover, .select-btn[aria-expanded="true"] { box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
.select-btn > .icon:last-child { margin-left: auto; width: 16px; height: 16px; stroke-width: 2.2; }
.score-row { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.score-row button { height: 40px; display: grid; place-items: center; padding: 0; line-height: 1; text-align: center; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--card); font-family: var(--f-display); font-weight: 900; font-size: 19px; transition: transform 0.2s var(--spring), background-color 0.15s, color 0.15s; }
.score-row button:hover { transform: translateY(-3px) rotate(-3deg); }
.score-row button:active { transform: scale(0.9); }
.score-row button.is-under { background: color-mix(in srgb, var(--mustard) 45%, var(--card)); }
.score-row button[aria-checked="true"] { background: var(--tomato); color: #fff; transform: rotate(-4deg) scale(1.08); box-shadow: 2px 2px 0 var(--ink); }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper .icon-btn { width: 46px; height: 46px; border: 1.5px solid var(--ink); background: var(--card); border-radius: 10px; }
.stepper .icon-btn:hover:not(:disabled) { background: var(--ink); color: #fffdf8; }
.stepper-val { flex: 1; text-align: center; font-family: var(--f-mono); font-size: 13px; color: var(--ink-2); }
.stepper-val b { font-family: var(--f-display); font-size: 44px; font-weight: 900; line-height: 0.9; color: var(--ink); margin-right: 3px; }
.index-card .progress { margin-top: 12px; }
.hint { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 12px; border-top: 1.5px dotted var(--rule); }

.info-panel .panel-title { margin-bottom: 16px; }
.info-list { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 11px 16px; font-size: 14px; }
.info-list dt { padding-top: 2px; }
.info-list dd { margin: 0; text-align: right; font-weight: 600; }

/* Bölümler */
.season-bar { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin: 26px 0 8px; }
.season-pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 3px; margin: -3px; }
.season-summary { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.ep-list { list-style: none; margin: 0; padding: 0; }
.ep { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px 6px; border-bottom: 1.5px dotted var(--rule); transition: background-color 0.15s; }
.ep:hover { background: color-mix(in srgb, var(--mustard) 10%, transparent); }
.ep-check { position: relative; width: 28px; height: 28px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--card); transition: transform 0.2s var(--spring); }
.ep-check:hover { transform: rotate(-6deg); }
.ep-check:active { transform: scale(0.85); }
.ep-check .doodle-check { position: absolute; inset: -6px -9px -3px -3px; width: 38px; height: 38px; stroke: var(--tomato); stroke-width: 3; opacity: 0; transform: scale(0.5); transition: opacity 0.15s, transform 0.35s var(--spring); }
.ep.is-watched .ep-check .doodle-check { opacity: 1; transform: none; }
.ep-title { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.ep.is-watched .ep-title { color: var(--ink-2); font-weight: 500; text-decoration: line-through; text-decoration-color: var(--rule); }
.ep-meta { margin-top: 2px; }
.ep-dur { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.ep .sticker { transform: rotate(-3deg); }

/* İstatistik */
.dist { display: grid; gap: 6px; max-width: 600px; }
.dist-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) 56px; align-items: center; gap: 14px; padding: 3px 8px; margin-inline: -8px; border-radius: 6px; cursor: default; }
.dist-row:hover, .dist-row:focus-visible { background: color-mix(in srgb, var(--mustard) 16%, transparent); }
.dist-row .n { font-family: var(--f-display); font-weight: 900; font-size: 24px; line-height: 1; text-align: right; }
.dist-track { height: 16px; }
.dist-track > span { display: block; height: 100%; min-width: 3px; border: 1.5px solid var(--ink); border-radius: 0 4px 4px 0; background: var(--tomato) repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.28) 0 3px, transparent 3px 7px); }
.dist-row .pct { text-align: right; font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); }
.chart-note { margin-top: 14px; }

.tooltip { position: fixed; z-index: 140; pointer-events: none; padding: 8px 11px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 12.5px; line-height: 1.4; white-space: nowrap; box-shadow: 3px 3px 0 var(--tomato); opacity: 0; transform: translateY(3px); transition: opacity 0.12s, transform 0.12s; }
.tooltip.is-on { opacity: 1; transform: none; }
.tooltip b { font-weight: 700; }
.tooltip .tt-row { display: flex; align-items: center; gap: 6px; }
.tooltip .tt-sub { font-family: var(--f-mono); font-size: 11.5px; opacity: 0.8; }

/* ------------------------------------------------------------------ Boş / hata / yükleniyor */

.empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 80px 24px; }
.empty.is-compact { padding: 40px 16px; }
.empty .doodle-art { width: 132px; height: 132px; margin-bottom: 10px; }
.empty.is-compact .doodle-art { width: 96px; height: 96px; }
.empty-title { font-family: var(--f-display); font-weight: 900; font-size: 44px; line-height: 0.92; text-transform: uppercase; }
.empty.is-compact .empty-title { font-size: 32px; }
.empty-text { max-width: 420px; margin-top: 12px; font-size: 15.5px; color: var(--ink-2); }
.empty-action { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }

.sk { background: var(--paper-2); border-radius: 8px; animation: skPulse 1.4s ease-in-out infinite; }
@keyframes skPulse { 50% { opacity: 0.5; } }
.sk-feature { height: 540px; border-radius: 18px; margin-top: 32px; }
.sk-title { height: 44px; width: 280px; }
.sk-sub { height: 16px; width: 340px; margin-top: 14px; }
.sk-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); grid-auto-rows: 0; overflow: hidden; gap: 0 26px; margin-top: 22px; }
.sk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 40px 26px; margin-top: 28px; }
.sk-poster { aspect-ratio: 2 / 3; border-radius: 6px; }
.sk-line { height: 12px; width: 80%; margin-top: 12px; }
.sk-line.short { width: 48%; margin-top: 8px; }
.sk-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1.5px dotted var(--rule); }
.sk-thumb { width: 48px; aspect-ratio: 2 / 3; border-radius: 4px; flex: none; }
.sk-dhead { display: grid; grid-template-columns: 300px 1fr; gap: 64px; margin-top: 56px; }

/* ------------------------------------------------------------------ Katmanlar */

.menu { position: fixed; z-index: 120; min-width: 232px; max-width: 300px; max-height: calc(100vh - 16px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 6px; background: var(--card); border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--offset); opacity: 0; transform: scale(0.96) rotate(-1deg); transition: opacity 0.12s, transform 0.2s var(--spring); }
.menu.is-open { opacity: 1; transform: none; }
.menu-item { width: 100%; height: 36px; padding: 0 10px 0 6px; border-radius: 7px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; text-align: left; white-space: nowrap; }
.menu-item:hover, .menu-item:focus { background: var(--paper-2); outline: none; }
.menu-item:focus-visible { box-shadow: inset 0 0 0 2px var(--tomato); }
.menu-check { width: 18px; display: grid; place-items: center; color: var(--tomato); flex: none; }
.menu-check .icon { width: 15px; height: 15px; stroke-width: 3; }
.menu-icon { width: 16px; height: 16px; color: var(--ink-2); }
.menu-label { flex: 1; }
.menu-hint { font-family: var(--f-hand); font-size: 18px; font-weight: 700; color: var(--ink-3); }
.menu-item.is-danger, .menu-item.is-danger .menu-icon { color: var(--danger); }
.menu-sep { height: 0; margin: 6px 8px; border-top: 1.5px dotted var(--rule); }
.menu-heading { padding: 8px 10px 4px 32px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

.search-layer { position: fixed; inset: 0; z-index: 110; display: flex; justify-content: center; align-items: flex-start; padding: 11vh 16px 16px; }
.search-scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--paper) 70%, transparent); animation: fadeIn 0.18s; }
.search-panel { position: relative; width: 100%; max-width: 680px; overflow: hidden; background: var(--card); border: 1.5px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--offset); animation: popIn 0.3s var(--spring); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(-10px) rotate(-1deg); } }
.search-field { display: flex; align-items: center; gap: 12px; height: 70px; padding: 0 18px; border-bottom: 1.5px solid var(--ink); }
.search-field > .icon { width: 24px; height: 24px; stroke-width: 2.3; }
.search-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 32px; text-transform: uppercase; }
.search-field input::placeholder { color: var(--ink-3); text-transform: none; font-family: var(--f-hand); font-weight: 700; font-size: 30px; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-results { max-height: min(56vh, 520px); overflow-y: auto; padding: 8px; overscroll-behavior: contain; }
.sr-heading { padding: 10px 10px 6px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.sr-item { display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.sr-item.is-active { background: color-mix(in srgb, var(--mustard) 26%, transparent); }
.sr-thumb { width: 36px; aspect-ratio: 2 / 3; flex: none; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14); }
.sr-text { min-width: 0; flex: 1; }
.sr-title { font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-title mark { background: linear-gradient(transparent 55%, color-mix(in srgb, var(--mustard) 75%, transparent) 55%); color: inherit; }
.sr-meta { margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-status { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.sr-empty { padding: 32px 16px 40px; text-align: center; }
.sr-empty .doodle-art { width: 90px; height: 90px; margin: 0 auto 6px; }
.sr-empty b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 30px; text-transform: uppercase; }
.sr-empty span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.search-foot { display: flex; gap: 18px; padding: 12px 18px; border-top: 1.5px dotted var(--rule); font-size: 12px; color: var(--ink-3); }
.search-foot span { display: inline-flex; align-items: center; gap: 4px; }

.toast-region { position: fixed; z-index: 130; left: 50%; bottom: calc(28px + var(--tabbar-h)); translate: -50% 0; width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 16px; min-height: 52px; padding: 8px 8px 8px 18px; border-radius: 12px; background: #1d1b17; color: #f2ece0; box-shadow: 4px 4px 0 var(--tomato); font-size: 14.5px; font-weight: 500; animation: toastIn 0.4s var(--spring); }
.toast.is-plain { padding-right: 18px; }
.toast-msg { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast-action { flex: none; height: 36px; padding: 0 14px; border-radius: 8px; background: #f2ece0; color: #1d1b17; font-weight: 700; transition: background-color 0.2s; }
.toast-action:hover { background: var(--mustard); }
.toast.is-leaving { animation: toastOut 0.2s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) rotate(2deg); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }


/* ------------------------------------------------------------------ Alt bilgi */

.footer { border-top: 1.5px solid var(--ink); padding: 44px 0 calc(40px + var(--tabbar-h)); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.footer-brand { display: flex; align-items: flex-end; gap: 16px; }
.footer .wordmark { font-size: 84px; line-height: 0.8; }
.footer .hand { font-size: 30px; transform: rotate(-5deg); margin-bottom: 6px; }
.footer-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 28px; padding-top: 18px; border-top: 1.5px dotted var(--rule); }
.footer-links a { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.footer-links a:hover { color: var(--tomato-text); text-decoration: underline; text-underline-offset: 3px; }
.footer-tmdb { display: flex; align-items: center; gap: 14px; margin-top: 16px; max-width: 640px; font-size: 12.5px; color: var(--ink-3); }
.tmdb-logo { width: 96px; height: auto; flex: none; }

/* ------------------------------------------------------------------ Duyarlı düzen */

@media (max-width: 1180px) {
  .detail-body { grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; }
  .lhead, .lrow { grid-template-columns: minmax(0, 1fr) 96px 180px 150px 36px; }
  .search-trigger { width: 210px; }
  .feature-card { padding: 44px 44px; gap: 40px; }
  .dhead { grid-template-columns: 250px minmax(0, 1fr); gap: 48px; }
  .week { grid-template-columns: repeat(7, minmax(120px, 1fr)); overflow-x: auto; }
}

@media (max-width: 1000px) {
  .detail-body { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .detail-side { display: contents; }
  .detail-side .index-card { order: -1; margin-bottom: 36px; }
  .detail-side .info-panel { margin-top: 40px; }
  .podium { grid-template-columns: 1fr; gap: 16px; }
  .chart { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .feature-poster .note { display: none; }
  .hero-dot-title { display: none; }
  .hero-dot { min-width: 34px; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; --nav-h: 58px; --tabbar-h: calc(62px + env(safe-area-inset-bottom)); }

  .nav-links, .search-trigger { display: none; }
  .search-mobile { display: inline-grid; }
  .nav-right { gap: 6px; }
  .wordmark { font-size: 28px; }

  .tabbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); height: var(--tabbar-h); padding-bottom: env(safe-area-inset-bottom); background: var(--paper); border-top: 1.5px solid var(--ink); }
  .tab-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-family: var(--f-mono); font-size: 10px; font-weight: 600; text-transform: uppercase; color: var(--ink-3); }
  .tab-item .icon { width: 23px; height: 23px; }
  .tab-item[aria-current="page"] { color: var(--ink); }
  .tab-item[aria-current="page"]::after { content: ""; position: absolute; bottom: 6px; left: 28%; right: 28%; height: 7px; background: var(--squiggle) center / 100% 100% no-repeat; }

  .page-head { padding: 32px 0 20px; }
  .page-head .note { position: static; display: inline-flex; margin-top: 10px; }
  .page-title { font-size: 60px; }

  .feature { padding-top: 18px; }
  .feature-card { grid-template-columns: 1fr; gap: 26px; min-height: 0; padding: 26px 22px 28px; border-radius: 14px; }
  .feature-poster { order: -1; width: 170px; justify-self: start; transform: rotate(-3deg); margin: 8px 0 0 10px; }
  .feature-title { font-size: 64px; margin: 16px 0 14px; }
  .feature-title.is-long { font-size: 46px; }
  .feature-desc { display: none; }
  .feature-meta { margin-bottom: 22px; }
  .feature-card::before { width: 260px; height: 260px; }

  .shelf { margin-top: 56px; }
  .shelf-actions .icon-btn { display: none; }
  .shelf-actions .link { margin-right: 0; }
  .shelf-title-wrap .note { display: none; }
  .shelf-track { --card-w: 140px; gap: 18px; }
  .shelf-track.is-tickets { --card-w: 320px; }
  .ticket-inner { --stub: 84px; }
  .ticket-poster { width: 64px; }
  .ticket-title { font-size: 24px; }

  .chart-row { grid-template-columns: 40px 46px 40px minmax(0, 1fr); gap: 10px; }
  .chart-rank { font-size: 40px; }
  .chart-row .chart-act { display: none; }
  .week { border-radius: 12px; }
  .day { min-height: 0; }
  .dymo { height: 36px; font-size: 12.5px; padding: 0 12px; }

  .poster-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 32px 16px; }
  .filters-row .select select { max-width: 160px; }

  .podium-poster { width: 84px; }
  .podium-title { font-size: 26px; }
  .rank-row { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; }
  .rank-num { font-size: 34px; }
  .rank-thumb { width: 44px; }
  .rank-action { display: none; }
  .rank-score small { display: none; }

  .panel { padding: 20px; }
  .stats { gap: 22px 16px; }
  .stats > div + div { border-left: 0; padding-left: 0; }
  .stat-value { font-size: 52px; }
  .stats-card .note { display: none; }
  .folder-tabs { padding-left: 6px; padding-right: 6px; margin-top: 24px; }
  .folder-tab { height: 40px; padding: 0 12px; font-size: 13.5px; }
  .folder-body { padding: 4px 14px 10px; border-radius: 0 0 12px 12px; }

  .list-toolbar .search-input { flex-basis: 100%; max-width: none; }
  .lhead { display: none; }
  .lrow { grid-template-columns: minmax(0, 1fr) 36px; grid-template-areas: "title more" "ctrls ctrls"; gap: 8px 12px; padding: 16px 0; }
  .lrow:hover { background: none; }
  .lrow-title { grid-area: title; }
  .lrow-more { grid-area: more; }
  .lrow-ctrls { grid-area: ctrls; display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap; padding-left: 60px; }
  .lrow-ctrls > :nth-child(3) { order: -1; }
  .lrow-ctrls .prog-cell { flex: 1 1 100%; }

  .dhead { grid-template-columns: 1fr; gap: 28px; padding-top: 20px; }
  .dhead-poster { width: 190px; margin-left: 12px; }
  .dtitle { font-size: 64px; }
  .dtitle.is-long { font-size: 44px; }
  .dstats { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 0; }
  .dstats > div { padding: 0 0 0 14px; min-width: 0; }
  .dstats dd { font-size: 30px; }
  .score-num { font-size: 44px; }
  .dstat-score .votes { display: none; }
  .dactions .btn { flex: 1; }
  .detail-body { margin-top: 36px; }
  .synopsis { font-size: 16.5px; }
  .cast { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .season-summary { margin-left: 0; width: 100%; justify-content: space-between; }
  .sk-dhead { grid-template-columns: 1fr; }

  .footer .wordmark { font-size: 60px; }

  .search-layer { padding: 8px; }
  .search-field input { font-size: 26px; }
  .search-field input::placeholder { font-size: 24px; }
  .search-results { max-height: calc(100vh - 150px); }
  .search-foot { display: none; }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .hero-dot.is-active .hero-dot-fill { animation: none; transform: scaleX(1); }
  .sk { animation: none; }
}
