/*
Theme Name: Diziyo
Theme URI: https://www.diziyo.so
Author: Diziyo
Author URI: https://www.diziyo.so
Description: Diziler (CPT) + Bölümler (post) mimarisine uygun, hafif ve hızlı bir dizi/film teması.
Version: 1.0.0
License: GPLv2 or later
Text Domain: diziyo
Tags: custom-background, custom-logo, one-column, two-columns, right-sidebar, responsive-layout
*/

/* ===== Diziyo Nova Base ===== */
:root{
  --bg: #1f4a5b;
  --panel: #2a5b6c;
  --panel2: #326a7f;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.75);
  --border: rgba(255,255,255,.14);
  --accent: #ffd70d; /* sıcak sarı/turuncu */
  --accent2:#ffd70d;
  --link: rgba(255,255,255,.90);
  --radius: 10px;
  --shadow: 0 10px 35px rgba(0,0,0,.25);
  --max: 1303px;
  --font: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Noto Sans","Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  overflow-x:hidden;
  font-family:var(--font);
  font-size:14px;
  color:var(--text);
  background: radial-gradient(1200px 700px at 25% 0%, rgba(255,255,255,.10), transparent 60%),
              radial-gradient(900px 600px at 80% 10%, rgba(244,196,48,.10), transparent 55%),
              radial-gradient(900px 650px at 50% 100%, rgba(45,212,191,.10), transparent 60%),
              var(--bg);
min-height:100vh;
flex-direction: column;
}

a{color:var(--link); text-decoration:none}
a:hover{color:#fff}
img{max-width:100%; height:auto; display:block}
.container{max-width:var(--max); margin:0 auto; padding:0 16px}
.wrap{
  background: linear-gradient(135deg, rgba(4,39,55,.96), rgba(28,59,73,.96));
  border:1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin:16px auto 24px;
  overflow:hidden;
}
.header{
  background: linear-gradient(to right, rgba(4,39,55,.98) 45%, rgba(78,114,131,.95) 100%);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 180px;
}
.brand a.site-title{
  font-size:28px;
  font-weight:700;
  letter-spacing:.2px;
}
.brand img{height:34px; width:auto}

.nav{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.nav a{
  padding:8px 10px;
  border-radius: 9px;
  border:1px solid transparent;
  color: var(--muted);
  font-weight:600;
  font-size:13px;
}
.nav a:hover{color:#fff; border-color: var(--border); background: rgba(255,255,255,.05)}
.nav .current-menu-item > a,
.nav .current_page_item > a{color:#fff; border-color: rgba(244,196,48,.35); background: rgba(244,196,48,.08)}

.search{
  display:flex; align-items:center; gap:8px;
  min-width: 260px;
}
.search input[type="search"]{
  width:100%;
  padding:10px 12px;
  border-radius: 10px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline:none;
}
.search input[type="search"]::placeholder{color: rgba(255,255,255,.55)}
.search-btn{
  border:1px solid rgba(244,196,48,.35);
  background: rgba(244,196,48,.12);
  color:#fff;
  padding:10px 12px;
  border-radius: 10px;
  cursor:pointer;
  font-weight:700;
}
.search-btn:hover{background: rgba(244,196,48,.18)}

/* ===== Mobile Header / Drawer ===== */
.dzn-burger{
  display:none;
  width:42px;height:42px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(0,0,0,.18);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:0;
}
.dzn-burger .dzn-burger-ico{width:22px;height:22px;display:block;color:rgba(255,255,255,.95)}
.dzn-burger:active{transform:scale(.98)}

.dzn-mobile-search{display:none; padding:0 12px 12px;}
.dzn-mobile-search .dzn-search-box input[type="search"]{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(0,0,0,.18);
  color:var(--text);
}

.dzn-mobile-overlay{
  position:fixed; inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index:9998;
}
.dzn-mobile-drawer{
  position:fixed;
  top:0; left:0;
  height:100vh;
  width:min(86vw, 340px);
  background:linear-gradient(135deg, rgba(4,39,55,.98), rgba(28,59,73,.98));
  border-right:1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  z-index:9999;
  transform:translateX(-101%);
  transition:transform .22s ease;
  padding:14px 14px 18px;
  overflow:auto;
}
body.dzn-menu-open .dzn-mobile-drawer{transform:translateX(0)}
.dzn-mobile-drawer-h{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.dzn-mobile-drawer-title{font-weight:900; letter-spacing:.2px; font-size:16px}
.dzn-mobile-close{
  width:38px;height:38px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(0,0,0,.18);
  color:#fff;
  font-size:22px;
  cursor:pointer;
  line-height:1;
}
.dzn-mobile-nav{display:flex; flex-direction:column; gap:8px}
.dzn-mobile-nav a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.10);
  color:rgba(255,255,255,.92);
  font-weight:800;
}
.dzn-mobile-nav a:hover{background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.16)}


.main{
  padding:16px;
}
.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
}
@media(min-width: 980px){
  .grid{ grid-template-columns: 1fr 320px; }
  .grid.grid-one{ grid-template-columns: 1fr; }
}

.thumb{ position:relative; }
.thumb img {
    width: 100%;
    height: auto;
    display: block;
}
.item-dizi .thumb{
  position:relative;
}

.imdb-pill{
  position:absolute;
  top:8px;
  right:8px;
  z-index:3;

  display:inline-flex;
  align-items:center;
  gap:6px;

  height:22px;
  padding:0 10px;

  border-radius:999px;

  background: rgba(16, 43, 46, .95);      /* koyu zemin */
  border: 1px solid rgba(167, 201, 87, .45); /* yeşilimsi border */

  color:#fff;
  font-weight:700;
  font-size:12px;
  line-height:1;

  box-shadow:0 6px 16px rgba(0,0,0,.28);
}

.imdb-pill__star{
  font-size:12px;
}

.imdb-pill__val{
  letter-spacing:.2px;
}
.card{
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0,0,0,.12);
  overflow:hidden;
}
.card .card-h{
  padding:12px 12px;
  border-bottom:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.card .card-h h2,.card .card-h h3{
  margin:0;
  font-size:15px;
  letter-spacing:.2px;
}
.card .card-b{padding:12px}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius: 999px;
  font-weight:700;
  font-size:12px;
  color:#0b0b0b;
  background: var(--accent);
}
.badge.muted{background: rgba(255,255,255,.14); color:#fff; font-weight:600}

.list{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}
@media(min-width: 680px){
  .list{ grid-template-columns: repeat(3, 1fr); }
}
@media(min-width: 980px){
  .list{ grid-template-columns: repeat(3, 1fr); }
}

/* ===== Home / Genel: Bolum kartlari (post) =====
   Hedef goruntu: 233x131 (oran ~ 16:9) ve desktop'ta 5 kolon */
.list-episodes{ grid-template-columns: repeat(2, 1fr); }
.list-episodes .thumb{ aspect-ratio: 233/131; }
@media(min-width: 680px){
  .list-episodes{ grid-template-columns: repeat(4, 1fr); }
}
@media(min-width: 980px){
  .list-episodes{ grid-template-columns: repeat(5, 1fr); }
}

/* ===== Dizi kartlari (post_type:dizi) =====
   Hedef goruntu: 163x245 (portrait) */
.list-dizi{ grid-template-columns: repeat(2, 1fr); }
.list-dizi .thumb{ aspect-ratio: 163/245; }
@media(min-width: 680px){
  .list-dizi{ grid-template-columns: repeat(4, 1fr); }
}
@media(min-width: 980px){
  .list-dizi{ grid-template-columns: repeat(6, 1fr); }
}
.item{
  border:1px solid var(--border);
  border-radius: 12px;
  overflow:hidden;
  background: rgba(0,0,0,.12);
  transition: transform .12s ease, border-color .12s ease;
}
.item:hover{transform: translateY(-2px); border-color: rgba(244,196,48,.35)}
.item .thumb{
  aspect-ratio: 16/9;
  background: rgba(255,255,255,.06);
}
.item .meta{
  padding:10px;
}
.item .meta .t{
  font-weight:800;
  line-height:1.25;
  margin:0 0 6px;
  font-size:13px;
  color:#fff;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.item .meta .s{
  font-size:12px;
  color: var(--muted);
  display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap;
}
.star{color: var(--accent)}
.pager{display:flex; gap:8px; flex-wrap:wrap; padding-top:12px}
.pager a, .pager span{
  display:inline-block;
  padding:8px 10px;
  border-radius: 10px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.12);
  color: var(--muted);
  font-weight:700;
  font-size:12px;
}
.pager span.current{color:#0b0b0b; background: var(--accent); border-color: rgba(244,196,48,.45)}
.sidebar .widget{margin-bottom:16px}
.widget-title{margin:0 0 10px; font-size:14px}
.footer{
  padding:16px;
  border-top:1px solid var(--border);
  background: linear-gradient(to right, rgba(4,39,55,.98) 45%, rgba(28,65,82,.95) 100%);
  display:flex; gap:10px; align-items:center; justify-content:space-between; flex-wrap:wrap;
}
.footer small{color: var(--muted)}
hr.sep{border:0; border-top:1px dashed var(--border); margin:14px 0}

/* Gutenberg */
.wp-block{max-width:100%}
.entry-content{line-height:1.7; color: rgba(255,255,255,.88)}
.entry-content p{margin: 0 0 12px}
.entry-title{margin: 0 0 10px; font-size: 20px}


/* ===== Requested home tweaks ===== */
.home-h1{
  margin: 14px 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1px;
}
.home-desc{margin:14px 0 10px;font-size:12px;}
.home-p{padding-left:6px;}
.overlay-meta1{
  margin-top:4px;
  font-size:12px;
  opacity:.85;
  line-height:1.35;
}

.overlay-meta2{
  margin-top:2px;
  font-size:12px;
  opacity:.9;
  line-height:1.35;

  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}
.item-overlay a{display:block; position:relative;}
.item-overlay .thumb{position:relative;}
.item-overlay .overlay{
  position:absolute;
  left:8px; right:8px; bottom:8px;
  pointer-events:none;
}
.item-overlay .overlay-card{
  pointer-events:none;
  padding:8px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.75);
  border:1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(2px) saturate(120%);
}
.item-overlay .overlay-title{
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color:#fff;
}
.item-overlay .overlay-sub{
  margin-top:5px;
  font-weight: 600;
  font-size: 12px;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.item-overlay .overlay-title.one-line{white-space:nowrap;}

/* Ensure old meta below doesn't take space (in case some template still outputs) */
.item .meta{display:none;}
.item .star{display:none !important;}


/* ===== EPISODES 233x131 ===== */
.list-episodes .thumb{
  aspect-ratio:233/131;
  height:auto;
}

.list-episodes .overlay{
  position:absolute;
  left:0; right:0; bottom:0;
}

.list-episodes .overlay-card{
  background: rgba(0, 0, 0, 0.75);
  padding:6px 10px;
  border-radius:0 0 12px 12px;
}

.list-episodes .overlay-title{
  color:#ffd70d;
  font-weight:900;
  font-size:13px;
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.list-episodes .overlay-sub{
  color:#fff;
  font-weight:600;
  font-size:12px;
  line-height:1.1;
}

/* ===== DIZI 163x245 ===== */
.list-dizi .thumb{
  aspect-ratio:163/245;
}

.list-dizi .overlay{
  position:absolute;
  left:0; right:0; bottom:0;
}

.list-dizi .overlay-card{
  background: rgba(0, 0, 0, 0.75);
  padding:6px 10px;
  border-radius:0 0 12px 12px;
}

.list-dizi .overlay-title{
  color:#ffd70d;
  font-weight:900;
  display:block;
  font-size:13px;
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  text-align:center;
}

.list-dizi .overlay-year{
  display:block;
  font-size:12px;
  color:#fff;
  font-weight:800;
  margin-top:2px;
  line-height:1.1;
  text-align:center;
}


/* 7 columns for dizi grid on large screens */
@media (min-width: 1200px){
  .list-dizi{ grid-template-columns: repeat(7, 1fr) !important; }
}


/* === Overlay flush to bottom (no rounded corners) === */
.list-episodes .overlay,
.list-dizi .overlay{
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
}

.list-episodes .overlay-card,
.list-dizi .overlay-card{
  border-radius: 0 !important;
  border: 0 !important;
  backdrop-filter: none !important;
}

.list-episodes .overlay-card{
  background: rgba(0, 0, 0, 0.75) !important;
  padding: 6px 10px !important;
}

.list-dizi .overlay-card{
  background: rgba(0, 0, 0, 0.75) !important;
  padding: 6px 10px !important;
}

/* Center dizi overlay content */
.list-dizi .overlay-card{ text-align:center; }

/* Hover: only poster zoom, no border shift */
.item-overlay .thumb,
.item-dizi .thumb{
  overflow:hidden;
}
.item-overlay .thumb img,
.item-dizi .thumb img{
  transform: translateZ(0);
  transition: transform .18s ease;
  will-change: transform;
}
.item-overlay:hover .thumb img,
.item-dizi .thumb img{
  transition: transform .35s ease;
  will-change: transform;
  image-rendering: -webkit-optimize-contrast;
}

.item-dizi:hover .thumb img{
  transform: scale(1.04) translateZ(0);
}
/* prevent border/layout shift on hover */
.item-overlay,
.item-dizi{
  border: none !important;
}


/* ===== FINAL OVERRIDES (force yellow titles + no hover border shift) ===== */
.list-episodes .item-overlay .overlay-title,
.list-episodes .overlay .overlay-title,
.list-episodes .overlay-title{
  color:#ffd70d !important;
}

.list-dizi .item-dizi .overlay-title,
.list-dizi .overlay .overlay-title,
.list-dizi .overlay-title{
  color:#ffd70d !important;
}

/* Some themes set title colors on links/spans */
.list-episodes .overlay-title a,
.list-dizi .overlay-title a{
  color:#ffd70d !important;
}

/* Kill hover border/outline changes (keep only image zoom) */
.list-episodes .item,
.list-dizi .item{
  border:0 !important;
  outline:0 !important;
}

.list-episodes .item:hover,
.list-dizi .item:hover,
.list-episodes .item:focus-within,
.list-dizi .item:focus-within{
  border:0 !important;
  outline:0 !important;
  box-shadow: inherit !important;
}

/* If any pseudo border appears */
.list-episodes .item::before,
.list-episodes .item::after,
.list-dizi .item::before,
.list-dizi .item::after{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}


/* ===== Stop card jump on hover (disable translate on the whole item) ===== */
.list-episodes .item,
.list-dizi .item{
  transform: none !important;
  transition: none !important;
}

.list-episodes .item:hover,
.list-dizi .item:hover,
.list-episodes .item:focus-within,
.list-dizi .item:focus-within{
  transform: none !important;
}

/* If jump is applied on anchor */
.list-episodes .item a,
.list-dizi .item a{
  transform:none !important;
}
.list-episodes .item a:hover,
.list-dizi .item a:hover{
  transform:none !important;
}


/* ===== Flags ===== */
.dzn-flag-box{position:absolute;top:6px;left:6px;display:flex;gap:4px;z-index:10;flex-wrap:wrap}
.dzn-flag{width:22px;height:14px;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.45);background-size:cover;background-position:center}
.dzn-flag.trdub,.dzn-flag.yerli{background-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc0MCcgaGVpZ2h0PScyOCcgdmlld0JveD0nMCAwIDQwIDI4Jz48cmVjdCB3aWR0aD0nNDAnIGhlaWdodD0nMjgnIGZpbGw9JyNlMzBhMTcnLz48Y2lyY2xlIGN4PScxNicgY3k9JzE0JyByPSc3JyBmaWxsPScjZmZmJy8+PGNpcmNsZSBjeD0nMTgnIGN5PScxNCcgcj0nNS42JyBmaWxsPScjZTMwYTE3Jy8+PHBvbHlnb24gcG9pbnRzPScyNiwxNCAzMi4yLDExLjkgMjguNCwxNy4yIDI4LjYsMTAuOCAzMi4yLDE2LjEnIGZpbGw9JyNmZmYnLz48L3N2Zz4=');}
.dzn-flag.trsub{background:rgba(0,0,0,.85);position:relative}
.dzn-flag.trsub::after{content:'CC';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:900;color:#fff;letter-spacing:.2px}
.thumb-ph{width:100%;height:100%;background:rgba(255,255,255,.06)}
.dzn-empty{opacity:.8;padding:10px 0}

.page-h1{margin:14px 0 10px;font-size:14px;font-weight:750;}
.page-desc{margin:0px 0 10px;font-size:12px;line-height: 1.5;opacity: .72;}
.page-p{padding-left:6px;}

/* ===== Theme background overrides (25.02.2026) ===== */
body{
  background:
    radial-gradient(1200px 700px at 25% 0%, rgba(255, 255, 255, .10), #50727f 60%),
    radial-gradient(900px 600px at 80% 10%, rgba(244, 196, 48, .10), transparent 55%),
    radial-gradient(900px 650px at 50% 100%, rgba(45, 212, 191, .10), transparent 60%),
    #1f4a5bc7;
}
.wrap{
  background: linear-gradient(rgb(4 39 55 / 40%), rgb(28 59 73 / 38%));
}
header.site-header, header, .site-header{
  background: linear-gradient(to right, rgb(39 71 84) 45%, rgba(78, 114, 131, .95) 100%);
}
footer.site-footer, footer, .site-footer{
  background: linear-gradient(to right, rgb(39 71 84) 45%, rgba(78, 114, 131, .95) 100%);
}
.dzn-breadcrumb{margin:10px 0}
.dzn-breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:0;margin:0}
.dzn-breadcrumb a,.dzn-breadcrumb span{font-size:12px;opacity:.9}
.dzn-breadcrumb .sep{opacity:.5}

/* ===== Header/Footer gradient fix ===== */
.header{
  background: linear-gradient(to right, rgb(39 71 84) 45%, rgba(78, 114, 131, .95) 100%) !important;
}
.footer{
  background: linear-gradient(to right, rgb(39 71 84) 45%, rgba(78, 114, 131, .95) 100%) !important;
}

/* Breadcrumb boxed (restore) */
.dzn-breadcrumb .container{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 10px 12px;
}
.dzn-breadcrumb a, .dzn-breadcrumb span{color: rgba(255,255,255,.92);}

/* Home cards spacing */
.grid .card + .card{ margin-top: 16px; }

/* ===== AJAX SEARCH ===== */
.dzn-search-box{position:relative;margin-left:20px}
#dzn-live-search,
#dzn-live-search-m{
  background:#0e2f3d;
  border:1px solid rgba(255,255,255,.15);
  padding:11px 11px;
  border-radius:8px;
  color:#fff;
  width:280px;
}
#dzn-live-results,
#dzn-live-results-m{
  position:absolute;
  top:40px;
  left:0;
  width:280px;
  background:#082734;
  border-radius:10px;
  overflow:hidden;
  z-index:999;
}
.dzn-ajax-item{
  display:flex;
  gap:10px;
  padding:8px;
  align-items:center;
}
.dzn-ajax-item img{
  width:40px;
  height:60px;
  object-fit:cover;
  border-radius:4px;
}
.dzn-ajax-section{ padding:6px; }

.dzn-ajax-head{
  font-size:12px;
  opacity:.75;
  padding:6px 10px 4px;
  text-transform:uppercase;
  letter-spacing:.5px;
}

.dzn-ajax-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border-radius:10px;
  color:#fff;
  opacity:.92;
}

