/* Abone portalı – sinema salonu: hardal, siyah ve perde bordosu */
:root {
  --bg: #0e0d0b;          /* salon karanlığı */
  --surface: #181611;
  --surface-2: #221f18;
  --line: #34301f;
  --text: #f4ecd8;        /* krem perde ışığı */
  --muted: #a9a08a;
  --brass: #e2a91c;       /* hardal */
  --brass-ink: #171103;
  --velvet: #a8233a;      /* perde bordosu */
  --teal: #9cc08e;        /* "paketinde var" gibi olumlu durumlar */
  --danger: #ec7464;
  --radius-s: 6px;
  --radius-m: 12px;
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --wrap: 1440px;
  --gut: clamp(16px, 3.5vw, 48px);
  --hdr-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0; font-weight: 800; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); letter-spacing: 0.01em; line-height: 0.95; }
h2 { font-size: 1.25rem; letter-spacing: -0.01em; }
h3 { font-size: 1rem; }
p { margin: 0; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.warn { color: var(--brass); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--brass-ink); padding: 8px 12px; border-radius: var(--radius-s); z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
::selection { background: var(--brass); color: var(--brass-ink); }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.88em; }
pre.code { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; overflow-x: auto; font-size: 0.85rem; white-space: pre-wrap; word-break: break-all; }

/* ---------- sayfa geçişleri ---------- */
@view-transition { navigation: auto; }
.hdr { view-transition-name: hdr; }
.tabbar { view-transition-name: tabbar; }
::view-transition-old(root) { animation: 140ms ease-out both vt-out; }
::view-transition-new(root) { animation: 220ms var(--ease) both vt-in; }
::view-transition-group(poster) { animation-duration: 320ms; animation-timing-function: var(--ease); }
.vt-poster { view-transition-name: poster; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

.navprog { position: fixed; z-index: 100; top: 0; left: 0; height: 2px; width: 0; background: var(--brass); box-shadow: 0 0 10px var(--brass); pointer-events: none; opacity: 0; }
html.is-nav .navprog { opacity: 1; animation: navprog 2.4s var(--ease) forwards; }
@keyframes navprog { 0% { width: 0; } 30% { width: 45%; } 100% { width: 85%; } }

/* ---------- üst bar ---------- */
.hdr { position: sticky; top: 0; z-index: 40; height: var(--hdr-h); background: rgba(14, 13, 11, 0.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.04); transition: background 0.25s, border-color 0.25s; }
.hdr--over { position: fixed; left: 0; right: 0; background: transparent; border-bottom: 0; backdrop-filter: none; }
.hdr--over::before { content: ""; position: absolute; inset: 0 0 -70px 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); transition: opacity 0.25s; }
.hdr--over.is-solid { background: rgba(14, 13, 11, 0.94); backdrop-filter: blur(14px); }
.hdr--over.is-solid::before { opacity: 0; }
.hdr__in { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 var(--gut); display: flex; gap: 22px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; font-family: var(--display); font-size: 1.9rem; letter-spacing: 0.04em; line-height: 1; color: var(--brass); }
.brand img { height: 34px; width: auto; max-width: 140px; object-fit: contain; }
.hdr__nav { display: flex; gap: 4px; }
.hdr__nav a { padding: 8px 12px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.95rem; border-radius: 999px; transition: color 0.15s, background 0.15s; }
.hdr__nav a:hover { color: var(--text); }
.hdr__nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.search { position: relative; margin-left: auto; width: 240px; transition: width 0.25s var(--ease); }
.search:focus-within { width: 340px; }
.search__ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); display: flex; pointer-events: none; }
.search input {
  width: 100%; height: 40px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.08); color: var(--text);
  border-radius: 999px; padding: 0 14px 0 38px; font: inherit; font-size: 0.93rem; transition: background 0.15s, border-color 0.15s;
}
.search input:focus { outline: none; background: var(--surface); border-color: var(--brass); }
.search input::placeholder { color: var(--muted); }
.hdr__icon { display: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.07); border: 0; color: var(--text); place-items: center; cursor: pointer; margin-left: auto; }
.hdr__icon .ic { width: 20px; height: 20px; }

.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; border-radius: 50%; }
.menu > summary::-webkit-details-marker { display: none; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brass); color: var(--brass-ink); font-weight: 800; font-size: 1rem; }
.menu__pop { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); display: grid; z-index: 50; }
.menu[open] .menu__pop { animation: pop-in 0.16s var(--ease); }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.menu__who { padding: 8px 10px 10px; color: var(--muted); font-size: 0.85rem; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu__pop a, .menu__pop button { display: block; width: 100%; text-align: left; padding: 9px 10px; border-radius: var(--radius-s); text-decoration: none; font: 600 0.93rem var(--font); color: var(--text); background: none; border: 0; cursor: pointer; }
.menu__pop a:hover, .menu__pop button:hover { background: rgba(255, 255, 255, 0.06); }
.menu__pop form { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line); }
.menu__pop button { color: var(--muted); }

