/* Shell: flush arka plan + içerik max genişlikte */
.aml-shell__main--watch {
  width: var(--aml-max) !important;
  max-width: var(--aml-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
.aml-shell__main--watch-flush {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  align-self: stretch !important;
  overflow-x: clip;
}
.aml-shell .watch-workspace,
.aml-shell__main--watch .watch-workspace,
.watch-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: 1.25rem;
  align-items: start;
  width: min(var(--aml-max), 100%) !important;
  max-width: min(var(--aml-max), 100%) !important;
  margin: 0 auto 2rem;
  padding-inline: 1rem;
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  min-height: 70vh;
}
.aml-shell__main--watch-flush .watch-workspace {
  padding-block: 0.25rem 2rem;
}

/* Tam sayfa landscape arka plan (detay sayfası ile aynı dil) */
.watch-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--theme-bg);
}
.watch-workspace > *:not(.watch-backdrop) {
  position: relative;
  z-index: 1;
}
.watch-workspace .theater-overlay {
  z-index: 40;
}
.watch-backdrop__img {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  object-position: center 22%;
  filter: blur(10px) brightness(0.7) saturate(1.08) contrast(1.02);
  transform: scale(1.04);
  opacity: 0.9;
}
.watch-backdrop__ph {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--theme-bg), var(--theme-bg) 55%, var(--theme-bg));
}
.watch-backdrop__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 70% 12%, transparent 0%, color-mix(in srgb, var(--theme-bg) 40%, transparent) 55%, color-mix(in srgb, var(--theme-bg) 80%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--theme-bg) 35%, transparent) 0%, color-mix(in srgb, var(--theme-bg) 55%, transparent) 28%, color-mix(in srgb, var(--theme-bg) 82%, transparent) 62%, color-mix(in srgb, var(--theme-bg) 95%, transparent) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--theme-bg) 72%, transparent) 0%, color-mix(in srgb, var(--theme-bg) 30%, transparent) 38%, color-mix(in srgb, var(--theme-bg) 50%, transparent) 100%);
}
html[data-theme="light"] .watch-backdrop__img {
  filter: blur(10px) brightness(1.06) saturate(0.95) contrast(0.98);
  opacity: 0.78;
}
html[data-theme="light"] .watch-backdrop__shade {
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--theme-bg) 32%, transparent) 0%,
      color-mix(in srgb, var(--theme-bg) 48%, transparent) 45%,
      color-mix(in srgb, var(--theme-bg) 68%, transparent) 100%
    ),
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--theme-bg) 42%, transparent) 0%,
      color-mix(in srgb, var(--theme-bg) 22%, transparent) 50%,
      color-mix(in srgb, var(--theme-bg) 38%, transparent) 100%
    );
}
.watch-workspace--has-bg .watch-page-h1 {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}
.watch-workspace.is-theater .watch-backdrop {
  opacity: 0.35;
}

/* Specificity: .aml-shell .watch-workspace masaüstü 2-kolonu ezmeli */
@media (max-width: 960px) {
  .aml-shell .watch-workspace,
  .aml-shell__main--watch .watch-workspace,
  .aml-shell__main--watch-flush .watch-workspace,
  .watch-workspace {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 1rem;
    padding-inline: 0.75rem;
    margin-bottom: 5.5rem;
    overflow-x: clip;
  }
  .watch-main-col,
  .watch-ep-col {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    grid-column: 1;
  }
  .watch-ep-col {
    order: 2;
  }
  .watch-main-col {
    order: 1;
  }
  .watch-ep-col .hps,
  .watch-ep-col .hps--watch-similar {
    position: static !important;
    top: auto !important;
  }
  html body.aml-shell.aml-shell--rail .aml-shell__main--watch-flush .watch-backdrop {
    left: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .aml-shell .watch-workspace,
  .aml-shell__main--watch .watch-workspace,
  .watch-workspace {
    padding-inline: 0.55rem;
    gap: 0.85rem;
  }
  .watch-title-actions-row {
    justify-content: stretch;
  }
  .watch-title-actions {
    width: 100%;
    margin-left: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.28rem;
  }
  .watch-title-actions .watchlist-dropdown-compact,
  .watch-title-actions .watch-share-wrap {
    flex: 0 0 auto;
    min-width: 0;
  }
  .watch-title-actions .control-nav-btn-compact,
  .watch-title-actions .control-bookmark-btn-compact,
  .watch-title-actions .watch-share-btn {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    font-size: 0.68rem;
    padding: 0 0.32rem;
    gap: 0.2rem;
  }
  .watch-title-actions .theater-btn,
  .watch-title-actions .report-btn {
    flex: 0 0 2.05rem;
    padding: 0;
  }
  /* Liste / Paylaş: mobilde sadece ikon — tek satıra sığsın */
  .watch-title-actions .control-bookmark-btn-compact span,
  .watch-title-actions .watch-share-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .watch-title-actions .control-bookmark-btn-compact,
  .watch-title-actions .watch-share-btn {
    flex: 0 0 2.05rem;
    width: 2.05rem;
    padding: 0;
  }
  .watch-mid-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.65rem 0.7rem;
  }
  .watch-mid-bar__right {
    width: 100%;
    justify-content: stretch;
  }
  .watch-mid-bar__right .watch-slide-toggle {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
    justify-content: space-between;
  }
  .watch-ep-sidebar {
    padding: 0.65rem;
    border-radius: 12px;
  }
  .watch-ep-sidebar .watch-episode-container .ep-toolbar {
    gap: 0.35rem;
    padding: 0.45rem;
  }
  .watch-ep-sidebar .ep-toolbar .episode-navigation {
    flex: 1 1 100%;
    margin-left: 0;
    min-width: 0;
  }
  .watch-ep-col .hps--watch-similar {
    --wsim-poster: 3.75rem;
    padding: 0.7rem 0.75rem 0.85rem;
  }
  .watch-ep-col .hps--watch-similar .hps-row {
    min-height: 4.5rem;
    padding: 0.45rem 0.5rem;
    gap: 0.5rem 0.6rem;
  }
  .watch-ep-col .hps--watch-similar .hps-row__title {
    font-size: 0.82rem;
  }
  .watch-breadcrumb__list {
    flex-wrap: wrap;
  }
}
/* Breadcrumb: Ana Sayfa › Anime › Bölüm — dark/light okunaklı */
.watch-breadcrumb {
  margin: 0 0 0.7rem;
  max-width: 100%;
  min-width: 0;
}
.watch-breadcrumb__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow: hidden;
}
.watch-breadcrumb__item {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: min(14rem, 42vw);
}
.watch-breadcrumb__item--active {
  max-width: min(12rem, 36vw);
  flex-shrink: 0;
}
.watch-breadcrumb__link {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
  max-width: 100%;
  color: var(--theme-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.15s ease;
}
.watch-breadcrumb__link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.watch-breadcrumb__link i.la-home {
  font-size: 1rem;
  flex-shrink: 0;
  color: inherit;
}
.watch-breadcrumb__link:hover {
  color: var(--theme-accent);
}
.watch-breadcrumb__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--theme-text);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}
.watch-breadcrumb__sep {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: color-mix(in srgb, var(--theme-text) 40%, transparent);
  font-size: 0.72rem;
  line-height: 1;
}