.dzn-ajax-item:hover{
  background:rgba(255,255,255,.06);
  opacity:1;
}

.dzn-ajax-item--dizi img{
  width:34px;
  height:50px;
  object-fit:cover;
  border-radius:6px;
  flex:0 0 auto;
}
/* === Dizi sayfası meta === */
.dzn-h3{ margin:0 0 8px; font-size:16px; }
.dzn-dizi-meta{ margin-bottom:12px; }
.dzn-meta-line1{ opacity:.85; font-size:12px; margin-bottom:2px; }
.dzn-meta-line2{
  opacity:.9;
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}

/* === Sidebar poster === */
.dzn-side-poster img{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
}

/* === Oyuncu listesi === */
.dzn-actor-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.dzn-actor{
  display:inline-flex;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  color:var(--text);
  text-decoration:none;
  background:rgba(255,255,255,.03);
}
.dzn-actor:hover{ background:rgba(255,255,255,.06); }

/* === Tabs === */
.dzn-tab-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:12px;
}
.dzn-tab-btn{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  color:var(--text);
  padding:8px 12px;
  border-radius:999px;
  cursor:pointer;
}
.dzn-tab-btn.is-active{
  background:rgba(244,196,48,.12);
  border-color:rgba(244,196,48,.35);
}
.dzn-tab-panel{ display:none; }
.dzn-tab-panel.is-active{ display:block; }
/* === Dizi: Konu + Bilgi Bloğu === */
.dzn-ozet{
  font-size:14px;
  line-height:1.6;
  color: rgba(255,255,255,.92);
  margin-bottom:12px;
}

.dzn-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: #f5b700;
  font-style: italic;
  margin-bottom: 12px;
  font-weight: 700;
}
.dzn-side-logo{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:120px;
}

.dzn-side-logo img{
    max-width:100%;
    max-height:80px;
    width:auto;
    height:auto;
    display:block;
    object-fit:contain;
}
.dzn-info{
  border:1px solid var(--border);
  background: rgba(0,0,0,.10);
  border-radius:12px;
  padding:12px;
}

.dzn-info-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.dzn-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color:#fff;
}

.dzn-pill--imdb{
  border-color: rgba(167, 201, 87, .45);
  background: rgba(16, 43, 46, .65);
}

.dzn-pill--durum{
  border-color: rgba(255, 215, 13, .35);
  background: rgba(255, 215, 13, .10);
}

.dzn-info-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px 12px;
}

.dzn-info-grid span{
  display:block;
  font-size:12px;
  opacity:.75;
  margin-bottom:2px;
}
.dzn-info-grid b{
  display:block;
  font-size:13px;
  font-weight:900;
}