/* anlık öneriler */
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 45; min-width: 320px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); padding: 6px; max-height: 70vh; overflow-y: auto;
}
.suggest a { display: flex; gap: 12px; align-items: center; padding: 6px 8px; border-radius: var(--radius-s); text-decoration: none; }
.suggest a:hover, .suggest a[aria-selected="true"] { background: rgba(255, 255, 255, 0.07); }
.suggest img, .suggest .s-ph { flex: none; width: 36px; height: 54px; object-fit: cover; border-radius: 4px; background: var(--bg); }
.suggest .s-t { font-weight: 700; line-height: 1.2; }
.suggest .s-m { color: var(--muted); font-size: 0.82rem; }
.suggest .s-all { justify-content: center; color: var(--brass); font-weight: 700; font-size: 0.92rem; padding: 10px; }

/* telefon: alt sekme çubuğu */
.tabbar { display: none; }
@media (max-width: 860px) {
  :root { --hdr-h: 58px; }
  .hdr__nav { display: none; }
  .hdr__icon { display: grid; }
  .search { display: none; position: absolute; left: var(--gut); right: var(--gut); top: calc(100% + 6px); width: auto; }
  .search:focus-within { width: auto; }
  .hdr.is-search .search { display: block; }
  .hdr.is-search .search input { background: var(--surface); height: 46px; font-size: 1rem; }
  .brand { font-size: 1.7rem; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(14, 13, 11, 0.96); backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .tabbar a { display: grid; justify-items: center; gap: 3px; padding: 4px 0; text-decoration: none; color: var(--muted); font-size: 0.7rem; font-weight: 700; }
  .tabbar .ic { width: 22px; height: 22px; }
  .tabbar a[aria-current="page"] { color: var(--brass); }
  body.has-tabbar { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .savebar { bottom: calc(78px + env(safe-area-inset-bottom)) !important; }
}

.main { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gut) 72px; }
.main--hero { padding-top: 0; }
.main--bare { min-height: 100vh; display: grid; place-items: center; padding-top: 32px;
  background: radial-gradient(ellipse 60% 45% at 50% 0%, rgba(226, 169, 28, 0.16), transparent 70%), radial-gradient(ellipse 50% 40% at 50% 100%, rgba(168, 35, 58, 0.14), transparent 70%); max-width: none; }

/* ---------- düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 999px;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--line);
  font: 700 0.93rem var(--font); text-decoration: none; cursor: pointer; transition: transform 0.12s, filter 0.15s, background 0.15s, border-color 0.15s;
}
.btn:hover { border-color: var(--muted); }
.btn:active { transform: scale(0.97); }
.btn--brass { background: var(--brass); color: var(--brass-ink); border-color: var(--brass); }
.btn--brass:hover { filter: brightness(1.1); border-color: var(--brass); }
.btn--glass { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.14); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.24); }
.btn--lg { min-height: 50px; padding: 0 24px; font-size: 1rem; }
.btn--on { border-color: var(--teal); color: var(--teal); }
.btn--danger { color: var(--danger); }
.btn:disabled { opacity: 0.6; cursor: default; }
.link { background: none; border: 0; color: var(--muted); font: 600 0.95rem var(--font); cursor: pointer; padding: 6px; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--text); }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row-btns form { margin: 0; }
.badge { display: inline-block; min-width: 1.5em; padding: 1px 7px; border-radius: 999px; background: var(--velvet); color: #fff; font-size: 0.75rem; font-weight: 800; text-align: center; line-height: 1.5; }
.pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.pill--on { border-color: var(--teal); color: var(--teal); }
.flag { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 4px; background: var(--velvet); color: #fff; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.02em; }
.flag--line { background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.35); }
.flag--velvet { background: var(--velvet); }

/* ---------- bildirimler ---------- */
.toast {
  position: fixed; z-index: 90; top: calc(var(--hdr-h) + 12px); left: 50%; transform: translateX(-50%);
  width: min(560px, calc(100% - 32px)); padding: 13px 18px; border-radius: var(--radius-m);
  background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--teal);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55); font-weight: 600; animation: toast-in 0.3s var(--ease);
}
.toast--err { border-left-color: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -10px); } }
.alert { padding: 12px 16px; border-radius: var(--radius-s); background: rgba(236, 116, 100, 0.12); border: 1px solid rgba(236, 116, 100, 0.4); margin-bottom: 20px; }

/* ---------- giriş ---------- */
.login { width: min(420px, 100%); padding: 36px 32px; background: rgba(24, 22, 17, 0.8); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px); }
.login__logo { height: 64px; width: auto; max-width: 220px; object-fit: contain; margin-bottom: 18px; }
.login__brand { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 2rem + 4vw, 4.4rem); letter-spacing: 0.03em; line-height: 0.9; margin-bottom: 10px; color: var(--brass); }
.login__lead { color: var(--muted); margin-bottom: 24px; }
.form { display: grid; gap: 8px; }
.form label { font-weight: 600; font-size: 0.9rem; margin-top: 8px; }
.form input, .form textarea, .filter input, .bq-tools__q, .bqa__group, .rs__form textarea, .rs__form input, .filters select, .filters__search input {
  width: 100%; background: var(--surface); border: 1px solid var(--line); color: var(--text);
  border-radius: var(--radius-s); padding: 11px 14px; font: inherit;
}
.form input:focus, .form textarea:focus, .filters select:focus, .filters__search input:focus, .bq-tools__q:focus { outline: none; border-color: var(--brass); }
.login .form input { background: var(--bg); height: 48px; }
.login .btn { min-height: 50px; }
.form textarea { resize: vertical; }
.form .btn { margin-top: 16px; }
.form .check, label.check { display: flex; gap: 8px; align-items: center; font-weight: 400; }

