/* V23 - ficha individual de serie */
#single.dtsingle .mh-series-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:224px minmax(0,1fr);gap:26px;align-items:start;min-height:350px;padding:24px;border-radius:15px;overflow:hidden;background:#201b25;color:#fff;margin:0 0 20px;width:100%;box-sizing:border-box}
#single.dtsingle .mh-series-hero:before{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--mh-hero-bg);background-position:right center;background-size:cover;opacity:.34;filter:blur(1px)}
#single.dtsingle .mh-series-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#201b25 3%,rgba(32,27,37,.94) 38%,rgba(32,27,37,.77) 68%,rgba(32,27,37,.42) 100%),linear-gradient(0deg,#201b25 0%,transparent 40%)}
#single.dtsingle .mh-series-hero__poster{position:relative;z-index:1;width:100%;max-width:224px;align-self:stretch}
#single.dtsingle .mh-series-hero__poster img{display:block;width:100%;height:336px;max-width:100%;object-fit:cover;border-radius:9px}
#single.dtsingle .mh-series-hero__info{min-width:0;display:flex;flex-direction:column;align-items:flex-start;min-height:336px}
#single.dtsingle .mh-series-hero__info h1{font-size:30px;line-height:1.2;font-weight:750;letter-spacing:-.5px;color:#fff;margin:0 0 15px;padding:0}
#single.dtsingle .mh-series-hero__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;color:#d6b5d3;margin-bottom:15px}
#single.dtsingle .mh-series-hero__meta span+span:before{content:'•';padding-right:8px;color:#c5a7c9}
#single.dtsingle .mh-series-hero__genres{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 18px}
#single.dtsingle .mh-series-hero__genres a{border:1px solid #58475e;border-radius:30px;color:#e6c5df!important;padding:6px 12px;font-size:12px;text-decoration:none;background:rgba(23,18,28,.25)}
#single.dtsingle .mh-series-hero__genres a:hover{border-color:#df7db6;background:#423044}
#single.dtsingle .mh-series-hero__summary{font-size:14px;line-height:1.65;color:#f5eefa;max-width:720px;margin:18px 0 22px;overflow-wrap:anywhere}
#single.dtsingle .mh-series-hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:auto;min-width:0}
#single.dtsingle .mh-series-hero__rating{display:flex;align-items:center;min-height:43px;color:#fff}
#single.dtsingle .mh-series-hero__favorite{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:9px;background:#443848;color:#fff;font-size:13px;font-weight:700;min-height:42px;box-sizing:border-box}
#single.dtsingle .mh-series-hero__favorite a{color:#fff!important;display:inline-flex;align-items:center;gap:5px;cursor:pointer}
#single.dtsingle .mh-series-hero__share{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #55455e;border-radius:9px;padding:11px 13px;min-height:42px;background:rgba(31,24,38,.75);color:#eee1f2;cursor:pointer;font-size:13px}
#single.dtsingle .mh-series-hero__share:hover{background:#4d3855;border-color:#c778aa}
#single.dtsingle .mh-series-hero__share span{display:none}
@media(max-width:720px){#single.dtsingle .mh-series-hero{grid-template-columns:110px minmax(0,1fr);gap:14px;padding:15px;min-height:0;border-radius:12px}#single.dtsingle .mh-series-hero__poster img{height:170px}#single.dtsingle .mh-series-hero__info{min-height:170px}#single.dtsingle .mh-series-hero__info h1{font-size:21px;margin-bottom:10px}#single.dtsingle .mh-series-hero__meta{font-size:11px;gap:5px;margin-bottom:9px}#single.dtsingle .mh-series-hero__meta span+span:before{padding-right:5px}#single.dtsingle .mh-series-hero__genres{margin-bottom:8px}#single.dtsingle .mh-series-hero__genres a{font-size:10px;padding:4px 8px}#single.dtsingle .mh-series-hero__summary{grid-column:1/-1;font-size:12px;margin:8px 0 14px}#single.dtsingle .mh-series-hero__actions{gap:7px}#single.dtsingle .mh-series-hero__favorite{padding:8px;font-size:11px}#single.dtsingle .mh-series-hero__share{padding:9px}}
@media(max-width:420px){#single.dtsingle .mh-series-hero{grid-template-columns:94px minmax(0,1fr);gap:11px}#single.dtsingle .mh-series-hero__poster img{height:144px}#single.dtsingle .mh-series-hero__info h1{font-size:19px}#single.dtsingle .mh-series-hero__rating{width:100%}#single.dtsingle .mh-series-hero__actions{margin-top:8px}}

/* V24: ficha compacta en móviles, sin póster lateral */
@media (max-width:720px){
 #single.dtsingle .mh-series-hero{
  display:block!important;width:100%!important;max-width:100%!important;
  padding:24px 24px 22px!important;min-height:0!important;
  border-radius:13px!important;overflow:hidden!important;
  background:#201b25!important;
 }
 #single.dtsingle .mh-series-hero__poster{display:none!important}
 #single.dtsingle .mh-series-hero__info{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  width:100%!important;min-width:0!important;min-height:0!important;
 }
 #single.dtsingle .mh-series-hero__info h1{
  font-size:23px!important;line-height:1.35!important;margin:0 0 15px!important;
  font-weight:750!important;letter-spacing:-.25px!important;
 }
 #single.dtsingle .mh-series-hero__meta{
  display:flex!important;flex-wrap:wrap!important;gap:6px!important;
  font-size:13px!important;line-height:1.7!important;margin:0 0 14px!important;
 }
 #single.dtsingle .mh-series-hero__genres{gap:8px!important;margin:0 0 16px!important}
 #single.dtsingle .mh-series-hero__genres a{
  padding:7px 12px!important;font-size:12px!important;border-radius:25px!important;
 }
 #single.dtsingle .mh-series-hero__summary{
  font-size:13px!important;line-height:1.6!important;margin:0 0 34px!important;
  max-width:100%!important;
 }
 #single.dtsingle .mh-series-hero__actions{
  display:flex!important;flex-wrap:wrap!important;gap:12px!important;
  width:100%!important;margin-top:0!important;align-items:center!important;
 }
 #single.dtsingle .mh-series-hero__favorite{
  order:0!important;width:100%!important;min-height:49px!important;
  display:flex!important;justify-content:space-between!important;
  padding:0 14px!important;font-size:13px!important;border-radius:8px!important;
 }
 #single.dtsingle .mh-series-hero__share{order:1!important;min-height:48px!important;min-width:48px!important}
 #single.dtsingle .mh-series-hero__rating{
  order:2!important;width:auto!important;min-height:48px!important;
  margin:0!important;
 }
 #single.dtsingle .mh-series-hero:before{
  background-position:center center!important;opacity:.22!important;
 }
 #single.dtsingle .mh-series-hero:after{
  background:linear-gradient(90deg,rgba(32,27,37,.96),rgba(32,27,37,.82))!important;
 }
}
@media(max-width:420px){
 #single.dtsingle .mh-series-hero{padding:22px 24px!important}
 #single.dtsingle .mh-series-hero__info h1{font-size:23px!important}
}