.dzn-tur{
  margin-top:10px;
  font-size:12px;
  opacity:.9;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* === Sidebar: oyuncular liste === */
.dzn-actor-ul{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.dzn-actor-ul a{
  display:block;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.dzn-actor-ul a:hover{ background: rgba(255,255,255,.06); }

/* === Bölüm listesi (tab içi) === */
.ep-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.ep-link{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  background: rgba(0,0,0,.10);
}

.ep-link:hover{ background: rgba(255,255,255,.05); }

.ep-imdb{
  flex:0 0 auto;
  font-weight:900;
  font-size:12px;
  padding:5px 8px;
  border-radius:999px;
  border:1px solid rgba(167,201,87,.45);
  background: rgba(16,43,46,.55);
}

.ep-badges{
  flex:0 0 auto;
  opacity:.95;
  font-weight:900;
}

.ep-state{
  flex:0 0 auto;
  font-size:12px;
  font-weight:900;
  padding:5px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.ep-state--off{
  border-color: rgba(231,76,60,.35);
  background: rgba(231,76,60,.10);
}
.ep-state--trailer{
  border-color: rgba(52,152,219,.35);
  background: rgba(52,152,219,.10);
}

/* Minimal icons for episode statuses (Fragman / Yayınlanmadı) */
.dzn-ep-icon{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  line-height:1;
}
.dzn-ep-icon i{font-size:12px; line-height:1;}
.dzn-ep-icon.is-trailer{ color:#ff0000; }
.dzn-ep-icon.is-unpub{ color:#d6b25e; }

.ep-date{
  flex:0 0 auto;
  font-size:12px;
  opacity:.75;
  white-space:nowrap;
}


.dzn-player-underbar{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:12px;
}
.dzn-under-left{flex:1 1 auto}
.dzn-under-right{flex:0 0 auto;display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.dzn-under-right .btn{padding:10px 12px;border-radius:14px}
.dzn-under-right .btn i{margin-right:8px;opacity:.95}

/* ===== Genel buton (profil / modallar vb. ortak) ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 12px;
  border-radius:14px;
  font-size:13px;
  line-height:1;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
}
.btn:hover{ background: rgba(255,255,255,.12); }
#dznCinemaToggle i{margin-right:8px;opacity:.95}
/* ===== Episode Player (single.php) ===== */

.dzn-player-wrap{position:relative}

/* Player sizing: always stable (875x492 ratio) */
.dzn-player-box{
  position:relative;
  width:100%;
  max-width:875px;
  margin:0 auto;
  aspect-ratio:875 / 492;
  border-radius:18px;
  overflow:hidden;
  background:rgba(0,0,0,.18);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
}
/* removed: .dzn-player-flags overlay */

/* Part bar (player'dan ayrı) */
.dzn-partsbar{max-width:875px;margin:0 auto 10px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:space-between}
.dzn-partsbar .dzn-player-tabs{display:flex;gap:8px;flex-wrap:wrap}
.dzn-cinema-btn2{
  padding:7px 10px;
  border-radius:12px;
  font-weight:700;
  font-size:13px;
  line-height:1;
  opacity:.95;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  user-select:none;
}

.dzn-tab{border:1px solid rgba(255,255,255,.16);background:rgba(0,0,0,.18);color:var(--text);padding:7px 10px;border-radius:999px;font-weight:800;font-size:12.5px;cursor:pointer}
.dzn-tab.is-active{border-color:rgba(255,255,255,.35);background:rgba(255,215,13,.12)}

.dzn-iframe-box{position:relative;width:100%;height:100%}
.dzn-iframe-box{border-radius:18px;overflow:hidden}
.dzn-iframe-box iframe{position:absolute;inset:0;width:100%;height:100%;display:block;border:0;border-radius:18px}

/* Player navigation buttons */
.dzn-player-controls{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:10px;
}
.dzn-player-controls .dzn-nav-btn{
  padding:9px 12px;
  border-radius:14px;
  font-weight:600;
  letter-spacing:.1px;
}
.dzn-player-controls .dzn-nav-btn{min-width:180px;text-align:center}

/* Episode summary (blur -> click to reveal) */
.dzn-ep-summary{
  margin-top:14px;
  padding:14px;
  border:1px solid var(--border);
  border-radius:14px;
  background:rgba(0,0,0,.10);
  cursor:pointer;
  position:relative;
}
.dzn-ep-summary-h{font-weight:900;margin-bottom:8px}
.dzn-ep-summary-b{font-size:13px;line-height:1.65;color:rgba(255,255,255,.85)}
.dzn-ep-summary-b.is-blur{filter:blur(7px);user-select:none}
/* spoiler hint kaldırıldı */

/* Head */
.dzn-h1{font-size:18px;line-height:1.25;margin:0}

/* Label */
.dzn-ep-label{font-weight:600;opacity:.95;font-size:13px;letter-spacing:.1px}


.dzn-episode-grid{align-items:start}
.dzn-episode-grid .dzn-comments-col{grid-column:1 / 2; margin-top:14px;}
.dzn-dizi-page .grid .dzn-comments-col{grid-column:1 / 2; margin-top:14px;}
.dzn-player-card .card-h{gap:12px;flex-wrap:wrap;align-items:flex-start}
.dzn-ep-title{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.dzn-h1{font-size:18px;line-height:1.25;margin:0}
.dzn-ep-actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.btn.ghost{background:transparent;border:1px solid var(--border);color:var(--text)}
.btn.ghost:hover{border-color:rgba(255,255,255,.28)}


.dzn-ep-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}
.dzn-meta-item{display:flex;gap:8px;align-items:center;background:rgba(0,0,0,.12);border:1px solid var(--border);border-radius:999px;padding:8px 10px;font-weight:700;font-size:13px}
.dzn-mi-ico{opacity:.9}

.dzn-dizi-mini{display:grid;grid-template-columns:60px 1fr;gap:12px;align-items:center;text-decoration:none}
.dzn-dizi-mini--big{grid-template-columns:86px 1fr}
.dzn-dizi-mini--big img{width:86px;height:120px}
.dzn-dizi-mini img{
    width:90px;
    height:50px;
    object-fit:cover;
    border-radius:10px;
    box-shadow:var(--shadow);
}

.dzn-dizi-name{font-weight:700}
.dzn-dizi-sub{color:var(--muted);font-size:13px;margin-top:4px}

.dzn-select{margin-left:auto;position:relative;display:inline-block}
.dzn-select-ico{position:absolute;right:12px;top:50%;transform:translateY(-50%);pointer-events:none;opacity:.85;font-weight:900}
.dzn-season-select{
  appearance:none;-webkit-appearance:none;-moz-appearance:none;
  padding:10px 38px 10px 14px;
  border:1px solid rgba(255,255,255,.18);
  background:linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.10));
  color:var(--text);
  border-radius:14px;
  font-weight:900;
  letter-spacing:.2px;
  min-width:160px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.dzn-season-select option{background:#0f1113;color:#fff}
.dzn-season-select:hover{border-color:rgba(255,255,255,.30)}
.dzn-season-select:focus{outline:none;border-color:rgba(255,215,13,.55);box-shadow:0 0 0 3px rgba(255,215,13,.12), inset 0 0 0 1px rgba(255,255,255,.06)}
.dzn-ep-row{display:grid;grid-template-columns:70px 1fr;gap:10px;padding:10px 10px;border-radius:12px;border:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.10);text-decoration:none;color:var(--text);margin-bottom:8px}
.dzn-ep-row:hover{border-color:rgba(255,255,255,.22);background:rgba(0,0,0,.14)}
.dzn-ep-row.is-current{border-color:rgba(255,215,13,.55);box-shadow:0 0 0 2px rgba(255,215,13,.12)}
.dzn-ep-row.is-empty{grid-template-columns:70px 1fr auto;opacity:.85}
.dzn-ep-num{font-weight:900;color:rgba(255,255,255,.9)}
.dzn-ep-name{font-weight:800;opacity:.95}
.dzn-ep-status{font-weight:900;color:rgba(255,255,255,.7)}


.dzn-ep-info{
  margin-top:14px;
  padding:14px;
  border:1px solid var(--border);
  border-radius:14px;
  background:rgba(0,0,0,.10);
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
}
.dzn-info-item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:12px;
  background:rgba(0,0,0,.12);
  border:1px solid rgba(255,255,255,.10);
}
.dzn-info-item--wide{flex:0 0 auto}
.dzn-info-ico{opacity:.9}
.dzn-info-label{opacity:.75;font-weight:800;font-size:12px}
.dzn-info-val{font-weight:600}

.dzn-ep-row2{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.10);
  text-decoration:none;
  color:var(--text);
  margin-bottom:8px;
}
.dzn-ep-row2:hover{border-color:rgba(255,255,255,.22);background:rgba(0,0,0,.14)}
.dzn-ep-row2.is-current{border-color:rgba(255,215,13,.55);box-shadow:0 0 0 2px rgba(255,215,13,.12)}

.dzn-season-box.is-loading{opacity:.75;pointer-events:none;position:relative}
.dzn-season-box.is-loading:after{content:'Yükleniyor…';position:absolute;right:10px;top:-6px;font-size:12px;opacity:.75}


/* Player stage fill */
.dzn-player-stage{
position:relative;
width:100%;
aspect-ratio:16/9;
background:#000;
overflow:hidden;
}

.dzn-player-stage iframe{
position:absolute;
inset:0;
width:100%;
height:100%;
border:0;
}

/* Cinema mode: show only player */
body.dzn-cinema{overflow:hidden}
body.dzn-cinema .dzn-episode-grid > aside,
body.dzn-cinema .dzn-comments,
body.dzn-cinema .site-header,
body.dzn-cinema .site-footer,
body.dzn-cinema .dzn-breadcrumb,
body.dzn-cinema .card-h.dzn-ep-head,
body.dzn-cinema .dzn-info-block,
body.dzn-cinema .dzn-ozet-card,
body.dzn-cinema .dzn-player-navbar{display:none!important}
body.dzn-cinema .dzn-player-card{position:fixed;inset:0;margin:0;background:transparent;box-shadow:none;border:0;z-index:9999;display:flex;align-items:center;justify-content:center;overflow:hidden}
body.dzn-cinema .dzn-player-card>.card-b{height:auto;width:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
body.dzn-cinema .dzn-player-wrap{width:min(1000px, calc(100vw - 20px));max-width:1000px}
body.dzn-cinema .dzn-partsbar{display:none!important}
body.dzn-cinema .dzn-player-box{box-shadow:none;background:#000;max-width:1000px;width:100%}
body.dzn-cinema:before{content:'';position:fixed;inset:0;background:#000;z-index:9998}

/* Dizi sayfasına git mini poster */
.dzn-dizi-go img{width:100px;height:56px;object-fit:cover;border-radius:12px;flex:0 0 auto}

/* Season dropdown (custom) */
.dzn-season-dd{position:relative;display:inline-flex;align-items:center}
.dzn-season-btn{display:inline-flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:inherit;font-weight:700;font-size:13px}
.dzn-season-btn:hover{background:rgba(255,255,255,.07)}
.dzn-season-btn-caret{opacity:.8}
.dzn-season-menu{
  min-width:95.46px;
  background:rgb(40 68 79);
  border-radius:14px;
  padding:8px;
  box-shadow:0 12px 30px rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.08);
  z-index:30;
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  display:none;
  flex-direction:column;
}

.dzn-season-menu.is-open{display:flex}
.dzn-season-item{width:100%;text-align:left;padding: 9px 9px;border-radius:10px;border:0;background:transparent;color:inherit;font-weight:700;font-size:13px;cursor:pointer}
.dzn-season-item:hover{background:rgba(255,255,255,.06)}
.dzn-season-item.is-active{background:rgba(255,255,255,.10)}

.dzn-player-real iframe{width:100%;height:100%;border:0;display:block;border-radius:18px}

/* ===== Cinema mode (final overrides) =====
   Goal: show ONLY parts bar + player. Everything else hidden.
*/
body.dzn-cinema{overflow:hidden}
body.dzn-cinema:before{content:'';position:fixed;inset:0;background:#000;z-index:9998}

body.dzn-cinema .site-header,
body.dzn-cinema .site-footer,
body.dzn-cinema .dzn-breadcrumb,
body.dzn-cinema .dzn-comments,
body.dzn-cinema .dzn-episode-grid > aside{display:none!important}

body.dzn-cinema .dzn-player-card{position:fixed;inset:0;z-index:9999;margin:0;background:transparent;box-shadow:none;border:0}
body.dzn-cinema .dzn-player-card > .card-b{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}

body.dzn-cinema .dzn-player-controls,
body.dzn-cinema .dzn-ep-info,
body.dzn-cinema .dzn-ep-summary,
body.dzn-cinema .card-h.dzn-ep-head{display:none!important}

/* Cinema size override (requested) */
body.dzn-cinema .dzn-player-wrap{max-width:1000px;width:min(1000px, calc(100vw - 20px))}
body.dzn-cinema .dzn-player-box{max-width:1000px}

body.dzn-cinema .dzn-partsbar{display:none!important}
body.dzn-cinema .dzn-player-wrap{width:100%;max-width:min(1000px, calc(100vw - 20px))}
body.dzn-cinema .dzn-player-box{max-width:100%;box-shadow:none;background:#000}


/* --- v10 overrides --- */

/* Mini dizi poster */
.dzn-dizi-mini img{width:90px;height:50px;object-fit:cover;border-radius:10px;box-shadow:var(--shadow)}

/* Season dropdown tweaks */
.dzn-season-item{padding:9px 9px}

/* Parts buttons - softer */
.dzn-partsbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dzn-part-btn{font-weight:600;font-size:13px;line-height:1;border-radius:999px;padding:9px 12px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10);transition:transform .08s ease, background .12s ease, border-color .12s ease}
.dzn-part-btn:hover{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.18);transform:translateY(-1px)}
.dzn-part-btn.is-active{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.22)}

/* Language pills with icons */
.dzn-lang-val{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.dzn-lang-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10)}
.dzn-lang-ico{width:20px;height:13px;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.45);background-size:cover;background-position:center;flex:0 0 auto}
.dzn-lang-ico.trdub,.dzn-lang-ico.yerli{background-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc0MCcgaGVpZ2h0PScyOCcgdmlld0JveD0nMCAwIDQwIDI4Jz48cmVjdCB3aWR0aD0nNDAnIGhlaWdodD0nMjgnIGZpbGw9JyNlMzBhMTcnLz48Y2lyY2xlIGN4PScxNicgY3k9JzE0JyByPSc3JyBmaWxsPScjZmZmJy8+PGNpcmNsZSBjeD0nMTgnIGN5PScxNCcgcj0nNS42JyBmaWxsPScjZTMwYTE3Jy8+PHBvbHlnb24gcG9pbnRzPScyNiwxNCAzMi4yLDExLjkgMjguNCwxNy4yIDI4LjYsMTAuOCAzMi4yLDE2LjEnIGZpbGw9JyNmZmYnLz48L3N2Zz4=')}
.dzn-lang-ico.trsub{background:rgba(0,0,0,.85);position:relative}
.dzn-lang-ico.trsub:after{content:'CC';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:900;color:#fff;letter-spacing:.2px}
.dzn-dot{opacity:.7;padding:0 2px}

/* Info layout */
.dzn-info-item--wide{flex:0 0 auto}

/* Episode list badges */
.dzn-ep-badges{display:inline-flex;gap:4px;align-items:center;margin-left:auto}
.dzn-ep-row2{display:flex;align-items:center;gap:10px}
.ep-state--frag{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);padding:4px 8px;border-radius:999px;font-size:12px;font-weight:600}

/* Cinema mode centering */
body.dzn-cinema{background:#000 !important}
body.dzn-cinema .site-header,body.dzn-cinema .site-footer,body.dzn-cinema .dzn-right,body.dzn-cinema .dzn-breadcrumb,body.dzn-cinema .dzn-episode-meta,body.dzn-cinema .dzn-episode-summary,body.dzn-cinema .dzn-comments{display:none !important}
body.dzn-cinema .dzn-main{max-width:none !important;width:100% !important}
body.dzn-cinema .dzn-layout{display:flex !important;justify-content:center !important}
body.dzn-cinema .dzn-left{width:100% !important;max-width:900px !important;margin:0 auto !important}
body.dzn-cinema .dzn-player-wrap{margin:0 auto !important}


.dzn-season-menu{min-width:95.46px;background:rgb(40 68 79);border-radius:14px;padding:8px;box-shadow:0 12px 30px rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.08);z-index:30}

.dzn-bolum-name{font-weight:600;opacity:.9;font-size:14px}

/* Like / Dislike */
.dzn-vote-head{display:flex;gap:10px}
.dzn-vote-btn{flex:1 1 0;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 10px;border-radius:14px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.05);color:var(--text);font-weight:600;cursor:pointer}
.dzn-vote-btn strong{font-weight:700}
.dzn-vote-btn:hover{background:rgba(255,255,255,.08)}
.dzn-vote-btn[disabled]{opacity:.6;cursor:not-allowed}
.dzn-vote-bar{margin-top:10px;height:10px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.08);display:flex}
.dzn-vote-bar-like{height:100%;background:#19c37d}
.dzn-vote-bar-dislike{height:100%;background:#ef4444}

.dzn-side-poster{position:relative}
.dzn-vote-card--overlay{position:absolute;left:10px;right:10px;bottom:10px;padding:10px;border-radius:14px;background:rgba(0,0,0,.55);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.10)}
.dzn-vote-card--overlay .dzn-vote-btn{padding:8px 8px;font-size:13px;border-radius:12px}
.dzn-vote-card--overlay .dzn-vote-head span{display:none}

.dzn-vote-card--block{padding:12px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08)}

/* Comments */
.dzn-comments-card .card-h{align-items:center}
.dzn-comment-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.dzn-comment{margin:0}
.dzn-comment-card{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);border-radius:16px;padding:12px 12px 10px}
.dzn-comment-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}
.dzn-comment-name{font-weight:800}
.dzn-comment-badge{margin-left:8px;font-size:12px;padding:4px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(0,0,0,.25)}
.dzn-comment-badge.is-admin{border-color:rgba(250,204,21,.35);background:rgba(250,204,21,.12)}
.dzn-comment-badge.is-user{border-color:rgba(34,197,94,.25);background:rgba(34,197,94,.10)}
.dzn-comment-badge.is-guest{border-color:rgba(148,163,184,.25);background:rgba(148,163,184,.10)}
.dzn-comment-time{opacity:.75;font-size:12px;white-space:nowrap}
.dzn-comment-body{position:relative;line-height:1.6}
.dzn-comment-body.is-spoiler{filter:blur(10px);opacity:.75}
.dzn-comment-body.is-spoiler.is-revealed{filter:none;opacity:1}
.dzn-spoiler-reveal{margin-top:10px;display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.25);color:#fff;font-weight:700;cursor:pointer}
.dzn-comment-foot{margin-top:8px}
.dzn-comment-foot a{font-weight:700;opacity:.85}
.dzn-comment-pager{margin-top:12px}