/* ---------- vitrin (ana sayfa) ---------- */
.hero {
  position: relative; width: 100vw; margin-left: calc(50% - 50vw);
  height: clamp(520px, 82vh, 820px); overflow: hidden; background: #000; isolation: isolate;
}
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0s linear 0.8s; }
.hero__slide.is-on { opacity: 1; visibility: visible; transition: opacity 0.8s ease; z-index: 1; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transform: scale(1.04); transition: transform 9s linear; }
.hero__slide.is-on .hero__bg img { transform: scale(1.12); }
.hero__bg--poster img { filter: blur(26px) brightness(0.65); transform: scale(1.2) !important; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 13, 11, 0.95) 0%, rgba(14, 13, 11, 0.7) 32%, rgba(14, 13, 11, 0.15) 62%, rgba(14, 13, 11, 0) 80%),
    linear-gradient(0deg, var(--bg) 0%, rgba(14, 13, 11, 0.6) 18%, rgba(14, 13, 11, 0) 42%);
}
.hero__in {
  position: absolute; left: 0; right: 0; bottom: clamp(60px, 11vh, 120px); z-index: 2;
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut);
  display: grid; gap: 14px; justify-items: start;
}
.hero__kicker { display: flex; gap: 10px; align-items: center; color: var(--text); font-weight: 700; font-size: 0.92rem; }
.hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 1.8rem + 5.5vw, 7rem); line-height: 0.88; letter-spacing: 0.015em; max-width: 14ch; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.hero__title a { text-decoration: none; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; color: rgba(244, 236, 216, 0.85); font-weight: 600; }
.hero__rate { display: inline-flex; gap: 5px; align-items: center; color: var(--brass); font-weight: 800; }
.hero__rate .ic, .score .ic, .card__rate .ic { fill: currentColor; stroke: none; }
.hero__plot { max-width: 58ch; color: rgba(244, 236, 216, 0.82); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.hero__act form { margin: 0; }
.hero__dots { position: absolute; z-index: 3; right: var(--gut); bottom: clamp(60px, 11vh, 120px); display: flex; gap: 8px; }
.hero__dots button { width: 34px; height: 18px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; align-items: center; }
.hero__dots span { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); overflow: hidden; position: relative; }
.hero__dots span::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform: scaleX(0); transform-origin: left; }
.hero__dots [aria-selected="true"] span::after { transform: scaleX(1); }
.hero.is-playing .hero__dots [aria-selected="true"] span::after { animation: dot-fill var(--hero-ms, 7000ms) linear forwards; }
.hero.is-paused .hero__dots [aria-selected="true"] span::after { animation-play-state: paused; }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 860px) {
  .hero { height: clamp(500px, 76vh, 680px); }
  .hero__bg::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(14, 13, 11, 0.85) 30%, rgba(14, 13, 11, 0.25) 62%, rgba(14, 13, 11, 0.4) 100%); }
  .hero__in { bottom: 54px; gap: 10px; }
  .hero__plot { -webkit-line-clamp: 2; font-size: 0.95rem; }
  .hero__dots { left: var(--gut); right: auto; bottom: 22px; }
  .btn--lg { min-height: 46px; padding: 0 18px; }
}

.home { position: relative; z-index: 2; margin-top: -24px; }
.main--hero .home { margin-top: -18px; }
.band { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 14px 18px; margin-bottom: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); text-decoration: none; }
.band--warn { border-color: rgba(226, 169, 28, 0.5); background: linear-gradient(90deg, rgba(226, 169, 28, 0.12), var(--surface) 60%); }
.band--news { justify-content: flex-start; gap: 12px; }
.band--news > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.band b { color: var(--text); }

/* ---------- raflar ---------- */
.shelf { margin-bottom: 38px; }
.shelf__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; gap: 12px; }
.shelf__head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem); letter-spacing: 0.02em; line-height: 1; }
.shelf__head h2 small { font-family: var(--font); font-weight: 600; font-size: 0.85rem; margin-left: 8px; letter-spacing: 0; }
.shelf__head a { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); font-weight: 700; font-size: 0.9rem; text-decoration: none; white-space: nowrap; }
.shelf__head a:hover { color: var(--brass); }
.shelf__wrap { position: relative; }
.row {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(132px, 13.2vw, 196px); gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 12px 2px 14px; margin: -4px -2px 0;
}
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
.shelf--eps .row { grid-auto-columns: minmax(270px, 300px); }
.shelf__nav {
  position: absolute; top: 12px; bottom: 54px; width: 52px; z-index: 3; display: grid; place-items: center;
  border: 0; color: var(--text); cursor: pointer; opacity: 0; transition: opacity 0.2s;
}
.shelf__nav .ic { width: 30px; height: 30px; stroke-width: 2.2; }
.shelf__nav--prev { left: calc(-1 * var(--gut)); background: linear-gradient(90deg, rgba(14, 13, 11, 0.95), rgba(14, 13, 11, 0)); }
.shelf__nav--next { right: calc(-1 * var(--gut)); background: linear-gradient(270deg, rgba(14, 13, 11, 0.95), rgba(14, 13, 11, 0)); }
.shelf--eps .shelf__nav { bottom: 14px; }
@media (hover: hover) and (pointer: fine) {
  .shelf__wrap:hover .shelf__nav:not([data-off]) { opacity: 1; }
}
.shelf__nav[data-off] { pointer-events: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 14px; }
@media (max-width: 480px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 16px 10px; } }

