/* Pagina dettaglio titolo — clone fedele di streamingunity.dog.
   L'hero usa font-size viewport-relative (1em ≈ 1vw, come SCZ): tutto scala in em. */

.title-container {
  position: relative;
  /* base font come SCZ: fissa a 13.66px fino a ~1570px, poi 0.87vw */
  --tc-em: max(13.66px, 0.87vw);
  font-size: var(--tc-em);
  color: #e8e8e8;
  margin-bottom: 2.5em;
}
/* niente contorno bianco al click/focus sugli elementi interattivi della pagina */
.title-container a:focus,
.title-container button:focus,
.title-container a:focus-visible,
.title-container button:focus-visible,
#title-single a:focus,
#title-single button:focus,
#title-single .owl-carousel a:focus {
  outline: none;
  box-shadow: none;
}
/* nessuna sottolineatura all'hover sui link della hero */
.title-container a:hover,
.title-container a:focus {
  text-decoration: none;
}

/* ── Sfondo (backdrop + ombre) ── */
.tc-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 35em;
  overflow: hidden;
  z-index: 0;
}
.tc-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  /* come SCZ: l'immagine occupa solo il ~71% destro (parte da ~28,6%), non tutto lo schermo */
  left: 28.6%;
  background-size: cover;
  background-position: 50% 0;
}
/* trailer di sfondo: occupa la stessa area dell'immagine (.tc-bg), dissolvenza in entrata/uscita */
.tc-hero-trailer {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 28.6%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  z-index: 0;
}
.cx-tr-playing .tc-hero-trailer {
  opacity: 1;
}
/* l'iframe copre il box (16:9) senza bande; scale per nascondere titolo/controlli YouTube */
.tc-hero-trailer iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.35);
  width: 71.4vw;
  height: 40.16vw; /* 71.4vw * 9/16 */
  min-height: 35em;
  min-width: 62.3em; /* 35em * 16/9 → copre in altezza */
  border: 0;
  pointer-events: none;
}
/* pulsante audio del trailer (in basso a destra dell'area immagine) — stesso stile dell'hero home */
.tc-trailer-mute {
  position: absolute;
  z-index: 6; /* sopra .tc-info-wrap (z-index 1), altrimenti non riceve il click */
  right: 3vw;
  top: 28em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  width: 2.6em;
  height: 2.6em;
  opacity: 0.55; /* un po' trasparente, si fonde con l'immagine */
  transition: background 0.2s ease, opacity 0.2s ease;
}
.tc-trailer-mute:hover {
  background: rgba(20, 20, 20, 0.85);
  opacity: 1;
}

