/*
Theme Name: izle
Theme URI: https://example.com/
Author: Tema
Description: Kategori=dizi, yazı=bölüm mantığıyla sade dizi izleme teması.
Version: 1.6.8
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: izle
*/

:root {
  --izle-primary: #e50914;
  --izle-secondary: #f5c518;
  --izle-bg: #080b12;
  --izle-surface: #101827;
  --izle-surface-2: #151f31;
  --izle-text: #f8fafc;
  --izle-muted: #9ca3af;
  --izle-border: rgba(255,255,255,.1);
  --izle-radius: 10px;
  --izle-container: 1120px;
  --izle-shadow: none;
  --izle-primary-dark: color-mix(in srgb, var(--izle-primary) 62%, #000);
  --izle-primary-mid: color-mix(in srgb, var(--izle-primary) 78%, var(--izle-secondary));
  --izle-primary-soft: color-mix(in srgb, var(--izle-primary) 18%, transparent);
  --izle-shell-bg: color-mix(in srgb, var(--izle-surface) 82%, transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--izle-text);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--izle-primary) 18%, transparent), transparent 34rem),
    linear-gradient(180deg, color-mix(in srgb, var(--izle-bg) 78%, #1f2937), color-mix(in srgb, var(--izle-bg) 88%, #111827));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: .92;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.08) 56%, rgba(0,0,0,.14));
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--izle-secondary); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; }
button { color: inherit; }

.izle-site-shell {
  width: min(calc(100% - 44px), calc(var(--izle-container) + 28px));
  margin: 18px auto;
  border: 1px solid var(--izle-border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--izle-surface) 88%, transparent);
  box-shadow: 0 16px 42px rgba(0,0,0,.26);
  overflow: clip;
  backdrop-filter: blur(10px);
}

.izle-container {
  width: min(calc(100% - 26px), var(--izle-container));
  margin-inline: auto;
}

.izle-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--izle-border);
  background: color-mix(in srgb, var(--izle-bg) 72%, transparent);
  backdrop-filter: blur(14px);
}

.izle-header-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.izle-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.izle-logo-mark {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--izle-primary), color-mix(in srgb, var(--izle-primary) 35%, #000));
  box-shadow: 0 10px 30px color-mix(in srgb, var(--izle-primary) 35%, transparent);
}

.izle-main { padding: 20px 0 34px; }

.izle-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--izle-border);
}
.izle-section-head-line { justify-content: flex-start; }

.izle-eyebrow {
  margin: 0 0 6px;
  color: var(--izle-secondary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.izle-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.05em;
}

.izle-subtitle {
  margin: 8px 0 0;
  color: var(--izle-muted);
  max-width: 780px;
}

.izle-latest-card,
.izle-season-block,
.izle-player-panel,
.izle-side-panel,
.izle-hero,
.izle-comments {
  border: 1px solid var(--izle-border);
  border-radius: var(--izle-radius);
  background: color-mix(in srgb, var(--izle-surface) 72%, transparent);
  box-shadow: none;
}

.izle-home-seasons { display: grid; gap: 24px; }
.izle-home-season { padding: 0 0 20px; border: 0; border-radius: 0; background: transparent; }
.izle-home-season:not(:last-child) { border-bottom: 1px solid var(--izle-border); }
.izle-home-season-head {
  display: flex;
  align-items: center;
  margin: 0 0 10px;
}
.izle-home-season-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.izle-latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.izle-latest-grid.izle-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.izle-latest-card {
  overflow: hidden;
  transition: background .18s ease, opacity .18s ease;
  background: transparent;
  border: 0;
  border-radius: 8px;
}
.izle-latest-card:hover {
  background: color-mix(in srgb, var(--izle-primary) 7%, transparent);
  color: var(--izle-text);
}
.izle-latest-poster {
  position: relative;
  display: block;
  aspect-ratio: 500/282;
  background: linear-gradient(135deg, var(--izle-surface-2), var(--izle-surface));
  overflow: hidden;
  border-radius: 8px;
}
.izle-latest-poster img { width: 100%; height: 100%; object-fit: cover; }
.izle-latest-poster::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,.65), rgba(0,0,0,.05) 60%);
}
.izle-language-badges {
  position: absolute;
  right: 9px;
  top: 9px;
  z-index: 2;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.izle-language-badges span,
.izle-mini-badge {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  min-height: 22px;
  padding: 3px 7px;
  border-radius: 7px;
  color: #fff;
  background: color-mix(in srgb, var(--izle-primary) 82%, #000);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.izle-latest-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  padding: 8px 10px 9px;
  background: rgba(0,0,0,.64);
  border-top: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(4px);
}
.izle-latest-body { display: none; }
.izle-latest-series { display: block; color: #fff; font-size: 13px; line-height: 1.2; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.izle-latest-title { display: block; font-size: 16px; line-height: 1.3; }
.izle-latest-meta { display: block; margin-top: 2px; color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.2; font-weight: 700; }

.izle-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  align-items: end;
  margin-bottom: 22px;
}
.izle-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .32;
  filter: saturate(1.12);
}
.izle-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--izle-bg) 95%, transparent), color-mix(in srgb, var(--izle-bg) 45%, transparent)),
              linear-gradient(0deg, var(--izle-bg), transparent 72%);
}
.izle-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
}
.izle-poster-wrap { display: grid; gap: 12px; align-content: start; }
.izle-poster {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--izle-border);
  background: var(--izle-surface-2);
  aspect-ratio: 2/3;
}
.izle-poster img { width: 100%; height: 100%; object-fit: cover; }
.izle-hero-info { align-self: end; }
.izle-trailer-button {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--izle-primary) 70%, var(--izle-border));
  background: var(--izle-primary);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 800;
}
.izle-trailer-button:hover { filter: brightness(1.08); }