/* Anime detay kartı (günün animesi tarzı) */
.watch-anime-detail {
  margin-top: 1.15rem;
}
.watch-anime-detail .daily-pick--watch {
  max-width: none;
  width: 100%;
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
  gap: 1rem 1.25rem;
  padding: 0.95rem 1.05rem;
  align-items: stretch;
}
.watch-anime-detail .daily-pick--watch-wide {
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr) minmax(160px, 240px);
}
.watch-anime-detail .daily-pick__content {
  max-width: none;
  justify-content: flex-start;
}
.watch-anime-detail .daily-pick__plot-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  max-width: none;
}
.watch-anime-detail .daily-pick__plot {
  -webkit-line-clamp: 2;
  max-width: none;
  margin: 0;
  color: color-mix(in srgb, var(--theme-text) 78%, transparent);
}
.watch-anime-detail .daily-pick__plot.is-open {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  white-space: pre-line;
}
.watch-anime-detail .daily-pick__plot-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.15rem 0;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  align-self: center;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--theme-accent);
  cursor: pointer;
}
.watch-anime-detail .daily-pick__plot-toggle:hover {
  color: var(--theme-accent-soft-ink);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.watch-anime-detail .daily-pick__plot-toggle i {
  font-size: 0.9rem;
  line-height: 1;
}
.watch-anime-detail .daily-pick__meta--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  align-items: flex-start;
}
.watch-anime-detail .daily-pick__meta--inline .daily-pick__meta-row {
  flex: 1 1 auto;
  min-width: min(100%, 12rem);
}
.watch-anime-detail .wad-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem 1.15rem;
  align-items: start;
}
.watch-anime-detail .wad-head__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}
.watch-anime-detail .wad-head__side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  width: min(100%, 13.5rem);
  justify-self: end;
}
.watch-anime-detail .daily-pick__scores--stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: flex-end;
}
.watch-anime-detail .daily-pick__score {
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.watch-anime-detail a.daily-pick__score:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
.watch-anime-detail .daily-pick__score--site,
.watch-anime-detail .daily-pick__score--mal,
.watch-anime-detail .daily-pick__score--al {
  background: var(--theme-chip-bg);
  border: 1px solid var(--theme-chip-bd);
  color: var(--theme-text) !important;
}
.watch-anime-detail .daily-pick__score:hover {
  background: var(--theme-chip-hover-bg);
  border-color: var(--theme-chip-hover-bd);
  color: var(--theme-chip-hover-fg) !important;
  filter: none;
}
.watch-anime-detail .daily-pick__score.is-empty {
  opacity: 0.72;
}
/* Site içi puan — 10–100 basamaklı ray */
.wad-rate {
  --wad-accent: var(--theme-accent);
  --wad-track: color-mix(in srgb, var(--theme-text) 10%, transparent);
  --wad-ink: var(--theme-text);
  --wad-mute: var(--theme-muted);
  padding: 0.55rem 0.6rem 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--theme-border);
  background: color-mix(in srgb, var(--theme-surface) 82%, transparent);
  backdrop-filter: blur(8px);
}
.wad-rate.is-pending {
  opacity: 0.72;
  pointer-events: none;
}
.wad-rate__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.wad-rate__label {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wad-mute);
}
.wad-rate__value {
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: var(--wad-mute);
  line-height: 1;
  min-width: 1.6rem;
  text-align: right;
}
.wad-rate__value.has-val {
  color: var(--wad-accent);
  text-shadow: none;
}
.wad-rate__track {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.18rem;
  align-items: end;
}
.wad-rate__step {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  min-width: 0;
}
.wad-rate__bar {
  display: block;
  width: 100%;
  height: calc(0.45rem + (var(--step-i, 1) * 0.11rem));
  border-radius: 999px 999px 4px 4px;
  background: var(--wad-track);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.wad-rate__step.is-on .wad-rate__bar {
  background: var(--theme-selected-bg);
  box-shadow: none;
}
.wad-rate__step.is-pick .wad-rate__bar {
  transform: scaleY(1.12);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--theme-accent) 40%, transparent);
}
.wad-rate__step:hover .wad-rate__bar,
.wad-rate__step:focus-visible .wad-rate__bar {
  transform: translateY(-1px) scaleY(1.08);
}
.wad-rate__tick {
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--wad-mute);
  line-height: 1;
  opacity: 0.75;
}
.wad-rate__step.is-on .wad-rate__tick,
.wad-rate__step.is-pick .wad-rate__tick {
  color: var(--wad-accent);
  opacity: 1;
}
.wad-rate__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: 0.4rem;
  min-height: 1rem;
}
.wad-rate__avg {
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--wad-mute);
}
.wad-rate__clear {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 750;
  color: var(--wad-accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.wad-rate__hint {
  margin: 0;
  font-size: 0.72rem;
  color: var(--wad-mute);
  line-height: 1.35;
}
.wad-rate__hint a {
  color: var(--wad-accent);
  font-weight: 750;
}
.wad-rate__msg {
  margin: 0.3rem 0 0;
  font-size: 0.68rem;
  color: var(--theme-accent);
}
@media (max-width: 720px) {
  .watch-anime-detail .wad-head {
    grid-template-columns: 1fr;
  }
  .watch-anime-detail .wad-head__side {
    width: 100%;
    justify-self: stretch;
  }
  .watch-anime-detail .daily-pick__scores--stack {
    justify-content: flex-start;
  }
}
.watch-anime-detail .daily-pick__landscape {
  position: relative;
  z-index: 1;
  display: block;
  align-self: stretch;
  min-height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--dp-poster-bd, color-mix(in srgb, var(--theme-text) 14%, transparent));
  background: var(--dp-poster-bg, var(--theme-bg));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease;
}
.watch-anime-detail .daily-pick__landscape:hover {
  transform: translateY(-2px);
}
.watch-anime-detail .daily-pick__landscape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  min-height: 10rem;
}
@media (max-width: 900px) {
  .watch-anime-detail .daily-pick--watch-wide {
    grid-template-columns: minmax(112px, 140px) minmax(0, 1fr);
  }
  .watch-anime-detail .daily-pick__landscape {
    display: none;
  }
}
@media (max-width: 640px) {
  .watch-anime-detail .daily-pick--watch {
    grid-template-columns: 108px minmax(0, 1fr);
  }
}