/* nero pieno sul primo ~32% (come .dark-bg-left di SCZ) */
.tc-dark-left {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 32%;
  background: #000;
  transition: width 0.35s ease;
}
/* gradiente nero→trasparente dal 32% al 66% (come .left-shadow di SCZ) */
.tc-left-shadow {
  position: absolute;
  top: 0;
  left: 32%;
  height: 100%;
  width: 34%;
  background: linear-gradient(to left, rgba(0, 0, 0, 0), #000);
  transition: left 0.35s ease, width 0.35s ease;
}
/* su Dettagli lo sfondo nero si allarga per coprire le colonne */
.tc-on-details .tc-dark-left {
  width: 45%;
}
.tc-on-details .tc-left-shadow {
  left: 45%;
  width: 38%;
}
.tc-bottom-shadow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12em;
  background: linear-gradient(rgba(0, 0, 0, 0), #000);
}
/* scrim: oscura lo sfondo quando una tab di contenuto (Episodi/Dettagli/Trailer) è attiva */
.tc-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.tc-tabbed .tc-scrim {
  opacity: 1;
}

/* ── Colonna info ── */
.tc-info-wrap {
  position: relative;
  z-index: 1;
  min-height: 35em;
  display: flex;
  flex-direction: column;
  padding: 1.5em 4em 4.5em; /* spazio in basso riservato alla barra tab */
}

.tc-title {
  padding-top: 1.25em;
  min-height: 3.25em;
}
.tc-title h1 {
  margin: 0;
  font-size: 3em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.tc-title .tc-logo {
  /* 6em del font BASE (non dell'h1 che è 3em), come SCZ → ~100px a 1920 */
  max-height: calc(var(--tc-em) * 6);
  max-width: 400px;
  width: auto;
  height: auto;
  display: block;
}
.tc-title .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Features (anno - durata/stagioni - badge) ── */
.tc-features {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.65em;
  font-size: 1.1em;
  color: #e8e8e8;
}
.tc-features .badge {
  font-size: 0.7em;
  color: #e0e0e0;
  border: 1px solid #8c8c8c;
  border-radius: 0.18em;
  padding: 0.05em 0.42em;
  margin-left: 0.7em;
  line-height: 1.35;
  background: transparent;
  font-weight: 400;
}

/* ── Bottoni azione ── */
.tc-buttons {
  display: flex;
  align-items: center;
  margin-top: 1.4em;
  flex-wrap: wrap;
  gap: 0.9em 0;
}
.tc-video-actions {
  display: flex;
  align-items: center;
}
.tc-play {
  display: inline-flex;
  align-items: center;
  height: 2.8em;
  padding: 0 2em;
  margin-right: 1em;
  background: #fff;
  color: #000;
  font-size: 1em;
  font-weight: 700;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
}
.tc-play:hover {
  background: #e6e6e6;
  color: #000;
}
.tc-play .play-icon {
  margin-right: 0.6em;
}
.tc-download {
  display: inline-flex;
  align-items: center;
  height: 2.8em;
  padding: 0 1.4em;
  margin-right: 1em;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1em;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
}
.tc-download:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.tc-download .download-icon {
  margin-right: 0.5em;
}

.tc-user-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 1em;
}
.tc-title-btn {
  width: 3em;
  height: 3em;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(120, 120, 120, 0.35);
  color: #fff;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease;
}
.tc-title-btn:hover {
  background: rgba(150, 150, 150, 0.55);
}
/* cerchio valutazione (conic-gradient) */
.tc-rating .tc-title-btn {
  background: transparent;
  position: relative;
}
.tc-rating .tc-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.tc-rating .tc-ring::after {
  content: "";
  position: absolute;
  inset: 0.28em;
  background: #181818;
  border-radius: 50%;
}
.tc-rating .tc-value {
  position: relative;
  z-index: 1;
  font-size: 1.1em;
  font-weight: 400;
  color: #fff;
}

/* stato attivo (in lista / votato) */
.tc-title-btn.tc-active {
  background: #fff;
  color: #111;
}
.tc-title-btn.tc-active:hover {
  background: #e6e6e6;
}

/* valutazione — tooltip a stelle stile SCZ (5 stelle, mezze stelle) */
.tc-title-btn {
  position: relative;
}
.tc-rate-wrap {
  position: relative;
}
/* stella del trigger gialla quando l'utente ha votato */
.tc-title-btn.tc-rated {
  color: #f5c518;
}
/* tooltip sotto il bottone */
.tc-rate-tooltip {
  position: absolute;
  top: calc(100% + 0.6em);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5em;
  background: rgba(20, 22, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2em;
  padding: 0.45em 0.8em;
  box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.5);
  z-index: 50;
  white-space: nowrap;
}
.tc-rate-tooltip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 0.45em solid transparent;
  border-bottom-color: rgba(20, 22, 26, 0.95);
}
.tc-rate-clear {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  color: #ff6b6b;
  cursor: pointer;
  padding: 0;
  font-size: 1em;
}
.tc-rate-clear:hover {
  color: #ff8585;
}
/* stelle: layer vuoto (grigio) + layer pieno (giallo) clippato in larghezza */
.tc-rate-stars {
  position: relative;
  display: inline-block;
  cursor: pointer;
  line-height: 0;
}
.tc-rate-empty,
.tc-rate-full-inner {
  display: flex;
}
.tc-rate-empty {
  color: rgba(255, 255, 255, 0.3);
}
.tc-rate-full {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  color: #f5c518;
  pointer-events: none;
}
.tc-rate-stars .star {
  width: 1.2em;
  height: 1.2em;
  flex: 0 0 auto;
}