/* Coming soon (empty episode) */
.dzn-comingsoon{padding:48px 16px;text-align:center;border-radius:14px;background:rgba(0,0,0,.08);border:1px solid rgba(255,255,255,.08)}
.dzn-comingsoon-ico{font-size:44px;margin-bottom:10px;opacity:.95}
.dzn-comingsoon-title{font-size:18px;font-weight:800;margin:0 0 6px}
.dzn-comingsoon-sub{font-size:13px;opacity:.75}
.dzn-cf-row{margin:0 0 10px}
.dzn-cf-row--wide{margin-top:10px}
.dzn-cf-row label{display:block;font-weight:700;margin-bottom:6px;opacity:.9}
.dzn-cf-row input,.dzn-cf-row textarea{width:100%;border-radius:14px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.03);color:#fff;padding:10px 12px;outline:none}
.dzn-spoiler-toggle{display:flex;align-items:center;gap:10px;margin:6px 0 14px;font-weight:700;opacity:.9}
.comment-submit{padding:10px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;font-weight:800;cursor:pointer}

/* Cinema */
body.dzn-cinema #dznCinemaToggle{display:none !important}
body.dzn-cinema .dzn-partsbar{display:none !important}
body.dzn-cinema .dzn-cinema-close{display:flex}
body.dzn-cinema .dzn-player-card{position:fixed;inset:0;margin:0;border-radius:0;background:#000;z-index:9999;display:flex;align-items:center;justify-content:center}
body.dzn-cinema .dzn-player-card>.card-h{display:none !important}
body.dzn-cinema .dzn-player-card>.card-b{width:100%;max-width:1000px;padding:0}
body.dzn-cinema .dzn-player-wrap{max-width:1000px;width:96vw}

.dzn-cinema-close{display:none;position:absolute;top:10px;right:10px;width:38px;height:38px;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:rgba(0,0,0,.45);color:#fff;font-size:26px;line-height:1;align-items:center;justify-content:center;cursor:pointer;z-index:50}

/* Player tabs with flags */
.dzn-player-tabs{display:flex;gap:8px;flex-wrap:wrap}
.dzn-tab{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.04);color:var(--text);font-weight:700;font-size:13px;letter-spacing:.1px;cursor:pointer}
.dzn-tab:hover{background:rgba(255,255,255,.07)}
.dzn-tab.is-active{border-color:rgba(255,215,13,.55);background:rgba(255,215,13,.10)}
.dzn-tab .dzn-flag{width:20px;height:13px;border-radius:3px}
.dzn-tab-txt{opacity:.95}


/* Actors show more */
.actors-grid .actor.is-hidden{display:none;}
.dzn-actors-more{
  margin-top:12px;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-weight:700;
}
.dzn-actors-more:hover{background:rgba(255,255,255,.10);}
.dzn-actors-more:active{transform:translateY(1px);}

/* Follow button */
.dzn-follow-card .card-b{padding:10px;}
.dzn-follow-btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 12px;
  border-radius:14px;
  border:1px solid rgba(255,215,13,.28);
  background:rgba(255,215,13,.10);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
}
.dzn-follow-btn .txt{letter-spacing:.1px}
.dzn-follow-btn:hover{background:rgba(255,215,13,.14); border-color:rgba(255,215,13,.40);}
.dzn-follow-btn.is-on{
  border-color:rgba(80,200,120,.35);
  background:rgba(80,200,120,.12);
}
.dzn-follow-btn.is-on:hover{background:rgba(80,200,120,.16);}

/* Follow actor button (oyuncu sayfası) - follow butonu ile uyumlu */
.dzn-follow-actor-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:3px 9px;
  border-radius:12px;
  border:1px solid rgba(255,215,13,.28);
  background:rgba(255,215,13,.10);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
}
.dzn-follow-actor-btn:hover{background:rgba(255,215,13,.14); border-color:rgba(255,215,13,.40);}
.dzn-follow-actor-btn.is-on{
  border-color:rgba(80,200,120,.35);
  background:rgba(80,200,120,.12);
}
.dzn-follow-actor-btn.is-on:hover{background:rgba(80,200,120,.16);}
.dzn-follow-actor-btn.is-disabled,
.dzn-follow-actor-btn[disabled]{
  opacity:.55;
  cursor:not-allowed;
  border-color:rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
}

/* Marks */
.dzn-watch-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap;}
.dzn-mark-btn.is-on{border-color:rgba(255,255,255,.35);}

/* ensure pointer cursor on action buttons */
.dzn-actors-more,
.dzn-mark-btn,
.dzn-nav-btn{cursor:pointer;}