/* ---------- afiş kartı ---------- */
.card { display: grid; gap: 7px; text-decoration: none; min-width: 0; align-content: start; }
.card__img {
  position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden;
  border-radius: var(--radius-s); background: var(--surface-2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__ph, .dhero__poster .card__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-size: 3rem; color: var(--line);
}
@media (hover: hover) {
  .card:hover .card__img { transform: translateY(-4px) scale(1.04); box-shadow: 0 0 0 2px var(--brass), 0 18px 34px rgba(0, 0, 0, 0.6); }
}
.card:focus-visible { outline: none; }
.card:focus-visible .card__img { box-shadow: 0 0 0 3px var(--brass); }
.card__t { font-weight: 700; font-size: 0.9rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__m { color: var(--muted); font-size: 0.8rem; min-height: 1em; }
.card__rate {
  position: absolute; top: 6px; right: 6px; display: inline-flex; gap: 3px; align-items: center;
  padding: 2px 7px; border-radius: 999px; background: rgba(0, 0, 0, 0.72); color: var(--brass);
  font-size: 0.75rem; font-weight: 800; backdrop-filter: blur(4px);
}
.card__rate .ic { width: 0.9em; height: 0.9em; }
.card--locked .card__img img { filter: grayscale(0.75) brightness(0.55); }
.card__tag {
  position: absolute; left: 6px; bottom: 6px; right: 6px; text-align: center;
  background: rgba(0, 0, 0, 0.8); color: var(--text); border-radius: 4px; padding: 3px 6px; font-size: 0.72rem; font-weight: 700;
}

/* ---------- bölüm kartları ---------- */
.eps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.ep { display: flex; gap: 12px; text-decoration: none; padding: 8px; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.15s, transform 0.2s var(--ease); min-width: 0; }
.ep:hover { border-color: var(--brass); transform: translateY(-2px); }
.ep__img { position: relative; flex: none; width: 58px; aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden; background: var(--surface-2); }
.ep__img img { width: 100%; height: 100%; object-fit: cover; }
.ep__body { display: grid; align-content: center; gap: 2px; min-width: 0; }
.ep__t { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep__m { font-size: 0.88rem; color: var(--muted); }
.ep__when { font-size: 0.8rem; color: var(--teal); font-weight: 600; }
.ep--hot { border-color: rgba(226, 169, 28, 0.45); background: linear-gradient(90deg, rgba(226, 169, 28, 0.1), var(--surface) 70%); }
.ep--hot .ep__when { color: var(--brass); font-weight: 800; }

/* ---------- listeleme ve filtreler ---------- */
.list-head { margin-bottom: 22px; display: grid; gap: 8px; }
.list-head p { max-width: 68ch; }
.filters { display: grid; gap: 10px; margin-bottom: 14px; }
.filters__search input { border-radius: 999px; padding: 11px 18px; }
.filters__more { background: var(--surface); border-radius: var(--radius-m); padding: 10px 14px; }
.filters__more summary { cursor: pointer; font-weight: 700; padding: 2px 0; }
.filters__grid { display: grid; gap: 12px 10px; grid-template-columns: 1fr 1fr; padding: 12px 0 4px; align-items: end; }
.filters__grid > label { display: grid; gap: 4px; font-size: 0.82rem; color: var(--muted); font-weight: 700; min-width: 0; }
.filters__grid select { padding: 9px 10px; color: var(--text); min-width: 0; border-radius: 999px; }
.filters__grid > label.check { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 0.93rem; padding: 10px 0; }
.filters__grid > label.check input { width: 18px; height: 18px; accent-color: var(--brass); margin: 0; }
@media (min-width: 900px) {
  .filters__search { max-width: 520px; }
  .filters__more { padding: 0; background: none; }
  .filters__more summary { display: none; }
  .filters__more:not([open]) > .filters__grid { display: grid; }
  .filters__grid { padding: 0; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; }
}
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; }
.chip { display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--brass); color: var(--brass-ink); text-decoration: none; font-size: 0.86rem; font-weight: 700; }
.chip span { opacity: 0.6; }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

.empty { padding: 48px 20px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.empty h2 { font-family: var(--display); font-weight: 400; font-size: 2rem; letter-spacing: 0.02em; }
.empty p { color: var(--muted); max-width: 56ch; }
.empty--page { padding-top: 15vh; }

/* ---------- film / dizi sayfası ---------- */
.dhero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); min-height: min(86vh, 860px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.dhero__bg { position: absolute; inset: 0; z-index: -1; background: #000; }
.dhero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; animation: dhero-in 1.2s var(--ease) both; }
.dhero__bg--poster img { filter: blur(30px) brightness(0.6); transform: scale(1.25); }
@keyframes dhero-in { from { opacity: 0; transform: scale(1.06); } }
.dhero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 13, 11, 0.96) 0%, rgba(14, 13, 11, 0.82) 38%, rgba(14, 13, 11, 0.3) 70%, rgba(14, 13, 11, 0.15) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(14, 13, 11, 0) 40%);
}
.dhero__in { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: calc(var(--hdr-h) + 48px) var(--gut) 44px; display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.dhero__poster { position: relative; aspect-ratio: 2 / 3; border-radius: var(--radius-m); overflow: hidden; background: var(--surface-2); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.dhero__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dhero__info { display: grid; gap: 14px; max-width: 760px; align-content: end; }
.dhero__kind { color: var(--brass); font-weight: 800; font-size: 0.9rem; }
.dhero__title { font-size: clamp(2.8rem, 1.6rem + 4.6vw, 6rem); line-height: 0.9; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.dhero__otitle { color: var(--muted); margin-top: -6px; }
.dhero__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-weight: 700; color: rgba(244, 236, 216, 0.88); }
.dhero__meta a { text-decoration: none; }
.dhero__meta a:hover { color: var(--brass); }
.score { display: inline-flex; align-items: center; gap: 6px; color: var(--brass); }
.score .ic { width: 1.3em; height: 1.3em; }
.score b { font-size: 1.6rem; line-height: 1; font-weight: 800; }
.score small { color: var(--muted); font-weight: 600; font-size: 0.85rem; }
.dhero__tag { font-size: 1.1rem; color: var(--muted); font-style: italic; }
.dhero__plot { font-size: 1.05rem; line-height: 1.7; color: rgba(244, 236, 216, 0.9); max-width: 68ch; }
.dhero__crew a { color: var(--text); text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.3); }
.dhero__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.dhero__act form { margin: 0; }
@media (max-width: 760px) {
  .dhero { min-height: 0; }
  .dhero__bg::after { background: linear-gradient(0deg, var(--bg) 8%, rgba(14, 13, 11, 0.86) 45%, rgba(14, 13, 11, 0.45) 100%); }
  .dhero__in { grid-template-columns: 1fr; padding-top: calc(var(--hdr-h) + 28px); padding-bottom: 28px; gap: 18px; }
  .dhero__poster { width: 132px; }
  .dhero__plot { font-size: 0.98rem; }
}
.dbody { padding-top: 8px; }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; font-size: 0.85rem; font-weight: 600; }
.tags li > a, .tags li:not(:has(a)) { display: block; padding: 4px 12px; text-decoration: none; }
.tags li a:hover { background: rgba(255, 255, 255, 0.08); border-radius: 999px; }

