/* ==========================================================================
   Tvnah — Obsidian Monokrom Tasarım Sistemi (v40)
   Clash Display + Clash Grotesk (Fontshare / Indian Type Foundry) butik süper aile,
   Obsidian Duo-Bulk özel vektör ikon seti, #0b0b0d / #131417 / #f2f0e8 paleti.
   ========================================================================== */

/* ---------------------------------------------------------------- fonts */
/* Clash Display Variable (Fontshare / ITF — Sinematik vitrin başlık fontu, Türkçe tam destekli) */
@font-face {
  font-family: 'Clash Display';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('https://cdn.fontshare.com/wf/DK2FOA46SRWJ5HXWWU5TK4N4CMHYD236/FPEAXZZSH5L2K5MTJFRIWD2MC32IJMN3/THOOS4VOCKT7H2XEB27NQDYM2NYS4AAR.woff2') format('woff2');
}

/* Clash Grotesk Variable (Fontshare / ITF — Mimari arayüz & gövde fontu, Türkçe tam destekli) */
@font-face {
  font-family: 'Clash Grotesk';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('https://cdn.fontshare.com/wf/5TRO2J3HJNIQODLQ4CTSMGSLAWSE5YUY/GHXENXHZCDIOE5E73364PNNASRNO3JVW/GLZTRU2GIKPV5HYT3E6HDLWOXAWPNZDV.woff2') format('woff2');
}

/* ----------------------------------------------------- Obsidian paletleri */
:root {
  color-scheme: dark;
  --radius: 12px;
  --font-display: 'Clash Display', 'Clash Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Clash Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body: 'Clash Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --background: #0b0b0d;
  --foreground: #f4f4f6;
  --heading: #ffffff;
  --card: #131417;
  --card-foreground: #f4f4f6;
  --popover: #17181c;
  --secondary: #191a1f;
  --muted: #111215;
  --muted-foreground: #8e929b;
  --accent: #1d1f26;
  --destructive: #e85d75;
  --border: rgba(255, 255, 255, 0.09);
  --input: #111216;
  --ring: rgba(242, 240, 232, 0.3);
  --brand: #f2f0e8;
  --brand-strong: #ffffff;
  --brand-bright: #ffffff;
  --brand-live: #e4e6ec;
  --brand-score: #f2f0e8;
  --cream: #f2f0e8;
  --cream-ink: #0b0c0e;
  --surface-1: #131417;
  --surface-2: #18191e;
  --al-nav-bg: rgba(11, 11, 13, 0.92);
  --al-nav-fg: #f4f4f6;
  --al-footer-bg: #08080a;
  --al-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.32), 0 2px 4px rgba(0, 0, 0, 0.16);
  --al-shadow-md: 0 14px 30px rgba(0, 0, 0, 0.45), 0 4px 6px rgba(0, 0, 0, 0.22);
  --al-shadow-lg: 0 20px 44px rgba(0, 0, 0, 0.62), 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* Saf siyah & beyaz monokrom sabit zemin (#0b0b0d / #131417 / #f2f0e8) */
html[data-theme="violet"],
html[data-theme="emerald"],
html[data-theme="amber"],
html[data-theme="crimson"],
html[data-theme="sakura"],
html[data-theme="frost"],
html[data-theme="midnight"],
html[data-theme="custom"] {
  color-scheme: dark;
  --background: #0b0b0d;
  --foreground: #f4f4f6;
  --heading: #ffffff;
  --card: #131417;
  --card-foreground: #f4f4f6;
  --popover: #17181c;
  --secondary: #191a1f;
  --muted: #111215;
  --muted-foreground: #8e929b;
  --accent: #1d1f26;
  --border: rgba(255, 255, 255, 0.09);
  --input: #111216;
  --brand: #f2f0e8;
  --brand-strong: #ffffff;
  --brand-bright: #ffffff;
  --brand-live: #e4e6ec;
  --brand-score: #f2f0e8;
  --cream: #f2f0e8;
  --cream-ink: #0b0c0e;
  --surface-1: #131417;
  --surface-2: #18191e;
}

/* ------------------------------------------------------------------ base */
* { margin: 0; padding: 0; box-sizing: border-box; border-color: var(--border); }

html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: 14px;
  line-height: 1.5;
}

h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 700; text-wrap: balance; }

::selection { background: rgba(61, 180, 242, 0.35); color: var(--foreground); }

button:not([disabled]), [role="button"]:not([disabled]), select, label[for] { cursor: pointer; }

a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); background-clip: content-box; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ------------------------------------------------------------ primitives */
.panel {
  border-radius: 3px;
  border: 1px solid var(--border);
  background-color: var(--card);
  overflow: hidden;
}
.panel > .panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
  background-color: var(--card);
  padding: 0.625rem 0.875rem;
}
.panel > .panel-header h2 { font-size: 13px; font-weight: 600; color: var(--foreground); }
.panel > .panel-body { padding: 0.875rem; }
.panel > .panel-body.p-0 { padding: 0; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 3px;
  background-color: var(--secondary);
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: all 0.15s ease;
  border: 0;
  line-height: 1.4;
}
a.tag:hover, button.tag-link:hover .tag { background-color: rgba(61, 180, 242, 0.2); color: var(--brand); }
.tag.active { background-color: var(--brand); color: #fff; }
.tag .tag-count { font-size: 10px; opacity: 0.7; }
.tag.active .tag-count { color: rgba(255, 255, 255, 0.8); }

/* ------------------------------------------------ yaş derecesi rozetleri */
/* TV kanalı tarzı: köşeli siyah-beyaz rozet; detayda banner arka planın sağında,
   oynatıcıda video alanının sağ üstünde */
.age-badge {
  height: 26px;
  width: auto;
  border-radius: 0;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}
.age-banner {
  position: absolute;
  top: 16px;
  right: 22px;
  height: 30px;
  z-index: 3;
  pointer-events: none;
}
.hero-media img.age-banner {
  width: auto;
  height: 30px;
  object-fit: contain;
  object-position: right top;
}
@media (max-width: 640px) {
  .hero-media img.age-banner { height: 24px; }
}
.age-corner-player {
  position: absolute;
  top: 10px;
  right: 10px;
  height: 26px;
  z-index: 7;
  pointer-events: none;
  opacity: 0.94;
}
@media (max-width: 640px) {
  .age-banner { top: 10px; right: 12px; height: 24px; }
  .age-corner-player { top: 8px; right: 8px; height: 22px; }
}
.kw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kw-chip {
  font-size: 10.5px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  background: var(--card);
  white-space: nowrap;
}
button.tag-btn { background: none; border: 0; padding: 0; }

.stat-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.text-cinema { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7); }

.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* metin renkleri */
.text-primary { color: var(--brand); }
.text-muted { color: var(--muted-foreground); }
.text-foreground { color: var(--foreground); }
.text-brand-live { color: var(--brand-live); }
.text-brand-score { color: var(--brand-score); }
.text-brand-bright { color: var(--brand-bright); }
.text-destructive { color: var(--destructive); }
.text-white { color: #fff; }

/* rozetler */
.badge { border-radius: 2px; padding: 2px 6px; font-size: 10px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
/* sade rozetler: biraz düşük opaklık, hover'da tam ton */
.role-badge-img { height: 19px; width: auto; display: inline-block; vertical-align: middle; opacity: 0.85; transition: opacity 0.15s ease; }
.role-badge-img:hover { opacity: 1; }
.role-badge-inline { height: 17px; flex-shrink: 0; opacity: 0.85; }
.role-badge-profile { height: 25px; opacity: 0.85; }
/* yazısız ikon varyantı: kişide 2'den fazla rozet varsa kullanılır */
.role-badge-img.bicon { height: 18px; opacity: 0.9; }
.role-badge-img.bicon:hover { opacity: 1; }
.role-badge-inline.bicon { height: 16px; }
.role-badge-profile.bicon { height: 21px; }

/* — rozet baloncuğu: hover / odak / tıklamada rozetin anlamını gösterir.
   Gövdeye eklenen tek .btip-bubble öğesi JS ile konumlanır; panel overflow'u
   ve ekran kenarından taşma böylece hiç oluşmaz. — */
.bwrap { position: relative; display: inline-flex; align-items: center; cursor: help; vertical-align: middle; }
.bwrap > img { display: block; }
.btip-bubble {
  position: fixed; left: 0; top: 0; z-index: 999; pointer-events: none;
  padding: 5px 10px; border-radius: 7px;
  background: #10151d; color: #eef2f7;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  font-size: 11px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  opacity: 0; transform: translateY(3px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.btip-bubble.show { opacity: 1; transform: translateY(0); }
.btip-bubble.below { transform: translateY(-3px); }
.btip-bubble.below.show { transform: translateY(0); }
html[data-theme="frost"] .btip-bubble { background: #ffffff; color: #16202c; border-color: rgba(10, 20, 30, 0.18); box-shadow: 0 10px 24px rgba(20, 30, 45, 0.22); }
.badge-primary { background: rgba(61, 180, 242, 0.15); color: var(--brand); }
.badge-destructive { background: rgba(232, 93, 117, 0.15); color: var(--destructive); }
.badge-editor { background: rgba(61, 180, 242, 0.1); color: var(--brand-bright); }
.badge-accent { background: var(--accent); color: var(--foreground); }
.badge-secondary { background: var(--secondary); color: var(--muted-foreground); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 3px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  height: 36px;
  /* v24.1: dikey ortalama tamamen flex'e bırakıldı. Eski "2px üst / 0 alt"
     optik dengeleme yaması Overpass'e göreydi; diğer yazı tiplerinde yazıyı
     yukarı kaydırıyordu (kullanıcı hatası: "yazılar butonun üstünde yamuk"). */
  padding: 0 1rem;
  font-family: inherit;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  line-height: 1.2;
}
.btn svg { flex-shrink: 0; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-default { background: var(--brand); color: #fff; }
.btn-default:hover { background: var(--brand-strong); }
.btn-destructive { background: var(--destructive); color: #fff; }
.btn-destructive:hover { filter: brightness(0.92); }
.btn-outline { border-color: var(--border); background: var(--card); color: var(--foreground); }
.btn-outline:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--muted-foreground); }
.btn-ghost:hover { background: var(--accent); color: var(--foreground); }
.btn-link { height: auto; padding: 0; background: none; color: var(--brand); font-size: inherit; }
.btn-link:hover { text-decoration: underline; }

.btn-lg { height: 44px; padding: 0 1.5rem; font-size: 15px; }
.btn-sm { height: 32px; padding: 0 0.75rem; font-size: 12px; border-radius: 3px; }
.btn-icon { width: 36px; padding: 0; }
.btn-icon-sm { width: 28px; height: 28px; padding: 0; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- inputs */
.input, .textarea, .select {
  width: 100%;
  border-radius: 3px;
  border: 1px solid var(--input);
  background: var(--card);
  color: var(--foreground);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s;
}
.input { height: 36px; padding: 0 0.75rem; }
.textarea { padding: 0.5rem 0.75rem; resize: vertical; line-height: 1.5; }
.select { height: 36px; padding: 0 0.6rem; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--brand); }
.input::placeholder, .textarea::placeholder { color: rgba(159, 173, 189, 0.8); }

.checkbox { width: 14px; height: 14px; accent-color: var(--brand); }

.search-box { position: relative; }
.search-box svg { position: absolute; top: 50%; left: 10px; transform: translateY(-50%); color: var(--muted-foreground); pointer-events: none; }
.search-box .input { padding-left: 36px; }
.search-box .input.has-clear { padding-right: 34px; }
.search-box .clear-btn {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  border-radius: 2px; background: none; border: 0; color: var(--muted-foreground);
}
.search-box .clear-btn:hover { background: var(--accent); color: var(--foreground); }

/* ---------------------------------------------------------------- layout */
.container { margin: 0 auto; width: 100%; max-width: 1040px; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }

.site { min-height: 100vh; background: var(--background); }
.site-main { padding-bottom: 96px; }
@media (min-width: 1024px) {
  .site-main { padding-bottom: 48px; }
  .site-with-sidebar { padding-left: 200px; }
}

/* --------------------------------------------------------------- sidebar */
.site-sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 40;
  width: 200px; display: none; flex-direction: column;
  border-right: 1px solid var(--border); background: var(--card);
}
@media (min-width: 1024px) { .site-sidebar { display: flex; } }
.site-sidebar-brand { display: flex; align-items: center; height: 56px; border-bottom: 1px solid var(--border); padding: 0 1rem; }
.site-sidebar nav { flex: 1; padding: 0.5rem; overflow-y: auto; }
.side-link {
  display: flex; align-items: center; gap: 0.75rem;
  border-radius: 3px; padding: 0.625rem 0.75rem;
  font-size: 14px; font-weight: 500; color: var(--muted-foreground);
  transition: background 0.15s, color 0.15s;
}
.side-link:hover { background: color-mix(in srgb, var(--brand) 8%, transparent); color: var(--brand); }
.side-link.active { background: var(--accent); color: var(--brand); }
.sidebar-continue { margin:8px 6px 4px; padding-top:10px; border-top:1px solid var(--border); }
.sidebar-continue-heading { margin:0 2px 6px; color:var(--muted-foreground); font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
/* v21.7: tek kayıtlı, bölüm görselli devam kartı */
.sidebar-continue-card { display:grid; gap:6px; padding:5px; border-radius:5px; background:color-mix(in srgb,var(--brand) 5%,transparent); border:1px solid color-mix(in srgb,var(--brand) 12%,transparent); transition:background .15s ease,border-color .15s ease; }
.sidebar-continue-card:hover { background:color-mix(in srgb,var(--brand) 10%,transparent); border-color:color-mix(in srgb,var(--brand) 30%,transparent); }
.sc-thumb { position:relative; display:block; aspect-ratio:16/9; border-radius:3px; overflow:hidden; background:var(--muted); }
.sc-thumb img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.sc-shade { position:absolute; inset:0; background:linear-gradient(180deg,transparent 45%,rgba(11,22,34,.72)); }
.sc-play { position:absolute; inset:0; display:grid; place-items:center; color:#fff; }
.sc-play svg { filter:drop-shadow(0 1px 6px rgba(11,22,34,.8)); }
.sidebar-continue-card:hover .sc-play { transform:scale(1.12); transition:transform .15s ease; }
.sc-bar { position:absolute; left:0; right:0; bottom:0; height:3px; background:rgba(255,255,255,.22); }
.sc-bar i { display:block; height:100%; background:var(--brand); border-radius:0 2px 2px 0; }
.sc-meta { display:grid; gap:2px; min-width:0; padding:0 3px 3px; }
.sc-meta strong { overflow:hidden; color:var(--foreground); font-size:11px; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }
.sc-meta small { overflow:hidden; color:var(--muted-foreground); font-size:9.5px; text-overflow:ellipsis; white-space:nowrap; }
.sidebar-continue-card:hover .sc-meta strong { color:var(--brand); }
/* v21.7: kayıt formu şifre gücü göstergesi */
.pw-meter { display: grid; gap: 5px; margin-top: 7px; }
.pw-bars { display: flex; gap: 4px; }
.pw-bars i { flex: 1; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--muted-foreground) 28%, transparent); transition: background .2s ease; }
.pw-bars i.on-1 { background: #e2574c; }
.pw-bars i.on-2 { background: #e2a03f; }
.pw-bars i.on-3 { background: #7fbf4d; }
.pw-bars i.on-4 { background: var(--brand); }
.pw-label { font-size: 11px; color: var(--muted-foreground); min-height: 13px; }
.pw-label b { font-weight: 700; }
.site-sidebar-foot { border-top: 1px solid var(--border); padding: 0.75rem; }
.site-sidebar-foot .stack { display: grid; gap: 0.375rem; }
.site-sidebar-foot .stack .btn { width: 100%; }
/* kenar menüsü altı kurumsal künye */
.site-sidebar-foot .foot-about { margin-top: .75rem; }
.site-sidebar-foot .foot-about .foot-title {
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted-foreground); margin-bottom: 2px;
}
.site-sidebar-foot .foot-about p {
  font-size: 10.5px; line-height: 1.7; color: var(--muted-foreground); margin-top: 4px;
}
.site-sidebar-foot p { margin-top: 10px; padding: 0 2px; font-size: 10px; line-height: 1.5; color: var(--muted-foreground); }

.wordmark { display: inline-flex; align-items: center; gap: 0.5rem; }
.wordmark .word { font-size: 17px; font-weight: 700; color: var(--foreground); }
.wordmark .word em { font-style: normal; color: var(--brand); }
.wordmark:hover .word { color: var(--brand); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; z-index: 30;
  top: calc(var(--ticker-h, 0px) + env(safe-area-inset-top, 0px));
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 95%, transparent);
  backdrop-filter: blur(8px);
  transition: top .45s ease; /* v18: şerit yok olurken başlık yumuşakça yukarı kayar */
}
.site-header-inner { margin: 0 auto; display: flex; align-items: center; gap: 0.75rem; height: 56px; width: 100%; max-width: 1040px; padding: 0 1rem; }
@media (min-width: 640px) { .site-header-inner { padding: 0 1.5rem; } }
.site-header .brand-mobile { display: flex; }
@media (min-width: 1024px) { .site-header .brand-mobile { display: none; } }
.site-header form { flex: 1; min-width: 0; }
.site-header .explore-link { display: none; flex-shrink: 0; }
@media (min-width: 1024px) { .site-header .explore-link { display: inline-flex; } }
/* Discord butonu — arama kutusunun sağındaki boşluğa oturan kare buton */
.discord-btn {
  flex-shrink: 0; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 2px;
  background: var(--card); color: var(--muted-foreground);
  transition: color .15s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.discord-btn:hover {
  color: #5865f2; border-color: #5865f2;
  background: color-mix(in srgb, #5865f2 10%, var(--card));
  box-shadow: 0 0 0 3px color-mix(in srgb, #5865f2 16%, transparent);
}
.discord-btn:focus-visible { outline: 2px solid #5865f2; outline-offset: 2px; }

/* ------------------------------------------------------------- mobil nav */
.mobile-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  border-top: 1px solid var(--border); background: var(--card);
  padding-bottom: env(safe-area-inset-bottom);
  display: block;
}
@media (min-width: 1024px) { .mobile-nav { display: none; } }
.mobile-nav .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mobile-nav.has-continue .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mobile-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 0; font-size: 10px; font-weight: 500; color: var(--muted-foreground);
}
.mobile-nav a.active { color: var(--brand); }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--border); background: var(--card); }
.site-footer .inner { display: flex; flex-direction: column; gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
/* Mobilde sabit alt menü footer metninin üstüne binmesin */
@media (max-width: 1023px) {
  .site-footer .inner { padding-bottom: calc(1.5rem + 76px + env(safe-area-inset-bottom, 0px)); }
}
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; row-gap: 8px; font-size: 12px; }
.site-footer nav a { color: var(--muted-foreground); }
.site-footer nav a:hover { color: var(--brand); }
.site-footer .top { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .site-footer .top { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer .copyright { font-size: 12px; color: var(--muted-foreground); }
.site-footer .legal { border-top: 1px solid var(--border); padding-top: 1rem; font-size: 11px; line-height: 1.6; color: var(--muted-foreground); }

@media (min-width: 640px) {
  .site-footer .inner { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .site-footer .legal { width: 100%; }
}

/* ------------------------------------------------------------------ hero */
.hero { border-bottom: 1px solid var(--border); }
/* v16: overflow hidden — heroZoom ölçekli görsel kutunun dışına parlak bir
   şerit olarak taşıyordu (kullanıcının gördüğü "parlak çizgi" bundandı) */
.hero-media { position: relative; width: 100%; height: 160px; overflow: hidden; }
@media (min-width: 640px) { .hero-media { height: 220px; } }
@media (min-width: 1024px) { .hero-media { height: 270px; } }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media .fallback { width: 100%; height: 100%; background: var(--card); animation: pulse 2s infinite; }
.hero-media .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--background), color-mix(in srgb, var(--background) 75%, transparent) 50%, color-mix(in srgb, var(--background) 25%, transparent));
}
.hero-overlay-30 { background: linear-gradient(to top, var(--background), color-mix(in srgb, var(--background) 75%, transparent) 50%, color-mix(in srgb, var(--background) 30%, transparent)); }

.hero-body { display: flex; flex-direction: column; gap: 1rem; padding-bottom: 1.5rem; margin-top: -96px; position: relative; }
@media (min-width: 640px) { .hero-body { flex-direction: row; gap: 1.5rem; margin-top: -112px; } }
@media (min-width: 1024px) { .hero-body { margin-top: -128px; } }
.hero-poster { width: 104px; flex-shrink: 0; position: relative; }
@media (min-width: 640px) { .hero-poster { width: 150px; } }
@media (min-width: 1024px) { .hero-poster { width: 200px; } }
.hero-poster .poster { border: 1px solid var(--border); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3); }
.hero-info { min-width: 0; flex: 1; }
.hero-title { margin-top: 6px; font-size: 24px; line-height: 1.2; font-weight: 700; color: var(--foreground); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 640px) { .hero-title { font-size: 30px; } }
@media (min-width: 1024px) { .hero-title { font-size: 34px; } }
.hero-sub { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 4px; font-size: 13px; }
.hero-desc { margin-top: 12px; max-width: 48rem; font-size: 13px; line-height: 1.625; color: var(--muted-foreground); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-actions { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.hero-resume { margin-top: 12px; font-size: 12px; color: var(--muted-foreground); }
.hero-resume b { font-weight: 500; color: var(--brand-live); }

/* ------------------------------------------------------------ stat şeridi */
.stat-strip {
  display: flex; align-items: stretch;
  overflow-x: auto; scrollbar-width: none;
  border-radius: 3px; border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 85%, transparent);
  backdrop-filter: blur(4px);
}
.stat-strip::-webkit-scrollbar { display: none; }
.stat-strip > div { min-width: 96px; flex-shrink: 0; padding: 8px 14px; }
.stat-strip > div + div { border-left: 1px solid var(--border); }
.stat-strip dd { margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--foreground); }
.stat-strip dd.tone-primary { color: var(--brand); }
.stat-strip dd.tone-live { color: var(--brand-live); }
.stat-strip dd.tone-score { color: var(--brand-score); }
.stat-strip dd.tone-destructive { color: var(--destructive); }

.next-ep { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--brand-live); }

/* ------------------------------------------------------------ anime kartı */
/* Posterler daha küçük görünsün diye grid yogunlugu arttirildi
   (mobil 3, 640px+ 5, 768px+ 6, 1024px+ 8 kolon — kart ~115px genislik) */
.anime-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 10px; row-gap: 16px; }
@media (min-width: 640px) { .anime-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 768px) { .anime-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .anime-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

.anime-card { display: block; outline: none; position: relative; }
.anime-card .frame {
  position: relative; overflow: hidden; border-radius: 3px;
  border: 1px solid var(--border); background: var(--card);
  transition: border-color 0.15s;
}
.anime-card:hover .frame, .anime-card:focus-visible .frame { border-color: color-mix(in srgb, var(--brand) 70%, transparent); }
.anime-card h3 {
  margin-top: 5px; font-size: 12px; line-height: 1.35; font-weight: 500; color: var(--foreground);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.15s;
}
.anime-card:hover h3 { color: var(--brand); }
.anime-card .meta { margin-top: 2px; font-size: 11px; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.anime-card .score-badge {
  position: absolute; top: 4px; right: 4px;
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 3px; padding: 2px 6px;
  background: rgba(11, 22, 34, 0.88); backdrop-filter: blur(2px);
  font-size: 11px; font-weight: 600;
}
.anime-card .live-badge {
  position: absolute; bottom: 4px; left: 4px;
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 3px; padding: 2px 6px;
  background: rgba(11, 22, 34, 0.88); backdrop-filter: blur(2px);
  font-size: 10px; font-weight: 500; color: var(--brand-live);
}
.anime-card .live-badge i { width: 6px; height: 6px; border-radius: 999px; background: var(--brand-live); }
/* ---- v18: yakında gelecekler — siyah-beyaz afiş + canlı geri sayım rozeti ---- */
.anime-card.is-soon .poster img {
  filter: grayscale(1) contrast(1.05);
  transition: filter .3s ease;
}
.anime-card.is-soon { --soon-ink: #cfd6de; }
.anime-card.is-soon .score-badge { filter: grayscale(1); }
.anime-card .soon-badge {
  position: absolute; bottom: 4px; left: 4px;
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 3px; padding: 2px 6px;
  background: rgba(11, 22, 34, 0.88); backdrop-filter: blur(2px);
  border: 1px solid rgba(207, 214, 222, 0.35);
  font-size: 10px; font-weight: 600; letter-spacing: .02em; color: var(--soon-ink, #cfd6de);
  font-variant-numeric: tabular-nums;
}
.soon-countdown {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted-foreground);
}
.soon-countdown svg { color: var(--brand); }
.soon-countdown b { color: var(--foreground); font-variant-numeric: tabular-nums; font-weight: 600; }
.anime-card .hover-meta {
  position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  display: flex; align-items: flex-end; padding: 6px;
  background: linear-gradient(to top, #0b1622, rgba(11, 22, 34, 0.6), transparent);
  color: rgba(255, 255, 255, 0.85); font-size: 10px; font-weight: 500;
  opacity: 0; transition: opacity 0.15s; pointer-events: none;
}
.anime-card:hover .hover-meta { opacity: 1; }

.poster { position: relative; aspect-ratio: 2 / 3; width: 100%; overflow: hidden; border-radius: 3px; background: var(--card); }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster .poster-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 10px;
}
.poster .poster-fallback .label { font-size: 9px; color: rgba(255,255,255,0.4); }
.poster .poster-fallback .title { font-size: 12px; line-height: 1.35; font-weight: 600; color: rgba(255,255,255,0.9); }

/* ------------------------------------------------------------- bölüm başı */
.section-header { margin-bottom: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.section-header h2 { font-size: 17px; line-height: 1.25; font-weight: 600; color: var(--foreground); }
.section-header .blurb { margin-top: 2px; font-size: 12px; color: var(--muted-foreground); }
.section-header .more { flex-shrink: 0; font-size: 12px; font-weight: 500; color: var(--brand); }
.section-header .more:hover { text-decoration: underline; }

.site-sections { display: grid; gap: 36px; padding-top: 32px; padding-bottom: 32px; }
/* v16: grid çocuğu min-width:0 — içindeki yatay kaydırılabilir satırlar
   (günün en iyileri) max-content'e göre kolonu şişirip ekrandan taşıyordu */
.site-sections > * { min-width: 0; }

/* ------------------------------------------------------------ durumlar */
.skeleton { animation: pulse 2s infinite; background: var(--card); border-radius: 3px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.error-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  border-radius: 3px; border: 1px solid var(--border); background: var(--card);
  padding: 1rem;
}
@media (min-width: 640px) { .error-card { flex-direction: row; align-items: center; justify-content: space-between; } }
.error-card .head { display: flex; align-items: flex-start; gap: 12px; }
.error-card .head svg { margin-top: 2px; flex-shrink: 0; color: var(--destructive); }
.error-card .head p.t { font-size: 14px; font-weight: 600; color: var(--foreground); }
.error-card .head p.m { margin-top: 4px; max-width: 36rem; font-size: 12px; line-height: 1.6; color: var(--muted-foreground); }

.empty-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border-radius: 3px; border: 1px dashed var(--border);
  background: color-mix(in srgb, var(--card) 50%, transparent);
  padding: 56px 24px; text-align: center;
}
.empty-card svg { color: var(--muted-foreground); }
.empty-card p.t { font-size: 14px; font-weight: 600; color: var(--foreground); }
.empty-card p.d { max-width: 28rem; font-size: 12px; line-height: 1.6; color: var(--muted-foreground); }

.spinner {
  display: inline-block; width: 16px; height: 16px; flex-shrink: 0;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 999px;
  animation: spin 0.7s linear infinite;
}
.spinner.lg { width: 24px; height: 24px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ detay sayfası */
.detail-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: minmax(0, 1fr) 300px; } }
.detail-main { min-width: 0; display: grid; gap: 24px; }
.detail-aside { display: grid; gap: 16px; align-content: start; }
@media (min-width: 1024px) { .detail-aside { position: sticky; top: 72px; } }

.char-grid { display: grid; gap: 8px; }
@media (min-width: 640px) { .char-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.char-row {
  display: flex; align-items: center; gap: 10px;
  border-radius: 3px; border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18); padding: 8px;
}
html[data-theme="frost"] .char-row { background: rgba(0,0,0,0.02); }
.char-row img.face { width: 48px; height: 48px; flex-shrink: 0; border-radius: 2px; object-fit: cover; object-position: top; }
.char-row .no-face { width: 48px; height: 48px; flex-shrink: 0; border-radius: 2px; background: var(--accent); }
.char-row .info { min-width: 0; flex: 1; }
.char-row .name { font-size: 12px; font-weight: 500; color: var(--foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.char-row .role { font-size: 10px; color: var(--brand); }
.char-row .va { font-size: 10px; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.char-row img.vaimg { width: 32px; height: 32px; flex-shrink: 0; border-radius: 999px; object-fit: cover; }

.ep-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .ep-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ep-card { display: block; color: inherit; text-decoration: none; overflow: hidden; border-radius: 3px; border: 1px solid var(--border); background: rgba(0,0,0,0.18); transition: border-color 0.15s; }
html[data-theme="frost"] .ep-card { background: rgba(0,0,0,0.02); }
.ep-card:hover { border-color: color-mix(in srgb, var(--brand) 60%, transparent); }
.ep-card img { aspect-ratio: 16/9; width: 100%; object-fit: cover; }
.ep-card .nothumb { aspect-ratio: 16/9; width: 100%; background: var(--accent); }
/* v31: stili olmayan bölümlerde yapım afişi arka plan olarak düzgün kırpılır */
.ep-card .nothumb { background-size: cover; background-position: center 18%; position: relative; }
.ep-card .nothumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,22,34,0.08) 0%, rgba(11,22,34,0.66) 100%); }
.ep-card .body { padding: 8px; }
.ep-card .t { font-size: 11px; font-weight: 500; color: var(--foreground); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep-card:hover .t { color: var(--brand); }
.ep-card .s { margin-top: 2px; font-size: 10px; color: var(--muted-foreground); }

/* sezon seçici — her sezonun bölümleri yalnızca kendi sekmesinde */
.season-tabs {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.season-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px; cursor: pointer;
  font-size: 11.5px; font-weight: 600; line-height: 1.4;
  color: var(--muted-foreground); background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--border);
  transition: color .14s ease, border-color .14s ease, background .14s ease;
}
html[data-theme="frost"] .season-tab { background: rgba(0, 0, 0, 0.03); }
.season-tab:hover { color: var(--foreground); border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); }
.season-tab.active {
  color: var(--foreground); background: color-mix(in srgb, var(--brand) 16%, transparent);
  border-color: var(--brand);
}
.season-tab .st-c {
  font-size: 9.5px; font-weight: 700; padding: 0 6px; border-radius: 999px;
  color: var(--muted-foreground); background: color-mix(in srgb, var(--foreground) 8%, transparent);
}
.season-tab.active .st-c { color: var(--brand); background: color-mix(in srgb, var(--brand) 18%, transparent); }
.season-eps[hidden], .season-eps.hidden { display: none; }
.more-wrap { margin-top: 12px; text-align: center; }
.season-empty { padding: 10px 2px; font-size: 12px; color: var(--muted-foreground); }

.stream-list { display: grid; gap: 6px; list-style: none; }
.stream-list a {
  display: flex; align-items: center; gap: 10px;
  border-radius: 3px; border: 1px solid var(--border);
  background: rgba(0,0,0,0.18); padding: 8px 10px; transition: border-color 0.15s;
}
html[data-theme="frost"] .stream-list a { background: rgba(0,0,0,0.02); }
.stream-list a:hover { border-color: color-mix(in srgb, var(--brand) 60%, transparent); }
.stream-list img.icon { width: 16px; height: 16px; flex-shrink: 0; object-fit: contain; }
.stream-list .name { min-width: 0; flex: 1; font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stream-list svg { flex-shrink: 0; color: var(--muted-foreground); }

.info-dl { display: grid; gap: 8px; font-size: 12px; }
.info-dl > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.info-dl dt { flex-shrink: 0; color: var(--muted-foreground); }
.info-dl dd { text-align: right; font-weight: 500; color: var(--foreground); }

.panel-note { margin-top: 12px; border-top: 1px solid var(--border); padding-top: 10px; font-size: 10px; line-height: 1.6; color: var(--muted-foreground); }

/* ---------------------------------------------------------- İzleme sayfası */
.watch-page { --watch-surface: color-mix(in srgb, var(--card) 92%, var(--brand)); }
.watch-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0 0 18px; padding:9px 11px; border:1px solid var(--border); border-radius:4px; background:linear-gradient(90deg, var(--watch-surface), var(--card)); box-shadow:0 8px 24px color-mix(in srgb, var(--background) 35%, transparent); }
.watch-crumb { display:inline-flex; align-items:center; gap:6px; min-width:0; font-size:12px; color:var(--brand); }
.watch-crumb strong { max-width:260px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--foreground); font-weight:600; }
.watch-toolbar-divider { color:var(--muted-foreground); opacity:.65; }
.watch-select-group { display:inline-flex; align-items:center; gap:6px; }
.watch-select-label { font-size:10px; color:var(--muted-foreground); text-transform:uppercase; letter-spacing:.04em; }
.watch-toolbar .watch-select { width:auto; min-width:112px; max-width:180px; height:30px; font-size:11px; background:var(--secondary); }
.watch-heading { display:grid; gap:4px; }
.watch-title { font-size:18px; font-weight:600; color:var(--foreground); }
.watch-subtitle { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:12px; color:var(--muted-foreground); }
.breadcrumb-current { color:var(--foreground); }
.vidsrc-player { overflow:hidden; aspect-ratio:16/9; background:#000; box-shadow:0 12px 30px color-mix(in srgb, var(--background) 48%, transparent); }
.vidsrc-player iframe { display:block; width:100%; height:100%; border:0; }
.watch-stream-item { display:flex; align-items:center; gap:8px; padding:6px 0; font-size:12px; color:var(--foreground); }
@media (max-width:640px) { .watch-toolbar { gap:6px; padding:8px; } .watch-toolbar-divider { display:none; } .watch-select-group { flex:1 1 45%; } .watch-toolbar .watch-select { width:100%; max-width:none; } .watch-crumb { flex-basis:100%; } .watch-crumb strong { max-width:calc(100vw - 120px); } }

/* --------------------------------------------------------------- izle */
.watch-grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .watch-grid { grid-template-columns: minmax(0, 1fr) 280px; align-items:start; } }
.watch-main { min-width: 0; display: grid; gap: 16px; }
.watch-aside { display: grid; gap: 16px; align-content: start; }
.breadcrumb { margin-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--muted-foreground); }
.breadcrumb a:hover { color: var(--brand); }

.ep-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.ep-btn {
  display: flex; width: 32px; height: 32px; align-items: center; justify-content: center;
  border-radius: 3px; border: 1px solid var(--border); background: rgba(0,0,0,0.18);
  font-size: 12px; font-weight: 500; color: var(--muted-foreground); font-family: inherit;
  transition: color 0.15s, border-color 0.15s;
}
html[data-theme="frost"] .ep-btn { background: rgba(0,0,0,0.02); }
.ep-btn:hover { color: var(--foreground); }
.ep-btn.active { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 15%, transparent); color: var(--foreground); }

.source-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.source-chip {
  border-radius: 3px; border: 1px solid var(--border); background: rgba(0,0,0,0.18);
  padding: 6px 10px; text-align: left; font-size: 11px; color: var(--muted-foreground); font-family: inherit;
}
.source-chip.active { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 15%, transparent); color: var(--foreground); }
.source-chip .l { display: block; font-weight: 500; }
.source-chip .h { display: block; margin-top: 2px; opacity: 0.8; }

.legal-note { border-radius: 3px; border: 1px solid var(--border); background: color-mix(in srgb, var(--card) 50%, transparent); padding: 12px; font-size: 10px; line-height: 1.6; color: var(--muted-foreground); }