/* ── Trama / extra ── */
.tc-plot {
  margin: 0;
  padding: 1.5em 0 1em;
  max-width: 40em;
  font-size: 1em;
  line-height: 1.5;
  color: #e8e8e8;
}
/* spazio leggero quando la trama manca, per non incollare il cast ai bottoni */
.tc-plot-gap {
  height: 1.25em;
}
.tc-extra {
  font-size: 1em;
  line-height: 1.5;
  color: #b3b3b3;
  max-width: 46em;
}
.tc-extra .tc-extra-title {
  font-weight: 700;
  color: #b3b3b3;
}
.tc-extra a {
  color: #b3b3b3;
  text-decoration: none;
}
.tc-extra a:hover {
  text-decoration: none;
  color: #fff;
}

/* ── Dettagli: 3 colonne esplicite (Cast · centrale · info), larghezza SCZ ~24em ── */
.tc-details {
  display: flex;
  gap: 2em;
  align-items: flex-start;
  padding-top: 1.5em;
}
.tc-detail-col {
  width: 24em;
}
.tc-detail-block {
  margin-bottom: 1.5em;
}
.tc-detail-block:last-child {
  margin-bottom: 0;
}
.tc-details .tc-col-label {
  font-size: 1em;
  color: #b3b3b3;
  line-height: 1.5;
  margin-bottom: 0.5em;
}
.tc-details .tc-record {
  font-size: 1.1em;
  color: #e8e8e8;
  line-height: 1.65;
}
.tc-details .tc-record a {
  color: #e8e8e8;
  text-decoration: none;
}
.tc-details .tc-record a:hover {
  text-decoration: none;
  color: #fff;
}

/* ── Episodi (slider come SCZ) ── */
.tc-episodes {
  padding-top: 1em;
}
.tc-episodes-empty {
  padding: 2em 0;
  font-size: 1.1em;
  color: #9a9a9a;
}
/* selettore stagione (in alto a destra) */
.tc-ep-seasons {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1em;
}
.tc-season-dd {
  position: relative;
}
.tc-season-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 0.15em 1em 0.25em 0.8em;
  font-size: 1em;
  cursor: pointer;
}
.tc-season-list {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.3em;
  background: #1a1a1a;
  list-style: none;
  padding: 0.3em 0;
  margin-bottom: 0;
  min-width: 14em;
  max-height: 18em;
  overflow: auto;
  z-index: 5;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.tc-season-list li {
  padding: 0.5em 1em;
  font-size: 1em;
  color: #e0e0e0;
  cursor: pointer;
  white-space: nowrap;
}
.tc-season-list li span {
  color: #888;
}
.tc-season-list li:hover,
.tc-season-list li.active {
  background: #2a2a2a;
  color: #fff;
}
/* riga episodi (scroll orizzontale) + frecce */
.tc-ep-slider {
  position: relative;
}
.tc-ep-row {
  display: flex;
  gap: 0.37em; /* ~5px come SCZ (step ≈ card+gap = 251px) */
  overflow-x: auto;
  padding-bottom: 0.5em;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox: niente scrollbar */
  -ms-overflow-style: none; /* IE/Edge legacy */
}
.tc-ep-row::-webkit-scrollbar {
  display: none; /* Chrome/Safari: niente scrollbar */
}
/* frecce slider come SCZ: trasparenti, piena altezza, nel gutter; chevron ~21×33px */
.tc-ep-arrow {
  position: absolute;
  top: 0;
  height: 100%;
  width: 3.66em; /* ~50px */
  z-index: 3;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tc-ep-arrow svg {
  width: 1.5em; /* ~21px */
  height: 2.4em; /* ~33px */
  transition: transform 0.15s ease;
}
.tc-ep-arrow:hover svg {
  transform: scale(1.25);
}
.tc-ep-prev {
  left: -3.66em;
}
.tc-ep-next {
  right: -3.66em;
}
.tc-ep-card {
  flex: 0 0 18em; /* ~5 card a ≤1366 come SCZ */
  text-decoration: none;
}
/* come SCZ: 6 card a schermo dai ~1400px in su (a 1366 restano 5) */
@media (min-width: 1400px) {
  .tc-ep-card {
    flex: 0 0 calc((100% - 5 * 0.37em) / 6);
  }
}
.tc-ep-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.25em;
  overflow: hidden;
  background: #1a1a1a;
}
.tc-ep-box .cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tc-ep-number {
  position: absolute;
  left: 0.6em;
  bottom: 0.1em;
  font-size: 2em;
  line-height: 1;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.45);
}
.tc-ep-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.tc-ep-card:hover .tc-ep-play {
  opacity: 1;
}
/* bottone play come SCZ: cerchio 51px, nero 50% + bordo bianco */
.tc-ep-playbtn {
  width: 3.75em;
  height: 3.75em;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #fff;
  display: grid;
  place-items: center;
}
.tc-ep-playbtn svg {
  width: 1.2em;
  height: 1.6em;
  color: #fff;
  margin-left: 0.15em;
}
.tc-ep-details {
  width: 100%;
  padding-top: 0.5em;
}
.tc-ep-titlerow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
}
.tc-ep-name {
  font-size: 1.1em;
  font-weight: 700;
  color: #e8e8e8;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tc-ep-dl {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  color: #b3b3b3;
  cursor: pointer;
}
.tc-ep-dl:hover {
  color: #fff;
}
.tc-ep-dl svg {
  width: 1.2em;
  height: 1.2em;
}
.tc-ep-plot {
  font-size: 1em;
  color: #b3b3b3;
  line-height: 1.15;
  margin-top: 0.25em;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Trailer ── */
.tc-trailer {
  padding-top: 1.5em;
  max-width: 56em;
}
.tc-trailer-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}
.tc-trailer-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.tc-trailer-empty {
  padding: 2em 0;
  font-size: 1.1em;
  color: #9a9a9a;
}