/* Sayfa altı SEO keyword satırı — yorumların altında */
.watch-seo-footer {
  margin: 1.1rem 0 0.15rem;
  padding: 0.55rem 0.15rem;
  border: 0;
  background: transparent;
  color: color-mix(in srgb, var(--theme-info) 55%, transparent);
  font-size: 0.72rem;
  line-height: 1.45;
  font-weight: 500;
}
/* Sağ sütun: bölüm + benzer (ayrı kutular) — sticky yok */
.watch-ep-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  align-self: start;
  position: static;
}
.watch-ep-col .watch-ep-sidebar {
  position: static;
  top: auto;
  margin: 0;
  flex-shrink: 0;
}

/* Benzer animeler — ayrı panel, biraz daha büyük kartlar */
.watch-ep-col .hps--watch-similar {
  --hps-accent: var(--aml-accent);
  --home-panel-solid: color-mix(in srgb, var(--theme-bg) 92%, transparent);
  --wsim-poster: 5.1rem;
  position: static;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--theme-text) 10%, transparent);
  border-radius: 14px;
  padding: 0.9rem 0.95rem 1rem;
  background: color-mix(in srgb, var(--theme-bg) 92%, transparent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.watch-ep-col .hps--watch-similar .hps__list {
  grid-template-columns: 1fr;
  gap: 0.55rem;
}
.watch-ep-col .hps--watch-similar .hps__title {
  font-size: 1.02rem;
  margin-bottom: 0.65rem;
}
.watch-ep-col .hps--watch-similar .hps-row {
  grid-template-columns: var(--wsim-poster) minmax(0, 1fr);
  gap: 0.7rem 0.85rem;
  padding: 0.6rem 0.65rem;
  min-height: 5.85rem;
  border-radius: 0.7rem;
}
.watch-ep-col .hps--watch-similar .hps-row__poster {
  width: var(--wsim-poster);
  border-radius: 0.45rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.watch-ep-col .hps--watch-similar .hps-row__title {
  display: -webkit-box;
  font-size: 0.95rem;
  font-weight: 750;
  margin-bottom: 0.32rem;
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.watch-ep-col .hps--watch-similar .hps-row__sub {
  font-size: 0.74rem;
  gap: 0.28rem 0.6rem;
}
.watch-ep-col .hps--watch-similar .hps-row__sub i {
  font-size: 0.7rem;
}
.watch-ep-col .hps--watch-similar .hps__more {
  margin-top: 0.55rem;
  padding: 0.45rem 0.5rem;
}
/* İzleme: benzer satır arka planları biraz daha belirgin */
.watch-ep-col .hps--watch-similar .hps-row__banner {
  opacity: 0.42;
}
.watch-ep-col .hps--watch-similar .hps-row:hover {
  border-color: color-mix(in srgb, var(--hps-accent) 40%, transparent);
  background: color-mix(in srgb, var(--theme-surface) 55%, transparent);
}
.watch-ep-col .hps--watch-similar .hps-row:hover .hps-row__banner {
  opacity: 0.28;
}
.watch-ep-col .hps--watch-similar .hps-row:hover .hps-row__shade {
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--theme-surface) 88%, transparent) 0%,
      color-mix(in srgb, var(--theme-surface) 62%, transparent) 45%,
      color-mix(in srgb, var(--theme-surface) 28%, transparent) 100%
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--theme-surface) 35%, transparent) 0%,
      transparent 42%,
      color-mix(in srgb, var(--theme-surface) 40%, transparent) 100%
    );
}
.watch-player-frame {
  margin-top: 0.75rem;
  position: relative;
}
/* Player: ana sütunun tam genişliği */
.watch-main-col .watch-player-frame.aml-player,
.watch-main-col .aml-player {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
}