/* --------------------------------------------------------------- takvim */
.cal-grid { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 640px) { .cal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .cal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .cal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cal-day { display: flex; flex-direction: column; overflow: hidden; }
.cal-day.today { border-color: color-mix(in srgb, var(--brand) 60%, transparent); }
.cal-day header { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--border); background: var(--card); padding: 8px 12px; }
.cal-day.today header { background: color-mix(in srgb, var(--brand) 10%, transparent); }
.cal-day header .name { font-size: 12px; font-weight: 600; color: var(--foreground); }
.cal-day header .date { font-size: 10px; color: var(--muted-foreground); }
.cal-day header .today-badge {
  display: inline-flex; align-items: center; gap: 4px; border-radius: 2px;
  background: color-mix(in srgb, var(--brand) 20%, transparent);
  padding: 2px 6px; font-size: 10px; font-weight: 500; color: var(--brand);
}
.cal-day ul { flex: 1; list-style: none; }
.cal-day li + li { border-top: 1px solid var(--border); }
.cal-day li a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; transition: background 0.15s; }
.cal-day li a:hover { background: var(--accent); }
.cal-day .time { width: 42px; flex-shrink: 0; font-size: 11px; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.cal-day img { width: 44px; height: 44px; flex-shrink: 0; border-radius: 2px; object-fit: cover; }
.cal-day .noimg { width: 44px; height: 44px; flex-shrink: 0; border-radius: 2px; background: var(--accent); }
.cal-day .t { font-size: 12px; font-weight: 500; color: var(--foreground); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cal-day .sub { margin-top: 2px; font-size: 10px; color: var(--muted-foreground); }
.cal-day .sub.future { color: var(--brand-live); }
.cal-day .none { padding: 16px 12px; font-size: 11px; color: var(--muted-foreground); }
.week-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.week-nav .range { font-size: 11px; color: var(--muted-foreground); }

/* --------------------------------------------------------------- profil */
.profile-hero { position: relative; border-bottom: 1px solid var(--border); overflow: hidden; }
.profile-hero > .container { position: relative; z-index: 2; }
.profile-banner { position: relative; height: 140px; overflow: hidden; }
@media (min-width: 640px) { .profile-banner { height: 180px; } }
@media (min-width: 1024px) { .profile-banner { height: 200px; } }
.profile-banner img { width: 100%; height: 100%; object-fit: cover; }
.profile-banner .fallback { width: 100%; height: 100%; background: var(--secondary); }
.profile-banner .overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--background), color-mix(in srgb, var(--background) 75%, transparent) 50%, color-mix(in srgb, var(--background) 25%, transparent)); }
.profile-body { display: flex; flex-direction: column; gap: 1rem; padding-bottom: 20px; margin-top: -72px; position: relative; }
@media (min-width: 640px) { .profile-body { flex-direction: row; align-items: flex-end; gap: 1.5rem; margin-top: -92px; } }
.profile-portrait {
  position: relative; display: block; aspect-ratio: 1/1; width: 120px; flex-shrink: 0;
  overflow: hidden; border-radius: 3px; border: 2px solid var(--background);
  background: var(--secondary); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.4);
}
@media (min-width: 640px) { .profile-portrait { width: 156px; } }
.profile-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.profile-portrait.initials { display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 700; color: var(--muted-foreground); }
@media (min-width: 640px) { .profile-portrait.initials { font-size: 44px; } }
.profile-id { min-width: 0; flex: 1; }
.profile-name { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; row-gap: 4px; font-size: 20px; font-weight: 700; color: var(--foreground); }
@media (min-width: 640px) { .profile-name { font-size: 26px; } }
.profile-sub { margin-top: 2px; display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 2px; font-size: 12px; color: var(--muted-foreground); }
.profile-sub span { display: inline-flex; align-items: center; gap: 4px; }

.activity-bars { display: flex; height: 76px; align-items: flex-end; gap: 4px; }
@media (min-width: 640px) { .activity-bars { gap: 6px; } }
.activity-bars .bar { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.activity-bars .fill { width: 100%; display: flex; flex: 1; align-items: flex-end; }
.activity-bars .fill i { display: block; width: 100%; border-radius: 2px; background: var(--border); transition: height 0.3s; }
.activity-bars .fill i.on { background: var(--brand); }
.activity-bars .lbl { font-size: 9px; color: var(--muted-foreground); }
.activity-metrics { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--border); padding-top: 12px; }
@media (min-width: 640px) { .activity-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.activity-metrics .v { margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--foreground); }

.history-list { list-style: none; }
.history-list li { display: flex; align-items: center; gap: 12px; padding: 12px; }
.history-list li + li { border-top: 1px solid var(--border); }
.history-list .cover { width: 40px; flex-shrink: 0; overflow: hidden; border-radius: 2px; border: 1px solid var(--border); }
.history-list .cover img { aspect-ratio: 2/3; width: 100%; object-fit: cover; display: block; }
.history-list .cover .noimg { aspect-ratio: 2/3; width: 100%; background: var(--accent); display: block; }
.history-list .info { min-width: 0; flex: 1; }
.history-list .t { font-size: 13px; font-weight: 500; color: var(--foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history-list .t:hover { color: var(--brand); }
.history-list .sub { margin-top: 2px; display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; font-size: 11px; color: var(--muted-foreground); }
.history-list .sub span { display: inline-flex; align-items: center; gap: 4px; }
.history-bar { margin-top: 6px; height: 4px; width: 100%; overflow: hidden; border-radius: 999px; background: var(--accent); }
.history-bar i { display: block; height: 100%; background: var(--brand); }
.history-bar i.done { background: var(--brand-live); }
.history-list .play-icon { flex-shrink: 0; color: var(--brand); }

.pcomment-list { display: grid; gap: 10px; list-style: none; }
.pcomment-list li { border-radius: 3px; border: 1px solid var(--border); background: rgba(0,0,0,0.18); padding: 10px; }
html[data-theme="frost"] .pcomment-list li { background: rgba(0,0,0,0.02); }
.pcomment-list .goto { font-size: 11px; font-weight: 500; color: var(--brand); }
.pcomment-list .goto:hover { text-decoration: underline; }
.pcomment-list .body { margin-top: 4px; font-size: 12px; line-height: 1.6; color: rgba(237, 241, 245, 0.9); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
html[data-theme="frost"] .pcomment-list .body { color: rgba(16,24,40,0.9); }
.pcomment-list .when { margin-top: 4px; font-size: 10px; color: var(--muted-foreground); }

.profile-cols { display: grid; gap: 24px; }
@media (min-width: 1024px) { .profile-cols { grid-template-columns: minmax(0,1fr) 320px; } }
.profile-cols .side { display: grid; gap: 16px; align-content: start; }

/* --------------------------------------------------------------- hesabım */
.dash-grid { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 1024px) { .dash-grid { grid-template-columns: minmax(0,1fr) 320px; } }
.dash-side { display: grid; gap: 16px; align-content: start; }
.shortcut { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); padding: 10px 14px; transition: background 0.15s; }
.shortcut:last-child { border-bottom: 0; }
.shortcut:hover { background: var(--accent); }
.shortcut svg.ic { flex-shrink: 0; color: var(--brand); }
.shortcut .info { min-width: 0; flex: 1; }
.shortcut .t { display: block; font-size: 12px; font-weight: 500; color: var(--foreground); }
.shortcut .d { display: block; font-size: 10px; color: var(--muted-foreground); }
.shortcut svg.chev { flex-shrink: 0; color: var(--muted-foreground); }

/* --------------------------------------------------------------- yorumlar */
/* Çapa ile yumuşak iniş + sabit başlığa çarpmayı önleme (#yorumlar'a "Yorumları Gör") */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
#yorumlar { scroll-margin-top: 76px; }
.comment-list { display: grid; gap: 12px; list-style: none; }
.comment { border-radius: 3px; border: 1px solid var(--border); background: rgba(0,0,0,0.18); padding: 12px; }
html[data-theme="frost"] .comment { background: rgba(0,0,0,0.02); }
.comment.deleted { opacity: 0.7; }
.comment header { display: flex; align-items: center; gap: 10px; }
.avatar { flex-shrink: 0; border-radius: 2px; border: 1px solid var(--border); background: var(--secondary); display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--muted-foreground); overflow: hidden; }
.avatar.s8 { width: 32px; height: 32px; font-size: 11px; }
.avatar.s7 { width: 28px; height: 28px; font-size: 10px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment .who { min-width: 0; flex: 1; }
.comment .who .l1 { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 2px; font-size: 12px; }
.comment .who .l1 a.name { font-weight: 500; color: var(--foreground); }
.comment .who .l1 a.name:hover { color: var(--brand); }
.comment .who .when { font-size: 10px; color: var(--muted-foreground); }
.comment .content { margin-top: 10px; padding-left: 42px; }
.comment .body { font-size: 13px; line-height: 1.625; white-space: pre-wrap; color: rgba(237,241,245,0.9); }
html[data-theme="frost"] .comment .body { color: rgba(16,24,40,0.9); }
.spoiler-btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 3px;
  border: 1px dashed var(--border); background: color-mix(in srgb, var(--card) 60%, transparent);
  padding: 8px 12px; font-size: 12px; color: var(--muted-foreground); font-family: inherit;
}
.spoiler-btn:hover { color: var(--foreground); }
.comment-actions { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 11px; }
.comment-actions button { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--muted-foreground); font-family: inherit; font-size: 11px; transition: color 0.15s; }
.comment-actions button:hover { color: var(--foreground); }
.comment-actions button.liked { color: var(--destructive); }
.comment-actions button.replies-toggle { color: var(--brand); }
.comment-actions button.replies-toggle:hover { color: var(--brand-bright); }
.comment .delete-btn { background: none; border: 0; padding: 6px; border-radius: 3px; color: var(--muted-foreground); }
.comment .delete-btn:hover { color: var(--destructive); }
.replies { margin-top: 12px; display: grid; gap: 10px; border-left: 1px solid var(--border); padding-left: 12px; }
.reply { border-radius: 3px; border: 1px solid var(--border); background: color-mix(in srgb, var(--card) 60%, transparent); padding: 10px; }
.reply .body { font-size: 12px; line-height: 1.625; white-space: pre-wrap; color: rgba(237,241,245,0.9); padding-left: 36px; margin-top: 8px; }
html[data-theme="frost"] .reply .body { color: rgba(16,24,40,0.9); }
.reply .like-btn { margin-top: 6px; margin-left: 36px; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; font-size: 10px; color: var(--muted-foreground); font-family: inherit; }
.reply .like-btn.liked { color: var(--destructive); }
.reply .spoiler-inline { font-size: 11px; color: var(--muted-foreground); text-decoration: underline dotted; background: none; border: 0; font-family: inherit; }
.collapse-replies { background: none; border: 0; font-size: 11px; color: var(--muted-foreground); font-family: inherit; text-align: left; }
.collapse-replies:hover { color: var(--foreground); }

.composer { display: grid; gap: 8px; }
.composer .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.composer label.spoiler-check { display: inline-flex; cursor: pointer; align-items: center; gap: 6px; font-size: 11px; color: var(--muted-foreground); }
.composer .right { display: flex; align-items: center; gap: 8px; }
.composer .count { font-size: 10px; color: var(--muted-foreground); }
.comments-empty { border-radius: 3px; border: 1px dashed var(--border); background: rgba(0,0,0,0.15); padding: 32px 16px; text-align: center; }
html[data-theme="frost"] .comments-empty { background: rgba(0,0,0,0.02); }
.comments-empty svg { color: var(--muted-foreground); }
.comments-empty p.t { margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--foreground); }
.comments-empty p.d { margin-top: 4px; font-size: 11px; color: var(--muted-foreground); }
.comments-locked { display: flex; align-items: flex-start; gap: 10px; border-radius: 3px; border: 1px solid var(--border); background: rgba(0,0,0,0.18); padding: 12px; }
html[data-theme="frost"] .comments-locked { background: rgba(0,0,0,0.02); }
.comments-locked p { font-size: 12px; line-height: 1.6; color: var(--muted-foreground); }
.comments-locked .login-btn { margin-top: 8px; display: inline-flex; height: 28px; align-items: center; border-radius: 3px; background: var(--brand); padding: 0 12px; font-size: 12px; font-weight: 500; color: var(--brand-card, #fff); color: #fff; }
.comments-more { display: flex; justify-content: center; border-top: 1px solid var(--border); padding-top: 12px; }
.sort-tabs { display: flex; align-items: center; gap: 4px; }
.sort-tabs button { border-radius: 3px; border: 0; background: none; padding: 4px 8px; font-size: 11px; font-weight: 500; color: var(--muted-foreground); font-family: inherit; }
.sort-tabs button.active { background: color-mix(in srgb, var(--brand) 15%, transparent); color: var(--brand); }
.sort-tabs button:hover:not(.active) { color: var(--foreground); }

/* --------------------------------------------------------------- author kartı */
.hovercard {
  position: absolute; z-index: 60; width: 280px; max-width: calc(100vw - 24px); border-radius: 3px;
  border: 1px solid var(--border); background: var(--popover); padding: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  display: none;
}
.hovercard.open { display: block; }
.hovercard .row { display: flex; align-items: center; gap: 10px; }
.hovercard .row img { width: 44px; height: 44px; flex-shrink: 0; border-radius: 2px; border: 1px solid var(--border); object-fit: cover; object-position: top; }
.hovercard .row .init { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 2px; border: 1px solid var(--border); background: var(--secondary); font-size: 13px; font-weight: 600; color: var(--muted-foreground); }
.hovercard .dn { font-size: 13px; font-weight: 600; color: var(--foreground); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
/* v18: mini önizlemedeki rozetler abartılı büyüktü — .hovercard .row img (44 px)
   kuralı rozetleri de yakaladığı için. Seçiciyi güçlendirip küçültüyoruz. */
.hovercard .row .role-badge-img { height: 12px; width: auto; }
.hovercard .row .role-badge-img.bicon { height: 11px; width: auto; }
@media (max-width: 480px) {
  .hovercard .row .role-badge-img { height: 11px; width: auto; }
  .hovercard .row .role-badge-img.bicon { height: 10px; width: auto; }
  .hovercard .dn { font-size: 12.5px; }
}
.hovercard .hd { font-size: 11px; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hovercard .tagline { margin-top: 10px; font-size: 11px; line-height: 1.6; color: var(--muted-foreground); }
.hovercard .stats3 { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid var(--border); padding-top: 10px; text-align: center; }
.hovercard .stats3 .v { font-size: 13px; font-weight: 600; color: var(--foreground); }
.hovercard .stats3 .l { font-size: 9px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-foreground); }
.hovercard .foot { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--border); padding-top: 10px; font-size: 10px; color: var(--muted-foreground); }
.hovercard .foot a { font-weight: 500; color: var(--brand); }
.hovercard .foot a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ auth */
.auth-page { position: relative; min-height: 100vh; display: flex; flex-direction: column; }
.auth-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 70% at 50% -10%, rgba(61, 180, 242, 0.14), transparent 60%); z-index: -1; }
.auth-center { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.auth-card { width: 100%; max-width: 380px; border-radius: 3px; border: 1px solid var(--border); background: var(--card); }
.auth-card .pad { padding: 24px; }
.auth-card .logo-row { display: flex; justify-content: center; margin-top: 16px; margin-bottom: 16px; }
.auth-card h1 { text-align: center; font-size: 20px; font-weight: 600; }
.auth-card .desc { margin-top: 6px; text-align: center; font-size: 14px; color: var(--muted-foreground); }
.auth-card .foot { border-top: 1px solid var(--border); background: color-mix(in srgb, var(--background) 40%, transparent); border-radius: 0 0 3px 3px; padding: 16px 24px; text-align: center; font-size: 11px; color: var(--muted-foreground); }
.auth-divider { position: relative; margin-top: 16px; }
.auth-divider::before { content: ""; position: absolute; inset: 50% 0 auto 0; border-top: 1px solid var(--border); }
.auth-divider span { position: relative; display: flex; justify-content: center; font-size: 12px; text-transform: uppercase; }
.auth-divider span i { background: var(--card); padding: 0 8px; font-style: normal; color: var(--muted-foreground); }
.auth-error { margin-top: 8px; font-size: 14px; color: var(--destructive); }
.field-row { display: flex; align-items: center; gap: 8px; }
.field-row .grow { position: relative; flex: 1; }
.field-row .grow svg { position: absolute; top: 10px; left: 12px; color: var(--muted-foreground); }
.field-row .grow .input { padding-left: 36px; }
.auth-actions { display: grid; gap: 8px; margin-top: 16px; }
.auth-tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; background: var(--secondary); border-radius: 3px; padding: 4px; }
.auth-tabs button { border: 0; background: none; border-radius: 2px; padding: 7px 0; font-size: 13px; font-weight: 500; color: var(--muted-foreground); font-family: inherit; }
.auth-tabs button.active { background: var(--card); color: var(--foreground); }
.auth-field { display: grid; gap: 6px; margin-bottom: 14px; }
.auth-field label { font-size: 12px; font-weight: 500; color: var(--muted-foreground); }

/* --------------------------------------------------------------- admin */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; background: var(--secondary); border-radius: 3px; padding: 4px; width: fit-content; }
.tabs button, .tabs a { border: 0; background: none; border-radius: 2px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--muted-foreground); font-family: inherit; display: inline-flex; }
.tabs button.active, .tabs a.active { background: var(--card); color: var(--foreground); }
.stat-cards { display: grid; gap: 12px; }
@media (min-width: 640px) { .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .stat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat-card { border-radius: 3px; border: 1px solid var(--border); background: var(--card); padding: 12px 14px; }
.stat-card .v { margin-top: 4px; font-size: 22px; font-weight: 600; color: var(--foreground); }
.stat-card .v.tone-primary { color: var(--brand); }
.stat-card .v.tone-destructive { color: var(--destructive); }

.member-list { list-style: none; }
.member-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px; }
.member-list li + li { border-top: 1px solid var(--border); }
.member-list .who { display: flex; min-width: 0; flex: 1; align-items: center; gap: 10px; }
.member-list img:not(.role-badge-img) { width: 36px; height: 36px; flex-shrink: 0; border-radius: 2px; object-fit: cover; object-position: top; }
.member-list .init { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 2px; background: var(--secondary); font-size: 12px; font-weight: 600; color: var(--muted-foreground); }
.member-list .name-row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; font-size: 13px; font-weight: 500; color: var(--foreground); }
.member-list .name-row a:hover { color: var(--brand); }
.member-list .meta { display: block; margin-top: 2px; font-size: 10px; color: var(--muted-foreground); }
.member-list .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.role-select { height: 32px; width: 150px; font-size: 12px; }

.admin-comment-list { list-style: none; }
.admin-comment-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px; }
.admin-comment-list li + li { border-top: 1px solid var(--border); }
.admin-comment-list .init { margin-top: 2px; width: 32px; height: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 2px; background: var(--secondary); font-size: 11px; font-weight: 600; color: var(--muted-foreground); }
.admin-comment-list .info { min-width: 0; flex: 1; }
.admin-comment-list .l1 { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; font-size: 12px; }
.admin-comment-list .l1 a.anime { color: var(--brand); }
.admin-comment-list .l1 a.anime:hover { text-decoration: underline; }
.admin-comment-list .body { margin-top: 4px; font-size: 12px; line-height: 1.6; color: rgba(237,241,245,0.9); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html[data-theme="frost"] .admin-comment-list .body { color: rgba(16,24,40,0.9); }
.admin-comment-list .when { margin-top: 4px; font-size: 10px; color: var(--muted-foreground); }

.palette-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .palette-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .palette-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.palette-option { display: flex; align-items: center; gap: 12px; border-radius: 3px; border: 1px solid var(--border); background: rgba(0,0,0,0.18); padding: 12px; text-align: left; font-family: inherit; }
html[data-theme="frost"] .palette-option { background: rgba(0,0,0,0.02); }
.palette-option.active { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); }
.palette-option:hover:not(.active) { border-color: color-mix(in srgb, var(--brand) 50%, transparent); }
.palette-swatch { display: flex; flex-shrink: 0; overflow: hidden; border-radius: 2px; border: 1px solid var(--border); }
.palette-swatch i { display: block; width: 24px; height: 24px; }
.palette-option .l { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--foreground); }
.palette-option .h { display: block; margin-top: 2px; font-size: 10px; color: var(--muted-foreground); }