.izle-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.izle-meta-list li,
.izle-chip {
  color: var(--izle-text);
  background: color-mix(in srgb, var(--izle-surface-2) 86%, transparent);
  border: 1px solid var(--izle-border);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
}

.izle-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.izle-modal.is-open { display: flex; }
.izle-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.izle-modal-box {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  border: 1px solid var(--izle-border);
  border-radius: 18px;
  background: #000;
  box-shadow: var(--izle-shadow);
  overflow: hidden;
}
.izle-modal-box iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; display: block; }
.izle-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.izle-season-head { margin-top: 24px; }
.izle-season-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.izle-season-tab,
.izle-part-link {
  border: 1px solid var(--izle-border);
  color: var(--izle-text);
  background: color-mix(in srgb, var(--izle-surface-2) 82%, transparent);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
}
.izle-season-tab.is-active,
.izle-part-link.is-active {
  border-color: color-mix(in srgb, var(--izle-primary) 75%, var(--izle-border));
  background: var(--izle-primary);
  color: #fff;
}
.izle-season-block { display: none; overflow: hidden; border-radius: 0; background: transparent; border: 0; }
.izle-season-block.is-active { display: block; }
.izle-episode-list { display: grid; gap: 0; }
.izle-episode-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 11px 12px;
  border-bottom: 1px solid var(--izle-border);
  color: var(--izle-text);
  min-width: 0;
}
.izle-episode-row:last-child { border-bottom: 0; }
.izle-episode-row:hover { background: color-mix(in srgb, var(--izle-primary) 10%, transparent); color: var(--izle-text); }
.izle-episode-name { display: block; font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.izle-episode-small { display: block; color: var(--izle-muted); font-size: 13px; margin-top: 2px; }
.izle-row-right { display: inline-flex; gap: 7px; align-items: center; justify-content: end; flex-wrap: nowrap; white-space: nowrap; }
.izle-badge {
  color: var(--izle-bg);
  background: var(--izle-secondary);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 9px;
  white-space: nowrap;
}
.izle-episode-date {
  color: var(--izle-muted);
  font-size: 13px;
  min-width: 92px;
  text-align: right;
}

.izle-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 14px;
  align-items: stretch;
}
.izle-player-panel { overflow: hidden; display: flex; flex-direction: column; }
.izle-player-head {
  padding: 12px 14px;
  border-bottom: 1px solid var(--izle-border);
}
.izle-player-title { margin: 0; font-size: clamp(18px, 2.1vw, 24px); line-height: 1.25; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.izle-player-meta { margin-top: 6px; color: var(--izle-muted); }
.izle-part-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 10px 0;
}
.izle-player-body { padding: 10px; }
.izle-player-frame {
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  border: 1px solid var(--izle-border);
}
.izle-player-frame iframe,
.izle-player-frame video,
.izle-player-frame embed,
.izle-player-frame object {
  width: 100%;
  min-height: 460px;
  border: 0;
  display: block;
}
.izle-player-frame p { margin: 0; }