/* Countdown */
.dzn-countdown{margin-top:12px;}


/* Watched / Watch later buttons (episode) */

.dzn-mark-btn{border:1px solid rgba(255,255,255,.16); background:rgba(0,0,0,.18); color:var(--text);}
.dzn-mark-btn:hover{background:rgba(255,255,255,.06);}
.dzn-mark-watched.is-on{border-color:rgba(80,200,120,.45); background:rgba(80,200,120,.14); box-shadow:0 0 0 1px rgba(80,200,120,.18) inset;}
.dzn-mark-later.is-on{border-color:rgba(255,215,13,.55); background:rgba(255,215,13,.14); box-shadow:0 0 0 1px rgba(255,215,13,.18) inset;}
/* no icon spacing for watched / later buttons */
.dzn-mark-btn::before{display:none !important; content:none !important;}

/* Force hand cursor on primary action buttons */
.dzn-cinema-btn,.dzn-cinema-btn2,.dzn-follow-btn,.dzn-actors-more,.dzn-season-btn,.dzn-part-btn,
.dzn-nav-btn,.dzn-vote-btn,.dzn-spoiler-toggle{cursor:pointer;}

/* Actors: hide beyond 12 only when JS is active (so bots/no-js can still see all) */
html.js .actors-grid .actor.is-hidden{display:none;}

/* Follow count */
.dzn-follow-count{margin-top:8px;font-size:12px;opacity:.85;text-align:center;}

/* Mobile responsiveness baseline */
@media (max-width: 980px){
  .container,.wrap,.site-wrap{max-width:100%;padding-left:12px;padding-right:12px;}
  .dzn-episode-grid,.dzn-dizi-grid,.dzn-dizi-layout,.layout{grid-template-columns:1fr!important;}
  .dzn-episode-grid>aside,.dzn-dizi-grid>aside{order:2;}
  .dzn-episode-grid>main,.dzn-dizi-grid>main{order:1;}
}

@media (max-width: 820px){
  .dzn-player-wrap{max-width:100%!important;width:100%!important;}
  .dzn-player-box{max-width:100%!important;}
  .dzn-player-real iframe{width:100%!important;height:auto!important;aspect-ratio:16/9;}
  .dzn-watch-actions{justify-content:flex-start;}
}

@media (max-width: 520px){
  .dzn-cinema-btn,.dzn-cinema-btn2{width:100%;justify-content:center;}
}

/* ===== Site-wide mobile responsiveness ===== */
@media (max-width: 980px){
  /* Header */
  .header-inner{flex-wrap:wrap; gap:10px;}
  .brand{flex:0 0 auto;}
  .nav{flex:1 1 100%; order:3;}
  .nav{display:flex; gap:8px; overflow-x:auto; -webkit-overflow-scrolling:touch; padding-bottom:6px;}
  .nav::-webkit-scrollbar{height:0;}
  .nav a{flex:0 0 auto; white-space:nowrap;}
  .search{flex:1 1 100%; order:2;}
  .dzn-search-box{width:100%;}
  #dzn-live-search,
#dzn-live-search-m{width:100%;}

  /* Generic grids/cards */
  .grid{grid-template-columns:1fr!important;}
  .card{border-radius:14px;}

  /* Sidebar blocks under main */
  main.main{padding-left:0; padding-right:0;}
}

@media (max-width: 820px){
  /* Episode list / right column */
  .dzn-ep-row2{gap:10px;}
  .dzn-ep-badges{gap:6px;}
  .dzn-info-grid{grid-template-columns:1fr!important;}

  /* Comments */
  .dzn-comments .commentlist .comment{padding:10px 10px;}
  .dzn-comments .comment-meta{flex-wrap:wrap; gap:6px;}
  .dzn-comments .comment-content{font-size:13px;}
  .dzn-comments textarea,.dzn-comments input[type="text"],.dzn-comments input[type="email"]{width:100%;}

  /* Forms */
  .dzn-form-row{flex-direction:column; align-items:stretch;}
}

@media (max-width: 520px){
  /* Tighten spacing */
  .wrap{padding-left:10px; padding-right:10px;}
  .header{padding:10px 0;}
  .dzn-dizi-mini img{width:86px; height:50px;}

  /* Tabs/buttons */
  .dzn-part-btn{padding:8px 10px; font-size:12px;}
  .dzn-season-btn{padding:8px 10px;}
  .dzn-actors-more,.dzn-follow-btn,.dzn-vote-btn,.dzn-nav-btn{padding:10px 12px;}
}


/* ===== Moved from single-dizi.php ===== */

/* ===== Base ===== */
.dzn-dizi-page{ color: rgba(255,255,255,.88); }
.dzn-dizi-page .dzn-h1{ font-size:20px; margin:0 0 6px; font-weight:700; color:rgba(255,255,255,.92); }
.dzn-dizi-page .page-desc{ margin:0 0 10px; font-size:12px; line-height:1.5; opacity:.72; }
.dzn-dizi-page .dzn-h2{ font-size:14px; margin:0 0 10px; font-weight:700; color:rgba(255,255,255,.88); }
.dzn-dizi-page .dzn-ozet{ font-size:13px; line-height:1.6; color: rgba(255,255,255,.82); margin:0 0 12px; }

/* ===== Pills ===== */
.dzn-dizi-page .pillbar{ display:flex; flex-wrap:wrap; gap:8px; }
.dzn-dizi-page .pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-size:12px; font-weight:700;
  text-decoration:none;
  color: rgba(255,255,255,.86);
}
.dzn-dizi-page .pill:hover{ background: rgba(255,255,255,.05); }
.dzn-dizi-page .pill--yil{ border-color: rgba(56,189,248,.28); background: rgba(56,189,248,.08); }
.dzn-dizi-page .pill--tur{ border-color: rgba(168,85,247,.25); background: rgba(168,85,247,.07); }
.dzn-dizi-page .pill--kanal{ border-color: rgba(45,212,191,.25); background: rgba(45,212,191,.07); }
.dzn-dizi-page .pill--ulke{ border-color: rgba(244,196,48,.22); background: rgba(244,196,48,.07); }
.dzn-dizi-page .pill--lang{ border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.dzn-dizi-page .pill--lang .lang{ display:inline-flex; align-items:center; gap:8px; font-size:21px; line-height:1; font-weight:900; }
.dzn-dizi-page .pill--lang .cc{ font-size:12px; padding:4px 7px; border-radius:999px; border:1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); }

/* Status */
.dzn-dizi-page .status--ongoing{ border-color: rgba(34,197,94,.28); background: rgba(34,197,94,.10); }
.dzn-dizi-page .status--final{ border-color: rgba(239,68,68,.28); background: rgba(239,68,68,.10); }
.dzn-dizi-page .status--ended{ border-color: rgba(148,163,184,.22); background: rgba(148,163,184,.08); }
.dzn-dizi-page .status--default{ border-color: rgba(255,255,255,.10); background: rgba(255,255,255,.03); }

/* TYPE */
.dzn-dizi-page .type--default{
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.10);
}

.dzn-dizi-page .type--mini{
    background:rgba(168,85,247,.16);
    border-color:rgba(168,85,247,.35);
}

.dzn-dizi-page .type--doc{
    background:rgba(59,130,246,.16);
    border-color:rgba(59,130,246,.35);
}

.dzn-dizi-page .type--reality{
    background:rgba(245,158,11,.16);
    border-color:rgba(245,158,11,.35);
}

.dzn-dizi-page .type--scripted{
    background:rgba(16,185,129,.16);
    border-color:rgba(16,185,129,.35);
}
.dzn-pill-creator svg{
  width:14px;
  height:14px;
  flex:0 0 14px;
  display:block;
  opacity:.95;
}
.side-airdates{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:12px;
}

.airdate-box{
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(255,255,255,.03);
}

.airdate-box .lbl{
  display:block;
  font-size:12px;
  font-weight:700;
  opacity:.8;
  margin-bottom:4px;
}

.airdate-box .sub{
  display:block;
  font-size:13px;
  font-weight:800;
}
/* IMDb */
.dzn-dizi-page .imdb-badge{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:62px; padding:6px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-weight:800; font-size:12px;
  font-variant-numeric: tabular-nums;
  white-space:nowrap;
  gap:3px;
}
.dzn-dizi-page .imdb-badge .star{ opacity:.9; }
.dzn-dizi-page .imdb--top{ border-color: rgba(34,197,94,.35); background: rgba(34,197,94,.12); }
.dzn-dizi-page .imdb--good{ border-color: rgba(132,204,22,.35); background: rgba(132,204,22,.12); }
.dzn-dizi-page .imdb--mid{ border-color: rgba(245,158,11,.35); background: rgba(245,158,11,.12); }
.dzn-dizi-page .imdb--low{ border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.12); }

/* Actors */
.dzn-dizi-page .actors-grid{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:10px; }
@media (min-width: 820px){ .dzn-dizi-page .actors-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); } }
.dzn-dizi-page .actor{
  display:flex; align-items:center; gap:10px;
  padding:8px 10px; border-radius:12px;
  border:1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.02);
  text-decoration:none; color: rgba(255,255,255,.78);
  min-height:52px;
}
.dzn-dizi-page .actor:hover{
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.86);
}

.dzn-dizi-page .actor-ph{
  width:34px;
  height:34px;
  border-radius:10px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  flex:0 0 auto;
}

/* İsim + rol alt alta */
.dzn-dizi-page .actor-name{
  display:flex;
  flex-direction:column;
  font-weight:700;
  font-size:12.5px;
  line-height:1.2;
}

.dzn-dizi-page .actor-role{
  display:block;
  font-size:11px;
  color:rgba(255,255,255,.55);
  letter-spacing:.2px;
  margin:2px 0 0 0; /* sadece üst boşluk */
}
/* Tabs */
.dzn-dizi-page .dzn-tab-buttons{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.dzn-dizi-page .dzn-tab-btn{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.85);
  padding:8px 12px; border-radius:999px;
  cursor:pointer; font-weight:700; font-size:12px;
}
.dzn-dizi-page .dzn-tab-btn.is-active{ background: rgba(244,196,48,.10); border-color: rgba(244,196,48,.28); color: rgba(255,255,255,.92); }
.dzn-dizi-page .dzn-tab-panel{ display:none; }
.dzn-dizi-page .dzn-tab-panel.is-active{ display:block; }

/* Episodes */
.dzn-dizi-page .ep-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.dzn-dizi-page .ep-link{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:12px;
  background: rgba(0,0,0,.10);
  text-decoration:none;
  color: rgba(255,255,255,.78);
}
.dzn-dizi-page .ep-link:hover{ background: rgba(255,255,255,.045); color: rgba(255,255,255,.86); }
.dzn-dizi-page .ep-title{
  flex: 0 1 auto;          /* 1 1 auto yerine */
  min-width: 0;
  font-weight: 500;
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dzn-dizi-page .ep-right{
  margin-left: auto;       /* sağ bloğu sağa dayar */
  white-space: nowrap;
}
.dzn-dizi-page .ep-imdb{ min-width:62px; }
.dzn-dizi-page .dzn-ep-badges{ display:flex; align-items:center; gap:8px; justify-content:flex-end; }
.dzn-dizi-page .ep-right{ flex:0 0 auto; display:flex; align-items:center; justify-content:flex-end; gap:10px; min-width:115px; }
.dzn-dizi-page .ep-state{ font-size:11px; font-weight:800; padding:6px 9px; border-radius:999px; border:1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.04); white-space:nowrap; }
.dzn-dizi-page .ep-state--off{ border-color: rgba(239,68,68,.30); background: rgba(239,68,68,.10); }
.dzn-dizi-page .ep-state--trailer{ border-color: rgba(59,130,246,.30); background: rgba(59,130,246,.10); }
.dzn-dizi-page .ep-date{ min-width:50px; text-align:right; font-size:11px; opacity:.65; white-space:nowrap; }