/* ---------------------------------------------------------------- dialog */
.dialog-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,0.7); display: none; }
.dialog-overlay.open { display: flex; align-items: center; justify-content: center; padding: 16px; }
.dialog {
  width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto;
  border-radius: 3px; border: 1px solid var(--border); background: var(--card); padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.dialog.wide { max-width: 640px; }
/* Mobilde düzenleme diyalogu ekran kenarına yapışsın, içerik taşmasın */
@media (max-width: 639px) {
  .dialog-overlay.open { padding: 10px; }
  .dialog { padding: 16px; max-height: 94vh; }
}
.dialog h2 { font-size: 18px; font-weight: 600; }
.dialog .desc { margin-top: 6px; font-size: 14px; color: var(--muted-foreground); }
.dialog .footer { margin-top: 20px; display: flex; justify-content: flex-end; gap: 8px; }
.dialog .close-x { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 3px; border: 0; background: none; color: var(--muted-foreground); display: flex; align-items: center; justify-content: center; }
.dialog .close-x:hover { background: var(--accent); color: var(--foreground); }
.dialog .position-wrap { position: relative; }
.trailer-dialog { max-width: 896px; padding: 0; background: #000; }
.trailer-dialog .frame { aspect-ratio: 16/9; width: 100%; }
.trailer-dialog iframe { width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------- formlar */
.form-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-field { display: grid; gap: 6px; }
.form-field .lbl-row { display: flex; align-items: center; justify-content: space-between; }
.form-field textarea { min-height: 72px; }
.check-row { display: flex; cursor: pointer; align-items: center; gap: 8px; font-size: 12px; color: var(--muted-foreground); }
.section-block { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 16px; }
.hidden-sections-grid { display: grid; gap: 6px; margin-top: 8px; }
@media (min-width: 640px) { .hidden-sections-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hidden-sections-grid label { display: flex; cursor: pointer; align-items: flex-start; gap: 8px; border-radius: 3px; border: 1px solid var(--border); background: rgba(0,0,0,0.18); padding: 8px; transition: border-color 0.15s; }
.hidden-sections-grid label.active { border-color: color-mix(in srgb, var(--brand) 60%, transparent); background: color-mix(in srgb, var(--brand) 10%, transparent); }
.hidden-sections-grid .t { display: block; font-size: 11px; font-weight: 500; color: var(--foreground); }
.hidden-sections-grid .h { display: block; font-size: 10px; line-height: 1.5; color: var(--muted-foreground); }

.username-box { border-radius: 3px; border: 1px solid var(--border); background: rgba(0,0,0,0.18); padding: 12px; }
/* Düzenleme diyalogu içi taşma + hizalama güvenlikleri (arama kutuları vb.) */
.search-box .input { width: 100%; min-width: 0; }
.pick-item { min-width: 0; }
.pick-item .t { max-width: 100%; }
.pick-list li { min-width: 0; }
.fav-chip { max-width: 100%; min-width: 0; }
.char-grid-pick li { min-width: 0; }
html[data-theme="frost"] .username-box { background: rgba(0,0,0,0.02); }
.username-box .row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.username-box .field { display: flex; min-width: 0; flex: 1 1 160px; align-items: center; border-radius: 3px; border: 1px solid var(--input); background: rgba(0,0,0,0.18); padding-left: 10px; }
.username-box .field:focus-within { border-color: var(--brand); }
.username-box .field .at { font-size: 13px; color: var(--muted-foreground); }
.username-box .field input { min-width: 0; flex: 1; background: transparent; border: 0; outline: none; padding: 8px 6px; font-size: 13px; color: var(--foreground); font-family: inherit; }
.username-box .hint { margin-top: 6px; font-size: 11px; line-height: 1.5; color: var(--muted-foreground); }
.username-box .hint.ok { color: #4ade80; }
.username-box .hint.bad { color: var(--destructive); }

.fav-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.fav-chip { display: flex; align-items: center; gap: 8px; border-radius: 3px; border: 1px solid var(--border); background: rgba(0,0,0,0.18); padding: 4px 8px 4px 4px; }
.fav-chip img { width: 32px; height: 32px; border-radius: 2px; object-fit: cover; }
.fav-chip .noimg { width: 32px; height: 32px; border-radius: 2px; background: var(--accent); }
.fav-chip .t { display: block; max-width: min(140px, 50vw); font-size: 11px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav-chip button { background: none; border: 0; font-size: 10px; color: var(--muted-foreground); font-family: inherit; padding: 0 2px; }
.fav-chip button.banner:hover { color: var(--brand); }
.fav-chip button.del:hover { color: var(--destructive); }

.pick-list { display: grid; gap: 6px; margin-top: 8px; }
@media (min-width: 640px) { .pick-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pick-item { display: flex; width: 100%; min-width: 0; align-items: center; gap: 8px; border-radius: 3px; border: 1px solid var(--border); background: rgba(0,0,0,0.18); padding: 6px; text-align: left; font-family: inherit; }
.pick-item.added { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); }
.pick-item:hover:not(.added) { border-color: color-mix(in srgb, var(--brand) 60%, transparent); }
.pick-item img { width: 36px; height: 36px; border-radius: 2px; object-fit: cover; }
.pick-item .noimg { width: 36px; height: 36px; border-radius: 2px; background: var(--accent); }
.pick-item .t { display: block; font-size: 11px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-item .s { display: block; font-size: 10px; color: var(--muted-foreground); }

.char-grid-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; max-height: 240px; overflow-y: auto; }
@media (min-width: 640px) { .char-grid-pick { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.char-pick { overflow: hidden; border-radius: 3px; border: 1px solid var(--border); background: rgba(0,0,0,0.18); padding: 0; text-align: left; font-family: inherit; }
.char-pick.current { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); }
.char-pick:hover:not(.current) { border-color: color-mix(in srgb, var(--brand) 60%, transparent); }
.char-pick img { width: 100%; height: 128px; object-fit: cover; object-position: top; display: block; }
.char-pick .noimg { width: 100%; height: 128px; background: var(--accent); }
.char-pick .body { padding: 6px; min-height: 42px; }
.char-pick .t { display: block; font-size: 11px; font-weight: 500; color: var(--foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.char-pick .s { font-size: 10px; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

.image-slots { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 640px) { .image-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.image-slot { border-radius: 3px; border: 1px solid var(--border); background: rgba(0,0,0,0.18); padding: 10px; }
.image-slot .t { font-size: 11px; font-weight: 500; color: var(--foreground); }
.image-slot .h { font-size: 10px; color: var(--muted-foreground); }
.image-slot .row { margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.image-slot .preview { position: relative; flex-shrink: 0; overflow: hidden; border-radius: 2px; border: 1px solid var(--border); background: var(--secondary); }
.image-slot .preview.sq { width: 56px; height: 56px; }
.image-slot .preview.wide { width: 96px; height: 56px; }
.image-slot .preview img { width: 100%; height: 100%; object-fit: cover; }
.image-slot .acts { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: 8px; }
.image-slot label.pick { display: inline-flex; cursor: pointer; align-items: center; gap: 6px; border-radius: 3px; border: 1px solid var(--border); padding: 6px 10px; font-size: 11px; color: var(--muted-foreground); transition: border-color 0.15s, color 0.15s; }
.image-slot label.pick:hover { border-color: color-mix(in srgb, var(--brand) 60%, transparent); color: var(--foreground); }
.image-slot label.pick input { display: none; }
.image-slot button.clear { background: none; border: 0; font-size: 11px; color: var(--muted-foreground); font-family: inherit; }
.image-slot button.clear:hover { color: var(--destructive); }

/* --------------------------------------------------------------- oynatıcı */
.player {
  position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden;
  border-radius: 4px; border: 1px solid var(--border); background: #000; outline: none;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--background) 48%, transparent);
}
.player video { width: 100%; height: 100%; background: #000; }
.player .bars { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; pointer-events: none; }
.player .bars .buffered { position: absolute; top: 0; bottom: 0; left: 0; background: rgba(255,255,255,0.2); }
.player .bars .played { position: absolute; top: 0; bottom: 0; left: 0; background: var(--brand); }
.player .center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.player .loading-state { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(0,0,0,0.45); }
.player .loading-state p { font-size: 12px; color: rgba(255,255,255,0.7); }
.player .error-state { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(0,0,0,0.8); padding: 24px; text-align: center; }
.player .error-state .t { font-size: 14px; font-weight: 700; color: #fff; font-family: var(--font-sans); }
.player .error-state .m { max-width: 28rem; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.7); }
.player .error-state .retry { margin-top: 4px; display: inline-flex; align-items: center; gap: 8px; border-radius: 3px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); padding: 8px 16px; font-size: 12px; font-weight: 600; color: #fff; font-family: inherit; }
.player .error-state .retry:hover { background: rgba(255,255,255,0.2); }
.player .error-state svg { color: #fcd34d; }
.player .big-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.35); border: 0; width: 100%; }
.player .big-play:hover { background: rgba(0,0,0,0.25); }
.player .big-play span { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--brand); color: #fff; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); transition: transform 0.15s; }
.player .big-play:hover span { transform: scale(1.05); }
.player .spinner-lg { width: 36px; height: 36px; color: rgba(255,255,255,0.8); }

.player-controls {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6) 60%, transparent);
  padding: 32px 12px 12px;
  transition: opacity 0.3s;
}
.player-controls.hidden { opacity: 0; pointer-events: none; }
.player-controls .seek-row { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.player-controls input[type="range"] { width: 100%; height: 6px; accent-color: var(--brand); cursor: pointer; }
.player-controls .btn-row { display: flex; align-items: center; gap: 6px; }
.pctl { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 0; background: none; color: #fff; font-family: inherit; flex-shrink: 0; }
.pctl:hover { background: rgba(255,255,255,0.15); }
.pctl svg { width: 16px; height: 16px; }
.player-controls .time { margin-left: 4px; font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.85); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 640px) { .player-controls .time { font-size: 12px; } }
.player-controls .spacer { margin-left: auto; }
.player-controls .right { display: flex; align-items: center; gap: 6px; }
.player-controls select {
  height: 32px; border-radius: 3px; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.5); color: #fff; font-size: 11px; font-weight: 500; padding: 0 6px;
  outline: none; font-family: inherit;
}
.player-controls .subtitle-select { max-width:112px; }
.player-controls .vol-slider { width: 80px; height: 4px; accent-color: var(--brand); }
@media (max-width: 639px) { .player-controls .vol-slider, .pctl.pip { display: none; } .player-controls .subtitle-select { max-width:86px; } }
.player-controls .subtitle-line { margin-top: 6px; font-size: 11px; color: rgba(255,255,255,0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.watch-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 4px; background: var(--card); font-size: 12px; color: var(--muted-foreground); }
.watch-meta .resume-info { display: inline-flex; align-items: center; gap: 6px; }

/* --------------------------------------------------------------- yardımcı */
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 20px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; }
.hidden { display: none !important; }
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .items-center { align-items: center; }
.justify-between { justify-content: space-between; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.min-w-0 { min-width: 0; }
.clamp1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.t13 { font-size: 13px; } .t12 { font-size: 12px; } .t11 { font-size: 11px; }
.center-note { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 80px 0; font-size: 13px; color: var(--muted-foreground); }
.icon-spin { animation: spin 1s linear infinite; }

/* toast */
.toast-wrap { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: grid; gap: 8px; }
.toast {
  min-width: 220px; max-width: 340px; border-radius: 3px; border: 1px solid var(--border);
  background: var(--popover); color: var(--foreground); padding: 10px 14px; font-size: 13px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4); animation: toast-in 0.2s ease;
}
.toast.error { border-color: color-mix(in srgb, var(--destructive) 50%, transparent); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   v2.1 düzeltmeleri — arama kutusu stili + mobil/Android uyumluluk
   ========================================================================== */

/* ------------------------------------------------- arama kutusu (header + browse)
   Orijinal site-shell.tsx'teki üst arama çubuğu birebir: 36px yükseklik,
   hairline çerçeve, kart zemini, solda ikon boşluğu. */
.search-box > input[type="search"] {
  width: 100%; height: 36px;
  border-radius: 3px; border: 1px solid var(--input); background: var(--card);
  padding: 0 12px 0 36px;
  font-family: inherit; font-size: 13px; color: var(--foreground);
  outline: none; transition: border-color 0.15s;
  appearance: none; -webkit-appearance: none;
  min-width: 0;
}
.search-box > input[type="search"]:focus { border-color: var(--brand); }
.search-box > input[type="search"]::placeholder { color: rgba(159, 173, 189, 0.8); }
.search-box > input[type="search"]::-webkit-search-cancel-button,
.search-box > input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; appearance: none; display: none;
}

/* ----------------------------------------------------------- mobil savunma */
/* Yatay taşmayı tetikleyebilecek medya ve gömülüler */
img, video, iframe, embed, object, select, textarea { max-width: 100%; }

/* Uzun boşluksuz kelimeler (URL'ler, başlıklar, stüdyo adları) sarmalansın */
.hero-title, .anime-card h3, .ep-card .t, .cal-day .t,
.comment .body, .reply .body, .info-dl dd, .char-row .name,
.history-list .t, .pcomment-list .body, .admin-comment-list .body,
.hovercard .dn, .profile-name, .section-header h2, .empty-card p.d,
.error-card .head p.m, .stream-list .name, .fav-chip .t, .pick-item .t {
  overflow-wrap: anywhere;
}

/* Bilgi tablosundaki sağa yaslı uzun değerler bölünsün */
.info-dl dd { min-width: 0; }

/* son çare: sayfa genişliğinde yatay kaydırma oluşmasın
   (clip, sticky başlığı bozmayan modern eşleniği) */
html { overflow-x: clip; }

/* Çok küçük ekranlarda katalog 2 kolon (orijinaldeki gibi okunur kalır) */
@media (max-width: 379px) {
  .anime-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ep-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Mobilde hero payı biraz daha sıkı — orijinal Landing ölçüleriyle uyumlu */
@media (max-width: 639px) {
  .hero-body { margin-top: -84px; }
  .hero-poster { width: 96px; }
  .hero-title { font-size: 21px; }
}

/* Mobilde oyuncunun alt kontrolleri ekrana sığsın */
@media (max-width: 639px) {
  .player-controls { padding: 28px 8px 8px; }
  .pctl { width: 32px; height: 32px; }
  .player-controls .time { font-size: 10px; }
}

/* Toast sağ kenarda taşmasın */
@media (max-width: 379px) {
  .toast { max-width: calc(100vw - 32px); min-width: 0; }
}

/* ================================================================
   HABERLER — haberler.php + haber.php
   ================================================================ */

/* Sayfa başlığı — takvim + haberler ortak tema dili */
.page-head { border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.page-head h1 {
  display: flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 600; color: var(--foreground); margin: 0;
}
.page-blurb { margin: 6px 0 0; font-size: 12px; color: var(--muted-foreground); max-width: 72ch; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .news-grid { grid-template-columns: minmax(0, 1fr); } }

/* Detay sayfasındaki "Benzer haberler" — dar alanda 2 kolon */
.news-grid.related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .news-grid.related { grid-template-columns: minmax(0, 1fr); } }

.news-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); border-radius: 3px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.news-card:hover {
  border-color: rgba(61, 180, 242, .45); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.news-card .thumb { display: block; position: relative; aspect-ratio: 16 / 9; background: var(--accent); overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.news-card:hover .thumb img { transform: scale(1.04); }
.news-card .thumb.noimg img { display: none; }
.noimg-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--muted-foreground);
  background: linear-gradient(160deg, rgba(61, 180, 242, .10), transparent 60%), var(--card);
}
.news-card .body { display: flex; flex-direction: column; gap: 8px; padding: 14px; flex: 1; min-width: 0; }
.news-card .meta { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--muted-foreground); }
.news-card .meta .src {
  display: inline-flex; padding: 2px 8px; border-radius: 999px;
  background: rgba(61, 180, 242, .14); color: var(--brand); font-weight: 600; font-size: 10px;
}
.news-card h3 {
  font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--foreground);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card h3 a { color: inherit; text-decoration: none; }
.news-card h3 a:hover { color: var(--brand); }
.news-card .excerpt {
  font-size: 12px; line-height: 1.625; color: var(--muted-foreground);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .go {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--brand); text-decoration: none;
}
.news-card .go:hover { color: var(--brand-bright); }

/* haber kartı alt şeridi: "Haberi oku" + istatistikler */
.card-foot {
  margin-top: auto; display: flex; align-items: center;
  justify-content: space-between; gap: 10px; flex-wrap: wrap;
}

/* haber istatistikleri: görüntüleme üst meta satırında, beğeni/dislike alt şeritte */
.ns-views {
  display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
  font-size: 10.5px; color: var(--muted-foreground);
  border: 1px solid var(--border); border-radius: 8px; padding: 3px 8px;
  background: rgba(0, 0, 0, 0.18);
}
.ns-views b { font-weight: 600; color: var(--foreground); }
.ns-vote {
  display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; cursor: pointer; font-family: inherit;
  font-size: 10.5px; color: var(--muted-foreground); border: 1px solid var(--border); border-radius: 8px;
  padding: 3px 9px; background: rgba(0, 0, 0, 0.18);
  transition: color .15s, border-color .15s, background .15s, transform .12s;
}
.ns-vote b { font-weight: 600; }
.ns-vote:hover {
  color: var(--foreground); border-color: color-mix(in srgb, var(--brand) 40%, transparent);
  transform: translateY(-1px);
}
.ns-vote:disabled { opacity: .6; cursor: wait; }
.ns-vote.on.ns-like {
  color: var(--brand); border-color: color-mix(in srgb, var(--brand) 55%, transparent);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}
.ns-vote.on.ns-dislike {
  color: var(--destructive); border-color: color-mix(in srgb, var(--destructive) 50%, transparent);
  background: color-mix(in srgb, var(--destructive) 10%, transparent);
}

/* beğeni/dislike çifti: kart altında ve haber detayının en altında */
.news-votes { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nv-hint { font-size: 11px; color: var(--muted-foreground); margin-right: 4px; }
.news-detail .news-votes {
  margin: 18px 0 4px; padding-top: 14px; border-top: 1px solid var(--border);
}
.news-detail .ns-vote { font-size: 12px; padding: 7px 14px; gap: 6px; }

/* kart ve detay üst meta satırı: kaynak + tarih solda, görüntüleme sağda */
.news-card .meta { flex-wrap: wrap; }
.news-card .meta .ns-views { margin-left: auto; }
.news-detail-body .meta { flex-wrap: wrap; }
.news-detail-body .meta .ns-views { margin-left: auto; }

/* =============================================================
 |  SAYFA YÜKLEME GÖSTERGESİ (dot-spinner) — tema renkli, 8 nokta
 * ============================================================= */
#pageLoader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--background, #0b1622);
  transition: opacity .35s ease, visibility .35s ease;
  /* JS'siz güvence: app.js hiç yüklenmese bile spinner 4 sn sonra kendiliğinden kapanır */
  animation: pageLoaderFailSafe 0s 4s forwards;
}
body.is-ready #pageLoader, #pageLoader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes pageLoaderFailSafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.dot-spinner {
  --ds-size: 46px; --ds-speed: .9s;
  position: relative; display: flex; align-items: center; justify-content: flex-start;
  height: var(--ds-size); width: var(--ds-size);
}
.dot-spinner i {
  position: absolute; top: 0; left: 0; display: flex; align-items: center; justify-content: flex-start;
  height: 100%; width: 100%;
}
.dot-spinner i::before {
  content: ''; height: 20%; width: 20%; border-radius: 50%;
  background-color: var(--brand);
  transform: scale(0); opacity: .45;
  animation: dotPulse calc(var(--ds-speed) * 1.111) ease-in-out infinite;
}
.dot-spinner i:nth-child(2) { transform: rotate(45deg); }
.dot-spinner i:nth-child(2)::before { animation-delay: calc(var(--ds-speed) * -0.875); }
.dot-spinner i:nth-child(3) { transform: rotate(90deg); }
.dot-spinner i:nth-child(3)::before { animation-delay: calc(var(--ds-speed) * -0.75); }
.dot-spinner i:nth-child(4) { transform: rotate(135deg); }
.dot-spinner i:nth-child(4)::before { animation-delay: calc(var(--ds-speed) * -0.625); }
.dot-spinner i:nth-child(5) { transform: rotate(180deg); }
.dot-spinner i:nth-child(5)::before { animation-delay: calc(var(--ds-speed) * -0.5); }
.dot-spinner i:nth-child(6) { transform: rotate(225deg); }
.dot-spinner i:nth-child(6)::before { animation-delay: calc(var(--ds-speed) * -0.375); }
.dot-spinner i:nth-child(7) { transform: rotate(270deg); }
.dot-spinner i:nth-child(7)::before { animation-delay: calc(var(--ds-speed) * -0.25); }
.dot-spinner i:nth-child(8) { transform: rotate(315deg); }
.dot-spinner i:nth-child(8)::before { animation-delay: calc(var(--ds-speed) * -0.125); }
@keyframes dotPulse {
  0%, 100% { transform: scale(0); opacity: .45; }
  50% { transform: scale(1); opacity: .95; }
}
/* iç akış yüklemeleri için küçük boy */
.dot-spinner.ds-sm { --ds-size: 20px; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .dot-spinner i::before { animation-duration: 3s; }
}

/* =============================================================
 |  DİL & TEKNİK ROZETLER — afiş köşesi + detay hero (CC·HD·DUB)
 * ============================================================= */
.lang-badges {
  position: absolute; top: 4px; left: 4px;
  display: inline-flex; align-items: center; gap: 3px; z-index: 3;
}
/* rozetler premium SVG — hafif drop-shadow her afis renginde okunurluk sağlar */
.lang-badges img {
  height: 17px; width: auto; display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
}
/* dar afişlerde (115px kart) rozetleri küçült — puan rozetiyle çakışmasın */
.anime-card .frame { container-type: inline-size; }
@container (width < 140px) {
  .lang-badges { top: 3px; left: 3px; gap: 2px; }
  .lang-badges img { height: 12px; }
  .anime-card .score-badge { font-size: 10px; padding: 1px 5px; gap: 3px; }
}
/* detay hero: sağ üstteki yaş etiketinin ALTINDA sağa hizalı dikey sıra */
.hero-lang-badges {
  top: 58px; right: 22px; left: auto; bottom: auto;
  flex-direction: column; align-items: flex-end;
}
.hero-lang-badges img { height: 26px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
@media (max-width: 640px) {
  .hero-lang-badges { top: 44px; right: 12px; }
  .hero-lang-badges img { height: 21px; }
}
.fav-mini .lang-badges { display: none; }

/* admin paneli dublaj yönetimi düğmesi */
.dub-toggle.on {
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 55%, transparent);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}
.admin-dub-list { display:grid; }
.admin-dub-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:10px 14px; border-top:1px solid var(--border); }
.admin-dub-title { display:flex; align-items:center; gap:10px; min-width:0; }
.admin-dub-title img { width:38px; height:52px; flex-shrink:0; border-radius:3px; object-fit:cover; background:var(--secondary); }
.admin-dub-title > span { display:grid; gap:4px; min-width:0; }
.admin-dub-title a { overflow:hidden; color:var(--foreground); font-size:12px; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }
.admin-dub-title a:hover { color:var(--brand); }
.admin-dub-title small { overflow:hidden; color:var(--muted-foreground); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
@media (max-width:640px) { .admin-dub-row { align-items:flex-start; flex-wrap:wrap; } .admin-dub-row .dub-toggle { margin-left:48px; } }

/* =============================================================
 |  KURUMSAL SAYFALAR — hakkımızda / gizlilik / telif / sss
 * ============================================================= */
.doc-container { padding-top: 24px; padding-bottom: 32px; max-width: 840px; }
.doc-page { padding: 28px clamp(18px, 4vw, 36px) 32px; }
/* v21.7: kurumsal sayfa başlığına özel anime görseli */
.doc-head { position: relative; }
.doc-head.has-hero { padding-right: 132px; min-height: 116px; }
.doc-hero { position: absolute; top: -4px; right: 0; width: 118px; height: 118px; border-radius: 10px; object-fit: cover; border: 1px solid color-mix(in srgb,var(--brand) 22%,var(--border)); box-shadow: 0 6px 18px rgba(11,22,34,.45); }
@media (max-width: 660px) { .doc-head.has-hero { padding-right: 0; min-height: 0; } .doc-hero { position: static; display: block; margin: 0 0 12px; width: 96px; height: 96px; } }
.doc-head h1 {
  display: flex; align-items: center; gap: 10px;
  font-size: 24px; font-weight: 700; color: var(--foreground); margin: 0 0 6px;
}
.doc-sub { margin: 0 0 22px; font-size: 13px; color: var(--muted-foreground); line-height: 1.6; }
.doc-page h2 {
  font-size: 16.5px; font-weight: 700; color: var(--foreground);
  margin: 26px 0 10px; padding-top: 18px; border-top: 1px solid var(--border);
}
.doc-page h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 4px; }
.doc-page p { font-size: 13.5px; line-height: 1.75; color: color-mix(in srgb, var(--foreground) 88%, var(--muted-foreground)); margin: 0 0 12px; }
.doc-page p strong { color: var(--foreground); }
.doc-page a { color: var(--brand); text-decoration: none; }
.doc-page a:hover { text-decoration: underline; }
.doc-page code {
  font-family: ui-monospace, monospace; font-size: 12px;
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--border);
  border-radius: 5px; padding: 1px 5px; color: var(--brand-bright);
}
.doc-note { font-size: 12px !important; color: var(--muted-foreground) !important; margin-top: 20px; }

/* SSS akordeonları */
.faq {
  border: 1px solid var(--border); border-radius: 10px;
  background: rgba(0, 0, 0, 0.16); margin: 0 0 8px; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 12px 14px; font-size: 13.5px; font-weight: 600; color: var(--foreground);
  transition: background .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; width: 8px; height: 8px; flex-shrink: 0;
  border-right: 2px solid var(--muted-foreground); border-bottom: 2px solid var(--muted-foreground);
  transform: rotate(45deg); transition: transform .18s; margin-top: -3px;
}
.faq[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.faq summary:hover { background: rgba(0, 0, 0, 0.12); }
.faq-body { padding: 2px 14px 13px; }
.faq-body p { margin: 0; font-size: 13px; }

/* kenar menüsü kurumsal bağlantı satırı */
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 10px; }
.foot-links a { font-size: 11px; color: var(--muted-foreground); text-decoration: none; }
.foot-links a:hover { color: var(--brand); }

/* haber sayfalama — 10 haber / sayfa */
.pager {
  margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; border-top: 1px solid var(--border); padding-top: 20px;
}
.pager .btn.is-disabled { opacity: .45; pointer-events: none; }
.pager-nums { display: inline-flex; align-items: center; gap: 6px; }
.pager-num {
  min-width: 30px; height: 30px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 3px; background: transparent;
  font-size: 12px; font-weight: 600; color: var(--muted-foreground); text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.pager-num:hover { color: var(--brand); border-color: rgba(61, 180, 242, .45); }
.pager-num.is-current {
  background: rgba(61, 180, 242, .14); border-color: rgba(61, 180, 242, .45); color: var(--brand);
}
.pager-ratio { margin-left: 6px; font-size: 11px; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }

/* haber detayı */
.news-hero { border-bottom: 1px solid var(--border); max-height: 420px; overflow: hidden; }
.news-hero img { width: 100%; object-fit: cover; display: block; }
.news-detail-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.news-detail-body .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 11px; color: var(--muted-foreground); }
.news-detail-body .meta .src {
  display: inline-flex; padding: 2px 10px; border-radius: 999px;
  background: rgba(61, 180, 242, .14); color: var(--brand); font-weight: 600; font-size: 11px;
}
.news-detail-body h1 { font-size: 22px; font-weight: 700; line-height: 1.35; color: var(--foreground); overflow-wrap: anywhere; }
.news-detail-text { display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.75; color: rgba(237, 241, 245, .88); overflow-wrap: anywhere; }
.news-detail-body .note { font-size: 11px; color: var(--muted-foreground); border-top: 1px solid var(--border); padding-top: 12px; }
.news-detail-body .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.news-hero-fallback {
  display: flex; align-items: center; justify-content: center; padding: 56px 0;
  color: var(--muted-foreground);
  background: linear-gradient(160deg, rgba(61, 180, 242, .10), transparent 60%), var(--card);
}

/* ================================================================
   ANİME ARKA PLANLAR — haberler + takvim sayfalarına özel, düşük
   opaklı sabit görsel; metin okunurluğu için üstüne degrade örtü.
   Görseller kökte: bg-haberler.jpg, bg-takvim.jpg (CSS'e göre göreceli).
   ================================================================ */
body.page-haberler::before,
body.page-takvim::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
body.page-haberler::before {
  background-image:
    linear-gradient(180deg, rgba(11, 22, 34, .58) 0%, rgba(11, 22, 34, .86) 100%),
    url("bg-haberler.jpg");
  opacity: .30;
}
body.page-takvim::before {
  background-image:
    linear-gradient(180deg, rgba(11, 22, 34, .58) 0%, rgba(11, 22, 34, .86) 100%),
    url("bg-takvim.jpg");
  opacity: .30;
}
body.page-haberler .site,
body.page-takvim .site { background: transparent; position: relative; z-index: 1; }
body.page-haberler .site-footer,
body.page-takvim .site-footer { background: transparent; }
@media (max-width: 900px) {
  body.page-haberler::before,
  body.page-takvim::before { background-position: 32% center; opacity: .26; }
}

/* ------------------------------------------------------------ auth + maskot */
/* Kart önde, maskot arkada: kızın alt yarısı kartın arkasında kalır */
.auth-wrap { position: relative; width: 100%; max-width: 380px; }
.auth-card { position: relative; z-index: 2; margin-top: 236px; }
.auth-mascot { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 100%; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.auth-mascot img { width: auto; height: 400px; display: block; filter: drop-shadow(0 18px 28px rgba(2, 8, 14, .45)); animation: mascot-bob 3.4s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes mascot-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(-1.2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .auth-mascot img { animation: none; }
}
.mascot-bubble { position: relative; max-width: 240px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; font-size: 13.5px; font-weight: 500; line-height: 1.45; text-align: center; color: var(--foreground); box-shadow: 0 10px 24px rgba(2, 8, 14, .28); }
.mascot-bubble::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 13px; height: 13px; background: var(--card); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.auth-forgot { display: block; margin-top: 2px; font-size: 12.5px; text-align: right; }
.auth-forgot a { color: var(--brand); }
.auth-forgot a:hover { text-decoration: underline; }
.auth-ok { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px; border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); background: color-mix(in srgb, var(--brand) 10%, transparent); border-radius: 3px; color: var(--brand); }
.auth-ok .t { margin: 0 0 4px 0; font-size: 14px; font-weight: 600; color: var(--foreground); }
.auth-ok .d { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--muted-foreground); }
.reset-hint { margin-top: 12px; font-size: 11.5px; line-height: 1.55; color: var(--muted-foreground); }
.code-input { text-align: center; font-size: 22px; letter-spacing: 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .auth-card { margin-top: 150px; }
  .auth-mascot { gap: 6px; }
  .auth-mascot img { height: 250px; }
  .mascot-bubble { max-width: 230px; font-size: 12.5px; padding: 8px 12px; }
  .auth-center { padding: 18px 12px 28px; }
}

/* ==========================================================================
   SOSYAL KATMAN (v33) — bildirimler, takip, profil beğenisi/görüntüleme,
   duyuru & bakım yönetimi, özel tema paneli ve bakım sayfası.
   ========================================================================== */

/* ------------------------------------------------ kenar çubuğu bildirimleri */
.notif-link { justify-content: flex-start; }
.notif-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 17px; height: 17px; padding: 0 5px; margin-left: auto;
  border-radius: 999px; background: var(--destructive); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 1;
}

/* ----------------------------------------------------- yönetici bakım bandı */
.maint-banner {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 16px; padding: 10px 14px; border-radius: 3px;
  border: 1px solid color-mix(in srgb, var(--destructive) 45%, transparent);
  background: color-mix(in srgb, var(--destructive) 10%, transparent);
  color: var(--foreground); font-size: 12.5px;
}
.maint-banner svg { color: var(--destructive); }
.maint-banner a { color: var(--brand); font-weight: 500; text-decoration: underline; }
.maint-badge {
  display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 9px;
  font-size: 10px; font-weight: 600; letter-spacing: .3px;
  background: var(--secondary); color: var(--muted-foreground); border: 1px solid var(--border);
}
.maint-badge.on {
  background: color-mix(in srgb, var(--destructive) 15%, transparent);
  border-color: color-mix(in srgb, var(--destructive) 40%, transparent);
  color: var(--destructive);
}

/* ------------------------------------------------------- profil sosyal satırı */
.profile-social {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 16px; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: 4px;
  background: color-mix(in srgb, var(--card) 55%, transparent);
}
.social-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 3px;
  background: var(--secondary); color: var(--foreground);
  padding: 7px 14px; font-size: 12px; font-weight: 600; letter-spacing: .2px;
  transition: border-color .16s ease, color .16s ease, background .16s ease, transform .06s ease;
  cursor: pointer;
}
.social-btn:hover { border-color: var(--brand); color: var(--brand); }
.social-btn:active { transform: translateY(1px); }
.social-btn .count { font-weight: 600; font-variant-numeric: tabular-nums; }
.social-btn .cnt {
  min-width: 22px; padding: 1px 8px; border-radius: 999px; text-align: center;
  background: color-mix(in srgb, currentColor 13%, transparent);
  font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.social-btn.like-btn:hover, .social-btn.like-btn.active {
  color: var(--destructive);
  border-color: color-mix(in srgb, var(--destructive) 50%, transparent);
}
.social-btn.like-btn.active {
  background: color-mix(in srgb, var(--destructive) 13%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--destructive) 9%, transparent);
}
.social-btn.like-btn.active svg { fill: currentColor; }
.social-btn.follow-btn:hover, .social-btn.follow-btn.active {
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 50%, transparent);
}
.social-btn.follow-btn.active {
  background: color-mix(in srgb, var(--brand) 13%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 9%, transparent);
}
.social-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 11.5px; font-weight: 500; font-variant-numeric: tabular-nums;
}
.social-chip svg { opacity: .7; }
.social-chip.chip-like svg { color: var(--destructive); opacity: .9; }
.profile-social:not(.is-me) > .social-chip { margin-left: auto; }
.profile-social.is-me { gap: 8px; }

/* ------------------------------------------------------------ takip listeleri */
.follow-list { list-style: none; }
.follow-list li {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  transition: background .15s ease;
}
.follow-list li + li { border-top: 1px solid var(--border); }
.follow-list li:hover { background: color-mix(in srgb, var(--secondary) 55%, transparent); }
.follow-list .who { display: flex; align-items: center; gap: 11px; min-width: 0; flex: 1; }
.follow-list img, .follow-list .init {
  width: 38px; height: 38px; border-radius: 4px; object-fit: cover; flex-shrink: 0;
  border: 1px solid var(--border);
}
.follow-list .init {
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); font-size: 13px; font-weight: 600; color: var(--muted-foreground);
}
.follow-list .n { display: block; font-size: 13px; font-weight: 600; color: var(--foreground); }
.follow-list .who:hover .n { color: var(--brand); }
.follow-list .m { display: block; margin-top: 1px; font-size: 10.5px; color: var(--muted-foreground); }
.follow-list [data-unfollow-user] {
  border: 1px solid transparent; color: var(--muted-foreground);
}
.follow-list [data-unfollow-user]:hover {
  color: var(--destructive);
  border-color: color-mix(in srgb, var(--destructive) 40%, transparent);
  background: color-mix(in srgb, var(--destructive) 10%, transparent);
}

/* ------------------------------------------------------------ bildirim listesi */
.panel[data-anchor] { scroll-margin-top: 86px; }
.notif-head { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.notif-clear:hover { color: var(--destructive); }
.notif-new-badge {
  display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 8px;
  background: var(--brand); color: #fff; font-size: 10px; font-weight: 600;
}
.notif-list { list-style: none; }
.notif-list .empty {
  padding: 18px 14px; font-size: 12px; line-height: 1.65; color: var(--muted-foreground);
  display: flex; gap: 10px; align-items: flex-start;
}
.notif-list .empty svg { flex-shrink: 0; margin-top: 1px; color: var(--brand); opacity: .8; }
.notif-item {
  display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px;
  border-left: 2px solid transparent; transition: background .15s ease;
}
.notif-item + .notif-item { border-top: 1px solid var(--border); }
.notif-item.unread {
  background: color-mix(in srgb, var(--brand) 7%, transparent);
  border-left-color: var(--brand);
}
.notif-ic {
  width: 28px; height: 28px; border-radius: 3px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.notif-ic.tone-brand { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }
.notif-ic.tone-like { background: color-mix(in srgb, var(--destructive) 14%, transparent); color: var(--destructive); }
.notif-ic.tone-announce { background: color-mix(in srgb, var(--brand-score) 16%, transparent); color: var(--brand-score); }
.notif-ic.tone-episode { background: color-mix(in srgb, var(--brand-live) 15%, transparent); color: var(--brand-live); }
.notif-ic.tone-system { background: var(--secondary); color: var(--muted-foreground); }
.notif-body { min-width: 0; flex: 1; }
.notif-body .t { font-size: 12.5px; font-weight: 500; color: var(--foreground); line-height: 1.45; }
.notif-body .d { margin-top: 2px; font-size: 11.5px; line-height: 1.5; color: var(--muted-foreground); }
.notif-body .when { margin-top: 3px; font-size: 10.5px; color: var(--muted-foreground); opacity: .8; }
.notif-go {
  flex-shrink: 0; width: 26px; height: 26px; align-self: center;
  display: flex; align-items: center; justify-content: center;
  border: 0; background: transparent; color: var(--muted-foreground); border-radius: 3px;
}
.notif-go:hover { color: var(--brand); background: var(--secondary); }
.notif-go.done { opacity: .4; pointer-events: none; }
.notif-del {
  flex-shrink: 0; width: 26px; height: 26px; align-self: center;
  display: flex; align-items: center; justify-content: center;
  border: 0; background: transparent; color: var(--muted-foreground); border-radius: 3px;
  opacity: .4; transition: opacity .15s ease, color .15s ease, background .15s ease;
}
.notif-item:hover .notif-del { opacity: .85; }
.notif-del:hover {
  opacity: 1; color: var(--destructive);
  background: color-mix(in srgb, var(--destructive) 12%, transparent);
}
.notif-more.hidden { display: none; }
.notif-foot {
  display: flex; justify-content: center; padding: 10px 12px;
  border-top: 1px solid var(--border);
}
.notif-empty-all { padding: 20px 14px; font-size: 12px; color: var(--muted-foreground); }
@media (max-width: 640px) {
  .panel[data-anchor] > .panel-header { flex-wrap: wrap; row-gap: 8px; }
  .panel[data-anchor] > .panel-header h2 { flex: 0 0 100%; }
  .panel[data-anchor] .notif-head { justify-content: flex-start; }
}

/* --------------------------------------------------------- özel tema paneli */
.custom-theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.theme-color-field {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  border: 1px solid var(--border); border-radius: 3px; padding: 10px 8px; background: var(--secondary);
}
.theme-color-field input[type="color"] {
  width: 42px; height: 30px; padding: 0; border: 1px solid var(--border);
  border-radius: 3px; background: transparent; cursor: pointer;
}
.theme-color-field .n { font-size: 11px; font-weight: 500; color: var(--foreground); }
.theme-color-field .h { font-size: 10px; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.swatch-strip { display: flex; gap: 6px; margin-top: 12px; }
.swatch-strip i { flex: 1; height: 26px; border-radius: 3px; border: 1px solid var(--border); background: var(--secondary); }

/* --------------------------------------------------------- ikon kütüphanesi seçici */
.iconlib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(106px, 1fr)); gap: 8px; }
.iconlib-pick {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 9px 4px 7px; border: 1px solid var(--border); border-radius: 3px;
  background: var(--secondary); cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.iconlib-pick:hover { border-color: var(--brand); }
.iconlib-pick:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.iconlib-pick.on {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 14%, var(--secondary));
  box-shadow: inset 0 0 0 1px var(--brand);
}
.iconlib-pick:disabled { opacity: .6; cursor: wait; }
.iconlib-pick .prev { display: flex; align-items: center; justify-content: center; gap: 5px; height: 18px; color: var(--foreground); }
.iconlib-pick .prev svg { width: 15px; height: 15px; display: block; }
.iconlib-pick .n { font-size: 10px; color: var(--muted-foreground); text-align: center; }
.iconlib-pick.on .n { color: var(--foreground); font-weight: 500; }

/* ------------------------------------------------------------ bakım sayfası */
body.bakim-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; background: var(--background); padding: 20px;
}
.bakim-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bakim-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  opacity: .17; filter: saturate(.92); display: block;
}
.bakim-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(900px 520px at 72% 16%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%),
    linear-gradient(180deg, transparent 26%, var(--background) 94%);
}
.bakim-wrap { position: relative; z-index: 2; width: 100%; max-width: 470px; }
.bakim-card {
  background: color-mix(in srgb, var(--card) 88%, transparent);
  border: 1px solid var(--border); border-radius: 4px; padding: 36px 30px;
  text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px);
}
.bakim-brand {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 17px; color: var(--foreground); margin-bottom: 18px;
}
.bakim-brand img { width: 30px; height: 30px; object-fit: contain; }
.bakim-badge {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 11px;
  font-size: 11px; font-weight: 600; letter-spacing: .4px; color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}
.bakim-card h1 { margin-top: 14px; font-size: 22px; color: var(--foreground); }
.bakim-msg { margin-top: 10px; font-size: 13.5px; line-height: 1.65; color: var(--muted-foreground); }
.bakim-dots { display: flex; justify-content: center; gap: 6px; margin-top: 22px; }
.bakim-dots i {
  width: 7px; height: 7px; border-radius: 999px; background: var(--brand); opacity: .3;
  animation: bakim-pulse 1.4s ease-in-out infinite;
}
.bakim-dots i:nth-child(2) { animation-delay: .2s; }
.bakim-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes bakim-pulse {
  0%, 100% { opacity: .25; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}
.bakim-since {
  margin-top: 16px; display: flex; align-items: center; justify-content: center;
  gap: 6px; font-size: 11px; color: var(--muted-foreground);
}
@media (max-width: 640px) {
  .bakim-card { padding: 28px 20px; }
  .bakim-bg img { opacity: .14; }
  .profile-social { margin-top: 12px; }
  .social-btn { padding: 6px 11px; font-size: 12px; }
  .notif-item { padding: 10px; }
}

/* ==========================================================================
   404 SAYFASI (v34) — tema uyumlu, arama kutulu, katalog önerili.
   ========================================================================== */
.nf404 {
  position: relative; display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 72px 16px 96px; text-align: center; overflow: hidden;
}
.nf-glow {
  position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 460px; height: 460px; border-radius: 999px; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 16%, transparent) 0%, transparent 65%);
}
.nf-code {
  position: relative; margin: 0; font-size: clamp(76px, 16vw, 128px); line-height: 1;
  font-weight: 800; letter-spacing: 2px; color: var(--foreground);
  font-variant-numeric: tabular-nums;
}
.nf-code span {
  color: var(--brand);
  text-shadow: 0 0 34px color-mix(in srgb, var(--brand) 55%, transparent);
}
.nf-title { position: relative; font-size: 19px; font-weight: 600; color: var(--foreground); }
.nf-desc { position: relative; max-width: 30rem; font-size: 13px; line-height: 1.7; color: var(--muted-foreground); }
.nf-search {
  position: relative; display: flex; align-items: center; gap: 8px;
  width: 100%; max-width: 380px; margin-top: 10px;
  border: 1px solid var(--border); border-radius: 4px; background: var(--card);
  padding: 6px 8px 6px 12px; transition: border-color .15s ease;
}
.nf-search:focus-within { border-color: var(--brand); }
.nf-search-ic { display: flex; color: var(--muted-foreground); }
.nf-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--foreground);
  font-size: 13px; outline: none;
}
.nf-search input::placeholder { color: var(--muted-foreground); }
.nf-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.nf-suggest { position: relative; width: 100%; margin-top: 34px; }
.nf-suggest-t {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .3px; color: var(--muted-foreground);
  margin-bottom: 14px; text-transform: uppercase;
}
.nf-suggest-t svg { color: var(--brand); }
@media (max-width: 640px) {
  .nf404 { padding: 48px 12px 72px; }
  .nf-glow { width: 320px; height: 320px; top: -90px; }
}

/* =============================================================
 |  Özel yorum emojileri (em-*.png) — :kod: kısa kodları
 * ============================================================= */
.cemj { display: inline-block; width: 22px; height: 22px; vertical-align: -6px; margin: 0 1px; }
.reply .cemj { width: 19px; height: 19px; vertical-align: -5px; }
.cemj-wrap { position: relative; display: flex; align-items: center; margin-top: 6px; }
.cemj-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; padding: 0; border-radius: 6px;
  border: 1px solid transparent; background: transparent; color: var(--muted-foreground);
  cursor: pointer; transition: color .14s ease, border-color .14s ease, background .14s ease;
}
.cemj-toggle:hover, .cemj-toggle[aria-expanded="true"] {
  color: var(--brand); border-color: var(--border); background: var(--secondary);
}
.cemj-picker {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 30;
  display: grid; grid-template-columns: repeat(4, 34px); gap: 4px;
  padding: 8px; border-radius: 10px; border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(10px); box-shadow: 0 14px 34px rgba(0,0,0,.4);
  animation: cemj-pop .16s ease;
}
@keyframes cemj-pop { from { opacity: 0; transform: translateY(4px) scale(.96); } to { opacity: 1; transform: none; } }
.cemj-pick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; padding: 0; border-radius: 8px;
  border: 1px solid transparent; background: transparent;
  cursor: pointer; transition: transform .14s ease, border-color .14s ease, background .14s ease;
}
.cemj-pick:hover {
  transform: translateY(-2px) scale(1.12);
  border-color: var(--border); background: var(--secondary);
}
.cemj-pick img { width: 26px; height: 26px; pointer-events: none; }

/* =============================================================
 |  Avatar çerçeveleri (frame-*.png) — hediyeli özel çerçeveler
 * ============================================================= */
.avatar.framed {
  position: relative; overflow: visible; border-color: transparent; border-radius: 50%;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 25%, transparent);
}
.avatar.framed > img:first-child { border-radius: 50%; }
.avatar .av-frame,
.profile-portrait .av-frame,
.frame-demo .av-frame,
.follow-av .av-frame {
  position: absolute; inset: -20%; width: 140%; height: 140%;
  max-width: none; max-height: none; /* global img max-width:100% halkayı büzer */
  pointer-events: none; z-index: 2;
}
.profile-portrait.framed {
  overflow: visible; border-radius: 50%; border-color: transparent;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.4), 0 0 0 1px color-mix(in srgb, var(--brand) 25%, transparent);
}
.profile-portrait.framed > img { border-radius: 50%; }
.profile-portrait.initials.framed { display: flex; align-items: center; justify-content: center; }
.profile-portrait .av-frame { z-index: 3; }

/* profil editöründeki çerçeve seçici */
.frame-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 10px; margin-top: 10px;
}
.frame-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center; padding: 12px 10px 10px;
  border: 1px solid var(--border); border-radius: 4px; background: rgba(0,0,0,0.18);
  transition: border-color .15s ease, transform .15s ease;
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.frame-card:hover { transform: translateY(-2px); }
.frame-card.active { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.frame-card.locked { opacity: .85; }
.frame-card.locked .frame-demo > img:first-child,
.frame-card.locked .frame-demo .av-frame { filter: blur(5px) brightness(.55) saturate(.65); }
.frame-card .t { margin: 4px 0 0; font-size: 12px; font-weight: 600; color: var(--foreground); }
.frame-card .h { margin: 0; font-size: 10px; color: var(--muted-foreground); }
.frame-card .btn { margin-top: 6px; }
.frame-card .btn:disabled { opacity: .55; cursor: not-allowed; }
.frame-lock {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4;
  display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 999px;
  font-size: 9px; font-weight: 600; letter-spacing: .02em; color: var(--foreground);
  background: color-mix(in srgb, var(--card) 78%, transparent); border: 1px solid var(--border);
  pointer-events: none; white-space: nowrap;
}
.hold-hint { margin-top: 2px; font-size: 9px; color: var(--muted-foreground); opacity: .8; }
.frame-detail {
  position: absolute; inset: -1px; z-index: 6; display: flex; flex-direction: column; justify-content: center;
  gap: 4px; padding: 10px 12px; text-align: left; border-radius: inherit;
  background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--border));
  opacity: 0; pointer-events: none; transition: opacity .18s ease;
}
.frame-card.show-detail { transform: none; }
.frame-card.show-detail .frame-detail { opacity: 1; }
.frame-detail .fd-t { margin: 0; font-size: 12px; font-weight: 700; color: var(--brand); }
.frame-detail .fd-d { margin: 0; font-size: 10.5px; line-height: 1.55; color: var(--foreground); }

.frame-demo {
  position: relative; display: block; width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 3px; overflow: hidden; background: var(--secondary);
  border: 1px solid var(--border);
}
.frame-demo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.frame-demo.framed { overflow: visible; border-radius: 50%; border-color: transparent; }
.frame-demo.framed > img:first-child { border-radius: 50%; }

/* dinamik sayfalardaki kompakt 404 */
.nf404.nf-soft { padding: 56px 16px 80px; }
@media (max-width: 640px) { .nf404.nf-soft { padding: 40px 12px 56px; } }

/* takipçi/takip listelerinde düz avatar (çerçeve/efekt gösterilmez) */
.follow-list .follow-av { position: relative; width: 38px; height: 38px; flex-shrink: 0; display: block; }

/* =============================================================
 |  Çerçeveye özel profil efektleri — saf CSS parçacıklar (görsel yok)
 |  + her çerçevenin profile kendi teması (pf-* sınıfları)
 * ============================================================= */
