/* diziFilm.live — DBX Pro temasının üzerine ince ayar (reklam katmanı yok) */
:root{--df-bg:#191d1e;--df-panel:#1b1d1f;--df-card:#212426;--df-line:#2b2f31;--df-txt:#e7e9ea;--df-dim:#8b9296;--df-accent:#ff0046}
body{background:var(--df-bg)}
.mobile-only { display: none; }
#site-header{background:var(--df-panel);border-bottom:1px solid var(--df-line)}
#alphabetical-category{background:var(--df-card);border:1px solid var(--df-line);border-radius:3px;margin:10px 0}
#alphabetical-category .box-header h2{font-size:15px}
.az-jump .btn-xs{margin:2px 2px 2px 0;font-size:11px;padding:3px 7px}
.az-letter h4{font-size:13px;letter-spacing:.5px;color:var(--df-accent);margin:12px 0 6px}
.az-letter li{font-size:12px;line-height:1.9}
.az-letter a{color:#c7cbcd;text-decoration:none}
.az-letter a:hover{color:var(--df-accent)}
#sub-menu{background:var(--df-panel);border:1px solid var(--df-line);border-radius:3px;margin-bottom:12px}
.article-series-poster,.article-episode-card{background:var(--df-card);border:1px solid var(--df-line)}
.article-series-poster:hover,.article-episode-card:hover{border-color:#3a4043;box-shadow:0 2px 12px rgba(0,0,0,.45)}
.poster-title,.episode-card-title b.series-name{color:#f0f1f2}
.thumbnail-figcaption{padding:8px}
.video-wrapper{position:relative;display:block;width:100%;padding-top:56.25%;background:#000;overflow:hidden}
.video-wrapper video,.video-wrapper iframe{position:absolute;inset:0;width:100%!important;height:100%!important;border:0;background:#000}
/* Chrome'un yerlesik oynatici denetimleri icin onemli duzeltme:
   Devraldigimiz dbx18 temasinda 'video::-webkit-media-controls{display:none}' kurali var;
   bu sahte elemani yalnizca Chrome tanidigi icin denetim cubugu (aralama, durdur, ses,
   sure, tam ekran, PiP) yalnizca Chrome'ta kayboluyordu; Firefox/Safari kurali yoksayiyor.
   Bizim oynatici tarayicinin yerlesik denetimlerini kullaniyor, bu yuzde kurali tarayici
   varsayilanina geri aliyoruz. site.css temadan sonra yuklendigi icin bu kural kazanir. */
video::-webkit-media-controls{display:revert!important}
.player-bar{background:var(--df-panel);border:1px solid var(--df-line);border-top:0;padding:8px 10px;font-size:12px}
#player-status{color:var(--df-dim)}
.video-toolbar{background:var(--df-panel);border:1px solid var(--df-line);padding:10px}
.live-search-results{position:absolute;left:0;top:100%;width:420px;max-height:420px;overflow:auto;background:#141718;border:1px solid var(--df-line);border-top:0;z-index:999;box-shadow:0 8px 24px rgba(0,0,0,.6)}
.live-search-results a{display:flex;gap:10px;align-items:center;padding:8px 10px;text-decoration:none;color:#dfe1e2;border-bottom:1px solid #23272a;font-size:13px}
.live-search-results a:hover,.live-search-results a.sel{background:#22262a}
.live-search-results img{width:34px;height:50px;object-fit:cover;border-radius:2px;background:#2a2e30}
.live-search-results .ls-kind{font-size:10px;text-transform:uppercase;color:var(--df-accent);letter-spacing:.6px}
.live-search-results .ls-sub{color:var(--df-dim);font-size:11px}
#searchform{position:relative}
/* Orijinal temanın çeviri çubuğu .progress-bar-outside / .progress-bar-inside
   sınıflarını kullanır ve iç dolgu yeşildir (#1e9d3f). Biz .progress +
   .progress-bar kullanıp kırmızı-turuncu degrade veriyorduk; ekrandaki
   "çeviri %100" çubuğu yanlış renkte görünüyordu. Tema kuralları zaten
   dbx-theme.css içinde geldiği için buradan kaldırıldı; yedek olarak aynı
   görünüm korunuyor. */
.progress{height:22px;background:#0d0f11;border:1px solid #000;border-radius:3px;overflow:hidden;position:relative;box-shadow:inset 0 1px 3px rgba(0,0,0,.5)}
.progress-bar{background:#1e9d3f;height:100%;position:relative}
.progress-bar-inside{display:block;height:100%}
.progress-bar-text{color:var(--df-dim);font-size:11px}
.translator{background:var(--df-card);border:1px solid var(--df-line);padding:10px;border-radius:3px;margin:12px 0}
.translator-title a.role{color:#fff;text-decoration:none;font-weight:600}
.translators-notes-title{color:var(--df-accent);letter-spacing:.4px;margin:14px 0 4px}
.series-detail table td{border-bottom:1px solid var(--df-line);font-size:13px;padding:5px 0;color:var(--df-dim)}
.series-detail table td:last-child{color:#dfe1e2;text-align:right}
#seasons-list .btn{margin:3px}
#seasons-list .btn.active,.pagination .btn.active{background:var(--df-accent);color:#fff;border-color:var(--df-accent)}
.season-episode.active{color:var(--df-accent)}
.filter-form{background:var(--df-card);border:1px solid var(--df-line);border-radius:3px}
.filter-form select,.filter-form input{margin-bottom:6px}
.watl-button{cursor:pointer}
#site-footer{background:var(--df-panel);border-top:1px solid var(--df-line);margin-top:20px}
.modal{background:#141718;border:1px solid var(--df-line);box-shadow:0 10px 40px rgba(0,0,0,.7);padding:18px;border-radius:4px}
.alert.bad{background:#3a1520;color:#ff8fa3;border:1px solid #5c1f2e;padding:8px;border-radius:3px}
.text-muted-darker{color:#5c6367}
.text-muted-dark{color:#6d7479}
.subtitle-flag{vertical-align:middle;margin-right:4px}
.grid-two{width:50%;float:left}
@media(max-width:900px){.grid-two{width:100%}.live-search-results{width:100%}}

/* ---- DiziBOX bölüm sayfasının eksik kalan parçaları (tema CSS'inde yoktu) ---- */
.vote-box .btnVote i{margin:0 4px}
#vote-percentage{clear:both;position:relative;height:26px;line-height:26px;margin-top:10px;background:#20262b;border-radius:2px;overflow:hidden}
#percentage-filled{position:absolute;left:0;top:0;height:100%;background:linear-gradient(90deg,#2f7d3b,#48a856);opacity:.55;transition:width .35s ease}
#not-rated{position:relative;display:block;text-align:center;font-size:12px;color:#cfd4d7}
.btnVote.active{background:#f5c518;border-color:#f5c518;color:#15191c}
.watl-button.active,.btn.active{background:#f5c518;border-color:#f5c518;color:#15191c}
/* Tema, katman seçim kutusunu selectBox eklentisiyle boyar; eklenti olmadan
   tarayıcının beyaz native select'i kalıyor. Tema renginde elle boyuyoruz. */
select.selectBox,select#tier-select{
  -webkit-appearance:none;appearance:none;
  min-width:175px;height:30px;padding:0 30px 0 12px;border-radius:3px;
  background:#262c33 url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat right 12px center;
  border:1px solid #333a42;color:#fff;font-size:13px;cursor:pointer;vertical-align:middle}
select.selectBox:focus,select#tier-select:focus{border-color:#f5c518;outline:none}
select.selectBox option{background:#262c33;color:#fff}
select#quality-select{background:#262c33;color:#fff;border:1px solid #333a42;border-radius:3px;height:28px;padding:0 8px}

#comments-wrapper{border-top:1px solid #262c31;padding-top:14px}
#comments-wrapper .title h2{font-size:18px;margin:0 0 12px}
.comments-area{margin:0 0 16px}
.comment-body{padding:12px 0;border-bottom:1px solid #242a2f}
.comment-author{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.comment-author .avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#f5c518;color:#15191c;font-weight:700;text-transform:uppercase}
.comment-author .author-name{color:#e6e9ea;font-weight:600;font-size:13px}
.comment-author time{margin-left:auto}
.comment-text{color:#b8bec2;line-height:1.6;white-space:pre-wrap;word-break:break-word}
.comment-respond textarea{width:100%;min-height:96px;background:#1b2126;border:1px solid #2c3338;color:#dfe3e5;padding:10px;border-radius:3px;resize:vertical}
#archive-box img.small-thumbnail{width:50px;height:50px;border-radius:2px;float:left;margin-right:10px}
#archive-box{overflow:hidden}
.tv-overview .tv-story-wrapper .story-collapsed{height:180px}
.tv-overview .tv-story-wrapper #btn-show-more:not([hidden]){display:block}
.tv-story,.series-excerpt,.translators-notes{overflow-wrap:anywhere}
#archive-box .archive-title{max-width:calc(100% - 62px)}
#archive-box .archive-title strong,#archive-box .archive-title small{display:block}
#related-posts ul{overflow-y:auto}
#related-posts li{display:flex;align-items:center;gap:4px}
#related-posts li a{flex:1;min-width:0}
@media (min-width: 601px) {
  #category-posts > .grid-four:nth-child(n) { margin-right: 6px; }
}

/* Sinema Modu: sayar'ı karartır, oynatıcıyı öne çıkarır */
body.cinema-mode{background:#000}
body.cinema-mode #site-header,body.cinema-mode #alphabetical-category,body.cinema-mode #sub-menu,
body.cinema-mode .col-2,body.cinema-mode #site-footer,body.cinema-mode .box-header-bottom{opacity:.12;transition:opacity .3s}
body.cinema-mode #site-header:hover,body.cinema-mode .col-2:hover{opacity:1}
body.cinema-mode #video-area{box-shadow:0 0 60px rgba(0,0,0,.9)}
body.cinema-mode .video-toolbar{opacity:.35}
body.cinema-mode .video-toolbar:hover{opacity:1}

/* A-Z dizini: temada #alphabetical-category sabit 48px yükseklikte; içinde artık
   yalnızca harf satırı var, yine de taşma payı bırakıyoruz. */
#alphabetical-category{height:auto;min-height:48px;padding:4px 0}
#alphabetical-category .alphabetical-category-link{padding:9px 10px;font-size:13px}

/* Arşiv temasında güncel hesap, reklam ve oynatıcı bileşenleri. */
[hidden], dialog.modal:not([open]) { display: none !important; }
.sr-only:not(:focus), .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--df-panel);
  color: #ffd500;
}
#searchform .search-submit {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
#searchform input[type="search"] { box-sizing: border-box; }
#site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  height: auto;
}
#site-header > .clearfix { display: none; }
#main-wrapper :focus-visible {
  outline: 2px solid #ffd500;
  outline-offset: 2px;
}
#top-menu { width: auto; max-width: 100%; }
#user-area { width: auto; margin-left: auto; }
#top-menu .menu-list, #sub-menu .menu-list {
  display: flex;
  flex-wrap: wrap;
}
#top-menu .menu-item:nth-child(3) { display: inline-block; }
#sub-menu { height: auto; }
#sub-menu nav { max-width: 100%; }
@media (min-width: 960px) {
  #site-header > .logo { margin-right: 0 !important; }
  #site-header #searchform { flex: 1 1 140px; min-width: 0; max-width: 250px; }
  #searchform input[type="search"] { width: calc(100% - 38px); }
}
@media (min-width: 960px) and (max-width: 1440px) {
  #top-menu { font-size: 14px; }
  #top-menu .menu-link { padding-inline: 5px; }
}
dialog.modal[open] {
  position: fixed;
  display: block;
  color: var(--df-txt);
  width: min(400px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
}
dialog.modal::backdrop { background: #000b; }
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.dialog-heading h2 { margin: 0; }
.dialog-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--df-line);
  border-radius: 3px;
  background: var(--df-card);
  color: inherit;
  cursor: pointer;
}
.ajax-auth { display: grid; gap: 10px; }
.ajax-auth label { display: grid; gap: 4px; margin: 0; }
.ajax-auth input, #add-form textarea {
  width: 100%;
  padding: 8px 10px;
  color: var(--df-txt);
  background: var(--df-card);
  border: 1px solid var(--df-line);
  border-radius: 3px;
}
.ajax-auth .status { margin: 0; }
.ajax-auth .status:empty { display: none; }
.dialog-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
dialog.trailer-dialog[open] { width: min(900px, calc(100% - 24px)); }
.trailer-dialog iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-wrapper .player-trigger {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.page-heading, .home-section { margin-bottom: 12px; }
.empty-state, .dfl-ad {
  clear: both;
  padding: 10px;
  margin-block: 10px;
  border: 1px solid var(--df-line);
  border-radius: 3px;
  background: var(--df-card);
}
.dfl-ad__image { max-width: 100%; max-height: 250px; object-fit: contain; }
.dfl-ad__label { display: block; color: var(--df-dim); font-size: 11px; }
.dfl-ad__title, .dfl-ad__link { font-weight: 600; }
.dfl-ad__description { margin: 4px 0; }
.footer-note { clear: both; padding: 10px 15px 0; margin: 0; }
.custom-checkbox .checkbox-hidden {
  position: absolute;
  visibility: visible;
  opacity: 0;
  inset: 0;
  margin: 0;
}
.custom-checkbox:focus-within { outline: 2px solid #ffd500; outline-offset: 2px; }

img.box-image { object-fit: cover; pointer-events: none; }

#main-wrapper, .main-container { max-width: 100%; }
body[data-page="home"] {
  background: var(--df-bg) url('/img/bg.jpg') center / cover no-repeat fixed;
}
body[data-page="home"] #best-series { width: 100%; }
body[data-page="home"] #recommended-series:nth-child(n) { max-height: none; }
body[data-page="home"] .home-compact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding-bottom: 7px;
}
body[data-page="home"] .home-compact-grid::before,
body[data-page="home"] .home-compact-grid::after { display: none; }
body[data-page="home"] #best-series .home-compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body[data-page="home"] :is(#best-series, #recommended-series) .home-compact-grid .article-series-small-grid:nth-child(n) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 64px;
  margin: 0;
  overflow: hidden;
}
body[data-page="home"] .home-compact-grid .figure {
  flex: 0 0 50px;
  margin: 0;
  z-index: 1;
}
body[data-page="home"] .home-compact-grid .small-thumbnail {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: cover;
}
body[data-page="home"] .home-compact-grid .series-details { width: auto; min-width: 0; flex: 1; }
@media (max-width: 959px) {
  #main-wrapper { margin-block: 0 16px; }
  #site-header { height: auto; padding: 16px; }
  #top-menu { width: auto; clear: left; font-size: 14px; }
  #sub-menu { height: auto; }
  .content-wrapper, #site-footer { padding: 12px; }
  #alphabetical-category { padding-inline: 10px !important; }
  #alphabetical-category .alphabetical-category-link { padding: 8px; }
  #main-content .row > .col-1, #main-content .row > .col-2 {
    width: 100%;
    margin-inline: 0;
  }
  #best-series { width: 100%; }
}
@media (max-width: 600px) {
  .tv-overview {
    display: grid;
    grid-template-columns: clamp(72px, 24%, 100px) minmax(0, 1fr);
    align-items: start;
    column-gap: 10px;
  }
  .tv-overview > .clearfix { display: none; }
  .tv-overview #main-cover, .tv-overview .title-terms, .tv-overview .tv-story-wrapper {
    width: 100%; min-width: 0; margin-inline: 0; float: none;
  }
  .tv-overview .title-terms h1 { max-width: 100%; overflow-wrap: anywhere; }
  .tv-overview .title-terms .terms { width: 100%; white-space: normal; }
  .tv-overview .tv-story-wrapper { grid-column: 1 / -1; }
  #main-cover #play-trailer {
    width: 100%; height: auto; top: auto; padding: 5px 1px; line-height: 1.2; white-space: normal;
  }
  .tv-overview .title-terms > .span-three { width: auto; max-width: 100%; }
  :is([data-page="series"], [data-page="season"]) .row:has(> .grid-box.grid-four) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: 8px;
  }
  :is(#category-posts, [data-page="season"] .row) > .grid-box.grid-four:nth-child(n) {
    width: auto;
    min-width: 0;
    margin: 0;
  }
  :is([data-page="series"], [data-page="season"]) .row:has(> .grid-box.grid-four)::before,
  :is([data-page="series"], [data-page="season"]) .row:has(> .grid-box.grid-four)::after { display: none; }
  [data-page="episode"] .box-header h1.text-overflow {
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  [data-page="episode"] .box-header pre { width: 100%; white-space: normal; }
  body[data-page="home"] .home-compact-grid,
  body[data-page="home"] #best-series .home-compact-grid { grid-template-columns: minmax(0, 1fr); }
  #searchform { clear: left; width: 100%; margin-top: 10px; }
  #searchform input[type="search"] { width: calc(100% - 38px); }
  #user-area { width: auto; margin-top: 10px; white-space: nowrap; }
  #top-menu .menu-link, #sub-menu .menu-link { padding-inline: 7px; }
  #recommended_series li { width: 30%; min-width: 0; max-width: none; margin: 0 3% 8px 0; }
  #recommended_series li a .recommended_simg { max-width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
  #recommended_series li a .recommended_simg:hover { height: auto; }
  .row > .article-series-poster:nth-child(n), .row > .article-episode-card:nth-child(n) {
    float: left;
    clear: none;
    width: calc((100% - 8px) / 2);
    margin-right: 8px;
  }
  .row > .article-series-poster:nth-child(even), .row > .article-episode-card:nth-child(even) {
    margin-right: 0;
  }
}

#video-area .video-wrapper.episode-warning { position: relative; height: auto; }
.video-wrapper.episode-warning p {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  margin: 0;
  text-align: center;
}

/* Arşiv ve haftalık program, ortak temanın ziyaretçi bileşenlerini kullanır. */
.archive-layout #was-form { clear: both; display: flow-root; }
.archive-layout fieldset.form-element { min-width: 0; margin-inline: 0; padding-inline: 0; border: 0; }
.archive-layout fieldset > legend { font-size: inherit; }
.archive-layout .form-element > .form-control { display: block; box-sizing: border-box; width: 100%; }
.archive-layout .archive-favorite { float: right; margin-left: .5rem; }
.archive-layout .detailed-article-container { overflow: hidden; }
.archive-layout .detailed-article .post-summary { overflow-wrap: anywhere; }
.calendar-scroll { clear: both; max-width: 100%; overflow-x: auto; }
.calendar-scroll table { table-layout: fixed; min-width: 700px; }
.calendar-scroll th { white-space: nowrap; text-align: center; }
.calendar-scroll .button-link, .calendar-scroll .calendar-name { display: block; overflow-wrap: anywhere; white-space: normal; }
.calendar-scroll .calendar-name { padding: .25rem; }
.calendar-history { clear: both; padding: .75rem 0; }
.calendar-history summary { cursor: pointer; }
.calendar-date-kind { display: block; color: var(--df-dim); }
.site-info { padding: 1rem; }
@media (max-width: 767px) {
  .archive-layout > .col-1, .archive-layout > .col-2 { width: 100%; float: none !important; margin-inline: 0; }
  .archive-layout .archive-favorite { float: none; margin: 0 0 .25rem; }
  .archive-layout .detailed-article { padding: .6rem; }
  .archive-layout .detailed-article .big-cover { max-width: 25%; }
  .woca-pagination { display: inline-flex; flex-wrap: wrap; max-width: 100%; justify-content: center; }
}
.archive-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.archive-heading .select-orderby { display: inline-flex; align-items: center; gap: .3rem; }
.archive-heading .select-orderby .form-control { width: auto; max-width: 9rem; }
@media (max-width: 767px) {
  #page-archive.archive-layout > .col-1, #page-archive.archive-layout > .col-2 { width: 100%; }
}
#page-archive .btn-checkbox input { display: block; position: absolute; width: 1px; height: 1px; opacity: 0; }
#page-archive .btn-checkbox input:focus-visible + label { outline: 2px solid #ffd500; outline-offset: -2px; }
#page-archive .btn-checkbox input:checked + label { color: #191d1e; text-shadow: none; }
#live-search-results .search-all-results { justify-content: center; }

#main-content .article-episode-card, #main-content .article-series-poster { border-width: 0; }
#main-content .article-episode-card { aspect-ratio: 220 / 140; }
#main-content .article-episode-card .wp-post-image { display: block; width: 100%; height: auto; aspect-ratio: 220 / 140; object-fit: cover; }
#main-content .article-episode-card .thumbnail-figcaption { padding: 7px 7px 3px; }
@media (min-width: 601px) and (max-width: 1442px) {
  #main-content .row > .grid-five { width: min(189px, calc((100% - 27px) / 5)); }
  #main-content .row > .grid-five:nth-child(5n) { margin-right: 0; }
}
@media (min-width: 601px) {
  body[data-page="home"] .home-compact-grid { row-gap: 10px; column-gap: 5px; padding-right: 5px; padding-bottom: 10px; }
  body[data-page="home"] #best-series .home-compact-grid { column-gap: 6px; padding-right: 8px; }
}
#home-more-recommendations { clear: both; }
#home-more-recommendations summary { cursor: pointer; width: fit-content; margin: 0 0 .5rem; padding: .25rem .5rem; }
#home-more-recommendations:not([open]) .less-label, #home-more-recommendations[open] .more-label { display: none; }
@media (min-width: 1443px) {
  #home-more-recommendations[open] > summary { display: none; }
}
body[data-page="home"] section.m-b-1 { clear: both; }
#recommended-series { position: relative; }
#recommended-series .title h3 { padding-right: 9rem; }
#home-more-recommendations summary { position: absolute; top: .25rem; right: .5rem; margin: 0; }