/* V26: valoración completa visible en móvil, para series y películas */
@media(max-width:720px){
 #single.dtsingle .mh-series-hero__actions{
   display:grid!important;grid-template-columns:minmax(0,1fr) 48px!important;
   align-items:center!important;gap:12px!important;width:100%!important;
 }
 #single.dtsingle .mh-series-hero__favorite{
   grid-column:1/-1!important;grid-row:1!important;order:initial!important;
 }
 #single.dtsingle .mh-series-hero__rating{
   grid-column:1!important;grid-row:2!important;order:initial!important;
   display:flex!important;align-items:center!important;justify-content:flex-start!important;
   width:100%!important;max-width:100%!important;min-width:0!important;
   min-height:55px!important;margin:0!important;overflow:visible!important;
 }
 #single.dtsingle .mh-series-hero__rating .starstruck-ptype{
   display:block!important;width:100%!important;min-width:0!important;
   max-width:100%!important;overflow:visible!important;
 }
 #single.dtsingle .mh-series-hero__share{
   grid-column:2!important;grid-row:2!important;order:initial!important;
   width:44px!important;height:44px!important;min-width:44px!important;
   min-height:44px!important;padding:0!important;justify-self:end!important;
 }
 #single.dtsingle .mh-series-hero__share span{display:none!important}
}
/* V27: restaurar el widget real Starstruck en pantallas estrechas */
@media(max-width:720px){
#single.dtsingle .mh-series-hero__rating,
#single.dtsingle .mh-series-hero__rating .starstruck-ptype,
#single.dtsingle .mh-series-hero__rating .starstruck-wrap,
#single.dtsingle .mh-series-hero__rating .dt_rating_data{display:block!important;visibility:visible!important;opacity:1!important;height:auto!important;max-height:none!important;overflow:visible!important}
#single.dtsingle .mh-series-hero__rating{min-width:0!important;width:100%!important;grid-column:1!important;grid-row:2!important;align-self:center!important}
#single.dtsingle .mh-series-hero__rating .starstruck-ptype{width:100%!important;max-width:none!important}
#single.dtsingle .mh-series-hero__rating .dt_rating_data{float:none!important;position:relative!important;padding:5px 0!important;margin:0!important;min-width:0!important;width:100%!important}
#single.dtsingle .mh-series-hero__rating .starstruck{position:relative!important;float:none!important;display:inline-block!important;white-space:nowrap!important;max-width:100%!important}
#single.dtsingle .mh-series-hero__rating .starstruck-rating{display:block!important;position:static!important;float:none!important;margin:5px 0 0!important;font-size:11px!important;line-height:1.4!important;white-space:normal!important}
#single.dtsingle .mh-series-hero__rating .starstruck-rating-wrap{display:inline-block!important;margin:5px 0!important;padding:4px 7px!important;font-size:10px!important}
#single.dtsingle .mh-series-hero__rating .dt_rating_vgs{font-size:19px!important;color:#fff!important;font-weight:700!important}
#single.dtsingle .mh-series-hero__actions{grid-template-columns:minmax(0,1fr) 48px!important;row-gap:10px!important}
#single.dtsingle .mh-series-hero__share{display:inline-flex!important;visibility:visible!important;opacity:1!important}
}