.profile-fx {
  position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none;
  isolation: isolate;
}
.profile-fx i {
  position: absolute; left: var(--x, 50%); top: -8%;
  width: var(--s, 10px); height: var(--s, 10px);
  opacity: 0; pointer-events: none; will-change: top, transform, opacity;
}
/* — Sakura: sallana sallana düşen taç yapraklar — */
.pfx-sakura i {
  height: calc(var(--s, 10px) * .78);
  background: linear-gradient(135deg, #ffe1ec 8%, #f9a8c9 58%, #ef86b1 100%);
  border-radius: 100% 4% 100% 4%;
  box-shadow: 0 0 6px rgba(247, 166, 198, .5);
  animation: pfx-fall var(--d, 8s) linear var(--dl, 0s) infinite;
}
/* — Altın: yükselen ışıltılar (her üçüncüde dört uçlu yıldız) — */
.pfx-gold i {
  background: radial-gradient(circle at 35% 35%, #fff8dc 0%, #f5c04e 55%, rgba(245, 192, 78, 0) 74%);
  border-radius: 50%;
  box-shadow: 0 0 9px 2px rgba(245, 192, 78, .5);
  animation: pfx-rise var(--d, 7s) ease-in-out var(--dl, 0s) infinite;
}
.pfx-gold i:nth-child(3n) {
  border-radius: 0; box-shadow: none; background: #f8d271;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
/* — Galaksi: yerinde parıldayan yıldızlar + süzülen yıldız tozu — */
.pfx-galaxy i {
  top: var(--y, 50%);
  background: radial-gradient(circle at 42% 42%, #ffffff 0%, #c3d0ff 52%, rgba(139, 156, 245, 0) 76%);
  border-radius: 50%;
  box-shadow: 0 0 7px 1px rgba(178, 194, 255, .75);
  animation: pfx-twinkle var(--d, 5s) ease-in-out var(--dl, 0s) infinite;
}
.pfx-galaxy i:nth-child(4n) { animation: pfx-drift var(--d, 9s) linear var(--dl, 0s) infinite; }
/* — Neon: çakar siber kıvılcımlar — */
.pfx-neon i {
  background: #7df4ff;
  border-radius: 2px;
  box-shadow: 0 0 10px 3px rgba(78, 242, 255, .6), 0 0 22px 6px rgba(78, 242, 255, .25);
  animation: pfx-zap var(--d, 3.6s) linear var(--dl, 0s) infinite;
}
@keyframes pfx-fall {
  0% { top: -8%; transform: translateX(0) rotate(0deg); opacity: 0; }
  6% { opacity: var(--o, .85); }
  28% { transform: translateX(calc(var(--dx, 40px) * .7)) rotate(120deg); }
  55% { transform: translateX(calc(var(--dx, 40px) * -.5)) rotate(235deg); }
  88% { opacity: calc(var(--o, .85) * .7); }
  100% { top: 106%; transform: translateX(calc(var(--dx, 40px) * .8)) rotate(350deg); opacity: 0; }
}
@keyframes pfx-rise {
  0% { top: 106%; transform: translateX(0) scale(.6); opacity: 0; }
  12% { opacity: var(--o, .9); }
  40% { transform: translateX(calc(var(--dx, 30px) * .5)) scale(1); opacity: calc(var(--o, .9) * .55); }
  70% { transform: translateX(calc(var(--dx, 30px) * -.4)) scale(.85); opacity: var(--o, .9); }
  100% { top: -10%; transform: translateX(var(--dx, 30px)) scale(.5); opacity: 0; }
}
@keyframes pfx-twinkle {
  0%, 100% { transform: scale(.55); opacity: calc(var(--o, .8) * .25); }
  45% { transform: scale(1.15); opacity: var(--o, .8); }
  60% { transform: scale(.8); opacity: calc(var(--o, .8) * .5); }
}
@keyframes pfx-drift {
  0% { top: 104%; transform: translateX(0); opacity: 0; }
  12% { opacity: var(--o, .8); }
  55% { transform: translateX(calc(var(--dx, 60px) * .6)); opacity: calc(var(--o, .8) * .7); }
  100% { top: -8%; transform: translateX(calc(var(--dx, 60px) * -.4)); opacity: 0; }
}
@keyframes pfx-zap {
  0% { top: 106%; transform: translateX(0) rotate(45deg) scale(.5); opacity: 0; }
  10% { opacity: 1; }
  24% { opacity: .25; }
  38% { transform: translateX(calc(var(--dx, 50px) * .4)) rotate(160deg) scale(1.1); opacity: 1; }
  52% { opacity: .3; }
  70% { transform: translateX(calc(var(--dx, 50px) * -.3)) rotate(250deg) scale(.9); opacity: .95; }
  100% { top: -10%; transform: translateX(var(--dx, 50px)) rotate(360deg) scale(.4); opacity: 0; }
}

/* — Çerçeveye özel profil teması: hero + SAYFA ZEMİNİ boyanır —
   Kullanıcı isteği: arka plan da çerçeveye GÖRE belirgin değişmeli;
   ancak Aktiflik/istatistik/panel KARTLARI default görünümünde kalır —
   zemin rengi yalnızca kartların ARKASINDA görünür. */
.profile-page.pf-sakura { --pf-tint: #f7a6c6; }
.profile-page.pf-gold { --pf-tint: #f5c04e; }
.profile-page.pf-galaxy { --pf-tint: #8b9cf5; }
.profile-page.pf-neon { --pf-tint: #4ef2ff; }
.profile-page[class*="pf-"] {
  --pf-line: color-mix(in srgb, var(--pf-tint) 50%, transparent);
  --pf-soft: color-mix(in srgb, var(--pf-tint) 16%, transparent);
  --pf-ink: color-mix(in srgb, var(--pf-tint) 72%, var(--foreground));
  /* profil sayfası zemini: çerçeve renginde belirgin gradyan + ışıma */
  min-height: calc(100vh - 56px);
  background:
    radial-gradient(85% 480px at 18% 560px, color-mix(in srgb, var(--pf-tint) 20%, transparent), transparent 70%),
    radial-gradient(85% 520px at 85% 1150px, color-mix(in srgb, var(--pf-tint) 15%, transparent), transparent 72%),
    linear-gradient(180deg,
      var(--background) 0%,
      color-mix(in srgb, var(--pf-tint) 9%, var(--background)) 30%,
      color-mix(in srgb, var(--pf-tint) 14%, var(--background)) 100%);
}
/* JS pf-page-* sınıfını body'e de aynalar -> .site zemini tam genişlikte boyanır */
body[class*="pf-page-"] .site {
  background:
    radial-gradient(70% 380px at 50% 46%, color-mix(in srgb, var(--pf-tint, #3db4f2) 15%, transparent), transparent 74%),
    linear-gradient(180deg, var(--background) 0%, color-mix(in srgb, var(--pf-tint, #3db4f2) 8%, var(--background)) 45%, color-mix(in srgb, var(--pf-tint, #3db4f2) 13%, var(--background)) 100%);
}
body.pf-page-sakura { --pf-tint: #f7a6c6; }
body.pf-page-gold { --pf-tint: #f5c04e; }
body.pf-page-galaxy { --pf-tint: #8b9cf5; }
body.pf-page-neon { --pf-tint: #4ef2ff; }
/* hero zemini: banner'dan sosyal satıra kadar belirgin çerçeve rengi, aşağıda biter */
.profile-page[class*="pf-"] .profile-hero {
  background:
    radial-gradient(120% 340px at 50% -40px, color-mix(in srgb, var(--pf-tint) 38%, transparent), transparent 78%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--pf-tint) 30%, var(--background)) 0%,
      color-mix(in srgb, var(--pf-tint) 16%, var(--background)) 52%,
      var(--background) 100%);
}
.profile-page[class*="pf-"] .profile-hero { border-bottom-color: color-mix(in srgb, var(--pf-tint) 34%, var(--border)); }
.profile-page[class*="pf-"] .profile-banner .overlay {
  background:
    radial-gradient(120% 95% at 50% 110%, color-mix(in srgb, var(--pf-tint) 55%, transparent) 0%, transparent 64%),
    linear-gradient(to top,
      color-mix(in srgb, var(--pf-tint) 30%, var(--background)),
      color-mix(in srgb, var(--pf-tint) 26%, color-mix(in srgb, var(--background) 70%, transparent)) 52%,
      color-mix(in srgb, var(--pf-tint) 34%, transparent));
}
.profile-page[class*="pf-"] .profile-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 20%; height: 70%; z-index: 0;
  background: radial-gradient(48% 100% at 50% 100%, color-mix(in srgb, var(--pf-tint) 30%, transparent), transparent 72%);
  filter: blur(10px); pointer-events: none;
}
.profile-page[class*="pf-"] .profile-portrait.framed {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4),
    0 0 0 1px color-mix(in srgb, var(--pf-tint) 60%, transparent),
    0 0 52px color-mix(in srgb, var(--pf-tint) 52%, transparent);
}
.profile-page[class*="pf-"] .profile-name {
  text-shadow: 0 0 30px color-mix(in srgb, var(--pf-tint) 46%, transparent);
}
/* — hero içindeki butonlar ve rozetler çerçeve rengine boyanır — */
.profile-page[class*="pf-"] .btn-outline {
  border-color: var(--pf-line);
  color: var(--pf-ink);
  background: color-mix(in srgb, var(--pf-tint) 10%, var(--card));
}
.profile-page[class*="pf-"] .btn-outline:hover {
  border-color: var(--pf-tint); background: var(--pf-soft); color: var(--pf-tint);
}
.profile-page[class*="pf-"] .social-btn { border-color: var(--pf-line); }
.profile-page[class*="pf-"] .social-btn:hover { border-color: var(--pf-tint); color: var(--pf-tint); }
.profile-page[class*="pf-"] .social-btn.like-btn:hover,
.profile-page[class*="pf-"] .social-btn.like-btn.active {
  color: var(--pf-tint);
  border-color: var(--pf-tint);
  background: var(--pf-soft);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-tint) 12%, transparent);
}
.profile-page[class*="pf-"] .social-btn.follow-btn:hover,
.profile-page[class*="pf-"] .social-btn.follow-btn.active {
  color: var(--pf-tint);
  border-color: var(--pf-tint);
  background: var(--pf-soft);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-tint) 12%, transparent);
}
.profile-page[class*="pf-"] .social-chip {
  border-color: var(--pf-line);
  background: color-mix(in srgb, var(--pf-tint) 10%, transparent);
  color: var(--pf-ink);
}
/* — v20: dinamik (tablosal) çerçeveler için genel parçacık seti —
   pfx-dyn: vurgu rengini --pf-tint'ten alır (profil sayfası satır içi verir) — */
.pfx-dyn i {
  top: var(--y, 50%);
  background: radial-gradient(circle at 40% 40%, #ffffff 0%, color-mix(in srgb, var(--pf-tint, #8b9cf5) 80%, #ffffff) 55%, color-mix(in srgb, var(--pf-tint, #8b9cf5) 0%, transparent) 78%);
  border-radius: 50%;
  box-shadow: 0 0 7px 1px color-mix(in srgb, var(--pf-tint, #8b9cf5) 70%, transparent);
  animation: pfx-twinkle var(--d, 5s) ease-in-out var(--dl, 0s) infinite;
}
.pfx-dyn i:nth-child(4n) { animation: pfx-drift var(--d, 9s) linear var(--dl, 0s) infinite; }
.pfx-dyn i:nth-child(5n) { border-radius: 2px; }

/* — v20: profil efekt videosu —
   Admin yükler; profil açılınca banner üzerinde, içerik altında belirir.
   Gizleyen (düşük opaklık) nefes animasyonu: düşükten yükselir, yavaşça azalır, döngü. */
.profile-vfx {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; user-select: none;
  opacity: .08;
  animation: pfxBreath 7s ease-in-out infinite;
  will-change: opacity;
}
@keyframes pfxBreath {
  0%   { opacity: .06; }
  45%  { opacity: .30; }
  100% { opacity: .06; }
}
/* baloncuğun kenar rengi profil sayfasında çerçeve temasını alır (app.js uygular) */
@media (prefers-reduced-motion: reduce) {
  .profile-fx i { animation: none !important; display: none; }
  .profile-vfx { animation: none !important; opacity: .1; }
}
.follow-list .follow-av img,
.follow-list .follow-av .init { width: 100%; height: 100%; border-radius: 50%; }

/* ortak arkadaşlar: "Daha fazla gör" satırı */
.mutual-more-wrap { display: flex; justify-content: center; border-top: 1px solid var(--border); padding: 10px 14px; }

/* =============================================================
 |  v20 — PROFİL STÜDYOSU (admin) — çerçeve kütüphanesi kartları
 * ============================================================= */
.pframe-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px;
}
.pframe-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  border: 1px solid var(--border); border-radius: 5px; padding: 10px;
  background: color-mix(in srgb, var(--card) 82%, transparent);
  min-width: 0;
}
.pframe-card.passive { opacity: .72; }
.pframe-demo {
  position: relative; width: 64px; height: 64px; margin-bottom: 4px;
  border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, #4a5568, #1a202c);
}
.pframe-demo i {
  position: absolute; inset: 12px; border-radius: 50%;
  background: linear-gradient(145deg, #64748b, #2d3748);
}
.pframe-demo .av-frame { z-index: 2; }
.pframe-name { font-size: 12px; font-weight: 500; color: var(--foreground); }
.pframe-hint { font-size: 10.5px; color: var(--muted-foreground); }
.pframe-desc {
  font-size: 10px; line-height: 1.5; color: var(--muted-foreground);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pframe-tags { display: flex; gap: 4px; align-items: center; margin-top: 2px; }
.pframe-acts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.pframe-acts .btn { padding: 3px 8px; font-size: 10.5px; }

/* =============================================================
 |  KIŞ MODU — admin panelden açılır (settings.winterOn)
 |  Kar yağışı (şeffaf PNG'ler) + buz tutmuş yüzeyler + kaplara kar birikintisi
 * ============================================================= */
.winter-snow {
  position: fixed; inset: 0; z-index: 45; overflow: hidden; pointer-events: none;
}
.winter-snow i {
  position: absolute; top: -6vh; left: var(--x, 50%);
  width: var(--s, 14px); height: var(--s, 14px);
  background-size: contain; background-repeat: no-repeat; background-position: center;
  opacity: var(--o, .8);
  filter: drop-shadow(0 0 4px rgba(214, 235, 255, 0.55));
  will-change: transform, top;
  animation: wsnow-fall var(--d, 11s) linear var(--dl, 0s) infinite;
}
.winter-snow .sf-1 { background-image: url("/snowflake-1.png"); }
.winter-snow .sf-2 { background-image: url("/snowflake-2.png"); }
.winter-snow .sf-3 { background-image: url("/snowflake-3.png"); animation-name: wsnow-sway; }
/* — birikintiye konan taneler: düşer, birikintinin üstüne takılır,
   bir süre bekler, sonra ERİYİP yok olur (döngü başa sarar) — */
.winter-snow .sf-land {
  animation-name: wsnow-land;
  animation-duration: var(--ld, 16s);
}
@keyframes wsnow-fall {
  0% { transform: translate(0, -4vh) rotate(0deg); }
  24% { transform: translate(calc(var(--dx, 46px) * .6), 22vh) rotate(96deg); }
  52% { transform: translate(calc(var(--dx, 46px) * -.45), 50vh) rotate(188deg); }
  78% { transform: translate(calc(var(--dx, 46px) * .5), 78vh) rotate(282deg); }
  100% { transform: translate(calc(var(--dx, 46px) * -.25), 108vh) rotate(378deg); }
}
@keyframes wsnow-sway {
  0% { transform: translate(0, -4vh) rotate(0deg) scale(var(--sc, 1)); }
  22% { transform: translate(calc(var(--dx, 60px) * .9), 20vh) rotate(-110deg) scale(var(--sc, 1)); }
  50% { transform: translate(calc(var(--dx, 60px) * -.8), 49vh) rotate(-220deg) scale(var(--sc, 1)); }
  76% { transform: translate(calc(var(--dx, 60px) * .75), 77vh) rotate(-320deg) scale(var(--sc, 1)); }
  100% { transform: translate(calc(var(--dx, 60px) * -.4), 108vh) rotate(-430deg) scale(var(--sc, 1)); }
}
@keyframes wsnow-land {
  0%  { transform: translate(0, -9vh) rotate(0deg); opacity: 0; }
  4%  { opacity: var(--o, .8); }
  24% { transform: translate(calc(var(--dx, 24px) * .55), calc(var(--landY, 110px) - 22px)) rotate(88deg); opacity: var(--o, .8); }
  30% { transform: translate(calc(var(--dx, 24px) * .6), var(--landY, 110px)) rotate(104deg) scale(.94); }
  52% { transform: translate(calc(var(--dx, 24px) * .6), calc(var(--landY, 110px) + 1px)) rotate(116deg) scale(.78); opacity: var(--o, .8); }
  70% { transform: translate(calc(var(--dx, 24px) * .6), calc(var(--landY, 110px) + 2px)) rotate(124deg) scale(.48); opacity: calc(var(--o, .8) * .55); }
  84% { transform: translate(calc(var(--dx, 24px) * .6), calc(var(--landY, 110px) + 3px)) rotate(130deg) scale(.26); opacity: calc(var(--o, .8) * .22); }
  92%, 100% { transform: translate(calc(var(--dx, 24px) * .6), calc(var(--landY, 110px) + 4px)) rotate(136deg) scale(.1); opacity: 0; }
}
/* mobilde kar tanesi sayısını azalt (performans) */
@media (max-width: 640px) { .winter-snow i:nth-child(2n) { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .winter-snow i { animation: none !important; display: none; }
}
/* — buz tutmuş yüzeyler — */
body.winter .site-header {
  border-bottom: 1px solid color-mix(in srgb, #a8d4f5 55%, var(--border));
  box-shadow: 0 10px 26px -14px rgba(168, 212, 245, 0.55), inset 0 1px 0 rgba(226, 244, 255, 0.16);
}
body.winter .panel {
  border-color: color-mix(in srgb, #a8d4f5 40%, var(--border));
  box-shadow: inset 0 1px 0 rgba(226, 244, 255, 0.12), 0 14px 30px -22px rgba(168, 212, 245, 0.5);
  position: relative;
}
body.winter .panel > .panel-header {
  border-bottom-color: color-mix(in srgb, #a8d4f5 26%, var(--border));
}
body.winter .site-sidebar {
  border-right-color: color-mix(in srgb, #a8d4f5 36%, var(--border));
}
/* — kaplara biriken kar (tekrar eden şeffaf kar şeridi) —
   Üst/alt bar (header + footer + mobil menü) kar üst kenarda kalır;
   DİĞER kaplarda (panel, stat-strip) kar KAPNİN ALTINDA birikir —
   .panel overflow:hidden olduğundan şerit iç alt kenara oturur.
   header ve mobil menü taşma kırpması olmadığından kenardan taşabilir. */
body.winter .stat-strip { position: relative; }
body.winter .panel::before,
body.winter .stat-strip::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 13px; z-index: 3;
  background: url("/snow-cap.png") repeat-x left bottom / auto 13px;
  pointer-events: none;
}
/* — birikinti çeşitliliği: tüm kaplar aynı şerit gibi durmasın —
   üç dikişsiz varyant + yatay çevirme + kaydırma + kalınlık farkı
   (nth-of-type deterministik "rastgele" dağılım verir, JS gerekmez) */
body.winter .panel:nth-of-type(2n)::before {
  background-image: url("/snow-cap-2.png");
  background-position-x: 141px;
}
body.winter .panel:nth-of-type(3n)::before {
  height: 15px;
  background-image: url("/snow-cap-3.png");
  background-size: auto 15px;
  background-position-x: 279px;
}
body.winter .panel:nth-of-type(4n)::before { transform: scaleX(-1); }
body.winter .panel:nth-of-type(5n)::before {
  height: 11px;
  background-size: auto 11px;
  background-position-x: 83px;
}
body.winter .panel:nth-of-type(7n)::before {
  background-image: url("/snow-cap-2.png");
  transform: scaleX(-1);
  background-position-x: 371px;
}
/* footer: alt bar — kar üst kenarda birikir (header ile aynı stil) */
body.winter .site-footer { position: relative; }
body.winter .site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 18px; z-index: 31;
  background: url("/snow-cap.png") repeat-x left bottom / auto 18px;
  opacity: .95; pointer-events: none;
}
body.winter .panel > .panel-header { position: relative; }
body.winter .site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 18px; z-index: 31;
  background: url("/snow-cap.png") repeat-x left bottom / auto 18px;
  opacity: .95; pointer-events: none;
}
body.winter .mobile-nav::before {
  content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 16px; z-index: 3;
  background: url("/snow-cap.png") repeat-x left bottom / auto 16px;
  opacity: .92; pointer-events: none;
}
/* açık (frost) temada buz vurgusu daha görünür olsun */
html[data-theme="frost"] body.winter .panel {
  border-color: color-mix(in srgb, #7fb9e8 55%, var(--border));
  box-shadow: 0 14px 30px -20px rgba(90, 140, 190, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* =============================================================
 |  v40 — şikayet sistemi, ban itirazı şeridi, profil müziği,
 |  admin kar animasyonu ayarları
 * ============================================================= */

/* — profildeki göz batmayan şikayet butonu — */
.report-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 3px;
  color: var(--muted-foreground); opacity: .55;
  background: transparent; border: 1px solid transparent; cursor: pointer;
  transition: opacity .15s, color .15s, border-color .15s, background .15s;
}
.report-btn:hover, .report-btn:focus-visible { opacity: 1; color: var(--destructive); border-color: color-mix(in srgb, var(--destructive) 35%, transparent); background: color-mix(in srgb, var(--destructive) 8%, transparent); }

/* — banlı üye şeridi: sebep + itiraz butonu (tüm sayfalarda üstte) — */
.ban-banner {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 16px 16px 0; padding: 12px 14px; border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--destructive) 40%, var(--border));
  background: color-mix(in srgb, var(--destructive) 9%, var(--card));
}
.ban-ic {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 3px;
  background: color-mix(in srgb, var(--destructive) 15%, transparent); color: var(--destructive);
}
.ban-txt { flex: 1; min-width: 180px; font-size: 12.5px; line-height: 1.55; color: var(--foreground); display: flex; flex-direction: column; gap: 2px; }
.ban-txt b { font-weight: 600; }
.ban-reason, .ban-appeal-note { font-size: 11.5px; color: var(--muted-foreground); }
.ban-appeal-note { color: var(--brand-live); }

/* — profil müziği: Flofys çalar paneli (tam şarkı + sözler) — */
.music-panel {
  display: flex; align-items: center; gap: 12px; padding: 2px 2px 7px;
  flex-wrap: wrap; position: relative;
}
/* kapak = çalar düğmesi: kapak üstünde temayla uyumlu oynat/durdur katmanı */
.music-art-btn {
  position: relative; display: block; flex-shrink: 0;
  width: 48px; height: 48px; padding: 0; margin: 0;
  border: 0; background: none; cursor: pointer; border-radius: 5px;
  transition: transform .15s;
}
.music-art-btn:hover { transform: scale(1.03); }
.music-art-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.music-art {
  display: block; width: 48px; height: 48px; border-radius: 5px; object-fit: cover;
  border: 1px solid var(--border); background: var(--accent);
}
.music-art.noart { display: flex; align-items: center; justify-content: center; color: var(--muted-foreground); }
.music-art-ov {
  position: absolute; inset: 0; border-radius: 5px; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.52));
  opacity: 0; transition: opacity .15s;
}
.music-art-btn:hover .music-art-ov,
.music-art-btn:focus-visible .music-art-ov { opacity: 1; }
.music-art-ov .ic { display: flex; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.music-art-ov .ic-pause { display: none; }
.music-art-ov .ic-load { display: none; }
.music-panel.playing .music-art-ov { opacity: 1; }
.music-panel.playing .music-art-ov .ic-play { display: none; }
.music-panel.playing .music-art-ov .ic-pause { display: flex; }
.music-panel.playing .music-art-btn {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 70%, transparent);
}
.music-panel.loading .music-art-ov { opacity: 1; }
.music-panel.loading .music-art-ov .ic-play,
.music-panel.loading .music-art-ov .ic-pause { display: none; }
.music-panel.loading .music-art-ov .ic-load { display: flex; }
.music-art-ov .spinner { width: 15px; height: 15px; border-width: 2px; color: #fff; }
.music-info { flex: 1; min-width: 0; }
.music-info .t { font-size: 13px; font-weight: 600; color: var(--foreground); }
.music-info .s { font-size: 11px; color: var(--muted-foreground); margin-top: 1px; }
.music-hint { font-style: normal; font-size: 10px; font-weight: 400; color: var(--muted-foreground); }
.music-tag {
  display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
  font-size: 10px; color: var(--muted-foreground);
  border: 1px solid var(--border); border-radius: 999px; padding: 3px 8px;
  background: rgba(0, 0, 0, 0.18);
}
/* çalarken ekolayzır animasyonu */
.eq { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 16px; flex-shrink: 0; opacity: .35; }
.eq i { width: 3px; height: 4px; border-radius: 1px; background: var(--brand); }
.music-panel.playing .eq { opacity: 1; }
.music-panel.playing .eq i { animation: eq-bounce .9s ease-in-out infinite; }
.music-panel.playing .eq i:nth-child(2) { animation-delay: .22s; }
.music-panel.playing .eq i:nth-child(3) { animation-delay: .44s; }
@keyframes eq-bounce {
  0%, 100% { height: 4px; }
  50% { height: 15px; }
}
/* TP — Tvnah Puanı (madeni para görselli istatistik) */
.tp-val { display: flex; align-items: center; gap: 3px; }
.tp-coin {
  width: 17px; height: 17px; flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4));
}
@media (max-width: 640px) { .music-tag { display: none; } }

/* çalma ilerleme şeridi (panel alt kenarı) */
.music-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  border-radius: 2px; overflow: hidden; pointer-events: none;
  background: color-mix(in srgb, var(--border) 65%, transparent);
}
.music-progress i {
  display: block; height: 100%; width: 0; background: var(--brand);
  transition: width .35s linear;
}
/* sözler düğmesi + LRCLIB kutusu */
.music-lyr-btn {
  display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; cursor: pointer; font-family: inherit;
  font-size: 10px; color: var(--muted-foreground); border: 1px solid var(--border); border-radius: 999px;
  padding: 3px 8px; background: rgba(0, 0, 0, 0.18);
  transition: color .15s, border-color .15s, background .15s;
}
.music-lyr-btn:hover, .music-lyr-btn.on {
  color: var(--brand); border-color: color-mix(in srgb, var(--brand) 55%, transparent);
  background: color-mix(in srgb, var(--brand) 9%, transparent);
}
.music-lyrics {
  flex-basis: 100%; order: 9; margin: 8px 0 6px; padding: 10px 12px;
  max-height: 190px; overflow-y: auto; border-radius: 3px;
  border: 1px solid var(--border); background: rgba(0, 0, 0, 0.18);
}
html[data-theme="frost"] .music-lyrics { background: rgba(0, 0, 0, 0.02); }
.music-lyrics .ln { font-size: 11.5px; line-height: 1.8; color: var(--muted-foreground); overflow-wrap: anywhere; transition: color .2s; }
.music-lyrics .ln.cur { color: var(--brand); font-weight: 600; }
.music-lyrics .ln-empty { font-size: 11px; color: var(--muted-foreground); }

/* arama sonuçlarında süre etiketi */
.pick-item .pick-dur { flex-shrink: 0; font-size: 10px; color: var(--muted-foreground); }

/* — profil favori animeleri: mini grid (mobilde 4'lü yan yana) — */
.fav-mini { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 8px; row-gap: 12px; }
@media (min-width: 640px) { .fav-mini { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 768px) { .fav-mini { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .fav-mini { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .fav-mini h3 { font-size: 10px; margin-top: 3px; }
  .fav-mini .meta { display: none; }
}

/* — hazır anime şarkı çipleri (profil editörü) — */
.preset-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.preset-chip {
  font-family: inherit; font-size: 10.5px; cursor: pointer;
  color: var(--muted-foreground); border: 1px solid var(--border); border-radius: 999px;
  background: rgba(0, 0, 0, 0.18); padding: 4px 10px;
  transition: color .15s, border-color .15s, background .15s;
}
.preset-chip:hover { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 55%, transparent); background: color-mix(in srgb, var(--brand) 9%, transparent); }

/* — müzik kilitli bilgi kutusu — */
.music-locked .stat-label { opacity: .8; }

/* — giris sayfası: ban itiraz kutusu — */
.ban-appeal-box {
  margin-top: 12px; border: 1px solid var(--border); border-radius: 3px;
  background: rgba(0, 0, 0, 0.18); font-size: 12px;
}
.ban-appeal-box summary {
  display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
  padding: 10px 12px; color: var(--muted-foreground); font-weight: 500; user-select: none;
}
.ban-appeal-box summary::-webkit-details-marker { display: none; }
.ban-appeal-box summary:hover { color: var(--foreground); }
.ban-appeal-box[open] summary { border-bottom: 1px solid var(--border); color: var(--foreground); }
.ban-appeal-form { display: grid; gap: 10px; padding: 12px; }
.ban-appeal-form label { display: grid; gap: 5px; font-size: 11px; color: var(--muted-foreground); }
.ban-appeal-form .btn { justify-self: start; }

/* — admin: kar animasyonu ayarları (hız + yoğunluk kaydırıcıları) — */
.snow-settings .snow-field { display: grid; gap: 6px; margin-bottom: 12px; }
.snow-settings .snow-val { font-size: 11px; color: var(--brand); font-variant-numeric: tabular-nums; }
.snow-settings input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 22%, var(--accent)); outline: none; cursor: pointer;
}
.snow-settings input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 999px;
  background: var(--brand); border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--brand);
}
.snow-settings input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 999px; border: 2px solid var(--card);
  background: var(--brand); box-shadow: 0 0 0 1px var(--brand);
}
.snow-settings input[type="range"]:disabled { opacity: .45; cursor: not-allowed; }
.snow-settings .snow-scale { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--muted-foreground); }
.snow-settings .snow-scale i { font-style: normal; }
.snow-settings .snow-val { margin-left: 6px; }

/* --------------------------------------------------------------- minimalist izle görünümü */
.watch-page { padding-top: 18px !important; }
.watch-page .breadcrumb { display: none; }
.watch-page .watch-toolbar {
  margin: 0 0 20px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.watch-page .watch-crumb { font-size: 12px; }
.watch-page .watch-crumb strong { max-width: 220px; }
.watch-current-meta { color:var(--foreground); font-size:12px; font-weight:600; white-space:nowrap; }
.watch-page .watch-current-meta { padding:5px 8px; border:1px solid var(--border); border-radius:3px; background:var(--card); }
.watch-page .watch-toolbar-divider { opacity: .45; }
.watch-page .watch-select-label { font-size: 9px; letter-spacing: .08em; }
.watch-page .watch-toolbar .watch-select {
  min-width: 104px;
  height: 28px;
  border-radius: 3px;
  background: var(--card);
  border-color: var(--border);
  box-shadow: none;
}
.watch-page .watch-grid { gap: 20px; }
@media (min-width: 1024px) { .watch-page .watch-grid { grid-template-columns: minmax(0, 1fr) 236px; } }
.watch-page .watch-main { gap: 12px; }
.watch-page .watch-heading { gap: 3px; padding: 0 1px; }
.watch-page .watch-title { font-size: 16px; line-height: 1.3; }
.watch-page .watch-subtitle { font-size: 11px; }
.watch-page .player,
.watch-page .vidsrc-player { border-radius: 5px; box-shadow: none; }
.watch-page .watch-meta {
  min-height: 42px;
  padding: 8px 1px;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}
.watch-page .watch-meta .resume-info { font-size: 11px; }
.watch-page .watch-aside { gap: 12px; }
.watch-page .watch-aside .panel { border-radius: 4px; box-shadow: none; }
.watch-page .watch-aside .panel-header { padding: 10px 11px; }
.watch-page .watch-aside .panel-body { padding: 10px 11px; }
.watch-page .ep-btn { width: 30px; height: 30px; border-radius: 3px; font-size: 11px; }
.watch-page .legal-note { border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 10px 1px 0; background: transparent; }
.watch-page .episode-comments { margin-top: 20px; }
@media (max-width: 640px) {
  .watch-page { padding-top: 14px !important; }
  .watch-page .watch-toolbar { margin-bottom: 16px; }
  .watch-page .watch-crumb { flex-basis: auto; max-width: 100%; }
  .watch-page .watch-crumb strong { max-width: 160px; }
  .watch-page .watch-select-group { flex: 1 1 42%; }
  .watch-page .watch-toolbar .watch-select { min-width: 0; }
}

/* Profil izleme geçmişi: sabit site başlığının altından görünür başla */
.profile-cols { scroll-margin-top: 72px; }

/* -------------------------------------------------------------------------- */
/* İzleme sayfası: oynatma kapısı, altyazı rehberi, önceki/sonraki & paylaşım  */
/* -------------------------------------------------------------------------- */

/* VidSrc oynatıcı başlangıç kapısı — içerik Oynat düğmesine basınca yüklenir */
.vidsrc-player { position: relative; background: #05070c; }
.vidsrc-gate-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.55; filter: saturate(0.9);
  pointer-events: none; /* dekoratif katman: oynatıcı tıklamalarını engellemesin */
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
/* Başlat sonrası poster tamamen kalkar; iframe görünürlüğü netleşir */
.vidsrc-player.started .vidsrc-gate-poster { opacity: 0 !important; visibility: hidden; }
.vidsrc-loading {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; background: #05070c; color: var(--muted-foreground); font-size: 12px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.vidsrc-loading.on { opacity: 1; visibility: visible; }
.vidsrc-loading p { margin: 0; }
.vidsrc-gate {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 20px; text-align: center; cursor: pointer;
  background: linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.65));
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.vidsrc-gate:hover { background: linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0.5) 55%, rgba(0,0,0,0.7)); }
.vidsrc-gate.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.vidsrc-gate .vg-play {
  width: 66px; height: 66px; border-radius: 999px; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff;
  box-shadow: 0 18px 40px -10px color-mix(in srgb, var(--brand) 55%, transparent);
  transition: transform 0.15s ease, background 0.15s ease;
}
.vidsrc-gate .vg-play:hover { transform: scale(1.07); background: var(--brand-bright); }
.vidsrc-gate .vg-play:active { transform: scale(0.98); }
.vidsrc-gate .vg-title {
  margin: 4px 0 0; font-size: 14px; font-weight: 700; color: #fff;
  font-family: var(--font-sans); text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  max-width: 90%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.vidsrc-gate .vg-hint {
  margin: 0; font-size: 11.5px; color: rgba(255,255,255,0.75);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

/* Açılır kapanır Türkçe altyazı rehberi */
.subtitle-help {
  margin-top: 10px; border: 1px solid var(--border); border-radius: 4px;
  background: var(--card); color: var(--foreground); overflow: hidden;
}
.subtitle-help summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; font-size: 12.5px; font-weight: 600; color: var(--foreground);
}
.subtitle-help summary::-webkit-details-marker { display: none; }
.subtitle-help summary .sh-chevron { margin-left: auto; color: var(--muted-foreground); transition: transform 0.2s ease; }
.subtitle-help[open] summary .sh-chevron { transform: rotate(180deg); }
.subtitle-help summary:hover { color: var(--brand-bright); }
.subtitle-help .sh-body { padding: 0 14px 13px; font-size: 12px; line-height: 1.75; color: var(--muted-foreground); }
.subtitle-help .sh-body ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.subtitle-help .sh-body b { font-weight: 600; color: var(--foreground); }
.subtitle-help .sh-body a { color: var(--brand); text-decoration: none; }
.subtitle-help .sh-body a:hover { text-decoration: underline; }
.subtitle-help .sh-note { margin: 10px 0 0; padding-top: 9px; border-top: 1px dashed var(--border); font-size: 11px; color: var(--muted-foreground); }

/* Önceki/sonraki bölüm + paylaşım satırı */
.watch-actions {
  margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 4px; background: var(--card);
}
.watch-actions .wa-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.watch-actions .wa-nav .btn:disabled { opacity: 0.45; cursor: not-allowed; }
.watch-actions .wa-share { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.watch-actions .wa-share-label { font-size: 11.5px; color: var(--muted-foreground); margin-right: 2px; }
.share-btn {
  width: 32px; height: 32px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: var(--muted); color: var(--foreground);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
  text-decoration: none; flex-shrink: 0;
}
.share-btn:hover { color: var(--brand-bright); border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, var(--muted)); transform: translateY(-1px); }
.share-btn:active { transform: translateY(0); }
.share-btn svg { width: 15px; height: 15px; }
.share-btn.share-copy:hover { color: var(--foreground); border-color: var(--muted-foreground); background: var(--muted); }

/* Çok Yakında düğmesi: izlenebilir kaynağı olmayan yapımlar için pasif eylem */
.btn.soon-btn:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 640px) {
  .watch-actions { flex-direction: column; align-items: stretch; }
  .watch-actions .wa-nav .btn { flex: 1; justify-content: center; }
  .watch-actions .wa-share { justify-content: center; }
}

/* ======================================================================
 |  v8 — topluluk özellikleri: aydınlık mod, listeler, devam et şeridi,
 |  izleme odaları, hatırlatıcılar (puanlama ve talepler v8'de kaldırıldı)
 * ==================================================================== */

/* ---- v8: aydınlık mod katmanı --------------------------------------
   Tüm koyu temaların ÜSTÜNE uygulanır: yalnızca yüzey değişkenleri
   aydınlatılır, her temanın marka rengi korunur.
   Seçici bilinçli olarak [data-theme] ile güçlendirildi: admin panelden
   tanımlanan özel temanın <style> bloğu style.css'ten SONRA geldiği ve
   html[data-theme="custom"] ile aynı özgüllükte olduğu için açık mod
   değişkenlerini eziyordu (kullanıcı hatası: "açık tema çalışmıyor").
   (0,2,1) özgüllük, sıralamadan bağımsız olarak özel temayı geçer. */
html[data-mode="light"][data-theme] {
  color-scheme: light;
  --background: #edf1f5;
  --foreground: #26343f;
  --heading: #5c728a;
  --card: #fafafa;
  --card-foreground: #26343f;
  --popover: #ffffff;
  --secondary: #e5ebf1;
  --muted: #e5ebf1;
  --muted-foreground: #647380;
  --accent: #dde5ed;
  --border: rgba(92, 114, 138, 0.14);
  --input: #ffffff;
  --ring: color-mix(in srgb, var(--brand) 40%, transparent);
  --surface-1: #fafafa;
  --surface-2: #ffffff;
  --al-nav-bg: #2b2d42;
  --al-nav-fg: #bcbedc;
  --al-shadow-sm: 0 4px 14px rgba(103, 132, 187, 0.12), 0 2px 4px rgba(103, 132, 187, 0.06);
  --al-shadow-md: 0 14px 30px rgba(103, 132, 187, 0.16), 0 4px 4px rgba(103, 132, 187, 0.06);
  --al-shadow-lg: 0 20px 40px rgba(103, 132, 187, 0.22), 0 6px 12px rgba(103, 132, 187, 0.08);
}
html[data-mode="light"] ::selection { background: color-mix(in srgb, var(--brand) 30%, transparent); }
html[data-mode="light"] ::-webkit-scrollbar-thumb { background: rgba(20, 40, 70, 0.22); background-clip: content-box; }
html[data-mode="light"] .page-bg-img,
html[data-mode="light"] .bg-haberler,
html[data-mode="light"] .bg-takvim { opacity: 0.4; }

/* (v15: kişisel liste durumu seçici CSS'i, özellik kullanıcı talebiyle kaldırıldı) */

/* ---- v7: ana sayfa "kaldığın yerden devam et" şeridi ---- */
.home-continue { padding: 8px 0 0; }
.home-continue-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-bottom: 10px; padding: 0 2px;
}
.home-continue-head h2 {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 600; color: var(--foreground);
}
.home-continue-head a { font-size: 11.5px; color: var(--brand); font-weight: 500; }
.home-continue-row {
  display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 10px;
  scrollbar-width: thin;
}
.hc-card {
  position: relative; flex: 0 0 148px; width: 148px;
  border: 1px solid var(--border); border-radius: 6px; background: var(--card);
  transition: border-color .15s ease, transform .15s ease;
}
.hc-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.hc-link { display: block; }
.hc-cover {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  background: var(--muted); border-radius: 5px 5px 0 0; overflow: hidden;
}
.hc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-cover .noimg { display: block; width: 100%; height: 100%; background: var(--accent); }
.hc-play {
  position: absolute; right: 6px; bottom: 6px; width: 26px; height: 26px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(9, 14, 20, 0.72); color: #fff;
}
.hc-title {
  display: block; margin: 8px 9px 0; font-size: 12px; font-weight: 600; color: var(--foreground);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hc-sub {
  display: block; margin: 2px 9px 8px; font-size: 10.5px; color: var(--muted-foreground);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hc-bar {
  display: block; height: 3px; margin: 0 9px 9px; border-radius: 999px;
  background: var(--accent); overflow: hidden;
}
.hc-bar i { display: block; height: 100%; border-radius: 999px; background: var(--brand); }
.hc-bar.unknown { opacity: 0.45; }
.hc-forget {
  position: absolute; top: 5px; right: 5px; width: 20px; height: 20px; border-radius: 999px;
  display: none; align-items: center; justify-content: center;
  border: 0; background: rgba(9, 14, 20, 0.78); color: #fff; cursor: pointer;
}
.hc-card:hover .hc-forget, .hc-card:focus-within .hc-forget { display: inline-flex; }

/* ---- v7: birlikte izleme odası (izle sayfası) ---- */
.watch-room { margin-top: 14px; }

/* ---- v18: boş oda kapanma geri sayımı (izle.php) ---- */
.room-close-cd {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 9px 12px;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border));
  border-radius: 4px;
  background: color-mix(in srgb, var(--card) 82%, transparent);
  color: var(--muted-foreground); font-size: 12px; line-height: 1.5;
}
.room-close-cd[hidden] { display: none; }
.room-close-cd svg { color: var(--brand); flex-shrink: 0; }
.room-close-cd b { color: var(--foreground); font-variant-numeric: tabular-nums; }
.room-empty { display: grid; justify-items: center; gap: 8px; padding: 16px; text-align: center; font-size: 12.5px; color: var(--muted-foreground); }
.room-note { font-size: 11.5px; line-height: 1.6; color: var(--muted-foreground); margin-bottom: 12px; }
.room-forms { display: flex; flex-wrap: wrap; gap: 18px; }
.room-form { display: grid; gap: 7px; }
.room-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.room-code-badge {
  font-family: ui-monospace, "Sarasa Mono SC", monospace; font-size: 14px; font-weight: 700;
  letter-spacing: 2px; color: var(--brand-bright);
  border: 1px dashed var(--brand); border-radius: 6px; padding: 4px 10px;
  background: color-mix(in srgb, var(--brand) 10%, var(--card));
}
.room-members { font-size: 11px; color: var(--muted-foreground); margin-left: auto; }
.room-host-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.room-waiting { font-size: 12px; color: var(--brand-bright); margin-bottom: 8px; }
.room-chat { display: grid; gap: 8px; }
.room-msgs {
  list-style: none; max-height: 180px; overflow-y: auto; display: grid; gap: 6px;
  padding: 9px; border: 1px solid var(--border); border-radius: 4px; background: var(--muted);
}
.room-msgs li { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--foreground); }
.room-msgs li b { color: var(--brand-bright); font-weight: 600; }
.room-msgs li.mine b { color: var(--foreground); }
.room-msgs li.system { color: var(--muted-foreground); font-size: 11px; font-style: italic; }
.room-send { display: flex; gap: 6px; }
.room-send .input { flex: 1; }

/* ---- v7: akıllı geçiş balonu (izle sayfası) ---- */
.next-bubble {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 16px);
  z-index: 900; display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  max-width: min(92vw, 560px); padding: 11px 14px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--popover);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.next-bubble.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.next-bubble .nb-icon { color: var(--brand-bright); display: inline-flex; }
.next-bubble .nb-text { font-size: 12.5px; color: var(--foreground); }
.next-bubble .nb-count { color: var(--brand-bright); font-weight: 700; }
.next-bubble .nb-close {
  width: 24px; height: 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--muted); color: var(--muted-foreground);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---- v15: bölüm hatırlatıcısı (takvim) — satıra uzun basınca açılan hap ---- */
.cal-day li { position: relative; }
.cal-day li a { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.remind-btn {
  position: absolute; right: 10px; top: 50%; z-index: 3;
  height: 30px; padding: 0 12px; border-radius: 999px; flex-shrink: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
  border: 1px solid var(--border); background: var(--card); color: var(--foreground);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0; pointer-events: none;
  transform: translateY(-50%) scale(.9);
  transition: opacity .18s ease, transform .18s ease, color .15s ease, border-color .15s ease, background .15s ease;
}
.remind-btn.show { opacity: 1; pointer-events: auto; transform: translateY(-50%) scale(1); }
.remind-btn:hover { color: var(--brand-bright); border-color: var(--brand); }
.remind-btn.on { color: #fff; background: var(--brand); border-color: var(--brand); }
.remind-btn .remind-txt { line-height: 1; }
/* kurulmuş hatırlatıcının sessiz işareti: satır sağında küçük nokta */
.cal-day li.has-remind::after {
  content: ''; position: absolute; right: 14px; top: 50%; z-index: 1;
  width: 7px; height: 7px; margin-top: -3.5px; border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}

/* (v15: profil izleme listeleri CSS'i, özellik kullanıcı talebiyle kaldırıldı) */

/* ---- v7: hesabım tercihler paneli ---- */
.pref-list { display: grid; gap: 4px; }
.pref-item {
  display: flex; align-items: flex-start; gap: 10px; padding: 9px 4px;
  border-bottom: 1px dashed var(--border);
}
.pref-item:last-child { border-bottom: 0; }
.pref-item .checkbox { margin-top: 2px; }
.pref-info { display: grid; gap: 2px; min-width: 0; }
.pref-info .t { font-size: 12.5px; font-weight: 600; color: var(--foreground); }
.pref-info .d { font-size: 11px; line-height: 1.55; color: var(--muted-foreground); }
.pref-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }

@media (max-width: 640px) {
  .room-forms { flex-direction: column; }
  .next-bubble { flex-direction: column; align-items: flex-start; }
  .hc-card { flex: 0 0 132px; width: 132px; }
}

/* ============================================================ v15 */

/* ---- v15/v17: ana sayfa öne çıkanlar karuseli ----
   v17: slaytlar aynı grid hücresinde üst üste durur; display:none yerine
   opaklık geçişiyle gerçek çapraz geçiş yapılır. Arada boş arka plan flaşı
   (kullanıcının gördüğü "opaklık glitchı") ve geçişte yükseklik zıplaması
   oluşamaz; slayt görselleri hep boyalı olduğu için ilk karede titreme de yok. */
.hero-carousel { position: relative; overflow: hidden; display: grid; }
.hero-slide {
  grid-area: 1 / 1; min-width: 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  will-change: opacity;
  transition: opacity .65s ease, visibility 0s linear .65s;
}
.hero-slide.active {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .65s ease;
}
.hero-slide.active .hero-media img { animation: heroZoom 10s ease-out both; }
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero-dots {
  position: absolute; right: 16px; bottom: 10px; z-index: 4;
  display: flex; gap: 6px; padding: 5px 8px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(4px);
}
.hero-dot {
  width: 22px; height: 5px; border-radius: 999px; border: 0; cursor: pointer;
  padding: 0; background: rgba(255, 255, 255, 0.38);
  transition: background .2s ease, width .2s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.6); }
.hero-dot.active { background: var(--brand); width: 30px; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.active { transition: none; }
  .hero-slide.active .hero-media img { animation: none; }
}

/* ---- v16: günün en iyileri (Netflix tarzı 1-10, kaydırmalı sıra) ----
   v15'teki 3'lü düzenin yerine 10 yapım; satır fareyle sürüklenip dokunmatikte
   doğal kaydırma ile gezilir. Grid kolonunu şişirmemesi için .site-sections > *
   min-width:0 (yukarıda) + satır max-width:100%. */
.top10-section { margin-top: 26px; }
.top10-row {
  display: flex; align-items: flex-end; gap: 2px;
  max-width: 100%;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  padding: 4px 2px 6px; scrollbar-width: none;
  cursor: grab;
}
.top10-row::-webkit-scrollbar { display: none; }
.top10-row.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.top10-row.dragging * { pointer-events: none; }
.top10-row:focus-visible { outline: 2px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 3px; border-radius: 4px; }
.top10-item { display: flex; align-items: flex-end; flex-shrink: 0; scroll-snap-align: start; }
.top10-num {
  font-size: 118px; font-weight: 800; line-height: .76; letter-spacing: -7px;
  color: var(--background);
  -webkit-text-stroke: 3px color-mix(in srgb, var(--brand) 60%, var(--muted-foreground));
  margin-right: -16px; z-index: 0; user-select: none; pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.top10-card {
  position: relative; z-index: 1; width: 138px; overflow: hidden;
  border: 1px solid var(--border); border-radius: 4px; background: var(--card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.top10-item:hover .top10-card {
  transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 55%, var(--border));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}
.top10-card img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.top10-noimg {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; aspect-ratio: 2 / 3; padding: 12px;
  font-size: 12px; font-weight: 600; color: var(--muted-foreground); background: var(--muted);
}
.top10-meta {
  position: absolute; inset: auto 0 0 0; display: grid; gap: 1px;
  padding: 20px 9px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
}
.top10-meta .t {
  font-size: 12px; font-weight: 600; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.top10-meta .s { font-size: 10.5px; font-weight: 600; color: var(--brand-bright); }
@media (max-width: 640px) {
  .top10-num { font-size: 84px; letter-spacing: -5px; margin-right: -11px; -webkit-text-stroke-width: 2px; }
  .top10-card { width: 108px; }
}

/* ---- v15: üst haber şeridi ---- */
.news-ticker {
  position: sticky; top: 0; z-index: 35;
  display: flex; align-items: center; min-height: var(--ticker-h, 30px);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 96%, transparent);
  backdrop-filter: blur(6px);
  overflow: hidden;
  padding-top: env(safe-area-inset-top);
}
/* v18: şerit yaşam döngüsü — görüldükten sonra yumuşakça yukarı kayıp yok olur */
.news-ticker[hidden] { display: none; }
.news-ticker { transition: transform .5s ease, opacity .5s ease; }
.news-ticker.bye { transform: translateY(-110%); opacity: 0; }
.ticker-tag {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px;
  align-self: stretch; padding: 0 11px;
  background: var(--brand); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.ticker-tag:hover { color: #fff; opacity: .92; }
/* v18: yeni haber bildirimi — kaydırmadan önce "Yeni haberler var" der */
.ticker-new {
  flex: 1; display: none; align-items: center; justify-content: center; gap: 7px;
  font-size: 11.5px; font-weight: 600; color: var(--foreground);
  animation: tickerPulse 1.2s ease-in-out infinite;
}
.ticker-new svg { color: var(--brand); }
.news-ticker.incoming .ticker-new { display: inline-flex; }
.news-ticker.incoming .ticker-viewport { display: none; }
@keyframes tickerPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
/* v18→v19: haberler yukarıdan animasyonla girer; akış CSS'e de gömüldü —
   JS zamanlayıcıları her nedenle durursa bile kayış bitiminde tickerBye
   şeridi yukarı kayıp yok eder ("şerit ekranda takılı kaldı" hatasına karşı
   emniyet ağı). --ticker-dur şeridin kendisinde tanımlıdır. */
.news-ticker.autoplay {
  animation: tickerIn .5s ease both, tickerBye .55s ease calc(.56s + var(--ticker-dur, 55s)) forwards;
}
@keyframes tickerBye { to { transform: translateY(-115%); opacity: 0; } }
@keyframes tickerIn { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.ticker-viewport { flex: 1; min-width: 0; height: 100%; overflow: hidden; display: flex; align-items: center; }
.ticker-track { display: flex; width: max-content; will-change: transform; }
/* v17: şerit sürekli döngüde değil — JS yalnız yeni haber setinde bir kez oynatır */
.ticker-track.play { animation: tickerScroll var(--ticker-dur, 55s) linear 1 both; }
.news-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--muted-foreground); white-space: nowrap;
  transition: color .15s ease;
}
.ticker-item:hover { color: var(--brand); }
.tick-dot { width: 5px; height: 5px; border-radius: 999px; background: var(--brand); opacity: .75; flex-shrink: 0; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .ticker-track.play { animation: none; }
  .ticker-viewport { overflow-x: auto; }
}

/* ---- v17: footer telif metni — uzınsa "Devamını gör" ile açılır ---- */
.foot-legal { position: relative; overflow: hidden; transition: max-height .4s ease; }
.foot-legal.clamped { max-height: 46px; }
.foot-legal.clamped::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24px;
  background: linear-gradient(transparent, var(--card));
  pointer-events: none;
}
.foot-more {
  margin-top: 4px; padding: 2px 0;
  background: none; border: 0; cursor: pointer;
  font-size: 11px; font-weight: 600; color: var(--brand);
}
.foot-more:hover { text-decoration: underline; }


/* ---- v21: SEO içerik blokları — SSS akordeonu, izleme sırası, benzer aramalar ---- */
.seo-faq { display: grid; gap: 8px; }
.seo-faq details {
  background: color-mix(in srgb, var(--muted) 45%, transparent);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}
.seo-faq summary {
  cursor: pointer; user-select: none;
  font-size: 13px; font-weight: 600; color: var(--foreground);
  list-style: none; display: flex; align-items: center; gap: 8px;
}
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::before {
  content: "+"; flex: none; width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 6px;
  font-size: 12px; font-weight: 700; color: var(--brand);
  transition: transform .2s ease;
}
.seo-faq details[open] summary::before { content: "−"; }
.seo-faq details[open] summary { color: var(--brand); }
.seo-faq details p {
  margin: 8px 0 0 26px;
  font-size: 12.5px; line-height: 1.65; color: var(--muted-foreground);
}
.seo-ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.seo-ol li { font-size: 12.5px; line-height: 1.6; color: var(--foreground); }
.seo-ol .seo-ol-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .02em;
  color: var(--brand); text-transform: uppercase;
}
.seo-ol a { color: var(--brand); font-weight: 600; }
.seo-ol a:hover { text-decoration: underline; }
.seo-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seo-links a {
  display: inline-flex; align-items: center;
  padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--foreground);
  background: color-mix(in srgb, var(--muted) 40%, transparent);
  transition: border-color .15s ease, color .15s ease;
}
.seo-links a:hover { border-color: var(--brand); color: var(--brand); }

/* ------------------------------------------------------- v21.8: trend sayfası */
.trend-panel > header { padding: 12px 14px 10px; border-bottom: 1px solid var(--border); }
.trend-list { list-style: none; margin: 0; padding: 0; }
.trend-list li + li { border-top: 1px solid var(--border); }
.trend-list a {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 14px; transition: background .12s ease;
}
.trend-list a:hover { background: color-mix(in srgb, var(--muted) 55%, transparent); }
.trend-rank {
  width: 26px; flex-shrink: 0; text-align: center;
  font-size: 15px; font-weight: 700; color: var(--muted-foreground);
  font-variant-numeric: tabular-nums;
}
.trend-rank.top { color: var(--brand); }
.trend-list img {
  width: 38px; height: 54px; object-fit: cover; border-radius: 6px;
  background: var(--muted); flex-shrink: 0;
}
.trend-list .noimg {
  width: 38px; height: 54px; border-radius: 6px; flex-shrink: 0;
  background: var(--muted);
}
.trend-list .t {
  display: block; font-size: 13px; font-weight: 600; color: var(--foreground);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.trend-list .sub {
  display: block; font-size: 11px; color: var(--muted-foreground); margin-top: 1px;
}
.trend-src {
  flex-shrink: 0; font-size: 10px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--muted-foreground);
}
.trend-src.is-site { color: var(--brand-live); border-color: color-mix(in srgb, var(--brand-live) 40%, transparent); }
.trend-src.is-api { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.trend-src.is-score { color: #f5c451; border-color: color-mix(in srgb, #f5c451 40%, transparent); }

/* =============================================================
 |  v25.1 — SSS + HAKKIMIZDA · v26 — + GİZLİLİK + KOŞULLAR + TELİF
 |  ÇOK SADE GÖRÜNÜM: kartlar, görseller, süsler yok —
 |  yalnızca siyah zemin ve beyaz yazı.
 * ============================================================= */
body.page-sss .doc-page,
body.page-hakkimizda .doc-page,
body.page-gizlilik .doc-page,
body.page-kosullar .doc-page,
body.page-telif .doc-page {
  background: transparent; border: 0; box-shadow: none;
  padding: 8px 2px 44px;
}
body.page-sss .doc-head,
body.page-hakkimizda .doc-head,
body.page-gizlilik .doc-head,
body.page-kosullar .doc-head,
body.page-telif .doc-head { padding-right: 0; min-height: 0; }
body.page-sss .doc-head h1,
body.page-hakkimizda .doc-head h1,
body.page-gizlilik .doc-head h1,
body.page-kosullar .doc-head h1,
body.page-telif .doc-head h1 { color: #fff; }
body.page-sss .doc-sub,
body.page-hakkimizda .doc-sub,
body.page-gizlilik .doc-sub,
body.page-kosullar .doc-sub,
body.page-telif .doc-sub { color: rgba(255, 255, 255, 0.72); }
body.page-sss .doc-page h2,
body.page-hakkimizda .doc-page h2,
body.page-gizlilik .doc-page h2,
body.page-kosullar .doc-page h2,
body.page-telif .doc-page h2 {
  color: #fff; border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px; margin-top: 24px;
}
body.page-sss .doc-page h2:first-of-type,
body.page-hakkimizda .doc-page h2:first-of-type,
body.page-gizlilik .doc-page h2:first-of-type,
body.page-kosullar .doc-page h2:first-of-type,
body.page-telif .doc-page h2:first-of-type { border-top: 0; padding-top: 0; }
body.page-sss .doc-page p,
body.page-hakkimizda .doc-page p,
body.page-gizlilik .doc-page p,
body.page-kosullar .doc-page p,
body.page-telif .doc-page p { color: rgba(255, 255, 255, 0.92); }
body.page-sss .doc-page p strong,
body.page-hakkimizda .doc-page p strong,
body.page-gizlilik .doc-page p strong,
body.page-kosullar .doc-page p strong,
body.page-telif .doc-page p strong { color: #fff; }
body.page-sss .doc-page a,
body.page-hakkimizda .doc-page a,
body.page-gizlilik .doc-page a,
body.page-kosullar .doc-page a,
body.page-telif .doc-page a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
body.page-sss .doc-page code,
body.page-hakkimizda .doc-page code,
body.page-gizlilik .doc-page code,
body.page-kosullar .doc-page code,
body.page-telif .doc-page code {
  color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16);
}
body.page-sss .doc-note,
body.page-hakkimizda .doc-note,
body.page-gizlilik .doc-note,
body.page-kosullar .doc-note,
body.page-telif .doc-note { color: rgba(255, 255, 255, 0.6) !important; }
body.page-sss .faq,
body.page-hakkimizda .faq,
body.page-gizlilik .faq,
body.page-kosullar .faq,
body.page-telif .faq {
  background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
}
body.page-sss .faq summary,
body.page-hakkimizda .faq summary,
body.page-gizlilik .faq summary,
body.page-kosullar .faq summary,
body.page-telif .faq summary { color: #fff; padding: 13px 2px; }
body.page-sss .faq summary::after,
body.page-hakkimizda .faq summary::after,
body.page-gizlilik .faq summary::after,
body.page-kosullar .faq summary::after,
body.page-telif .faq summary::after { border-color: rgba(255, 255, 255, 0.55); }
body.page-sss .faq summary:hover,
body.page-hakkimizda .faq summary:hover,
body.page-gizlilik .faq summary:hover,
body.page-kosullar .faq summary:hover,
body.page-telif .faq summary:hover { background: transparent; }
body.page-sss .faq-body,
body.page-hakkimizda .faq-body,
body.page-gizlilik .faq-body,
body.page-kosullar .faq-body,
body.page-telif .faq-body { padding: 0 2px 14px; }
body.page-sss .faq-body p,
body.page-hakkimizda .faq-body p,
body.page-gizlilik .faq-body p,
body.page-kosullar .faq-body p,
body.page-telif .faq-body p { color: rgba(255, 255, 255, 0.88); }

/* =============================================================
 |  v26 — ÜST BAR ANLIK ARAMA ÖNERİSİ
 |  Üst bardaki arama kutusuna yazıldıkça katalogdan en fazla 8
 |  aday; poster + başlık + yıl/tür/puan satırıyla açılır listede.
 * ============================================================= */
.site-header .search-box { position: relative; }
.search-suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  z-index: 70;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  padding: 6px;
  display: none;
  max-height: min(62vh, 420px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.search-suggest.open { display: block; animation: sgIn 160ms ease-out; }
@keyframes sgIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .search-suggest.open { animation: none; }
}
.search-suggest .sg-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px; border-radius: 10px;
  color: var(--foreground);
  text-decoration: none;
}
.search-suggest .sg-item:hover,
.search-suggest .sg-item.active { background: color-mix(in srgb, var(--foreground) 7%, transparent); }
.search-suggest .sg-cover {
  width: 36px; height: 50px; border-radius: 7px;
  object-fit: cover; flex-shrink: 0;
  background: var(--secondary);
}
.search-suggest .sg-cover.sg-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: var(--brand);
}
.search-suggest .sg-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.search-suggest .sg-title {
  font-size: 13.5px; font-weight: 600; color: var(--foreground);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-suggest .sg-title b { color: var(--brand); font-weight: 800; }
.search-suggest .sg-sub { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted-foreground); }
.search-suggest .sg-score { color: #f5c451; font-weight: 700; }
@media (max-width: 640px) {
  .search-suggest { border-radius: 12px; }
  .search-suggest .sg-cover { width: 32px; height: 44px; }
}

/* =============================================================
 |  v27 — SADE KURUMSAL SAYFALAR: SAF SİYAH ZEMİN
 |  SSS / Hakkımızda / Gizlilik / Koşullar / Telif sayfaları
 |  palet veya tema ne olursa olsun saf siyah zemin + beyaz yazı
 |  ile açılır (kullanıcı isteği: "sade arka plan ve yazı").
 * ============================================================= */
body.page-sss,
body.page-hakkimizda,
body.page-gizlilik,
body.page-kosullar,
body.page-telif {
  background: #000 !important;
}
body.page-sss .site-header,
body.page-hakkimizda .site-header,
body.page-gizlilik .site-header,
body.page-kosullar .site-header,
body.page-telif .site-header,
body.page-sss .site-footer,
body.page-hakkimizda .site-footer,
body.page-gizlilik .site-footer,
body.page-kosullar .site-footer,
body.page-telif .site-footer { background: transparent; }
body.page-sss .doc-page li,
body.page-hakkimizda .doc-page li,
body.page-gizlilik .doc-page li,
body.page-kosullar .doc-page li,
body.page-telif .doc-page li { color: rgba(255, 255, 255, 0.9); }
body.page-sss .doc-page table,
body.page-hakkimizda .doc-page table,
body.page-gizlilik .doc-page table,
body.page-kosullar .doc-page table,
body.page-telif .doc-page table { background: transparent; border-color: rgba(255, 255, 255, 0.14); }

/* ------------------------------ v29.0: ALT BAR DİL SEÇİCİ (dünya ikonu + ülke menüsü) --- */
.foot-meta { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.lang-picker { position: relative; display: inline-flex; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: var(--radius);
  background: var(--secondary); color: var(--foreground);
  border: 1px solid var(--border); cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 500; line-height: 1;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}
.lang-btn svg { width: 16px; height: 16px; display: block; color: var(--muted-foreground); transition: color 140ms ease; }
.lang-btn:hover { border-color: var(--brand); color: var(--brand-bright); }
.lang-btn:hover svg { color: var(--brand-bright); }
.lang-btn[aria-expanded="true"] { border-color: var(--brand); color: var(--brand-bright); }
.lang-btn-chev { transition: transform 160ms ease; }
.lang-btn[aria-expanded="true"] .lang-btn-chev { transform: rotate(180deg); }
.lang-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.lang-menu {
  position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 60;
  min-width: 210px; padding: 6px;
  background: var(--popover); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  animation: langIn 150ms ease both;
}
@keyframes langIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.lang-menu-title {
  margin: 2px 4px 6px; font-size: 11px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted-foreground);
}
.lang-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 9px; border-radius: 8px; color: var(--foreground);
  text-decoration: none; transition: background 120ms ease;
}
.lang-opt + .lang-opt { margin-top: 2px; }
.lang-opt:hover { background: var(--accent); }
.lang-opt-flag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 18px; border-radius: 3px; overflow: hidden;
  border: 1px solid var(--border); flex: none;
}
.lang-opt-flag svg { width: 100%; height: 100%; display: block; }
.lang-opt-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lang-opt-name { font-size: 13px; font-weight: 600; line-height: 1.2; }
.lang-opt-sub { font-size: 11px; color: var(--muted-foreground); line-height: 1.2; }
.lang-opt-check { width: 15px; height: 15px; margin-left: auto; color: var(--brand); opacity: 0; flex: none; }
.lang-opt.active .lang-opt-check { opacity: 1; }
.lang-opt.active { background: color-mix(in srgb, var(--brand) 12%, transparent); }
.lang-opt.active .lang-opt-flag { border-color: var(--brand); }
.lang-opt:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) {
  .lang-btn, .lang-btn-chev, .lang-menu, .lang-opt { transition: none; animation: none; }
}

/* ============================================================ v31 ekleri */
/* v31: SSS görselli rehber blokları — adım adım anlatım + ekran görüntüsü + el işareti */
.rehber {
  margin: 12px 0 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: color-mix(in srgb, var(--card) 62%, transparent);
  padding: 14px;
}
.rehber-baslik { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin: 0 0 10px; }
.rehber-baslik img { width: 20px; height: 20px; }
/* v31.2: başlıkta sade çizgi ikon — rozet/gölge yok, sadece ince kontur glif */
.rehber-baslik svg.rikon { width: 22px; height: 22px; flex: none; }
.rehber-steps { margin: 0; padding: 0; list-style: none; counter-reset: rehber-step; display: grid; gap: 8px; }
.rehber-steps li {
  counter-increment: rehber-step;
  position: relative; padding-left: 30px;
  font-size: 13px; line-height: 1.55; color: var(--foreground);
  text-align: left;
}
.rehber-steps li::before {
  content: counter(rehber-step);
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 20%, transparent);
  color: var(--brand); font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.rehber-ss { position: relative; margin: 6px 0 0; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: #0b1622; }
.rehber-ss img.rehber-gorsel { display: block; width: 100%; height: auto; }
.rehber-el {
  position: absolute; width: 34px; height: 34px;
  /* parmak ucu ikonun sol %40.5, üst %3.6 noktasında — uç hedefe değsin */
  transform: translate(-40.5%, -3.6%) rotate(8deg);
  pointer-events: none; z-index: 3;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.6));
}
.rehber-el::before {
  content: ''; position: absolute; left: 40.5%; top: 3.6%;
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid #fff; opacity: .9;
  animation: rehber-pulse 1.6s ease-out infinite;
}
@keyframes rehber-pulse {
  0% { transform: scale(.55); opacity: .95; }
  70% { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}
.rehber-ss figcaption {
  padding: 8px 12px; font-size: 10.5px; color: var(--muted-foreground);
  border-top: 1px solid var(--border); background: rgba(0,0,0,.35);
}
@media (prefers-reduced-motion: reduce) { .rehber-el::before { animation: none; } }

/* ==========================================================================
   v36 — ANILIST.CO BİREBİR ÜST HEADER, EDİTORYAL VİTRİN & ŞIK MİNİMAL FOOTER
   ========================================================================== */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.fill-current {
  fill: currentColor !important;
}

/* ---- Genel Kapsayıcı, Taşma Koruması & Mat Siyah Gövde ---- */
:root {
  --background: #0b0b0d;
  --card: #131417;
  --popover: #17181c;
  --secondary: #191a1f;
  --border: rgba(255, 255, 255, 0.09);
  --input: #111216;
  --brand: #f2f0e8;
  --brand-bright: #ffffff;
  --cream: #f2f0e8;
  --cream-ink: #0b0c0e;
  --foreground: #f4f4f6;
  --heading: #ffffff;
  --muted-foreground: #8e929b;
}

html,
body.al-body {
  max-width: 100%;
  overflow-x: clip;
}

body.al-body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 14px;
  -webkit-tap-highlight-color: transparent;
}

.al-app {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  overflow-x: clip;
}

.al-page-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 0;
  min-width: 0;
}
.al-main {
  flex: 1;
  padding-bottom: 48px;
  min-width: 0;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 1023px) {
  .al-main { padding-bottom: 34px; }
}
@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
}

/* ---- Evrensel Poster Geometrisi (Sıfır Yamulma / Kesin 2:3 Oran) ---- */
.poster {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--secondary);
  transform: translateZ(0);
}
.poster > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.poster .poster-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
}