/* fade leggero del pannello allo switch tab (come slide-fade-down-in di SCZ) */
.tc-panel {
  animation: tc-panel-fade 0.3s ease;
}
@keyframes tc-panel-fade {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: none;
  }
}

/* ── Barra tab (fissa al bordo inferiore dell'hero, 35em) ── */
.tc-tabnav {
  position: absolute;
  left: 4em;
  right: 4em;
  top: 35em;
  transform: translateY(-100%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2em;
  padding: 0;
}
.tc-tab {
  position: relative;
  font-size: 1.1em;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #b3b3b3;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0.2em 0.825em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.tc-tab:hover {
  color: #e8e8e8;
}
.tc-tab.active {
  color: #fff;
}
/* voce "Scarica" con icona (no indicatore attivo) */
.tc-tab-download {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
/* indicatore verde con angoli superiori arrotondati (come SCZ) */
.tc-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #018850;
  border-radius: 1.1em 1.1em 0 0;
}

/* ── Player a schermo intero (overlay SPA da "Riproduci" + pagina diretta /watching) ── */
.tc-player-overlay,
.tc-player-page {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #000;
}
/* apertura: zoom-in + dissolvenza che copre tutto il sito */
.tc-player-overlay,
.tc-player-page {
  animation: tc-player-in 0.3s ease;
}
@keyframes tc-player-in {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* chiusura: dissolvenza + zoom-out */
.tc-player-overlay.closing {
  animation: tc-player-out 0.26s ease forwards;
}
@keyframes tc-player-out {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: scale(1.04);
  }
}
.tc-player-overlay-frame,
.tc-player-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* X di chiusura in alto a DESTRA */
.tc-player-close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(20, 20, 20, 0.6);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.tc-player-close:hover {
  background: rgba(45, 45, 45, 0.9);
}
.tc-player-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #9a9a9a;
  font-size: 16px;
}

/* ── Sezione consigliati (slider sotto l'hero) ── */
.tc-related {
  margin-top: 1em;
}
/* il vecchio tema DLE ha "#title-single .label { font-size:2.4em }" che ingrandisce
   i titoli delle righe (correlati + categorie lazy): riportiamo a 1.4em come home/SCZ */
#title-single .row-header .header-wrap .label {
  font-size: 1.4em;
  line-height: 1.2;
  margin-left: 0;
  margin-bottom: 0;
  color: #fff;
}