.access { padding: 16px 18px; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line); display: grid; gap: 10px; margin-bottom: 34px; }
.access--yes { border-left-color: var(--teal); }
.access--no { border-left-color: var(--brass); }
.access__btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.access__btns form { margin: 0; }

.cast { margin-bottom: 38px; }
.cast h2, .seasons h2 { font-family: var(--display); font-weight: 400; font-size: 2rem; letter-spacing: 0.02em; margin-bottom: 14px; }
.cast ul { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 120px; gap: 16px; overflow-x: auto; scrollbar-width: none; }
.cast ul::-webkit-scrollbar { display: none; }
.cast li a { display: grid; gap: 2px; align-content: start; text-decoration: none; }
.cast li a:hover .cast__img { box-shadow: 0 0 0 2px var(--brass); }
.cast__img { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--surface-2); margin-bottom: 8px; transition: box-shadow 0.2s; }
.cast__img img { width: 100%; height: 100%; object-fit: cover; }
.cast__n { font-weight: 700; font-size: 0.88rem; line-height: 1.25; }
.cast__r { color: var(--muted); font-size: 0.8rem; line-height: 1.25; }
.cast__plain a { color: var(--muted); }
.cast--loading li { display: grid; gap: 8px; }
.sk { display: block; height: 10px; width: 80%; border-radius: 4px; background: var(--surface-2); }
.cast--loading .cast__img, .cast--loading .sk { animation: shimmer 1.2s ease-in-out infinite alternate; }
@keyframes shimmer { from { opacity: 0.45; } to { opacity: 1; } }
.seasons { margin-bottom: 38px; }
.seasons ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seasons li { display: grid; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); min-width: 120px; }
.seasons li span { color: var(--muted); font-size: 0.85rem; }

/* fragman penceresi */
.modal--video { padding: 0; }
.modal__video { position: relative; width: min(1100px, 94vw); aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-m); overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8); animation: pop-in 0.22s var(--ease); }
.modal__frame, .modal__frame iframe { width: 100%; height: 100%; border: 0; }
.modal__close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.6); color: #fff; display: grid; place-items: center; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .hero__slide.is-on .hero__bg img { transform: scale(1.04); }
}