/* ---- Minimalist Düğmeler, Girdiler & Paneller ---- */
.btn {
  border-radius: 9px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn-default {
  background: var(--brand);
  color: #07131f;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(72, 180, 242, 0.25);
}
.btn-default:hover:not(:disabled) {
  background: var(--brand-bright);
  color: #07131f;
  box-shadow: 0 6px 20px rgba(72, 180, 242, 0.36);
  transform: translateY(-1px);
}
.btn-outline {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
}
.btn-outline:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(72, 180, 242, 0.08);
}

.panel {
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 6px 20px rgba(0, 5, 14, 0.22);
  min-width: 0;
}
.panel > .panel-header {
  background: transparent;
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
}
.panel > .panel-header h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--heading);
}
.panel > .panel-body {
  padding: 16px 18px;
}
@media (max-width: 640px) {
  .panel > .panel-header { padding: 12px 14px; }
  .panel > .panel-body { padding: 14px; }
}

.input, .select, .textarea {
  border-radius: 9px;
  background: var(--input);
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  max-width: 100%;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(72, 180, 242, 0.2);
}

/* =========================== BİREBİR ÜST HEADER & AÇILIR GEZİNME ÇEKMECESİ */
.al-navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(16, 25, 36, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #edf2f7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.al-navbar.is-scrolled {
  background: rgba(14, 22, 33, 0.98);
  box-shadow: 0 6px 24px rgba(0, 4, 12, 0.35);
}

.al-nav-wrap {
  max-width: 1280px;
  width: 100%;
  height: 62px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.al-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.al-brand-emblem {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.al-brand-emblem img,
.al-brand-emblem svg {
  width: 30px !important;
  height: 30px !important;
  object-fit: contain;
  display: block;
}
.al-brand-word {
  font-family: var(--font-sans);
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #f3f6fa;
  white-space: nowrap;
}
.al-brand-word em {
  font-style: normal;
  color: var(--brand);
}

.al-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.al-nav-link {
  padding: 7px 11px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  color: #a9bacb;
  transition: color 0.16s ease, background-color 0.16s ease;
  white-space: nowrap;
}
.al-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}
.al-nav-link.active {
  color: var(--brand);
  background: rgba(72, 180, 242, 0.13);
  font-weight: 700;
}

.al-nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  flex: 0 1 auto;
}

/* Hap (Pill) Arama Kutusu — Birebir Koyu Girintili Kapsül */
.al-nav-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 215px;
  min-width: 0;
  transition: width 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.al-nav-search:focus-within {
  width: 255px;
}
.al-nav-search > svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #6d8197;
  pointer-events: none;
}
.al-nav-search input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 14px 0 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #0b121b;
  color: #edf2f7;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.al-nav-search input[type="search"]::placeholder {
  color: #6d8197;
  font-weight: 500;
}
.al-nav-search input[type="search"]:focus {
  outline: none;
  background: #091018;
  border-color: rgba(72, 180, 242, 0.55);
  box-shadow: 0 0 0 3px rgba(72, 180, 242, 0.16);
}
.al-nav-search .search-suggest {
  left: auto;
  right: 0;
  width: 330px;
  max-width: calc(100vw - 24px);
  border-radius: 12px;
}

/* Discord Clyde İkon Butonu */
.al-discord-btn {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  color: #a6b6c8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}
.al-discord-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.al-icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #182331;
  color: #d3dce6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}
.al-icon-btn:hover {
  background: #202e40;
  color: #ffffff;
}
.al-notif-btn .notif-pill {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--destructive);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* "Giriş yap" Gök Mavisi Buton + Koyu Lacivert Yazı */
.al-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 15px;
  border-radius: 10px;
  background: #48b4f2;
  color: #07131f !important;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.al-login-btn:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(72, 180, 242, 0.35);
}

/* Yuvarlak Hamburger Menü Butonu (≡) */
.al-burger-btn {
  display: none;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #182433;
  color: #dce6f0;
  align-items: center;
  justify-content: center;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.al-burger-btn:hover {
  background: #213044;
  color: #ffffff;
}
.al-burger-btn .ic-open,
.al-burger-btn .ic-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.al-burger-btn .ic-close {
  display: none;
}
.al-navbar.is-menu-open .al-burger-btn {
  background: #213246;
  border-color: rgba(72, 180, 242, 0.35);
  color: #48b4f2;
}
.al-navbar.is-menu-open .al-burger-btn .ic-open {
  display: none;
}
.al-navbar.is-menu-open .al-burger-btn .ic-close {
  display: inline-flex;
}

/* Açılır Gezinme Çekmecesi (Birebir Dikey Koyu Menü) */
.al-nav-drawer[hidden] {
  display: none !important;
}
@media (min-width: 1121px) {
  .al-nav-drawer {
    display: none !important;
  }
}
.al-nav-drawer {
  background: #101924;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-height: calc(100dvh - 60px);
  overflow-y: auto;
  animation: alDrawerOpen 0.18s ease-out;
}
@keyframes alDrawerOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.al-nav-drawer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px 18px;
}
.al-drawer-links {
  display: grid;
  gap: 4px;
}
.al-drawer-link {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: #b5c4d4;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.al-drawer-link svg {
  color: #8b9eb3;
  flex-shrink: 0;
  transition: color 0.15s ease;
}
.al-drawer-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #edf2f7;
}
.al-drawer-link.active {
  background: rgba(72, 180, 242, 0.14);
  color: #48b4f2;
  font-weight: 700;
}
.al-drawer-link.active svg {
  color: #48b4f2;
}
.al-drawer-foot {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.al-drawer-sublink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  background: #172332;
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #c5d3e2;
  font-size: 13px;
  font-weight: 600;
}
.al-drawer-sublink.is-admin {
  color: #48b4f2;
  border-color: rgba(72, 180, 242, 0.25);
}