.izle-prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.izle-nav-episode {
  border: 1px solid var(--izle-border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--izle-surface-2) 80%, transparent);
  padding: 13px 14px;
  min-height: 76px;
}
.izle-nav-episode span { display: block; color: var(--izle-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.izle-nav-episode strong { display: block; margin-top: 4px; font-size: 14px; line-height: 1.35; }
.izle-nav-episode.is-disabled { opacity: .45; pointer-events: none; }

.izle-side-panel { overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.izle-series-go {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--izle-border);
  background: color-mix(in srgb, var(--izle-surface-2) 62%, transparent);
}
.izle-series-go-image {
  flex: 0 0 73px;
  width: 73px;
  height: 41px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--izle-surface-2);
}
.izle-series-go-image img { width: 100%; height: 100%; object-fit: cover; }
.izle-series-go-text { display: block; min-width: 0; }
.izle-series-go-text span { display: block; color: var(--izle-secondary); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; line-height: 1.15; }
.izle-series-go-text strong { display: block; margin-top: 2px; font-size: 15px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.izle-side-head {
  padding: 16px 17px;
  border-bottom: 1px solid var(--izle-border);
  font-weight: 900;
}
.izle-side-list { flex: 1 1 auto; min-height: 0; overflow: auto; }
.izle-side-link {
  display: block;
  padding: 13px 16px;
  border-bottom: 1px solid var(--izle-border);
}
.izle-side-link.is-current {
  background: color-mix(in srgb, var(--izle-primary) 18%, transparent);
  border-left: 4px solid var(--izle-primary);
}
.izle-side-link-title { display: block; font-weight: 800; font-size: 14px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.izle-side-link-meta { display: block; color: var(--izle-muted); font-size: 12px; margin-top: 3px; }

.izle-comments {
  margin-top: 18px;
  padding: 14px;
}
.izle-comments-title { margin: 0 0 14px; font-size: 22px; }
.izle-comment-list { margin: 0 0 22px; padding: 0; list-style: none; }
.izle-comment-list .comment { margin-top: 12px; padding: 14px; border: 1px solid var(--izle-border); border-radius: 14px; background: color-mix(in srgb, var(--izle-surface-2) 64%, transparent); }
.izle-comment-list .children { margin: 12px 0 0 18px; padding: 0; list-style: none; }
.comment-meta, .comment-metadata, .logged-in-as, .comment-notes { color: var(--izle-muted); font-size: 13px; }
.comment-content { margin-top: 10px; }
.comment-reply-link, .comment-edit-link { color: var(--izle-secondary); font-weight: 800; font-size: 13px; }
.comment-respond { margin-top: 18px; }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  width: 100%;
  border: 1px solid var(--izle-border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--izle-surface-2) 86%, transparent);
  color: var(--izle-text);
  padding: 11px 12px;
}
.comment-respond input[type="submit"] {
  border: 0;
  border-radius: 999px;
  background: var(--izle-primary);
  color: #fff;
  font-weight: 900;
  padding: 10px 18px;
  cursor: pointer;
}

.izle-empty {
  padding: 24px;
  border: 1px dashed var(--izle-border);
  border-radius: var(--izle-radius);
  color: var(--izle-muted);
}

.izle-footer {
  border-top: 1px solid var(--izle-border);
  color: var(--izle-muted);
  padding: 26px 0;
  font-size: 14px;
}

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

@media (max-width: 1100px) {
  .izle-side-panel { height: auto !important; }
  .izle-latest-grid,
  .izle-latest-grid.izle-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .izle-layout { grid-template-columns: 1fr; }
  .izle-side-list { max-height: none; }
}

@media (max-width: 820px) {
  .izle-latest-grid,
  .izle-latest-grid.izle-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .izle-header-inner { min-height: 64px; }
  .izle-hero-content { grid-template-columns: 118px minmax(0, 1fr); padding: 18px; gap: 16px; }
  .izle-hero { min-height: 300px; }
  .izle-player-frame iframe,
  .izle-player-frame video,
  .izle-player-frame embed,
  .izle-player-frame object { min-height: 300px; }
  .izle-prev-next { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .izle-site-shell { width: min(calc(100% - 10px), calc(var(--izle-container) + 28px)); margin: 5px auto; border-radius: 10px; }
  .izle-container { width: min(calc(100% - 18px), var(--izle-container)); }
  .izle-main { padding-top: 22px; }
  .izle-latest-grid { gap: 12px; }
  .izle-latest-body { padding: 11px; }
  .izle-hero-content { grid-template-columns: 1fr; }
  .izle-poster { width: 145px; }
  .izle-section-head { display: block; }
  .izle-episode-row { grid-template-columns: 1fr; }
  .izle-row-right { justify-content: flex-start; flex-wrap: wrap; }
  .izle-episode-date { text-align: left; }
}

/* 1.5.0 ince tasarım düzeltmeleri */
body::before { opacity: .94; }
body::after {
  background: linear-gradient(180deg, rgba(0,0,0,.01), rgba(0,0,0,.05) 48%, rgba(0,0,0,.11));
}
.izle-site-shell {
  background: color-mix(in srgb, var(--izle-surface) 78%, transparent);
  border-color: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
}
.izle-header {
  background: color-mix(in srgb, var(--izle-bg) 74%, transparent);
}
.izle-latest-card,
.izle-season-block,
.izle-player-panel,
.izle-side-panel,
.izle-hero,
.izle-comments {
  background: color-mix(in srgb, var(--izle-surface) 74%, transparent);
}
.izle-home-title {
  font-size: clamp(20px, 2.2vw, 29px);
  letter-spacing: -.035em;
}
.izle-home-season-head {
  margin-bottom: 16px;
  padding-bottom: 8px;
}
.izle-home-season-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  color: var(--izle-text);
}
.izle-home-season-head h2::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  margin-left: 8px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--izle-primary) 55%, transparent), transparent);
}
.izle-season-icon {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--izle-primary) 78%, #000);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}
.izle-latest-card,
.izle-latest-poster {
  border-radius: 9px;
}
.izle-latest-card { overflow: hidden; }
.izle-latest-overlay {
  border-radius: 0 0 9px 9px;
  background: rgba(0,0,0,.68);
}
.izle-latest-series { color: #ff9f1c; }
.izle-latest-meta { color: #fff; }
.izle-logo-mark {
  position: relative;
  color: transparent;
  font-size: 0;
  line-height: 0;
}
.izle-logo-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translate(-42%, -50%);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
}
.izle-side-list {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--izle-primary) 70%, #000) color-mix(in srgb, var(--izle-surface-2) 72%, transparent);
}
.izle-side-list::-webkit-scrollbar { width: 9px; }
.izle-side-list::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--izle-surface-2) 55%, transparent);
  border-left: 1px solid var(--izle-border);
}
.izle-side-list::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--izle-primary) 72%, #000);
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--izle-surface-2) 70%, transparent);
}
.izle-side-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.izle-side-badges {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.izle-side-link .izle-mini-badge {
  min-width: 28px;
  min-height: 18px;
  padding: 3px 5px;
  border-radius: 5px;
  font-size: 10px;
}

@media (min-width: 1101px) {
  .izle-side-panel { height: 588px !important; }
}

@media (max-width: 820px) {
  .izle-player-frame iframe,
  .izle-player-frame video,
  .izle-player-frame embed,
  .izle-player-frame object { min-height: 240px; }
}

@media (max-width: 520px) {
  .izle-player-frame iframe,
  .izle-player-frame video,
  .izle-player-frame embed,
  .izle-player-frame object { min-height: 205px; }
  .izle-episode-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px 8px;
  }
  .izle-row-right {
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 4px;
  }
  .izle-episode-date {
    min-width: 64px;
    text-align: right;
    font-size: 11px;
  }
  .izle-mini-badge {
    min-width: 27px;
    min-height: 18px;
    padding: 2px 5px;
    font-size: 10px;
    border-radius: 5px;
  }
  .izle-episode-name { font-size: 13px; }
  .izle-side-link { padding: 11px 10px; }
}