/* Sidebar */
.dzn-dizi-page .dzn-side-poster img{ width:100%; height:auto; display:block; border-radius:12px; }
.dzn-dizi-page .side-actions{ display:flex; flex-direction:column; gap:10px; }
.dzn-dizi-page .side-actions a{
  display:flex; flex-direction:column; gap:4px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.86);
  text-decoration:none;
}
.dzn-dizi-page .side-actions a:hover{ background: rgba(255,255,255,.06); }
.dzn-dizi-page .side-actions .lbl{ font-weight:900; font-size:12px; }
.dzn-dizi-page .side-actions .sub{ font-size:12px; opacity:.75; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* Trailers */
.dzn-dizi-page .trailers-side{ display:grid; grid-template-columns: repeat(1, minmax(0,1fr)); gap:10px; }
.dzn-dizi-page .tr-card{ position:relative; border-radius:12px; overflow:hidden; border:1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03); text-decoration:none; display:block; }
.dzn-dizi-page .tr-thumb{ width:100%; aspect-ratio: 16/9; object-fit:cover; display:block; }
.dzn-dizi-page .tr-play{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35)); }
.dzn-dizi-page .tr-play span{ width:46px; height:46px; border-radius:999px; border:1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.35); display:flex; align-items:center; justify-content:center; font-size:18px; color: rgba(255,255,255,.92); }
.dzn-dizi-page .tr-card:hover .tr-play span{ background: rgba(0,0,0,.45); }

/* Modal */
#dznTrailerModal{ position:fixed; inset:0; background: rgba(0,0,0,.72); display:none; align-items:center; justify-content:center; padding:16px; z-index: 999999; }
#dznTrailerModal.is-open{ display:flex; }
#dznTrailerModal .inner{ width:min(980px, 100%); background: rgba(10,10,10,.9); border:1px solid rgba(255,255,255,.10); border-radius:14px; overflow:hidden; }
#dznTrailerModal .bar{ display:flex; justify-content:flex-end; padding:8px 10px; }
#dznTrailerModal .close{ border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: rgba(255,255,255,.85); border-radius:10px; padding:6px 10px; cursor:pointer; }
#dznTrailerModal .frame{ width:100%; aspect-ratio:16/9; background:#000; }
#dznTrailerModal iframe{ width:100%; height:100%; border:0; display:block; }

/* Comments */
.dzn-comments .comment-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.dzn-comments .comment-body{
  border:1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.02);
  border-radius:12px;
  padding:10px 12px;
}
.dzn-comments .comment-meta{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:6px; }
.dzn-comments .comment-author{ font-weight:800; font-size:12px; display:flex; align-items:center; gap:8px; }
.dzn-comments .comment-badge{ font-size:11px; font-weight:900; padding:4px 7px; border-radius:999px; border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); opacity:.9; }
.dzn-comments .comment-badge--admin{ border-color: rgba(244,196,48,.28); background: rgba(244,196,48,.10); }
.dzn-comments .comment-badge--guest{ border-color: rgba(148,163,184,.20); background: rgba(148,163,184,.08); }
.dzn-comments .comment-time{ font-size:11px; opacity:.65; white-space:nowrap; }
.dzn-comments .comment-text{ font-size:12.5px; line-height:1.6; opacity:.9; }
.dzn-comments .comment-reply-link{
  display:inline-flex; margin-top:8px;
  padding:6px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.85);
  text-decoration:none;
  font-weight:800; font-size:11px;
}
.dzn-comments .comment-reply-link:hover{ background: rgba(255,255,255,.06); }
.dzn-comments .comment-respond{ margin-top:12px; }
.dzn-comments #reply-title{ font-size:13px; font-weight:900; margin:0 0 10px; color: rgba(255,255,255,.88); }
.dzn-comments .comment-form p{ margin:0 0 10px; }
.dzn-comments textarea, .dzn-comments input[type="text"], .dzn-comments input[type="email"], .dzn-comments input[type="url"]{
  width:100%;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.9);
  padding:10px 12px;
  outline:none;
}
.dzn-comments textarea{ min-height:120px; resize:vertical; }
.dzn-comments input[type="submit"]{
  border-radius:12px;
  border:1px solid rgba(244,196,48,.28);
  background: rgba(244,196,48,.10);
  color: rgba(255,255,255,.92);
  font-weight:900;
  padding:10px 12px;
  cursor:pointer;
}
.dzn-comments input[type="submit"]:hover{ background: rgba(244,196,48,.16); }



/* ===== Mobile fixes (site-wide) ===== */
@media (max-width: 900px){
  .container{padding:0 10px}
  .wrap{margin:0 auto 18px; border-radius:0}
  .header{background:rgba(4,39,55,.98)}
  .header-inner{padding:12px 12px; gap:10px; display:grid; grid-template-columns:44px 1fr; align-items:center}
  .brand{min-width:0; justify-self:center}
  .brand a.site-title{font-size:22px}
  .dzn-burger{display:inline-flex}
  .nav--desktop,.search--desktop{display:none}
  .dzn-mobile-search{display:block}
  /* prevent horizontal overflow */
  .main, .sidebar, .content{min-width:0}
  .dzn-player-box,.dzn-partsbar{max-width:100%}
  .dzn-season-menu{min-width:0; width:min(78vw, 280px)}
  .dzn-iframe-box iframe{border-radius:16px}
  .dzn-player-box{border-radius:16px}
  .dzn-card, .card, .widget{max-width:100%}
  table{display:block; overflow:auto; max-width:100%}
  pre{overflow:auto; max-width:100%}

  /* footer mobile */
  .footer{flex-direction:column; align-items:center; text-align:center; gap:10px; padding:14px 12px}
  .footer div{display:flex; flex-wrap:wrap; justify-content:center; gap:10px}

  /* episode watch actions: place above parts on mobile and keep inline */
  .dzn-partsbar{display:flex; flex-direction:column; align-items:stretch}
  .dzn-watch-actions{order:-1; width:100%; display:flex; justify-content:center; gap:8px; flex-wrap:wrap}
  .dzn-player-tabs{order:0; justify-content:center}
}


/* Mobile search sizing */
.dzn-mobile-search .dzn-search-box{margin-left:0}
.dzn-mobile-search #dzn-live-search-m{width:100%}
.dzn-mobile-search #dzn-live-results-m{width:100%}


/* ===== Mobile fixes (v25-based patch) ===== */
@media (max-width: 980px){
  /* Prevent horizontal overflow */
  html, body{overflow-x:hidden;}
  *, *:before, *:after{box-sizing:border-box;}
  img, video, iframe{max-width:100%;}

  /* Dizi + Episode main wrappers */
  .dzn-dizi-page, .dzn-episode-page, .page, .container, .wrap{max-width:100%;}
  .page-p, .content, .sidebar{min-width:0; max-width:100%;}

  /* Episode list titles: clamp and avoid pushing layout */
  .dzn-ep-row2{gap:8px;}
  .dzn-ep-label{
    min-width:0;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    word-break:break-word;
  }

  /* Player controls: three buttons fit in one row */
  .dzn-player-controls{gap:8px;}
  .dzn-player-controls .btn{
    flex:1 1 0;
    min-width:0;
    padding:8px 8px;
    font-size:12px;
    border-radius:12px;
    text-align:center;
    white-space:nowrap;
  }

  /* Dizi episode rows: prevent ep-right min-width overflow */
  .dzn-dizi-page .ep-right{min-width:0 !important; flex:0 0 auto;}

  /* Player controls: force 3 buttons side-by-side on mobile */
  .dzn-player-controls{display:flex; flex-wrap:nowrap; gap:8px;}
  .dzn-player-controls .dzn-nav-btn{
    flex:1 1 0;
    min-width:0 !important;
    padding:8px 8px;
    font-size:12px;
    border-radius:12px;
    white-space:nowrap;
  }


  /* Watch actions (Sinema/İzledim/Sonra İzle) fit in one row */
  .dzn-watch-actions{display:flex; flex-wrap:nowrap; gap:8px; align-items:center;}
  .dzn-watch-actions .dzn-cinema-btn2{
    flex:1 1 0;
    min-width:0 !important;
    padding:8px 8px;
    font-size:12px;
    border-radius:12px;
    text-align:center;
    white-space:nowrap;
  }

  /* Dizi sayfası bölüm listesi (mobil): TEK SATIR + taşma yok */
  .dzn-dizi-page .ep-link{
    display:flex;
    align-items:center;
    flex-wrap:nowrap;
    gap:0;
    max-width:100%;
    overflow:hidden; /* satır kendi içinde kırılsın, sayfa taşmasın */
  }
  /* IMDb chip biraz küçülüp sola yaklaşsın */
  .dzn-dizi-page .ep-imdb,
  .dzn-dizi-page .imdb-badge,
  .dzn-dizi-page .ep-rating{
    flex:0 0 auto;
    min-width:41px;
    font-size:11px;
    padding:0px 5px;
    margin-right:6px;
  }
  /* Sezon+Bölüm + bölüm adı: tek satır, ... ile kısalsın */
  .dzn-dizi-page .ep-title,
  .dzn-dizi-page .dzn-ep-label{
    flex:1 1 auto;
    min-width:0;
    margin-right:6px; /* sağdaki blok fazla boşluk bırakmasın */
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    line-height:1.15;
  }

  /* Sağ blok: tarih + (varsa) bayraklar/fragman/yayınlanmadı ikon-chip aynı hizada */
  .dzn-dizi-page .ep-right{
    flex:0 0 auto;
    min-width:0 !important;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:6px;
    white-space:nowrap;
  }
  .dzn-dizi-page .ep-date{
    min-width:auto;
    margin:0;
    text-align:right;
  }

  /* Badge kutuları araya gereksiz boşluk koymasın */
  .dzn-dizi-page .dzn-ep-badges,
  .dzn-dizi-page .ep-badges,
  .dzn-dizi-page .ep-flags{
    display:inline-flex;
    align-items:center;
    gap:4px;
    margin:0 !important;
    padding:0;
  }
  /* Eğer tema bir yerde margin-left:auto veriyorsa ez */
  .dzn-dizi-page .ep-right .dzn-ep-badges{margin-left:0 !important;}

  .dzn-dizi-page .dzn-flag-box,
  .dzn-dizi-page .dzn-flags{
    display:inline-flex;
    align-items:center;
    gap:4px;
    margin:0;
    padding:0;
  }

}


/* === v25 mobile tweaks requested === */
@media (max-width: 980px){
  .dzn-mobile-search{
    display:block;
    padding:0px 6px 0px;
  }
  /* header: logo left, burger right */
  .header .header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
  }
  .header .brand{ order:1; margin-right:auto; }
  .header .dzn-burger{ order:3; }
}

/* Disabled mark buttons (guest users) */
.dzn-mark-btn.is-disabled{
  cursor:not-allowed;
}

/* Episode list: make status chips minimal */
.ep-state{
  font-size:11px;
  padding:2px 6px;
  border-radius:999px;
  line-height:1.2;
  white-space:nowrap;
}
.dzn-ep-date{
  font-size:11px;
  opacity:.8;
  white-space:nowrap;
}