/* Kullanıcı açılır menüsü */
.al-user-menu {
  position: relative;
  flex-shrink: 0;
}
.al-user-trigger {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  overflow: hidden;
  background: #182433;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.16s ease;
}
.al-user-trigger:hover {
  border-color: var(--brand);
}
.al-user-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.al-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 196px;
  max-width: calc(100vw - 24px);
  padding: 7px;
  border-radius: 10px;
  background: var(--popover);
  box-shadow: 0 14px 36px rgba(0, 5, 14, 0.55);
  border: 1px solid var(--border);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 80;
}
.al-user-menu:hover .al-user-dropdown,
.al-user-menu:focus-within .al-user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.al-user-dropdown a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-foreground);
  transition: background-color 0.14s ease, color 0.14s ease;
}
.al-user-dropdown a:hover {
  background: var(--secondary);
  color: var(--foreground);
}
.al-user-dropdown a.is-admin {
  color: var(--brand);
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 10px;
}

@media (max-width: 1120px) {
  .al-nav-links { display: none; }
  .al-brand-word { display: none; }
  .al-nav-wrap { height: 60px; padding: 0 14px; gap: 10px; }
  .al-nav-right { flex: 1 1 auto; gap: 9px; }
  .al-nav-search { flex: 1 1 0%; width: auto; }
  .al-nav-search:focus-within { width: auto; }
  .al-burger-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  .al-nav-wrap { height: 58px; padding: 0 12px; gap: 8px; }
  .al-nav-right { gap: 8px; }
  .al-nav-search input[type="search"] {
    height: 36px;
    padding: 0 12px 0 35px;
    font-size: 13px;
  }
  .al-nav-search > svg { left: 12px; }
  .al-nav-search .search-suggest {
    position: fixed;
    top: 62px;
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
  }
  .al-login-btn {
    height: 36px;
    padding: 0 13px;
    font-size: 13px;
    border-radius: 9px;
  }
  .al-burger-btn,
  .al-user-trigger {
    width: 36px;
    height: 36px;
  }
}

/* ============================================ LOGOPEDIA İÇERİK LOGOLARI */
.al-logo-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}
.al-logo-media {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 0;
  max-width: 100%;
}
.al-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.28)) drop-shadow(0 6px 20px rgba(0, 4, 12, 0.72));
  animation: alLogoFadeIn 0.25s ease-out;
}
@keyframes alLogoFadeIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.al-logo-wrap--hero .al-logo-media {
  max-width: min(340px, 88vw);
  margin-bottom: 2px;
}
.al-logo-wrap--hero .al-logo-img {
  max-height: 88px;
}

.al-logo-wrap--detail .al-logo-media {
  max-width: min(330px, 88vw);
  margin-bottom: 2px;
}
.al-logo-wrap--detail .al-logo-img {
  max-height: 82px;
}

.al-logo-wrap--hero .al-logo-heading,
.al-logo-wrap--detail .al-logo-heading {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.al-logo-wrap.has-logo .al-logo-heading {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 640px) {
  .al-logo-wrap--hero .al-logo-media { max-width: min(235px, 78vw); }
  .al-logo-wrap--hero .al-logo-img { max-height: 70px; }
  .al-logo-wrap--detail .al-logo-media { max-width: min(235px, 78vw); }
  .al-logo-wrap--detail .al-logo-img { max-height: 68px; }
}

/* ==================== BİREBİR EDİTORYAL ÜST VİTRİN & İSTATİSTİK IZGARASI */
.al-spot {
  position: relative;
  display: grid;
  width: 100%;
  background: var(--background);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  isolation: isolate;
}

/* Sağ Üst Kapsül Slayt Çizgileri ([ ━━━  ━━  ━━ ]) */
.al-spot-topdots {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(9, 15, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.al-spot-dot {
  width: 20px;
  height: 4px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.22s ease, background-color 0.22s ease;
}
.al-spot-dot:hover {
  background: rgba(255, 255, 255, 0.55);
}
.al-spot-dot.active {
  width: 28px;
  background: #48b4f2;
}

.al-spot-slide {
  grid-area: 1 / 1;
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 30px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.48s ease, visibility 0s linear 0.48s;
}
.al-spot-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.48s ease;
}

.al-spot-backdrop {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #101b29;
}
.al-spot-backdrop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(1.04);
}
.al-spot-backdrop img.is-cover-blur {
  filter: blur(28px) saturate(1.18) brightness(0.5);
  transform: scale(1.16);
}
.al-spot-fallback {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, #1d324a 0%, #0b131e 72%);
}
.al-spot-backdrop-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 30, 0.22) 0%, rgba(11, 19, 30, 0.58) 62%, var(--background) 100%);
}

.al-spot-stage {
  position: relative;
  z-index: 2;
  margin-top: -176px;
  display: grid;
  grid-template-columns: 204px minmax(0, 1fr);
  align-items: end;
  gap: 32px;
}

.al-spot-cover {
  display: block;
  width: 204px;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(0, 4, 12, 0.65);
  background: #142030;
  flex-shrink: 0;
  align-self: start;
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.al-spot-cover .poster {
  border-radius: 0;
}
.al-spot-cover:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.26);
}

.al-spot-body {
  min-width: 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.al-spot-eyebrow-line {
  margin: 2px 0 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7f92a7;
}
.al-spot-native {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #9db0c4;
}

/* Editoryal İstatistik Şeridi (PUAN | FORMAT | BÖLÜM | SÜRE | SEZON | POPÜLERLİK) */
.al-estats {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  row-gap: 12px;
  margin: 4px 0 2px;
  max-width: 100%;
}
.al-estat-group {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  row-gap: 10px;
}
.al-estat-group + .al-estat-group {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}
.al-estat-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding-right: 16px;
}
.al-estat-cell + .al-estat-cell {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}
.al-estat-lbl {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #74879d;
}
.al-estat-val {
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.2;
  white-space: nowrap;
}
.al-estat-val.is-good { color: #4bd85a; }
.al-estat-val.is-mid  { color: #f59e0b; }
.al-estat-val.is-low  { color: #ef4444; }

/* Koyu Turkuaz-Lacivert Tür Hapları (Aksiyon · Drama · Fantastik · Gizem) */
.al-spot-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}
.al-spot-genre {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(56, 152, 216, 0.13);
  border: 1px solid rgba(72, 180, 242, 0.16);
  color: #cae4f7;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.al-spot-genre:hover {
  background: rgba(72, 180, 242, 0.24);
  border-color: rgba(72, 180, 242, 0.42);
  color: #ffffff;
  transform: translateY(-1px);
}

.al-spot-desc {
  margin: 2px 0 0;
  max-width: 650px;
  font-family: var(--font-body);
  font-size: 13.8px;
  line-height: 1.62;
  color: #9db0c4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.al-spot-actions {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.al-cta-primary {
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: #48b4f2;
  color: #07131f;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(72, 180, 242, 0.3);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.al-cta-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
  box-shadow: 0 10px 26px rgba(72, 180, 242, 0.42);
}
.al-cta-secondary,
.al-cta-ghost {
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #152232;
  color: #e6eef6;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.al-cta-secondary:hover,
.al-cta-ghost:hover {
  background: #1c2d42;
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Mobil ve Tablet Üst Vitrin — Birebir Referans Görünümü */
@media (max-width: 860px) {
  .al-spot-backdrop {
    height: 215px;
  }
  .al-spot-stage {
    margin-top: -162px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .al-spot-cover {
    width: 122px;
    border-radius: 12px;
  }
}
@media (max-width: 680px) {
  .al-estats {
    display: grid;
    gap: 12px;
  }
  .al-estat-group + .al-estat-group {
    padding-left: 0;
    border-left: 0;
  }
  .al-estat-group:nth-child(2) .al-estat-cell:last-child {
    padding-right: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.11);
  }
  .al-estat-cell {
    padding-right: 13px;
  }
  .al-estat-cell + .al-estat-cell {
    padding-left: 13px;
  }
  .al-estat-val {
    font-size: 15px;
  }
}
@media (max-width: 640px) {
  .al-spot-slide {
    padding-bottom: 24px;
  }
  .al-spot-backdrop {
    height: 205px;
  }
  .al-spot-stage {
    margin-top: -156px;
    gap: 13px;
  }
  .al-spot-body {
    gap: 8px;
  }
  .al-spot-genres .al-spot-genre:nth-child(n+5) {
    display: none;
  }
  .al-spot-desc {
    font-size: 13.5px;
    line-height: 1.58;
  }
  .al-cta-primary,
  .al-cta-secondary,
  .al-cta-ghost {
    height: 38px;
    padding: 0 15px;
    font-size: 13px;
  }
}

/* Hovercard ve Sıralama İçi Tür Etiketleri */
.al-genre-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(56, 152, 216, 0.13);
  border: 1px solid rgba(72, 180, 242, 0.18);
  color: #cae4f7;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
a.al-genre-pill:hover {
  transform: translateY(-1px);
  border-color: var(--brand);
  color: #ffffff;
}

/* =========================================== ANILIST SMILEY SCORE ICONS */
.al-smile-good { color: #4bd85a; }
.al-smile-mid  { color: #f79a63; }
.al-smile-low  { color: #e85d75; }

/* ========================================== ANILIST DISCOVERY FILTER BAR */
.al-home-wrap {
  padding-top: 24px;
}
.al-filter-bar {
  display: grid;
  grid-template-columns: minmax(190px, 1.5fr) minmax(145px, 1fr) minmax(145px, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 34px;
}
.al-filter-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.al-filter-field > label {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 0.01em;
}
.al-filter-input {
  position: relative;
  display: flex;
  align-items: center;
}
.al-filter-input > svg {
  position: absolute;
  left: 12px;
  color: var(--muted-foreground);
  pointer-events: none;
}
.al-filter-input input,
.al-filter-select {
  width: 100%;
  min-width: 0;
  height: 40px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.al-filter-input input { padding: 0 12px 0 36px; }
.al-filter-select { padding: 0 12px; }
.al-filter-input input::placeholder {
  color: var(--muted-foreground);
  font-weight: 500;
}
.al-filter-input input:focus,
.al-filter-select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(72, 180, 242, 0.18);
}
.al-filter-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}
.al-filter-btns .btn {
  height: 40px;
  padding: 0 16px;
  border-radius: 9px;
}

@media (max-width: 920px) {
  .al-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
  }
  .al-filter-actions > label { display: none; }
}
@media (max-width: 540px) {
  .al-home-wrap { padding-top: 18px; }
  .al-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
  }
  .al-filter-bar > .al-filter-field:first-child { grid-column: 1 / -1; }
  .al-filter-actions { grid-column: 1 / -1; }
  .al-filter-btns { width: 100%; }
  .al-filter-btns .btn { flex: 1 1 auto; height: 38px; font-size: 13px; }
  .al-filter-input input,
  .al-filter-select { height: 38px; font-size: 13px; }
}

/* ============================== MİNİMALİST BÖLÜM BAŞLIKLARI & POSTER KARTLARI */
.al-sections {
  display: grid;
  gap: 40px;
}
@media (max-width: 640px) {
  .al-sections { gap: 28px; }
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}
.section-header h2 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--heading);
}
.section-header .blurb {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 2px;
}
.section-header .more {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--muted-foreground);
  transition: color 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.section-header .more:hover {
  color: var(--brand);
}

/* Medya Poster Izgarası */
.anime-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 12px;
}
@media (min-width: 420px) {
  .anime-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 14px; }
}
@media (min-width: 720px) {
  .anime-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
}
@media (min-width: 960px) {
  .anime-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 20px; }
}
@media (min-width: 1180px) {
  .anime-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 22px; }
}
.anime-grid.al-rec-grid {
  grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
  gap: 18px 16px;
}

.anime-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-decoration: none;
  min-width: 0;
}
.anime-card .frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--card);
  box-shadow: 0 6px 18px rgba(0, 4, 12, 0.25);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, border-color 0.24s ease;
}
.anime-card .frame .poster {
  border-radius: 0;
}
.anime-card:hover .frame {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--media-color, var(--brand)) 55%, transparent);
  box-shadow: 0 12px 28px rgba(0, 4, 12, 0.42);
}
.anime-card .poster > img {
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), filter 0.25s ease;
}
.anime-card:hover .poster > img {
  transform: scale(1.035);
}

/* Poster Üzeri Minimalist Yumuşak Oval Oynat Butonu */
.al-card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  margin-left: -21px;
  margin-top: -21px;
  border-radius: 999px;
  background: rgba(11, 20, 31, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(0, 5, 15, 0.45);
  opacity: 0;
  transform: scale(0.84);
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
  pointer-events: none;
}
.al-card-play svg { margin-left: 1px; }
.anime-card:hover .al-card-play {
  opacity: 1;
  transform: scale(1);
}

.anime-card .lang-badges {
  top: 7px;
  left: 7px;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.anime-card:hover .lang-badges {
  opacity: 0.95;
  transform: translateY(0);
}
.anime-card .score-badge {
  top: 7px;
  right: 7px;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 11px;
  font-family: var(--font-sans);
  font-weight: 700;
  background: rgba(9, 17, 27, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}
.anime-card .live-badge {
  left: 7px;
  bottom: 7px;
  border-radius: 6px;
  padding: 2px 7px;
  background: rgba(9, 17, 27, 0.82);
  border: 1px solid rgba(75, 216, 90, 0.28);
  color: #6ee778;
}

.al-card-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.anime-card h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.16s ease;
}
.al-card-sub {
  margin: 0;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 640px) {
  .anime-card { gap: 6px; }
  .anime-card h3 { font-size: 12.5px; line-height: 1.32; }
  .al-card-sub { font-size: 11px; }
  .al-card-play { display: none; }
}
.anime-card:hover h3 {
  color: var(--media-color, var(--brand));
}

/* ==================================== ANILIST MASAÜSTÜ MEDYA HOVERCARD */
.al-media-hovercard {
  position: fixed;
  width: 276px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--popover);
  color: var(--foreground);
  box-shadow: 0 16px 40px rgba(0, 4, 12, 0.55);
  border: 1px solid var(--border);
  z-index: 95;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96) translateX(-4px);
  transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s;
}
@media (max-width: 1023px) {
  .al-media-hovercard { display: none !important; }
}
.al-media-hovercard.is-open {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateX(0);
}
.al-media-hovercard::before {
  content: '';
  position: absolute;
  top: 22px;
  left: -6px;
  width: 12px;
  height: 12px;
  background: var(--popover);
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
}
.al-media-hovercard.is-flipped::before {
  left: auto;
  right: -6px;
  border-left: 0;
  border-bottom: 0;
  border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.al-mhc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.al-mhc-season { font-size: 13.5px; font-weight: 700; color: var(--foreground); }
.al-mhc-score { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--foreground); }
.al-mhc-studio { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.al-mhc-meta { font-size: 12px; font-weight: 600; color: var(--muted-foreground); margin-bottom: 12px; }
.al-mhc-genres { display: flex; flex-wrap: wrap; gap: 6px; }

/* ====================================== ANILIST TOP 100 RANKED ROW LIST */
.al-rank-list { display: grid; gap: 12px; }
.al-rank-row {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.al-rank-num {
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 800;
  color: var(--muted-foreground);
  text-align: center;
  letter-spacing: -0.02em;
}
.al-rank-num small { font-size: 13px; font-weight: 700; opacity: 0.7; margin-right: 1px; }
.al-rank-num.is-top { color: var(--brand); }
.al-rank-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 128px 128px 136px;
  align-items: center;
  gap: 16px;
  padding: 10px 18px 10px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: transform 0.16s ease, border-color 0.16s ease;
  min-width: 0;
}
.al-rank-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--media-color, var(--brand)) 45%, var(--border));
}
.al-rank-cover {
  width: 48px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--secondary);
  flex-shrink: 0;
}
.al-rank-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.al-rank-main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.al-rank-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}
.al-rank-card:hover .al-rank-title { color: var(--media-color, var(--brand)); }
.al-rank-mobile-meta {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted-foreground);
}
.al-rank-genres { display: flex; flex-wrap: wrap; gap: 5px; }
.al-rank-col { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.al-score-line,
.al-main-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--foreground);
}
.al-sub-line {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.al-sub-line.is-live { color: #4bd85a; }

@media (max-width: 960px) {
  .al-rank-card { grid-template-columns: 48px minmax(0, 1fr) 118px; }
  .al-rank-format,
  .al-rank-season { display: none; }
}
@media (max-width: 640px) {
  .al-rank-list { gap: 10px; }
  .al-rank-row { grid-template-columns: 32px minmax(0, 1fr); gap: 8px; }
  .al-rank-num { font-size: 15px; }
  .al-rank-num small { font-size: 11.5px; }
  .al-rank-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 11px;
    padding: 8px 11px 8px 8px;
    border-radius: 9px;
  }
  .al-rank-cover { width: 46px; height: 64px; }
  .al-rank-score { display: none; }
  .al-rank-mobile-meta { display: flex; }
  .al-rank-title { font-size: 13.5px; }
  .al-rank-genres .al-genre-pill:nth-child(n+3) { display: none; }
  .al-rank-genres .al-genre-pill { height: 19px; font-size: 10px; padding: 0 8px; }
}

/* ========================= EDİTORYAL DETAY SAYFASI BANNER & POSTER (v36) */
.al-detail-banner {
  position: relative;
  width: 100%;
  height: 290px;
  background: #101b29;
  overflow: hidden;
}
.al-detail-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.al-detail-banner img.is-blurred-cover {
  filter: blur(28px) saturate(1.18) brightness(0.5);
  transform: scale(1.16);
}
.al-detail-banner-shadow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 30, 0.22) 0%, rgba(11, 19, 30, 0.58) 62%, var(--background) 100%);
}

.al-detail-header-wrap {
  background: var(--background);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.al-detail-header-grid {
  position: relative;
  z-index: 2;
  margin-top: -158px;
  display: grid;
  grid-template-columns: 204px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.al-detail-cover-col {
  display: flex;
  flex-direction: column;
  padding-bottom: 18px;
}
.al-detail-cover-box {
  width: 204px;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(0, 4, 12, 0.65);
  background: var(--secondary);
}
.al-detail-cover-box .poster {
  border-radius: 0;
}

.al-detail-actions-stack {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.al-detail-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 8px;
}
.al-watch-btn {
  height: 40px;
  border-radius: 10px;
  border: 0;
  background: #48b4f2;
  color: #07131f;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  box-shadow: 0 6px 18px rgba(72, 180, 242, 0.3);
  transition: filter 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.al-watch-btn > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.al-watch-btn:hover:not(:disabled) {
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(72, 180, 242, 0.42);
}
.al-watch-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.al-fav-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #152232;
  color: var(--muted-foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.al-fav-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(236, 41, 75, 0.5);
  color: #ec294b;
}
.al-fav-btn.fav-active {
  background: #ec294b;
  border-color: #ec294b;
  color: #ffffff;
}
.al-fav-btn.fav-active svg {
  fill: currentColor;
}

.al-trailer-side-btn {
  width: 100%;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #152232;
  color: #c5d3e2;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.al-trailer-side-btn:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.al-detail-header-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding-top: 72px;
}
.al-detail-top-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.al-detail-title-area {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.al-detail-subtitles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: #9db0c4;
}
.al-inline-lang-badges {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: static !important;
}
.al-inline-lang-badges img {
  height: 18px;
  width: auto;
  display: block;
}

.al-detail-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.al-detail-tagline {
  margin: 0;
  font-size: 13px;
  font-style: italic;
  color: var(--brand);
}

.al-detail-synopsis {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
}
.al-synopsis-body {
  display: grid;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13.8px;
  line-height: 1.62;
  color: #a3a7b2;
}
.al-detail-synopsis.is-clamped:not(.is-expanded) .al-synopsis-body {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.al-detail-synopsis.is-clamped:not(.is-expanded) .al-synopsis-body p {
  display: inline;
}
.al-detail-synopsis.is-clamped:not(.is-expanded) .al-synopsis-body p + p::before {
  content: ' ';
}
.al-synopsis-foot {
  display: flex;
  align-items: center;
  gap: 12px;
}
.al-synopsis-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
}
.al-synopsis-note {
  font-size: 11px;
  color: var(--muted-foreground);
  opacity: 0.72;
}

.al-subnav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 20px;
  padding-top: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.al-subnav::-webkit-scrollbar { display: none; }
.al-subnav a {
  padding-bottom: 12px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted-foreground);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.al-subnav a:hover,
.al-subnav a.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* Detay 2 Sütun Gövde */
.al-detail-body-grid {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 32px;
  padding-top: 26px;
  padding-bottom: 28px;
  align-items: start;
}

.al-detail-sidebar { display: grid; gap: 14px; min-width: 0; }
.al-rank-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--foreground);
}
.al-rank-highlight.is-score .ic { color: #f7b955; font-size: 15px; }
.al-rank-highlight.is-pop .ic   { color: #e85d75; font-size: 15px; }

.al-sidebar-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  display: grid;
  gap: 13px;
}
.al-data-item { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.al-data-item .dt { font-size: 12px; font-weight: 700; color: var(--heading); }
.al-data-item .dd { font-size: 12.5px; font-weight: 500; color: var(--muted-foreground); line-height: 1.45; overflow-wrap: anywhere; }
.al-data-item.is-airing .dt,
.al-data-item.is-airing .dd { color: var(--brand); font-weight: 700; }
.al-sidebar-genres { display: flex; flex-direction: column; gap: 3px; }
.al-sidebar-genres a:hover { color: var(--brand); }

.al-sidebar-section { display: grid; gap: 8px; }
.al-sidebar-heading { font-size: 13px; font-weight: 700; color: var(--heading); }
.al-tag-stack { display: grid; gap: 6px; }
.al-sidebar-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-foreground);
}
.al-sidebar-tag em { font-style: normal; font-size: 11px; opacity: 0.7; }
.al-ext-links { list-style: none; display: grid; gap: 6px; }
.al-ext-links li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--foreground);
}
.al-ext-links img { border-radius: 4px; }

.al-detail-main { display: grid; gap: 28px; min-width: 0; }
.al-content-block { display: grid; gap: 12px; min-width: 0; }
.al-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
}
.al-block-title { font-family: var(--font-sans); font-size: 14.5px; font-weight: 700; color: var(--heading); }
.al-block-sub { font-size: 12px; font-weight: 600; color: var(--muted-foreground); }
.al-ep-summary { font-size: 12.5px; color: var(--muted-foreground); line-height: 1.55; }
.al-surface-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  min-width: 0;
}
.al-prose { font-size: 13.5px; line-height: 1.65; color: var(--muted-foreground); }

.al-relations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 12px;
}
.al-relation-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 102px;
  border-radius: 9px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.al-relation-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
}
.al-relation-cover { background: var(--secondary); }
.al-relation-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.al-relation-info { padding: 10px 13px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.al-relation-type { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand); }
.al-relation-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.34;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.al-relation-meta { font-size: 11.5px; font-weight: 600; color: var(--muted-foreground); }

.al-char-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.al-char-card {
  display: flex;
  justify-content: space-between;
  height: 80px;
  border-radius: 9px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
  min-width: 0;
}
.al-char-side { display: flex; align-items: stretch; gap: 9px; min-width: 0; flex: 1; }
.al-char-side.is-right { justify-content: flex-end; text-align: right; }
.al-char-img { width: 56px; height: 80px; object-fit: cover; flex-shrink: 0; background: var(--secondary); }
.al-char-meta { padding: 9px 4px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.al-char-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.al-char-role { font-size: 11px; font-weight: 600; color: var(--muted-foreground); }

.ep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
@media (max-width: 480px) { .ep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.ep-card {
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.ep-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 50%, var(--border));
}
.ep-card .body { padding: 10px 11px; }
.ep-card .t { font-size: 12.5px; font-weight: 600; line-height: 1.35; }

/* Detay Sayfası Mobil & Tablet Düzeni (Birebir Sol Üst Poster + Altında Logo & İstatistikler) */
@media (max-width: 860px) {
  .al-detail-banner { height: 210px; }
  .al-detail-header-grid {
    margin-top: -156px;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .al-detail-cover-col {
    display: grid;
    grid-template-columns: 122px minmax(0, 1fr);
    align-items: end;
    gap: 14px;
    padding-bottom: 0;
  }
  .al-detail-cover-box {
    width: 122px;
    border-radius: 12px;
  }
  .al-detail-actions-stack { margin-top: 0; }
  .al-detail-header-content { padding-top: 0; }
  .al-detail-body-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 20px;
  }
  .al-detail-sidebar { order: 2; }
  .al-sidebar-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
  }
  .al-sidebar-genres { flex-direction: row; flex-wrap: wrap; gap: 4px 10px; }
  .al-tag-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .al-char-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .al-detail-banner { height: 200px; }
  .al-detail-cover-col {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
  }
  .al-detail-cover-box { width: 118px; }
  .al-watch-btn,
  .al-fav-btn { height: 38px; }
  .al-fav-btn { width: 38px; }
  .al-detail-actions { grid-template-columns: minmax(0, 1fr) 38px; }
  .al-subnav { gap: 18px; margin-top: 16px; }
  .al-subnav a { font-size: 13px; padding-bottom: 10px; }
  .al-relations-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .al-tag-stack { grid-template-columns: minmax(0, 1fr); }
  .al-char-card { height: 74px; }
  .al-char-img { width: 50px; height: 74px; }
  .al-char-name { font-size: 11.5px; }
  .al-surface-card { padding: 14px; }
}

/* =============================== GÖZ AT, TREND & YAYIN TAKVİMİ */
.al-browse-page { padding-top: 24px; display: grid; gap: 22px; }
@media (max-width: 640px) { .al-browse-page { padding-top: 16px; gap: 18px; } }
.al-browse-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.al-browse-head h1 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; color: var(--foreground); letter-spacing: -0.015em; }
.al-browse-sub { margin-top: 4px; font-size: 13px; color: var(--muted-foreground); }
.al-clear-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(72, 180, 242, 0.14);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}
.al-browse-filters { margin-bottom: 2px; }
.al-genre-strip,
.al-genre-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 640px) {
  .al-genre-strip { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .al-genre-strip::-webkit-scrollbar { display: none; }
}
.al-catalog-stat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; }
.al-panel-link { font-size: 12px; font-weight: 700; color: var(--brand); }
.al-live-status { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted-foreground); }

.al-segmented {
  display: inline-flex;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--card);
  gap: 4px;
}
.al-segmented::-webkit-scrollbar { display: none; }
.al-segmented a {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted-foreground);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.al-segmented a.active,
.al-segmented a:hover {
  background: var(--brand);
  color: #07131f;
}

.al-airing-days { display: grid; gap: 26px; }
.al-airing-day-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.al-airing-day-head h2 { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; color: var(--heading); }
.al-today-pill { padding: 2px 9px; border-radius: 999px; background: var(--brand); color: #07131f; font-size: 10.5px; font-weight: 700; text-transform: uppercase; }
.al-day-count { font-size: 12px; font-weight: 700; color: var(--muted-foreground); }
.al-airing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
@media (max-width: 640px) { .al-airing-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
.al-airing-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  min-height: 104px;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.al-airing-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--media-color, var(--brand)) 45%, var(--border));
}
.al-airing-cover .poster { height: 100%; aspect-ratio: auto; border-radius: 0; }
.al-airing-info { padding: 10px 13px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.al-airing-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}
.al-airing-card:hover .al-airing-title { color: var(--media-color, var(--brand)); }
.al-airing-ep { font-size: 12px; font-weight: 700; color: var(--brand); }
.al-airing-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; font-weight: 600; color: var(--muted-foreground); }
.al-airing-foot > span { display: inline-flex; align-items: center; gap: 5px; }

/* =================== İZLEME, HABERLER & GİRİŞ SAYFALARI */
.watch-toolbar {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 10px 14px;
  gap: 10px;
}
.watch-toolbar .watch-select {
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--secondary);
  font-weight: 600;
}
.vidsrc-player,
.player {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgba(0, 4, 12, 0.5);
}
.vidsrc-gate .vg-play span,
.player .big-play span {
  border-radius: 999px;
  background: var(--brand);
  color: #07131f;
  box-shadow: 0 12px 32px rgba(72, 180, 242, 0.42);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.vidsrc-gate:hover .vg-play span,
.player .big-play:hover span { transform: scale(1.08); }

.news-card {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.news-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
}

.auth-card { border-radius: 12px; border: 1px solid var(--border); background: var(--card); }
.auth-tabs { border-radius: 9px; padding: 4px; background: var(--secondary); }
.auth-tabs button { border-radius: 6px; font-weight: 700; }
.comment { border-radius: 10px; }

/* ==========================================================================
   v37 — MAT SİYAH MİNİMALİST TEMA, MENÜLER, POSTER KARTLARI & MÜZİK KUTULARI
   ========================================================================== */

html,
body,
body.al-body {
  background-color: #0b0b0d !important;
  color: #f4f4f6;
}

/* ---- Genel Yüzeyler, Formlar, Paneller ve Düğmeler (Saf Mat Siyah Uyum) ---- */
.panel,
.al-sidebar-box,
.al-content-block,
.auth-card,
.comment,
.news-card,
.empty-card,
.dialog-card,
.ep-card,
.al-relation-card,
.al-char-card,
.al-rank-row,
.watch-bar,
.schedule-card,
.stat-card {
  background: #131417 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.input,
.select,
.textarea,
.al-filter-select,
.al-filter-input,
.watch-select {
  background: #111216 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #f4f4f6 !important;
  border-radius: 12px;
}
.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(242, 240, 232, 0.36) !important;
  box-shadow: 0 0 0 3px rgba(242, 240, 232, 0.08) !important;
}

.btn-default {
  background: var(--cream) !important;
  color: var(--cream-ink) !important;
  border: 1px solid transparent !important;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.btn-default:hover {
  background: #ffffff !important;
  color: #09090b !important;
}
.btn-outline {
  background: #16171c !important;
  color: #e6e7ec !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px;
}
.btn-outline:hover {
  background: #1f2128 !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

/* ================================ 1:1 MAT SİYAH ÜST MENÜ (#al-nav) */
#al-nav.al-navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: auto !important;
  min-height: 60px;
  background: rgba(11, 11, 13, 0.86) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: none !important;
}

#al-nav .al-nav-wrap {
  max-width: 1380px;
  height: 60px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.al-back-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f4f4f6;
  background: transparent;
  flex-shrink: 0;
  margin-left: -6px;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.al-back-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
@media (min-width: 1024px) {
  .al-back-btn { display: none; }
}

#al-nav .al-nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

#al-nav .al-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}
#al-nav .al-brand-emblem {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#al-nav .al-brand-emblem img,
#al-nav .al-brand-emblem svg {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain;
}
#al-nav .al-brand-word {
  display: none !important;
}

@media (max-width: 1023px) {
  #al-nav .al-brand.is-subpage {
    display: none;
  }
}

#al-nav .al-nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}
@media (min-width: 1024px) {
  #al-nav .al-nav-links {
    display: flex;
  }
}
#al-nav .al-nav-link {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #9ca0aa;
  transition: color 0.16s ease, background-color 0.16s ease;
  white-space: nowrap;
}
#al-nav .al-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}
#al-nav .al-nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

#al-nav .al-nav-center {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 4px;
}

#al-nav .al-nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

/* Geniş ve Ortalı Yuvarlak Kapsül Arama Çubuğu */
#al-nav .al-nav-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 540px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px !important;
  background: #141519 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #8b8f99;
  min-width: 0;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
#al-nav .al-nav-search:focus-within {
  background: #191a20 !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  color: #f4f4f6;
}
#al-nav .al-nav-search svg {
  position: static !important;
  transform: none !important;
  flex-shrink: 0;
  color: #8b8f99;
}
#al-nav .al-nav-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #f4f4f6 !important;
  font-size: 14px;
  font-weight: 500;
  outline: none !important;
  box-shadow: none !important;
}
#al-nav .al-nav-search input::placeholder {
  color: #8b8f99;
  opacity: 1;
}

/* Sıcak Krem-Beyaz Kapsül "Giriş Yap" Butonu */
#al-nav .al-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px !important;
  background: var(--cream) !important;
  color: var(--cream-ink) !important;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  border: 0 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.34);
  transition: transform 0.15s ease, background-color 0.15s ease;
}
#al-nav .al-login-btn:hover {
  background: #ffffff !important;
  transform: translateY(-1px);
}

#al-nav .al-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #15161b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d6d9e0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
#al-nav .al-user-trigger {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: #18191f;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
#al-nav .al-user-dropdown {
  background: #15161a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
}

#al-nav.al-navbar.is-scrolled {
  background: rgba(11, 11, 13, 0.96) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55) !important;
}
#al-nav.al-navbar::after,
.al-mobile-nav::before {
  display: none !important;
}
#al-nav .al-brand-word {
  display: inline-block !important;
  font-size: 18px;
}
@media (max-width: 355px) {
  #al-nav .al-brand-word { display: none !important; }
}
@media (max-width: 640px) {
  #al-nav .search-suggest {
    position: fixed !important;
    top: 64px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    background: #131417 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
  }
}
@media (max-width: 390px) {
  #al-nav .al-nav-wrap { padding: 0 12px; gap: 8px; }
  #al-nav .al-brand-word { font-size: 17px; }
  #al-nav .al-login-btn { padding: 0 13px; font-size: 13px; }
}

/* ================================ 1:1 ANA SAYFA VİTRİN (Üst/Alt Taşma ve Boşluk Hatası Giderildi) */
#hero-carousel.al-spot {
  display: block !important;
  position: relative !important;
  width: 100%;
  background: #0b0b0d !important;
  border-bottom: 0 !important;
  overflow: hidden;
}

#hero-carousel .al-spot-slide {
  display: none !important;
  grid-area: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  position: relative !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
#hero-carousel .al-spot-slide.active {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: stretch !important;
  min-height: 360px !important;
}
@media (min-width: 900px) {
  #hero-carousel .al-spot-slide.active {
    min-height: 500px !important;
  }
}

#hero-carousel .al-spot-backdrop {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  overflow: hidden !important;
  background: #0b0b0d !important;
}
#hero-carousel .al-spot-backdrop img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 20% !important;
  filter: saturate(1.04) brightness(0.72);
  transform: scale(1.01);
}
#hero-carousel .al-spot-backdrop img.is-cover-blur {
  filter: blur(22px) saturate(1.1) brightness(0.48);
  transform: scale(1.12);
}
#hero-carousel .al-spot-fallback {
  background: radial-gradient(ellipse at 30% 20%, #1c1d23 0%, #0b0b0d 72%) !important;
}
#hero-carousel .al-spot-backdrop-fade {
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.3) 0%, rgba(11, 11, 13, 0.56) 46%, rgba(11, 11, 13, 0.94) 84%, #0b0b0d 100%),
    linear-gradient(90deg, rgba(11, 11, 13, 0.86) 0%, rgba(11, 11, 13, 0.44) 58%, rgba(11, 11, 13, 0.2) 100%) !important;
}

#hero-carousel .al-spot-stage {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 28px !important;
  padding-bottom: 16px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 28px !important;
}
@media (min-width: 900px) {
  #hero-carousel .al-spot-stage {
    padding-top: 64px !important;
    padding-bottom: 24px !important;
    gap: 36px !important;
  }
}

#hero-carousel .al-spot-body {
  max-width: 640px;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 11px !important;
  min-width: 0;
}