/* 1.6.0 bolum ve ozet duzenleri */
.izle-home-season-head {
  display: block;
  margin-bottom: 17px;
  padding-bottom: 0;
}
.izle-home-season-head::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 9px;
  background: linear-gradient(90deg, rgba(255,255,255,.32), color-mix(in srgb, var(--izle-primary) 32%, transparent), transparent);
}
.izle-home-season-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
}
.izle-home-season-head h2::after { display: none; }
.izle-season-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  opacity: .88;
  transform: translateY(1px);
}

.izle-player-head { padding: 11px 14px; }
.izle-player-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.izle-player-title {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
  white-space: nowrap;
}
.izle-player-series {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.izle-player-episode {
  flex: 0 0 auto;
  color: var(--izle-muted);
  font-size: .72em;
  font-weight: 800;
  letter-spacing: -.01em;
}
.izle-player-custom-title {
  justify-self: end;
  max-width: 260px;
  color: var(--izle-secondary);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.izle-episode-summary {
  position: relative;
  margin-top: 12px;
  border: 1px solid var(--izle-border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--izle-surface-2) 72%, transparent);
  overflow: hidden;
}
.izle-episode-summary-text {
  padding: 14px 15px;
  transition: filter .18s ease, opacity .18s ease;
}
.izle-episode-summary h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.25;
}
.izle-episode-summary p {
  margin: 0;
  color: color-mix(in srgb, var(--izle-text) 86%, var(--izle-muted));
  font-size: 14px;
  line-height: 1.55;
}
.izle-episode-summary.is-blurred {
  cursor: pointer;
}
.izle-episode-summary.is-blurred .izle-episode-summary-text {
  filter: blur(5px);
  opacity: .56;
  user-select: none;
}
.izle-summary-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0,0,0,.22);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.izle-episode-summary:not(.is-blurred) .izle-summary-lock { display: none; }