/* V28: fondo más visible, sin sinopsis móvil y puntuación sin superposición */
@media (max-width:720px) {
 #single.dtsingle .mh-series-hero:before {
   opacity:.78!important;
   filter:none!important;
   background-position:center center!important;
 }
 #single.dtsingle .mh-series-hero:after {
   background:linear-gradient(90deg,rgba(22,17,28,.77),rgba(22,17,28,.38)),
              linear-gradient(0deg,rgba(22,17,28,.72),transparent 55%)!important;
 }
 #single.dtsingle .mh-series-hero__summary {display:none!important}
 #single.dtsingle .mh-series-hero__genres {margin-bottom:25px!important}
 #single.dtsingle .mh-series-hero__rating,
 #single.dtsingle .mh-series-hero__rating .dt_rating_data {
   display:block!important;position:relative!important;
   height:auto!important;min-height:0!important;
   padding:0!important;margin:0!important;overflow:visible!important;
 }
 #single.dtsingle .mh-series-hero__rating .starstruck,
 #single.dtsingle .mh-series-hero__rating .starstruck-ptype {
   display:block!important;position:relative!important;
   width:100%!important;height:auto!important;
 }
 #single.dtsingle .mh-series-hero__rating .starstruck-rating-wrap {
   position:static!important;float:none!important;clear:both!important;
   display:table!important;width:max-content!important;max-width:100%!important;
   margin:8px 0 5px!important;transform:none!important;
 }
 #single.dtsingle .mh-series-hero__rating .starstruck-rating {
   position:static!important;float:none!important;clear:both!important;
   display:block!important;margin:7px 0 0!important;
 }
}

/* V29: mantener sinopsis de la ficha; bordes rectos en móvil */
@media(max-width:720px){
 #single.dtsingle .mh-series-hero__summary{display:block!important;visibility:visible!important;opacity:1!important}
 #single.dtsingle .mh-series-hero{border-radius:0!important}
}

/* V30: ocultar etiqueta de capítulos, conservar listado */
#single.dtsingle .single_tabs .mh-hidden-episode-tab{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
#single.dtsingle #episodes{display:block!important}