/* Sonraki bölüm/sezon geri sayım overlay */
.watch-next-countdown {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: color-mix(in srgb, var(--theme-bg) 72%, transparent);
  backdrop-filter: blur(4px);
  animation: watch-next-fade 0.25s ease both;
}
@keyframes watch-next-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.watch-next-countdown__card {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  max-width: 22rem;
  width: min(100%, 22rem);
  padding: 1.15rem 1.25rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 12%, transparent);
  background: linear-gradient(165deg, color-mix(in srgb, var(--theme-surface) 96%, transparent), var(--theme-bg));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  text-align: center;
}
.watch-next-countdown__ring {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 3px solid color-mix(in srgb, var(--theme-accent) 85%, transparent);
  box-shadow: 0 0 0 6px rgba(255, 140, 60, 0.12);
  animation: watch-next-pulse 1s ease-in-out infinite;
}
@keyframes watch-next-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.watch-next-countdown__num {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  color: var(--theme-text);
  font-variant-numeric: tabular-nums;
}
.watch-next-countdown__label {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--theme-muted);
}
.watch-next-countdown__hint {
  margin: 0;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--theme-muted) 72%, transparent);
}
.watch-next-countdown__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 0.25rem;
  width: 100%;
}
.watch-next-countdown__btn {
  flex: 1 1 auto;
  min-width: 6.5rem;
  border-radius: 0.5rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
}
.watch-next-countdown__btn--go {
  background: var(--theme-selected-bg);
  color: var(--theme-accent-ink);
  border-color: var(--theme-accent);
}
.watch-next-countdown__btn--go:hover {
  filter: brightness(1.06);
}
.watch-next-countdown__btn--cancel {
  background: color-mix(in srgb, var(--theme-text) 6%, transparent);
  color: var(--theme-muted);
  border-color: color-mix(in srgb, var(--theme-text) 16%, transparent);
}
.watch-next-countdown__btn--cancel:hover {
  background: color-mix(in srgb, var(--theme-text) 10%, transparent);
}
.watch-title-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
}
.watch-page-h1 {
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  font-weight: 800;
  flex: 1 1 220px;
}
.watch-title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}
/* Sabit kutu — hover’da border/font kalınlığı değişmesin (dark’ta sekme) */
.watch-title-actions .control-nav-btn-compact,
.watch-title-actions .control-bookmark-btn-compact,
.watch-title-actions .watch-share-btn,
.control-nav-btn-compact,
.control-bookmark-btn-compact,
.watch-share-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  /* border rengi sabit — hover’da sadece bg (kırmızı kenar “kalınlaşma” hissi yok) */
  border: 1px solid var(--theme-border);
  background: var(--theme-surface);
  color: var(--theme-text);
  border-radius: 0.5rem;
  padding: 0 0.75rem;
  width: auto;
  min-width: 2.25rem;
  height: 2.25rem;
  min-height: 2.25rem;
  max-height: 2.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transform: none;
  box-shadow: none;
  text-shadow: none;
  transition: background 0.15s ease;
}
.control-nav-btn-compact i,
.control-bookmark-btn-compact i,
.watch-share-btn i {
  font-size: 0.95rem;
  line-height: 1;
  width: 1em;
  flex-shrink: 0;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}