@media (max-width: 720px) {
  .izle-player-title-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .izle-player-title {
    width: 100%;
    gap: 7px;
  }
  .izle-player-episode { font-size: .68em; }
  .izle-player-custom-title {
    justify-self: start;
    max-width: 100%;
    font-size: 12px;
  }
  .izle-episode-summary-text { padding: 12px; }
}



/* 1.6.1 ince liste ve kart duzenleri */
.izle-section-head-line {
  justify-content: flex-end;
  border-bottom-color: color-mix(in srgb, var(--izle-border) 70%, transparent);
  margin-bottom: 12px;
  padding-bottom: 7px;
}
.izle-home-title {
  width: 100%;
  text-align: right;
  color: color-mix(in srgb, var(--izle-muted) 82%, #fff);
  font-size: clamp(13px, 1.35vw, 16px);
  font-weight: 700;
  letter-spacing: .01em;
}
.izle-home-season-head h2 {
  color: color-mix(in srgb, var(--izle-text) 94%, #fff);
}
.izle-season-icon {
  color: rgba(255,255,255,.9);
  font-size: 14px;
  opacity: .86;
  transform: translateY(0);
}
.izle-latest-poster img {
  transition: transform .28s ease, filter .28s ease;
  will-change: transform;
}
.izle-latest-card:hover {
  background: transparent;
  opacity: 1;
  transform: none;
}
.izle-latest-card:hover .izle-latest-poster img {
  transform: scale(1.035) translateY(-1px);
  filter: saturate(1.04) contrast(1.02);
}
.izle-episode-name {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.izle-episode-main-title {
  flex: 0 0 auto;
  font-weight: 760;
}
.izle-episode-extra {
  min-width: 0;
  color: color-mix(in srgb, var(--izle-muted) 84%, var(--izle-text));
  font-size: 12.5px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.izle-row-right {
  min-width: 174px;
}
.izle-episode-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  min-width: 88px;
  height: 22px;
  padding: 0 8px;
  border: 1px solid color-mix(in srgb, var(--izle-border) 82%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--izle-surface-2) 30%, transparent);
  color: color-mix(in srgb, var(--izle-muted) 86%, #fff);
  font-size: 11px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.izle-player-custom-title {
  color: color-mix(in srgb, var(--izle-secondary) 70%, var(--izle-text));
  font-size: 12.5px;
  font-weight: 400;
}
.izle-side-link-title {
  font-size: 13.5px;
  font-weight: 780;
}

@media (max-width: 520px) {
  .izle-episode-extra { display: none; }
  .izle-row-right { min-width: 120px; gap: 3px; }
  .izle-episode-date {
    width: 62px;
    min-width: 62px;
    height: 19px;
    padding: 0 5px;
    font-size: 10px;
  }
  .izle-episode-main-title { font-size: 13px; }
}

/* 1.6.2 mobil, favicon/footer ve baslik duzenleri */
.izle-section-head-line {
  justify-content: flex-start;
}
.izle-home-title {
  text-align: left;
}
.izle-home-season-head {
  text-align: right;
}
.izle-home-season-head h2 {
  justify-content: flex-end;
}
.izle-home-season-head::after {
  background: linear-gradient(270deg, rgba(255,255,255,.32), color-mix(in srgb, var(--izle-primary) 30%, transparent), transparent);
}
.izle-season-icon {
  color: rgba(255,255,255,.92);
  font-size: 12px;
  opacity: .92;
  transform: translateY(-1px);
}
.izle-season-head {
  margin-top: 20px;
  padding-bottom: 8px;
}
.izle-season-head .izle-title {
  font-size: clamp(18px, 1.9vw, 24px);
  letter-spacing: -.035em;
}
.izle-footer-inner {
  display: block;
  text-align: center;
}
.izle-footer-main {
  color: color-mix(in srgb, var(--izle-muted) 86%, #fff);
  font-size: 12px;
}
.izle-footer-links {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255,255,255,.35);
  text-align: center;
}
.izle-footer-links a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
}
.izle-footer-links a:hover { color: var(--izle-secondary); }

@media (max-width: 520px) {
  .izle-player-frame iframe,
  .izle-player-frame video,
  .izle-player-frame embed,
  .izle-player-frame object {
    min-height: 0 !important;
    height: 205px !important;
    max-height: 205px !important;
  }
  .izle-row-right {
    min-width: 148px;
    gap: 4px;
  }
  .izle-episode-date {
    width: 92px;
    min-width: 92px;
    max-width: 92px;
    height: 20px;
    padding: 0 6px;
    font-size: 9.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .izle-season-head .izle-title {
    font-size: 18px;
  }
}

@media (max-width: 390px) {
  .izle-row-right { min-width: 138px; gap: 3px; }
  .izle-episode-date {
    width: 84px;
    min-width: 84px;
    max-width: 84px;
    font-size: 9px;
  }
  .izle-mini-badge {
    min-width: 25px;
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* 1.6.3 eski diziplus ayarlari, ozet ve liste ikon duzenleri */
.izle-home-season-head h2 {
  justify-content: flex-end;
  gap: 8px;
}
.izle-season-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 18px !important;
  height: 18px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(255,255,255,.9) !important;
  opacity: .9;
  transform: none !important;
}
.izle-season-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}
.izle-summary-lock {
  text-transform: none;
  letter-spacing: 0;
  text-align: center;
  padding: 0 14px;
  line-height: 1.35;
}
.izle-summary-lock small {
  display: inline;
  color: color-mix(in srgb, #fff 82%, var(--izle-secondary));
  font-size: .92em;
  font-weight: 800;
}
.izle-side-meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  white-space: nowrap;
  min-width: 0;
}
.izle-side-meta .izle-episode-date {
  width: 88px;
  min-width: 88px;
  max-width: 88px;
  height: 22px;
  padding: 0 7px;
  font-size: 10.5px;
}

@media (max-width: 520px) {
  .izle-side-link {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
  }
  .izle-side-meta { gap: 4px; }
  .izle-side-meta .izle-episode-date {
    width: 84px;
    min-width: 84px;
    max-width: 84px;
    height: 19px;
    padding: 0 5px;
    font-size: 9px;
  }
}

/* 1.6.4 tarih rozetleri kaldirildi, sezon ikon hizasi ve favicon secici duzenleri */
.izle-home-season-head h2 {
  justify-content: flex-end;
  align-items: center !important;
  line-height: 1;
}
.izle-season-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  line-height: 0 !important;
  transform: translateY(0) !important;
  position: relative;
  top: 0;
}
.izle-season-icon svg {
  width: 17px !important;
  height: 17px !important;
  display: block !important;
  overflow: visible;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.izle-row-right,
.izle-side-meta {
  min-width: auto;
}
.izle-side-meta {
  justify-content: flex-end;
}

/* 1.6.7 orta alan okunabilirlik ayarı */
.izle-site-shell {
  background: color-mix(in srgb, var(--izle-surface) 82%, transparent);
}
.izle-header {
  background: color-mix(in srgb, var(--izle-bg) 78%, transparent);
}
.izle-latest-card,
.izle-season-block,
.izle-player-panel,
.izle-side-panel,
.izle-hero,
.izle-comments {
  background: color-mix(in srgb, var(--izle-surface) 76%, transparent);
}