/* On episode sidebar list, keep badges/states compact */
.dzn-ep-row2{
  gap:8px;
}
.dzn-ep-badges{
  gap:4px;
}
/* Episode sidebar list: right side items should be one aligned group */
.dzn-ep-row2{
  justify-content:flex-start; /* space-between'i ez */
}

.dzn-ep-row2 .dzn-ep-label{
  flex:1 1 auto;
  min-width:0;
}

.dzn-ep-row2 .dzn-ep-meta{
  margin-left:auto;           /* sağa it */
  display:inline-flex;
  align-items:center;
  gap:6px;                    /* tümü aynı boşluk */
  white-space:nowrap;
}

.dzn-ep-row2 .dzn-ep-badges{
  display:inline-flex;
  align-items:center;
  gap:4px;
}
@media (max-width: 980px){
  /* Dizi sayfası bölüm listesi: bölüm adını gizle */
  .dzn-dizi-page .ep-list .ep-title .ep-name,
  .dzn-dizi-page .ep-list .ep-title small,
  .dzn-dizi-page .ep-list .ep-title .ep-episode-name,
  .dzn-dizi-page .ep-list .ep-title .ep-subtitle{
    display:none !important;
  }

  /* Sadece "x. Sezon x. Bölüm" kalsın */
  .dzn-dizi-page .ep-list .ep-title{
    white-space:nowrap;
  }
}
.dzn-follow-btn.is-disabled{
	cursor:not-allowed;
}
.dzn-vote-btn.is-disabled{
	cursor:not-allowed;
}
@media (max-width: 980px){
  /* Bölüm sayfası (single.php) yorumları en alta */
  .dzn-episode-grid .dzn-comments-col{
    order: 3;
    grid-column: 1 / -1;
  }

  /* Dizi sayfası (single-dizi.php) yorumları en alta */
  .dzn-dizi-grid .dzn-comments-col{
    order: 3;
    grid-column: 1 / -1;
  }
}
@media (max-width:980px){

  .header{
    position:relative;
    left:50%;
    right:50%;
    margin-left:-50vw;
    margin-right:-50vw;
    width:100vw;
    padding:12px 16px;
	background: rgb(45 75 88) !important;
  }
  .footer{
    position:relative;
    left:50%;
    right:50%;
    margin-left:-50vw;
    margin-right:-50vw;
    width:100vw;
    padding:12px 16px;
	background: rgb(45 75 88) !important;
  }
.card .card-b {
    padding: 6px;
}

  .dzn-dizi-page .ep-link{
    padding:10px 6px;
  }
}
/* Varsayılan: masaüstünde hiçbir şeyi bozma */
.dzn-mobile-info-row{ display:block; }
.dzn-diziafis-mobile{ display:none; }

@media (max-width:980px){

  .dzn-mobile-info-row{
    display:grid;
    grid-template-columns: 90px 1fr; /* poster | bilgiler */
    gap:12px;
    align-items:start;
    margin-bottom:10px;
  }
  .dzn-mobile-info-row.no-poster{
    grid-template-columns: 1fr;
  }

  .dzn-diziafis-mobile{
    display:block;
    width:90px;
    height:130px;              /* daha “poster” gibi */
    border-radius:12px;
    overflow:hidden;
    box-shadow: var(--shadow);
  }
  .dzn-diziafis-mobile img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }

  /* pillbar mobilde daha kompakt */
  .dzn-mobile-info-row .pillbar{
    margin:0;
    padding:0;
    justify-content:flex-start;
  }
}


/* ÜST BAR */
/* Header altı menüler */
.dzy-menubars{ width:100%; }
.dzy-menubars__inner{
  max-width: 100%;
  margin: 0 auto;
  padding: 8px 14px 2px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.dzy-menubar__menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.dzy-menubar__menu li{ margin:0; padding:0; }
.dzy-menubar__menu a{
  display:inline-flex;
  align-items:center;
  font-size:13px;
  color: rgba(255,255,255,.90);
  text-decoration:none;
  padding: 7px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  transition: all .18s ease;
}
.dzy-menubar__menu a:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
  color:#fff;
}

@media (max-width: 980px){
  .dzy-menubar__menu{
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    gap: 8px;
    padding-bottom: 2px;
  }
  .dzy-menubar__menu::-webkit-scrollbar{ display:none; }
  .dzy-menubar__menu li{ flex: 0 0 auto; }
}


/* Üst Ek Menü biraz daha alt başlık gibi */
.dzy-menubar--extra{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 6px 8px;
}

.dzy-menubar--extra .dzy-menubar__menu a{
  font-size:12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
}

/* (Eski) dzy-topbar artık kullanılmıyor ama bozmasın */
.dzy-topbar{ display:none; }

/* İç kapsayıcı */
.dzy-topbar__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

/* Menü */
.dzy-topbar__menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.dzy-topbar__menu li{ margin:0; padding:0; }

/* Menü linkleri borderlı */
.dzy-topbar__menu a{
  font-size:13px;
  color: rgba(255,255,255,.85);
  text-decoration:none;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  transition: all .2s ease;
}

.dzy-topbar__menu a:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}

/* Sağ buton alanı */
.dzy-desktop-auth{ display:flex; gap:10px; align-items:center; margin-left: 10px; }

/* Mobile auth icons (hamburger yanında) */
.dzy-mobile-auth{ display:none; }
.dzy-icbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  text-decoration:none;
}
.dzy-icbtn svg{ width:20px; height:20px; display:block; }
.dzy-icbtn:hover{ background: rgba(255,255,255,.10); }

@media (max-width: 860px){
  /* Üye butonları mobilde ikon olarak hamburger yanına */
  .dzy-desktop-auth{ display:none; }
  .dzy-mobile-auth{ display:flex; gap:8px; margin-left:auto; }

  /* Ana menüyü mobilde aramanın üstüne al */
  .header-inner{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; }

  /* Mobilde: Logo solda, Üyelik ikonları hamburgerin solunda, hamburger en sağda */
  .brand{ order:1; }
  .dzy-mobile-auth{ order:2; margin-left:auto; }
  .dzn-burger{ order:3; }

  /* Menüler mobilde yatay kaydırmalı */
  .dzy-menubars__inner{ padding: 6px 0px 0px; }
  .dzy-menubar__menu{
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width:none;
  }
  .dzy-menubar__menu::-webkit-scrollbar{ display:none; }
  .search--desktop{ display:none; }
  .dzn-mobile-search{ order:5; width:100%; }
}

/* Mobil drawer menü (markersız, alt menüler açık) */
.dzn-mobile-nav .dzn-mobile-menu,
.dzn-mobile-nav .dzn-mobile-menu ul,
.dzn-mobile-drawer .dzn-mobile-menu,
.dzn-mobile-drawer .dzn-mobile-menu ul{
  list-style:none;
  margin:0;
  padding:0;
}

.dzn-mobile-menu > li{
  border-bottom:0;
}

.dzn-mobile-menu a{
  display:block;
  padding:12px 10px;
  color:rgba(255,255,255,.92);
  text-decoration:none;
  font-weight:700;
}

.dzn-mobile-menu a:hover{
  background:rgba(255,255,255,.06);
}

.dzn-mobile-menu .sub-menu{
  display:block; /* alt menüler direkt gözüksün */
  padding:4px 0 10px;
}

.dzn-mobile-menu .sub-menu li a{
  padding:10px 10px 10px 22px;
  font-weight:600;
  color:rgba(255,255,255,.82);
}

.dzn-mobile-menu--footer{
  margin-top:10px;
}

/* Genel buton */
.dzy-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  font-size:13px;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.15);
  transition: all .2s ease;
}

/* Ghost (Üye Ol / Profilim) */
.dzy-btn--ghost{
  background: transparent;
  color: rgba(255,255,255,.85);
}

.dzy-btn--ghost:hover{
  background: rgba(255,255,255,.08);
  color:#fff;
  border-color: rgba(255,255,255,.3);
}

/* Üye Girişi (beyaz değil artık) */
.dzy-btn--solid{
  background: rgba(255,255,255,.12);
  color:#fff;
}

.dzy-btn--solid:hover{
  background: rgba(255,255,255,.22);
  color:#fff;
}
/* ===== GENEL ===== */
.actors-grid .actor{
  display:flex;
  align-items:center;
  gap:10px;
}
.actors-grid .actor-ph{
  width:34px;
  height:34px;
  border-radius:10px;
  flex:0 0 34px;
}
.actors-grid .actor-txt{ min-width:0; }