.al-spot-pill {
  display: inline-flex;
  align-items: center;
  height: 27px;
  padding: 0 13px;
  border-radius: 999px;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1.25px solid rgba(255, 255, 255, 0.36) !important;
  color: #f4f4f6;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.al-spot-body .anime-logo-wrap.is-hero .anime-logo-img {
  max-height: 70px;
  max-width: min(290px, 80vw);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.8));
}
@media (min-width: 900px) {
  .al-spot-body .anime-logo-wrap.is-hero .anime-logo-img {
    max-height: 102px;
    max-width: 420px;
  }
}

.al-spot-desc {
  margin: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.56 !important;
  color: #d6d8df !important;
  max-width: 580px;
  display: block !important;
  -webkit-line-clamp: unset !important;
}
@media (min-width: 768px) {
  .al-spot-desc { font-size: 14px !important; }
}
.al-spot-more {
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: none;
}
.al-spot-more:hover {
  text-decoration: underline;
}

.al-spot-genre-dots {
  margin: 1px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: #d4d6dc !important;
}
.al-spot-genre-dots .dot {
  color: rgba(255, 255, 255, 0.38) !important;
}

.al-spot-actions {
  margin-top: 3px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* Sıcak Krem-Beyaz "▶ Hemen İzle" Kapsülü */
.al-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  background: var(--cream) !important;
  color: var(--cream-ink) !important;
  font-size: 14px !important;
  font-weight: 800;
  border: 0 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
  transition: transform 0.16s ease, background-color 0.16s ease;
}
.al-cta-primary:hover {
  background: #ffffff !important;
  color: #000000 !important;
  transform: translateY(-1px);
}

.al-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  background: transparent !important;
  border: 1.35px solid rgba(255, 255, 255, 0.38) !important;
  color: #f4f4f6 !important;
  font-family: var(--font-display) !important;
  font-size: 14px !important;
  font-weight: 620 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.al-cta-secondary:hover {
  background: transparent !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.al-cta-ghost {
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  border: 1.35px solid rgba(255, 255, 255, 0.38) !important;
  color: #f4f4f6 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.al-cta-ghost:hover {
  background: transparent !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}
.al-spot-actions .is-hollow svg [fill-opacity] {
  fill-opacity: 0 !important;
}

.al-spot-cover {
  display: none !important;
}
@media (min-width: 980px) {
  .al-spot-cover {
    display: block !important;
    width: 196px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65);
  }
}

/* Yatay Çizgi Slider Göstergeleri (Siyah & Beyaz Monokrom: ━━━ ── ── ──) */
#hero-carousel .al-spot-dashes-wrap {
  position: relative !important;
  z-index: 4 !important;
  margin-top: 0 !important;
  padding-top: 2px !important;
  padding-bottom: 10px !important;
}
.al-spot-topdots {
  position: static !important;
  transform: none !important;
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.al-spot-dot {
  width: 18px !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.22) !important;
  border: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  transition: width 0.22s ease, background-color 0.22s ease;
}
.al-spot-dot.active {
  width: 32px !important;
  background: var(--cream) !important;
}

/* =================== KATEGORİ BAŞLIKLARI (< > OKLAR) & POSTER KARTLARI */
.al-home-wrap {
  padding-top: 18px !important;
  padding-bottom: 24px;
}
.al-sections {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px !important;
}
.section-header h2 {
  font-size: 19px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  margin: 0;
}
@media (min-width: 768px) {
  .section-header h2 { font-size: 21px !important; }
}
.section-header-right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.section-header .more {
  font-size: 13px;
  font-weight: 600;
  color: #8e929b !important;
}
.section-header .more:hover {
  color: #ffffff !important;
}
@media (max-width: 639px) {
  .hide-mobile { display: none !important; }
}

.al-sec-arrows {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.al-sec-arrow {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #15161b;
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #d6d9e0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.al-sec-arrow:hover {
  background: #1f2128;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Galeri Izgarası (Screenshot 010818: Mobilde 2 Sütun, Yuvarlatılmış Köşeli Posterler) */
.anime-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px 14px !important;
}
@media (min-width: 640px) {
  .anime-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 22px 16px !important; }
}
@media (min-width: 900px) {
  .anime-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 24px 18px !important; }
}
@media (min-width: 1140px) {
  .anime-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 26px 20px !important; }
}

/* Yatay Kaydırılabilir Carousel Modu (Son Eklenen Bölümler / Trend [<] [>]) */
.anime-grid.is-carousel {
  display: grid !important;
  grid-auto-flow: column;
  grid-template-columns: unset !important;
  grid-auto-columns: calc((100% - 14px) / 2);
  gap: 14px !important;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.anime-grid.is-carousel::-webkit-scrollbar { display: none; }
.anime-grid.is-carousel > .anime-card { scroll-snap-align: start; }

@media (min-width: 640px) {
  .anime-grid.is-carousel { grid-auto-columns: calc((100% - 32px) / 3); gap: 16px !important; }
}
@media (min-width: 900px) {
  .anime-grid.is-carousel { grid-auto-columns: calc((100% - 54px) / 4); gap: 18px !important; }
}
@media (min-width: 1180px) {
  .anime-grid.is-carousel { grid-auto-columns: calc((100% - 100px) / 6); gap: 20px !important; }
}

/* 1:1 Saf Yuvarlatılmış Poster Kartı (Screenshot 010818 & 005955) */
.anime-card {
  gap: 10px !important;
}
.anime-card .frame {
  border-radius: 14px !important;
  background: #131417 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38) !important;
}
.anime-card:hover .frame {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.58) !important;
}

/* Mobilde afişin üstünü kapatan rozet kalabalığı sıfır — sadece saf kapak görseli */
.anime-card .score-badge {
  opacity: 0;
  transition: opacity 0.18s ease;
  background: rgba(11, 11, 13, 0.84) !important;
  border-radius: 8px !important;
}
@media (hover: hover) {
  .anime-card:hover .score-badge { opacity: 1; }
}

.al-card-play {
  background: var(--cream) !important;
  color: var(--cream-ink) !important;
  border: 0 !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55) !important;
}

.al-card-caption {
  gap: 3px !important;
  padding: 0 2px;
}
.anime-card h3 {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #f4f4f6 !important;
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  -webkit-line-clamp: 1 !important;
}
.anime-card:hover h3 {
  color: #ffffff !important;
}
.al-card-sub {
  margin: 0;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: #8a8e98 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =================== 1:1 DETAY SAYFASI VİTRİNİ (Screenshot 010715 & 010020) */
.ag-detail-v37 {
  position: relative;
  background: #0b0b0d;
}

.ag-detail-v37 .al-detail-banner {
  position: relative;
  height: 300px !important;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, #1d1e24 0%, #0b0b0d 78%) !important;
}
@media (min-width: 768px) {
  .ag-detail-v37 .al-detail-banner { height: 390px !important; }
}
.ag-detail-v37 .al-detail-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0.78;
}
.ag-detail-v37 .al-detail-banner img.is-blurred-cover {
  filter: blur(18px) saturate(1.1) brightness(0.6);
  transform: scale(1.1);
}
.ag-detail-v37 .al-detail-banner-shadow {
  position: absolute;
  inset: 0;
  z-index: 2 !important;
  pointer-events: none !important;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.16) 0%, rgba(11, 11, 13, 0.58) 58%, #0b0b0d 100%) !important;
}

.ag-detail-hero-wrap {
  position: relative;
  z-index: 3;
  margin-top: -135px;
  padding-bottom: 10px;
}
@media (min-width: 768px) {
  .ag-detail-hero-wrap { margin-top: -175px; }
}

.ag-detail-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Merkezi Logo + Tür + Krem "▶ İzle: S1 B1" + Yuvarlak "+" & Fragman Butonları */
.ag-detail-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.ag-detail-logo-slot {
  display: flex;
  justify-content: center;
  width: 100%;
}
.ag-detail-logo-slot .anime-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ag-detail-logo-slot .anime-logo-img {
  max-height: 92px !important;
  max-width: min(320px, 84vw) !important;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 26px rgba(0, 0, 0, 0.85));
}
@media (min-width: 768px) {
  .ag-detail-logo-slot .anime-logo-img {
    max-height: 122px !important;
    max-width: 440px !important;
  }
}
.ag-detail-logo-slot .anime-logo-heading {
  text-align: center;
  font-size: clamp(24px, 5vw, 38px);
  font-weight: 900;
  color: #ffffff;
}

.ag-detail-subline {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #b4b8c2;
}

.ag-detail-cta-row {
  margin-top: 2px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ag-watch-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--cream-ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  transition: transform 0.16s ease, background-color 0.16s ease;
}
.ag-watch-pill:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-1px);
}
.ag-watch-pill.is-soon {
  background: #1b1c22;
  color: #9ca0aa;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: not-allowed;
}

.ag-circle-btn {
  width: 48px;
  height: 48px;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  vertical-align: middle;
  border-radius: 999px;
  background: #18191f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f4f4f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.ag-circle-btn:hover {
  background: #23252e;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.ag-circle-btn .ic-plus,
.ag-circle-btn .ic-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  line-height: 0;
}
.ag-circle-btn svg {
  display: block;
  margin: 0;
}
.ag-circle-btn .ic-check { display: none; }
.ag-circle-btn.fav-active {
  background: var(--cream);
  color: var(--cream-ink);
  border-color: var(--cream);
}
.ag-circle-btn.fav-active .ic-plus { display: none; }
.ag-circle-btn.fav-active .ic-check { display: inline-flex; }

.ag-countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #15161b;
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #c8ccd6;
  font-size: 13px;
  font-weight: 500;
}
.ag-countdown-pill b {
  color: #ffffff;
  font-weight: 700;
}

/* Konu, DAHA FAZLA kapsülü, Teknik Bilgi & Canlı Bitiş Saati */
.ag-detail-story {
  max-width: 880px;
  width: 100%;
  margin: 4px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ag-detail-tagline {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.45;
  color: #ffffff;
}

.ag-detail-v37 .al-detail-synopsis .al-synopsis-body p {
  color: #c4c8d2 !important;
  font-size: 14.5px;
  line-height: 1.65;
}
.ag-detail-v37 .al-detail-synopsis.is-clamped:not(.is-expanded) .al-synopsis-body {
  max-height: 6.6em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
}

.ag-more-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: #17181e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e4e6ec;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.ag-more-pill:hover {
  background: #22242c;
  border-color: rgba(255, 255, 255, 0.24);
}

.ag-detail-techline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: #9ca0aa;
}
.ag-detail-techline .sep {
  color: #5b5f69;
}
.ag-tech-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 6px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e4e6ec;
  background: #15161b;
}
.ag-score-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 21px;
  padding: 0 7px;
  border-radius: 5px;
  background: #16171d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f4f4f6;
  font-size: 11.5px;
  font-weight: 700;
}
.ag-score-chip b {
  color: #8e929b;
  font-weight: 800;
  font-size: 10.5px;
}

.ag-binge-line {
  margin: -2px 0 0;
  font-size: 13px;
  color: #848892;
}

.ag-genre-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.ag-genre-pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 13px;
  border-radius: 8px;
  background: #131418;
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #d6d9e0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.ag-genre-pill:hover {
  background: #1c1e24;
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.ag-detail-v37 .al-subnav {
  max-width: 880px;
  width: 100%;
  margin: 6px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 10px;
}

.al-genre-cloud .tag {
  background: #131417 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  color: #d8dbe2 !important;
}
.al-genre-cloud .tag:hover {
  background: #1b1d23 !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
}

/* =================== 1:1 SAF SİYAH 4 SÜTUNLU FOOTER (Screenshot 005955) */
.al-footer {
  background: #08080a !important;
  color: #8a8e98;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 40px 0 30px;
  margin-top: 56px;
}
.al-footer-shell {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.al-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 20px;
}
@media (min-width: 820px) {
  .al-footer-grid {
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 32px;
  }
}

.al-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.al-footer-col h4 {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #ffffff;
}
.al-footer-about {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #8a8e98;
}
.al-footer-col a {
  font-size: 13.5px;
  font-weight: 500;
  color: #8a8e98;
  text-decoration: none;
  transition: color 0.15s ease;
}
.al-footer-col a:hover {
  color: #ffffff;
}
.al-footer-discord {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #14151a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d6d9e0 !important;
  font-size: 12.5px;
  font-weight: 600;
}
.al-footer-discord:hover {
  background: #1d1f26;
  color: #ffffff !important;
}

.al-footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  font-size: 12px;
  color: #686c76;
}
.al-footer-bottom span {
  font-weight: 700;
  color: #9ca0aa;
}
.al-footer-bottom p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 1023px) {
  .al-footer {
    padding-bottom: calc(28px + 64px + env(safe-area-inset-bottom, 0px));
  }
}

/* =================== 1:1 4 ÖĞELİ SAF SİYAH MOBİL ALT BAR */
.al-mobile-nav {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  background: rgba(9, 9, 11, 0.98) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.65) !important;
  padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  z-index: 55 !important;
}
.al-mobile-nav .grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: center;
  height: 60px;
}
.al-mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 60px;
  padding: 4px 2px !important;
  color: #7c808a !important;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  min-width: 0;
  transition: color 0.15s ease;
}
.al-mobile-nav a span {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.al-mobile-nav a.active {
  color: #ffffff !important;
}
@media (min-width: 1024px) {
  .al-mobile-nav { display: none !important; }
}

/* =================== SIFIR MAVİ — SAF SİYAH & BEYAZ MONOKROM TİPOGRAFİ VE ROZETLER */
::selection {
  background: rgba(242, 240, 232, 0.24) !important;
  color: #ffffff !important;
}

/* Açık krem zeminli tüm birincil buton/rozetlerde koyu siyah metin garantisi */
.tag.active,
.btn-default,
.comments-locked .login-btn,
.player .big-play span,
.vidsrc-gate .vg-play,
.notif-new-badge,
.remind-btn.on,
.ticker-tag,
.al-today-pill,
.pager-num.active,
.al-filter-chip.active {
  background: var(--cream) !important;
  color: var(--cream-ink) !important;
  border-color: var(--cream) !important;
}
.vidsrc-gate .vg-play:hover,
.player .big-play span:hover,
.comments-locked .login-btn:hover {
  background: #ffffff !important;
  color: #000000 !important;
}

/* Tüm eski mavi yazı, etiket, sekme ve bağlantıların siyah/beyaz monokrom karşılıkları */
.text-primary,
.text-brand-bright,
.text-brand-live,
.btn-link,
.watch-crumb,
.watch-crumb strong,
.al-subnav a.active,
.al-relation-type,
.al-panel-link,
.al-airing-ep,
.al-data-item.is-airing .dd,
.cal-day .time,
.char-row .role,
.pcomment-list .goto,
.comment-actions button.replies-toggle,
.admin-comment-list .l1 a.anime,
.hovercard .foot a,
.al-user-dropdown a.is-admin,
.al-drawer-link.active,
.al-drawer-link.active svg,
.al-drawer-sublink.is-admin {
  color: #f4f4f6 !important;
}
.al-subnav a.active {
  border-bottom-color: #ffffff !important;
}
.badge-primary,
.badge-editor,
.al-genre-pill,
.al-spot-genre {
  background: #17181d !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #e4e6ec !important;
}
a.tag:hover,
button.tag-link:hover .tag,
.pager-num:hover,
.season-tab.active,
.ep-btn.active,
.source-chip.active,
.sort-tabs button.active {
  background: #1d1f26 !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
}
.season-tab.active .st-c {
  background: var(--cream) !important;
  color: var(--cream-ink) !important;
}
.auth-bg {
  background: radial-gradient(110% 70% at 50% -10%, rgba(255, 255, 255, 0.05), transparent 60%) !important;
}

/* ---- Profil & Yönetim Sayfaları ---- */
.profile-banner { height: 190px; }
@media (min-width: 768px) { .profile-banner { height: 285px; } }
.profile-portrait { border-radius: 12px; }

@media (max-width: 640px) {
  .admin-tabs,
  .profile-tabs {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .admin-tabs::-webkit-scrollbar,
  .profile-tabs::-webkit-scrollbar { display: none; }
  .admin-tabs a,
  .profile-tabs a { white-space: nowrap; flex-shrink: 0; }
  .doc-page table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
}

/* ==========================================================================
   v40 — CLASH DISPLAY + CLASH GROTESK SÜPER AİLE & OBSIDIAN DUO-BULK İKON SİSTEMİ
   ========================================================================== */
body,
.al-body {
  font-family: var(--font-sans);
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

h1,
h2,
.section-header h2,
.panel-header h2,
.al-block-title,
.anime-logo-heading,
.ag-detail-fallback-title,
.al-spot-fallback-title,
#al-nav .al-brand-word,
.al-footer-brand-name,
.al-footer-col h4 {
  font-family: var(--font-display) !important;
  font-weight: 630 !important;
  letter-spacing: -0.012em !important;
}

.section-header h2 {
  font-weight: 640 !important;
  letter-spacing: -0.014em !important;
}

#al-nav .al-brand-word,
.al-footer-brand-name {
  font-weight: 680 !important;
  letter-spacing: -0.018em !important;
}

.al-cta-primary,
.ag-watch-pill,
#al-nav .al-login-btn {
  font-family: var(--font-display) !important;
  font-weight: 620 !important;
  letter-spacing: -0.008em;
}

.al-cta-ghost,
#al-nav .al-nav-link,
.al-subnav a,
.season-tab,
.btn {
  font-family: var(--font-sans) !important;
  font-weight: 560;
}

.anime-card h3 {
  font-family: var(--font-display) !important;
  font-weight: 580 !important;
  letter-spacing: -0.006em;
}

.al-mobile-nav a {
  font-family: var(--font-sans) !important;
  font-weight: 560;
  letter-spacing: 0.005em;
}

.al-spot-meta,
.ag-detail-meta-strip,
.ag-detail-binge-line,
.ep-card .s,
.al-card-ep-badge,
.al-card-score-badge,
.notif-pill {
  font-variant-numeric: tabular-nums;
}

/* Obsidian Duo-Bulk SVG İkon Rafinesi */
svg[data-lib] {
  flex-shrink: 0;
  shape-rendering: geometricPrecision;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), color 0.18s ease, opacity 0.18s ease;
}

.al-mobile-nav a svg[data-lib] {
  width: 21px;
  height: 21px;
  opacity: 0.78;
}

.al-mobile-nav a.active svg[data-lib] {
  opacity: 1;
  transform: translateY(-1.5px) scale(1.04);
  filter: drop-shadow(0 2px 8px rgba(242, 240, 232, 0.22));
}

#al-nav .al-icon-btn:hover svg[data-lib],
.al-sec-nav-btn:hover svg[data-lib],
.ag-circle-action:hover svg[data-lib] {
  transform: scale(1.07);
}

/* ==========================================================================
   v41 — BÖLÜM KARTLARI GÖRSEL MİMARİSİ & OBSIDIAN BENTO PROFİL SİSTEMİ
   ========================================================================== */

/* 1) Bölüm Kartları (.ep-card & .ep-thumb-wrap — %100 16:9 HD Görsel) */
.ep-card {
  display: flex !important;
  flex-direction: column;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #131417 !important;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}
.ep-card:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 240, 232, 0.28) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}
.ep-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1b20;
  flex-shrink: 0;
}
.ep-thumb-wrap img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.ep-card:hover .ep-thumb-wrap img {
  transform: scale(1.045);
}
.ep-thumb-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 13, 0.06) 45%, rgba(11, 11, 13, 0.68) 100%);
  pointer-events: none;
}
.ep-num-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(11, 11, 13, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f4f4f6;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}
.ep-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%) scale(0.88);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(242, 240, 232, 0.94);
  color: #0b0c0e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.ep-card:hover .ep-play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.ep-card .body {
  padding: 10px 12px 11px !important;
}
.ep-card .t {
  font-size: 12.5px !important;
  font-weight: 560 !important;
  color: #f4f4f6 !important;
  line-height: 1.38;
}
.ep-card:hover .t {
  color: #ffffff !important;
}

/* 2) Obsidian Bento Profil Sistemi (.ag-pf-*) */
.ag-pf-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 0 !important;
  padding-bottom: 10px;
}
.ag-pf-banner {
  position: relative;
  z-index: 0;
  height: 185px !important;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #1d1f26 0%, #0b0b0d 82%);
}
@media (min-width: 768px) {
  .ag-pf-banner { height: 245px !important; }
}
.ag-pf-banner .overlay {
  background: linear-gradient(180deg, rgba(11, 11, 13, 0.12) 0%, rgba(11, 11, 13, 0.66) 68%, #0b0b0d 100%) !important;
}

/* Çerçeveye özel efekt videosu (.profile-vfx) ve parçacıklar (.profile-fx):
   Kart yüzeyinin (z-index: 1) ÖNÜNDE (z-index: 2), metin/butonların (z-index: 3) altında akar;
   böylece efekt videosu kartın arkasında kaybolmaz ve tıklamaları engellemez. */
.ag-pf-hero > .ag-pf-header-wrap {
  position: relative;
  z-index: auto !important;
  margin-top: -64px;
}
@media (min-width: 768px) {
  .ag-pf-hero > .ag-pf-header-wrap { margin-top: -78px; }
}

.ag-pf-hero .profile-vfx {
  position: absolute;
  inset: 0;
  z-index: 2 !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none !important;
  opacity: 0.28;
  mix-blend-mode: normal;
  animation: agPfxVideoBreath 6.5s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
}
@keyframes agPfxVideoBreath {
  0%   { opacity: 0.18; }
  50%  { opacity: 0.44; }
  100% { opacity: 0.18; }
}
.ag-pf-hero .profile-fx {
  position: absolute;
  inset: 0;
  z-index: 2 !important;
  pointer-events: none !important;
}

.ag-pf-card {
  position: relative;
  z-index: auto !important;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border-radius: 20px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.ag-pf-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 20px;
  background: rgba(19, 20, 23, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.52);
  pointer-events: none;
}
.ag-pf-hero.has-vfx .ag-pf-card::before {
  background: rgba(16, 17, 21, 0.72);
  border-color: rgba(255, 255, 255, 0.13);
}
@media (min-width: 820px) {
  .ag-pf-card {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 28px;
    gap: 24px;
  }
}

.ag-pf-identity {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  flex: 1 1 auto;
}
@media (min-width: 560px) {
  .ag-pf-identity {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
}

.ag-pf-avatar {
  width: 92px !important;
  height: 92px !important;
  border-radius: 22px !important;
  border: 3px solid #0b0b0d !important;
  background: #1c1e24 !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .ag-pf-avatar {
    width: 112px !important;
    height: 112px !important;
    border-radius: 26px !important;
  }
}
.ag-pf-avatar.framed {
  overflow: visible !important;
  border-radius: 50% !important;
  border-color: transparent !important;
  background: transparent !important;
}
.ag-pf-avatar.framed > img:first-child {
  border-radius: 50% !important;
}
.ag-pf-avatar.framed .av-frame {
  z-index: 4 !important;
}

.ag-pf-info {
  min-width: 0;
  flex: 1 1 auto;
}
.ag-pf-name {
  margin: 0;
  font-size: clamp(20px, 3.2vw, 26px) !important;
  line-height: 1.2;
  color: #ffffff;
}
.ag-pf-handle {
  margin: 3px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: #8e929b;
}
.ag-pf-tagline {
  margin: 8px 0 0;
  font-size: 13.5px;
  font-weight: 520;
  color: #e4e6ec;
  line-height: 1.45;
}
.ag-pf-bio {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: #9ca0aa;
  max-width: 620px;
  white-space: pre-wrap;
}

.ag-pf-meta-chips {
  margin-top: 11px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.ag-pf-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 27px;
  padding: 0 11px;
  border-radius: 999px;
  background: #191a20;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a3a7b2;
  font-size: 11.5px;
  font-weight: 500;
  text-decoration: none;
}
.ag-pf-meta-pill.is-link {
  color: #f2f0e8;
  border-color: rgba(242, 240, 232, 0.22);
}
.ag-pf-meta-pill.is-link:hover {
  background: #22242c;
}
.ag-pf-hidden-note {
  margin: 9px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #7d818b;
}

.ag-pf-actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.ag-pf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}
.ag-pf-btn.is-primary {
  background: var(--cream);
  color: var(--cream-ink);
  border: 1px solid var(--cream);
}
.ag-pf-btn.is-primary:hover {
  background: #ffffff;
  border-color: #ffffff;
  transform: translateY(-1px);
}
.ag-pf-btn.is-ghost {
  background: #191b21;
  color: #f4f4f6;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.ag-pf-btn.is-ghost:hover {
  background: #22242c;
  border-color: rgba(255, 255, 255, 0.24);
}
.ag-pf-btn.like-btn.active {
  border-color: rgba(242, 240, 232, 0.45);
  background: #22242c;
}
.ag-pf-btn .cnt {
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.ag-pf-icon-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  background: #191b21;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca0aa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ag-pf-icon-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.ag-pf-main {
  display: grid;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 36px;
}

.ag-pf-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 768px) {
  .ag-pf-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}
.ag-pf-stat-card {
  padding: 15px 18px;
  border-radius: 16px;
  background: #131417;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ag-pf-stat-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 660;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.ag-pf-stat-lbl {
  font-size: 12px;
  font-weight: 500;
  color: #8e929b;
}

.ag-pf-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.ag-pf-tabs::-webkit-scrollbar { display: none; }
.ag-pf-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #131417;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca0aa;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 580;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.ag-pf-tab:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}
.ag-pf-tab.active {
  background: var(--cream);
  color: var(--cream-ink);
  border-color: var(--cream);
}
.ag-pf-tab small {
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.ag-pf-tab.active small {
  background: rgba(11, 12, 14, 0.14);
  color: var(--cream-ink);
}

.ag-pf-panel {
  display: grid;
  gap: 18px;
}
.ag-pf-panel.hidden {
  display: none !important;
}

.ag-pf-section {
  padding: 18px 20px;
  border-radius: 18px;
  background: #131417;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ag-pf-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.ag-pf-sec-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 640;
  color: #ffffff;
}
.ag-pf-sec-head .sub {
  font-size: 12px;
  color: #8e929b;
  font-variant-numeric: tabular-nums;
}

.ag-pf-bento-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
@media (min-width: 860px) {
  .ag-pf-bento-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ag-pf-history-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 720px) {
  .ag-pf-history-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.ag-pf-history-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 14px;
  background: #18191e;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
}
.ag-pf-history-grid li .cover {
  width: 46px;
  height: 64px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
}
.ag-pf-mini-play {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--cream-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.ag-pf-mini-play:hover {
  background: #ffffff;
  transform: scale(1.06);
}

.ag-pf-char-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 14px;
  background: #18191e;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.ag-pf-char-box img,
.ag-pf-char-box .noimg {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  background: #22242c;
}
.ag-pf-char-box .name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 620;
  color: #ffffff;
}
.ag-pf-char-box .media {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: #9ca0aa;
  text-decoration: none;
}
.ag-pf-char-box a.media:hover {
  color: #ffffff;
}

.ag-pf-comments li {
  border-radius: 14px !important;
  background: #18191e !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  padding: 12px 14px !important;
}
.ag-pf-comments .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ag-pf-comments .goto {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--cream) !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.ag-pf-comments .when {
  margin: 0 !important;
}

.ag-pf-empty-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 13px;
  background: #17181d;
  border: 1px dashed rgba(255, 255, 255, 0.11);
  font-size: 13px;
  color: #8e929b;
}
.ag-pf-link-btn {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--cream-ink);
  border: 0;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 620;
  cursor: pointer;
}
.ag-pf-empty-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: 18px;
  background: #131417;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ag-pf-empty-box .t {
  margin: 0;
  font-size: 14.5px;
  font-weight: 620;
  color: #ffffff;
}
.ag-pf-empty-box .d {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: #8e929b;
}

/* Hesabım sayfasındaki stat-strip de modern yuvarlatılmış Bento görünümü alsın */
.stat-strip {
  border-radius: 14px !important;
  background: #131417 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================================
   v42 — 3'LÜ FAVORİ ANİME IZGARASI & OBSIDIAN BENTO KÜTÜPHANEM (.ag-lib-*)
   ========================================================================== */

/* Profil & Kütüphane: Favori / Kayıtlı Animeler 3 Sütunlu Izgara */
.anime-grid.fav-mini {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px 10px !important;
}
@media (min-width: 960px) {
  .anime-grid.fav-mini {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 20px 16px !important;
  }
}
@media (max-width: 639px) {
  .anime-grid.fav-mini .anime-card {
    gap: 6px !important;
  }
  .anime-grid.fav-mini .anime-card .frame {
    border-radius: 11px !important;
  }
  .anime-grid.fav-mini .anime-card h3 {
    font-size: 11.5px !important;
    line-height: 1.3 !important;
  }
  .anime-grid.fav-mini .al-card-sub {
    font-size: 10px !important;
  }
  .anime-grid.fav-mini .score-badge {
    padding: 2px 5px !important;
    font-size: 10px !important;
  }
}

/* Kütüphanem — Misafir Giriş Ekranı */
.ag-lib-guest-wrap {
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
}
.ag-lib-guest-card {
  width: 100%;
  max-width: 430px;
  padding: 32px 26px;
  border-radius: 22px;
  background: #131417;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.52);
  text-align: center;
}
.ag-lib-guest-ic {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: #1b1d23;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ag-lib-guest-card h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 660;
  color: #ffffff;
}
.ag-lib-guest-card p {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #8e929b;
}
.ag-lib-guest-actions {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.ag-lib-guest-actions .ag-pf-btn {
  width: 100%;
}

/* Kütüphanem — Ana Bento Sayfası */
.ag-lib-page {
  display: grid;
  gap: 18px;
  padding-top: 20px;
  padding-bottom: 40px;
}

.ag-lib-hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 20px;
  background: linear-gradient(145deg, #16181e 0%, #121317 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
}
@media (min-width: 720px) {
  .ag-lib-hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px;
  }
}

.ag-lib-hero-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.ag-lib-avatar {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: #1d1f26;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none;
}
.ag-lib-avatar img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.ag-lib-avatar .init {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 660;
  color: #f2f0e8;
}
.ag-lib-avatar.framed {
  overflow: visible;
  border-radius: 50%;
  border-color: transparent;
  background: transparent;
}
.ag-lib-avatar.framed > img:first-child {
  border-radius: 50%;
}
.ag-lib-avatar .av-frame {
  position: absolute;
  inset: -20%;
  width: 140%;
  height: 140%;
  max-width: none;
  max-height: none;
  pointer-events: none;
  z-index: 2;
}

.ag-lib-hero-meta {
  min-width: 0;
}
.ag-lib-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca0aa;
}
.ag-lib-title {
  margin: 2px 0 0;
  font-size: clamp(21px, 3vw, 27px);
  font-weight: 670;
  color: #ffffff;
  line-height: 1.15;
}
.ag-lib-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: #8e929b;
}
.ag-lib-sub span {
  color: #aeb2bd;
}

.ag-lib-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ag-pf-tab small.is-alert {
  background: var(--cream);
  color: var(--cream-ink);
  font-weight: 700;
}
.ag-pf-tab.active small.is-alert {
  background: #0b0c0e;
  color: #ffffff;
}

.ag-lib-sec-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.ag-lib-sec-toolbar h2 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 650;
  color: #ffffff;
}
.ag-lib-sec-note {
  margin: 2px 0 0;
  font-size: 12px;
  color: #8e929b;
}

