/*
Lurox v4 — gala arayüzü stil dosyası
Description: Film, dizi ve bölüm sitesi teması. Animasyonlu logo, büyük afiş kaydırıcısı, Keşfet (Bugün ne izlesem?, ruh hâli, kanallar, yönetmenler, seriler, oyuncular, ülkeler, dönemler), IMDb Top 250, Trend, sezon sekmeli bölüm ızgarası, Favori / İzledim / Takip Et listeleri, 10 yıldız puanlama, AJAX üyelik, çoklu kaynaklı oynatıcı. TMDB entegrasyonu (arama, liste, toplu, IMDb ID ile içe aktarma, otomatik sezon/bölüm senkronu).
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
*/

/* ================= Tokens ================= */
:root {
	--accent: #d24537;
	--accent-rgb: 210, 69, 55;
	--accent-hover: #b53b2f;
	--accent-text: #e74c3c;
	--gold: #f5c518;
	--bg-outer: #0a0a0b;
	--bg-page: #121214;
	--bg-raise: #1a1a1d;
	--bg-raise-2: #232327;
	--line: #26262b;
	--line-soft: #1f1f23;
	--text: #f2f2f0;
	--text-mid: #babac3;
	--text-dim: #9a9aa0;
	--text-faint: #6f6f78;
	--radius: 10px;
	--container: 1100px;
	--font: "Cairo", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
	--l-dublaj: #d24537;
	--l-altyazi: #9b59b6;
	--l-yerli: #307cb3;
	--l-dual: #000;
}