@media (max-width: 800px) {
  .title-container {
    font-size: 15px;
  }
  .tc-info-wrap {
    padding: 1.5em 1.2em 0;
    min-height: 0;
  }
  .tc-bg-wrap {
    height: 26em;
  }
  .tc-dark-left {
    display: none;
  }
  .tc-left-shadow {
    left: 0;
    width: 100%;
    background: linear-gradient(to top, #000 10%, rgba(0, 0, 0, 0.2));
  }
  .tc-plot,
  .tc-details {
    max-width: 100%;
  }
  /* su mobile la barra tab torna nel flusso */
  .tc-tabnav {
    position: static;
    transform: none;
    left: auto;
    right: auto;
    margin-top: 1.5em;
    padding: 0 0 1.2em;
    gap: 1.2em;
    overflow-x: auto;
  }
}

/* ── Frecce owl degli slider nel dettaglio: identiche alla home (#home → #title-single) ── */
#title-single .owl-carousel .owl-nav {
  margin: 0;
}
#title-single .owl-carousel .owl-nav button.owl-prev,
#title-single .owl-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 15px;
  bottom: 0;
  width: 56px;
  margin: 0 !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 20;
}
#title-single .owl-carousel .owl-nav button.owl-prev {
  left: 0;
  background: linear-gradient(to left, rgba(20, 20, 20, 0.35), rgba(20, 20, 20, 0.97)) !important;
}
#title-single .owl-carousel .owl-nav button.owl-next {
  right: 0;
  background: linear-gradient(to right, rgba(20, 20, 20, 0.35), rgba(20, 20, 20, 0.97)) !important;
}
#title-single .slider-title:hover .owl-carousel .owl-nav button.owl-prev:not(.disabled),
#title-single .slider-title:hover .owl-carousel .owl-nav button.owl-next:not(.disabled) {
  opacity: 1;
}
#title-single .owl-carousel .owl-nav button:hover {
  background: rgba(20, 20, 20, 0.75) !important;
}
#title-single .owl-carousel .owl-nav button svg {
  width: 1.6em;
  height: 1.6em;
  transition: transform 0.15s ease;
}
#title-single .owl-carousel .owl-nav button:hover svg {
  transform: scale(1.25);
}
#title-single .owl-carousel .owl-nav button.disabled {
  display: none !important;
}
/* dots paginazione come home: dashine, solo su hover, allineate al contenuto */
#title-single .owl-carousel .owl-dots {
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  right: calc(4vw - 15px) !important;
}
#title-single .slider-title:hover .owl-carousel .owl-dots {
  opacity: 1;
}
#title-single .owl-carousel .owl-dots .owl-dot span {
  display: none;
}
#title-single .owl-carousel .owl-dots .owl-dot {
  width: 12px !important;
  height: 2px !important;
}

/* ── Posizionamento slider come la home (#home → #title-single) ── */
#title-single.container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#title-single .slider-title .row-content {
  margin-left: calc(15px - 4vw);
  margin-right: calc(15px - 4vw);
}
#title-single .tile-image,
#title-single .poster-image,
#title-single .box-7x10 {
  background-image: none !important;
}

/* card trailer = stesso stile card episodio, ma è un <button> */
.tc-trailer-card {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
  font: inherit;
  color: inherit;
}