.ag-lib-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  background: #191a20;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #8e929b;
  width: 100%;
  max-width: 250px;
}
.ag-lib-filter:focus-within {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.ag-lib-filter input {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  color: #f4f4f6 !important;
  font-size: 13px;
  outline: none !important;
  box-shadow: none !important;
}
.ag-lib-filter-empty {
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: #8e929b;
}

.ag-lib-empty-state {
  padding: 32px 20px;
  border-radius: 16px;
  background: #17181d;
  border: 1px dashed rgba(255, 255, 255, 0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.ag-lib-empty-ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #20222a;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.ag-lib-empty-state h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 640;
  color: #ffffff;
}
.ag-lib-empty-state p {
  margin: 0 0 8px;
  max-width: 440px;
  font-size: 13px;
  line-height: 1.55;
  color: #8e929b;
}

.ag-lib-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: #191b21;
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #e4e6ec;
  font-size: 12px;
  font-weight: 560;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.ag-lib-action-pill:hover {
  background: #23252e;
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}
.ag-lib-action-pill.is-danger:hover {
  border-color: rgba(248, 113, 113, 0.45);
  color: #fca5a5;
}

/* Bildirim Merkezi (Kütüphane içi) */
.ag-lib-notif-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.ag-lib-notif-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.ag-lib-notif-list {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ag-lib-notif-list + .ag-lib-notif-list {
  margin-top: 8px;
}
.ag-lib-notif-list .notif-item {
  border-radius: 14px !important;
  background: #18191e !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  padding: 12px 14px !important;
}
.ag-lib-notif-list .notif-item.unread {
  background: #1c1e25 !important;
  border-color: rgba(242, 240, 232, 0.24) !important;
}
.ag-lib-notif-list li.empty,
.ag-lib-notif-box .notif-empty-all {
  padding: 24px 16px;
  border-radius: 14px;
  background: #17181d;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  color: #8e929b;
  font-size: 13px;
  text-align: center;
}
.ag-lib-notif-foot {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  border-top: 0 !important;
  padding: 0 !important;
}

/* Tercihler & Hesap Kartları */
.ag-lib-pref-stack {
  display: grid;
  gap: 10px;
}
.ag-lib-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 15px;
  border-radius: 14px;
  background: #18191e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
}
.ag-lib-pref-row.is-col {
  flex-direction: column;
  align-items: flex-start;
  cursor: default;
}
.ag-lib-pref-copy .t {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}
.ag-lib-pref-copy .d {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.5;
  color: #8e929b;
}
.ag-lib-pref-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ag-lib-pref-hint {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: #7d818b;
}

.ag-lib-account-rows {
  display: grid;
  gap: 8px;
}
.ag-lib-kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #18191e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
}
.ag-lib-kv span {
  color: #8e929b;
}
.ag-lib-kv strong {
  color: #f4f4f6;
  font-weight: 600;
  max-width: 220px;
}

.ag-lib-shortcuts {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.ag-lib-shortcut {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #18191e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #f4f4f6;
  text-decoration: none;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.ag-lib-shortcut:hover {
  background: #202229;
  border-color: rgba(255, 255, 255, 0.18);
}
.ag-lib-shortcut > div {
  flex: 1 1 auto;
  min-width: 0;
}
.ag-lib-shortcut .t {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}
.ag-lib-shortcut .d {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: #8e929b;
}

.ag-lib-logout-form {
  margin-top: 14px;
}
.ag-lib-logout-btn {
  width: 100%;
  height: 40px;
  border-radius: 999px;
  background: #191a20;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f4f4f6;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.ag-lib-logout-btn:hover {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.42);
  color: #fca5a5;
}

/* ==========================================================================
   v44 — ÜSTTE SİYAH (#0b0b0d), AŞAĞI DOĞRU POSTERİN 3 KOYU RENGİYLE GRADIENT,
         7 SANİYE HAREKETSİZLİKTE BANNER FRAGMAN & YORUM KUTUSU MESAFE DÜZENİ
   ========================================================================== */

/* 1) Detay Sayfası: Üst Bölüm Mat Siyah (#0b0b0d), Aşağı Doğru Posterin 3 Koyu Rengiyle Geçiş */
.ag-detail-v37 {
  --poster-rgb-1: 38, 42, 66;
  --poster-rgb-2: 52, 34, 64;
  --poster-rgb-3: 28, 48, 58;
  position: relative;
  background-color: #0b0b0d !important;
  background-image:
    linear-gradient(180deg,
      #0b0b0d 0px,
      #0b0b0d 460px,
      rgba(11, 11, 13, 0.88) 620px,
      rgba(11, 11, 13, 0.36) 820px,
      rgba(11, 11, 13, 0) 1040px),
    radial-gradient(105% 42% at 16% 50%, rgba(var(--poster-rgb-1), 0.62) 0%, rgba(var(--poster-rgb-1), 0) 76%),
    radial-gradient(105% 44% at 86% 76%, rgba(var(--poster-rgb-2), 0.66) 0%, rgba(var(--poster-rgb-2), 0) 78%),
    radial-gradient(115% 44% at 46% 100%, rgba(var(--poster-rgb-3), 0.72) 0%, rgba(var(--poster-rgb-3), 0) 80%),
    linear-gradient(180deg,
      #0b0b0d 0%,
      #0b0b0d 20%,
      rgba(var(--poster-rgb-1), 0.74) 48%,
      rgba(var(--poster-rgb-2), 0.80) 76%,
      rgba(var(--poster-rgb-3), 0.86) 100%) !important;
  background-repeat: no-repeat !important;
}

.ag-detail-v37 .al-detail-banner {
  background:
    radial-gradient(ellipse at 50% 0%, #191a20 0%, #0b0b0d 80%) !important;
}

.ag-detail-v37 .al-detail-banner-shadow {
  z-index: 2 !important;
  pointer-events: none !important;
  background:
    linear-gradient(180deg,
      rgba(11, 11, 13, 0.16) 0%,
      rgba(11, 11, 13, 0.58) 58%,
      #0b0b0d 100%) !important;
}

.ag-detail-v37 .ag-detail-poster {
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.78),
    0 10px 28px rgba(0, 0, 0, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.ag-detail-v37 .al-sidebar-box,
.ag-detail-v37 .al-rank-highlight,
.ag-detail-v37 .al-surface-card,
.ag-detail-v37 #yorumlar .panel,
.ag-detail-v37 .al-char-card,
.ag-detail-v37 .ep-card {
  background-color: rgba(17, 18, 22, 0.78) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ag-detail-v37 .ep-card:hover,
.ag-detail-v37 .al-char-card:hover {
  border-color: rgba(255, 255, 255, 0.22) !important;
}

/* 2) Banner İçi Otomatik Fragman Katmanı (YouTube arayüzü %100 kırpılmış saf sinema görüntüsü) */
.ag-banner-trailer-layer {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  overflow: hidden !important;
  opacity: 0;
  transition: opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none !important;
  background: transparent !important;
  container-type: size;
}
.ag-banner-trailer-layer.is-ready {
  opacity: 1;
}
.ag-banner-trailer-layer iframe {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: calc(100% + 374px) !important;
  height: calc(220% + 210px) !important;
  width: calc(max(100cqw, 177.78cqh) + 374px) !important;
  height: calc(max(100cqh, 56.25cqw) + 210px) !important;
  min-width: calc(100% + 374px) !important;
  min-height: calc(100% + 210px) !important;
  transform: translate(-50%, -50%) !important;
  border: 0 !important;
  pointer-events: none !important;
}
#hero-carousel {
  transition: min-height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 900px) {
  #hero-carousel.has-banner-trailer {
    min-height: 525px !important;
  }
  #hero-carousel.has-banner-trailer .al-spot-stage {
    min-height: 500px !important;
  }
}
#hero-carousel .al-spot-backdrop-fade {
  z-index: 2 !important;
  pointer-events: none !important;
}
#hero-carousel.has-banner-trailer .al-spot-backdrop-fade {
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.08) 0%, rgba(11, 11, 13, 0.24) 52%, rgba(11, 11, 13, 0.88) 88%, #0b0b0d 100%),
    linear-gradient(90deg, rgba(11, 11, 13, 0.72) 0%, rgba(11, 11, 13, 0.18) 52%, rgba(11, 11, 13, 0.06) 100%) !important;
}

.ag-detail-v37 .al-detail-banner {
  transition: height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.ag-detail-v37 .al-detail-banner.has-banner-trailer {
  height: 360px !important;
}
@media (min-width: 768px) {
  .ag-detail-v37 .al-detail-banner.has-banner-trailer {
    height: 510px !important;
  }
}
.ag-detail-v37 .al-detail-banner.has-banner-trailer .al-detail-banner-shadow {
  background:
    linear-gradient(180deg,
      rgba(11, 11, 13, 0.04) 0%,
      rgba(11, 11, 13, 0.22) 64%,
      #0b0b0d 100%) !important;
}

/* Sayfada Üst Banner Görünür Değilken BÜYÜK Hovercard Fragman Sahnesi (/anime vb.) */
.ag-mhc-trailer-banner {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 480px;
  height: 270px;
  aspect-ratio: 16 / 9;
  background: #08080a;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
#al-media-hovercard.has-mhc-trailer {
  width: min(480px, calc(100vw - 28px)) !important;
  padding-top: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
#al-media-hovercard.has-mhc-trailer .ag-mhc-trailer-banner {
  position: relative;
  left: auto;
  top: auto;
  width: calc(100% + 32px);
  height: auto;
  margin: 0 -16px 14px -16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  opacity: 1;
}
.ag-mhc-trailer-banner iframe {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: calc(100% + 284px) !important;
  height: calc(100% + 160px) !important;
  border: 0 !important;
  transform: translate(-50%, -50%) !important;
  pointer-events: none !important;
}

/* 3) Yorumlar Bölümü: Yorum Yazma Kutusu ile Gönder Butonu Arası Ferah Mesafe */
.comments-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.composer {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.composer .textarea {
  min-height: 106px;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  line-height: 1.58;
  margin-bottom: 4px;
}

.composer .cemj-wrap {
  margin-top: 2px !important;
  margin-bottom: 2px;
}

.composer .row {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px !important;
  margin-top: 8px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.composer .right {
  display: inline-flex !important;
  align-items: center;
  gap: 16px !important;
  margin-left: auto;
}

#comment-submit,
.composer .right button[type="submit"] {
  height: 38px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.reply-composer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.reply-composer .composer .textarea {
  min-height: 80px;
}

/* ==========================================================================
   v46 — PROFİL KUTUSU İÇİNDE OTOMATİK BÜYÜK/KÜÇÜK APPLE MUSIC ŞARKI SÖZLERİ
         & ENTEGRE MİNİMALİST MÜZİK ŞERİDİ
   ========================================================================== */

.ag-pf-card {
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 16px !important;
}

/* 1) Varsayılan Düzen (şarkı sözü yokken veya yüklenmeden önce — boş kutu hiç görünmez) */
.ag-pf-card-top {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "avatar"
    "body";
  row-gap: 16px;
  width: 100%;
  align-items: start;
}
@media (min-width: 560px) {
  .ag-pf-card-top {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "avatar body";
    column-gap: 20px;
    row-gap: 0;
    align-items: center;
  }
}

.ag-pf-avatar-slot {
  grid-area: avatar;
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
}

.ag-pf-body {
  grid-area: body;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 860px) {
  /* Şarkı sözü yokken aksiyon butonları sağ üstte dengeli durur */
  .ag-pf-card:not(.has-loaded-lyrics) .ag-pf-body {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
  }
}

/* 2) Şarkı Sözü Bulunduğunda: Profil Resmi Container'ının SAĞ ÜST Boşluğuna Yerleşir */
.ag-pf-hero-lyrics[hidden],
.ag-pf-card:not(.has-loaded-lyrics) .ag-pf-hero-lyrics {
  display: none !important;
}

.ag-pf-card.has-loaded-lyrics .ag-pf-card-top {
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "avatar lyrics"
    "body   body";
  column-gap: 14px;
  row-gap: 14px;
  align-items: start;
}
@media (min-width: 660px) {
  .ag-pf-card.has-loaded-lyrics .ag-pf-card-top {
    grid-template-columns: auto minmax(0, 1fr) minmax(230px, 370px);
    grid-template-areas: "avatar body lyrics";
    column-gap: 22px;
    row-gap: 0;
    align-items: start;
  }
}
@media (min-width: 1020px) {
  .ag-pf-card.has-loaded-lyrics .ag-pf-card-top {
    grid-template-columns: auto minmax(0, 1fr) minmax(290px, 430px);
    column-gap: 28px;
  }
}

/* Sağ Üst Şarkı Sözü Sahnesi (kutu çerçevesi olmadan container'ın sağ üst boşluğunda süzülür) */
.ag-pf-hero-lyrics {
  grid-area: lyrics;
  position: relative;
  z-index: 3;
  align-self: start;
  justify-self: stretch;
  min-width: 0;
  width: 100%;
  padding: 0;
  margin-top: -2px;
  background: transparent;
  border: 0;
  animation: agHeroLyricsFadeIn 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 660px) {
  .ag-pf-hero-lyrics {
    justify-self: end;
    text-align: right;
  }
}
@keyframes agHeroLyricsFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ag-am-lyrics.is-hero-box {
  position: relative;
  margin: 0 !important;
  padding: 0 2px !important;
  height: 104px !important;
  max-height: 104px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: transparent !important;
  border: 0 !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}
.ag-am-lyrics.is-hero-box::-webkit-scrollbar {
  display: none;
}
@media (min-width: 660px) {
  .ag-am-lyrics.is-hero-box {
    height: 128px !important;
    max-height: 128px !important;
  }
}

.ag-am-lyrics.is-hero-box .am-lyr-pad {
  height: 38px;
  flex-shrink: 0;
}
.ag-am-lyrics.is-hero-box .am-lyr-pad.is-sm {
  height: 34px;
}

/* Büyük / Küçük Apple Music Tipografisi (Aktif satır BÜYÜK ve parlak, diğerleri KÜÇÜK ve yumuşak) */
.ag-am-lyrics.is-hero-box .ln {
  margin: 2px 0;
  padding: 3px 4px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.32 !important;
  letter-spacing: -0.01em;
  color: rgba(244, 244, 246, 0.42);
  opacity: 0.24;
  filter: blur(1.1px);
  transform: translate3d(0, 0, 0) scale(0.91);
  transform-origin: left center;
  will-change: transform, opacity, filter, font-size;
  transition:
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    font-size 0.44s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.44s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.44s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.34s ease,
    text-shadow 0.42s ease !important;
}
@media (min-width: 660px) {
  .ag-am-lyrics.is-hero-box .ln {
    transform-origin: right center;
  }
}
.ag-am-lyrics.is-hero-box .ln.is-seekable {
  cursor: pointer;
}
.ag-am-lyrics.is-hero-box .ln.near-1 {
  font-size: 13.5px !important;
  color: rgba(244, 244, 246, 0.76);
  opacity: 0.52;
  filter: blur(0.4px);
  transform: translate3d(0, 0, 0) scale(0.95);
}
.ag-am-lyrics.is-hero-box .ln.near-2 {
  font-size: 12px !important;
  color: rgba(244, 244, 246, 0.54);
  opacity: 0.28;
  filter: blur(1.05px);
  transform: translate3d(0, 0, 0) scale(0.90);
}
.ag-am-lyrics.is-hero-box .ln.far {
  font-size: 11px !important;
  color: rgba(244, 244, 246, 0.38);
  opacity: 0.14;
  filter: blur(1.7px);
  transform: translate3d(0, 0, 0) scale(0.86);
}
.ag-am-lyrics.is-hero-box .ln.cur {
  font-size: 17.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  filter: blur(0px) !important;
  transform: translate3d(0, 0, 0) scale(1.02) !important;
  text-shadow: 0 2px 24px rgba(242, 240, 232, 0.34);
}
@media (min-width: 660px) {
  .ag-am-lyrics.is-hero-box .ln.cur {
    font-size: 20.5px !important;
  }
  .ag-am-lyrics.is-hero-box .ln.near-1 {
    font-size: 14px !important;
  }
}
@media (min-width: 1020px) {
  .ag-am-lyrics.is-hero-box .ln.cur {
    font-size: 22px !important;
  }
}
.ag-am-lyrics.is-hero-box .ln.is-seekable:hover {
  opacity: 0.90 !important;
  filter: blur(0px) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05);
}
.ag-am-lyrics.is-hero-box .am-interlude {
  justify-content: flex-start;
}
@media (min-width: 660px) {
  .ag-am-lyrics.is-hero-box .am-interlude {
    justify-content: flex-end;
  }
}

/* Apple Music 3 Noktalı Enstrümantal İntro / Ara Geçiş Animasyonu */
.ag-am-lyrics .am-interlude {
  display: flex;
  align-items: center;
  min-height: 32px;
}
.am-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 2px;
}
.am-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(242, 240, 232, 0.55);
  transform: scale(0.82);
}
.ag-am-lyrics .am-interlude.cur .am-dots i {
  background: #ffffff;
  box-shadow: 0 0 12px rgba(242, 240, 232, 0.55);
  animation: agAmInterludePulse 1.35s ease-in-out infinite;
}
.ag-am-lyrics .am-interlude.cur .am-dots i:nth-child(2) { animation-delay: 0.22s; }
.ag-am-lyrics .am-interlude.cur .am-dots i:nth-child(3) { animation-delay: 0.44s; }
@keyframes agAmInterludePulse {
  0%, 100% { transform: translateY(0) scale(0.78); opacity: 0.45; }
  50%      { transform: translateY(-3px) scale(1.18); opacity: 1; }
}

/* Profil Kutusu Altındaki İnce Entegre Müzik Şeridi (.ag-pf-music-strip) */
.ag-pf-music-strip {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ag-pf-music-strip.is-empty {
  justify-content: space-between;
  padding-top: 12px;
}
.ag-pf-music-empty-txt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #8e929b;
}

.ag-pf-music-art-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 11px !important;
  transform: scale(0.96);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease !important;
}
.ag-pf-card.playing .ag-pf-music-art-btn {
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(242, 240, 232, 0.28) !important;
}
.ag-pf-music-art {
  width: 44px !important;
  height: 44px !important;
  border-radius: 11px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.ag-pf-music-art-ov {
  border-radius: 11px !important;
  background: rgba(11, 11, 13, 0.46) !important;
}

.ag-pf-music-meta {
  min-width: 140px;
  max-width: 260px;
  flex: 0 1 auto;
}
.ag-pf-music-meta .t {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}
.ag-pf-music-meta .eq {
  height: 12px;
  gap: 2px;
}
.ag-pf-music-meta .eq i {
  width: 2.5px;
  border-radius: 99px;
  background: var(--cream);
}
.ag-pf-card.playing .ag-pf-music-meta .eq i:nth-child(4) {
  animation: eq-bounce 0.78s ease-in-out infinite 0.14s;
}
.ag-pf-music-meta .s {
  margin-top: 2px !important;
  font-size: 11.5px !important;
  color: rgba(244, 244, 246, 0.62) !important;
}

.ag-pf-music-scrubber {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 150px;
}
.ag-am-progress {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: height 0.16s ease, background-color 0.16s ease;
}
.ag-am-progress:hover {
  height: 7px !important;
  background: rgba(255, 255, 255, 0.22) !important;
}
.ag-am-progress i {
  background: var(--cream) !important;
  border-radius: 999px;
  transition: width 0.14s linear !important;
}
.ag-am-times {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(244, 244, 246, 0.50);
}

.ag-pf-music-btns {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.ag-am-play-pill {
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  border: 0;
  background: var(--cream);
  color: var(--cream-ink);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.ag-am-play-pill:hover {
  background: #ffffff;
  transform: translateY(-1px);
}
.ag-am-play-pill > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ag-am-play-pill .lbl-pause,
.ag-am-play-pill .lbl-load {
  display: none;
}
.music-panel.playing .ag-am-play-pill .lbl-play { display: none; }
.music-panel.playing .ag-am-play-pill .lbl-pause { display: inline-flex; }
.music-panel.loading .ag-am-play-pill .lbl-play,
.music-panel.loading .ag-am-play-pill .lbl-pause { display: none; }
.music-panel.loading .ag-am-play-pill .lbl-load { display: inline-flex; }

.ag-am-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 34px;
  min-width: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #d6d9e0;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.ag-am-edit-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

/* Yükleme İskeleti & Boş Durum */
.am-lyr-skeleton {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  height: 100%;
  padding: 10px 6px;
}
.am-lyr-skeleton span {
  display: block;
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.05) 100%);
  background-size: 200% 100%;
  animation: agAmShimmer 1.5s linear infinite;
}
.am-lyr-skeleton span:nth-child(1) { width: 58%; height: 11px; }
.am-lyr-skeleton span:nth-child(2) { width: 86%; height: 17px; }
.am-lyr-skeleton span:nth-child(3) { width: 52%; height: 11px; }
@keyframes agAmShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.am-lyr-empty-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 12px;
}

/* Profil Düzenle Modali İçindeki Müzik Seçici Stilleri */
.ag-editor-music-cur {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.ag-editor-music-cur img,
.ag-editor-music-cur .noimg {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #191a20;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8e929b;
}
.ag-editor-music-cur .t {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}
.ag-editor-music-cur .s {
  margin-top: 2px;
  font-size: 11.5px;
  color: #8e929b;
}
.ag-editor-music-hide {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 11.5px;
  color: #9ca0aa;
  cursor: pointer;
}

/* ==========================================================================
   v47 — SİZİN İÇİN ÖNERİLİYOR: EN POPÜLER 2 BÖLÜM (YATAY 16:9 KAPAK VİTRİNİ)
   ========================================================================== */

.ag-rec-episodes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
@media (min-width: 720px) {
  .ag-rec-episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

.ag-rec-ep-card {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #131417;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.46);
  text-decoration: none;
  color: #f4f4f6;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.24s ease, box-shadow 0.28s ease;
}
.ag-rec-ep-card:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 240, 232, 0.28);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.65);
}

.ag-rec-ep-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0e0f13;
}
.ag-rec-ep-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}
.ag-rec-ep-card:hover .ag-rec-ep-media img {
  transform: scale(1.045);
}

.ag-rec-ep-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.22) 0%, rgba(11, 11, 13, 0.14) 38%, rgba(11, 11, 13, 0.80) 76%, rgba(11, 11, 13, 0.96) 100%);
  pointer-events: none;
}

.ag-rec-ep-top {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ag-rec-ep-pill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(11, 11, 13, 0.42);
  border: 1.25px solid rgba(255, 255, 255, 0.34);
  color: #f4f4f6;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 640;
  letter-spacing: 0.03em;
}

.ag-rec-ep-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(11, 11, 13, 0.68);
  border: 1px solid rgba(242, 240, 232, 0.24);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
}

.ag-rec-ep-bottom {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.ag-rec-ep-copy {
  min-width: 0;
  flex: 1 1 auto;
}
.ag-rec-ep-series {
  display: block;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.88;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ag-rec-ep-title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 680;
  line-height: 1.24;
  letter-spacing: -0.012em;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ag-rec-ep-meta {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(244, 244, 246, 0.64);
}

.ag-rec-ep-play {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--cream-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.18s ease;
}
.ag-rec-ep-card:hover .ag-rec-ep-play {
  background: #ffffff;
  transform: scale(1.08);
}









/* ========================================================================
   v49 — ADMIN KONTROL MERKEZİ + GRAFİK DETAYLARI
   ======================================================================== */

.admin-page-shell {
  width: min(100% - 28px, 1440px);
  max-width: 1440px;
  min-width: 0;
  overflow-x: clip;
}
.admin-page-header { min-width: 0; }
.admin-page-header h1 { letter-spacing: -0.025em; }
.admin-tabs {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.18) transparent;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 14px;
  padding: 5px;
  gap: 4px;
}
.admin-tabs::-webkit-scrollbar { height: 4px; }
.admin-tabs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 99px; }
.admin-tabs a {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .01em;
  color: var(--muted-foreground);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.admin-tabs a:hover { color: var(--foreground); background: rgba(255,255,255,.055); }
.admin-tabs a.active { color: var(--cream, #f2f0e8); background: rgba(242,240,232,.12); box-shadow: inset 0 0 0 1px rgba(242,240,232,.14); }
.admin-content, .admin-content > * { min-width: 0; }
.admin-content > * + * { margin-top: 18px; }
.admin-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-foreground);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .13em;
  line-height: 1.2;
}
.admin-dashboard-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: linear-gradient(120deg, #18191e 0%, #111216 57%, #0d0e11 100%);
  box-shadow: 0 18px 45px rgba(0,0,0,.24);
}
.admin-dashboard-hero h2, .admin-featured-intro h2 {
  margin: 8px 0 0;
  color: var(--foreground);
  font-family: var(--font-display, inherit);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 680;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.admin-dashboard-hero p, .admin-featured-intro p { max-width: 660px; margin: 9px 0 0; color: var(--muted-foreground); font-size: 12px; line-height: 1.65; }
.admin-hero-side { display: grid; grid-template-columns: auto auto; align-items: center; gap: 5px 8px; flex: 0 0 auto; color: var(--foreground); font-size: 11px; font-weight: 650; }
.admin-hero-side small { grid-column: 1 / -1; color: var(--muted-foreground); font-size: 10px; font-weight: 500; }
.admin-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #f2f0e8; box-shadow: 0 0 0 4px rgba(242,240,232,.1); }
.admin-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.admin-kpi-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 16px;
  background: #131417;
}
.admin-kpi-card::after { content: ""; position: absolute; width: 90px; height: 90px; right: -42px; bottom: -55px; border-radius: 50%; background: rgba(242,240,232,.07); }
.admin-kpi-card.is-primary { border-color: rgba(242,240,232,.22); background: linear-gradient(145deg, #1b1c21, #131417); }
.admin-kpi-icon { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; grid-row: 1 / span 3; border-radius: 10px; background: rgba(242,240,232,.1); color: var(--cream, #f2f0e8); }
.admin-kpi-label { min-width: 0; overflow: hidden; color: var(--muted-foreground); font-size: 10.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.admin-kpi-card strong { margin-top: 2px; color: var(--foreground); font-family: var(--font-display, inherit); font-size: 25px; line-height: 1; letter-spacing: -.04em; }
.admin-kpi-card strong em { margin-left: 3px; color: var(--muted-foreground); font-size: 12px; font-style: normal; font-weight: 550; letter-spacing: 0; }
.admin-kpi-card small { margin-top: 5px; color: var(--muted-foreground); font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-kpi-card small a { color: var(--cream, #f2f0e8); }
.admin-chart-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(270px, .75fr); gap: 18px; }
.admin-chart-panel, .admin-health-panel, .admin-table-panel { min-width: 0; overflow: hidden; }
.admin-panel-note { flex: 0 0 auto; color: var(--muted-foreground); font-size: 10px; font-weight: 500; }
.admin-chart-legend { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 12px; color: var(--muted-foreground); font-size: 10px; }
.admin-chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.admin-chart-legend i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: rgba(242,240,232,.38); }
.admin-chart-legend i.members, .admin-chart-bars i.members { background: #f2f0e8; }
.admin-chart-legend i.episodes, .admin-chart-bars i.episodes { background: #a8a8ad; }
.admin-chart-legend i.comments, .admin-chart-bars i.comments { background: #5f626b; }
.admin-multi-chart { height: 168px; display: grid; grid-template-columns: repeat(14, minmax(18px, 1fr)); gap: clamp(3px, .8vw, 10px); align-items: end; padding: 0 2px 2px; border-bottom: 1px solid rgba(255,255,255,.1); background: repeating-linear-gradient(to top, transparent 0, transparent 41px, rgba(255,255,255,.04) 42px); }
.admin-chart-day { min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 7px; color: var(--muted-foreground); font-size: 8.5px; }
.admin-chart-bars { width: 100%; height: 132px; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.admin-chart-bars i { display: block; width: min(9px, 30%); min-height: 3px; border-radius: 5px 5px 2px 2px; opacity: .9; }
.admin-chart-bars i.members { box-shadow: 0 0 12px rgba(242,240,232,.12); }
.admin-health-panel .panel-body { display: grid; gap: 2px; }
.admin-health-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.065); color: var(--muted-foreground); font-size: 11px; }
.admin-health-row span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.admin-health-row span i { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: rgba(242,240,232,.38); }
.admin-health-row span i.is-good { background: #f2f0e8; }
.admin-health-row span i.is-warn { background: #85858b; }
.admin-health-row strong { color: var(--foreground); font-family: var(--font-display, inherit); font-size: 16px; }
.admin-health-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 11px; padding: 10px 11px; border-radius: 10px; background: rgba(255,255,255,.05); color: var(--foreground); font-size: 10.5px; font-weight: 650; }
.admin-health-link:hover { background: rgba(255,255,255,.1); }
.admin-table-scroll { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.admin-data-table { width: 100%; min-width: 540px; border-collapse: collapse; }
.admin-data-table th, .admin-data-table td { padding: 11px 14px; text-align: left; border-top: 1px solid var(--border); color: var(--muted-foreground); font-size: 11px; white-space: nowrap; }
.admin-data-table th { border-top: 0; color: var(--muted-foreground); font-size: 9.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.admin-data-table td:first-child, .admin-data-table td b { color: var(--foreground); font-weight: 650; }
.admin-data-table tr:hover td { background: rgba(255,255,255,.025); }

/* Öne çıkanlar editörü */
.admin-featured-shell { min-width: 0; }
.admin-featured-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 22px 24px; border: 1px solid rgba(255,255,255,.09); border-radius: 20px; background: linear-gradient(120deg, #18191e, #101114); }
.admin-featured-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); gap: 18px; align-items: start; }
.admin-featured-options { min-width: 0; display: grid; gap: 18px; }
.admin-featured-selected-panel, .admin-featured-options .panel { min-width: 0; overflow: hidden; }
.admin-count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; margin-left: 5px; padding: 0 6px; border-radius: 99px; background: rgba(242,240,232,.11); color: var(--foreground); font-size: 10px; vertical-align: 2px; }
.admin-featured-selected { display: grid; gap: 10px; min-width: 0; }
.admin-featured-empty { min-height: 150px; display: grid; place-items: center; align-content: center; gap: 6px; padding: 25px; border: 1px dashed rgba(255,255,255,.16); border-radius: 14px; color: var(--muted-foreground); text-align: center; }
.admin-featured-empty strong { color: var(--foreground); font-size: 12px; }
.admin-featured-empty span { font-size: 10.5px; }
.admin-featured-item { min-width: 0; padding: 12px; border: 1px solid rgba(255,255,255,.085); border-radius: 14px; background: rgba(255,255,255,.025); }
.admin-featured-item-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.admin-featured-rank { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: 0 0 auto; border-radius: 8px; background: rgba(242,240,232,.11); color: var(--foreground); font-family: var(--font-display, inherit); font-size: 12px; font-weight: 700; }
.admin-featured-item-head > img, .admin-featured-thumb { width: 42px; height: 55px; flex: 0 0 auto; object-fit: cover; border-radius: 7px; background: #202126; }
.admin-featured-item-copy { display: grid; min-width: 0; flex: 1; gap: 4px; }
.admin-featured-item-copy strong { min-width: 0; overflow: hidden; color: var(--foreground); font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.admin-featured-item-copy small { color: var(--muted-foreground); font-size: 9.5px; }
.admin-featured-reorder { display: flex; flex: 0 0 auto; gap: 3px; }
.admin-featured-reorder .btn { width: 28px; min-width: 28px; height: 28px; padding: 0; border-radius: 8px; }
.admin-featured-reorder .is-danger { color: #b8b8bd; font-size: 18px; }
.admin-featured-item-fields { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 8px; margin: 12px 0 0 34px; }
.admin-featured-item-fields .input { width: 100%; min-width: 0; height: 34px; font-size: 11px; }
.admin-featured-item-fields em { color: var(--muted-foreground); font-size: 9px; font-style: normal; font-weight: 400; }
.admin-featured-save-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--border); }
.admin-inline-status { color: var(--muted-foreground); font-size: 11px; }
.admin-featured-settings { display: grid; gap: 16px; }
.admin-featured-settings .check-row { align-items: flex-start; }
.admin-featured-settings .check-row > span { display: grid; gap: 3px; }
.admin-featured-settings .check-row b { color: var(--foreground); font-size: 12px; font-weight: 650; }
.admin-featured-settings .check-row small { color: var(--muted-foreground); font-size: 10px; }
.admin-help { margin: 0; color: var(--muted-foreground); font-size: 10.5px; line-height: 1.6; }
.admin-featured-search-form { display: flex; gap: 7px; min-width: 0; }
.admin-featured-search-form .input { min-width: 0; flex: 1; height: 36px; }
.admin-featured-search-form .btn { flex: 0 0 auto; width: 37px; padding: 0; }
.admin-featured-results { display: grid; gap: 6px; max-height: 390px; overflow: auto; margin-top: 12px; padding-right: 2px; }
.admin-results-placeholder { padding: 14px 4px; color: var(--muted-foreground); font-size: 10.5px; line-height: 1.55; }
.admin-featured-result { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 7px; border: 1px solid transparent; border-radius: 10px; background: rgba(255,255,255,.035); }
.admin-featured-result:hover { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.07); }
.admin-featured-result img, .admin-featured-result .thumb { width: 30px; height: 40px; flex: 0 0 auto; object-fit: cover; border-radius: 5px; background: #202126; }
.admin-featured-result-copy { min-width: 0; flex: 1; display: grid; gap: 3px; }
.admin-featured-result-copy strong { overflow: hidden; color: var(--foreground); font-size: 10.5px; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.admin-featured-result-copy small { color: var(--muted-foreground); font-size: 9px; }
.admin-featured-result .btn { flex: 0 0 auto; width: 29px; height: 29px; padding: 0; border-radius: 8px; }

/* Üye listesi taşma düzeltmesi */
.admin-page-shell .member-list li { min-width: 0; }
.admin-page-shell .member-list .who { min-width: 0; }
.admin-page-shell .member-list .who > .min-w-0 { min-width: 0; overflow: hidden; }
.admin-page-shell .member-list .actions { min-width: 0; justify-content: flex-end; }
.admin-page-shell .member-list .actions .select { max-width: 150px; min-width: 0; }
.admin-page-shell .member-list .meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Profil aktivlik grafiği: tıklanabilir gün + detay kartı */
.ag-pf-activity-card .activity-bars.is-interactive { height: 94px; align-items: stretch; gap: 4px; }
.ag-pf-activity-card .activity-bars.is-interactive .bar {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  transition: transform .18s ease;
}
.ag-pf-activity-card .activity-bars.is-interactive .bar:hover,
.ag-pf-activity-card .activity-bars.is-interactive .bar:focus-visible { transform: translateY(-3px); outline: none; }
.ag-pf-activity-card .activity-bars.is-interactive .bar:focus-visible .fill i,
.ag-pf-activity-card .activity-bars.is-interactive .bar[aria-pressed="true"] .fill i { background: #ffffff; box-shadow: 0 0 0 3px rgba(242,240,232,.14), 0 0 18px rgba(242,240,232,.2); }
.ag-pf-activity-card .activity-bars.is-interactive .bar-val { min-height: 14px; color: var(--muted-foreground); font-size: 9px; font-weight: 650; line-height: 14px; }
.ag-pf-activity-card .activity-bars.is-interactive .fill { min-height: 60px; }
.ag-pf-activity-card .activity-bars.is-interactive .fill i { border-radius: 6px 6px 2px 2px; transition: height .25s ease, background .18s ease, box-shadow .18s ease; }
.ag-pf-chart-hint { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; color: var(--muted-foreground); font-size: 10px; }
.ag-pf-chart-inspector { margin-top: 13px; padding: 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; background: linear-gradient(145deg, rgba(242,240,232,.08), rgba(255,255,255,.025)); animation: ag-chart-detail-in .24s ease both; }
@keyframes ag-chart-detail-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.ag-pf-ci-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ag-pf-ci-date { margin: 0; color: var(--foreground); font-family: var(--font-display, inherit); font-size: 13px; font-weight: 680; }
.ag-pf-ci-sub { max-width: 260px; overflow: hidden; margin: 4px 0 0; color: var(--muted-foreground); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.ag-pf-ci-right { display: flex; align-items: flex-start; gap: 8px; }
.ag-pf-ci-tp { color: var(--foreground); font-family: var(--font-display, inherit); font-size: 16px; font-weight: 700; white-space: nowrap; }
.ag-pf-ci-close { width: 23px; height: 23px; padding: 0; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; background: transparent; color: var(--muted-foreground); font-size: 17px; line-height: 18px; cursor: pointer; }
.ag-pf-ci-close:hover { border-color: rgba(255,255,255,.3); color: var(--foreground); }
.ag-pf-ci-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin-top: 12px; }
.ag-pf-ci-metric { min-width: 0; padding: 8px; border-radius: 9px; background: rgba(0,0,0,.18); }
.ag-pf-ci-metric .k { display: block; overflow: hidden; color: var(--muted-foreground); font-size: 8.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ag-pf-ci-metric .v { display: block; margin-top: 4px; color: var(--foreground); font-family: var(--font-display, inherit); font-size: 15px; font-weight: 700; }

@media (max-width: 980px) {
  .admin-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-chart-layout, .admin-featured-layout { grid-template-columns: minmax(0, 1fr); }
  .admin-featured-options { grid-template-columns: repeat(2, minmax(0, 1fr)); display: grid; align-items: start; }
}
@media (max-width: 720px) {
  .admin-page-shell { width: min(100% - 18px, 1440px); padding-top: 14px !important; }
  .admin-page-header h1 { font-size: 18px !important; }
  .admin-page-header p { font-size: 11px !important; }
  .admin-dashboard-hero, .admin-featured-intro { align-items: flex-start; flex-direction: column; padding: 18px; border-radius: 16px; }
  .admin-hero-side { align-self: stretch; grid-template-columns: auto auto 1fr; }
  .admin-hero-side small { grid-column: 3; align-self: center; }
  .admin-kpi-grid { gap: 8px; }
  .admin-kpi-card { padding: 12px; border-radius: 13px; grid-template-columns: auto minmax(0, 1fr); }
  .admin-kpi-icon { width: 27px; height: 27px; border-radius: 8px; }
  .admin-kpi-card strong { font-size: 21px; }
  .admin-multi-chart { gap: 2px; overflow: hidden; }
  .admin-chart-bars { gap: 1px; }
  .admin-chart-bars i { width: 31%; }
  .admin-featured-options { display: grid; grid-template-columns: minmax(0, 1fr); }
  .admin-featured-item-fields { grid-template-columns: minmax(0, 1fr); margin-left: 0; }
  .admin-featured-item-head { align-items: flex-start; }
  .admin-featured-reorder { margin-left: auto; }
  .admin-page-shell .member-list li { align-items: flex-start; gap: 10px; padding: 12px 10px; }
  .admin-page-shell .member-list li .who { flex: 0 0 100%; width: 100%; }
  .admin-page-shell .member-list li .actions { width: 100%; flex: 0 0 100%; justify-content: flex-start; padding-left: 46px; }
  .admin-page-shell .member-list .actions .role-select { flex: 1 1 120px; width: auto; max-width: none; }
  .admin-page-shell .member-list .actions .btn { flex: 0 1 auto; }
  .ag-pf-ci-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .admin-kpi-card { padding: 10px; }
  .admin-kpi-label { font-size: 9px; }
  .admin-kpi-card small { font-size: 8.5px; }
  .admin-chart-day span { font-size: 7px; }
  .ag-pf-ci-metric .v { font-size: 14px; }
}

.ag-hero-admin-edit {
  position: absolute;
  z-index: 12;
  top: 18px;
  right: clamp(14px, 4vw, 42px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(242,240,232,.25);
  border-radius: 999px;
  background: rgba(11,11,13,.58);
  color: #f2f0e8;
  font-size: 10px;
  font-weight: 650;
  backdrop-filter: blur(12px);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.ag-hero-admin-edit:hover { border-color: rgba(242,240,232,.55); background: rgba(11,11,13,.82); transform: translateY(-1px); }
@media (max-width: 560px) {
  .ag-hero-admin-edit { top: 12px; right: 12px; width: 32px; padding: 0; justify-content: center; }
  .ag-hero-admin-edit span { display: none; }
}
.ag-pf-chart-inspector[hidden] { display: none !important; }

/* v50 — Detay bölümleri gerçek parça parça lazy loader */
.episode-lazy-more-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.episode-lazy-more-wrap [data-lazy-episodes-more] {
  min-width: 190px;
}
.episode-lazy-more-wrap [data-lazy-episodes-more][disabled] {
  cursor: wait;
  opacity: .68;
}
.episode-lazy-sentinel {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: -2px;
  pointer-events: none;
}
.episode-lazy-status {
  min-height: 14px;
  color: var(--muted-foreground);
  font-size: 10px;
}