.actors-grid .actor-name{
  font-size:13px;
  font-weight:600;
  color:#e9e9e9;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.actors-grid .actor-role,
.actors-grid .actor-episodes{
  font-size:11.5px;
  color:rgba(255,255,255,.65);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* ===== MASAÜSTÜ ===== */
@media (min-width:769px){
  .actors-grid .actor-txt{ display:block; }
  .actors-grid .actor-role,
  .actors-grid .actor-episodes{ display:inline; }
  .actors-grid .actor-episodes:before{ content:" • "; }
}
/* actor-role tek satır + ... */
.actors-grid .actor-role{
  display:inline-block;     /* ellipsis çalışsın */
  max-width: 24ch;          /* yaklaşık 22 karakter genişliği */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}
/* ===== MOBİL (TEK BLOK) ===== */
@media (max-width:768px){
  .actors-grid .actor-txt{
    display:flex;
    flex-direction:column;
    gap:2px;
    min-width:0;
    flex:1 1 auto;
  }
  .actors-grid .actor-role,
  .actors-grid .actor-episodes{ display:block; }
  .actors-grid .actor-episodes:before{ content:""; }

  /* Mobilde isim kesin ... yapsın */
  .actors-grid .actor-name{
    display:block;
    max-width:100%;
    min-width:0;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}
.thumb{
  position:relative;
}

/* Flag olduğu gibi sol üstte kalır */
.thumb .dzn-flags,
.thumb .dzn-flag-wrap{
  position:absolute;
  top:10px;
  left:10px;
  z-index:3;
}

/* Tarih sağ üst */
.dzn-ep-date-badge{
    position: absolute;
    top: 3px;
    right: 4px;
    font-size: 9px;
    padding: 0px 4px;
    border-radius: 10px;
    background: rgb(0 0 0 / 80%);
    color: rgba(255, 255, 255, .95);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(6px);
    z-index: 3;
}
@media (max-width: 768px){
  .ep-title .ep-bolum-adi{ display:none !important; }
}
/* açıklama kesin satır kırabilsin */
.page-desc-ep{
  display:block;
  width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
  line-height:1.4;
  font-size: 12px;
  opacity: .72;
}
/* Search results - Actors grid fix */
body.search .actors-grid,
body.search-results .actors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  align-items: stretch;
}

/* actor kartı yatay pill gibi */
body.search .actors-grid .actor,
body.search-results .actors-grid .actor {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  width: 100%;
  min-width: 0;
}

/* foto */
body.search .actors-grid .actor-ph,
body.search-results .actors-grid .actor-ph {
  width: 44px;
  height: 44px;
  border-radius: 12px; /* temanda yuvarlaksa 50% yap */
  flex: 0 0 auto;
  background-size: cover;
  background-position: center;
}

/* yazılar */
body.search .actors-grid .actor-txt,
body.search-results .actors-grid .actor-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

body.search .actors-grid .actor-name,
body.search-results .actors-grid .actor-name {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ikinci satır (yaş / dizi sayısı) */
body.search .actors-grid .actor-role,
body.search-results .actors-grid .actor-role,
body.search .actors-grid .actor-episodes,
body.search-results .actors-grid .actor-episodes {
  font-size: 12px;
  opacity: .85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* search: actor meta row */
body.search .actors-grid .actor-meta,
body.search-results .actors-grid .actor-meta{
  display:flex;
  gap:10px;
  align-items:center;
  min-width:0;
}

body.search .actors-grid .actor-meta-item,
body.search-results .actors-grid .actor-meta-item{
  font-size:12px;
  opacity:.85;
  white-space:nowrap;
}

/* photo görünmüyorsa çoğu zaman width/height yoktur */
body.search .actors-grid .actor-ph,
body.search-results .actors-grid .actor-ph{
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:12px;
  background-size:cover;
  background-position:center;
}
.dzn-ajax-list--actors{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:12px;
}
/* AJAX - actors grid görünümü */
.dzn-ajax-actors-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

/* Eğer tema bu stilleri scope'lu veriyorsa, ajax için minimum kart stilleri */
.dzn-ajax-actors-grid .actor{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border-radius:14px;
  text-decoration:none;
  min-width:0;
}

.dzn-ajax-actors-grid .actor-ph{
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:12px;
  background-size:cover;
  background-position:center;
}

.dzn-ajax-actors-grid .actor-txt{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}

.dzn-ajax-actors-grid .actor-name{
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.dzn-ajax-actors-grid .actor-meta{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  opacity:.85;
  min-width:0;
}

.dzn-ajax-actors-grid .actor-meta-item{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.dzn-ajax-actors-grid .actor-meta-sep{ opacity:.6; }
/* actor hover effect */
.actor{
  transition: all .18s ease;
}

.actor:hover{
  background: rgba(255,255,255,0.04); /* tema koyu olduğu için */
}

/* foto biraz parlasın */
.actor:hover .actor-ph{
  filter: brightness(1.1);
}

/* isim rengi değişsin */
.actor:hover .actor-name{
  color:#fff;
}

/* meta biraz belirgin olsun */
.actor:hover .actor-meta{
  opacity:1;
}
/* poster alanı */
.actor-ph{
  width:44px;
  height:44px;
  border-radius:12px;
  background-size:cover;
  background-position:center;
  flex:0 0 44px;
}

/* poster yoksa */
.actor-ph--empty{
  background:#50727f;
  position:relative;
}

/* kullanıcı ikonu */
.actor-ph--empty::before{
  content:"👤";
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  opacity:.6;
}
/* AJAX dizi kartı: 3 satır ellipsis */
.dzn-ajax-list--dizi .dzn-ajax-item{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.dzn-ajax-list--dizi .dzn-ajax-item img{
  width:40px;
  height:56px;
  object-fit:cover;
  border-radius:10px;
  flex:0 0 auto;
}

.dzn-ajax-list--dizi .dzn-ajax-item .dzn-ajax-txt{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
  flex:1 1 auto;
}

.dzn-ajax-list--dizi .dzn-ajax-title,
.dzn-ajax-list--dizi .dzn-ajax-meta,
.dzn-ajax-list--dizi .dzn-ajax-genres{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  min-width:0;
}

.dzn-ajax-list--dizi .dzn-ajax-meta,
.dzn-ajax-list--dizi .dzn-ajax-genres{
  font-size:12px;
  opacity:.85;
}
@media (min-width:1024px){
  body.search .wrap{
	min-width:1269px;
    max-width:1269px;
    margin-left:auto;
    margin-right:auto;
  }
}
.dzn-ajax-section .actors-grid{ margin-top:10px; }
.dzn-ajax-section .dzn-ajax-list--dizi{ margin-bottom:10px; }

/* AUTH PAGE */

.auth-page{
max-width:420px;
margin:60px auto;
padding:0 16px;
}

/* CARD */

.auth-card{
max-width:100%;
margin:24px auto;
padding:24px;
background:rgba(255, 255, 255, .06);
border:1px solid rgba(255,255,255,.16);
border-radius:12px;
}

/* TITLE */

.auth-title{
font-size:22px;
font-weight:600;
margin-bottom:20px;
text-align:center;
}

/* FORM */

.auth-form{
display:flex;
flex-direction:column;
gap:14px;
}

/* FIELD */

.auth-field{
display:flex;
flex-direction:column;
gap:6px;
}

.auth-field label{
font-size:13px;
opacity:.85;
}

/* INPUT (senin renklerin) */

.auth-field input{
height:42px;
padding:0 12px;
border-radius:12px;
border:1px solid rgba(255,255,255,.14);
background:rgba(255,255,255,.06);
color:#fff;
font-size:14px;
transition:all .15s ease;
}

.auth-field input:focus{
border-color:rgba(255,255,255,.30);
background:rgba(255,255,255,.08);
outline:none;
}

/* MESSAGE BOX */

.auth-msg{
margin-bottom:12px;
padding:10px 12px;
border-radius:10px;
font-size:14px;
background:#1a1a1a;
border:1px solid #2a2a2a;
}

.auth-msg.error{
background:#2b1414;
border-color:#4b2323;
color:#ffb3b3;
}

.auth-msg.success{
background:#132a1b;
border-color:#214c31;
color:#a8e6c1;
}

/* LINKS */

.auth-links{
margin-top:16px;
text-align:center;
font-size:14px;
}

.auth-links a{
opacity:.85;
}

.auth-links a:hover{
opacity:1;
}

/* MOBILE */

@media (max-width:480px){

.auth-card{
padding:20px;
}

.auth-title{
font-size:20px;
}

}
/* Diziyo AJAX Auth (Modal) */
.dzy-auth{ position:fixed; inset:0; z-index:999999; display:none; }
.dzy-auth.is-open{ display:block; }
.dzy-auth__overlay{ position:absolute; inset:0; background:rgba(0,0,0,.62); }

/* Merkez modal: tema kart estetiğine uysun */
.dzy-auth__modal{
  position:absolute;
  left:50%; top:50%;
  transform: translate(-50%, -50%);
  width:min(420px, 92vw);
  max-height: min(84vh, 720px);
  overflow:hidden;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgb(47, 76, 89);
}

.dzy-auth__head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 14px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.dzy-auth__title{ font-size:15px; font-weight:700; letter-spacing:.2px; color:rgba(255,255,255,.92); }
.dzy-auth__close{
  height:34px; width:34px; border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  cursor:pointer;
  font-size:18px;
}
.dzy-auth__close:hover{ background: rgba(255,255,255,.10); }

.dzy-auth__tabs{ display:flex; gap:8px; padding: 12px 14px 0; }
.dzy-auth__tab{
  height:34px; padding:0 12px; border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.85);
  cursor:pointer;
}
.dzy-auth__tab.is-active{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
  color:#fff;
}

.dzy-auth__body{ padding: 14px; overflow:auto; max-height: calc(84vh - 120px); }
.dzy-auth__pane{ display:none; }
.dzy-auth__pane.is-active{ display:block; }

.dzy-auth__form{ display:flex; flex-direction:column; gap:12px; }
.dzy-field label{ display:block; font-size:12px; margin-bottom:6px; color:rgba(255,255,255,.75); }
.dzy-field input{
  width:100%; height:42px; border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  padding:0 12px;
  outline:none;
}
.dzy-field input:focus{ border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); }

.dzy-check{ display:flex; gap:8px; align-items:center; font-size:13px; color:rgba(255,255,255,.8); }

.dzy-auth__msg{ font-size:13px; line-height:1.35; color: rgba(255,255,255,.85); }
.dzy-auth__msg.is-error{ color: #ff7b7b; }
.dzy-auth__msg.is-ok{ color: #7bffb0; }

.dzy-auth__submit{
  height:42px; border-radius:14px; font-size:14px; cursor:pointer;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.12);
  color:#fff;
  transition: all .18s ease;
}
.dzy-auth__submit:hover{ background: rgba(255,255,255,.18); }
.dzy-auth__submit:disabled{ opacity:.65; cursor:not-allowed; }

.dzy-auth__hint{ font-size:13px; color:rgba(255,255,255,.75); }
.dzy-auth__link{ color:#fff; text-decoration:underline; }

@media (max-width: 520px){
  .dzy-auth__modal{ border-radius:16px; }
}
.dzn-dizi-page .pill--lang .tr-flag{
  display:inline-block;
  width:20px;
  height:14px;
  border-radius:3px;
  box-shadow:0 0 0 1px rgba(255,255,255,.10);
  background-size:cover;
  background-position:center;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc0MCcgaGVpZ2h0PScyOCcgdmlld0JveD0nMCAwIDQwIDI4Jz48cmVjdCB3aWR0aD0nNDAnIGhlaWdodD0nMjgnIGZpbGw9JyNlMzBhMTcnLz48Y2lyY2xlIGN4PScxNicgY3k9JzE0JyByPSc3JyBmaWxsPScjZmZmJy8+PGNpcmNsZSBjeD0nMTgnIGN5PScxNCcgcj0nNS42JyBmaWxsPScjZTMwYTE3Jy8+PHBvbHlnb24gcG9pbnRzPScyNiwxNCAzMi4yLDExLjkgMjguNCwxNy4yIDI4LjYsMTAuOCAzMi4yLDE2LjEnIGZpbGw9JyNmZmYnLz48L3N2Zz4=");
}
.dzn-vote-btn.is-disabled,
.dzn-follow-btn.is-disabled,
.dzn-mark-btn.is-disabled{
  position:relative;
}

.dzn-vote-btn.is-disabled:hover::after,
.dzn-follow-btn.is-disabled:hover::after,
.dzn-mark-btn.is-disabled:hover::after,
.dzn-vote-btn.is-disabled:focus-visible::after,
.dzn-follow-btn.is-disabled:focus-visible::after,
.dzn-mark-btn.is-disabled:focus-visible::after{
  content:"🔒";
  position:absolute;
  top:-8px;
  right:-6px;
  font-size:14px;
  line-height:1;
  pointer-events:none;
}
.dzn-follow-btn.is-disabled,
.dzn-follow-actor-btn.is-disabled,
.dzn-mark-btn.is-disabled{
  position:relative;
}

.dzn-follow-btn.is-disabled:hover::after,
.dzn-follow-actor-btn.is-disabled:hover::after,
.dzn-mark-btn.is-disabled:hover::after,
.dzn-follow-btn.is-disabled:focus-visible::after,
.dzn-follow-actor-btn.is-disabled:focus-visible::after,
.dzn-mark-btn.is-disabled:focus-visible::after{
  content:"🔒";
  position:absolute;
  top:-8px;
  right:-6px;
  font-size:14px;
  line-height:1;
  pointer-events:none;
}
/* recommendation_ids / similar_ids: sadece bu blok için özel grid */
.dzn-related-dizi-strip .card-b{
  min-width:0;
}

.dzn-related-dizi-strip .list.list-dizi.dzn-related-dizi-strip__list{
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
}

@media (min-width: 680px){
  .dzn-related-dizi-strip .list.list-dizi.dzn-related-dizi-strip__list{
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 980px){
  .dzn-related-dizi-strip .list.list-dizi.dzn-related-dizi-strip__list{
    grid-template-columns:repeat(6, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1200px){
  .dzn-related-dizi-strip .list.list-dizi.dzn-related-dizi-strip__list{
    grid-template-columns:repeat(7, minmax(0, 1fr)) !important;
  }
}