/* V31 — tarjetas horizontales de capítulos */
#single.dtsingle #episodes .episodios-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))!important;gap:12px!important;margin:0!important;padding:12px 0!important}
#single.dtsingle #episodes .mh-episode-row{display:flex!important;align-items:stretch!important;position:relative!important;min-width:0!important;min-height:112px!important;height:auto!important;padding:10px!important;gap:12px!important;background:#211a2a!important;border:1px solid #30243b!important;border-radius:13px!important;overflow:hidden!important;text-decoration:none!important;box-shadow:none!important;transform:none!important}
#single.dtsingle #episodes .mh-episode-row:hover{background:#2a2033!important;border-color:#8a527c!important;transform:none!important}
#single.dtsingle #episodes .mh-episode-row .episode-image-container{flex:0 0 132px!important;width:132px!important;height:92px!important;min-width:0!important;border-radius:8px!important;position:relative!important;overflow:hidden!important}
#single.dtsingle #episodes .mh-episode-row .episode-image{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:8px!important;transform:none!important}
#single.dtsingle #episodes .mh-episode-row .quality{position:absolute!important;top:5px!important;left:5px!important;right:auto!important;max-width:95%!important;background:#b34282!important;color:#fff!important;padding:3px 5px!important;border-radius:4px!important;font-size:9px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#single.dtsingle #episodes .mh-episode-index{position:absolute;right:5px;bottom:5px;background:#1b1520dd;color:#fff;padding:3px 5px;border-radius:4px;font-size:10px;font-weight:700}
#single.dtsingle #episodes .mh-episode-row .mh-episode-details{flex:1!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0!important;padding:2px 0!important;margin:0!important;background:transparent!important;position:static!important}
#single.dtsingle #episodes .mh-episode-kicker{color:#ec79b5!important;font-size:10px!important;font-weight:750!important;letter-spacing:.35px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#single.dtsingle #episodes .mh-episode-row .episode-title{font-size:14px!important;line-height:1.35!important;font-weight:700!important;color:#f8f1f9!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:5px 0 2px!important;padding:0!important}
#single.dtsingle #episodes .mh-episode-views{font-size:11px!important;color:#a99caf!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#single.dtsingle #episodes .mh-episode-bottom{display:flex!important;justify-content:space-between!important;align-items:end!important;gap:6px!important;margin-top:auto!important;padding-top:9px!important;min-width:0!important}
#single.dtsingle #episodes .mh-episode-score{font-size:12px!important;color:#e9bd50!important;font-weight:700!important}
#single.dtsingle #episodes .mh-episode-watch{font-size:10px!important;font-weight:800!important;color:#ec79b5!important;white-space:nowrap!important;margin-left:auto!important}
#single.dtsingle #episodes .mh-episode-watch span{font-size:17px!important;vertical-align:-1px!important}
@media(max-width:600px){#single.dtsingle #episodes .episodios-grid{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}#single.dtsingle #episodes .mh-episode-row{gap:10px!important;padding:9px!important;min-height:103px!important}#single.dtsingle #episodes .mh-episode-row .episode-image-container{flex-basis:118px!important;width:118px!important;height:85px!important}#single.dtsingle #episodes .mh-episode-row .episode-title{font-size:13px!important}}
@media(max-width:360px){#single.dtsingle #episodes .mh-episode-row .episode-image-container{flex-basis:96px!important;width:96px!important;height:82px!important}#single.dtsingle #episodes .mh-episode-watch{font-size:9px!important}}

/* V32 — capítulos: ancho completo y sin textos superpuestos */
body #single.dtsingle #episodes,body #single.dtsingle #serie_contenido,body #single.dtsingle #seasons,body #single.dtsingle #seasons .se-c,body #single.dtsingle #seasons .se-a{display:block!important;float:none!important;width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;clear:both!important}
body #single.dtsingle #episodes{padding-left:0!important;padding-right:0!important}
body #single.dtsingle #seasons .se-c{margin:0 0 18px!important}
body #single.dtsingle #seasons .se-q{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:56px!important;padding:10px 14px!important;margin:0!important;border:1px solid #44304d!important;border-radius:12px!important;background:#271d30!important;box-sizing:border-box!important;cursor:pointer!important}
body #single.dtsingle #seasons .se-q .se-t,body #single.dtsingle #seasons .se-q .se-o{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;float:none!important;position:static!important;width:38px!important;height:36px!important;line-height:1!important;border-radius:9px!important;background:#dd73ae!important;color:#19111e!important;font-weight:800!important;font-size:16px!important}
body #single.dtsingle #seasons .se-q span.title{display:block!important;float:none!important;position:static!important;width:auto!important;max-width:calc(100% - 60px)!important;padding:0!important;margin:0!important;line-height:1.4!important;color:#f8f0f9!important;font-size:14px!important;font-weight:750!important;letter-spacing:.4px!important;white-space:normal!important}
body #single.dtsingle #seasons .se-q .se_rating{display:none!important}
body #single.dtsingle #episodes .episodios-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:100%!important;max-width:none!important;margin:0!important;padding:14px 0!important;box-sizing:border-box!important}
body #single.dtsingle #episodes a.episode-card.mh-episode-row{display:grid!important;grid-template-columns:clamp(112px,27%,190px) minmax(0,1fr)!important;align-items:stretch!important;gap:14px!important;float:none!important;position:relative!important;width:100%!important;max-width:none!important;height:auto!important;min-height:115px!important;margin:0!important;padding:10px!important;box-sizing:border-box!important;background:#251c2d!important;border:1px solid #42304c!important;border-radius:13px!important;overflow:hidden!important;text-decoration:none!important}
body #single.dtsingle #episodes a.episode-card.mh-episode-row .episode-image-container{display:block!important;float:none!important;position:relative!important;width:100%!important;height:100%!important;min-height:95px!important;max-height:145px!important;min-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important;border-radius:9px!important}
body #single.dtsingle #episodes a.episode-card.mh-episode-row img.episode-image{display:block!important;position:static!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important}
body #single.dtsingle #episodes a.episode-card.mh-episode-row .episode-info.mh-episode-details{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;float:none!important;position:static!important;width:100%!important;min-width:0!important;height:auto!important;margin:0!important;padding:5px 2px!important;background:transparent!important;overflow:hidden!important;text-align:left!important}
body #single.dtsingle #episodes .mh-episode-kicker{display:block!important;position:static!important;flex:0 0 auto!important;color:#e98abf!important;font-size:11px!important;line-height:1.4!important}
body #single.dtsingle #episodes .episode-info h3.episode-title{display:block!important;position:static!important;float:none!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:2.8em!important;line-height:1.4!important;font-size:14px!important;margin:4px 0!important;padding:0!important;overflow:hidden!important;white-space:normal!important;text-overflow:ellipsis!important;color:#fff!important}
body #single.dtsingle #episodes .mh-episode-views{display:block!important;position:static!important;line-height:1.4!important}
body #single.dtsingle #episodes .mh-episode-bottom{display:flex!important;position:static!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;width:100%!important;margin-top:auto!important;padding-top:8px!important;gap:8px!important}
body #single.dtsingle #episodes .mh-episode-watch{display:inline-flex!important;position:static!important;float:none!important;align-items:center!important;width:auto!important;height:auto!important;margin-left:auto!important;padding:6px 9px!important;border-radius:7px!important;background:#473149!important;color:#ffb5d9!important;font-size:10px!important;line-height:1.3!important;text-shadow:none!important;white-space:nowrap!important}
body #single.dtsingle #episodes .mh-episode-score{position:static!important;float:none!important}
@media(max-width:600px){body #single.dtsingle #episodes a.episode-card.mh-episode-row{grid-template-columns:112px minmax(0,1fr)!important;gap:10px!important;min-height:108px!important;padding:8px!important}body #single.dtsingle #episodes .episode-info h3.episode-title{font-size:12px!important}body #single.dtsingle #episodes .mh-episode-watch{font-size:9px!important;padding:5px 7px!important}body #single.dtsingle #seasons .se-q{padding:9px 11px!important}}
@media(max-width:360px){body #single.dtsingle #episodes a.episode-card.mh-episode-row{grid-template-columns:96px minmax(0,1fr)!important}}