.control-nav-btn-compact i.fas,
.control-bookmark-btn-compact i.fas,
.watch-share-btn i.fas {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}
.control-nav-btn-compact i.las,
.control-bookmark-btn-compact i.las,
.watch-share-btn i.las {
  font-family: "Line Awesome Free", "Font Awesome 5 Free" !important;
  font-weight: 900;
}
.control-nav-btn-compact.theater-btn,
.control-nav-btn-compact.report-btn {
  width: 2.25rem;
  min-width: 2.25rem;
  max-width: 2.25rem;
  padding: 0;
}
.control-nav-btn-compact:hover,
.control-nav-btn-compact:focus-visible,
.control-bookmark-btn-compact:hover,
.control-bookmark-btn-compact:focus-visible,
.control-bookmark-btn-compact.active,
.watch-share-btn:hover,
.watch-share-btn:focus-visible {
  background: var(--theme-hover-bg);
  border-color: var(--theme-border);
  color: var(--theme-text);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  height: 2.25rem;
  min-height: 2.25rem;
  max-height: 2.25rem;
  transform: none;
  box-shadow: none;
  text-shadow: none;
  outline: none;
}
.control-bookmark-btn-compact.in-list,
.control-bookmark-btn-compact.in-list:hover {
  background: color-mix(in srgb, var(--theme-accent) 16%, transparent);
  border-color: var(--theme-border);
  color: var(--theme-text);
  font-weight: 600;
}
.control-bookmark-btn-compact.in-list i {
  color: var(--theme-accent);
}
.theater-btn i,
.report-btn i {
  color: var(--theme-accent);
  font-size: 0.95rem;
  font-weight: normal;
}
.watchlist-dropdown-compact,
.watch-share-wrap {
  position: relative;
}
.watchlist-menu-compact,
.watch-share-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 50;
  min-width: 12rem;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 0.5rem;
  padding: 0.35rem;
  display: grid;
  gap: 0.2rem;
  box-shadow: 0 16px 40px color-mix(in srgb, var(--theme-text) 22%, transparent);
  opacity: 1;
  visibility: visible;
  color: var(--theme-text);
}
.watchlist-option-compact,
.watch-share-option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--theme-text);
  padding: 0.45rem 0.55rem;
  border-radius: 0.35rem;
  cursor: pointer;
  font-size: 0.86rem;
}
.watchlist-option-compact:hover,
.watch-share-option:hover,
.watchlist-option-compact.is-active {
  background: color-mix(in srgb, var(--theme-accent) 14%, transparent);
}
.watch-mid-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
}
.watch-mid-bar__right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.watch-slide-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.15rem;
  height: 2.15rem;
  padding: 0 0.65rem 0 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--theme-border);
  background: var(--theme-chip-bg);
  cursor: pointer;
  user-select: none;
  position: relative;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--theme-text);
}
.watch-slide-toggle:hover {
  background: var(--theme-hover-bg);
  border-color: var(--theme-hover-border);
}
.watch-slide-toggle__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.watch-slide-toggle__track {
  width: 2.4rem;
  height: 1.25rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme-text) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-text) 34%, transparent);
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.watch-slide-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--theme-text) 94%, var(--theme-bg));
  box-shadow: 0 1px 3px color-mix(in srgb, var(--theme-text) 28%, transparent);
  transition: transform 0.2s ease, background 0.2s ease;
}
.watch-slide-toggle__input:checked + .watch-slide-toggle__track {
  background: var(--theme-selected-bg);
  border-color: var(--theme-selected-border);
}
.watch-slide-toggle__input:checked + .watch-slide-toggle__track .watch-slide-toggle__thumb {
  transform: translateX(1.05rem);
  background: #fff;
}
.fansub-groups-list,
.video-sources-left {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.fansub-group-btn,
.video-source-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--theme-chip-bd);
  background: var(--theme-chip-bg);
  color: var(--theme-chip-fg);
  border-radius: 0.5rem;
  padding: 0 0.85rem;
  min-height: 2.15rem;
  height: 2.15rem;
  font-size: 0.84rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.fansub-group-btn.active,