/* ═══ Mobile (≤799px): lista episodi VERTICALE come l'originale SC ═══ */
@media (max-width: 799px) {
  .tc-ep-row { flex-direction: column; overflow-x: visible; gap: 1.9em; padding-bottom: 0; }
  .tc-ep-arrow { display: none !important; }
  .tc-ep-card { flex: none !important; width: 100%; display: flex; flex-direction: column; gap: .7em; }
  .tc-ep-top { display: flex; gap: .8em; align-items: center; width: 100%; }
  .tc-ep-box { flex: 0 0 36%; width: 36%; }
  .tc-ep-details { flex: 1 1 auto; min-width: 0; }
  .tc-ep-plot {
    width: 100%; margin-top: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
}

/* header meta+pulsanti sopra gli episodi: solo mobile (desktop invariato) */
.tc-ep-header { display: none; }
@media (max-width: 799px) {
  .tc-ep-header { display: block; margin-bottom: 1.3em; }
}

/* Mobile (≤799px): pulsante Riproduci a tutta larghezza come l'originale SC */
@media (max-width: 799px) {
  .tc-buttons { gap: 0.9em; }
  .tc-buttons .tc-video-actions { width: 100%; order: -1; }
  .tc-play { width: 100%; justify-content: center; margin-right: 0; }
}

/* "Scarica episodi" (serie): solo mobile, a tutta larghezza sotto Riproduci, come l'originale */
.tc-download-all { display: none; }
@media (max-width: 799px) {
  .tc-download-all {
    display: flex; align-items: center; justify-content: center; gap: .55em;
    width: 100%; height: 2.8em; border-radius: 3px; order: 0;
    background: rgba(109,109,110,.5); color: #fff; text-decoration: none; font-weight: 700;
  }
  .tc-download-all svg { width: 1.1em; height: 1.1em; }
}

/* riga azioni con etichette (Valutazione/La mia lista/Valuta/Altro) — solo mobile */
.tc-act-label { display: none; }
.tc-act-more { display: none; }
@media (min-width: 800px) {
  .tc-act-rating { display: contents; }  /* desktop: cerchio voto figlio diretto come prima */
}
@media (max-width: 799px) {
  .tc-buttons { gap: 1.6em 1.5em; align-items: flex-start; }
  .tc-buttons .tc-user-action { display: flex; flex-direction: column; align-items: center; gap: .5em; }
  .tc-act-label { display: block; font-size: .72em; font-weight: 400; color: #d2d2d2; white-space: nowrap; }
  .tc-act-more { display: flex; }
}

/* riga azioni mobile: cerchietti più grandi e centrati */
@media (max-width: 799px) {
  .tc-buttons { justify-content: center; }
  .tc-buttons .tc-title-btn { width: 3.6em; height: 3.6em; }
  .tc-act-label { font-size: .78em; }
}

/* episodi: box SEMPRE 16:9 (immagine backdrop), forza contro qualsiasi padding-hack portrait */
.tc-ep-box.box-16x9, .tc-ep-card .tc-ep-box {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  padding-top: 0 !important;
}

/* play sul backdrop episodio: su mobile sempre visibile e molto più piccolo */
@media (max-width: 799px) {
  .tc-ep-play { opacity: 1 !important; }
  .tc-ep-playbtn { width: 1.9em; height: 1.9em; }
  .tc-ep-playbtn svg { width: .62em; height: .85em; }
}

/* "Scarica episodi"/"Scarica": testo sempre bianco, mai azzurro (link visited/active/tap) */
.tc-download-all,
.tc-download-all:link,
.tc-download-all:visited,
.tc-download-all:hover,
.tc-download-all:active,
.tc-download-all:focus {
  color: #fff !important;
  -webkit-tap-highlight-color: transparent;
}

/* ═══ Mobile (≤799px): layout pagina dettagli come l'originale ═══ */
@media (max-width: 799px) {
  /* dopo la lista episodi la pagina finisce: niente slider/correlati/top10 */
  .tc-below-detail { display: none !important; }
  /* selettore stagione a SINISTRA */
  .tc-ep-seasons { justify-content: flex-start !important; }
  .tc-ep-seasons .tc-season-dd { margin-left: 0 !important; margin-right: auto !important; }
  /* barra tab SOPRA il contenuto della tab (era in fondo) */
  .tc-info-wrap { display: flex; flex-direction: column; }
  .tc-info-wrap .tc-title { order: 0; }
  .tc-info-wrap .tc-tabnav { order: 2; position: static !important; }
  .tc-info-wrap .tc-panel { order: 3; }
}

/* header persistente mobile (overview sopra le tab); su desktop resta nascosto */
.tc-mhead { display: none; }
@media (max-width: 799px) {
  .tc-mhead { display: block; order: 1; }
  .tc-tab-overview { display: none !important; }  /* panoramica è già nell'header persistente */
}

/* mobile: niente tab "Scarica" (c'è già il pulsante Scarica nell'header) */
@media (max-width: 799px) {
  .tc-tab-download { display: none !important; }
}

/* select stagioni su mobile: apre verso il centro (non fuori schermo) e più grande */
@media (max-width: 799px) {
  .tc-season-list {
    left: 0; right: auto;
    min-width: 17em; max-width: calc(100vw - 8%);
    font-size: 1.15em;
  }
  .tc-season-list li { padding-top: .6em; padding-bottom: .6em; }
}

/* tabnav mobile: parte da sinistra (con center+overflow la prima tab "Episodi" veniva tagliata) */
@media (max-width: 799px) {
  .tc-tabnav { justify-content: flex-start !important; }
}

/* mobile: il pannello overview è già nell'header persistente (tc-mhead) → niente doppione/hero doppio */
@media (max-width: 799px) {
  .tc-overview-panel { display: none !important; }
}

/* la tab "Consigliati" è SOLO mobile: su desktop i correlati restano negli slider sotto (com'era) */
@media (min-width: 800px) {
  .tc-tab-related { display: none !important; }
}