/* ================= Reset ================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { background: var(--bg-outer); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg-outer); min-height: 100vh; line-height: 1.5; -webkit-font-smoothing: antialiased; font-size: 15px; }
a { color: inherit; text-decoration: none; }
img, svg, video, iframe { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -.2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(var(--accent-rgb), .35); color: #fff; }
.ikon { width: 1em; height: 1em; flex-shrink: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 999; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ================= Page frame ================= */
.page { max-width: var(--container); margin: 0 auto; background: var(--bg-page); min-height: 100vh; display: flex; flex-direction: column; box-shadow: 0 0 0 1px var(--line-soft); }
.site-main { flex: 1; }
.wrap { padding: 20px 20px 10px; }
.duyuru { background: var(--accent); color: #fff; text-align: center; font-weight: 700; font-size: 14px; padding: 8px 16px; }

/* ================= Buttons ================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 8px; font-size: 14px; font-weight: 700; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn .ikon { font-size: 16px; }
.btn-ghost { background: var(--bg-raise); border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: #3a3a41; background: var(--bg-raise-2); }
.btn-solid { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-block { width: 100%; height: 42px; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; color: var(--text-mid); font-size: 18px; }
.icon-btn:hover { color: #fff; background: var(--bg-raise-2); }
.mini-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 7px; background: var(--bg-raise-2); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--text); }
.mini-btn:hover { border-color: var(--accent); }
.field { width: 100%; background: var(--bg-page); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; color: var(--text); font-size: 14px; outline: none; }
.field:focus { border-color: var(--accent); }
textarea.field { min-height: 90px; resize: vertical; }
select { background: var(--bg-page); border: 1px solid var(--line); border-radius: 8px; height: 36px; padding: 0 10px; color: var(--text); font-size: 14px; }

/* ================= Logo (animated) ================= */
.logo { font-size: 27px; font-weight: 800; color: #fff; line-height: 1; flex-shrink: 0; display: inline-flex; align-items: center; gap: 9px; }
.logo img { height: auto; width: auto; }
.logo-anim { position: relative; overflow: visible; }
.logo-icon-wrap { display: inline-flex; flex-shrink: 0; overflow: visible; transform-origin: center; transform: translateX(var(--shift)); animation: ftIntroIcon 4.2s ease 1 forwards; position: relative; z-index: 2; }
.logo-icon-loop { display: inline-flex; overflow: visible; transform-origin: center; animation: ftIconLoop 3s ease-in-out 4.5s infinite; }
.logo-icon { display: block; overflow: visible; transform: translateY(1px); filter: drop-shadow(0 2px 6px rgba(var(--accent-rgb), .35)); }
.lm-body { fill: var(--accent); }
.lm-line { stroke: #fff; }
.lm-dot { fill: #fff; }
.logo-name { text-transform: uppercase; letter-spacing: .5px; font-weight: 700; font-size: 25px; color: #fff; white-space: nowrap; display: inline-flex; }
.logo-name .ll { display: inline-block; position: relative; opacity: 0; color: inherit; animation: ftLetterIn .16s ease-out var(--ll-in, 0s) 1 forwards; }
.logo-name .ll::before, .logo-name .ll::after { content: attr(data-ch); position: absolute; left: 0; top: 0; color: var(--accent-text); text-shadow: 0 0 1px var(--accent-text), 0 0 1px var(--accent-text), 0 0 6px rgba(var(--accent-rgb), .7); opacity: 0; pointer-events: none; }
.logo-name .ll::before { animation: ftLetterGlow 3s ease-in-out var(--ll-glow, 0s) infinite; }
.logo-name .ll::after { animation: ftNameBlink 3s ease-in-out 4.5s infinite; }

@keyframes ftIntroIcon {
	0%, 7% { transform: translateX(var(--shift)) scaleX(1); opacity: 1; }
	10% { opacity: .12; } 13% { opacity: 1; } 16% { opacity: .12; } 19% { opacity: 1; } 22% { opacity: .12; }
	25% { transform: translateX(var(--shift)) scaleX(1); opacity: 1; }
	38% { transform: translateX(var(--far)) scaleX(1); opacity: 1; }
	43% { transform: translateX(var(--far)) scaleX(-1); opacity: 1; }
	95% { transform: translateX(0) scaleX(-1); opacity: 1; }
	100% { transform: translateX(0) scaleX(1); opacity: 1; }
}
@keyframes ftIconLoop {
	0%, 3% { transform: scaleX(1); opacity: 1; }
	13%, 20% { transform: scaleX(-1); opacity: 1; }
	31%, 62% { transform: scaleX(1); opacity: 1; }
	65% { opacity: .18; } 69% { opacity: 1; } 74% { opacity: .18; } 78%, 100% { opacity: 1; }
}
@keyframes ftLetterIn { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ftLetterGlow { 0%, 8% { opacity: 0; } 15% { opacity: 1; } 22%, 100% { opacity: 0; } }
@keyframes ftNameBlink { 0%, 62% { opacity: 0; } 65% { opacity: 1; } 69% { opacity: 0; } 74% { opacity: 1; } 78%, 100% { opacity: 0; } }

/* Modes: seen-this-session / loop only → skip intro; off → static */
.logo-seen .logo-mode-session .logo-icon-wrap,
.logo-mode-loop .logo-icon-wrap,
.logo-mode-off .logo-icon-wrap,
.logo-small .logo-icon-wrap { animation: none; transform: none; }
.logo-seen .logo-mode-session .ll,
.logo-mode-loop .ll,
.logo-mode-off .ll,
.logo-small .ll { animation: none; opacity: 1; }
.logo-seen .logo-mode-session .logo-icon-loop,
.logo-mode-loop .logo-icon-loop { animation-delay: .6s; }
.logo-seen .logo-mode-session .ll::before,
.logo-mode-loop .ll::before { animation-delay: calc(var(--ll-glow) - 3.9s); }
.logo-seen .logo-mode-session .ll::after,
.logo-mode-loop .ll::after { animation-delay: .6s; }
.logo-mode-off .logo-icon-loop, .logo-mode-off .ll::before, .logo-mode-off .ll::after,
.logo-small .logo-icon-loop, .logo-small .ll::before, .logo-small .ll::after { animation: none; opacity: 0; }
.logo-mode-off .logo-icon-loop, .logo-small .logo-icon-loop { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	.logo-icon-wrap, .logo-icon-loop { animation: none !important; transform: none !important; }
	.logo-name .ll { animation: none !important; opacity: 1 !important; }
	.logo-name .ll::before, .logo-name .ll::after { animation: none !important; opacity: 0 !important; }
}

/* ================= Header ================= */
.hdr-top { border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 16px; padding: 0 20px; }
.hdr-top .hdr-in { height: 72px; }
.mainnav { display: flex; align-items: center; gap: 8px; margin-left: 24px; }
.mainnav-item { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; background: var(--bg-raise); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--text-mid); transition: .15s; }
.mainnav-item .ikon { font-size: 16px; }
.mainnav-item:hover { color: #fff; border-color: #3a3a41; }
.mainnav-item.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.mainnav-item.icon-only { width: 42px; padding: 0; justify-content: center; }
.mainnav-item.icon-only span { display: none; }
.auth { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.auth .user-icon, .search-toggle, .hamburger { display: none; }
.hamburger { width: 40px; height: 40px; border-radius: 8px; background: var(--bg-raise); border: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.hamburger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
.user-menu { position: relative; }
.user-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 5px; border-radius: 8px; background: var(--bg-raise); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.user-av { width: 30px; height: 30px; border-radius: 6px; background: var(--accent); display: grid; place-items: center; font-weight: 800; color: #fff; }
.user-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hdr-sub { border-bottom: 2px solid var(--accent); }
.hdr-sub .hdr-in { height: 64px; }
.subnav ul { display: flex; align-items: center; gap: 4px; }
.subnav li { position: relative; }
.subnav li > a, .subnav li > button { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 10px; font-size: 14px; color: var(--text-mid); border-radius: 6px; font-weight: 600; }
.subnav li > a:hover, .subnav li > button:hover, .has-dropdown.open > button { color: #fff; }
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--accent); display: inline-block; transition: transform .15s; }
.open > [data-dd-btn] .caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; min-width: 180px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 10px; padding: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .55); display: none; }
.open > .dropdown { display: block; }
.dropdown a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; font-size: 14px; color: var(--text-mid); border-radius: 6px; white-space: nowrap; }
.dropdown a:hover { background: var(--bg-raise-2); color: #fff; }
.dropdown a .ikon { font-size: 16px; color: var(--text-dim); }
.dropdown-right { left: auto; right: 0; }
.open > .dropdown-grid { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); width: max-content; max-width: 520px; }
.open > .dropdown-years { grid-template-columns: repeat(4, minmax(70px, 1fr)); max-height: 340px; overflow: auto; }

.search { margin-left: auto; position: relative; width: 400px; }
.search form { display: flex; align-items: center; height: 36px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; gap: 10px; transition: border-color .15s; }
.search form:focus-within { border-color: var(--accent); }
.search .search-ico { color: var(--text-dim); font-size: 15px; }
.search input { flex: 1; background: none; border: 0; outline: 0; font-size: 14px; min-width: 0; color: var(--text); }
.search input::placeholder { color: var(--text-dim); }
.search input::-webkit-search-cancel-button { filter: invert(1); opacity: .5; }
.live { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 70; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, .6); padding: 6px; display: none; max-height: 70vh; overflow: auto; }
.live.open { display: block; }
.live a { display: flex; align-items: center; gap: 10px; padding: 7px; border-radius: 8px; }
.live a:hover, .live a.sel { background: var(--bg-raise-2); }
.live img { width: 38px; height: 56px; object-fit: cover; border-radius: 5px; background: var(--bg-raise-2); }
.live strong { display: block; font-size: 14px; }
.live em { display: block; font-style: normal; font-size: 12px; color: var(--text-dim); }
.live .meta { display: flex; gap: 8px; font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.live .meta b { color: var(--gold); }
.live .tip { color: var(--accent-text); font-weight: 700; }
.live .all { justify-content: center; font-weight: 700; font-size: 13px; color: var(--accent-text); }
.live .none { padding: 14px; text-align: center; color: var(--text-dim); font-size: 14px; }

/* Mobile drawer */
.mobil-menu { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.mobil-menu.acik { visibility: visible; }
.perde { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .2s; }
.acik .perde { opacity: 1; }
.cekmece { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 88vw); background: var(--bg-page); border-left: 1px solid var(--line); padding: 16px; overflow: auto; transform: translateX(100%); transition: transform .25s; }
.acik .cekmece { transform: none; }
.cekmece-ust { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cekmece-ust .logo { font-size: 20px; }
.cekmece-ust .logo-name { font-size: 19px; }
.cekmece nav a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 8px; font-weight: 700; color: var(--text-mid); }
.cekmece nav a.active, .cekmece nav a:hover { background: var(--bg-raise); color: #fff; }
.cekmece nav a.active .ikon { color: var(--accent-text); }
.cekmece h4 { margin: 18px 0 10px; font-size: 12px; text-transform: uppercase; color: var(--text-dim); letter-spacing: .5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips a { padding: 5px 10px; border-radius: 6px; background: var(--bg-raise); border: 1px solid var(--line); font-size: 13px; color: var(--text-mid); }

/* ================= Sections ================= */
.sec { margin: 26px 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.sec-title { display: inline-flex; align-items: baseline; gap: 10px; font-size: 20px; font-weight: 800; padding-left: 14px; position: relative; }
.sec-title::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 18px; border-radius: 2px; background: var(--accent); transform: translateY(-50%); }
.sec-title small { font-size: 13px; font-weight: 500; color: var(--text-dim); letter-spacing: 0; }
.sec-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--text-mid); }
.sec-more:hover { color: #fff; }
.sec-desc { color: var(--text-dim); font-size: 14px; margin: -6px 0 14px; }
.sec-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.count-pill { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 99px; background: var(--bg-raise); border: 1px solid var(--line); font-size: 12px; font-weight: 800; color: var(--text-mid); }
.next-pill { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 99px; background: rgba(var(--accent-rgb), .14); color: var(--accent-text); font-size: 12px; font-weight: 700; margin-right: 6px; }
.sub-title { font-size: 16px; margin: 22px 0 12px; color: var(--text-mid); }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 13px; color: var(--text-dim); margin: 4px 0 18px; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.crumbs .sep { color: var(--text-faint); }
.seg { display: inline-flex; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 8px; padding: 3px; gap: 2px; }
.seg a, .seg button { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 6px; font-size: 13px; font-weight: 700; color: var(--text-mid); }
.seg .active { background: var(--accent); color: #fff; }
.seg.small a, .seg.small button { height: 24px; padding: 0 10px; font-size: 12px; }
.lang-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 99px; font-size: 12px; font-weight: 700; border: 1px solid currentColor; }
.lang-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lang-chip.dublaj { color: #e95c4e; }
.lang-chip.altyazi { color: #ac75c2; }
.lang-chip.yerli { color: #3990ce; }
.lang-chip.on { color: #fff; }
.lang-chip.dublaj.on { background: var(--l-dublaj); border-color: var(--l-dublaj); }
.lang-chip.altyazi.on { background: var(--l-altyazi); border-color: var(--l-altyazi); }
.lang-chip.yerli.on { background: var(--l-yerli); border-color: var(--l-yerli); }
.sort select { height: 28px; font-size: 12px; font-weight: 700; border-radius: 99px; padding: 0 10px; background: var(--bg-raise); }
.tag-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 5px; background: #000; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .3px; }
.tag-pill.x { background: rgba(var(--accent-rgb), .15); color: var(--accent-text); height: 28px; font-size: 12px; }
.notice-box { background: var(--bg-raise); border: 1px dashed var(--line); padding: 16px; border-radius: var(--radius); color: var(--text-mid); margin: 20px 0; }

/* ================= Hero slider ================= */
.hero { position: relative; margin-bottom: 30px; }
.hero-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 7px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; border-radius: 12px; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-card { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; scroll-snap-align: start; background: var(--bg-raise); isolation: isolate; }
.hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; z-index: -1; }
.hero-card:hover img { transform: scale(1.04); }
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 11, .96) 0%, rgba(10, 10, 11, .55) 32%, rgba(10, 10, 11, 0) 62%); z-index: -1; }
.hero-txt { position: absolute; left: 22px; right: 22px; bottom: 20px; }
.hero-txt strong { display: block; font-size: 26px; font-weight: 800; line-height: 1.15; margin-bottom: 8px; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.hero-txt span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; color: #d8d8dc; line-height: 1.6; }
.imdb-pill { display: inline-flex; align-items: center; height: 24px; border-radius: 6px; overflow: hidden; background: #1a1a1d; border: 1px solid rgba(255, 255, 255, .12); font-size: 13px; font-weight: 800; padding-right: 8px; gap: 7px; color: #fff; }
.imdb-pill b { background: var(--gold); color: #000; padding: 0 6px; height: 100%; display: inline-flex; align-items: center; font-size: 11px; font-weight: 900; }
.imdb-pill i { font-style: normal; }
.hero-card .imdb-pill { position: absolute; left: 14px; top: 14px; }
.year-pill { position: absolute; right: 14px; top: 14px; height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 7px; background: rgba(20, 20, 22, .88); font-size: 13px; font-weight: 800; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(18, 18, 20, .92); border: 1px solid var(--line); display: grid; place-items: center; z-index: 3; font-size: 18px; color: #fff; transition: .15s; }
.hero-nav:hover { background: var(--accent); border-color: var(--accent); }
.hero-nav.prev { left: -8px; }
.hero-nav.next { right: -8px; }
.hero-nav[disabled] { opacity: .35; pointer-events: none; }
.hero-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.hero-dots button { width: 7px; height: 7px; border-radius: 99px; background: #3a3a41; transition: .2s; }
.hero-dots button.active { width: 20px; background: var(--accent); }

/* ================= Poster grid & card ================= */
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 14px; }
.card { display: block; min-width: 0; position: relative; }
.card:hover { z-index: 30; }
.card-poster { display: block; position: relative; aspect-ratio: 2 / 3; border-radius: 8px; background: var(--bg-raise); }
.card-art { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.card-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s; }
.card:hover .card-art img { transform: scale(1.05); filter: brightness(.55); }

/* Hover detail card (desktop): two cards wide, poster tall; opens left in the last two columns */
.hcard { --g: 12px; position: absolute; top: 0; left: calc(100% + var(--g)); width: calc(200% + var(--g) + 2px); height: 100%; z-index: 40; display: flex; flex-direction: column; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 22px 54px rgba(0, 0, 0, .66), 0 2px 10px rgba(0, 0, 0, .4); padding: 12px 13px; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .11s ease, transform .11s ease, visibility .11s; pointer-events: none; color: var(--text); }
.hcard::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-hover), transparent); }
.card:hover .hcard { opacity: 1; visibility: visible; transform: none; transition-delay: .06s; }
.grid > .card:nth-child(6n+5) .hcard, .grid > .card:nth-child(6n) .hcard { left: auto; right: calc(100% + var(--g)); }
.hcard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex: 0 0 auto; }
.hcard-title { font-size: 15px; font-weight: 800; line-height: 1.3; }
.hcard .imdb-pill { flex-shrink: 0; font-size: 12px; height: 22px; }
.hcard-rows { margin-top: 8px; display: flex; flex-direction: column; gap: 2px; font-size: 12px; line-height: 1.34; min-height: 0; flex: 0 0 auto; overflow: hidden; }
.hcard-row { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 8px; align-items: start; flex-shrink: 0; }
.hcard-row b { color: var(--text-mid); font-weight: 700; }
.hcard-row i { font-style: normal; color: var(--text-dim); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hcard-text { flex: 0 1 auto; min-height: 0; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line-soft); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 12.5px; line-height: 1.55; color: var(--text-faint); }
.row .hcard { display: none; }
@media (hover: none), (max-width: 860px) { .hcard { display: none !important; } }
.b-score { position: absolute; left: 8px; top: 8px; min-width: 26px; height: 20px; padding: 0 5px; border-radius: 4px; background: var(--gold); color: #000; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.b-audio { position: absolute; right: 8px; top: 8px; height: 20px; padding: 0 6px; border-radius: 4px; background: rgba(0, 0, 0, .82); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; letter-spacing: .2px; }
.b-audio.dublaj { background: var(--l-dublaj); }
.b-audio.altyazi { background: var(--l-altyazi); }
.b-audio.yerli { background: var(--l-yerli); }
.b-quality { position: absolute; left: 8px; bottom: 8px; height: 18px; padding: 0 5px; border-radius: 4px; background: rgba(0, 0, 0, .78); font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.b-count { position: absolute; left: 8px; bottom: 8px; height: 22px; min-width: 26px; padding: 0 6px; border-radius: 5px; background: rgba(0, 0, 0, .85); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.card-play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: .25s; }
.card:hover .card-play { opacity: 1; transform: none; }
.card-mark .lm-body { fill: var(--accent); }
.card-title { display: block; margin-top: 9px; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.1px; }
.card:hover .card-title { color: var(--accent-text); }
.card-meta { display: block; font-size: 12px; color: var(--text-dim); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Pagination */
.pager { display: flex; justify-content: center; margin: 26px 0 6px; }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 7px; background: var(--bg-raise); border: 1px solid var(--line); font-size: 13px; font-weight: 700; margin: 0 3px; color: var(--text-mid); }
.pager .page-numbers:hover { color: #fff; border-color: #3a3a41; }
.pager .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager .dots { background: var(--bg-raise); }
.more-row { display: flex; justify-content: center; margin-top: 22px; }

/* ================= Episode cards ================= */
.ep-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 14px; padding-top: 10px; }
.ep-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 12px 12px; min-height: 72px; border-radius: 8px; background: var(--bg-raise); border: 1px solid transparent; transition: border-color .15s, background .15s; }
.ep-card:hover { border-color: #34343b; background: #1e1e22; }
.ep-tags { position: absolute; top: -10px; right: 10px; display: flex; gap: 5px; }
.ep-date, .ep-flag, .ep-now { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 4px; background: var(--bg-raise-2); border: 1px solid var(--line); font-size: 11px; font-weight: 700; color: var(--text-mid); }
.ep-flag { padding: 0 5px; }
.bayrak { border-radius: 2px; }
.ep-now { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 800; letter-spacing: .3px; }
.ep-thumb { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--bg-raise-2); flex-shrink: 0; }
.ep-row .ep-thumb { width: 50px; height: 50px; }
.ep-info { min-width: 0; }
.ep-info strong { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-info small { display: block; font-size: 12px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-card:hover strong { color: var(--accent-text); }
.ep-row.current { border-color: var(--accent); background: rgba(var(--accent-rgb), .08); }
.ep-row.current strong { color: var(--accent-text); }
.ep-row.current small { color: #fff; font-weight: 700; }

/* ================= SEO box ================= */
.seo-box { margin: 34px 0 10px; padding: 22px 26px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text-dim); font-size: 13px; line-height: 1.85; text-align: center; }
.seo-box p + p { margin-top: 12px; }

/* ================= Info panel ================= */
.info { display: grid; grid-template-columns: 178px 1fr; gap: 22px; padding: 22px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; }
.info-poster { position: relative; align-self: start; border-radius: 8px; overflow: hidden; background: var(--bg-raise-2); }
.info-poster img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.info-ribbon { display: block; text-align: center; padding: 7px 6px; background: linear-gradient(180deg, #b07c23, #8f6219); color: #fff; font-size: 12px; font-weight: 800; }
.info-main { min-width: 0; }
.info-title { font-size: 26px; font-weight: 800; }
.info-title span { color: var(--text-dim); font-weight: 700; }
.info-orig { color: var(--text-dim); font-size: 15px; margin-top: 4px; }
.info-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; font-size: 13px; }
.info-meta .mi em { font-style: normal; color: var(--text-dim); }
.info-meta a:hover { color: var(--accent-text); }
.info-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.rate { display: flex; align-items: center; gap: 12px; }
.ring { --p: 0; position: relative; width: 48px; height: 48px; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--p) * 1%), #2c2c32 0); display: grid; place-items: center; flex-shrink: 0; }
.ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--bg-raise); }
.ring b { position: relative; font-size: 17px; font-weight: 800; }
.stars { display: flex; gap: 1px; }
.stars button { font-size: 21px; color: #4a4a52; padding: 1px; line-height: 0; transition: transform .1s, color .1s; }
.stars button .ikon path { fill: none; stroke: currentColor; stroke-width: 1.6; }
.stars button.on, .stars.hover button.hv { color: var(--gold); }
.stars button.on .ikon path, .stars.hover button.hv .ikon path { fill: currentColor; }
.stars.hover button:not(.hv) { color: #4a4a52; }
.stars.hover button:not(.hv) .ikon path { fill: none; }
.stars button:hover { transform: scale(1.15); }
.rate-r small { display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.gold, .link-gold { color: var(--gold); font-weight: 700; font-size: 11px; }
.link-gold:hover { text-decoration: underline; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.act-btn { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 8px; background: var(--bg-raise-2); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--text-mid); transition: .15s; }
.act-btn .ikon { font-size: 15px; }
.act-btn:hover { color: #fff; border-color: #3d3d45; }
.act-btn.on { color: #fff; border-color: var(--accent); background: rgba(var(--accent-rgb), .14); }
.act-btn.on .ikon { color: var(--accent-text); }
.act-btn.on[data-toggle="fav"] .ikon path { fill: currentColor; }
.act-trailer { color: var(--accent-text); border-color: rgba(var(--accent-rgb), .45); background: rgba(var(--accent-rgb), .08); }
.act-trailer:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.act-trailer .ikon { font-size: 12px; }
.cnt { position: absolute; top: -8px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--bg-page); border: 1px solid #4a4a52; font-size: 10px; font-style: normal; font-weight: 800; display: grid; place-items: center; color: #fff; }
.info-text { margin-top: 16px; font-size: 14px; color: var(--text-mid); line-height: 1.8; }
.info-text p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.info-text.open p { -webkit-line-clamp: unset; display: block; }
.people { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.person-main { display: inline-flex; align-items: center; gap: 10px; padding: 4px 20px 4px 4px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg-page); }
.person-main img, .person-main .sil { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.person-main b { display: block; font-size: 13px; }
.person-main small { display: block; font-size: 11px; color: var(--accent-text); font-weight: 600; }
.person { position: relative; }
.person img, .person .sil, .face img, .face .sil { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: var(--bg-raise-2); border: 2px solid transparent; transition: border-color .15s; }
.sil { display: grid; place-items: end center; overflow: hidden; color: #5a5a63; font-size: 40px; background: #2b2b31; }
.sil .ikon { margin-bottom: -6px; }
.person:hover img, .person:hover .sil { border-color: var(--accent); }
.person .tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #000; padding: 6px 10px; border-radius: 7px; white-space: nowrap; font-size: 12px; opacity: 0; pointer-events: none; transition: .15s; z-index: 5; text-align: center; }
.person .tip small { display: block; color: var(--text-dim); font-size: 11px; }
.person:hover .tip { opacity: 1; }

/* ================= Player ================= */
.player { margin-bottom: 8px; }
.player-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.player-tabs button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 13px; border-radius: 8px; background: var(--bg-raise); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--text-mid); }
.player-tabs button small { color: var(--text-dim); font-weight: 600; }
.player-tabs button.on { border-color: var(--accent); color: #fff; background: rgba(var(--accent-rgb), .12); }
.player-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000 center / cover no-repeat; border: 1px solid var(--line); display: grid; place-items: center; }
.player-screen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(0, 0, 0, .25), rgba(0, 0, 0, .7)); }
.player-play { position: relative; z-index: 2; transition: transform .2s; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .6)); }
.player-play:hover { transform: scale(1.08); }
.player-note { position: absolute; bottom: 16px; left: 16px; right: 16px; text-align: center; z-index: 2; font-size: 13px; color: #ddd; text-shadow: 0 1px 4px #000; }
.player-screen iframe, .player-screen video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; background: #000; }
.player-under { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-dim); margin: 8px 0 4px; }

/* Share */
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 16px 0; margin: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share .sec-title { margin-right: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 7px; background: var(--bg-raise); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--text-mid); }
.share-btn .ikon { font-size: 14px; }
.share-btn:hover { color: #fff; border-color: var(--accent); }

/* Seasons */
.season-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.season-tabs button, .season-tabs a { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 17px; border-radius: 8px; background: var(--bg-raise); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--text-mid); }
.season-tabs i { font-style: normal; font-size: 11px; background: rgba(255, 255, 255, .1); padding: 1px 6px; border-radius: 99px; }
.season-tabs button:hover, .season-tabs a:hover { color: #fff; }
.season-tabs .active { background: var(--accent); border-color: var(--accent); color: #fff; }
.season-panel { display: none; }
.season-panel.active { display: grid; }

/* Episode page header */
.ep-head { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; }
.ep-head-poster img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; }
.ep-head-main { min-width: 0; flex: 1; }
.ep-head h1 { font-size: 18px; font-weight: 800; }
.ep-head h1 span { color: var(--text-dim); font-weight: 700; }
.ep-head-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; font-size: 12px; color: var(--text-dim); }
.ep-head-meta > * { display: inline-flex; align-items: center; gap: 5px; }
.ep-head-meta a:hover { color: #fff; }
.ep-nav { display: flex; gap: 12px; margin: 12px 0 8px; }
.ep-nav-btn { flex: 1; display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px; border-radius: 8px; background: var(--bg-raise); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--text-mid); }
.ep-nav-btn:hover { color: #fff; border-color: #3a3a41; }
.ep-nav-btn.mid { flex: 0 0 auto; color: #fff; }
.ep-nav-btn.next { justify-content: flex-end; }
.ep-nav-btn.next .ikon { color: var(--accent-text); }
.ep-nav-btn.disabled { opacity: .45; pointer-events: none; }

/* ================= Comments ================= */
.cm-login { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 18px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 10px; font-size: 14px; color: var(--text-mid); }
.cm-empty { margin-top: 18px; padding: 30px 20px; border: 1px dashed #2e2e35; border-radius: 10px; text-align: center; color: var(--text); font-size: 15px; }
.cm-empty p + p { margin-top: 6px; }
.cm-empty-ico { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; background: rgba(var(--accent-rgb), .16); color: var(--accent-text); display: grid; place-items: center; font-size: 18px; }
.cm-form { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: grid; gap: 10px; }
.cm-form p { margin: 0; }
.cm-as { font-size: 13px; color: var(--text-dim); }
.cm-form .form-submit { display: flex; justify-content: flex-end; }
.cm-form input[type=text], .cm-form input[type=email], .cm-form input[type=url] { width: 100%; background: var(--bg-page); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; }
.cm-list { margin-top: 16px; display: grid; gap: 10px; }
.cm-list .children { margin: 10px 0 0 40px; display: grid; gap: 10px; }
.cm { display: flex; gap: 12px; padding: 14px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 10px; }
.cm-av { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.cm-body { flex: 1; min-width: 0; }
.cm-top { display: flex; gap: 10px; align-items: baseline; font-size: 14px; }
.cm-top time { font-size: 12px; color: var(--text-dim); }
.cm-text { font-size: 14px; color: var(--text-mid); margin-top: 4px; overflow-wrap: anywhere; }
.cm-reply a { font-size: 12px; font-weight: 700; color: var(--accent-text); }

/* ================= Keşfet ================= */
.picker { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-raise); margin-bottom: 10px; isolation: isolate; }
.picker-bg { position: absolute; inset: 0 0 0 30%; background: center / cover no-repeat; z-index: -2; transition: opacity .3s; }
.picker::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg-raise) 30%, rgba(26, 26, 29, .86) 55%, rgba(26, 26, 29, .55) 100%), linear-gradient(0deg, rgba(26, 26, 29, .9), transparent 50%); }
.picker-in { padding: 20px; }
.picker-top { display: flex; align-items: center; gap: 12px; }
.picker-label { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 6px; border: 1px solid var(--accent); color: var(--accent-text); font-size: 12px; font-weight: 700; }
.picker-q { font-size: 20px; margin: 14px 0 10px; }
.picker-moods { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.picker-moods button { height: 32px; padding: 0 13px; border-radius: 7px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); font-size: 13px; font-weight: 700; }
.picker-moods button:hover { border-color: #fff; }
.picker-moods button.active { background: var(--accent); border-color: var(--accent); }
.picker-pick { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: end; padding-top: 18px; transition: opacity .25s; }
.picker-pick.loading { opacity: .35; }
.picker-poster img { width: 92px; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
.picker-info h3 { font-size: 22px; }
.picker-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 8px 0; font-size: 13px; color: var(--text-mid); }
.picker-info p { font-size: 13px; color: var(--text-mid); max-width: 640px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.picker-btns { display: flex; gap: 8px; }
.filterbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 10px; }
.filter-dd { position: relative; }
.filter-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 8px; background: var(--bg-page); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--text-mid); }
.filter-btn.on { border-color: var(--accent); color: #fff; }
.filter-form { width: 300px; padding: 14px; }
.open > .filter-form { display: grid; gap: 10px; }
.filter-form label span { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 4px; font-weight: 700; }
.filter-form select { width: 100%; }
.filter-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.sort-label { font-size: 11px; font-weight: 800; color: var(--text-faint); letter-spacing: 1px; margin-left: 10px; }
.sort-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 7px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--text-mid); }
.sort-chip:hover { color: #fff; }
.sort-chip.active { border-color: var(--accent); color: var(--accent-text); background: rgba(var(--accent-rgb), .1); }
.filter-count { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--text-dim); padding-right: 6px; }
.active-filters { display: flex; gap: 8px; margin-top: 10px; }
.filterbar + .grid, .active-filters + .grid { margin-top: 20px; }

.row-arrows { display: inline-flex; gap: 6px; }
.arr { width: 30px; height: 30px; border-radius: 7px; background: var(--bg-raise); border: 1px solid var(--line); display: grid; place-items: center; color: #fff; }
.arr:hover { border-color: var(--accent); }
.arr[disabled] { opacity: .3; pointer-events: none; }
.row { display: grid; grid-auto-flow: column; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
.row-cards { grid-auto-columns: calc((100% - 70px) / 6); }
.row-tiles { grid-auto-columns: calc((100% - 56px) / 5); }
.row-faces { grid-auto-columns: calc((100% - 126px) / 10); }
.tile { position: relative; height: 92px; border-radius: 9px; overflow: hidden; background: var(--bg-raise-2); isolation: isolate; border: 1px solid var(--line); }
.tile-bg { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; z-index: -2; }
.tile-bg img { width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 10, 11, .92), rgba(10, 10, 11, .25)); transition: background .2s; }
.tile:hover::after { background: linear-gradient(0deg, rgba(var(--accent-rgb), .75), rgba(10, 10, 11, .2)); }
.tile-txt { position: absolute; left: 12px; bottom: 10px; right: 12px; }
.tile-txt b { display: block; font-size: 15px; }
.tile-txt small { font-size: 11px; color: #d0d0d5; }
.face { text-align: center; }
.face img, .face .sil { width: 72px; height: 72px; margin: 0 auto 8px; }
.face:hover img, .face:hover .sil { border-color: var(--accent); }
.face b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.face small { font-size: 11px; color: var(--text-dim); }
.decades { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.decade { padding: 16px 14px; border-radius: 9px; background: var(--bg-raise); border: 1px solid var(--line); }
.decade b { display: block; font-size: 18px; }
.decade small { font-size: 11px; color: var(--text-dim); }
.decade:hover { border-color: var(--accent); }

/* ================= IMDb Top 250 ================= */
.top-head { text-align: center; max-width: 640px; margin: 10px auto 24px; }
.imdb-logo { display: inline-block; background: var(--gold); color: #000; font-weight: 900; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.top-head h1 { font-size: 30px; margin: 10px 0 8px; }
.top-head p { color: var(--text-dim); font-size: 13px; }
.top-tabs { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.top-tabs a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; background: var(--bg-raise); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--text-mid); }
.top-tabs a i { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 99px; background: rgba(255, 255, 255, .12); }
.top-tabs a.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.top-list { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.top-list li + li { border-top: 1px solid var(--line-soft); }
.top-row { display: grid; grid-template-columns: 50px 40px 1fr auto 80px; align-items: center; gap: 14px; padding: 10px 16px; background: var(--bg-raise); }
.top-row:hover { background: #1f1f23; }
.top-row img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }
.top-rank { font-size: 18px; font-weight: 800; color: var(--text-dim); text-align: center; }
.top-rank.r1, .top-rank.r3 { color: var(--gold); font-size: 22px; }
.top-rank.r2 { color: #d6d6db; font-size: 22px; }
.top-info { min-width: 0; }
.top-info strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-info small { display: block; font-size: 12px; color: var(--text-dim); }
.top-row:hover strong { color: var(--accent-text); }
.top-score, .top-rankscore { text-align: right; line-height: 1.2; }
.top-score b { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.top-score .ikon { color: var(--gold); }
.top-score small, .top-rankscore small { display: block; font-size: 10px; color: var(--text-dim); }
.top-rankscore b { font-size: 15px; color: #f08a7e; }


/* ================= Trend ================= */
.tr-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 16px; }
.tr-periods { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tr-periods a { padding: 8px 12px; font-size: 14px; font-weight: 700; color: var(--text-dim); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tr-periods a:hover { color: #fff; }
.tr-periods a.active { color: var(--accent-text); border-bottom-color: var(--accent); }
.tr-types { display: flex; gap: 8px; margin-left: auto; }
.tr-types a { height: 30px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg-raise); font-size: 13px; font-weight: 700; color: var(--text-mid); }
.tr-types a.active { border-color: var(--accent); color: #fff; background: rgba(var(--accent-rgb), .15); }
.tr-top { display: grid; grid-template-columns: 1.9fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 430px; margin-bottom: 18px; }
.tr-big { position: relative; border-radius: 12px; overflow: hidden; background: var(--bg-raise); isolation: isolate; }
.tr-big-1 { grid-row: 1 / 3; }
.tr-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.tr-big:hover img { transform: scale(1.04); }
.tr-big::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 10, 11, .96) 5%, rgba(10, 10, 11, .4) 55%, rgba(10, 10, 11, .1)); }
.tr-big-no { position: absolute; left: 12px; top: 6px; font-size: 40px; font-weight: 800; line-height: 1.1; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.tr-big-1 .tr-big-no { color: var(--gold); font-size: 48px; }
.tr-big-txt { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 6px; }
.tr-big-txt strong { font-size: 17px; line-height: 1.2; }
.tr-big-1 .tr-big-txt strong { font-size: 26px; }
.tr-big-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: #d4d4d9; }
.tr-big-desc { font-size: 13px; color: #cfcfd4; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tr-big-stat { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #4ade80; }
.tr-big-stat b { font-weight: 800; }
.tr-big-stat small { color: var(--text-dim); font-size: 11px; margin-right: 6px; }
.spark { flex-shrink: 0; overflow: visible; }
.spark .l { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.spark.up .l { stroke: #22c55e; } .spark.up .a { fill: rgba(34, 197, 94, .16); }
.spark.down .l { stroke: #ef4444; } .spark.down .a { fill: rgba(239, 68, 68, .16); }
.spark.flat path { stroke: #3a3a41; stroke-width: 1.4; fill: none; }
.tr-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tr-row { display: grid; grid-template-columns: 30px 38px minmax(0, 1fr) 60px 46px 40px; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg-raise); border: 1px solid var(--line); transition: border-color .15s; }
.tr-row:hover { border-color: #3a3a41; }
.tr-no { font-size: 15px; font-weight: 800; color: var(--text-dim); text-align: center; }
.tr-row img { width: 38px; height: 38px; border-radius: 6px; object-fit: cover; }
.tr-info { min-width: 0; }
.tr-info strong { display: flex; align-items: center; gap: 6px; font-size: 14px; min-width: 0; }
.tr-info .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-row:hover .t { color: var(--accent-text); }
.tr-info small { display: block; font-size: 11.5px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-ch { flex-shrink: 0; font-size: 10.5px; font-weight: 800; }
.tr-ch.up { color: #22c55e; } .tr-ch.down { color: #ef4444; } .tr-ch.new { color: var(--gold); }
.tr-cnt { text-align: right; line-height: 1.1; }
.tr-cnt b { display: block; font-size: 12px; color: #4ade80; }
.tr-cnt small { font-size: 9px; color: var(--text-faint); font-weight: 700; }
.tr-rate { display: inline-flex; align-items: center; justify-content: flex-end; gap: 3px; font-size: 12.5px; font-weight: 800; }
.tr-rate .ikon { color: var(--gold); font-size: 12px; }
.tr-more { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 48px; margin-top: 14px; border-radius: 10px; background: var(--bg-raise); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--text-mid); }
.tr-more span { font-size: 11px; padding: 2px 8px; border-radius: 99px; background: var(--bg-raise-2); }
.tr-more:hover { color: #fff; border-color: #3a3a41; }
@media (max-width: 860px) {
	.tr-top { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 170px; height: auto; }
	.tr-big-1 { grid-row: auto; grid-column: 1 / 3; }
	.tr-list { grid-template-columns: 1fr; }
	.tr-types { margin-left: 0; }
}
@media (max-width: 460px) {
	.tr-row { grid-template-columns: 24px 34px minmax(0, 1fr) 44px 40px; }
	.tr-row .spark { display: none; }
	.tr-big-1 .tr-big-txt strong { font-size: 20px; }
}

/* ================= Misc pages ================= */
.empty-state { text-align: center; padding: 50px 20px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0 20px; color: var(--text-mid); }
.empty-state.small { padding: 36px 20px; }
.empty-state > .ikon, .empty-mark { width: 46px; height: 46px; margin: 0 auto 12px; color: var(--text-dim); }
.empty-state h1, .empty-state h2 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.empty-state p + p { margin-top: 14px; }
.big-404 { display: block; font-size: 84px; font-weight: 800; line-height: 1; color: var(--accent); margin-bottom: 10px; }
.page-box { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.page-box .sec-title { margin-bottom: 16px; font-size: 24px; }
.entry { color: var(--text-mid); line-height: 1.8; }
.entry p, .entry ul, .entry ol { margin-bottom: 14px; }
.entry a { color: var(--accent-text); }
.entry h2, .entry h3 { color: #fff; margin: 20px 0 10px; }
.person-hero { display: flex; align-items: center; gap: 16px; padding: 18px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.person-hero img, .person-hero .sil { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); font-size: 60px; }
.person-hero h1 { font-size: 24px; }
.person-hero p { color: var(--text-dim); font-size: 14px; }
.collection-hero { position: relative; min-height: 220px; display: flex; align-items: flex-end; padding: 24px; border-radius: 12px; overflow: hidden; background: center / cover no-repeat var(--bg-raise); isolation: isolate; margin-bottom: 10px; }
.collection-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 10, 11, .95), rgba(10, 10, 11, .2)); }
.collection-hero h1 { font-size: 30px; margin-bottom: 6px; }
.collection-hero p { color: var(--text-mid); font-size: 14px; max-width: 700px; margin-bottom: 10px; }
.reklam { margin: 16px 20px; text-align: center; overflow: hidden; }
.site-main > .reklam { margin-top: 16px; }

/* ================= Footer ================= */
.site-footer { margin: 30px 20px 0; border-top: 1px solid var(--line); }
.ft-cols { display: grid; grid-template-columns: repeat(5, 1fr); padding: 26px 0; }
.ft-col { padding: 0 18px; border-left: 1px solid var(--line); }
.ft-col:first-child { padding-left: 0; border-left: 0; }
.ft-col h3 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 14px; }
.ft-col ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 10px; }
.ft-col li a { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-dim); }
.ft-col li a::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.ft-col li a:hover { color: #fff; }
.ft-bottom { display: flex; align-items: center; gap: 14px; padding: 18px 0 22px; border-top: 1px solid var(--line); }
.ft-copy { display: flex; flex-direction: column; font-size: 13px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .3px; }
.ft-note { text-transform: none; font-size: 12px; color: var(--text-faint); }
.ft-social { display: flex; gap: 6px; margin-left: auto; }
.ft-social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--bg-raise); border: 1px solid var(--line); color: var(--text-mid); }
.ft-social a:hover { color: #fff; border-color: var(--accent); }
.to-top { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-raise); border: 1px solid var(--line); display: grid; place-items: center; margin-left: auto; color: #fff; }
.ft-social + .to-top { margin-left: 0; }
.to-top:hover { border-color: var(--accent); }

/* ================= Modals & toast ================= */
.modal { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .72); display: none; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(3px); }
.modal.acik { display: flex; animation: fadeIn .15s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-box { position: relative; width: min(460px, 100%); background: var(--bg-raise); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); max-height: calc(100vh - 32px); overflow: auto; }
.modal-box.wide { width: min(960px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 16px; }
.modal-body { padding: 18px; display: grid; gap: 14px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; }
.modal-video { aspect-ratio: 16 / 9; background: #000; }
.modal-video iframe { width: 100%; height: 100%; border: 0; }
.radio-list { display: grid; gap: 8px; }
.radio-list label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: var(--bg-page); border: 1px solid var(--line); font-size: 14px; cursor: pointer; }
.radio-list input { accent-color: var(--accent); }
.muted { color: var(--text-dim); font-size: 13px; line-height: 1.7; }
.copy-row { display: flex; gap: 8px; }
.party-count { display: flex; align-items: baseline; justify-content: center; gap: 10px; color: var(--text-dim); }
.party-count b { font-size: 46px; color: var(--accent-text); line-height: 1; }
.auth-box { padding: 26px 24px 22px; width: min(400px, 100%); }
.modal-x { position: absolute; top: 10px; right: 10px; }
.auth-logo { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 22px; font-weight: 800; letter-spacing: .5px; margin-bottom: 18px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-page); border: 1px solid var(--line); border-radius: 9px; padding: 3px; margin-bottom: 16px; }
.auth-tabs button { height: 34px; border-radius: 7px; font-weight: 700; font-size: 14px; color: var(--text-mid); }
.auth-tabs button.active { background: var(--accent); color: #fff; }
.auth-form { display: grid; gap: 12px; }
.auth-form label span { display: block; font-size: 12px; font-weight: 700; color: var(--text-dim); margin-bottom: 5px; }
.auth-form .check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-mid); }
.auth-form .check input { accent-color: var(--accent); }
.auth-msg { font-size: 13px; color: #ff8a7a; min-height: 0; }
.auth-msg:empty { display: none; }
.auth-msg.ok { color: #5fd38d; }
.auth-link { text-align: center; font-size: 13px; color: var(--text-dim); }
.auth-link:hover { color: #fff; }
.auth-note { font-size: 12px; color: var(--text-dim); text-align: center; line-height: 1.6; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); z-index: 400; background: #fff; color: #111; padding: 11px 18px; border-radius: 10px; font-weight: 700; font-size: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: .25s; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ================= Responsive ================= */
@media (max-width: 1080px) {
	.mainnav { margin-left: 10px; }
	.mainnav-item { padding: 0 11px; }
	.search { width: 320px; }
	.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.grid > .card:nth-child(n) .hcard { left: calc(100% + var(--g)); right: auto; }
	.grid > .card:nth-child(4n+3) .hcard, .grid > .card:nth-child(4n) .hcard { left: auto; right: calc(100% + var(--g)); }
	.row-cards { grid-auto-columns: calc((100% - 42px) / 4); }
	.ep-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
	.mainnav, .auth .btn { display: none; }
	.auth .user-icon, .search-toggle { display: inline-grid; }
	.hamburger { display: inline-flex; }
	.user-name { display: none; }
	.hdr-sub .hdr-in { height: auto; min-height: 52px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
	.subnav { width: 100%; overflow-x: auto; scrollbar-width: none; }
	.subnav::-webkit-scrollbar { display: none; }
	.subnav ul { width: max-content; }
	.search { width: 100%; margin: 0; display: none; }
	.search.show { display: block; }
	.dropdown { position: fixed; top: auto; left: 12px !important; right: 12px; margin-top: 6px; max-width: none !important; width: auto !important; }
	.open > .dropdown-grid { grid-template-columns: repeat(3, 1fr); }
	.user-menu .dropdown { position: absolute; left: auto !important; right: 0; width: 220px !important; }

	.row-tiles { grid-auto-columns: calc((100% - 28px) / 3); }
	.row-faces { grid-auto-columns: 86px; }

	.info { grid-template-columns: 140px 1fr; }
	.ft-cols { grid-template-columns: repeat(3, 1fr); gap: 22px 0; }
	.ft-col:nth-child(4) { padding-left: 0; border-left: 0; }
	.decades { grid-template-columns: repeat(3, 1fr); }
	.picker-pick { grid-template-columns: 80px 1fr; }
	.picker-btns { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.hero-track { grid-auto-columns: 100%; }
	.hero-nav.prev { left: 8px; }
	.hero-nav.next { right: 8px; }
	.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.row-cards { grid-auto-columns: calc((100% - 28px) / 3); }
}
@media (max-width: 640px) {
	body { font-size: 14px; }
	.wrap { padding: 14px 12px 8px; }
	.hdr-in { padding: 0 12px; gap: 10px; }
	.hdr-top .hdr-in { height: 62px; }
	.logo { font-size: 22px; gap: 7px; }
	.logo-name { font-size: 20px; }
	.logo-icon { width: 25px; height: 27px; }
	.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
	.card-title { font-size: 13px; }
	.row-cards { grid-auto-columns: calc((100% - 20px) / 3); gap: 10px; }
	.row-tiles { grid-auto-columns: 70%; }
	.hero-card { aspect-ratio: 16 / 11; }
	.hero-txt strong { font-size: 21px; }
	.info { grid-template-columns: 1fr; padding: 14px; }
	.info-poster { width: 150px; margin: 0 auto; }
	.info-title { font-size: 22px; text-align: center; }
	.info-orig { text-align: center; }
	.info-meta { justify-content: center; }
	.info-row { justify-content: center; }
	.stars button { font-size: 18px; }
	.acts { justify-content: center; }
	.people { justify-content: center; }
	.person img, .person .sil { width: 46px; height: 46px; }
	.ep-head { flex-wrap: wrap; }
	.ep-head .acts { width: 100%; }
	.ep-nav { flex-wrap: wrap; }
	.ep-nav-btn { flex: 1 1 40%; }
	.ep-nav-btn.mid { order: 3; flex: 1 1 100%; justify-content: center; }
	.share .sec-title { width: 100%; }
	.ft-cols { grid-template-columns: 1fr 1fr; }
	.ft-col { padding: 0 !important; border: 0 !important; }
	.decades { grid-template-columns: repeat(2, 1fr); }
	.top-row { grid-template-columns: 30px 36px 1fr auto; gap: 10px; padding: 10px; }
	.top-rankscore { display: none; }
	.filter-count { width: 100%; margin: 0; text-align: right; }
	.sort-label { display: none; }
	.picker-q { font-size: 17px; }
	.sec-head { align-items: flex-start; }
}
@media (max-width: 460px) {
	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.row-cards { grid-auto-columns: calc((100% - 10px) / 2); }
	.ep-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
}