.video-source-btn.active {
  background: var(--theme-selected-bg);
  border-color: var(--theme-selected-border);
  color: var(--theme-selected-fg);
}
.fansub-group-btn:hover,
.video-source-btn:hover {
  border-color: var(--theme-chip-hover-bd);
  background: var(--theme-chip-hover-bg);
  color: var(--theme-chip-hover-fg);
}
.fansub-group-btn.active:hover,
.video-source-btn.active:hover {
  background: var(--theme-selected-bg);
  border-color: var(--theme-selected-border);
  color: var(--theme-selected-fg);
  filter: brightness(1.06);
}
/* —— Bölüm paneli (sidebar) —— */
.watch-ep-sidebar {
  position: static;
  background: color-mix(in srgb, var(--theme-bg) 78%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
  border-radius: 14px;
  padding: 0.85rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
}
.watch-workspace--has-bg .watch-ep-sidebar {
  background: color-mix(in srgb, var(--theme-bg) 72%, transparent);
}
.watch-ep-sidebar .watch-episode-container .ep-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.65rem;
  background: color-mix(in srgb, var(--theme-text) 3%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-text) 7%, transparent);
  border-radius: 10px;
}
.watch-ep-sidebar .episode-view-toggle,
.watch-ep-sidebar .episode-order-toggle,
.watch-ep-sidebar .episode-navigation {
  display: inline-flex;
  gap: 0.28rem;
  align-items: center;
}
.watch-ep-sidebar .ep-toolbar .episode-navigation {
  margin-left: auto;
  flex: 1 1 140px;
  min-width: 120px;
}
.watch-ep-sidebar .ep-view-btn,
.watch-ep-sidebar .ep-order-btn,
.watch-ep-sidebar .ep-nav-btn,
.watch-ep-sidebar .episode-search-btn,
.watch-ep-sidebar .episode-copy-btn {
  border: 1px solid color-mix(in srgb, var(--theme-text) 12%, transparent);
  background: transparent;
  color: color-mix(in srgb, var(--theme-text) 70%, transparent);
  border-radius: 8px;
  min-width: 2.15rem;
  height: 2.15rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.watch-ep-sidebar .ep-order-btn {
  min-width: auto;
  padding: 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.watch-ep-sidebar .ep-order-btn--toggle,
.watch-ep-sidebar .ep-order-btn--sort {
  min-width: 2.15rem !important;
  width: 2.15rem !important;
  height: 2.15rem !important;
  padding: 0 !important;
  font-size: 0.95rem !important;
  display: inline-grid;
  place-items: center;
  border-radius: 8px !important;
  border: 1px solid color-mix(in srgb, var(--theme-accent) 55%, transparent) !important;
  background: var(--theme-selected-bg) !important;
  color: var(--theme-accent-ink) !important;
  -webkit-text-fill-color: var(--theme-accent-ink) !important;
  box-shadow: none;
}
.watch-ep-sidebar .ep-order-btn--toggle i,
.watch-ep-sidebar .ep-order-btn--sort i {
  color: var(--theme-accent-ink) !important;
  -webkit-text-fill-color: var(--theme-accent-ink) !important;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}
.watch-ep-sidebar .ep-order-btn--toggle.is-desc i,
.watch-ep-sidebar .ep-order-btn--sort.is-desc i {
  transform: rotate(180deg);
}
.watch-ep-sidebar .ep-order-btn--toggle:hover,
.watch-ep-sidebar .ep-order-btn--sort:hover {
  background: var(--theme-accent-deep) !important;
  border-color: color-mix(in srgb, var(--theme-accent) 70%, transparent) !important;
  color: var(--theme-accent-ink) !important;
  filter: brightness(1.05);
}
.watch-ep-sidebar .ep-order-btn--sort.is-desc {
  background: var(--theme-accent-deep) !important;
}
.watch-ep-sidebar .ep-view-btn:hover,
.watch-ep-sidebar .ep-order-btn:hover,
.watch-ep-sidebar .ep-nav-btn:hover {
  color: var(--theme-text);
  border-color: color-mix(in srgb, var(--theme-accent) 45%, transparent);
  background: color-mix(in srgb, var(--theme-accent) 12%, transparent);
}
.watch-ep-sidebar .ep-view-btn.active,
.watch-ep-sidebar .ep-order-btn.active {
  background: var(--theme-selected-bg) !important;
  border-color: var(--theme-selected-border) !important;
  color: var(--theme-accent-ink) !important;
}
.watch-ep-sidebar .episode-range-dropdown {
  flex: 1;
  min-width: 0;
  height: 2.15rem;
  border-radius: 8px;
  border: 1px solid var(--theme-border);
  background: var(--theme-surface) !important;
  color: var(--theme-text) !important;
  -webkit-text-fill-color: var(--theme-text) !important;
  color-scheme: inherit;
  padding: 0 0.45rem;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}
.watch-ep-sidebar .episode-range-dropdown:hover,
.watch-ep-sidebar .episode-range-dropdown:focus-visible {
  border-color: color-mix(in srgb, var(--theme-accent) 45%, transparent);
  outline: none;
}
.watch-ep-sidebar .episode-range-dropdown option {
  background: var(--theme-surface);
  color: var(--theme-text);
}
/* Izgara */
.watch-ep-sidebar .watch-episode-container .watch-episode-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
  gap: 0.4rem;
  max-height: min(64vh, 560px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.15rem 0.2rem 0.35rem 0;
  margin-bottom: 0.65rem;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--theme-text) 28%, transparent) transparent;
}
.watch-ep-sidebar .watch-episode-grid::-webkit-scrollbar,
.watch-ep-sidebar .watch-episode-list::-webkit-scrollbar {
  width: 6px;
}
.watch-ep-sidebar .watch-episode-grid::-webkit-scrollbar-thumb,
.watch-ep-sidebar .watch-episode-list::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--theme-text) 22%, transparent);
  border-radius: 999px;
}
.watch-ep-sidebar .watch-episode-grid::-webkit-scrollbar-track,
.watch-ep-sidebar .watch-episode-list::-webkit-scrollbar-track {
  background: transparent;
}
.watch-ep-sidebar .watch-episode-grid .ep-item {
  aspect-ratio: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--theme-text) 10%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--theme-text) 6%, transparent);
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  color: color-mix(in srgb, var(--theme-text) 90%, transparent);
  transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.watch-ep-sidebar .watch-episode-grid .ep-item:hover {
  background: color-mix(in srgb, var(--theme-accent) 14%, transparent);
  border-color: color-mix(in srgb, var(--theme-accent) 45%, transparent);
  transform: translateY(-1px);
}
.watch-ep-sidebar .watch-episode-grid .ep-item.active {
  background: var(--theme-selected-bg) !important;
  border-color: var(--theme-selected-border) !important;
  color: var(--theme-accent-ink) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--theme-accent) 28%, transparent);
}
.watch-ep-sidebar .watch-episode-grid .ep-item.is-watched:not(.active) {
  opacity: 0.55;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--theme-accent) 35%, transparent);
}

