/* =========================================================
   Film Puanları — tasarım sistemi
   Koyu tema: soğuk siyah zemin, antrasit yüzeyler, sinema kırmızısı vurgu
   Açık tema: kâğıt beyazı zemin, aynı kırmızı vurgunun koyu tonu
   Tüm renk, yazı, boşluk, köşe, gölge, katman ve geçiş değerleri burada tanımlıdır.
   ========================================================= */
:root {
  /* renk: zemin ve yüzeyler */
  --bg: #0a0b0f;
  --bg-elev: #0e1015;
  --surface: #13151b;
  --surface-2: #181b22;
  --surface-3: #20242c;
  --card: #13151b;
  --line: rgba(255, 255, 255, .075);
  --line-hover: rgba(255, 255, 255, .16);
  --track: #22262e;
  /* renk: yazı */
  --text: #f3f4f6;
  --text2: #b8bcc6;
  --muted: #7f8490;
  /* renk: vurgu (sinema kırmızısı) */
  --accent: #e5484d;
  --accent-2: #ff6a6e;
  --accent-ink: #ff7b7f;
  --accent-text: #ff9497;
  --on-accent: #ffffff;
  --accent-soft: rgba(229, 72, 77, .13);
  --accent-line: rgba(229, 72, 77, .45);
  /* renk: bilgi kutuları (vurgudan ayrı, sakin) */
  --info-soft: rgba(148, 163, 184, .09);
  --info-line: rgba(148, 163, 184, .2);
  --info-text: #c9d1dc;
  /* renk: durum */
  --danger: #ff6b57;
  --danger-soft: rgba(255, 107, 87, .12);
  --good: #4ade80;
  --good-soft: rgba(74, 222, 128, .12);
  --soft: rgba(255, 255, 255, .055);
  --soft2: rgba(255, 255, 255, .03);
  --soft-hover: rgba(255, 255, 255, .16);
  --panel-alpha: rgba(19, 21, 27, .62);
  --glass: rgba(12, 13, 18, .62);
  --glass-line: rgba(255, 255, 255, .09);
  --ph1: #171a21;
  --ph2: #0f1116;
  --topbar-bg: rgba(10, 11, 15, .72);
  --detail-bg-filter: blur(56px) brightness(.32) saturate(1.1);
  --scrim: rgba(4, 5, 8, .72);
  --row-on: rgba(74, 222, 128, .11);
  --row-on-edge: #4ade80;
  --row-off: rgba(148, 163, 184, .05);
  --row-off-edge: rgba(148, 163, 184, .35);

  /* yazı */
  --font: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", "Segoe UI", system-ui, sans-serif;
  --fs-xs: 11px;
  --fs-sm: 12.5px;
  --fs-base: 14px;
  --fs-md: 15.5px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-hero: clamp(30px, 3.8vw, 52px);
  --track-tight: -.022em;
  --track-caps: .12em;

  /* boşluk */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-7: 32px; --sp-8: 48px;
  --gutter: 24px;

  /* köşe */
  --r-xs: 6px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px; --r-pill: 999px;
  --radius: var(--r-md);

  /* gölge */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .45);
  --shadow: 0 18px 50px rgba(0, 0, 0, .55);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .65);
  --shadow-card: 0 14px 34px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .4);
  --ring: 0 0 0 3px var(--accent-soft);

  /* katman */
  --z-topbar: 30; --z-drawer: 45; --z-pop: 50; --z-float: 55; --z-toast: 70; --z-gate: 100;

  /* geçiş */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-1: .12s; --dur-2: .2s; --dur-3: .38s;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f5f5f7;
  --bg-elev: #fbfbfc;
  --surface: #ffffff;
  --surface-2: #f2f3f6;
  --surface-3: #e9ebf0;
  --card: #ffffff;
  --line: rgba(16, 18, 24, .09);
  --line-hover: rgba(16, 18, 24, .2);
  --track: #e6e8ed;
  --text: #0e1015;
  --text2: #3a3f4b;
  --muted: #6b7080;
  --accent: #d42c3a;
  --accent-2: #ef4a55;
  --accent-ink: #c0222f;
  --accent-text: #a51c28;
  --on-accent: #ffffff;
  --accent-soft: rgba(212, 44, 58, .09);
  --accent-line: rgba(212, 44, 58, .34);
  --info-soft: rgba(71, 85, 105, .06);
  --info-line: rgba(71, 85, 105, .16);
  --info-text: #334155;
  --danger: #c2412f;
  --danger-soft: rgba(194, 65, 47, .08);
  --good: #15803d;
  --good-soft: rgba(21, 128, 61, .09);
  --soft: rgba(16, 18, 24, .045);
  --soft2: rgba(16, 18, 24, .025);
  --soft-hover: rgba(16, 18, 24, .16);
  --panel-alpha: rgba(255, 255, 255, .78);
  --glass: rgba(255, 255, 255, .72);
  --glass-line: rgba(16, 18, 24, .08);
  --ph1: #eceef2;
  --ph2: #dfe2e8;
  --topbar-bg: rgba(250, 250, 251, .78);
  --detail-bg-filter: blur(56px) brightness(1.1) saturate(.7) opacity(.3);
  --scrim: rgba(14, 16, 21, .45);
  --row-on: rgba(22, 163, 74, .09);
  --row-on-edge: #16a34a;
  --row-off: rgba(100, 116, 139, .07);
  --row-off-edge: rgba(100, 116, 139, .4);
  --shadow-sm: 0 1px 2px rgba(16, 18, 24, .06);
  --shadow: 0 18px 50px rgba(16, 18, 24, .13);
  --shadow-lg: 0 30px 80px rgba(16, 18, 24, .18);
  --shadow-card: 0 14px 30px rgba(16, 18, 24, .16), 0 2px 6px rgba(16, 18, 24, .08);
  color-scheme: light;
}

/* ---------- temel ---------- */
* { box-sizing: border-box; }
html, body {
  margin: 0; background: var(--bg); color: var(--text);
  font: var(--fs-base)/1.5 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01", "ss03";
}
a { color: var(--accent-ink); }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: var(--track-tight); }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
.ico { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--accent-line); color: var(--text); }
* { scrollbar-width: thin; scrollbar-color: var(--line-hover) transparent; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
input:focus-visible, select:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- üst bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: var(--z-topbar);
  display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap;
  padding: 8px var(--gutter); min-height: 58px;
  background: var(--topbar-bg); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 17px/1 var(--font-display); white-space: nowrap; color: var(--text); text-decoration: none; letter-spacing: -.02em; }
.search { flex: 1 1 260px; max-width: 520px; position: relative; margin-left: var(--sp-4); }
.search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 16px; pointer-events: none; transition: color var(--dur-2); }
.search:focus-within .ico { color: var(--text); }
.search input { padding-left: 42px !important; padding-right: 40px !important; height: 42px; border-radius: var(--r-pill) !important; background: var(--soft) !important; border-color: transparent !important; }
.search input:hover { background: var(--surface-2) !important; }
.search input:focus { background: var(--surface) !important; border-color: var(--accent-line) !important; }
.search input::-webkit-search-cancel-button { filter: grayscale(1); opacity: .6; cursor: pointer; }
.search::after { content: "/"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; display: grid; place-items: center; border-radius: var(--r-xs); border: 1px solid var(--line-hover); color: var(--muted); font-size: 11px; font-weight: 600; pointer-events: none; transition: opacity var(--dur-2); }
.search:focus-within::after, .search:has(input:not(:placeholder-shown))::after { opacity: 0; }
.search input {
  width: 100%; padding: 9px 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); outline: none;
  transition: border-color var(--dur-2), box-shadow var(--dur-2), background var(--dur-2);
}
.search input::placeholder { color: var(--muted); }
.search input:focus, .key-form input:focus, .fix input:focus, .pw-form input:focus, .set-card input:focus, .clist-menu input:focus, select:focus-visible { border-color: var(--accent-line); box-shadow: var(--ring); }
.controls { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: nowrap; margin-left: auto; }
select {
  height: 38px; padding: 0 34px 0 12px; border-radius: var(--r-md); border: 1px solid var(--line); background-color: var(--surface); outline: none; cursor: pointer;
  appearance: none; -webkit-appearance: none; font-size: 13px; font-weight: 550; color: var(--text);
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
  transition: border-color var(--dur-2), background-color var(--dur-2);
}
select:hover { border-color: var(--line-hover); }
select option { background: var(--surface); color: var(--text); }
.chk { display: flex; gap: 8px; align-items: center; color: var(--text2); white-space: nowrap; cursor: pointer; font-size: 13px; }
.chk input, input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; }

/* ---------- düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 15px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface); cursor: pointer; white-space: nowrap; text-decoration: none; color: var(--text);
  font-weight: 600; font-size: 13.5px; letter-spacing: -.005em;
  transition: border-color var(--dur-2), background var(--dur-2), color var(--dur-2), transform var(--dur-1), box-shadow var(--dur-2), filter var(--dur-2);
}
.btn:hover { border-color: var(--line-hover); background: var(--surface-2); }
.btn:active { transform: scale(.98); }
.btn .ico { font-size: 16px; }
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: transparent; font-weight: 650; box-shadow: 0 8px 22px rgba(229, 72, 77, .28), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn.primary:hover { background: var(--accent-2); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text2); }
.btn.ghost:hover { background: var(--soft); color: var(--text); }
.btn.glass { background: var(--glass); border-color: var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn.glass:hover { background: var(--surface-2); }
.btn.lg { min-height: 48px; padding: 12px 22px; font-size: 15px; border-radius: var(--r-md); }
.btn.lg .ico { font-size: 18px; }
.btn:disabled { opacity: .45; cursor: default; filter: none; transform: none; }
.btn.icon-only { width: 38px; padding: 0; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; background: none; border: 0; border-radius: var(--r-md); font-size: 20px; cursor: pointer; color: var(--text); transition: background var(--dur-2); }
.icon-btn:hover { background: var(--soft); }
.pill { font-size: 11px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--soft); color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.pill:empty { display: none; }
.pill.warn { background: var(--danger-soft); color: var(--danger); }
.pill.busy { background: var(--accent-soft); color: var(--accent-ink); }
.btn.sm { min-height: 30px; padding: 4px 10px; font-size: 12px; border-radius: var(--r-sm); }

/* ---------- filtre paneli (her ekranda "Filtreler" düğmesinin arkasında) ---------- */
.filter-toggle { order: 4; }
.surprise-btn { order: 3; }
.mood-btn { order: 3; }
.mood-btn .ico { font-size: 16px; color: var(--accent-ink); }
.surprise-btn .ico { font-size: 16px; color: var(--accent-ink); }
.filter-toggle .ico { font-size: 15px; }
body.filters-open .filter-toggle { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-text); }
.filterbar { order: 10; flex-basis: 100%; display: none; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding: 6px 0 4px; }
body.filters-open .filterbar { display: flex; animation: drop-in var(--dur-3) var(--ease-out); }
.fgroup { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fgroup > .fl { color: var(--muted); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--track-caps); margin-right: 4px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--soft2); cursor: pointer; font-size: 12.5px; font-weight: 550; color: var(--text2); white-space: nowrap; transition: background var(--dur-2), border-color var(--dur-2), color var(--dur-2); }
.fchip:hover { border-color: var(--line-hover); color: var(--text); background: var(--soft); }
.fchip.on { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-text); font-weight: 650; }
.fchip.clear { border-style: dashed; }
.fchip .muted { font-size: 11px; }
.genre-wrap { position: relative; }
.genre-pop { position: absolute; top: calc(100% + 10px); left: 0; z-index: var(--z-pop); width: min(520px, 90vw); padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: flex; flex-wrap: wrap; gap: 6px; animation: drop-in var(--dur-2) var(--ease-out); }
.genre-pop .hint { flex-basis: 100%; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }

/* ---------- yerleşim ---------- */
.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - 58px); }
.sidebar {
  position: sticky; top: var(--topbar-h, 64px); align-self: start; height: calc(100vh - var(--topbar-h, 64px)); overflow: auto;
  border-right: 1px solid var(--line); padding: 10px 10px 24px; background: var(--bg);
}
.nav-main { display: grid; gap: 1px; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
/* kategoriler: akordiyon (üst kategori tıklanınca içindeki listeler açılır) */
.side-title { padding: 12px 12px 6px; color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: var(--track-caps); font-weight: 700; }
.gcat { margin: 0; }
.gcat-head { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border-radius: var(--r-sm); cursor: pointer; list-style: none; user-select: none; color: var(--text); font-size: 13px; font-weight: 650; transition: background var(--dur-2); }
.gcat-head::-webkit-details-marker { display: none; }
.gcat-head:hover { background: var(--soft); }
.gcat-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gcat-head .n { color: var(--muted); font-size: 11.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.gcat-head .ico { font-size: 14px; color: var(--muted); transition: transform var(--dur-2) var(--ease-out); }
.gcat[open] > .gcat-head .ico { transform: rotate(90deg); }
.gcat[open] > .gcat-head { color: var(--text); }
.gcat-items { position: relative; margin: 2px 0 6px 18px; padding-left: 6px; border-left: 1px solid var(--line); animation: drop-in var(--dur-2) var(--ease-out); }
.gcat-items .gitem { min-height: 32px; font-size: 12.5px; }
.gcat-items .gitem.active::before { left: -7px; }
.gitem {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; min-height: 34px; text-align: left;
  padding: 6px 12px; border: 0; border-radius: var(--r-sm); background: none; cursor: pointer; color: var(--text2); font-size: 13px; font-weight: 500;
  transition: background var(--dur-2), color var(--dur-2);
}
.gitem > span:first-child { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.gitem .ico { font-size: 16px; color: var(--muted); transition: color var(--dur-2); }
.gitem:hover { background: var(--soft); color: var(--text); }
.gitem:hover .ico { color: var(--text2); }
.gitem.active { background: var(--soft); color: var(--text); font-weight: 650; }
.gitem.active::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.gitem.active .ico { color: var(--accent-ink); }
.gitem .n { color: var(--muted); font-size: 11.5px; font-weight: 500; font-variant-numeric: tabular-nums; }

main { padding: 18px var(--gutter) 48px; min-width: 0; }
.listbar { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: 14px; }
.listbar h1 { margin: 0 0 2px; font-size: 24px; font-weight: 800; }
.listbar .muted { font-size: 13px; }
.listbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.notice { padding: 12px 16px; border-radius: var(--r-md); background: var(--info-soft); border: 1px solid var(--info-line); color: var(--info-text); margin-bottom: var(--sp-4); font-size: 13.5px; line-height: 1.55; }
.notice button { margin-left: 8px; }

/* ---------- film kartları ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px 14px; }
.grid > .card, .grid > .fy-item, .grid > .pop-item { content-visibility: auto; contain-intrinsic-size: auto 300px; }
.card { position: relative; cursor: pointer; border-radius: var(--r-md); background: transparent; display: flex; flex-direction: column; outline: none; -webkit-tap-highlight-color: transparent; }
.poster { position: relative; aspect-ratio: 2 / 3; border-radius: var(--r-md); background: linear-gradient(160deg, var(--ph1), var(--ph2)); overflow: hidden; box-shadow: var(--shadow-sm); isolation: isolate;
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out); }
.poster::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); pointer-events: none; }
.poster img { position: relative; z-index: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease-out), filter var(--dur-3); }
.poster::after { content: ""; position: absolute; inset: auto 0 0 0; height: 42%; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); pointer-events: none; z-index: 0; }
.card:hover .poster, .card:focus-visible .poster { transform: translateY(-4px) scale(1.025); box-shadow: var(--shadow-card); }
.card:focus-visible .poster { box-shadow: var(--shadow-card), 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.card:hover .poster img { transform: scale(1.04); }
.card:active .poster { transform: scale(.99); }
/* eksik afiş: ince film ikonu ve başlık */
.poster .ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px; text-align: center; color: var(--muted); font: 650 13px/1.3 var(--font-display); letter-spacing: -.01em;
  background: radial-gradient(120% 80% at 50% 0%, var(--surface-3), transparent 70%); }
.poster .ph::before, .detail-poster .ph::before { content: ""; width: 30px; height: 30px; opacity: .55; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M7 3v18M17 3v18M3 7.5h4M3 12h18M3 16.5h4M17 7.5h4M17 16.5h4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M7 3v18M17 3v18M3 7.5h4M3 12h18M3 16.5h4M17 7.5h4M17 16.5h4'/%3E%3C/svg%3E") center / contain no-repeat; }
.badges { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; gap: 5px; flex-wrap: wrap; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px 2px 3px; border-radius: var(--r-xs); font-weight: 700; font-size: 12px; color: #fff; background: rgba(10, 11, 15, .82); font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.badge > b { border-radius: 4px; padding: 1px 4px; font-size: 9.5px; font-weight: 800; letter-spacing: .02em; }
.badge.imdb > b { background: #f5c518; color: #000; }
.badge.rt > b { background: #fa320a; color: #fff; }
.badge.rt.rotten > b { background: #4f7d2c; }
.badge.mc > b { background: #5c9e31; color: #fff; }
.badge.loading, .badge.nf { color: #c9c9cc; font-weight: 500; padding: 2px 8px; }

/* yükleniyor iskeleti */
.skel { position: relative; overflow: hidden; background: var(--surface-2); border-radius: var(--r-sm); }
.skel::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, var(--soft), transparent); animation: shimmer 1.4s ease-in-out infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.skel-card { display: flex; flex-direction: column; gap: 10px; }
.skel-card .skel-poster { aspect-ratio: 2 / 3; border-radius: var(--r-md); }
.skel-line { height: 12px; }
.skel-line.short { width: 60%; height: 10px; }
.detail-skel { display: grid; grid-template-columns: 280px 1fr; gap: 30px; }
.detail-skel .skel-poster { aspect-ratio: 2 / 3; border-radius: var(--r-md); }
.detail-skel .lines { display: grid; gap: 14px; align-content: start; padding-top: 8px; }
.detail-skel .h { height: 34px; width: 70%; }
.detail-skel .skel-line:nth-child(3) { width: 90%; } .detail-skel .skel-line:nth-child(4) { width: 80%; }
@media (max-width: 860px) { .detail-skel { grid-template-columns: 120px 1fr; gap: 16px; } }

/* giriş ekranı ve güvenlik */
/* Sinema arka planlı giriş ekranı: görsel tam ekran, kart sağda koyu cam panel (tema ne olursa olsun koyu) */
.login-gate {
  position: fixed; inset: 0; z-index: 100; overflow-y: auto;
  display: grid; grid-template-columns: 1fr minmax(340px, 430px); grid-template-rows: 1fr auto; align-items: center;
  padding: 40px 6vw 0; color: #f3f4f6;
  background: #07080a url('/login-bg.jpg') 32% center / cover no-repeat;
}
.login-gate::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 6, 8, .10) 0%, rgba(6, 6, 8, .35) 45%, rgba(6, 6, 8, .82) 78%, rgba(6, 6, 8, .92) 100%),
    linear-gradient(0deg, rgba(6, 6, 8, .85) 0%, rgba(6, 6, 8, 0) 28%);
}
.login-card {
  position: relative; grid-column: 2; width: 100%; display: grid; gap: 12px; padding: 32px;
  border-radius: var(--r-xl); color: #f3f4f6; background: rgba(12, 13, 18, .62);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.login-card .brand { color: #f3f4f6; }
.login-card h1 { margin: 10px 0 0; font-size: 26px; font-weight: 800; color: #fff; }
.login-card p, .login-card .muted { margin: 0; font-size: 13.5px; line-height: 1.55; color: rgba(243, 244, 246, .72); }
.login-card a { color: #ff8f92; }
.login-card input, .login-gate .auth-step input {
  padding: 12px 14px; border-radius: var(--r-md); color: #fff; outline: none;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06);
}
.login-card input::placeholder { color: rgba(243, 244, 246, .45); }
.login-card input:focus, .login-gate .auth-step input:focus { border-color: rgba(229, 72, 77, .6); box-shadow: 0 0 0 3px rgba(229, 72, 77, .16); }
.login-card .btn { padding: 12px; }
.login-card .btn:not(.primary) { color: #f3f4f6; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.login-card .btn.primary { color: #fff; background: linear-gradient(145deg, #ff6a6e, #e5484d 60%, #b51d27); box-shadow: 0 8px 24px rgba(229, 72, 77, .28); }
.login-card .err { color: #ff9b8a; }
.login-foot {
  grid-column: 1 / -1; position: relative; margin: 32px -6vw 0; padding: 16px 6vw 18px; text-align: center;
  font-size: 12.5px; line-height: 1.6; color: rgba(243, 244, 246, .68);
  border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(6, 6, 8, .55); backdrop-filter: blur(8px);
}
.login-foot b { color: #f3f4f6; font-weight: 650; }
.login-foot a { color: #ff8f92; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(229, 72, 77, .4); }
.login-foot a:hover { border-bottom-color: #ff8f92; }
@media (max-width: 860px) {
  .login-gate { grid-template-columns: 1fr; padding: 28px 16px 0; background-position: 22% center; }
  .login-gate::before { background: linear-gradient(0deg, rgba(6, 6, 8, .92) 0%, rgba(6, 6, 8, .55) 55%, rgba(6, 6, 8, .35) 100%); }
  .login-card { grid-column: 1; max-width: 440px; justify-self: center; padding: 26px; }
  .login-foot { margin: 28px -16px 0; padding: 14px 16px 16px; }
}
.pw-form { display: grid; gap: 12px; }
.pw-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.pw-form input, .pw-form select { padding: 9px 11px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-2); font-weight: 400; }
body.is-viewer #statusPill { display: none; }

/* sitede kim var */
.visitors { margin-bottom: 22px; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface-2); }
.visitors-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.visitors-head h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px rgba(47, 191, 113, .18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(47, 191, 113, 0); } }
.vtable-wrap { overflow-x: hidden; }
/* sabit sütun genişlikleri: tablo pencereye tam oturur, uzun e-posta / IPv6 / cihaz satır içinde kayar (yatay kaydırma yok) */
.vtable { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 12.5px; }
.vtable th:nth-child(1) { width: 10%; } .vtable th:nth-child(2) { width: 9%; } .vtable th:nth-child(3) { width: 18%; } .vtable th:nth-child(4) { width: 12%; }
.vtable th:nth-child(5) { width: 16%; } .vtable th:nth-child(6) { width: 14%; } .vtable th:nth-child(7) { width: 9%; } .vtable th:nth-child(8) { width: 12%; }
.vtable th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vtable td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; word-break: break-word; line-height: 1.4; }
.vtable tr:last-child td { border-bottom: 0; }
/* sitede olanlar yeşil, diğerleri gri satır (tonlar temaya göre) */
.vtable tbody tr.on td { background: var(--row-on); }
.vtable tbody tr.off td { background: var(--row-off); color: var(--muted); }
.vtable tbody tr.off td b { color: var(--text2); }
.vtable tbody tr td:first-child { box-shadow: inset 3px 0 0 var(--row-off-edge); }
.vtable tbody tr.on td:first-child { box-shadow: inset 3px 0 0 var(--row-on-edge); }
.vtable code { font-size: 11.5px; word-break: break-all; }

/* açık oturumlar */
.sess-row { display: grid; grid-template-columns: auto minmax(160px, 1fr) minmax(200px, 1.4fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 8px; font-size: 13px; }
.sess-src { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: var(--r-pill); color: var(--muted); background: var(--soft); white-space: nowrap; }
.sess-src.site { color: var(--accent-ink); background: var(--accent-soft); }
.sess-who { display: grid; min-width: 0; }
.sess-who b, .sess-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sess-meta { display: grid; gap: 1px; font-size: 12px; min-width: 0; }
.sess-row .btn { padding: 5px 10px; font-size: 12px; }
@media (max-width: 760px) { .sess-row { grid-template-columns: 1fr auto; } .sess-meta { grid-column: 1 / -1; } }

/* OMDb hataları */
.omdb-alert { margin-bottom: 12px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--danger); background: var(--danger-soft); color: var(--danger); font-size: 13px; line-height: 1.55; }
.omdb-alert b { color: var(--danger); }
.omdb-errors { margin-bottom: 16px; border-radius: var(--r-md); border: 1px solid color-mix(in srgb, var(--danger) 45%, var(--line)); overflow: hidden; }
.omdb-errors-head { padding: 8px 12px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--danger); background: var(--danger-soft); }
.omdb-err { display: grid; grid-template-columns: 48px 150px 1fr; gap: 10px; padding: 7px 12px; font-size: 12.5px; border-top: 1px solid var(--line); color: var(--danger); }
.omdb-err .t { font-variant-numeric: tabular-nums; opacity: .8; }
.omdb-err .k { font-weight: 650; }
.omdb-err .m { color: var(--text2); overflow-wrap: anywhere; }
@media (max-width: 560px) { .omdb-err { grid-template-columns: 48px 1fr; } .omdb-err .m { grid-column: 1 / -1; } }

/* izleme durumu */
.umark { position: absolute; top: 8px; right: 8px; z-index: 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px;
  color: #fff; background: var(--accent); box-shadow: 0 4px 12px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .15); }
.umark.watched { background: rgba(22, 163, 74, .92); }
.card:has(.umark.watched) .poster img { filter: saturate(.55) brightness(.8); }

/* detayda seri ve benzer filmler */
.mini-row { display: grid; grid-auto-flow: column; grid-auto-columns: 112px; gap: 12px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x proximity; }
.mini { display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--text); scroll-snap-align: start; }
.mini-poster { display: block; aspect-ratio: 2/3; border-radius: var(--r-sm); overflow: hidden; background: linear-gradient(160deg, var(--ph1), var(--ph2)); box-shadow: inset 0 0 0 1px var(--line); transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3); }
.mini-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini:hover .mini-poster, .mini:focus-visible .mini-poster { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.mini.current .mini-poster { outline: 2px solid var(--accent); outline-offset: 2px; }
.mini.missing { opacity: .5; cursor: default; }
.mini-t { font-size: 12px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-s { font-size: 11px; color: var(--muted); }

/* kişi bağlantıları ve sayfası */
.person-link { border: 0; background: none; padding: 0; color: var(--text); cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-hover); text-underline-offset: 3px; font: inherit; transition: color var(--dur-2), text-decoration-color var(--dur-2); }
.person-link:hover { color: var(--accent-ink); text-decoration-color: var(--accent); }
.person-head p b { color: var(--text); }

/* bilgisi hazır olmayan filmler */
.qb.qwait { color: #fff; background: rgba(10, 11, 15, .8); border-color: rgba(255, 255, 255, .2); letter-spacing: .02em; }
.card.not-ready .poster img { filter: grayscale(.55) brightness(.62); }
.card.locked { cursor: default; }
.card.locked:hover .poster { transform: none; box-shadow: var(--shadow-sm); }
.card.locked:hover .poster img { transform: none; }

/* kalite / dil rozetleri */
.qbadges { position: absolute; top: 8px; left: 8px; right: 40px; display: flex; gap: 4px; flex-wrap: wrap; z-index: 2; }
.qb { display: inline-flex; align-items: center; padding: 1px 6px; border-radius: 5px; font-size: 10px; font-weight: 750; letter-spacing: .05em; color: #f2f2f4; background: rgba(10, 11, 15, .82); border: 1px solid rgba(255, 255, 255, .14); }
.qb.q4k { color: #111; background: linear-gradient(180deg, #fff, #d9dbe0); border-color: transparent; }
.qb.qtr { color: #fff; background: rgba(229, 72, 77, .9); border-color: transparent; }
.qb.qbest { color: var(--accent-ink); background: var(--accent-soft); border-color: var(--accent-line); }
.src-tags { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 4px; }
:root[data-theme="light"] .src-tags .qb:not(.q4k):not(.qtr):not(.qbest) { color: var(--text2); background: var(--soft); border-color: var(--line); }
.src.best { border-color: var(--accent-line); }
.meta { padding: 8px 2px 0; }
.meta .t { font-weight: 600; line-height: 1.3; font-size: 13.5px; letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color var(--dur-2); }
.card:hover .meta .t { color: var(--text); }
.meta .s { color: var(--muted); font-size: 12px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty { display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--muted); padding: 64px 16px; }
.empty::before { content: ""; width: 44px; height: 44px; border-radius: 50%; background: var(--soft) no-repeat center / 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f8490' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
#sentinel { height: 1px; }

/* ---------- pencereler ---------- */
dialog { border: 0; padding: 0; color: var(--text); background: transparent; max-width: min(1040px, calc(100vw - 24px)); width: 100%; }
dialog::backdrop { background: var(--scrim); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog[open] { animation: rise-in var(--dur-3) var(--ease-out); }
dialog[open]::backdrop { animation: fade-in var(--dur-3) ease; }
.close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); cursor: pointer; font-size: 18px; color: var(--text); display: grid; place-items: center; transition: background var(--dur-2), transform var(--dur-2); }
.close:hover { background: var(--surface-3); transform: rotate(90deg); }

/* film detayı */
.detail-inner { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.detail-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: var(--detail-bg-filter); transform: scale(1.2); }
.detail-still { position: absolute; inset: 0 0 auto 0; width: 100%; height: 420px; object-fit: cover; opacity: .38; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 100%); }
:root[data-theme="light"] .detail-still { opacity: .16; }
.detail-body { position: relative; display: grid; grid-template-columns: 260px 1fr; gap: 26px; padding: 26px; }
.detail-poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow-lg); display: block; background: var(--ph1); }
.detail-poster .ph { aspect-ratio: 2/3; border-radius: var(--r-md); background: linear-gradient(160deg, var(--ph1), var(--ph2)); display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; color: var(--muted); }
.detail h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 38px); line-height: 1.08; font-weight: 800; }
.detail .sub { color: var(--text2); margin-bottom: 18px; font-size: 13.5px; }
.scores { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.score { position: relative; display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: var(--r-md); background: var(--panel-alpha); border: 1px solid var(--line); text-decoration: none; color: var(--text); min-width: 150px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color var(--dur-2), transform var(--dur-2), background var(--dur-2); }
a.score:hover { border-color: var(--line-hover); transform: translateY(-2px); background: var(--surface-2); }
.score .logo { font-weight: 800; font-size: 11px; padding: 3px 6px; border-radius: 5px; background: #f5c518; color: #000; letter-spacing: .02em; }
.score .logo.rt { background: #fa320a; color: #fff; }
.score .logo.mc { background: #5c9e31; color: #fff; }
.score .v { font: 800 22px/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.score .v small { font-size: 12px; color: var(--muted); font-weight: 500; font-family: var(--font); letter-spacing: 0; }
.score .l { font-size: 11px; color: var(--muted); margin-top: 3px; }
.score .ext { position: absolute; top: 7px; right: 8px; font-size: 12px; color: var(--muted); opacity: 0; transition: opacity var(--dur-2); }
a.score:hover .ext { opacity: 1; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 9px 16px; margin: 18px 0; font-size: 13.5px; }
.kv dt { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.kv dd { margin: 0; color: var(--text2); line-height: 1.55; }
.plot { font-size: 15.5px; line-height: 1.75; color: var(--text2); max-width: 68ch; }
.tagline { font: italic 500 15px/1.5 var(--font-display); color: var(--text); opacity: .85; margin-bottom: 10px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.chip { font-size: 11.5px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--soft); color: var(--text2); }
.section-t { margin: 26px 0 10px; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: var(--track-caps); font-weight: 700; }
.sources { display: grid; gap: 6px; }
.src { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-md); background: var(--panel-alpha); border: 1px solid var(--line); }
.src .n { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.src .g { font-size: 11px; color: var(--muted); }
.src .btn { min-height: 30px; padding: 4px 10px; font-size: 12px; }
.fix { margin-top: 14px; padding: 14px; border-radius: var(--r-md); background: var(--panel-alpha); border: 1px solid var(--line); }
.fix form { display: flex; gap: 8px; }
.fix input { flex: 1; padding: 9px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); outline: none; }
.fix-list { display: grid; gap: 6px; margin-top: 10px; max-height: 300px; overflow: auto; }
.fix-item { display: flex; gap: 10px; align-items: center; padding: 6px; border-radius: var(--r-sm); background: var(--soft2); cursor: pointer; border: 1px solid transparent; text-align: left; color: var(--text); }
.fix-item:hover { border-color: var(--accent-line); }
.fix-item img { width: 40px; height: 60px; object-fit: cover; border-radius: 4px; background: var(--ph1); }

/* fragman */
.trailer { margin-top: 20px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: #000; max-width: 680px; box-shadow: var(--shadow); }
.trailer iframe { width: 100%; height: 100%; border: 0; display: block; }
.trailer-play { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.trailer-play img { width: 100%; height: 100%; object-fit: cover; opacity: .72; display: block; transition: opacity var(--dur-3), transform .6s var(--ease-out); }
.trailer-play:hover img { opacity: .88; transform: scale(1.03); }
.trailer-play .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; display: grid; place-items: center; font-size: 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); padding-left: 4px; transition: transform var(--dur-3) var(--ease-out), background var(--dur-2); }
.trailer-play:hover .play { transform: translate(-50%, -50%) scale(1.08); background: var(--accent); border-color: transparent; }
.trailer-play .tl { position: absolute; left: 16px; bottom: 14px; color: #fff; font-weight: 650; font-size: 13.5px; text-shadow: 0 1px 8px #000; }

/* ---------- ayarlar ---------- */
.settings { max-width: min(1200px, calc(100vw - 24px)); }
.settings-inner { --set-pad-x: 20px; --set-pad-y: 16px; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--set-pad-y) var(--set-pad-x); box-shadow: var(--shadow-lg); overflow-wrap: anywhere; max-height: calc(100vh - 40px); overflow-y: auto; overflow-x: hidden; }
/* başlık satırı: başlık · sekmeler · kapat; panel kayarken en üstte sabit kalır */
.settings-head { position: sticky; top: calc(-1 * var(--set-pad-y)); z-index: 4; display: flex; align-items: center; gap: 16px; margin: calc(-1 * var(--set-pad-y)) calc(-1 * var(--set-pad-x)) 14px; padding: 12px var(--set-pad-x); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.settings-head h2 { margin: 0; font-size: 17px; font-weight: 800; }
.settings-head .close { position: static; margin-left: auto; width: 34px; height: 34px; font-size: 16px; }
.settings-head .tabs { margin: 0; border: 0; gap: 2px; padding: 3px; border-radius: var(--r-md); background: var(--soft); }
.settings-head .tab { min-height: 32px; padding: 6px 12px; border-radius: var(--r-sm); font-size: 13px; }
.settings-head .tab::after { display: none; }
.settings-head .tab.active { background: var(--surface-3); color: var(--text); box-shadow: var(--shadow-sm); }
.settings-head .tab .ico { font-size: 14px; }
.admin-nav .tab::after, .ld-tabs .tab::after { display: none; }

/* özet şeridi: tek bir panel içinde bölmeli metrikler */
.summary { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.sumcard { position: relative; padding: 16px 16px 14px; border-right: 1px solid var(--line); min-width: 0; }
.sumcard:last-child { border-right: 0; }
.sc-top { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.sc-top .ico { color: var(--accent-ink); font-size: 14px; }
.sc-val { margin-top: 10px; font: 800 24px/1.05 var(--font-display); letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sc-val small { font-size: 13px; font-weight: 550; color: var(--muted); letter-spacing: 0; font-family: var(--font); }
.sc-sub { font-size: 11.5px; color: var(--muted); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-bar { height: 3px; border-radius: var(--r-pill); background: var(--track); margin-top: 10px; overflow: hidden; }
.sc-bar i { display: block; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.sumcard.warn .sc-bar i { background: var(--danger); }
.sumcard.warn .sc-top .ico { color: var(--danger); }
@media (max-width: 1000px) { .summary { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sumcard:nth-child(3n) { border-right: 0; } .sumcard:nth-child(-n+3) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* sekmeler: alt çizgi göstergesi */
.tabs { display: flex; gap: 4px; margin: 20px 0 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 10px 14px; border: 0; background: none; cursor: pointer; color: var(--muted); font-weight: 600; font-size: 13.5px; white-space: nowrap; transition: color var(--dur-2); }
.tab::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform var(--dur-3) var(--ease-out); }
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); }
.tab.active::after { transform: scaleX(1); }
.tab.active .ico { color: var(--accent-ink); }
.tabpanel { padding-top: 18px; animation: fade-in var(--dur-2) ease; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.col { min-width: 0; }
.col h3 { margin: 0 0 6px; font-size: 14.5px; font-weight: 700; }
.col h3 .muted { font-weight: 500; font-size: 12px; }
.small { font-size: 12.5px; margin: 0 0 10px; line-height: 1.55; }
.key-form { display: flex; gap: 8px; margin-top: 10px; }
.key-form input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-2); outline: none; transition: border-color var(--dur-2), box-shadow var(--dur-2); }
.keys { display: grid; gap: 6px; }
.keyrow { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; }
.keyrow code { font-size: 12.5px; }
.keyrow .muted { flex: 1; font-size: 12px; }
.keyrow .btn { min-height: 30px; padding: 4px 10px; font-size: 12px; }
.keyrow.full { border-color: var(--accent-line); }
.keyrow.invalid { border-color: var(--danger); }
.keyrow { flex-wrap: wrap; }
.key-note { flex-basis: 100%; display: flex; align-items: flex-start; gap: 7px; margin-top: 2px; padding: 7px 9px; border-radius: var(--r-sm); background: var(--accent-soft, var(--soft)); color: var(--text2); font-size: 12px; line-height: 1.45; }
.key-note .ico { flex: none; margin-top: 2px; color: var(--accent-ink); }
.key-note b { color: var(--text); font-weight: 600; }
.err { color: var(--danger); min-height: 1.2em; font-size: 12.5px; margin-top: 4px; }
.stat { background: var(--surface-2); border-radius: var(--r-md); padding: 10px 12px; border: 1px solid var(--line); font-size: 13px; }
.stat span { color: var(--muted); font-size: 12px; }
.stat.chk { color: var(--text); white-space: normal; align-items: flex-start; line-height: 1.45; }
.stat.chk input { margin-top: 3px; flex-shrink: 0; }

/* ilerleme */
.progress { height: 6px; border-radius: var(--r-pill); background: var(--track); overflow: hidden; margin: 10px 0 6px; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: var(--r-pill); transition: width .4s var(--ease); }
.float-prog { position: fixed; right: 18px; bottom: 18px; z-index: var(--z-float); width: 300px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--glass-line); box-shadow: var(--shadow-lg); cursor: pointer; font-size: 13px; animation: rise-in var(--dur-3) var(--ease-out); }
.float-prog .muted { font-size: 12px; }

/* onay penceresi */
.confirm { max-width: 470px; }
.confirm-inner { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; box-shadow: var(--shadow-lg); }
.confirm-inner h3 { margin: 0 0 10px; font-size: 19px; font-weight: 800; }
.confirm-inner p { color: var(--text2); line-height: 1.6; }
.row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }

/* ---------- ana sayfa ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: var(--track-caps); font-size: 10.5px; font-weight: 700; color: var(--accent-ink); }
.eyebrow .ico { font-size: 13px; }

/* sinematik hero: geniş sahne görüntüsü, soldan karartma, büyük başlık */
.hero { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-elev); margin-bottom: 16px; isolation: isolate; box-shadow: inset 0 0 0 1px var(--line); }
.hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 30%; filter: var(--detail-bg-filter); transform: scale(1.3); }
.hero-still { position: absolute; transform-origin: center; filter: brightness(.8) saturate(1.05); top: 0; right: 0; z-index: -1; width: 72%; height: 100%; object-fit: cover; object-position: center 30%; animation: still-in 1.6s var(--ease-out) both;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
.hero-still.lb, .detail-still.lb { transform: scale(1.34); }
@keyframes still-in { from { opacity: 0; transform: scale(1.06); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(90deg, var(--bg-elev) 0%, color-mix(in srgb, var(--bg-elev) 92%, transparent) 30%, color-mix(in srgb, var(--bg-elev) 72%, transparent) 55%, color-mix(in srgb, var(--bg-elev) 12%, transparent) 82%, transparent 100%),
  linear-gradient(0deg, var(--bg-elev) 0%, transparent 38%); }
:root[data-theme="light"] .hero.has-feat { color: #f3f4f6; --bg-elev: #111318; --text: #f3f4f6; --text2: #c9ccd3; --muted: #9aa0ab; --glass: rgba(18, 20, 26, .55); --glass-line: rgba(255, 255, 255, .14); --surface-2: #22252d; --line: rgba(255, 255, 255, .1); --accent-ink: #ff7b7f; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; min-height: clamp(320px, 36vw, 440px); padding: clamp(22px, 3vw, 40px); }
.hero.no-feat .hero-inner { grid-template-columns: 1fr; min-height: 0; align-items: center; }
.hero-copy { max-width: 640px; animation: rise-in .7s var(--ease-out) both; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.02; margin: 10px 0 12px; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--text2); font-size: 14px; font-weight: 500; }
.hero-meta > span:not(.badge) { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta > span:not(.badge) + span:not(.badge)::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--muted); flex: none; }
.hero-meta .badge { font-size: 13px; padding: 3px 8px 3px 4px; }
.hero-plot { margin: 14px 0 20px; color: var(--text2); font-size: 15.5px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: 58ch; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-poster { position: relative; width: clamp(150px, 15vw, 220px); padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: pointer; background: var(--ph1); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .1); transition: transform var(--dur-3) var(--ease-out); animation: rise-in .9s .1s var(--ease-out) both; }
.hero-poster:hover { transform: translateY(-3px); }
.hero-poster img { display: block; width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.lead { font-size: var(--fs-md); color: var(--text2); line-height: 1.65; margin: 0 0 22px; max-width: 600px; }
.lead b { color: var(--text); }
.grad { color: var(--accent-ink); }
/* arşiv sayıları: hero'nun alt şeridi */
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.hero.has-feat .hero-stats { padding: 0 clamp(22px, 3vw, 40px) 16px; }
.hero-stats span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--glass-line); font-size: 12.5px; color: var(--text2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-stats b { color: var(--text); font-variant-numeric: tabular-nums; font-weight: 700; }

.tiles { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); margin-bottom: 24px; }
.tile { padding: 14px 18px; border-right: 1px solid var(--line); }
.tile:last-child { border-right: 0; }
.tile b { display: block; font: 800 26px/1.1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tile span { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); font-weight: 650; text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }
.tile span .ico { color: var(--accent-ink); }

/* yatay film şeritleri */
.hrow { margin-bottom: 28px; }
.hrow-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 10px; }
.hrow-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 19px; font-weight: 800; }
.hrow-head h2 .ico { color: var(--accent-ink); font-size: 20px; }
.hrow-head .muted { font-size: 13px; margin-top: 4px; }
.hrow-head .btn { color: var(--text2); background: transparent; border-color: transparent; }
.hrow-head .btn:hover { color: var(--text); background: var(--soft); }
.hrow-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 18px; overflow-x: auto; padding: 8px 4px 14px; margin: -8px -4px 0; scroll-snap-type: x proximity; scroll-padding: 4px; scrollbar-width: none; }
.hrow-scroll::-webkit-scrollbar { display: none; }
.hrow-scroll .card { scroll-snap-align: start; }

.dists { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-bottom: 24px; }
.dist { padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.dist h2 { margin: 0 0 14px; font-size: 16px; font-weight: 700; }
.dbar { display: grid; grid-template-columns: 110px 1fr 54px; gap: 12px; align-items: center; width: 100%; min-height: 34px; padding: 6px 8px; border: 0; background: none; cursor: pointer; border-radius: var(--r-sm); text-align: left; color: inherit; transition: background var(--dur-2); }
.dbar:hover { background: var(--soft); }
.dbar:hover .dt i { filter: brightness(1.15); }
.dl { font-size: 13px; font-weight: 550; color: var(--text2); }
.dt { height: 6px; border-radius: var(--r-pill); background: var(--track); overflow: hidden; }
.dt i { display: block; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: filter var(--dur-2); }
.dn { font-size: 12px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }

/* gündemdeki filmler */
.trend { margin-bottom: 28px; padding: 18px; border-radius: var(--r-xl); border: 1px solid var(--line);
  background: var(--surface); }
.trend .hrow-head { margin-bottom: 12px; }
.trend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px; }
.trend-item { flex-direction: row; gap: 14px; padding: 10px; background: var(--surface-2); border: 1px solid transparent; align-items: center; transition: border-color var(--dur-2), transform var(--dur-3) var(--ease-out), background var(--dur-2); }
.trend-item:hover, .trend-item:focus-visible { transform: translateY(-2px); border-color: var(--line-hover); background: var(--surface-3); }
.trend-poster { position: relative; flex: 0 0 78px; }
.trend-poster img { width: 78px; aspect-ratio: 2/3; object-fit: cover; border-radius: var(--r-sm); display: block; background: var(--ph1); box-shadow: var(--shadow-sm); }
.trend-rank { position: absolute; left: -8px; bottom: -8px; min-width: 30px; height: 30px; padding: 0 7px; border-radius: var(--r-sm); display: grid; place-items: center;
  font: 800 15px/1 var(--font-display); color: #fff; background: var(--accent); box-shadow: 0 6px 16px rgba(0, 0, 0, .4), 0 0 0 3px var(--surface-2); }
.trend-body { min-width: 0; flex: 1; }
.trend-body .t { font-weight: 700; font-size: 14.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.trend-body .s { color: var(--muted); font-size: 12px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trend-scores { display: flex; gap: 5px; margin-top: 8px; }
.trend-signal { margin-top: 8px; font-size: 11.5px; color: var(--muted); line-height: 1.45; }

/* arşiv hazırlık durumu */
.readiness { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center; margin-bottom: 16px; padding: 18px 22px; border-radius: var(--r-xl); border: 1px solid var(--line);
  background: var(--surface); }
.ready-ring { position: relative; width: 112px; height: 112px; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--track); stroke-width: 10; }
.ring-fill { fill: none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray .6s; }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label b { font: 800 28px/1 var(--font-display); letter-spacing: -.02em; }
.ring-label span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-top: 4px; }
.ready-body h2 { margin: 6px 0 6px; font-size: 22px; font-weight: 800; }
.ready-body p { margin: 0 0 14px; color: var(--text2); font-size: 14px; line-height: 1.65; max-width: 860px; }
.ready-body p b { color: var(--text); }
.ready-bar { display: flex; height: 10px; border-radius: var(--r-pill); overflow: hidden; background: var(--track); }
.ready-bar .seg { display: block; height: 100%; }
.ready-bar .seg.ready { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.ready-bar .seg.nf { background: var(--line-hover); }
.ready-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: 12.5px; color: var(--text2); }
.ready-legend span { display: inline-flex; align-items: center; gap: 7px; }
.ready-legend b { color: var(--text); font-variant-numeric: tabular-nums; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot.ready { background: var(--accent); }
.dot.wait { background: var(--track); border: 1px solid var(--line-hover); }
.dot.nf { background: var(--line-hover); }
@media (max-width: 700px) { .readiness { grid-template-columns: 72px minmax(0, 1fr); align-items: start; gap: 14px; padding: 14px; } .ready-ring { width: 72px; height: 72px; } .ring-label b { font-size: 18px; } .ring-label span { font-size: 9px; } .ready-body p { font-size: 13px; } }

/* ---------- sayfa başlıkları (Günün 10 filmi, Sana özel, yönetici) ---------- */
.picks-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--r-xl); border: 1px solid var(--line); margin-bottom: 16px;
  background: var(--surface); }
.picks-head h1 { margin: 6px 0 4px; font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.picks-head p { margin: 0; color: var(--text2); line-height: 1.55; }
.picks { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 1500px) { .picks { grid-template-columns: 1fr 1fr; } }
.pick { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 22px; padding: 16px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; cursor: pointer; isolation: isolate; transition: border-color var(--dur-2), transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3); }
.pick:hover { border-color: var(--line-hover); transform: translateY(-3px); box-shadow: var(--shadow); }
.pick-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: var(--detail-bg-filter); transform: scale(1.3); opacity: .9; }
.pick::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--surface) 70%, transparent) 40%, var(--surface) 100%); }
.pick > *:not(.pick-bg) { position: relative; z-index: 2; }
.pick-poster { position: relative; }
.pick-poster img { width: 200px; aspect-ratio: 2/3; object-fit: cover; border-radius: var(--r-md); display: block; box-shadow: var(--shadow-lg); background: var(--ph1); }
.pick-rank { position: absolute; left: -6px; top: -12px; font: 900 68px/1 var(--font-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); text-shadow: 0 6px 24px rgba(0, 0, 0, .6); }
.pick-body { min-width: 0; display: flex; flex-direction: column; padding: 6px 4px 4px 0; }
.pick-body h2 { margin: 0; font-size: 28px; line-height: 1.1; font-weight: 800; }
.pick-orig { color: var(--muted); font-size: 13px; margin-top: 4px; }
.pick-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--text2); font-size: 13px; margin: 12px 0 16px; }
.pick-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pick-meta .ico { color: var(--muted); }
.pick-scores { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.pick-scores .score { min-width: 0; padding: 8px 12px; }
.pick-scores .score .v { font-size: 20px; }
.pick-plot { color: var(--text2); font-size: 14.5px; line-height: 1.7; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; max-width: 72ch; }
.pick-dir { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.pick-dir b { color: var(--text); font-weight: 600; }
.pick-actions { display: flex; gap: 8px; margin-top: auto; }

/* bildirim */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: var(--z-toast); max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow-lg); font-size: 13.5px; font-weight: 500; animation: toast-in var(--dur-3) var(--ease-out); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- ekran genişlikleri: büyük masaüstü · masaüstü · laptop · tablet · telefon ---------- */
.only-mobile { display: none; }
.bottom-nav { display: none; }
@media (min-width: 1600px) {
  :root { --gutter: 40px; }
  .layout { grid-template-columns: 272px minmax(0, 1fr); }
  .grid { grid-template-columns: repeat(auto-fill, minmax(184px, 1fr)); gap: 30px 20px; }
  .hrow-scroll { grid-auto-columns: 184px; }
}
@media (max-width: 1600px) { #settingsBtn .pill { display: none; } }
@media (max-width: 1280px) {
  :root { --gutter: 22px; }
  .layout { grid-template-columns: 232px minmax(0, 1fr); }
  .hero-poster { width: clamp(140px, 16vw, 190px); }
}
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(3, 1fr); } .tile:nth-child(3n) { border-right: 0; } .tile:nth-child(-n+3) { border-bottom: 1px solid var(--line); } }
@media (max-width: 1024px) {
  .search { flex-basis: 360px; margin-left: 8px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 14px; }
}
@media (max-width: 860px) {
  :root { --gutter: 14px; }
  .only-mobile { display: inline-grid; }
  .layout { grid-template-columns: 1fr; }
  /* kenar menüsü: soldan açılan çekmece, arkasında karartma */
  .sidebar { position: fixed; z-index: var(--z-drawer); left: 0; top: 0; height: 100vh; height: 100dvh; width: min(310px, 86vw); padding-top: max(14px, env(safe-area-inset-top));
    transform: translateX(-102%); transition: transform var(--dur-3) var(--ease-out); box-shadow: var(--shadow-lg); background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto; }
  .sidebar:not(.open) { pointer-events: none; visibility: hidden; transition: transform var(--dur-3) var(--ease-out), visibility 0s var(--dur-3); }
  .sidebar.open { transform: none; }
  body:has(.sidebar.open)::after { content: ""; position: fixed; inset: 0; z-index: calc(var(--z-drawer) - 1); background: var(--scrim); backdrop-filter: blur(3px); animation: fade-in var(--dur-3) ease; }
  .gitem.active::before { left: -12px; }
  main { padding: 12px var(--gutter) calc(80px + env(safe-area-inset-bottom)); }
  .grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 18px 12px; }
  .detail-body { grid-template-columns: 1fr; padding: 20px; }
  .detail-poster { max-width: 220px; }
  .kv { grid-template-columns: 90px 1fr; }
  .cols { grid-template-columns: 1fr; }
  .dists { grid-template-columns: 1fr; }
  .pick { grid-template-columns: 130px 1fr; gap: 16px; padding: 14px; }
  .pick-poster img { width: 130px; }
  .pick-rank { font-size: 44px; }
  .pick-body h2 { font-size: 19px; }
  .picks-head { padding: 22px; }
  .genre-pop { position: static; width: 100%; margin-top: 6px; box-shadow: none; background: var(--surface-2); }

  /* hero: görüntü üstte, metin altta */
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding: 0 16px 16px; gap: 0; align-items: start; }
  .hero.has-feat .hero-inner { padding-top: min(38vw, 240px); }
  .hero-still { width: 100%; height: min(62vw, 380px); -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
  .hero::before { background: linear-gradient(0deg, var(--bg-elev) 0%, var(--bg-elev) 38%, transparent 75%); }
  .hero.no-feat .hero-inner { padding: 22px 18px; }
  .hero-poster { display: none; }
  .hero h1 { font-size: clamp(26px, 7.4vw, 38px); margin: 8px 0 10px; }
  .hero-meta { font-size: 13px; gap: 6px 10px; }
  .hero-plot { font-size: 14px; margin: 10px 0 14px; -webkit-line-clamp: 2; }
  .hero-cta { flex-wrap: nowrap; }
  .hero-cta .btn { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 10px 12px; font-size: 14px; }
  .hero.has-feat .hero-stats { padding: 0 16px 14px; }
  .hero-stats span { font-size: 12px; padding: 5px 10px; }

  /* telefonda alt gezinme çubuğu: büyük dokunma alanları */
  .bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-topbar); display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 6px 6px max(6px, env(safe-area-inset-bottom)); background: var(--topbar-bg); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-top: 1px solid var(--line); }
  .bn-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; padding: 4px 2px; border: 0; border-radius: var(--r-md); background: none; color: var(--muted); font: 600 10.5px/1.1 var(--font); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color var(--dur-2); }
  .bn-item .ico { font-size: 22px; transition: transform var(--dur-2) var(--ease-out); }
  .bn-item:active .ico { transform: scale(.9); }
  .bn-item.active { color: var(--text); }
  .bn-item.active .ico { color: var(--accent-ink); }
  .float-prog { bottom: calc(80px + env(safe-area-inset-bottom)); right: 12px; left: 12px; width: auto; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* Oturum doğrulanana kadar site iskeleti görünmez (giriş ekranı ayrı katmandadır) */
body:not(.ready) > .topbar, body:not(.ready) > .layout { visibility: hidden; }
.pw-form label.chk { display: flex; align-items: center; gap: 8px; font-weight: 500; }

/* yayın sitesi: giriş adımları ve yönetici ekranı */
.auth-step { display: grid; gap: 12px; }
.auth-step h1 { margin: 6px 0 0; font-size: 24px; font-weight: 800; }
.auth-step p { margin: 0; font-size: 13.5px; line-height: 1.55; }
.auth-step input { padding: 11px 13px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-2); outline: none; }
.auth-step input:focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.auth-step .btn { padding: 11px; }
.admin-main { max-width: 1000px; margin: 0 auto; padding: 24px 20px 60px; }
.admin-card { margin-bottom: 18px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.admin-card h2 { margin: 0 0 12px; font-size: 16px; }
.admin-card .keyrow + .keyrow { margin-top: 8px; }
.admin-card .key-form input { flex: 1 1 200px; }

/* ad / soyad yan yana */
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.name-row input { min-width: 0; }

/* profil düğmesi ve sayfası */
.profile-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 4px 12px 4px 4px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--soft2); cursor: pointer; color: var(--text); font-weight: 600; font-size: 13px; max-width: 220px; transition: border-color var(--dur-2), background var(--dur-2); }
.profile-chip:hover { border-color: var(--line-hover); background: var(--soft); }
.profile-chip .av, .profile-hero .av { display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--on-accent); font-weight: 800; flex: none; }
.profile-chip .av { width: 28px; height: 28px; font-size: 12px; }
.profile-chip .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-wrap { max-width: 720px; }
.profile-hero { display: flex; align-items: center; gap: 18px; }
.profile-hero .av { width: 72px; height: 72px; font-size: 26px; box-shadow: var(--shadow); }
.profile-hero h1 { margin: 4px 0 2px; }
.profile-card { margin-top: 18px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.profile-card h2 { margin: 0 0 14px; font-size: 16px; }
.profile-card .pw-form { max-width: 520px; }
.profile-facts { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; font-size: 13.5px; }
.profile-facts dt { color: var(--muted); }
.profile-facts dd { margin: 0; }
@media (max-width: 560px) { .name-row { grid-template-columns: 1fr; } .profile-chip .nm { display: none; } .profile-chip { padding: 4px; } }

/* ---------- ayarlar: sade kart düzeni ---------- */
.settings .summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.set-title { margin: 22px 0 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.set-title:first-child { margin-top: 0; }
.set-title .muted { text-transform: none; letter-spacing: 0; font-weight: 500; }
.set-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.set-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.set-card { display: grid; gap: 10px; align-content: start; min-width: 0; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface-2); }
.set-card h4 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; font-size: 14.5px; font-weight: 700; }
.set-card h4 .muted { font-weight: 500; font-size: 12px; }
.set-card .btn { justify-self: start; }
.set-card .key-form { margin-top: 0; }
.set-card .key-form .btn { justify-self: auto; }
.set-card .keyrow { background: var(--surface); }
.set-card .pw-form, .set-card.pw-form { gap: 10px; }
.set-card label:not(.chk) { display: block; font-size: 12.5px; font-weight: 600; color: var(--text2); }
.set-card label:not(.chk) input { display: block; width: 100%; margin-top: 5px; box-sizing: border-box; }
.set-card input[type="checkbox"] { width: auto; margin: 0; flex-shrink: 0; }
.set-card label.chk { display: flex; align-items: flex-start; gap: 8px; font-weight: 500; }
.set-card input[type="text"], .set-card input[type="email"], .set-card input[type="password"] { padding: 9px 11px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); font-weight: 400; color: var(--text); min-width: 0; }
.set-card .stat { background: var(--surface); }
.hint { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.hint:empty { display: none; }
.tag { padding: 2px 8px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; color: var(--muted); background: var(--surface); border: 1px solid var(--line); }
#pagesForm > .row { margin-top: 12px; align-items: center; gap: 12px; }
.set-card .visitors-head { margin-bottom: 0; }
.set-card .visitors-head h4 { margin: 0; }

/* depolama raporu */

@media (max-width: 900px) { .set-grid.three { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .settings .summary { grid-template-columns: repeat(3, minmax(0, 1fr)); } .settings .sumcard { padding: 9px 10px; border-bottom: 0 !important; border-right: 1px solid var(--line) !important; } .settings .sumcard:last-child { border-right: 0 !important; } .settings .sc-top { font-size: 9.5px; letter-spacing: .05em; } .settings .sc-top .ico { display: none; } .settings .sc-val { font-size: 17px; } .settings .sc-val small { font-size: 11px; } .settings .sc-sub { display: none; } }
@media (max-width: 700px) { .set-grid { grid-template-columns: 1fr; } }
/* yönetici ekranı: kullanıcı kartları */
#pending, #active, #rejected { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 10px; }
#pending > p, #active > p { grid-column: 1 / -1; margin: 0; }
.ucard { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 14px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface-2); transition: border-color var(--dur-2); }
.ucard:hover { border-color: var(--line-hover); }
.uav { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700;
  color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.ucard.online .uav::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #2fbf71; border: 2px solid var(--surface-2); }
.ubody { min-width: 0; }
.uname { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; }
.uname b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ulive { flex-shrink: 0; padding: 1px 7px; border-radius: var(--r-pill); font-size: 10.5px; font-weight: 700; color: #2fbf71; background: rgba(47, 191, 113, .12); }
.umail, .unote { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.unote { font-style: italic; }
.uchips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.uchip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: var(--r-pill); font-size: 11.5px; color: var(--text2);
  background: var(--surface); border: 1px solid var(--line); white-space: nowrap; }
.uchip > span { color: var(--muted); }
.uchip.num b { color: var(--text); font-variant-numeric: tabular-nums; }
.uchip svg { width: 12px; height: 12px; fill: none; stroke: var(--accent-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.uacts { display: flex; flex-direction: column; gap: 5px; }
@media (max-width: 520px) { #pending, #active, #rejected { grid-template-columns: 1fr; } .ucard { grid-template-columns: 38px minmax(0, 1fr); } .uacts { grid-column: 2; flex-direction: row; } }

/* Canlı arşiv özeti: değişen sayılar kısa süre vurgulanır, son ziyaretten beri artış yeşil etiketle gösterilir */
.ready-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 8px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-text); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.live-pill.on { background: var(--good-soft); color: var(--good); }
.live-pill.on i { background: var(--good); animation: livePulse 1.6s ease-out infinite; }
.live-ago { font-size: 12px; color: var(--muted); }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 var(--good); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
.live-news { display: flex; align-items: flex-start; gap: 8px; margin: 2px 0 12px; padding: 9px 12px; border-radius: var(--r-md); background: var(--good-soft); color: var(--text2); font-size: 13.5px; line-height: 1.5; max-width: 860px; }
.live-news .ico { color: var(--good); flex: none; margin-top: 2px; }
.live-news b { color: var(--good); font-variant-numeric: tabular-nums; }
.live-wait { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.live-wait b { color: var(--text); }
.delta { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: var(--r-pill); background: var(--good-soft); color: var(--good); font-style: normal; font-size: 11px; font-weight: 750; font-variant-numeric: tabular-nums; vertical-align: 1px; }
.tile .delta { margin: 6px 0 0; }
.lv { font-variant-numeric: tabular-nums; }
.ring-label b .lv, .tile b .lv { display: inline; font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; margin: 0; }
.ready-bar .seg { transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }
.ring-fill { transition: stroke-dasharray 1.2s cubic-bezier(.2, .7, .2, 1); }
.lv-flash { animation: lvFlash 2.6s ease-out; border-radius: var(--r-sm); }
.tile.lv-flash { animation-name: lvFlashTile; }
@keyframes lvFlash { 0%, 35% { color: var(--good); text-shadow: 0 0 18px var(--good-soft); } 100% { color: inherit; } }
@keyframes lvFlashTile { 0%, 30% { background: var(--good-soft); box-shadow: inset 0 -2px 0 var(--good); } 100% { background: transparent; box-shadow: inset 0 -2px 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .live-pill.on i, .lv-flash { animation: none; } .ready-bar .seg, .ring-fill { transition: none; } }

/* Yayın sitesinde yönetici köprüsü bilgisi (Ayarlar paneli) */
.bridge-bar { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 10px 14px; border-radius: var(--r-md); background: var(--info-soft); border: 1px solid var(--info-line); font-size: 13px; line-height: 1.55; color: var(--text2); }
.bridge-bar .ico { flex: none; margin-top: 2px; color: var(--accent-ink); }
.bridge-bar > div { display: flex; flex-direction: column; gap: 2px; }
.bridge-bar b { color: var(--text); }
.bridge-bar.warn { background: var(--danger-soft); border-color: transparent; }
.bridge-bar.warn .ico { color: var(--danger); }
.bridge-wait { color: var(--accent-ink); font-weight: 600; }

/* Şifreyi göster düğmesi */
.pw-wrap { position: relative; display: block; width: 100%; }
.pw-wrap > input { width: 100%; padding-right: 44px !important; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; padding: 0; }
.pw-eye svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pw-eye:hover, .pw-eye.on { color: var(--accent-ink); background: var(--soft); }
.pw-eye:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Film detayı: solda afiş ve işlemler, sağda bilgiler; sürümler katlanır */
.detail-body > * { min-width: 0; }
.dp-side { display: flex; flex-direction: column; gap: 14px; align-self: start; position: sticky; top: 0; }
.wa-btn { background: #1faa53; border-color: #1faa53; color: #fff; }
.wa-btn:hover { background: #17924a; border-color: #17924a; color: #fff; }
.wa-btn .wa { width: 17px; height: 17px; fill: currentColor; }
.dp-facts { display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--text2); font-size: 14px; margin-bottom: 4px; }
.dp-facts span + span::before { content: '·'; margin: 0 9px; color: var(--muted); }
.dp-orig { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.dp-main h2 { margin-bottom: 8px; }
.dp-main .scores { margin: 16px 0 18px; }
.score { position: relative; }
.score .ext { position: absolute; top: 6px; right: 8px; font-size: 11px; color: var(--muted); opacity: 0; transition: opacity .15s; }
a.score:hover .ext { opacity: 1; }
a.score:hover { border-color: var(--accent-line); }
.dp-main .trailer { margin-top: 16px; }
.dp-main .kv { margin: 20px 0 6px; }
.dp-more { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel-alpha); }
.dp-more summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; padding: 11px 14px; font-size: 13.5px; font-weight: 600; color: var(--text2); }
.dp-more summary::-webkit-details-marker { display: none; }
.dp-more summary::after { content: '▾'; margin-left: auto; color: var(--muted); transition: transform .15s; }
.dp-more[open] summary::after { transform: rotate(180deg); }
.dp-more summary b { color: var(--text); }
.dp-more > :not(summary) { margin: 0 14px 12px; }
.dp-admin { display: flex; gap: 16px; margin-top: 14px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--muted); font: inherit; font-size: 12.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--text); }
@media (max-width: 860px) {
  .dp-side .detail-poster { max-width: none; }
}

/* Yönetici: üst menü ve kişinin listeleri penceresi */
.admin-nav { display: flex; gap: 4px; padding: 3px; border-radius: var(--r-md); background: var(--soft); }
.admin-nav .tab { padding: 6px 14px; border-radius: var(--r-sm); font-size: 13px; font-weight: 600; color: var(--text2); text-decoration: none; }
.admin-nav .tab.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
button.uchip.link { cursor: pointer; font: inherit; font-size: 11.5px; }
button.uchip.link:hover { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-text); }
.lists-dlg { max-width: min(680px, calc(100vw - 24px)); }
.ld-inner { position: relative; padding: 24px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ld-inner h2 { margin: 4px 0 2px; font-size: 22px; }
.ld-tabs { display: flex; gap: 6px; margin: 16px 0 10px; }
.ld-tabs .tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: transparent; color: var(--text2); font: inherit; font-size: 13px; cursor: pointer; }
.ld-tabs .tab.active { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-text); }
.ld-tabs svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.ld-list { display: grid; gap: 4px; max-height: 60vh; overflow: auto; }
.ld-row { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 12px; align-items: center; padding: 7px 8px; border-radius: var(--r-md); text-decoration: none; color: var(--text); }
.ld-row:hover { background: var(--soft); }
.ld-poster { width: 40px; aspect-ratio: 2/3; border-radius: 6px; overflow: hidden; background: var(--ph1); }
.ld-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-main { display: flex; flex-direction: column; min-width: 0; font-size: 13.5px; }
.ld-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-main .muted { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-scores { display: flex; gap: 6px; font-size: 11.5px; font-weight: 700; }
.ld-imdb { padding: 2px 6px; border-radius: 5px; background: #f5c518; color: #000; }
.ld-rt { padding: 2px 6px; border-radius: 5px; background: #fa320a; color: #fff; }
.ld-at { font-size: 12px; white-space: nowrap; }
@media (max-width: 560px) { .ld-row { grid-template-columns: 36px 1fr auto; } .ld-at { display: none; } }

/* ---------- yönetici analizi ---------- */
.viz { --s1: #2a78d6; --s2: #eb6834; --vz-tick: #0f1d33; max-width: 1180px; }
:root[data-theme="dark"] .viz, :root[data-theme="dark"] .vz-tip { --s1: #3987e5; --s2: #d95926; --vz-tick: #e6edf5; }
.vz-tip { --s1: #2a78d6; --s2: #eb6834; }
.vz-kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.vz-kpi { padding: 16px 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.vz-kpi:last-child { border-right: 0; }
.vz-kpi b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.vz-kpi span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.vz-kpi small { font-size: 12px; color: var(--text2); }
.vz-insights ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.vz-insights li { position: relative; padding-left: 18px; color: var(--text2); line-height: 1.55; font-size: 14px; }
.vz-insights li::before { content: ''; position: absolute; left: 3px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.vz-insights b { color: var(--text); }
.vz-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vz-two > .admin-card { margin-bottom: 18px; min-width: 0; }
.vz-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 10px; font-size: 12px; color: var(--text2); }
.vz-legend span { display: inline-flex; align-items: center; gap: 6px; }
.vz-legend i { width: 10px; height: 10px; border-radius: 3px; }
.vz-legend i.tick { width: 2px; height: 12px; border-radius: 1px; background: var(--vz-tick); }
.s1 { fill: var(--s1); background: var(--s1); }
.s2 { fill: var(--s2); background: var(--s2); }
.vz-svg { width: 100%; height: auto; display: block; overflow: visible; }
.vz-grid { stroke: var(--line); stroke-width: 1; }
.vz-base { stroke: var(--line-hover); stroke-width: 1; }
.vz-axis { fill: var(--muted); font-size: 11px; font-family: inherit; }
.vz-tick { stroke: var(--vz-tick); stroke-width: 2; stroke-linecap: round; }
.vz-hit { cursor: default; outline: none; }
.vz-hit:hover rect.s1, .vz-hit:hover rect.s2, .vz-hit:focus rect.s1, .vz-hit:focus rect.s2 { opacity: .8; }
.vz-hbars { display: grid; gap: 7px; }
.vz-hrow { display: grid; grid-template-columns: 110px 1fr 92px; align-items: center; gap: 12px; font-size: 13px; padding: 2px 0; border-radius: 6px; outline: none; }
.vz-hrow:hover, .vz-hrow:focus { background: var(--soft); }
.vz-hl { color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vz-htrack { position: relative; height: 12px; }
.vz-htrack i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 0 4px 4px 0; min-width: 2px; }
.vz-htrack .tick { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--vz-tick); box-shadow: 0 0 0 2px var(--surface); }
.vz-hv { text-align: right; font-variant-numeric: tabular-nums; color: var(--text); font-weight: 600; white-space: nowrap; }
.vz-hv em { font-style: normal; font-size: 11px; font-weight: 700; margin-left: 6px; color: var(--muted); }
.vz-hv em.up { color: var(--good); }
.vz-hv em.down { color: var(--danger); }
.vz-top { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.vz-top li { border-radius: var(--r-md); outline: none; }
.vz-top li:hover, .vz-top li:focus-within { background: var(--soft); }
.vz-top a { display: grid; grid-template-columns: 22px 36px 1fr auto; gap: 10px; align-items: center; padding: 6px 8px; color: var(--text); text-decoration: none; }
.vz-rank { font-weight: 800; color: var(--muted); font-size: 13px; text-align: center; font-variant-numeric: tabular-nums; }
.vz-poster { width: 36px; aspect-ratio: 2/3; border-radius: 5px; overflow: hidden; background: var(--ph1); }
.vz-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vz-tmain { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; }
.vz-tmain b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vz-tmain .muted { font-size: 11.5px; }
.vz-bar { height: 6px; margin-top: 3px; }
.vz-bar i { display: block; height: 100%; border-radius: 0 4px 4px 0; }
.vz-count { text-align: right; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; line-height: 1; }
.vz-count small { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); margin-top: 3px; }
.vz-people { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.vz-people li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 4px; border-bottom: 1px solid var(--line); font-size: 13.5px; counter-increment: p; outline: none; }
.vz-people li:last-child { border-bottom: 0; }
.vz-people li span::before { content: counter(p) '.'; display: inline-block; width: 24px; color: var(--muted); font-weight: 700; }
.vz-people li b { font-variant-numeric: tabular-nums; }
.vz-scroll { overflow-x: auto; }
.vz-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.vz-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.vz-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--text2); white-space: nowrap; }
.vz-table td b { color: var(--text); }
.vz-table .r { text-align: right; font-variant-numeric: tabular-nums; }
.vz-heat { border-collapse: separate; border-spacing: 2px; font-size: 12px; }
.vz-heat th { font-weight: 600; color: var(--text2); padding: 4px 8px; white-space: nowrap; text-align: left; }
.vz-heat thead th { writing-mode: vertical-rl; transform: rotate(180deg); text-align: left; height: 110px; vertical-align: bottom; }
.vz-heat td { width: 52px; height: 38px; text-align: center; border-radius: 6px; font-variant-numeric: tabular-nums; color: var(--text); background: color-mix(in srgb, var(--s1) calc(var(--a, 0) * 100%), var(--soft)); outline: none; }
.vz-heat td.vz-self { background: var(--soft2); color: var(--muted); }
.vz-tip { position: fixed; z-index: 100; max-width: 280px; padding: 8px 11px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-hover); box-shadow: var(--shadow); font-size: 12.5px; line-height: 1.5; color: var(--text2); pointer-events: none; }
.vz-tip b { color: var(--text); }
.vz-tip .sw { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.vz-tip .sw.s1 { background: var(--s1); } .vz-tip .sw.s2 { background: var(--s2); }
@media (max-width: 1000px) { .vz-kpis { grid-template-columns: repeat(3, 1fr); } .vz-kpi:nth-child(3n) { border-right: 0; } .vz-kpi:nth-child(-n+3) { border-bottom: 1px solid var(--line); } }
@media (max-width: 760px) { .vz-two { grid-template-columns: 1fr; gap: 0; } .vz-hrow { grid-template-columns: 84px 1fr 78px; gap: 8px; } }
@media (max-width: 520px) { .vz-kpis { grid-template-columns: repeat(2, 1fr); } .vz-kpi { border-right: 1px solid var(--line) !important; } .vz-kpi:nth-child(2n) { border-right: 0 !important; } }

/* =====================================================================
   Telefon ve tablet uyumu: sayfa hiçbir zaman ekrandan taşmaz, her şey yukarı-aşağı kaydırılarak gezilir.
   - Yazı kutuları telefonda 16px: iPhone/Safari odaklanınca sayfayı büyütüp ekran dışına taşırmasın
   - Detay ve ayarlar pencereleri telefonda tam ekran
   - Yana kayan satırlar telefonda alt alta ızgaraya döner
   ===================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: hidden; }
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video, iframe { max-width: 100%; }

@media (max-width: 860px) {
  input, select, textarea { font-size: 16px !important; }
  .sidebar { height: 100vh; height: 100dvh; overflow-y: auto; }

  /* Üst bar: 1. satır menü, marka, simgeler · 2. satır arama · 3. satır sıralama, günün filmleri, filtreler */
  .topbar { position: relative; gap: 8px; padding: 8px 12px 10px; padding-top: max(8px, env(safe-area-inset-top)); min-height: 0; }
  .controls { display: contents; }
  #menuBtn { order: 0; }
  .app-top .brand { order: 1; margin-right: auto; font-size: 15px; }
  .topbar:not(.app-top) { gap: 8px; }
  .topbar:not(.app-top) > div[style] { display: none; }
  .topbar:not(.app-top) .brand { margin-right: auto; }
  #themeBtn { order: 2; }
  #settingsBtn, #siteAdminBtn, #adminLoginBtn { order: 3; }
  #profileChip, #logoutBtn, #logoutIco { order: 4; }
  #settingsBtn .lbl, #siteAdminBtn .lbl, #settingsBtn .pill { display: none; }
  #settingsBtn, #siteAdminBtn, #themeBtn { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .search { order: 5; flex: 1 1 100%; max-width: none; margin-left: 0; }
  #sort { order: 6; flex: 1 1 0; min-width: 0; height: 40px; }
  #suggestBtn { order: 7; height: 40px; }
  .filter-toggle { order: 8; height: 40px; }
  .surprise-btn { order: 7; height: 40px; }
  .mood-btn { order: 7; height: 40px; }
  .filterbar { order: 9; gap: 10px; padding: 6px 0 2px; }
  .fgroup { flex-wrap: wrap; width: 100%; }
  .fgroup > .fl { width: 100%; margin: 0 0 2px; }
  .fchip { padding: 7px 12px; font-size: 13.5px; }

  .notice { font-size: 14px; }

  /* Yana kayan satırlar → alt alta ızgara (en fazla 6 film; devamı "Tümünü gör") */
  .hrow-scroll { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; overflow: visible; padding: 0; margin: 0; }
  .hrow-scroll > :nth-child(n+7) { display: none; }
  .hrow-head { flex-wrap: wrap; }
  .hrow-head h2 { font-size: 18px; }
  .mini-row { display: grid !important; grid-auto-flow: row !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 10px; overflow: visible !important; }
  .mini-row > :nth-child(n+7) { display: none; }
  .mini { width: auto !important; min-width: 0; }


  /* Pencereler telefonda tam ekran */
  dialog#detail, dialog#settings { max-width: 100vw; width: 100vw; height: 100vh; height: 100dvh; max-height: none; margin: 0; }
  .detail-inner { border-radius: 0; min-height: 100%; border: 0; }
  #detail .close { position: fixed; top: max(10px, env(safe-area-inset-top)); right: 10px; z-index: 5; }

  /* Film detayı: afiş + düğmeler yan yana, altında bilgiler; fragman tam genişlik 16:9 */
  .detail-body { padding: 16px 14px 28px; gap: 16px; padding-top: max(16px, env(safe-area-inset-top)); }
  .detail h2 { font-size: 24px; }
  .scores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .score { min-width: 0; padding: 8px 9px; flex-direction: column; align-items: flex-start; gap: 5px; }
  .score .v { font-size: 18px; }
  .score .l { font-size: 10.5px; }
  .score .ext { opacity: 1; }
  .plot { font-size: 14.5px; }
  .trailer, .dp-main .trailer { max-width: none; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-md); }
  .trailer-play .play { width: 54px; height: 54px; }
  .kv { grid-template-columns: 84px minmax(0, 1fr); font-size: 13px; }
  .kv dd { overflow-wrap: anywhere; }
  .src { flex-wrap: wrap; }
  .src .n { white-space: normal; overflow-wrap: anywhere; }

  /* Günün 10 filmi: afiş + başlık üstte, puanlar ve özet tam genişlikte */
  .pick { grid-template-columns: 104px minmax(0, 1fr); gap: 10px 14px; padding: 14px; }
  .pick-poster { grid-row: 1 / span 3; align-self: start; }
  .pick-poster img { width: 104px; }
  .pick-rank { font-size: 38px; left: -4px; top: -8px; }
  .pick-body { display: contents; }
  .pick-body > * { position: relative; z-index: 2; grid-column: 2; }
  .pick-body h2 { font-size: 18px; align-self: start; }
  .pick-meta { margin: 4px 0 0; font-size: 12.5px; gap: 4px 10px; }
  .pick-body .pick-scores, .pick-body .pick-plot, .pick-body .pick-dir, .pick-body .pick-actions { grid-column: 1 / -1; }
  .pick-scores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 4px 0 0; }
  .pick-plot { margin: 0; -webkit-line-clamp: 5; }
  .pick-dir { margin: 0; }
  .pick-actions { flex-wrap: wrap; }
  .pick-actions .btn { flex: 1 1 auto; justify-content: center; }
  .pick::before { background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 55%, transparent) 0%, var(--surface) 45%); }
  .picks-head { padding: 18px; flex-wrap: wrap; }
  .picks-head h1 { font-size: 24px; }

  /* Ayarlar */
  .settings-inner { --set-pad-x: 14px; --set-pad-y: 12px; border-radius: 0; min-height: 100%; height: 100%; max-height: 100vh; max-height: 100dvh; padding-bottom: 28px; }
  .settings-head { flex-wrap: wrap; gap: 10px; padding-top: max(10px, env(safe-area-inset-top)); }
  .settings-head .tabs { order: 3; flex: 1 1 100%; }
  .settings-head .tab { flex: 1; justify-content: center; }
  .set-grid > *, .set-card { min-width: 0; }
  .set-card .btn { white-space: normal; text-align: center; }
  .vtable-wrap { overflow: visible; }
  .vtable, .vtable tbody, .vtable tr, .vtable td { display: block; width: 100%; white-space: normal; }
  .vtable thead { display: none; }
  .vtable tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  .vtable td { padding: 2px 0; border: 0; }
  .vtable tbody tr { padding: 8px 10px; margin-bottom: 4px; border-radius: var(--r-sm); border-bottom: 0; }
  .vtable tbody tr.on { background: var(--row-on); box-shadow: inset 3px 0 0 var(--row-on-edge); }
  .vtable tbody tr.off { background: var(--row-off); box-shadow: inset 3px 0 0 var(--row-off-edge); }
  .vtable tbody tr td, .vtable tbody tr td:first-child { background: none !important; box-shadow: none !important; }

  /* Yönetici ekranları */
  .admin-main { padding: 16px 14px 50px; }
  .admin-nav { order: 9; flex: 1 1 100%; }
  .admin-nav .tab { flex: 1; text-align: center; }
  .picks-head p { overflow-wrap: anywhere; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
  .card .meta { padding: 8px 1px 0; }
  .card .meta .t { font-size: 12.5px; }
  .card .meta .s { font-size: 11px; }
  .listbar { flex-wrap: wrap; gap: 10px; }
  .listbar h1 { font-size: 22px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { padding: 14px; }
  .tile b { font-size: 22px; }
  .readiness { padding: 14px; }
  .ready-body h2 { font-size: 17px; }
  /* Analiz tablosu telefonda satır başına bir kart */
  .vz-table, .vz-table tbody, .vz-table tr, .vz-table td { display: block; width: 100%; }
  .vz-table thead { display: none; }
  .vz-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .vz-table td { border: 0; padding: 0; white-space: normal; text-align: left !important; }
  .vz-table td.vz-who { grid-column: 1 / -1; margin-bottom: 4px; }
  .vz-table td[data-l]::before { content: attr(data-l); display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
  .vz-hrow { grid-template-columns: 76px minmax(0, 1fr) 70px; }
  .vz-kpi b { font-size: 22px; }
}

@media (max-width: 380px) {
  .grid, .hrow-scroll, .mini-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .hrow-scroll > :nth-child(n+5), .mini-row > :nth-child(n+5) { display: none; }
  .pick { grid-template-columns: 88px minmax(0, 1fr); }
  .pick-poster img { width: 88px; }
  .score .logo { font-size: 10px; }
}

/* Giriş sayfası: solda site tanıtımı, sağda giriş kartı ve ilk kez gelenler için rehber */
.auth-page::before {
  background:
    linear-gradient(90deg, rgba(6, 6, 8, .86) 0%, rgba(6, 6, 8, .62) 42%, rgba(6, 6, 8, .82) 70%, rgba(6, 6, 8, .92) 100%),
    linear-gradient(0deg, rgba(6, 6, 8, .85) 0%, rgba(6, 6, 8, 0) 28%);
}
.auth-page { column-gap: 6vw; }
.intro { position: relative; grid-column: 1; grid-row: 1; max-width: 620px; padding: 20px 0; }
.intro-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ff8f92; }
.intro h2 { margin: 12px 0 14px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; color: #fff; }
.intro h2 span { color: #ff9497; }
.intro-lead { margin: 0 0 22px; font-size: 15.5px; line-height: 1.65; color: rgba(243, 244, 246, .82); }
.intro-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.intro-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.intro-list i { width: 36px; height: 36px; border-radius: var(--r-md); display: grid; place-items: center; font-style: normal; font-size: 17px; color: #fff; background: linear-gradient(145deg, #ff6a6e, #e5484d 60%, #b51d27); box-shadow: 0 6px 18px rgba(229, 72, 77, .22); }
.intro-list b { display: block; color: #fff; font-size: 14.5px; margin-bottom: 2px; }
.intro-list span { font-size: 13.5px; line-height: 1.5; color: rgba(243, 244, 246, .72); }
.intro-note { margin: 0; font-size: 13px; color: rgba(243, 244, 246, .6); }
.login-card .auth-step p b { color: #fff; font-weight: 650; }
.hint-line { padding: 10px 12px; border-radius: var(--r-md); background: rgba(229, 72, 77, .09); border: 1px solid rgba(229, 72, 77, .2); font-size: 13px !important; line-height: 1.55; color: rgba(243, 244, 246, .85) !important; }
.guide { margin-top: 4px; border-radius: var(--r-md); border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); }
.guide summary { cursor: pointer; padding: 11px 14px; font-weight: 650; font-size: 13.5px; color: #ff9497; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.guide summary::-webkit-details-marker { display: none; }
.guide summary::after { content: '▾'; transition: transform .15s; }
.guide[open] summary::after { transform: rotate(180deg); }
.guide ol { margin: 0; padding: 0 14px 14px 32px; display: grid; gap: 7px; font-size: 13px; line-height: 1.5; color: rgba(243, 244, 246, .78); }
.guide ol b { color: #fff; font-weight: 650; }
.guide li::marker { color: #ff8f92; font-weight: 700; }
@media (max-width: 860px) {
  .auth-page { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding: 20px 14px 0; padding-top: max(20px, env(safe-area-inset-top)); }
  .auth-page::before { background: linear-gradient(180deg, rgba(6, 6, 8, .7) 0%, rgba(6, 6, 8, .9) 40%, rgba(6, 6, 8, .95) 100%); }
  .auth-page .login-card { grid-column: 1; grid-row: 1; max-width: 520px; width: 100%; padding: 22px 18px; }
  .intro { grid-column: 1; grid-row: 2; max-width: 520px; justify-self: center; padding: 28px 4px 8px; }
  .intro h2 { font-size: 26px; }
  .intro-lead { font-size: 14.5px; }
  .auth-page .login-foot { grid-row: 3; margin: 24px -14px 0; padding: 14px 16px 16px; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}

/* Telefon uyumu (ek): gündem kartları, profil düğmeleri, dar ekranda üst bar tek satır */
@media (max-width: 860px) {
  .trend { padding: 16px 14px; }
  .trend-grid { grid-template-columns: minmax(0, 1fr); }
  .trend-item { min-width: 0; }
  .trend-poster { flex-basis: 64px; }
  .trend-poster img { width: 64px; }
  .trend-scores { flex-wrap: wrap; }
  .profile-card .row { flex-wrap: wrap; }
  .profile-card .row .btn { flex: 1 1 auto; justify-content: center; }
  .profile-facts { grid-template-columns: 80px minmax(0, 1fr); }
  .profile-facts dd { overflow-wrap: anywhere; }
}
@media (max-width: 400px) {
  .app-top { gap: 6px; }
  #settingsBtn, #siteAdminBtn, #themeBtn { width: 38px; height: 38px; }
}

/* Ekranda görünmeyen ama tarayıcının ve ekran okuyucunun gördüğü alan (şifre yöneticisi için kullanıcı adı) */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }

/* Film detayı: listeye eklenme tarihi */
.dp-added { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 6px; padding: 4px 10px; border-radius: var(--r-pill); font-size: 12.5px; color: var(--text2); background: var(--soft); border: 1px solid var(--line); }
.dp-added .ico { color: var(--accent-ink); }
.dp-added b { color: var(--text); font-weight: 650; }

/* Giriş: bu cihazda giriş yapılan hesaplar */
.saved-accts { display: grid; gap: 6px; }
.sa-title { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(243, 244, 246, .6); }
.sa-row { display: flex; gap: 6px; align-items: stretch; }
.sa-acct { flex: 1; min-width: 0; display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid rgba(229, 72, 77, .28); background: rgba(229, 72, 77, .08); color: #f3f4f6; font: inherit; text-align: left; cursor: pointer; transition: background var(--dur-2), border-color .15s; }
.sa-acct:hover, .sa-acct:focus-visible { background: rgba(229, 72, 77, .16); border-color: rgba(229, 72, 77, .55); outline: none; }
.sa-av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(145deg, #ff6a6e, #e5484d 60%, #b51d27); }
.sa-txt { display: flex; flex-direction: column; min-width: 0; font-size: 13.5px; }
.sa-txt b { color: #fff; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-txt span { color: rgba(243, 244, 246, .75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-go { margin-left: auto; font-size: 22px; color: #ff8f92; line-height: 1; }
.sa-x { flex: none; width: 34px; border-radius: var(--r-md); border: 1px solid rgba(255, 255, 255, .1); background: transparent; color: rgba(243, 244, 246, .5); cursor: pointer; }
.sa-x:hover { color: #ff9b8a; border-color: rgba(255, 155, 138, .4); }
.sa-or { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; font-size: 12px; color: rgba(243, 244, 246, .5); }
.sa-or::before, .sa-or::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, .1); }

/* Giriş: şifre adımında e-posta alanı (tarayıcı şifre kasası kullanıcı adını buradan alır) */
.acct-field { display: grid; gap: 6px; font-size: 12.5px; color: rgba(243, 244, 246, .7); }
.acct-field a { font-weight: 600; }
.acct-field input[readonly] { opacity: .8; cursor: default; }

/* Yönetici ekranı: yükleme / işlem hatası (kırmızı ve belirgin) */
.load-err { display: grid; gap: 4px; margin: 0 0 16px; padding: 14px 16px 14px 46px; position: relative; border-radius: var(--r-lg); border: 1.5px solid var(--danger); background: var(--danger-soft); color: var(--danger); font-size: 14px; line-height: 1.5; }
.load-err::before { content: '!'; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--danger); color: #fff; font-weight: 800; font-size: 14px; }
.load-err b { font-size: 15px; }
.load-err span { color: var(--text); }
.load-err small { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.load-err .btn { color: var(--danger); border-color: var(--danger); }

/* Ayarlar: çalışıyor göstergesi */
/* film makarası yükleme simgesi: küçük (düğme içi) ve büyük (sayfa yüklenirken) */
.spin { display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Ccircle cx='12' cy='12' r='1.6'/%3E%3Ccircle cx='12' cy='6.6' r='2'/%3E%3Ccircle cx='17.1' cy='10.3' r='2'/%3E%3Ccircle cx='15.2' cy='16.4' r='2'/%3E%3Ccircle cx='8.8' cy='16.4' r='2'/%3E%3Ccircle cx='6.9' cy='10.3' r='2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Ccircle cx='12' cy='12' r='1.6'/%3E%3Ccircle cx='12' cy='6.6' r='2'/%3E%3Ccircle cx='17.1' cy='10.3' r='2'/%3E%3Ccircle cx='15.2' cy='16.4' r='2'/%3E%3Ccircle cx='8.8' cy='16.4' r='2'/%3E%3Ccircle cx='6.9' cy='10.3' r='2'/%3E%3C/svg%3E") center / contain no-repeat; animation: spin 1.1s linear infinite; }
.reel-loader { display: grid; justify-items: center; gap: 12px; padding: 48px 16px; color: var(--muted); font-size: 13px; text-align: center; }
.reel-loader .reel { width: 44px; height: 44px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Ccircle cx='12' cy='12' r='1.6'/%3E%3Ccircle cx='12' cy='6.6' r='2'/%3E%3Ccircle cx='17.1' cy='10.3' r='2'/%3E%3Ccircle cx='15.2' cy='16.4' r='2'/%3E%3Ccircle cx='8.8' cy='16.4' r='2'/%3E%3Ccircle cx='6.9' cy='10.3' r='2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Ccircle cx='12' cy='12' r='1.6'/%3E%3Ccircle cx='12' cy='6.6' r='2'/%3E%3Ccircle cx='17.1' cy='10.3' r='2'/%3E%3Ccircle cx='15.2' cy='16.4' r='2'/%3E%3Ccircle cx='8.8' cy='16.4' r='2'/%3E%3Ccircle cx='6.9' cy='10.3' r='2'/%3E%3C/svg%3E") center / contain no-repeat; animation: spin 1.4s linear infinite; }
.reel-loader .strip { width: 72px; height: 10px; border-radius: 2px; border-block: 2px solid var(--line-hover); background: repeating-linear-gradient(90deg, var(--line-hover) 0 4px, transparent 4px 9px); background-size: 9px 100%; animation: strip-run .6s linear infinite; }
@keyframes strip-run { to { background-position: 9px 0; } }
.detail-skel .skel-poster { display: grid; place-items: center; }
.detail-skel .skel-poster::before { content: ""; width: 40px; height: 40px; background: var(--muted); opacity: .6; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Ccircle cx='12' cy='12' r='1.6'/%3E%3Ccircle cx='12' cy='6.6' r='2'/%3E%3Ccircle cx='17.1' cy='10.3' r='2'/%3E%3Ccircle cx='15.2' cy='16.4' r='2'/%3E%3Ccircle cx='8.8' cy='16.4' r='2'/%3E%3Ccircle cx='6.9' cy='10.3' r='2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Ccircle cx='12' cy='12' r='1.6'/%3E%3Ccircle cx='12' cy='6.6' r='2'/%3E%3Ccircle cx='17.1' cy='10.3' r='2'/%3E%3Ccircle cx='15.2' cy='16.4' r='2'/%3E%3Ccircle cx='8.8' cy='16.4' r='2'/%3E%3Ccircle cx='6.9' cy='10.3' r='2'/%3E%3C/svg%3E") center / contain no-repeat; animation: spin 1.4s linear infinite; }
/* sayfa geçişi: yeni görünüm hafifçe yukarı kayarak belirir */
.view-in { animation: view-in .38s var(--ease-out) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* TMDB puanı (kutu ve kart rozeti) */
.score .logo.tmdb { background: #0d253f; color: #01d277; }
.badge.tmdb { background: rgba(13, 37, 63, .92); color: #fff; }
.badge.tmdb b { background: #01d277; color: #0d253f; }
@media (max-width: 860px) { .scores { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Ayarlar: OMDb dışı kaynaklar kartı */
.tag.ok { color: var(--good); border-color: color-mix(in srgb, var(--good) 40%, var(--line)); background: var(--good-soft); }
.tag.warn { color: var(--danger); border-color: var(--danger); background: var(--danger-soft); }

/* Ayarlar > İçerik: bilgisi olmayan filmler menüsü, güncelleme kaynak dökümü, arşiv doluluğu */
.info-menu { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.info-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--text2); font: inherit; font-size: 13px; cursor: pointer; }
.info-chip b { color: var(--text); font-variant-numeric: tabular-nums; }
.info-chip:hover { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-text); }
.info-chip.bad .ico { color: var(--danger); }
.fill-list { display: grid; gap: 6px; }
.fill-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 64px 40px; gap: 10px; align-items: center; font-size: 12.5px; color: var(--text2); }
.fill-bar { height: 8px; border-radius: var(--r-pill); background: var(--track); overflow: hidden; }
.fill-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: var(--r-pill); transition: width .6s; }
.fill-row b { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.fill-row em { font-style: normal; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .fill-row { grid-template-columns: 96px minmax(0, 1fr) 56px; } .fill-row em { display: none; } }

/* Sayfalama (Güvenlik sekmesi) */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 10px; }
.pager:empty { display: none; }
.pg { min-width: 32px; height: 32px; padding: 0 8px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--text2); font: inherit; font-size: 13px; cursor: pointer; font-variant-numeric: tabular-nums; }
.pg:hover:not(:disabled) { border-color: var(--accent-line); color: var(--accent-text); }
.pg.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 700; }
.pg:disabled { opacity: .4; cursor: default; }
.pg-gap { padding: 0 4px; color: var(--muted); }
.pg-info { margin-right: auto; font-size: 12.5px; color: var(--muted); }

/* Kategori özeti: liste sayfasının başında, poster kartı yüksekliğinde tek satır */
.cat-sum { display: grid; grid-template-columns: minmax(200px, 1.05fr) 196px minmax(200px, 1.1fr) minmax(190px, 1fr) minmax(220px, 1.15fr); gap: 12px; height: 300px; margin: 0 0 22px; }
.cat-sum[hidden] { display: none; }
.cs-tile { min-width: 0; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); padding: 16px; display: flex; flex-direction: column; overflow: hidden; }
.cs-t { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.cs-t .ico { color: var(--accent-ink); }
.cs-head { background: linear-gradient(160deg, var(--accent-soft), var(--surface) 70%); }
.cs-big { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 8px; }
.cs-big b { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.cs-big span { color: var(--muted); font-weight: 600; }
.cs-ready { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text2); }
.cs-bar { flex: 1; height: 8px; border-radius: var(--r-pill); background: var(--track); overflow: hidden; }
.cs-bar i { display: block; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.cs-facts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.cs-facts li { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.cs-facts b { color: var(--text); font-variant-numeric: tabular-nums; }
.cs-last { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text2); }
.cs-top { position: relative; padding: 0; cursor: pointer; font: inherit; color: #fff; text-align: left; background: var(--ph1); }
.cs-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cs-top:hover img { transform: scale(1.04); }
.cs-top::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .85) 100%); }
.cs-top-body { position: relative; z-index: 1; margin-top: auto; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.cs-top-body .eyebrow { color: #ff9497; font-size: 10px; }
.cs-top-body b { font-size: 15px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cs-top-sc { display: flex; gap: 5px; margin-top: 2px; }
.cs-best ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: b 1; }
.cs-best li button { width: 100%; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 7px 6px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text); font: inherit; font-size: 13px; text-align: left; cursor: pointer; counter-increment: b; }
.cs-best li button::before { content: counter(b); font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.cs-best li button:hover { background: var(--soft); }
.cs-bt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.cs-best li .muted { font-size: 11.5px; }
.cs-best li b { font-size: 11.5px; color: var(--text2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cs-g { display: grid; grid-template-columns: 74px minmax(0, 1fr) 38px; gap: 8px; align-items: center; font-size: 12.5px; color: var(--text2); padding: 5px 0; }
.cs-gbar { height: 9px; border-radius: 0 4px 4px 0; background: var(--track); overflow: hidden; }
.cs-gbar i { display: block; height: 100%; background: var(--accent); border-radius: 0 4px 4px 0; }
.cs-g b { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.cs-headline { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.cs-headline b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cs-headline span { font-size: 12.5px; color: var(--muted); }
.cs-cols { flex: 1; display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 3px; align-items: end; min-height: 0; }
.cs-col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.cs-col i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: var(--accent); min-height: 2px; }
.cs-col i.zero { background: var(--track); }
.cs-col:first-child i { background: var(--line-hover); }
.cs-col span { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 1400px) { .cat-sum { grid-template-columns: minmax(200px, 1fr) 180px minmax(200px, 1.1fr) minmax(220px, 1.1fr); } .cs-genres { display: none; } }
@media (max-width: 1100px) { .cat-sum { grid-template-columns: minmax(200px, 1fr) 170px minmax(220px, 1.2fr); } .cs-best { display: none; } }
@media (max-width: 860px) {
  .cat-sum { grid-template-columns: 1fr 1fr; height: auto; gap: 10px; }
  .cs-genres, .cs-best { display: flex; }
  .cs-head { grid-column: 1 / -1; }
  .cs-top { min-height: 240px; }
  .cs-years { min-height: 240px; }
  .cs-best, .cs-genres { grid-column: 1 / -1; }
  .cs-big b { font-size: 36px; }
}

.cs-best li button { grid-template-columns: 16px minmax(0, 1fr) auto; }
.cs-facts { gap: 8px 12px; }
.cs-facts li { flex-direction: column; justify-content: flex-start; gap: 1px; border-bottom: 0; padding: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.cs-facts b { font-size: 17px; letter-spacing: 0; text-transform: none; }

/* Kategori özeti telefonda: özet tam genişlik, altında zirvedeki film ve yıl grafiği yan yana (kısa kalsın) */
@media (max-width: 860px) {
  .cat-sum { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cat-sum .cs-best, .cat-sum .cs-genres { display: none; }
  .cs-top, .cs-years { min-height: 0; height: 220px; grid-column: auto; }
  .cs-years { padding: 12px; }
  .cs-headline b { font-size: 22px; }
  .cs-cols { grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 2px; }
  .cs-col span { font-size: 8px; }
}

/* Film detayı: puan kutuları tek satırda */
.dp-main .scores { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.dp-main .score { min-width: 0; padding: 9px 10px; gap: 9px; }
.dp-main .score .v { font-size: 19px; }
.dp-main .score .l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-main .score > div { min-width: 0; }
.dp-main .score { overflow: hidden; }
.dp-main .score .logo { flex: none; }
.dp-main .score .v { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Mobil: 4 kutu 2×2 dizilir; her yazı kutunun içinde kalır, sığmayan kısım "…" ile kısalır */
@media (max-width: 860px) {
  .dp-main .scores { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .dp-main .score { flex-direction: row; align-items: center; gap: 8px; padding: 8px 10px; width: 100%; box-sizing: border-box; }
  .dp-main .score > div { flex: 1 1 auto; min-width: 0; overflow: hidden; }
  .dp-main .score .logo { font-size: 10px; padding: 2px 5px; }
  .dp-main .score .v { font-size: 17px; }
  .dp-main .score .v small { font-size: 10.5px; }
  .dp-main .score .l { font-size: 10.5px; white-space: normal; overflow-wrap: anywhere; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .dp-main .score .ext { display: none; }
}

/* Sana özel */
.fy-head .eyebrow { display: inline-flex; align-items: center; gap: 6px; }
.fy-basis { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.fy-basis span { margin-right: 2px; }
.fy-basis b { padding: 3px 10px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-text); font-weight: 650; }
.fy-item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fy-why { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--accent-text); min-width: 0; }
.fy-why .ico { flex: none; width: 12px; height: 12px; }
.fy-why span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Bilgi bulunamadı: yeniden arama ilerlemesi */
.retry-bar { display: grid; gap: 6px; margin: 0 0 16px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--info-line); background: var(--info-soft); font-size: 13.5px; color: var(--text2); }
.retry-bar[hidden] { display: none; }
.retry-bar b.ok { color: var(--good); }

/* Giriş seçimi: üye olmadan gez | üye girişi / üye ol */
.auth-step[hidden] { display: none !important; }
#stepChoice { display: grid; gap: 12px; }
.choice { display: grid; gap: 12px; }
.choice-opt { display: grid; gap: 8px; padding: 16px; border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); }
.choice-opt.rec { border-color: rgba(229, 72, 77, .45); background: rgba(229, 72, 77, .07); }
.choice-opt h2 { margin: 0; font-size: 16px; font-weight: 750; color: #fff; }
.choice-list { margin: 0 0 4px; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13px; line-height: 1.45; color: rgba(243, 244, 246, .8); }
.choice-list li { position: relative; padding-left: 22px; }
.choice-list li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.choice-list li.yes::before { content: '✓'; color: #8fdcb3; }
.choice-list li.no { color: rgba(243, 244, 246, .55); }
.choice-list li.no::before { content: '✕'; color: #ff9b8a; }
.choice-list li.plus::before { content: '+'; color: #ff9497; }
.choice-list b { color: #fff; font-weight: 650; }
.back-line { margin: 0 0 -4px !important; font-size: 13px !important; }
.back-line a { text-decoration: none; }

/* Üst çubuk: kayıtlı üye ve şu an sitedeki kişi sayısı */
.site-stats { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 6px 16px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.site-stats[hidden] { display: none; }
.site-stats b { color: var(--text); font-weight: 750; font-variant-numeric: tabular-nums; }
.site-stats .dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); vertical-align: 1px; }
.site-stats .sep { opacity: .4; }

/* Ziyaretçi: üye ol çağrısı */
.guest-cta { display: grid; gap: 10px; max-width: 560px; margin: 40px auto; padding: 24px; border-radius: var(--r-xl); border: 1px solid var(--accent-line); background: var(--accent-soft); text-align: center; }
.guest-cta h2 { margin: 0; font-size: 20px; }
.guest-cta p { margin: 0; color: var(--muted); line-height: 1.55; }
.guest-cta .btn { justify-self: center; }

/* Kendi listelerim: filme ekleme menüsü */
.clist-menu { display: grid; gap: 6px; margin-top: 10px; padding: 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-2); }
.clist-menu label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; }
.clist-menu form { display: flex; gap: 6px; margin-top: 4px; }
.clist-menu input[type="text"] { flex: 1; min-width: 0; padding: 8px 10px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.clist-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.clist-menu label .small { margin-left: auto; font-size: 12px; }

/* Filtreler: hitap ettiği kitle (yaş sınırı) */
@media (min-width: 900px) { .age-pop { width: min(420px, 90vw); left: auto; right: 0; } }

/* Bilgi arama ilerlemesi: site site */
.retry-bar { gap: 10px; }
.rb-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; font-size: 14px; }
.rb-kpi b { font-size: 16px; color: var(--text); }
.rb-kpi b.ok { color: var(--good); }
.rb-sites { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.rb-site { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; display: grid; gap: 3px; align-content: start; }
.rb-name { font-weight: 700; font-size: 13px; color: var(--text); margin-bottom: 2px; }
.rb-row { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.rb-row b { color: var(--text); font-variant-numeric: tabular-nums; }
.rb-row b.ok { color: var(--good); }
.rb-note { font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.rb-now { font-size: 12.5px; color: var(--text2); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rb-recent { display: grid; gap: 2px; font-size: 12.5px; }
.rb-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; padding: 4px 8px; border-radius: 6px; background: var(--surface); }
.rb-item .rb-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.rb-item .rb-src { color: var(--muted); }
.rb-item.ok .rb-sc { color: var(--good); font-weight: 600; }
.rb-item.no .rb-t { color: var(--muted); }
@media (max-width: 600px) {
  .rb-item { grid-template-columns: minmax(0, 1fr) auto; }
  .rb-item .rb-src { display: none; }
}

/* Ayarlar: dolu teker simgesi, her ekranda belirgin */
.ico .solid { fill: currentColor; stroke: none; }
#settingsBtn .ico { font-size: 18px; color: var(--accent-ink); }
@media (max-width: 760px) { #settingsBtn .ico { font-size: 21px; } }
/* Üst çubuk: farklı ziyaretçi sayıları */
.site-stats .visits { white-space: nowrap; }
@media (max-width: 600px) { .site-stats { gap: 4px 10px; } .site-stats .visits { white-space: normal; text-align: center; } .site-stats .sep { display: none; } }

/* En çok ziyaret edilen filmler */
.pop-info { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 14px; padding: 14px 16px; border-radius: var(--r-lg); border: 1px solid var(--info-line); background: var(--info-soft); color: var(--text2); font-size: 13.5px; line-height: 1.45; }
.pop-info > .ico { flex: none; font-size: 22px; color: var(--accent-ink); margin-top: 1px; }
.pop-info b { display: block; font-size: 16px; color: var(--text); margin-bottom: 2px; }
.pop-sum { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.pop-sum b { color: var(--text); }
.pop-item .poster { position: relative; }
.pop-count { position: absolute; top: 7px; right: 7px; z-index: 3; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: var(--r-pill); background: rgba(12, 18, 32, .82); color: #fff; font-size: 12.5px; font-weight: 750; font-variant-numeric: tabular-nums; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.pop-count .ico { font-size: 13px; }
.pop-rank { position: absolute; left: 7px; bottom: 34px; z-index: 3; min-width: 26px; height: 26px; padding: 0 6px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.pop-item .umark { top: 38px; }
.empty-note { padding: 40px 16px; text-align: center; color: var(--muted); }


/* Otomatik güncelleme beklemesi */
.pill.idle { background: color-mix(in srgb, #ffb800 20%, var(--surface)); color: color-mix(in srgb, #8a5d00 85%, var(--text)); }
.tag.idle { background: color-mix(in srgb, #ffb800 20%, var(--surface)); color: color-mix(in srgb, #8a5d00 85%, var(--text)); }
.live-pill.idle { background: color-mix(in srgb, #ffb800 22%, var(--surface)); color: color-mix(in srgb, #8a5d00 85%, var(--text)); }
.live-pill.idle i { background: #e0a100; animation: none; }
.live-idle { margin-top: 10px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 8px 12px; border-radius: var(--r-md); font-size: 13px; color: var(--text2);
  border: 1px solid color-mix(in srgb, #e0a100 45%, transparent); background: color-mix(in srgb, #ffb800 12%, var(--surface)); }

/* Gündem: kaynak durumu */

/* Sağ üst: profilin yanında simge çıkış düğmesi */
.logout-ico { width: 34px; height: 34px; padding: 0; display: inline-grid; place-items: center; border-radius: 50%; color: var(--muted); }
.logout-ico[hidden] { display: none; }
.logout-ico .ico { font-size: 16px; }
.logout-ico:hover { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }

/* ================= Sıkı yerleşim: gereksiz dikey ve yatay boşluklar azaltıldı ================= */
/* Her ekranda: Ayarlar paneli */
.tabpanel { padding-top: 14px; }
.set-grid { gap: 10px; }
.set-card { padding: 12px 14px; gap: 8px; border-radius: var(--r-md); }
.set-card .hint { margin: 0; }
.set-title { margin: 14px 0 8px; }
.sumcard { padding: 11px 13px 10px; }
.sc-val { margin-top: 6px; font-size: 21px; }
.sc-bar { margin-top: 7px; }
.info-menu { margin-bottom: 10px; }
.bridge-bar { margin-bottom: 10px; }
.retry-bar { margin-bottom: 12px; }
.notice, .load-err { margin-bottom: 12px; }
.listbar { margin-bottom: 12px; }
.site-stats { padding: 4px 16px; }

/* Bilgisayar ve tablet: yönetim ekranları sıkı kalır */
@media (min-width: 861px) {
  .ready-body h2 { margin: 4px 0; font-size: 20px; }
  .ready-body p { margin-bottom: 10px; line-height: 1.55; }
  .pop-info { padding: 12px 14px; margin-bottom: 10px; }
  .dp-main .scores { margin: 12px 0 14px; }
  .dp-main .kv { margin: 16px 0 4px; }
  .admin-main { padding: 20px 24px 48px; }
  .admin-card { padding: 16px 18px; margin-bottom: 14px; }
  .admin-card h2 { margin-bottom: 10px; }
}

/* ===== Ana sayfa: hero altındaki günlük özet şeridi ===== */
.hero-report { position: relative; z-index: 2; }
.hero-report:empty { display: none; }
.rstrip { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; padding: 10px clamp(22px, 3vw, 40px); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg-elev) 70%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 12.5px; color: var(--muted); }
.rstrip > .ico { font-size: 14px; color: var(--muted); }
.rstrip b { color: var(--text2); font-weight: 650; font-variant-numeric: tabular-nums; }
.rstrip .rs-day b { color: var(--text2); }
.rs-link { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 0; border: 0; background: none; color: var(--accent-ink); font: inherit; font-weight: 600; cursor: pointer; }
.rs-link:hover { text-decoration: underline; }
@media (max-width: 860px) { .rstrip { padding: 8px 14px; gap: 2px 10px; } .rs-link { margin-left: 0; } }

/* ===== Profil açılır menüsü ===== */
.profile-chip[aria-haspopup="menu"]::after { content: ""; width: 7px; height: 7px; margin: 0 2px 2px 2px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg); flex: none; }
.pmenu { position: fixed; top: calc(var(--topbar-h, 64px) - 4px); right: 14px; z-index: var(--z-pop); width: 280px; max-width: calc(100vw - 20px); padding: 6px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; gap: 2px; animation: drop-in var(--dur-2) var(--ease-out); transform-origin: top right; }
.pmenu[hidden] { display: none; }
.pm-head { display: flex; align-items: center; gap: 10px; padding: 8px 10px 10px; margin-bottom: 2px; border-bottom: 1px solid var(--line); min-width: 0; }
.pm-head .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 13px; font-weight: 800; color: var(--on-accent); background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.pm-head div { display: grid; min-width: 0; }
.pm-head b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-head span { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 9px 10px; border: 0; border-radius: var(--r-sm); background: none; color: var(--text); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
.pm-item .ico { font-size: 16px; color: var(--muted); }
.pm-item:hover, .pm-item:focus-visible { background: var(--soft); }
.pm-item[data-pm="logout"] { margin-top: 2px; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; padding-top: 11px; }
.pm-item[data-pm="logout"]:hover { color: var(--danger); }
.pm-item[data-pm="logout"]:hover .ico { color: var(--danger); }
.pm-theme { display: flex; align-items: center; gap: 6px; padding: 6px 10px; }
.pm-theme > span { flex: 1; font-size: 13.5px; }
.pm-th { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--text2); font: inherit; font-size: 12.5px; cursor: pointer; }
.pm-th.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); font-weight: 650; }

/* Dört siteli arama ilerlemesi */
.rb-what { font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.rb-mini { height: 4px; margin: 1px 0 3px; }
.rb-extra { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.rb-extra b { color: var(--text); font-variant-numeric: tabular-nums; }
.rb-item { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; }
.rb-chips { display: inline-flex; gap: 3px; }
.rb-chip { font-style: normal; font-size: 10.5px; font-weight: 600; padding: 1px 5px; border-radius: 4px; border: 1px solid var(--line); color: var(--muted); }
.rb-chip.ok { color: var(--good); border-color: color-mix(in srgb, var(--good) 45%, transparent); background: color-mix(in srgb, var(--good) 12%, transparent); }
.rb-chip.no { color: var(--muted); text-decoration: line-through; opacity: .75; }
.rb-chip.skip { opacity: .45; border-style: dashed; }
@media (max-width: 860px) {
  .rb-item { grid-template-columns: minmax(0, 1fr) auto; }
  .rb-item .rb-sc, .rb-item .rb-src { grid-column: 1 / -1; font-size: 12px; }
}

/* Günlük liste: son deneme ve sonucu */
.sync-last { display: grid; gap: 6px; }
.sync-res.ok { color: var(--good); font-weight: 600; }
.sync-res.bad { color: var(--bad, #d64545); font-weight: 600; }
#syncNowBtn { justify-self: start; margin-top: 4px; }
.rb-time { font-size: 12.5px; color: var(--muted); margin: 6px 0 8px; }

/* Ayarlar → İçerik: kartlar tek sütunda, alt alta */
.set-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 700px) { .set-stack .sync-last { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }

/* Anahtarlar sekmesi: OMDb ve TMDB tıklayınca açılan paneller */
.set-card.fold > summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; cursor: pointer; list-style: none; }
.set-card.fold > summary::-webkit-details-marker { display: none; }
.set-card.fold > summary h4 { margin: 0; }
.set-card.fold > summary::after { content: '▾'; margin-left: auto; color: var(--muted); transition: transform .15s; }
.set-card.fold[open] > summary::after { transform: rotate(180deg); }
.set-card.fold .fold-sum { font-size: 12.5px; }

/* Güvenlik → sitede geçirilen süre kolonu */
.vtable td.vtime, .vtable td.vclick { overflow-wrap: normal; word-break: normal; }
.vtable td.vclick b { display: block; font-weight: 600; font-variant-numeric: tabular-nums; }
.vtable td.vclick .muted { display: block; font-size: 11.5px; }
.vtable td.vtime b { display: block; font-weight: 600; }
.vtable td.vtime .muted { display: block; font-size: 11.5px; }

/* Film detayı: "Bilgileri güncelle" ve güncellenen puanların vurgusu */
.dp-update { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.dp-update > .btn { justify-self: start; }
.upd-result:empty { display: none; }
.upd-result { display: grid; gap: 6px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-2); }
.upd-head { font-weight: 600; }
.upd-row { display: grid; grid-template-columns: 130px 1fr; gap: 10px; align-items: center; font-size: 13.5px; }
.upd-row.changed { color: var(--good); }
.score.upd-changed { box-shadow: 0 0 0 2px var(--good), 0 0 18px var(--good-soft); animation: updPulse 1.2s ease-out 2; }
.score.upd-same { box-shadow: 0 0 0 1px var(--accent-line); }
@keyframes updPulse { 0% { transform: scale(1); } 40% { transform: scale(1.04); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .score.upd-changed { animation: none; } }
.key-form .btn { white-space: nowrap; flex-shrink: 0; }
#incompleteBox:empty { display: none; }

/* ===== Logo (ck): koyu temada beyaz, açık temada siyah; giriş ekranları her zaman koyu ===== */
.brand-logo { display: inline-flex; align-items: center; flex: none; }
.brand-logo img { display: block; height: 26px; width: auto; }
.topbar .brand-logo img { height: 24px; }
.logo-on-light { display: none !important; }
:root[data-theme="light"] .logo-on-dark { display: none !important; }
:root[data-theme="light"] .logo-on-light { display: block !important; }
.login-card .brand-logo img { height: 30px; }
.intro-logo { display: block; height: 56px; width: auto; margin-bottom: 22px; opacity: .95; }
@media (max-width: 860px) { .intro-logo { height: 44px; margin-bottom: 16px; } }

/* açılış ekranı: oturum doğrulanana kadar ortada logo, sonra yumuşakça kaybolur */
.splash { position: fixed; inset: 0; z-index: calc(var(--z-gate) - 1); display: grid; place-items: center; background: var(--bg); transition: opacity .45s var(--ease), visibility 0s .45s; }
.splash-logo { display: grid; justify-items: center; gap: 22px; }
.splash-logo img { height: 64px; width: auto; animation: splash-in .9s var(--ease-out) both; }
.splash-logo .reel-loader { padding: 0; }
body.ready .splash { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splash-in { from { opacity: 0; transform: scale(.92); } }
@keyframes splash-pulse { 50% { opacity: .55; } }

@media (max-width: 560px) { .surprise-btn, .mood-btn { width: 40px; padding: 0; } .surprise-btn .lbl, .mood-btn .lbl { display: none; } }

/* ===== Ayarlar: tek satırlık kartlar, başlık satırında düğme ===== */
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; }
.card-head h4 { margin: 0; }
.set-card.line { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; }
.set-card.line .line-text { display: grid; gap: 2px; min-width: 0; }
.set-card.line .line-text .hint { margin: 0; }
.set-card.line .line-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.set-card.line .line-acts .btn { justify-self: auto; }
.set-card.line .line-full { grid-column: 1 / -1; }
.set-card.line .line-full:empty { display: none; }
@media (max-width: 560px) { .set-card.line { grid-template-columns: 1fr; row-gap: 10px; } .set-card.line .line-acts { justify-content: flex-start; } }

/* Ayarlar penceresi ekranın üstüne sabit: sekme değişince yeri oynamaz, yalnızca aşağı doğru uzar */
@media (min-width: 861px) {
  dialog#settings { margin: 20px auto auto; max-height: calc(100vh - 40px); }
  dialog#settings[open] { animation: drop-in var(--dur-3) var(--ease-out); }
}

/* ===== Güvenlik: sıralanabilir sütun başlıkları ===== */
.th-sort { all: unset; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; white-space: nowrap; }
.th-sort::after { content: ""; width: 0; height: 0; border: 4px solid transparent; border-top-color: currentColor; opacity: .25; transform: translateY(2px); }
.th-sort:hover { color: var(--text); }
.th-sort.on { color: var(--text); }
.th-sort.on::after { opacity: 1; border-top-color: var(--accent); }
.th-sort.on[data-dir="asc"]::after { transform: translateY(-2px) rotate(180deg); }
.th-sort:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

/* ===== Anahtarlar: yayın sitesi erişimleri, kart başına kaydet (daha sıkı) ===== */
#pagesForm .set-card { gap: 6px; padding: 12px 14px; }
#pagesForm .set-card label:not(.chk) input { margin-top: 3px; padding: 7px 10px; }
#pagesForm .set-card .hint { font-size: 12px; }
#pagesForm .err:empty { display: none; }

/* ===== Film detayı: eklenme ve son güncelleme tarihleri yan yana ===== */
.dp-dates { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 6px; }
.dp-dates .dp-added { margin: 0; }

/* ===== Ana sayfa: arşivin rekorları ===== */
.records { margin-bottom: 28px; }
.rec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rec-card { position: relative; display: flex; align-items: flex-end; min-height: 200px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; cursor: pointer; text-align: left; color: #fff; background: #111318; isolation: isolate; transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3), border-color var(--dur-2); }
.rec-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .8s var(--ease-out); }
.rec-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 11, 15, .15) 0%, rgba(10, 11, 15, .55) 45%, rgba(10, 11, 15, .95) 100%); }
.rec-card:hover, .rec-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--line-hover); }
.rec-card:hover img { transform: scale(1.05); }
.rec-body { display: grid; gap: 4px; padding: 16px; width: 100%; }
.rec-label { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff9497; }
.rec-value { font: 800 34px/1 var(--font-display); letter-spacing: -.03em; }
.rec-value small { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .7); letter-spacing: 0; }
.rec-title { font-size: 13px; color: rgba(255, 255, 255, .82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== Ana sayfa: türler mozaiği ===== */
.genre-mosaic { margin-bottom: 28px; }
.gm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 120px; gap: 10px; }
.gm-tile { position: relative; display: flex; align-items: flex-end; padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; cursor: pointer; text-align: left; color: #fff; background: #15171d; isolation: isolate; transition: transform var(--dur-3) var(--ease-out), border-color var(--dur-2), box-shadow var(--dur-3); }
.gm-tile.big { grid-column: span 2; grid-row: span 2; }
.gm-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(.9); transition: transform .8s var(--ease-out); }
.gm-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, rgba(10, 11, 15, .1) 0%, rgba(10, 11, 15, .88) 85%); }
.gm-tile:hover, .gm-tile:focus-visible { transform: translateY(-2px); border-color: var(--line-hover); box-shadow: var(--shadow-card); }
.gm-tile:hover img { transform: scale(1.06); }
.gm-body { display: grid; gap: 2px; padding: 12px 14px; }
.gm-body b { font: 800 18px/1.1 var(--font-display); letter-spacing: -.02em; }
.gm-tile.big .gm-body { padding: 18px 20px; }
.gm-tile.big .gm-body b { font-size: 30px; }
.gm-body span { font-size: 12px; color: rgba(255, 255, 255, .78); }
@media (max-width: 1100px) { .rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .gm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 96px; }
  .gm-tile.big .gm-body b { font-size: 24px; }
  .rec-card { min-height: 160px; }
  .rec-value { font-size: 26px; }
}

/* ===== Film detayı: sekmeli alt bölüm, özet kısaltma ===== */
.plot.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.plot.clamp.open { display: block; -webkit-line-clamp: unset; max-height: 30vh; overflow: auto; }
.plot-more { margin-top: 4px; color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.dp-tabs { display: flex; gap: 2px; margin: 16px 0 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; flex: none; }
.dp-tab { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 8px 12px; border: 0; background: none; color: var(--muted); font: 600 13px/1 var(--font); cursor: pointer; white-space: nowrap; transition: color var(--dur-2); }
.dp-tab .ico { font-size: 14px; }
.dp-tab::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform var(--dur-3) var(--ease-out); }
.dp-tab:hover { color: var(--text); }
.dp-tab.active { color: var(--text); }
.dp-tab.active::after { transform: scaleX(1); }
.dp-tab.active .ico { color: var(--accent-ink); }
.dp-tab-n { padding: 1px 6px; border-radius: var(--r-pill); background: var(--soft); font-size: 11px; color: var(--text2); }
.dp-panels { padding-top: 14px; }
.dp-panel { animation: fade-in var(--dur-2) ease; }
.dp-panel .kv { margin: 0; }
.dp-panel .trailer { margin: 0; }
.dp-panel .dp-update { margin: 0; padding: 0; border: 0; }
.dp-panel .section-t:first-child { margin-top: 0; }

/* Masaüstü: film detayı her filmde aynı boyutta, ekranın ortasında kompakt bir pencere.
   Boyut yalnızca tarayıcı penceresine göre değişir (içeriğe göre değil); üstten ve alttan ekranı kaplamaz.
   Alt bölüm (fragman, künye…) kalan sabit alanda kalır, uzun içerik yalnızca orada kayar; fragman ölçülü boyutta. */
@media (min-width: 861px) {
  dialog#detail {
    width: min(clamp(760px, 62vw, 960px), calc(100vw - 48px)); max-width: none;
    height: min(clamp(500px, 72vh, 640px), calc(100vh - 48px)); height: min(clamp(500px, 72dvh, 640px), calc(100dvh - 48px)); max-height: none;
    margin: auto; inset: 0; overflow: hidden;
  }
  #detail .detail-inner { height: 100%; display: flex; flex-direction: column; }
  #detail .detail-body { flex: 1; min-height: 0; grid-template-columns: auto minmax(0, 1fr); gap: 22px; padding: 20px 22px; overflow: hidden; }
  #detail .dp-side { position: static; display: flex; flex-direction: column; gap: 10px; min-height: 0; width: clamp(150px, 14vw, 190px); }
  #detail .detail-poster { flex: 0 1 auto; min-height: 0; display: flex; }
  #detail .detail-poster img, #detail .detail-poster .ph { width: 100%; height: auto; aspect-ratio: 2 / 3; max-height: 100%; object-fit: cover; }
  #detail .dp-main { display: flex; flex-direction: column; min-height: 0; overflow: hidden; padding-right: 26px; }
  #detail .dp-main > * { flex: none; }
  #detail .detail h2, #detail .dp-main h2 { font-size: clamp(21px, 1.8vw, 27px); margin-bottom: 4px; }
  #detail .dp-main .scores { margin: 8px 0 10px; }
  #detail .plot { font-size: 14px; line-height: 1.55; }
  #detail .plot.clamp { -webkit-line-clamp: 3; }
  #detail .dp-tabs { margin-top: 10px; }
  #detail .dp-tab { min-height: 34px; padding: 6px 10px; font-size: 12.5px; }
  #detail .dp-panels { flex: 1 1 auto; min-height: 0; padding-top: 10px; overflow-y: auto; overscroll-behavior: contain; }
  /* Fragman sekme alanının tamamını kaplar (kapak görseli alanı doldurur; oynatıcı açılınca video alanın içine ortalanır) */
  #detail .dp-panel[data-dppanel="trailer"] { height: 100%; display: flex; }
  #detail .dp-panel .trailer { flex: 1 1 auto; width: 100%; height: 100%; max-width: none; max-height: none; aspect-ratio: auto; }
  #detail .mini-row { grid-auto-columns: clamp(78px, 7vw, 96px); }
  /* kısa pencerelerde slogan gizlenir, özet kısalır */
  /* alçak pencerelerde üst kısım sıkışır, fragmana yer kalır */
  @media (max-height: 860px) {
    #detail .detail-body { padding: 16px 20px; gap: 18px; }
    #detail .plot.clamp { -webkit-line-clamp: 2; }
    #detail .tagline { display: none; }
    #detail .dp-head h2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
  }
  @media (max-height: 720px) {
    #detail .dp-head .dp-dates { display: none; }
    #detail .dp-main .scores { margin: 6px 0; }
  }
}

/* ---------- Film detayı: kompakt başlık + ikon düğmeler ---------- */
.dp-head { position: relative; display: flex; flex-direction: column; gap: 6px; }
.dp-head h2 { margin: 0; line-height: 1.12; letter-spacing: -.02em; }
.dp-head .dp-orig { margin: 0; font-size: 12.5px; }
.dp-head .dp-facts { margin: 0; font-size: 13.5px; }
.dp-head .dp-dates { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 0; }
.dp-head .dp-added { padding: 0; margin: 0; border: 0; background: none; border-radius: 0; font-size: 12px; color: var(--muted); }
.dp-head .dp-added b { color: var(--text2); font-weight: 600; }
.dp-head .dp-added .ico { color: var(--muted); }

.dp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.ibtn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line); background: var(--panel-alpha); color: var(--text); cursor: pointer;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background var(--dur-2), border-color var(--dur-2), color var(--dur-2), transform var(--dur-2); }
.ibtn .ico, .ibtn svg.wa { width: 19px; height: 19px; }
.ibtn svg.wa { fill: currentColor; }
.ibtn:hover { border-color: var(--line-hover); background: var(--surface-2); transform: translateY(-1px); }
.ibtn:active { transform: scale(.94); }
.ibtn:focus-visible { outline: none; box-shadow: var(--ring); }
.ibtn.on { background: var(--accent); border-color: transparent; color: var(--on-accent); box-shadow: 0 6px 16px rgba(229, 72, 77, .3); }
.ibtn.on[data-ulist="watchlist"] .ico path { fill: currentColor; }
.ibtn.wa { background: #22a652; border-color: transparent; color: #fff; }
.ibtn.wa:hover { background: #1e9349; }
.ibtn.primary { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.ibtn-n { position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--text); color: var(--surface);
  font: 700 10px/17px var(--font); text-align: center; }
.ibtn.wa, .ibtn.primary { margin-left: 2px; }
.dp-actions .ibtn.wa:first-child { margin-left: 0; }
/* Etiket: fareyle üzerine gelince ya da klavyeyle odaklanınca düğmenin altında */
.ibtn::after { content: attr(data-tip); position: absolute; top: calc(100% + 8px); left: 50%; z-index: 20; transform: translate(-50%, -4px);
  padding: 6px 9px; border-radius: 8px; background: var(--text); color: var(--surface); font: 600 12px/1.2 var(--font); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity var(--dur-2), transform var(--dur-2); }
.dp-actions .ibtn:first-child::after { left: 0; transform: translate(0, -4px); }
@media (hover: hover) {
  .ibtn:hover::after { opacity: 1; transform: translate(-50%, 0); }
  .dp-actions .ibtn:first-child:hover::after { transform: translate(0, 0); }
}
.ibtn:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.dp-actions .ibtn:first-child:focus-visible::after { transform: translate(0, 0); }
.dp-main > .clist-menu { margin: 4px 0 0; max-width: 420px; }
.dp-main > .plot-more { align-self: flex-start; justify-self: start; }

/* Masaüstü: afiş solda tek başına, başlık bloğu sıkı; puanlar başlığa yakın */
@media (min-width: 861px) {
  #detail .dp-main .scores { margin: 10px 0 8px; }
  #detail .dp-head h2 { font-size: clamp(21px, 1.8vw, 27px); margin: 0; }
  #detail .dp-main > .clist-menu { margin-top: 10px; }
}

/* Mobil film detayı: pencere ekrana tam oturur, sayfa hiç kaymaz.
   Üst kısım (afiş + başlık, düğmeler, puanlar, özet, sekmeler) kendi boyunda kalır; alttaki sekme alanı kalan yeri doldurur,
   uzun içerik (künye, sürümler) yalnızca o alanın içinde kayar. Kısa ekranlarda öğeler kademeli olarak sıkışır. */
@media (max-width: 860px) {
  dialog#detail { height: 100vh; height: 100dvh; max-height: 100dvh; overflow: hidden; overscroll-behavior: none; }
  #detail .detail-inner { height: 100%; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
  #detail .detail-body { --pt: max(14px, env(safe-area-inset-top)); --pw: 104px;
    position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 0; overflow: hidden;
    padding: var(--pt) 14px max(10px, env(safe-area-inset-bottom)); }
  #detail .dp-side { position: absolute; top: var(--pt); left: 14px; width: var(--pw); display: block; }
  #detail .dp-side .detail-poster { max-width: none; }
  #detail .dp-side .detail-poster img, #detail .dp-side .detail-poster .ph { width: 100%; height: auto; aspect-ratio: 2 / 3; max-height: none; }
  #detail .dp-main { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; gap: 10px; overflow: hidden; padding: 0; }
  #detail .dp-main > * { flex: none; margin: 0; }
  #detail .dp-main > .dp-head { min-height: calc(var(--pw) * 1.5); padding: 0 34px 0 calc(var(--pw) + 14px); justify-content: center; gap: 4px; }
  #detail .dp-head h2 { font-size: 20px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  #detail .dp-head .dp-orig { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
  #detail .dp-head .dp-facts { font-size: 12.5px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  #detail .dp-head .dp-dates { flex-direction: column; gap: 1px; }
  #detail .dp-head .dp-added { display: block; font-size: 11.5px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #detail .dp-head .dp-added .ico { margin-right: 3px; }
  #detail .ibtn::after { display: none; }
  #detail .dp-main .scores { margin: 0; }
  #detail .dp-main > .tagline { margin-bottom: -6px; font-size: 13.5px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
  #detail .plot { font-size: 14px; line-height: 1.6; }
  #detail .plot.clamp { -webkit-line-clamp: 3; }
  #detail .plot.clamp.open { max-height: 26vh; }
  #detail .dp-main > .plot-more { margin-top: -8px; align-self: flex-start; }
  #detail .dp-main > .clist-menu { max-height: 34vh; overflow-y: auto; }
  #detail .dp-tabs { margin: 0; }
  #detail .dp-panels { flex: 1 1 auto; min-height: 0; padding-top: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  #detail .dp-panel[data-dppanel="trailer"] { height: 100%; display: flex; align-items: flex-start; justify-content: center; }
  #detail .dp-panel .trailer { width: 100%; height: auto; max-height: 100%; aspect-ratio: 16 / 9; margin: 0; }
}
@media (max-width: 380px) {
  #detail .detail-body { --pw: 88px; }
}
/* Kısa ekranlar: önce slogan ve tarihler, sonra özet kısalır; afiş ve düğmeler küçülür */
@media (max-width: 860px) and (max-height: 780px) {
  #detail .dp-main > .tagline { display: none; }
  #detail .plot.clamp { -webkit-line-clamp: 2; }
  #detail .dp-main { gap: 9px; }
}
@media (max-width: 860px) and (max-height: 700px) {
  #detail .detail-body { --pw: 92px; }
  #detail .dp-head .dp-dates { display: none; }
  #detail .dp-head h2 { font-size: 18px; }
  #detail .dp-main { gap: 8px; }
  #detail .dp-main > .dp-actions .ibtn { min-height: 48px; padding: 6px 4px; gap: 3px; }
  #detail .dp-main .score { padding: 6px 9px; }
  #detail .dp-main .score .v { font-size: 15px; }
}
@media (max-width: 860px) and (max-height: 600px) {
  #detail .detail-body { --pw: 78px; }
  #detail .dp-head .dp-orig { display: none; }
  #detail .plot.clamp { -webkit-line-clamp: 1; }
  #detail .dp-main > .dp-actions .ibtn-l { display: none; }
  #detail .dp-main > .dp-actions .ibtn { min-height: 40px; }
}

/* ---------- Afiş büyütme ---------- */
.detail-poster img { cursor: zoom-in; transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3); }
@media (hover: hover) { .detail-poster img:hover { transform: scale(1.015); } }
.detail-poster:focus-visible { outline: none; }
.detail-poster:focus-visible img { box-shadow: var(--ring), var(--shadow-lg); }
.pz { position: fixed; inset: 0; z-index: 50; cursor: zoom-out; touch-action: none; }
.pz-bg { position: absolute; border-radius: var(--r-xl); background: rgba(6, 7, 9, .72); backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px) saturate(1.1); }
.pz-bg.full { border-radius: 0; }
.pz-bg.full .pz-close { top: max(12px, env(safe-area-inset-top)); right: 12px; }
.pz-img { position: absolute; display: block; object-fit: cover; border-radius: 14px; box-shadow: 0 40px 120px rgba(0, 0, 0, .6); will-change: left, top, width, height; background: var(--ph1); }
.pz-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; font-size: 18px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background var(--dur-2); }
.pz-close:hover { background: rgba(255, 255, 255, .22); }

/* Liste yüklenirken: yükleme animasyonu tüm satırı kaplar; afişi gelmemiş kartlarda parıltı */
.grid > .reel-loader { grid-column: 1 / -1; padding: 72px 16px; }
.card .poster:not(.loaded) .ph::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(100deg, transparent 20%, var(--soft) 50%, transparent 80%); animation: shimmer 1.4s ease-in-out infinite; }
.card .poster img { animation: fade-in var(--dur-3) ease; }
@media (prefers-reduced-motion: reduce) { .card .poster:not(.loaded) .ph::after { animation: none; } }

/* Film detayı işlem düğmeleri: masaüstünde yalnızca ikon, mobilde ekran genişliğinde tek satır + minik etiket */
.ibtn-l { display: none; }
@media (min-width: 861px) { #detail .dp-main > .dp-actions { margin-top: 8px; } #detail .ibtn { width: 38px; height: 38px; } #detail .ibtn .ico, #detail .ibtn svg.wa { width: 17px; height: 17px; } }
@media (max-width: 860px) {
  #detail .dp-main > .dp-actions { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin: 2px 0 0; }
  #detail .dp-actions .ibtn { width: auto; height: auto; min-height: 56px; padding: 8px 4px 7px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin: 0; }
  #detail .dp-actions .ibtn .ico, #detail .dp-actions .ibtn svg.wa { width: 19px; height: 19px; }
  #detail .ibtn-l { display: block; max-width: 100%; font: 600 10.5px/1.1 var(--font); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #detail .ibtn-n { top: 5px; right: 6px; }
}
/* Mobil: tür ve yaş bilgisi alt satıra geçince ayraç satır başında kalmaz, önceki satırın sonunda durur */
@media (max-width: 860px) {
  #detail .dp-head .dp-facts { display: block; line-height: 1.5; }
  #detail .dp-head .dp-facts span + span::before { content: none; }
  #detail .dp-head .dp-facts span:not(:last-child)::after { content: " · "; color: var(--muted); }
}

/* Yazısız liste yükleyicisi: ortada dönen makara, arkasında nefes alan ışık halkası, altında akan film şeridi */
.reel-loader.quiet { position: relative; gap: 16px; padding: 0; min-height: 46vh; align-content: center; }
.reel-loader.quiet .reel { position: relative; width: 58px; height: 58px; filter: drop-shadow(0 6px 18px rgba(229, 72, 77, .35)); }
.reel-loader.quiet::before { content: ""; position: absolute; left: 50%; top: calc(50% - 13px); width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 72, 77, .22), transparent 68%); animation: reel-glow 1.8s ease-in-out infinite; pointer-events: none; }
.reel-loader.quiet .strip { width: 96px; -webkit-mask: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); mask: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); }
.reel-loader.quiet { animation: fade-in .3s ease both; }
@keyframes reel-glow { 0%, 100% { transform: scale(.82); opacity: .55; } 50% { transform: scale(1.08); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .reel-loader.quiet::before { animation: none; } }

/* ---------- Sürümler: Oynat ---------- */
.src-play { flex: none; gap: 6px; }
.src-play .spin { background: currentColor; }
.src-play .ico { width: 13px; height: 13px; }

/* ---------- Android TV: kumandayla seçilen öğe uzaktan açıkça görünsün ---------- */
.tv { scroll-behavior: smooth; }
.tv :focus { outline: none; }
.tv :is(button, a, input, select, textarea, [tabindex]):focus {
  outline: 3px solid var(--accent); outline-offset: 3px; box-shadow: 0 0 0 7px rgba(229, 72, 77, .22); }
/* Kartlar: çerçeve afişin üstünde, kart hafifçe büyür (kaydırılan satırlarda dış çizgi kesilmesin diye afişin içine çizilir) */
.tv .card:focus, .tv .pick:focus, .tv .mini:focus, .tv .rec-card:focus, .tv .gm-tile:focus, .tv .hero-poster:focus { outline: none; box-shadow: none; }
.tv .card { transition: transform var(--dur-3) var(--ease-out); }
.tv .card:focus { transform: scale(1.06); }
.tv .card:focus .poster::before { box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 6px rgba(0, 0, 0, .35); }
.tv .card:focus .meta .t { color: var(--accent-ink); }
.tv :is(.mini, .rec-card, .gm-tile, .hero-poster):focus { box-shadow: 0 0 0 3px var(--accent); border-radius: var(--r-md); }
.tv .detail-poster:focus img { box-shadow: 0 0 0 3px var(--accent), var(--shadow-lg); }
.tv .detail-poster:focus { outline: none; box-shadow: none; }
.tv .ibtn:focus { outline-offset: 2px; }
.tv .dp-tab:focus { outline-offset: -3px; border-radius: 8px; }
/* Fare yok: üzerine gelince açılan öğeler odakla açılır; imleç gizlenir */
.tv, .tv * { cursor: none !important; }
.tv .ibtn:focus::after { opacity: 1; transform: translate(-50%, 0); }
.tv .dp-actions .ibtn:first-child:focus::after { transform: translate(0, 0); }

/* ---------- Yalnızca Android TV uygulaması (html.tvapp): kumandayla kolay gezilen üst bar ----------
   1. satır: logo · arama · [sırala] [ne izlesem (simge)] [profil] (profil hep sağ üstte)
   2. satır: filtreler hep açık, tüm satırı kaplar, tek satır halinde yana kayar (sağ/sol tuşları ile gezilir) */
html.tvapp .app-top { flex-wrap: wrap; row-gap: 8px; }
html.tvapp .app-top .brand { order: 1; margin-right: 0; }
html.tvapp .app-top .brand > span:not(.brand-logo) { display: none; }
html.tvapp .app-top .search { order: 2; flex: 1 1 200px; max-width: none; margin-left: var(--sp-3); }
html.tvapp .app-top .controls { order: 3; margin-left: auto; flex: none; }
html.tvapp #sort { order: 7; width: auto; max-width: 230px; }
html.tvapp #surpriseBtn, html.tvapp #moodBtn { order: 8; width: 42px; min-height: 40px; padding: 0; flex: none; }
html.tvapp #surpriseBtn .lbl, html.tvapp #moodBtn .lbl { display: none; }
html.tvapp #surpriseBtn .ico, html.tvapp #moodBtn .ico { font-size: 19px; }
html.tvapp #profileChip { order: 9; }
html.tvapp .filter-toggle { display: none; }
html.tvapp .filterbar {
  order: 10; flex-basis: 100%; display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden;
  gap: 10px 22px; padding: 8px 8px 10px; margin: 0 -8px; scrollbar-width: none; animation: none;
}
html.tvapp .filterbar::-webkit-scrollbar { display: none; }
html.tvapp .fgroup { flex: none; flex-wrap: nowrap; }
/* Tür / yaş seçim kutusu kayan satırın dışında, üst barın hemen altında açılır (kayan alan onu kesmesin) */
html.tvapp .genre-pop { position: fixed; top: 100%; left: var(--gutter); right: auto; width: min(760px, calc(100vw - 40px)); margin-top: 0; }
html.tvapp .pmenu { top: 62px; }

/* ---------- Ziyaret ayrıntısı: tabloda satıra tıklayınca açılan küçük pencere ---------- */
.vtable tr.vrow { cursor: pointer; }
.vtable tr.vrow:hover td, .vtable tr.vrow:focus-visible td { background: var(--soft); }
.vtable tr.vrow:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.vmore { display: flex; justify-content: center; margin-top: 10px; }
.vmore:empty { display: none; }
dialog.vinfo { width: min(460px, calc(100vw - 24px)); max-height: min(82vh, 760px); padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); overflow: hidden; }
dialog.vinfo::backdrop { background: rgba(0, 0, 0, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.vinfo-card { position: relative; display: flex; flex-direction: column; max-height: inherit; }
.vinfo-card > header { display: flex; align-items: flex-start; gap: 12px; padding: 16px 56px 12px 18px; border-bottom: 1px solid var(--line); }
.vinfo-card > header h3 { margin: 0 0 3px; font-size: 17px; overflow-wrap: anywhere; }
.vinfo-card > header .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--good); margin-right: 4px; vertical-align: 1px; }
.vinfo-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; }
.vinfo-body { overflow-y: auto; padding: 6px 18px 18px; overscroll-behavior: contain; }
.vinfo-body section { padding: 12px 0; border-bottom: 1px solid var(--line); }
.vinfo-body section:last-child { border-bottom: 0; }
.vinfo-body h4 { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vinfo-body dl { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 6px 12px; margin: 0; font-size: 13px; }
.vinfo-body dt { color: var(--muted); }
.vinfo-body dd { margin: 0; overflow-wrap: anywhere; }
.vinfo-body dd a { color: var(--accent-ink); white-space: nowrap; }
.vinfo-body code.ua { display: block; font-size: 11px; line-height: 1.45; color: var(--text2); white-space: normal; }
.vlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; max-height: 190px; overflow-y: auto; }
.vlist li { display: flex; gap: 8px; align-items: baseline; }
.vlist li .muted { flex: none; font-variant-numeric: tabular-nums; font-size: 12px; }
.vlist .link-btn { color: var(--text); text-align: left; font-size: 13px; text-decoration: none; }
.vlist .link-btn:hover { color: var(--accent-ink); text-decoration: underline; }
@media (max-width: 520px) { .vinfo-body dl { grid-template-columns: 96px minmax(0, 1fr); } }

/* Yükleme animasyonu: daha büyük ve belirgin */
.reel-loader { gap: 16px; font-size: 14px; }
.reel-loader .reel { width: 68px; height: 68px; }
.reel-loader .strip { width: 110px; height: 13px; }
.reel-loader.quiet { gap: 22px; }
.reel-loader.quiet .reel { width: 96px; height: 96px; }
.reel-loader.quiet::before { top: calc(50% - 18px); width: 168px; height: 168px; margin: -84px 0 0 -84px; }
.reel-loader.quiet .strip { width: 160px; }
@media (max-width: 860px) {
  .reel-loader.quiet .reel { width: 80px; height: 80px; }
  .reel-loader.quiet::before { width: 140px; height: 140px; margin: -70px 0 0 -70px; }
}

/* Yönetici: sürmekte olan güncelleme şeridi (ana sayfanın en üstü) */
.job-banner { display: grid; gap: 8px; margin: 0 0 18px; padding: 14px 16px; border-radius: var(--r-lg); border: 1px solid var(--accent-line, var(--accent)); background: linear-gradient(135deg, var(--accent-soft), var(--surface) 70%); box-shadow: var(--shadow); }
.jb-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 15px; }
.jb-head .muted { font-size: 12.5px; }
.jb-pct { margin-left: auto; font: 800 22px/1 var(--font-display, var(--font)); color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.jb-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: jb-pulse 1.6s ease-out infinite; }
@keyframes jb-pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .55); } 100% { box-shadow: 0 0 0 10px rgba(229, 72, 77, 0); } }
.jb-step { font-size: 13.5px; color: var(--text2); }
.jb-step b { color: var(--text); }
.jb-bar { height: 8px; border-radius: 99px; background: var(--track, var(--soft)); overflow: hidden; }
.jb-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width .8s var(--ease-out, ease); }
.jb-bar.indet i { width: 35% !important; animation: jb-indet 1.4s ease-in-out infinite; }
@keyframes jb-indet { 0% { transform: translateX(-100%); } 100% { transform: translateX(290%); } }
@media (max-width: 860px) { .job-banner { margin: 0 0 14px; padding: 12px 13px; } .jb-pct { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .jb-dot, .jb-bar.indet i { animation: none; } }

/* Android uygulaması eskiyse en üstte "APK güncelle" */
.apk-btn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; animation: fade-in var(--dur-3) ease; }
.apk-btn[hidden] { display: none; }
.apk-btn .ico { width: 16px; height: 16px; }
@media (max-width: 860px) { .apk-btn { order: 1; height: 40px; padding: 0 12px; font-size: 13px; } }

/* Yönetici: onay bekleyen kullanıcı uyarısı (her sayfanın en üstünde) */
.pending-alert { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 14px 16px; border-radius: var(--r-lg);
  border: 1px solid var(--accent); background: linear-gradient(135deg, var(--accent-soft), var(--surface) 75%); box-shadow: var(--shadow); animation: fade-in var(--dur-3) ease; }
.pending-alert[hidden] { display: none; }
.pa-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--on-accent, #fff);
  box-shadow: 0 0 0 0 rgba(229, 72, 77, .5); animation: jb-pulse 1.8s ease-out infinite; }
.pa-icon .ico { width: 20px; height: 20px; }
.pa-body { flex: 1; min-width: 0; }
.pa-title { font-weight: 750; font-size: 15.5px; color: var(--text); }
.pa-who { margin-top: 2px; font-size: 13px; color: var(--text2); overflow-wrap: anywhere; }
.pa-btn { flex: none; white-space: nowrap; }
#siteAdminBtn { position: relative; }
.pend-n { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--on-accent, #fff); font: 700 11px/18px var(--font); text-align: center; }
@media (max-width: 860px) { .pending-alert { flex-wrap: wrap; gap: 10px 12px; padding: 12px 13px; } .pa-btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .pa-icon { animation: none; } }

/* ===== Ayarlar → Raporlar ===== */
#reportsPanel { --c1: #2a78d6; --c2: #eb6834; --c3: #1baf7a; --c4: #e87ba4; --c5: #6250d6; --oth: #a3a7b0; --s1: var(--c1); --s2: var(--c2); }
:root[data-theme="dark"] #reportsPanel { --c1: #3987e5; --c2: #d95926; --c3: #199e70; --c4: #d55181; --c5: #9085e9; --oth: #5d626d; }
.rp-tip { --s1: #2a78d6; --s2: #eb6834; }
:root[data-theme="dark"] .rp-tip { --s1: #3987e5; --s2: #d95926; }
.rp-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 16px; }
.rp-filters .seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); }
.rp-filters .seg button { border: 0; background: none; color: var(--text2); font: 600 12.5px/1 var(--font); padding: 7px 10px; border-radius: 7px; cursor: pointer; }
.rp-filters .seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
.rp-date { display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--muted); }
.rp-date input { border: 0; background: none; color: var(--text); font: 500 13px var(--font); height: 30px; padding: 0; }
.rp-date .ico { width: 15px; height: 15px; }
#reportsBody.rp-dim { opacity: .55; transition: opacity .2s; }
.rp-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.rp-kpis .vz-kpi b { font-size: 22px; }
.rp-card { min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); margin-bottom: 14px; }
.rp-card h5 { margin: 0 0 10px; font-size: 13.5px; font-weight: 700; color: var(--text); }
.rp-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 4px; }
.rp-head h5 { margin: 0; }
.rp-head .vz-legend { margin: 0; }
.rp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rp-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rp-donuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.rp-donuts .rp-card { margin-bottom: 0; }
.rp-donut { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; }
.rp-donut svg { width: 112px; height: 112px; overflow: visible; }
.rp-seg { fill: none; stroke-width: 16; cursor: default; outline: none; transition: stroke-width .15s; }
.rp-seg:hover, .rp-seg:focus { stroke-width: 20; }
.rp-seg.c1 { stroke: var(--c1); } .rp-seg.c2 { stroke: var(--c2); } .rp-seg.c3 { stroke: var(--c3); } .rp-seg.c4 { stroke: var(--c4); } .rp-seg.c5 { stroke: var(--c5); } .rp-seg.oth { stroke: var(--oth); }
.rp-sw { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; }
.rp-sw.c1 { background: var(--c1); } .rp-sw.c2 { background: var(--c2); } .rp-sw.c3 { background: var(--c3); } .rp-sw.c4 { background: var(--c4); } .rp-sw.c5 { background: var(--c5); } .rp-sw.oth { background: var(--oth); }
.rp-sw.s1 { background: var(--s1); } .rp-sw.s2 { background: var(--s2); }
.rp-dn { font: 800 20px var(--font); fill: var(--text); }
.rp-dl { font: 600 9.5px var(--font); fill: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.rp-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 12.5px; min-width: 0; }
.rp-legend li { display: flex; align-items: center; min-width: 0; }
.rp-lk { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text2); }
.rp-legend b, .rp-rank b { margin-left: 8px; color: var(--text); font-variant-numeric: tabular-nums; font-weight: 650; }
.rp-path { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.rp-path.s1 { stroke: var(--s1); } .rp-path.s2 { stroke: var(--s2); }
.rp-area { fill: var(--s1); opacity: .1; }
.rp-dot { stroke: var(--surface); stroke-width: 2; } .rp-dot.s1 { fill: var(--s1); } .rp-dot.s2 { fill: var(--s2); }
.rp-cross { stroke: var(--line-hover); stroke-width: 1; stroke-dasharray: 3 3; pointer-events: none; }
.rp-bar { fill: var(--s1); }
.rp-hit:hover .rp-bar { opacity: .8; }
.rp-tip { position: fixed; z-index: 100; max-width: 280px; padding: 8px 10px; border-radius: 9px; background: var(--surface); color: var(--text2); border: 1px solid var(--line-hover); box-shadow: var(--shadow); font-size: 12.5px; line-height: 1.5; pointer-events: none; }
.rp-tip b { color: var(--text); }
.rp-tablewrap { overflow-x: auto; margin: 6px -4px 0; }
.rp-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.rp-table th, .rp-table td { padding: 7px 8px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rp-table th { color: var(--muted); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.rp-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.rp-table tbody tr:hover { background: var(--soft); }
.rp-name { max-width: 220px; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.rp-name small { display: block; color: var(--muted); font-size: 11px; }
.rp-name .live-dot { margin-right: 6px; }
.rp-sort { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
.rp-sort.on { color: var(--text); }
.rp-more { margin-top: 10px; }
.rp-rank { margin: 0; padding: 0 0 0 22px; display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.rp-rank li .rp-lk { display: inline-block; vertical-align: middle; max-width: calc(100% - 100px); }
.rp-rank small { margin-left: 6px; color: var(--muted); font-size: 11.5px; }
.rp-rank .link-btn { padding: 0; text-align: left; }
.rp-st { padding: 2px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 650; color: var(--text); }
.rp-st.w { background: color-mix(in srgb, #ffb800 22%, transparent); }
.rp-st.g { background: color-mix(in srgb, #1baf7a 22%, transparent); }
@media (max-width: 1100px) {
  .rp-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rp-kpis .vz-kpi:nth-child(3) { border-right: 0; }
  .rp-kpis .vz-kpi:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .rp-donuts, .rp-three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .rp-two, .rp-donuts, .rp-three { grid-template-columns: 1fr; }
  .rp-kpis { grid-template-columns: 1fr 1fr; }
  .rp-kpis .vz-kpi { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* Film detayı yüklenirken: bilinen afiş ve ad hemen görünür, üstünde film makarası (kısa yüklemelerde göz kırpmasın diye gecikmeli) */
.detail-loading-body { position: relative; }
.detail-skel .skel-poster.has-img { padding: 0; overflow: hidden; border-radius: var(--r-md); background: var(--soft); }
.detail-skel .skel-poster.has-img::before { display: none; }
.detail-skel .skel-poster.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; animation: fade-in var(--dur-3) ease; }
.detail-skel .pre-title { margin: 0; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; }
.detail-loading { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; animation: dl-in .25s ease .15s forwards; }
@keyframes dl-in { to { opacity: 1; } }
.detail-loading .reel-loader { padding: 18px 26px; border-radius: var(--r-lg); background: var(--panel-alpha, rgba(10, 11, 15, .72)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .detail-loading { animation: none; opacity: 1; } }

/* Giriş: Google ile devam et (Google marka kurallarına uygun beyaz düğme) */
.gbtn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 11px 16px; border-radius: var(--r-md); background: #fff; color: #1f1f1f; border: 1px solid #dadce0; font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background var(--dur-2), box-shadow var(--dur-2); }
.gbtn:hover { background: #f8f9fa; box-shadow: 0 1px 3px rgba(60, 64, 67, .25); }
.gbtn:focus-visible { outline: none; box-shadow: var(--ring); }
.gbtn svg { width: 20px; height: 20px; flex: none; }
.gbtn[hidden], .gwrap[hidden] { display: none; }
.gwrap { display: grid; gap: 14px; margin: 4px 0 2px; }
.or-line { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#googleBtn1 { margin-bottom: 10px; }

/* ===== FP: Film Puanları üye puanı ===== */
.score.fp-score { background: linear-gradient(135deg, var(--accent-soft), var(--panel-alpha) 70%); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.score .fp-logo { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.badge.fp { display: inline-flex; align-items: center; gap: 4px; background: rgba(10, 11, 15, .82); color: #fff; }
.badge.fp img { width: 13px; height: 13px; border-radius: 3px; }
.ibtn.voted { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); color: var(--accent-ink); }
.vote-menu { display: grid; gap: 10px; margin-top: 10px; padding: 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-2); animation: fade-in var(--dur-2) ease; }
.vote-q { font-weight: 700; font-size: 14px; }
.vote-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vote-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 600 13px/1.2 var(--font); cursor: pointer; transition: transform var(--dur-2), border-color var(--dur-2), background var(--dur-2); }
.vote-opt .ico { width: 24px; height: 24px; }
.vote-opt:hover, .vote-opt:focus-visible { transform: translateY(-1px); outline: none; }
.vote-opt.like:hover, .vote-opt.like:focus-visible { border-color: #1baf7a; background: color-mix(in srgb, #1baf7a 14%, var(--surface)); }
.vote-opt.meh:hover, .vote-opt.meh:focus-visible { border-color: #eda100; background: color-mix(in srgb, #eda100 14%, var(--surface)); }
.vote-opt.dislike:hover, .vote-opt.dislike:focus-visible { border-color: var(--accent); background: var(--accent-soft); }
.vote-opt.like .ico { color: #1baf7a; } .vote-opt.meh .ico { color: #eda100; } .vote-opt.dislike .ico { color: var(--accent); }
.vote-opt:disabled { opacity: .6; cursor: progress; }
/* FP kutusu eklenince beş puan kutusu: masaüstünde tek satır, mobilde 3 sütunda 2 satır (pencere yüksekliği değişmez) */
.dp-main .scores:has(.fp-score) .score { padding: 8px 9px; gap: 8px; }
.dp-main .scores:has(.fp-score) .score .v small { display: none; }
.dp-main .scores:has(.fp-score) .score .fp-logo { width: 24px; height: 24px; border-radius: 6px; }
.dp-main .scores:has(.fp-score) .score .logo { font-size: 10px; padding: 2px 5px; }
@media (max-width: 860px) {
  .dp-main .scores:has(.fp-score) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dp-main .scores:has(.fp-score) .score { padding: 7px 8px; gap: 6px; }
  .dp-main .scores:has(.fp-score) .score .v { font-size: 16px; }
}

/* Film detayı işlem düğmeleri: cam efekti her düğmeyi ayrı katman yaptığı için balonlar altındaki puanların arkasında
   kalıyordu; satır öne alınır. "Oyla" düğmesinde balon gösterilmez (tıklayınca seçenekler açılır). */
.dp-actions { position: relative; z-index: 6; }
.dp-actions .ibtn:hover, .dp-actions .ibtn:focus-visible { z-index: 2; }
.ibtn.notip::after { display: none !important; }
.vote-opt.sel { border-width: 2px; font-weight: 700; }
.vote-opt.like.sel { border-color: #1baf7a; background: color-mix(in srgb, #1baf7a 16%, var(--surface)); }
.vote-opt.meh.sel { border-color: #eda100; background: color-mix(in srgb, #eda100 16%, var(--surface)); }
.vote-opt.dislike.sel { border-color: var(--accent); background: var(--accent-soft); }

/* "Sana özel": sinyal sayaçları, olumsuz tür etiketi, satırlardaki kartlar ve öneri nedeni */
.fy-stats { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 4px; font-size: 13px; color: var(--text2); }
.fy-stat b { color: var(--text); font-size: 15px; margin-right: 5px; font-variant-numeric: tabular-nums; }
.fy-basis.neg b { background: var(--soft); color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.fy-row .hrow-scroll { grid-auto-columns: 168px; }
.fy-row .fy-item { display: flex; flex-direction: column; gap: 6px; min-width: 0; scroll-snap-align: start; }
.fy-row .fy-why { font-size: 11.5px; line-height: 1.35; }
.fy-row .fy-why span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
@media (max-width: 860px) { .fy-row .hrow-scroll { grid-auto-columns: 132px; } }

/* Benzer filmler: neden benzer olduğu (mini kartın altında) */
.mini-why { font-size: 10.5px; line-height: 1.3; color: var(--accent-text, var(--accent-ink)); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Seri ve benzerleri aynı satırda: aradaki ayırıcı (afiş hizasında ortalanmış etiket) */
.mini-sep { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 2 / 3; border-radius: var(--r-sm); border: 1px dashed var(--line-hover); color: var(--muted); }
.mini-sep span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mini-sep::after { content: '→'; font-size: 20px; line-height: 1; color: var(--accent-ink); }

/* ===== Arama: öneri paneli ve kutu içi tamamlama ===== */
.search .q-ghost { position: absolute; inset: 0; padding: 0 40px 0 42px; display: flex; align-items: center; pointer-events: none; font: inherit; font-size: 14px; color: var(--muted); opacity: .55; white-space: pre; overflow: hidden; z-index: 1; }
.search .q-ghost .typed { color: transparent; }
.search input { position: relative; z-index: 2; background-clip: padding-box; }
.search input:focus { background: transparent !important; }
.search:focus-within { background: var(--surface); border-radius: var(--r-pill); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60; max-height: min(70vh, 560px); overflow-y: auto; padding: 6px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg, 0 20px 50px rgba(0,0,0,.35)); animation: fade-in var(--dur-2) ease; }
.suggest[hidden] { display: none; }
.sug-h { padding: 8px 10px 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sug-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border: 0; border-radius: var(--r-md); background: none; color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.sug-item.active, .sug-item:focus-visible { background: var(--soft); outline: none; }
.sug-poster { flex: none; width: 32px; height: 48px; border-radius: 5px; overflow: hidden; background: linear-gradient(160deg, var(--ph1), var(--ph2)); }
.sug-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sug-main { display: grid; min-width: 0; gap: 2px; }
.sug-t { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sug-t mark { background: none; color: var(--accent-ink); font-weight: 800; }
.sug-s { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sug-row > .ico { flex: none; width: 32px; height: 20px; color: var(--muted); }
.sug-all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-md) var(--r-md); color: var(--text2); font-size: 13.5px; }
.sug-all .ico { width: 16px; height: 16px; margin: 0 8px; color: var(--muted); }
.sug-all kbd { margin-left: auto; font: 600 11px var(--font); padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line); color: var(--muted); }
@media (max-width: 860px) { .suggest { position: fixed; left: 8px; right: 8px; top: 64px; max-height: calc(100dvh - 140px); } .sug-all kbd { display: none; } }
/* Üye olmadan gez: tıklanınca sayfa geçerken hafif geri bildirim (düğme pasif olmaz) */
#guestBtn.is-going { opacity: .85; cursor: progress; }

/* "Devamını oku": açık özet her ekranda tamamen görünür. Mobil ve kısa ekranlar için yazılmış "N satır" kuralları (#detail ...)
   açık hâli de kısaltıyordu; bu kural onlardan güçlüdür. Çok uzun özet kendi içinde kayar. */
#detail .plot.clamp.open, .plot.clamp.open { display: block !important; -webkit-line-clamp: unset !important; line-clamp: none !important; overflow-y: auto !important; max-height: 34vh; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
@media (max-width: 860px) { #detail .plot.clamp.open { max-height: 30vh; } }

/* ===== Mobil film detayı: en alta kadar kayar, arka sayfa kilitli, kapat (X) her zaman sağ üstte =====
   Pencerenin kendisi kaymaz; içindeki .detail-inner kayar. X, telefonda bu kayan alanın DIŞINA (pencerenin doğrudan
   çocuğu olarak) taşınır ve kaymayan pencereye göre konumlanır: iPhone Safari'nin kayan alan içindeki fixed/sticky
   hatalarından etkilenmez. Çentik, saat şeridi ve Dynamic Island payı (env(safe-area-inset-top)) eklenir: ana ekrana
   eklenmiş uygulamada (black-translucent) içerik saat şeridinin altına kadar uzadığı için X oranın altında kalıyordu. */
@media (max-width: 860px) {
  dialog#detail { overflow: hidden; }
  #detail .detail-bg { position: fixed; }
  #detail .detail-inner {
    height: 100%; min-height: 0; display: flex; flex-direction: column;
    overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  #detail .detail-body { flex: none; overflow: visible; min-height: 0; padding-top: calc(env(safe-area-inset-top, 0px) + 16px); padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); }
  #detail .dp-main { flex: none; overflow: visible; }
  #detail .dp-panels { flex: none; overflow: visible; min-height: 0; }
  #detail .dp-panel[data-dppanel="trailer"] { height: auto; display: block; }
  #detail .dp-panel .trailer { width: 100%; height: auto; max-height: none; aspect-ratio: 16 / 9; }
  #detail .dp-main > .tagline { display: -webkit-box; }
  #detail .dp-head .dp-dates { display: flex; }
  #detail .dp-head .dp-orig { display: -webkit-box; }
  #detail .plot.clamp { -webkit-line-clamp: 4; }
  #detail .plot.clamp.open { max-height: none; overflow: visible !important; }
  #detail .dp-main > .dp-actions .ibtn-l { display: inline; }

  #detail > .close, #detail .detail-inner > .close {
    position: absolute !important; display: grid !important; visibility: visible !important; opacity: 1 !important;
    top: calc(env(safe-area-inset-top, 0px) + 10px); right: calc(env(safe-area-inset-right, 0px) + 10px); left: auto; bottom: auto;
    margin: 0; z-index: 2147483000; width: 40px; height: 40px; transform: none !important;
    background: rgba(12, 12, 16, .72); color: #fff; border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .45);
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  }
  #detail > .close svg { width: 20px; height: 20px; stroke: #fff; }
}
/* Pencere açıkken arkadaki sayfa kaymaz (telefonda parmak pencerenin sonuna gelince arka sayfa kaymasın) */
html.dlg-open, html.dlg-open body { overflow: hidden !important; overscroll-behavior: none; }

/* ===== Logonun yanındaki "Film Puanları" yazısı her ekranda ve her temada görünür =====
   Eskiden 400 px'ten dar telefonlarda (iPhone'ların çoğu: 375–393 px) yazı gizleniyordu. Artık gizlenmez; dar ekranlarda
   logo, yazı ve sağdaki simgeler biraz küçülür, yazı hiçbir zaman kesilmez ya da sıkışıp kaybolmaz. */
.brand > span:last-child { display: inline !important; visibility: visible !important; opacity: 1 !important; color: var(--text); flex: none; white-space: nowrap; }
.app-top .brand { flex: none; min-width: max-content; }
@media (max-width: 400px) {
  .app-top .brand { font-size: 14px; gap: 6px; }
  .app-top .brand-logo img { height: 20px; }
  #settingsBtn, #siteAdminBtn, #themeBtn, #menuBtn, #logoutIco { width: 36px; height: 36px; }
}
@media (max-width: 350px) {
  .app-top { gap: 4px; padding-left: 8px; padding-right: 8px; }
  .app-top .brand { font-size: 13px; gap: 5px; letter-spacing: -.03em; }
  .app-top .brand-logo img { height: 18px; }
  #settingsBtn, #siteAdminBtn, #themeBtn, #menuBtn, #logoutIco { width: 32px; height: 32px; }
}

/* ===== iPhone: kendiliğinden yakınlaştırma (zoom) olmasın =====
   iPhone, yazı boyutu 16 px'ten küçük bir kutuya (arama, liste adı, şifre…) dokunulunca sayfayı büyütüp öyle bırakıyordu;
   film detayı da büyütülmüş, solu kesik görünüyordu. Telefonda tüm giriş kutuları 16 px: iPhone büyütmez. */
@media (max-width: 860px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { font-size: 16px !important; }
  .search .q-ghost { font-size: 16px; }
}

/* ===== Film detayındaki X: çarpı işareti CSS ile çizilir =====
   iPhone Safari, ızgara (grid) düzenindeki düğmenin içindeki SVG simgeyi ~1,5 px'e küçültüyordu (yalnızca koyu daire
   görünüyordu). Telefonda çarpı iki beyaz çizgiyle çizilir; SVG'ye bağlı değildir, her tarayıcıda aynı görünür. */
@media (max-width: 860px) {
  #detail > .close, #detail .detail-inner > .close { display: block !important; padding: 0; font-size: 0; line-height: 0; }
  #detail > .close svg, #detail .detail-inner > .close svg { display: none !important; }
  #detail > .close::before, #detail > .close::after,
  #detail .detail-inner > .close::before, #detail .detail-inner > .close::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2.5px; margin: -1.25px 0 0 -10px;
    border-radius: 2px; background: #fff; pointer-events: none;
  }
  #detail > .close::before, #detail .detail-inner > .close::before { transform: rotate(45deg); }
  #detail > .close::after, #detail .detail-inner > .close::after { transform: rotate(-45deg); }
}

/* ===== iPhone Safari: ızgara (grid) düzenli düğmelerdeki simgeler görünmüyordu =====
   Simge boyutu "1em" olan ve içeriği grid ile ortalanan düğmelerde (menü ☰, kapat X, şifre gözü vb.) iPhone Safari SVG'yi
   ~1–2 px'e küçültüyordu; düğme yer kaplıyor ama simge görünmüyordu (piksel boyutlu .ibtn simgeleri etkilenmiyordu).
   Bu düğmeler flex ile ortalanır ve simgeler sabit piksel boyutundadır; her tarayıcıda ve her temada aynı görünür. */
.icon-btn, .only-mobile.icon-btn, .close, .pz-close, .logout-ico, .umark, .intro-list i, .trailer-play .play {
  display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 860px) { .only-mobile.icon-btn { display: inline-flex !important; } }
@media (min-width: 861px) { .only-mobile { display: none !important; } }
.close[hidden], .pz-close[hidden], .logout-ico[hidden], .icon-btn[hidden] { display: none !important; }
.icon-btn > .ico { width: 22px; height: 22px; min-width: 22px; min-height: 22px; flex: none; display: block; }
.close > .ico, .pz-close > .ico { width: 18px; height: 18px; min-width: 18px; min-height: 18px; flex: none; display: block; }
.logout-ico > .ico { width: 17px; height: 17px; min-width: 17px; min-height: 17px; flex: none; display: block; }
.umark > .ico { width: 14px; height: 14px; min-width: 14px; flex: none; display: block; }
.intro-list i > .ico { width: 18px; height: 18px; min-width: 18px; flex: none; display: block; }
.trailer-play .play > .ico { width: 26px; height: 26px; min-width: 26px; flex: none; display: block; }
.btn.icon-only > .ico { width: 18px; height: 18px; min-width: 18px; flex: none; }
#settingsBtn > .ico { width: 20px; height: 20px; min-width: 20px; flex: none; }

/* ---------- Dil seçeneği (TR / ENG) ---------- */
.lang-switch { display: flex; align-items: center; gap: 6px; margin: 14px 12px 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.lang-switch .lang-l { flex: 1; font-size: 12px; color: var(--muted); }
.lang-b { padding: 5px 10px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--text2); font: 600 12px/1 var(--font); cursor: pointer; }
.lang-b:hover { border-color: var(--line-hover); color: var(--text); }
.lang-b.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.auth-lang { margin: 0 0 14px; padding: 0; border: 0; justify-content: flex-end; }

/* "Başka öner": yeni öneri hazırlanırken */
.ibtn.busy { opacity: .55; pointer-events: none; }

/* ---------- "Nasıl hissediyorsun?" ---------- */
.mood-dlg { max-width: min(1100px, calc(100vw - 24px)); }
.mood-inner { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px 26px 22px; box-shadow: var(--shadow-lg); max-height: calc(100vh - 40px); overflow-y: auto; }
.mood-inner h2 { margin: 2px 0 6px; font-size: 24px; font-weight: 800; padding-right: 44px; }
.mood-eyebrow:empty { display: none; }
.mood-lead { margin: 0 0 14px; }
.mood-form { display: flex; gap: 8px; }
.mood-form input { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 14px; font-size: 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-2); color: var(--text); }
.mood-form input:focus { outline: 2px solid var(--accent-line); outline-offset: 1px; }
.mood-form .btn { height: 46px; padding: 0 20px; }
.mood-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.mood-chips button { font: inherit; font-size: 12.5px; padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--soft); color: var(--text2); cursor: pointer; }
.mood-chips button:hover, .mood-chips button:focus-visible { border-color: var(--accent-line); color: var(--accent-text); background: var(--accent-soft); }
.mood-out { margin-top: 16px; }
.mood-out .grid { margin-top: 10px; }
.mood-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--text2); }
.mood-sum b { color: var(--text); }
.mood-tag { font-size: 11.5px; padding: 2px 9px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-text); }
.mood-note { font-size: 12px; color: var(--muted); margin-top: 8px; }
.mood-item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
@media (max-width: 560px) {
  .mood-inner { padding: 20px 16px 16px; }
  .mood-inner h2 { font-size: 20px; }
  .mood-out .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
}

/* ---------- yeni özellik tanıtımı: "Nasıl hissediyorsun?" (köşede küçük kart, bir kez) ---------- */
.intro-dlg { position: fixed; inset: auto 22px 22px auto; margin: 0; padding: 0; border: 0; background: none; width: min(410px, calc(100vw - 24px)); max-height: calc(100vh - 44px); z-index: 60; color: var(--text); }
.intro-dlg[open] { animation: introIn .45s var(--ease-out, cubic-bezier(.2, .8, .2, 1)) both; }
@keyframes introIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.intro-inner { position: relative; overflow-y: auto; max-height: inherit; padding: 20px 20px 18px; border-radius: var(--r-xl); border: 1px solid var(--line);
  background: radial-gradient(120% 80% at 100% 0%, var(--accent-soft), transparent 60%), var(--surface); box-shadow: var(--shadow-lg); }
.intro-inner .close { position: absolute; top: 12px; right: 12px; }
.intro-new { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.intro-inner h2 { margin: 10px 0 6px; font-size: 21px; font-weight: 800; padding-right: 36px; }
.intro-lead { margin: 0 0 14px; color: var(--text2); font-size: 13.5px; line-height: 1.5; }
.intro-demo { padding: 12px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); }
.intro-q { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--accent-line); font-size: 14px; }
.intro-q-ic { color: var(--accent-ink); display: inline-flex; }
.intro-caret { width: 2px; height: 18px; margin-left: -6px; background: var(--accent-ink); animation: introCaret 1s steps(1) infinite; }
@keyframes introCaret { 50% { opacity: 0; } }
.intro-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.intro-tags span { padding: 3px 9px; border-radius: var(--r-pill); font-size: 11.5px; color: var(--accent-text); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.intro-res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.intro-film { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.intro-poster { display: grid; place-items: center; aspect-ratio: 2 / 3; border-radius: var(--r-sm); font-size: 30px; border: 1px solid var(--line);
  background: linear-gradient(160deg, #1f3a2b, #0d1712); }
.f2 .intro-poster { background: linear-gradient(160deg, #2a2440, #100d1a); }
.f3 .intro-poster { background: linear-gradient(160deg, #3a2a1c, #160f09); }
.intro-ft { display: flex; flex-direction: column; min-width: 0; }
.intro-ft b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.intro-ft i { font-style: normal; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* yazma bitince özellikler ve filmler sırayla belirir */
.intro-tags span, .intro-film { opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.intro-demo.done .intro-tags span, .intro-demo.done .intro-film { opacity: 1; transform: none; }
.intro-demo.done .intro-tags span:nth-child(2) { transition-delay: .08s; }
.intro-demo.done .intro-tags span:nth-child(3) { transition-delay: .16s; }
.intro-demo.done .f1 { transition-delay: .3s; }
.intro-demo.done .f2 { transition-delay: .42s; }
.intro-demo.done .f3 { transition-delay: .54s; }
.intro-demo.done .intro-caret { display: none; }
.intro-steps { list-style: none; counter-reset: st; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.intro-steps li { counter-increment: st; display: grid; grid-template-columns: 24px 1fr; column-gap: 10px; font-size: 13px; line-height: 1.45; }
.intro-steps li::before { content: counter(st); grid-row: span 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 800; font-size: 12px; }
.intro-steps b { font-size: 13.5px; }
.intro-steps span { color: var(--text2); }
.intro-cta { display: flex; gap: 8px; margin-top: 16px; }
.intro-cta .btn { flex: 1 1 0; justify-content: center; min-height: 42px; }
/* tanıtım açıkken üstteki düğme hafifçe nabız atar */
.mood-btn.intro-pulse { animation: introPulse 1.6s ease-out infinite; border-color: var(--accent-line); }
@keyframes introPulse { 0% { box-shadow: 0 0 0 0 var(--accent-line); } 100% { box-shadow: 0 0 0 12px transparent; } }
@media (max-width: 860px) {
  .intro-dlg { inset: auto 10px calc(76px + env(safe-area-inset-bottom)) 10px; width: auto; max-height: calc(100vh - 110px); }
  .intro-inner { padding: 18px 16px 14px; }
  .intro-poster { aspect-ratio: 4 / 3; font-size: 24px; } /* telefonda kısa kalsın */
  .intro-lead { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-dlg[open], .mood-btn.intro-pulse, .intro-caret { animation: none; }
  .intro-tags span, .intro-film { transition: none; }
}

/* ---------- Hareket dili (2026-11): vurgulu eğriyle görünüm geçişleri, film penceresinin açılış ve kapanışı ---------- */
:root { --ease-emph: cubic-bezier(.2, 0, 0, 1); --ease-emph-in: cubic-bezier(.3, 0, .8, .15); }
.view-in { animation: view-in2 .5s var(--ease-emph) both; }
@keyframes view-in2 { from { opacity: 0; transform: translateY(18px) scale(.985); } }
/* Film penceresi: masaüstünde hafif büyüyerek, telefonda alttan kayarak açılır; kapanırken tersine söner (destekleyen tarayıcılarda) */
dialog#detail[open] { animation: detail-in .46s var(--ease-emph); }
@keyframes detail-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@media (max-width: 860px) {
  dialog#detail[open] { animation: detail-sheet .5s var(--ease-emph); }
  @keyframes detail-sheet { from { opacity: .4; transform: translateY(14%); } }
}
@supports (transition-behavior: allow-discrete) {
  dialog#detail { transition: opacity .22s var(--ease-emph-in), transform .26s var(--ease-emph-in), overlay .26s allow-discrete, display .26s allow-discrete; }
  dialog#detail:not([open]) { opacity: 0; transform: translateY(20px) scale(.98); }
  dialog#detail::backdrop { transition: opacity .26s ease, overlay .26s allow-discrete, display .26s allow-discrete; }
  dialog#detail:not([open])::backdrop { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .view-in, dialog#detail[open] { animation: none !important; }
  dialog#detail { transition: none !important; }
}

/* ---------- UX düzenlemeleri (2026-11) ---------- */
/* Telefon ana sayfası: sıralama ve filtre listeye aittir; onların yerine iki öneri düğmesi etiketli ve eşit genişlikte */
@media (max-width: 860px) {
  body[data-view="home"]:not(.filters-open) #sort, body[data-view="home"]:not(.filters-open) #filterToggle { display: none; }
  body[data-view="home"] .surprise-btn, body[data-view="home"] .mood-btn { flex: 1 1 0; width: auto; padding: 0 12px; gap: 8px; justify-content: center; }
  body[data-view="home"] .surprise-btn .lbl, body[data-view="home"] .mood-btn .lbl { display: inline; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body[data-view="home"] .mood-btn { order: 6; border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-text); }
}
/* "Nasıl hissediyorsun?" tanıtımı telefonda ekranı örtmesin: adımlar gizlenir, kart kısalır */
@media (max-width: 860px) {
  .intro-dlg .intro-steps { display: none; }
  .intro-dlg .intro-lead { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .intro-dlg .intro-res .f3 { display: none; }
}
/* Açılış: logo sönerken sayfadaki yükleme animasyonu üst üste binmesin; sayfanınki biraz sonra belirir */
main .reel-loader { animation: loader-late .3s .45s both; }
@keyframes loader-late { from { opacity: 0; } }

/* ---------- Ana sayfanın başı: "Ne izlemek istersin?" (öne çıkan film yerine; 2026-11) ---------- */
.mood-hero { background: linear-gradient(135deg, var(--accent-soft), transparent 55%), var(--bg-elev); }
.mood-hero::before { display: none; }
.mh-glow { position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent); animation: mh-glow 9s ease-in-out infinite alternate; }
@keyframes mh-glow { to { transform: translate(-18%, 22%) scale(1.15); } }
.mh-inner { padding: clamp(22px, 3.4vw, 44px) clamp(18px, 3.4vw, 44px) 18px; max-width: 880px; }
.mh-hi { color: var(--muted); font-weight: 600; font-size: 15px; }
.mood-hero h1 { margin: 6px 0 18px; }
.mh-form { position: relative; display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 0 8px 0 18px; border-radius: 22px;
  background: var(--bg); border: 1.5px solid var(--accent-line); box-shadow: 0 10px 40px -18px var(--accent-line);
  transition: box-shadow .25s var(--ease-emph, ease), border-color .25s; }
.mh-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 14px 48px -16px var(--accent-line); }
.mh-ic { color: var(--accent); display: grid; flex: none; }
.mh-ic .ico { width: 22px; height: 22px; }
.mh-form input { flex: 1; min-width: 0; height: 60px; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 17px; }
.mh-ph { position: absolute; left: 52px; right: 70px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); font-size: 17px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-ph::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.18em; background: var(--accent); animation: mh-caret 1.06s steps(1) infinite; }
@keyframes mh-caret { 50% { opacity: 0; } }
.mh-go { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--accent); color: #fff; transition: transform .2s var(--ease-emph, ease); }
.mh-go:hover { transform: scale(1.06); }
.mh-go:active { transform: scale(.94); }
.mh-go .ico { width: 22px; height: 22px; }
.mh-lead { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 12px 0 14px; max-width: 640px; }
.mh-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mh-chips button { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: var(--r-pill); padding: 9px 15px; font: inherit;
  font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease-emph, ease); }
.mh-chips button:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.mh-chips button:active { transform: scale(.96); }
.mh-chips .mh-dice { display: inline-flex; align-items: center; gap: 7px; background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-text); font-weight: 700; }
.mh-chips .mh-dice .ico { width: 17px; height: 17px; }
.mood-hero .hero-report { padding: 0 clamp(18px, 3.4vw, 44px) 16px; }
@media (max-width: 860px) {
  /* Telefonda yazma alanı en üstte; sıralama/filtre ve öneri düğmeleri ana sayfada gizli (hepsi burada) */
  body[data-view="home"]:not(.filters-open) #surpriseBtn, body[data-view="home"]:not(.filters-open) #moodBtn { display: none; }
  .mh-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 0 18px 4px; scrollbar-width: none; }
  .mh-chips::-webkit-scrollbar { display: none; }
  .mh-chips button { flex: none; white-space: nowrap; }
  .mh-form input, .mh-ph { font-size: 16px; }
  .mood-hero h1 { font-size: clamp(25px, 7vw, 34px); }
}
@media (prefers-reduced-motion: reduce) { .mh-glow, .mh-ph::after { animation: none; } }
/* Ana sayfa yazma paneli daha kısa (2026-11-21): genişlik aynı, yükseklik ~%30 az; öneriler tek satırda kayar */
.mh-inner { padding: 24px clamp(18px, 2.6vw, 34px) 12px; max-width: none; }
.mh-hi { font-size: 14px; }
.mood-hero h1 { font-size: clamp(25px, 2.5vw, 34px); margin: 2px 0 12px; }
.mh-form { min-height: 54px; max-width: 860px; }
.mh-form input { height: 52px; }
.mh-go { width: 42px; height: 42px; }
.mh-lead { font-size: 13px; margin: 8px 0 10px; }
.mh-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * clamp(18px, 2.6vw, 34px)); padding: 0 clamp(18px, 2.6vw, 34px) 2px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 clamp(18px, 2.6vw, 34px), #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 clamp(18px, 2.6vw, 34px), #000 calc(100% - 48px), transparent); }
.mh-chips::-webkit-scrollbar { display: none; }
.mh-chips button { flex: none; white-space: nowrap; padding: 7px 14px; font-size: 13.5px; }
.mood-hero .hero-report { padding: 0 clamp(18px, 2.6vw, 34px) 10px; }
.mh-inner { padding-top: 32px; }
.mood-hero h1 { margin: 4px 0 16px; }
.mh-lead { margin: 10px 0 14px; }
.mood-hero .hero-report { padding-bottom: 14px; }