/* ---------- paketler ---------- */
.bq-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; max-width: 760px; }
.bq-tools__q { flex: 1 1 240px; border-radius: 999px !important; padding: 9px 16px !important; }
.bq-group { max-width: 760px; margin-bottom: 14px; }
.bq-group > summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; cursor: pointer;
  padding: 8px 2px; list-style: none; border-bottom: 1px solid var(--line); margin-bottom: 10px;
}
.bq-group > summary::-webkit-details-marker { display: none; }
.bq-group > summary::before { content: "▸"; color: var(--muted); margin-right: 8px; transition: transform 0.15s; display: inline-block; }
.bq-group[open] > summary::before { transform: rotate(90deg); }
.bq-group__name { font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: 0.02em; flex: 1; }
.bq-group__count { color: var(--muted); font-size: 0.88rem; }
.bq__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bq__row { display: flex; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); transition: border-color 0.15s; }
.bq__row:hover { border-color: rgba(226, 169, 28, 0.4); }
.bq__row[hidden] { display: none; }
.bq__label { flex: 1; display: flex; align-items: center; gap: 16px; padding: 14px 16px; cursor: pointer; min-width: 0; }
.bq__row.is-fixed .bq__label { cursor: default; }
.bq__more { display: flex; align-items: center; padding: 0 16px; border-left: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.bq__more:hover { color: var(--text); }
.bq__cb { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bq__switch {
  flex: none; position: relative; width: 48px; height: 28px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); transition: background 0.18s;
}
.bq__switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--muted); transition: transform 0.18s, background 0.18s;
}
.bq__cb:checked + .bq__switch { background: var(--brass); border-color: var(--brass); }
.bq__cb:checked + .bq__switch::after { transform: translateX(20px); background: var(--brass-ink); }
.bq__cb:focus-visible + .bq__switch { outline: 2px solid var(--brass); outline-offset: 3px; }
.bq__cb:disabled + .bq__switch { opacity: 0.5; }
.bq__text { display: grid; gap: 2px; min-width: 0; flex: 1; }
.bq__name { font-weight: 600; font-size: 1.05rem; }
.bq__desc { color: var(--muted); font-size: 0.9rem; }
.bq__note { flex: none; font-size: 0.8rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.bq__row.is-changed { border-color: var(--brass); }
@media (max-width: 480px) {
  .bq__label { gap: 12px; padding: 12px; }
  .bq__note { display: none; }
  .bq__more { padding: 0 12px; }
}

.savebar {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 30;
  width: min(760px, calc(100% - 32px)); display: flex; gap: 8px; align-items: center;
  padding: 10px 10px 10px 18px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-m); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.savebar[hidden] { display: none; }
.savebar__msg { flex: 1; font-weight: 600; font-size: 0.95rem; }
@media (max-width: 480px) {
  .savebar { flex-wrap: wrap; }
  .savebar__msg { flex-basis: 100%; }
  .savebar .btn { flex: 1; }
}

/* paket içerik sayfası */
.crumbs { color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.pk-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pk-head > div:first-child { display: grid; gap: 6px; }
.pk-head__act { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pk-head__act form { margin: 0; }
.ch-group { margin: 18px 0 8px; }
.ch-group h3 { margin-bottom: 10px; }
.ch-group h3 small { font-weight: 400; }
.ch-group[hidden] { display: none; }
.ch-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.ch-list li { display: flex; gap: 10px; align-items: center; padding: 6px 10px; background: var(--surface); border-radius: var(--radius-s); min-width: 0; }
.ch-list li[hidden] { display: none; }
.ch-list__logo { flex: none; width: 40px; height: 28px; display: grid; place-items: center; background: var(--bg); border-radius: 4px; overflow: hidden; }
.ch-list__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ch-list__n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.92rem; }
.ch-list__tag { font-size: 0.72rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; }

/* ---------- duyurular ---------- */
.news { display: grid; gap: 14px; max-width: 760px; }
.news__item { padding: 18px 20px; background: var(--surface); border-radius: var(--radius-m); }
.news__item.is-pinned { border-left: 4px solid var(--teal); }
.news__item header { display: grid; gap: 2px; margin-bottom: 10px; }
.news__item time { color: var(--muted); font-size: 0.88rem; }
.news__body { line-height: 1.65; }

/* ---------- hesap ---------- */
.acct { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.acct__box { padding: 20px; background: var(--surface); border-radius: var(--radius-m); display: grid; gap: 14px; align-content: start; min-width: 0; }
.acct__box--wide { grid-column: 1 / -1; }
.kv { margin: 0; display: grid; gap: 12px; }
.kv div { display: grid; gap: 2px; }
.kv dt { color: var(--muted); font-size: 0.85rem; }
.kv dd { margin: 0; font-weight: 600; word-break: break-all; }
.renew-box { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
code.copy {
  display: inline-block; font-weight: 400;
  background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 4px 8px; cursor: pointer;
}
code.copy.is-copied { border-color: var(--teal); }

/* ---------- yönetim ---------- */
.admin-top { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: center; margin-bottom: 24px; }
.admin-top h1 { font-size: 2.4rem; }
.admin-top__act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.admin-top__act form { margin: 0; }
.tabs { grid-column: 1 / -1; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 8px 12px; text-decoration: none; color: var(--muted); font-weight: 600; border-radius: var(--radius-s); white-space: nowrap; }
.tabs a[aria-current="page"] { color: var(--text); background: var(--surface); }
@media (max-width: 640px) {
  .admin-top { grid-template-columns: 1fr; }
  .admin-top__act { justify-content: flex-start; }
}
.admin-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .admin-grid { grid-template-columns: 420px 1fr; } }
.admin-note { color: var(--muted); max-width: 80ch; margin-bottom: 18px; }
.admin-note a { color: var(--text); }
.sub { margin-bottom: 12px; }
.admin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.admin-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--surface); border-radius: var(--radius-s); flex-wrap: wrap; align-items: center; }
.admin-list li > div:first-child { display: grid; }
.filter { display: flex; gap: 8px; margin-bottom: 16px; max-width: 480px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th { text-align: left; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table td form { margin: 0; }
.table tr.is-reverted td { color: var(--muted); text-decoration: line-through; }
.table tr.is-reverted td:last-child { text-decoration: none; }

/* genel bakış */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; margin-bottom: 10px; }
@media (min-width: 760px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpi { background: var(--surface); padding: 16px 18px; display: grid; gap: 2px; align-content: start; }
.kpi__n { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi__l { color: var(--muted); font-size: 0.85rem; line-height: 1.3; }
.kpi--warn .kpi__n { color: var(--brass); }
.dash .table-wrap { max-height: 520px; overflow-y: auto; }
.dash { display: grid; gap: 16px; margin-top: 22px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }
.movers { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.movers h3 { font-size: 0.9rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: r; }
.rank li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.rank li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rank li b { font-variant-numeric: tabular-nums; }
.miss { font-style: normal; font-size: 0.75rem; color: var(--brass); border: 1px solid rgba(227, 176, 75, 0.5); border-radius: 999px; padding: 0 7px; margin-left: 4px; white-space: nowrap; }

/* paket kuralları */
.bqa { width: 100%; border-collapse: collapse; }
.bqa th { text-align: left; color: var(--muted); font-weight: 600; font-size: 0.88rem; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.bqa td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.bqa td:first-child { color: var(--muted); font-variant-numeric: tabular-nums; width: 3.5em; }
.bqa tr[hidden] { display: none; }
.bqa .bqa__name { font-weight: 600; }
.bqa .bqa__desc { color: var(--muted); font-size: 0.85rem; }
.bqa__group { padding: 8px 10px !important; min-width: 130px; font-size: 0.9rem !important; }
.bqa__group::placeholder { color: var(--muted); opacity: 0.8; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span b { font-weight: inherit; }
.seg span { display: block; padding: 7px 12px; font-size: 0.88rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.seg label + label span { border-left: 1px solid var(--line); }
.seg input:checked + span { background: var(--surface-2); color: var(--text); }
.seg input[value="selectable"]:checked + span, .seg--small input:checked + span { background: var(--brass); color: var(--brass-ink); }
.seg input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: -2px; }
.opts { display: grid; gap: 14px; margin: 24px 0; max-width: 720px; }
.opts .check { display: flex; gap: 10px; align-items: flex-start; }
.opts .check input { margin-top: 5px; }
.opts .field { display: grid; gap: 6px; }
.opts select, .opts input[type=number], .dns input, .form input[type=file] {
  background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: var(--radius-s); padding: 9px 12px; font: inherit;
}
.opts input[type=number] { width: 120px; }
.catlist { columns: 2 240px; gap: 24px; margin: 10px 0 0; padding: 0; list-style: none; }
.catlist li { break-inside: avoid; padding: 4px 0; }
.catlist label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.catlist small { color: var(--muted); }
details.box { background: var(--surface); border-radius: var(--radius-m); padding: 14px 18px; max-width: 900px; }
details.box summary { cursor: pointer; font-weight: 600; }
.stickybar { padding: 20px 0 0; display: flex; gap: 10px; align-items: center; }
@media (max-width: 640px) {
  .bqa thead { display: none; }
  .bqa tr { display: grid; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .bqa tr[hidden] { display: none; }
  .bqa td { border: 0; padding: 0; }
  .bqa td:first-child { display: none; }
}

/* bayiler */
.rs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 1000px; }
.rs > li[hidden] { display: none; }
.rs details { background: var(--surface); border-radius: var(--radius-s); }
.rs summary { display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1.6fr); gap: 6px 16px; align-items: center; padding: 12px 14px; cursor: pointer; list-style: none; }
.rs summary::-webkit-details-marker { display: none; }
.rs details[open] summary { border-bottom: 1px solid var(--line); }
.rs__name { font-weight: 600; min-width: 0; }
.rs__name small { font-weight: 400; margin-left: 6px; }
.rs__users { color: var(--muted); font-size: 0.88rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rs__dns { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs__dns small { margin-left: 4px; }
.rs__form { display: grid; gap: 10px; padding: 14px; max-width: 640px; }
.rs__form label { display: grid; gap: 4px; font-weight: 600; font-size: 0.9rem; }
.rs__form textarea, .rs__form input { padding: 9px 12px; font-weight: 400; }
.rs__contact { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.rs__form .btn { justify-self: start; }
@media (max-width: 640px) {
  .rs summary { grid-template-columns: 1fr auto; }
  .rs__dns { grid-column: 1 / -1; }
  .rs__contact { grid-template-columns: 1fr; }
}

/* ayarlar */
.settings { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) {
  .settings { grid-template-columns: minmax(320px, 1fr) minmax(420px, 1.4fr); }
  .settings > .set-dns { grid-column: 2; grid-row: 1 / span 2; }
}
.dns { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dns li { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 12px; background: var(--bg); border-radius: var(--radius-s); }
.dns li input[type=text], .dns li input[type=url] { width: 100%; }
.dns .dns__opts { grid-column: 1 / -1; display: flex; gap: 18px; font-size: 0.9rem; color: var(--muted); }
.dns .dns__opts label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.dns li.is-new { border: 1px dashed var(--line); background: transparent; }
.logo-prev { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 12px; background: var(--bg); border-radius: var(--radius-s); }
.logo-prev .check { white-space: nowrap; margin: 0; font-weight: 400; }
.logo-prev img { height: 48px; width: auto; max-width: 160px; object-fit: contain; }
@media (max-width: 640px) { .dns li { grid-template-columns: 1fr; } }



/* ---------- 3. aşama ---------- */
.foot { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gut) 40px; display: flex; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid var(--line); }
.foot a { color: var(--muted); font-size: 0.9rem; text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(6, 5, 3, 0.78); backdrop-filter: blur(4px); }
.modal__box { width: min(520px, 100%); max-height: 85vh; overflow-y: auto; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; display: grid; gap: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }
.modal__body { line-height: 1.6; }
.modal__box form { margin: 0; justify-self: end; }


.watch { display: grid; gap: 4px; align-content: start; }
.watch form { margin: 0; }
.watch .link { padding: 2px 0; font-weight: 400; }
.watch__new { justify-self: start; font-size: 0.8rem; font-weight: 700; color: var(--brass-ink); background: var(--brass); border-radius: 999px; padding: 1px 9px; }
.detail__links form { margin: 0; }

.acct__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.notice--static { margin-bottom: 20px; }
.setup { display: grid; gap: 10px; max-width: 820px; margin-bottom: 20px; }
.setup__dev { background: var(--surface); border-radius: var(--radius-m); padding: 0 18px; }
.setup__dev > summary { display: grid; gap: 2px; padding: 16px 0; cursor: pointer; list-style: none; }
.setup__dev > summary::-webkit-details-marker { display: none; }
.setup__dev > summary b { font-size: 1.05rem; }
.setup__dev > summary span { font-size: 0.88rem; }
.setup__dev[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.setup__dev > :last-child { margin-bottom: 18px; }
.steps { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; line-height: 1.55; }
.kv--inline { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 12px; background: var(--bg); border-radius: var(--radius-s); }
.m3u-box { max-width: 820px; }
.qr { display: grid; gap: 10px; justify-items: start; }
.qr__img { background: #fff; padding: 12px; border-radius: var(--radius-s); line-height: 0; }
.qr__img img, .qr__img svg { width: 220px; height: 220px; image-rendering: pixelated; }

.seg--wide { display: flex; }
.seg--wide label { flex: 1; }
.seg--wide span { text-align: center; }
.tickets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticket { padding: 14px 16px; background: var(--surface); border-radius: var(--radius-s); display: grid; gap: 6px; border-left: 4px solid var(--brass); }
.ticket--cozuldu, .ticket--eklendi { border-left-color: var(--teal); }
.ticket--reddedildi { border-left-color: var(--line); }
.ticket__top { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.ticket__top strong { flex: 1; min-width: 160px; }
.ticket__type { font-size: 0.78rem; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; }
.ticket__status { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.ticket--acik .ticket__status, .ticket--inceleniyor .ticket__status { color: var(--brass); }
.ticket--cozuldu .ticket__status, .ticket--eklendi .ticket__status { color: var(--teal); }
.ticket__body { color: var(--text); font-size: 0.95rem; }
.ticket__reply { padding: 8px 10px; background: var(--bg); border-radius: var(--radius-s); font-size: 0.95rem; }
.ticket__form { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; margin-top: 4px; }
.ticket__form select, .ticket__form input { background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: var(--radius-s); padding: 8px 10px; font: inherit; min-width: 0; }
@media (max-width: 640px) { .ticket__form { grid-template-columns: 1fr; } }
.tickets--admin { max-width: 1000px; }
.tk-filters { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 14px; }
.tabs--sub { grid-column: auto; border: 0; padding: 0; }
.tabs--sub a { padding: 6px 10px; font-size: 0.9rem; }

.fs { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; margin: 12px 0 4px; display: grid; gap: 8px; }
.fs legend { font-weight: 600; font-size: 0.9rem; padding: 0 6px; }
.fs input:not([type=checkbox]) { width: 100%; background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: var(--radius-s); padding: 9px 12px; font: inherit; }
.color-row { display: flex; gap: 12px; align-items: center; }
.color-row input[type=color] { width: 56px; height: 40px; padding: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); cursor: pointer; }
.form select { width: 100%; background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: var(--radius-s); padding: 10px 12px; font: inherit; }