/* Liste — sidebar tek sütun */
.watch-ep-sidebar .watch-episode-container[data-ep-view="list"] .watch-episode-list,
.watch-ep-sidebar.sidebar-episode-section .watch-episode-container[data-ep-view="list"] .watch-episode-list {
  display: flex !important;
  flex-direction: column;
  grid-template-columns: none !important;
  gap: 0.4rem;
  max-height: min(64vh, 560px);
  overflow-x: hidden;
  overflow-y: auto;
  margin-bottom: 0.65rem;
  padding-right: 0.15rem;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--theme-text) 28%, transparent) transparent;
}
.watch-ep-sidebar .watch-episode-list .ep-list-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem;
  min-height: 2.65rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 9%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--theme-text) 4%, transparent);
  text-decoration: none;
  color: color-mix(in srgb, var(--theme-text) 88%, transparent);
  transition: background 0.15s, border-color 0.15s;
  min-width: 0;
}
.watch-ep-sidebar .watch-episode-list .ep-list-item:hover {
  background: color-mix(in srgb, var(--theme-accent) 10%, transparent);
  border-color: color-mix(in srgb, var(--theme-accent) 40%, transparent);
  color: var(--theme-text);
}
.watch-ep-sidebar .watch-episode-list .ep-list-item.active {
  background: color-mix(in srgb, var(--theme-accent) 22%, transparent) !important;
  border-color: var(--theme-selected-border) !important;
  color: var(--theme-text) !important;
  box-shadow: inset 3px 0 0 var(--theme-accent);
}
.watch-ep-sidebar .watch-episode-list .ep-list-num {
  display: none !important;
}
.watch-ep-sidebar .watch-episode-list .ep-list-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}
.watch-ep-sidebar .watch-episode-list .ep-list-date {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--theme-text) 45%, transparent);
  white-space: nowrap;
  line-height: 1.2;
}
.watch-ep-sidebar .watch-episode-list .ep-list-play {
  flex: 0 0 auto;
  opacity: 0.45;
  font-size: 0.72rem;
  line-height: 1;
}
.watch-ep-sidebar .watch-episode-list .ep-list-item:hover .ep-list-play,
.watch-ep-sidebar .watch-episode-list .ep-list-item.active .ep-list-play {
  opacity: 1;
  color: var(--theme-accent);
}
.watch-ep-sidebar .watch-episode-list .ep-list-item.active .ep-list-date {
  color: color-mix(in srgb, var(--theme-text) 75%, transparent);
}
.watch-ep-sidebar .watch-episode-list .ep-list-item.is-watched:not(.active) {
  opacity: 0.62;
}

/* Thumbnail grid — büyük kart, sadece görsel + üstte N. Bölüm */
.watch-ep-sidebar .watch-episode-container[data-ep-view="thumb"] .watch-episode-grid,
.watch-ep-sidebar .watch-episode-container[data-ep-view="thumb"] .watch-episode-list,
.watch-ep-sidebar .watch-episode-container[data-ep-view="grid"] .watch-episode-thumbs,
.watch-ep-sidebar .watch-episode-container[data-ep-view="list"] .watch-episode-thumbs {
  display: none !important;
}
.watch-ep-sidebar .watch-episode-container[data-ep-view="thumb"] .watch-episode-thumbs {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  max-height: min(72vh, 640px);
  overflow-x: hidden;
  overflow-y: auto;
  margin-bottom: 0.65rem;
  padding: 0.1rem 0.2rem 0.35rem 0;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--theme-text) 28%, transparent) transparent;
}
.watch-ep-sidebar .watch-episode-thumbs::-webkit-scrollbar {
  width: 6px;
}
.watch-ep-sidebar .watch-episode-thumbs::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--theme-text) 22%, transparent);
  border-radius: 999px;
}
.watch-ep-sidebar .ep-thumb-item {
  display: block;
  min-width: 0;
  text-decoration: none;
  color: var(--theme-text);
  border: 1px solid color-mix(in srgb, var(--theme-text) 10%, transparent);
  border-radius: 12px;
  overflow: hidden;
  background: color-mix(in srgb, var(--theme-bg) 28%, transparent);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.watch-ep-sidebar .ep-thumb-item:hover {
  border-color: color-mix(in srgb, var(--theme-accent) 50%, transparent);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
.watch-ep-sidebar .ep-thumb-item.active {
  border-color: var(--theme-selected-border) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--theme-accent) 28%, transparent);
}
.watch-ep-sidebar .ep-thumb-item.is-watched:not(.active) {
  opacity: 0.62;
}
.watch-ep-sidebar .ep-thumb-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: color-mix(in srgb, var(--theme-bg) 95%, transparent);
  overflow: hidden;
}
.watch-ep-sidebar .ep-thumb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.watch-ep-sidebar .ep-thumb-fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--theme-accent) 14%, transparent), transparent 55%),
    color-mix(in srgb, var(--theme-bg) 95%, transparent);
}
.watch-ep-sidebar .ep-thumb-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: block;
  padding: 0.5rem 0.55rem;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--theme-text) !important;
  -webkit-text-fill-color: var(--theme-text);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  background: linear-gradient(transparent, color-mix(in srgb, var(--theme-bg) 82%, transparent) 35%, color-mix(in srgb, var(--theme-bg) 92%, transparent));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.watch-ep-sidebar .ep-thumb-item.active .ep-thumb-bar {
  color: var(--theme-accent) !important;
  -webkit-text-fill-color: var(--theme-accent);
}
.watch-ep-sidebar .episode-search {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.45rem;
  align-items: center;
}
.watch-ep-sidebar .episode-search--compact {
  gap: 0.35rem;
}
.watch-ep-sidebar .episode-season-select-wrap {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 55%;
}
.watch-ep-sidebar .episode-season-select {
  width: 100%;
  height: 1.85rem;
  border-radius: 7px;
  border: 1px solid color-mix(in srgb, var(--theme-text) 12%, transparent);
  background: var(--theme-bg);
  color: inherit;
  padding: 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
}
.watch-ep-sidebar .episode-season-select:disabled {
  opacity: 0.55;
  cursor: wait;
}
.watch-ep-sidebar .episode-search-field {
  display: flex;
  align-items: center;
  flex: 0 1 8rem;
  min-width: 5.75rem;
  max-width: 9.5rem;
  height: 1.85rem;
  border-radius: 7px;
  border: 1px solid color-mix(in srgb, var(--theme-text) 12%, transparent);
  background: var(--theme-bg);
  overflow: hidden;
}
.watch-ep-sidebar .episode-search-icon {
  flex: 0 0 1.7rem;
  width: 1.7rem;
  height: 100%;
  border: 0;
  background: transparent;
  color: color-mix(in srgb, var(--theme-text) 55%, transparent);
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 0.72rem;
}
.watch-ep-sidebar .episode-search-icon:hover {
  color: var(--theme-accent);
}
.watch-ep-sidebar .episode-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  padding: 0 0.45rem 0 0;
  font-size: 0.8rem;
  box-shadow: none;
}
.watch-ep-sidebar .episode-search-input:focus {
  outline: none;
  box-shadow: none;
}
.watch-ep-sidebar .episode-search-field:focus-within {
  border-color: color-mix(in srgb, var(--theme-accent) 55%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--theme-accent) 18%, transparent);
}
.watch-ep-sidebar .episode-season-loading {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--theme-muted) 65%, transparent);
}
.theater-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  border: 0;
  background: color-mix(in srgb, var(--theme-bg) 72%, transparent);
  cursor: pointer;
}
.watch-workspace.is-theater .watch-main-col {
  position: relative;
  z-index: 45;
}
.watch-toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 80;
  background: var(--theme-bg);
  border: 1px solid var(--theme-neutral);
  padding: 0.55rem 0.9rem;
  border-radius: 0.5rem;
  font-weight: 650;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* uploader + contributors — canlı kart */
.uploader-contributors-section { margin-top: 1.1rem; }
.uploader-contributors-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1%;
  width: 100%;
  align-items: stretch;
}
.uploader-contributors-section .uploader-col,
.uploader-contributors-section .contributors-col {
  flex: 0 0 49.5%;
  max-width: 49.5%;
  box-sizing: border-box;
}
.uploader-contributors-section .contributors-col--full {
  flex: 0 0 100%;
  max-width: 100%;
}
@media (max-width: 820px) {
  .uploader-contributors-section .uploader-col,
  .uploader-contributors-section .contributors-col,
  .uploader-contributors-section .contributors-col--full {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.uploader-profile-card {
  min-height: 108px;
  height: 100%;
  padding: 0.85rem 1rem;
  background: var(--theme-surface);
  border-radius: 0.75rem;
  border: 1px solid var(--theme-border);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-sizing: border-box;
}
a.uploader-profile-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
a.uploader-profile-card--link:hover {
  border-color: color-mix(in srgb, var(--theme-accent) 55%, transparent);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--theme-accent) 22%, transparent);
}
.uploader-avatar-wrapper { position: relative; flex-shrink: 0; }
.uploader-avatar-img,
.uploader-avatar-fallback {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid var(--theme-accent);
  display: block;
  background: linear-gradient(135deg, color-mix(in srgb, var(--theme-accent) 15%, transparent), color-mix(in srgb, var(--theme-info) 8%, transparent));
}
.uploader-avatar-fallback {
  display: grid;
  place-items: center;
  color: var(--theme-accent);
  font-weight: 800;
  font-size: 1.4rem;
}
.uploader-verified {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--theme-selected-bg);
  color: var(--theme-accent-ink);
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  border: 2px solid var(--theme-surface);
}
.uploader-profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.uploader-profile-name {
  color: var(--theme-text);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}
.uploader-profile-badge {
  color: var(--theme-accent);
  font-size: 0.82rem;
  font-weight: 650;
}
.uploader-video-count {
  color: color-mix(in srgb, var(--theme-text) 65%, transparent);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.uploader-username {
  color: var(--theme-muted);
  font-size: 0.78rem;
}
.contributors-box-compact {
  height: 100%;
  min-height: 108px;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--theme-border);
  background: var(--theme-surface);
  box-sizing: border-box;
}
.contributors-compact-title {
  font-weight: 750;
  font-size: 0.9rem;
  color: var(--theme-text);
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}
.contributors-compact-title i {
  color: var(--theme-accent);
}
.contributors-compact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}
.contributor-compact-item {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0 0.7rem;
  min-height: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--theme-chip-bg);
  border: 1px solid var(--theme-chip-bd);
  color: var(--theme-chip-fg);
  font-size: 0.78rem;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.contributor-compact-item:hover {
  background: var(--theme-chip-hover-bg);
  border-color: var(--theme-chip-hover-bd);
  color: var(--theme-chip-hover-fg);
}
.contributor-role { color: var(--theme-accent); font-weight: 700; }
.contributor-name, .contributor-compact-name { color: inherit; font-weight: 600; }

/* comments */
.watch-comments-section {
  margin-top: 1.35rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
  background: color-mix(in srgb, var(--theme-text) 3%, transparent);
}
.watch-comments-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.watch-comments-head h2 { margin: 0; font-size: 1.05rem; }
.watch-comments-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.watch-comment {
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--theme-bg) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-text) 6%, transparent);
}
.watch-comment__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--theme-text) 55%, transparent);
  margin-bottom: 0.35rem;
}
.watch-comment__meta strong { color: var(--theme-info); }
.watch-comment__body {
  margin: 0;
  white-space: pre-line;
  line-height: 1.45;
  color: color-mix(in srgb, var(--theme-text) 90%, transparent);
  font-size: 0.92rem;
}

.aml-shell__main--watch {
  max-width: none;
  width: 100%;
  padding-inline: 0;
}
