/* MXPLEX v2.07 — Shared Movie and TV Show Details system. Loaded after both legacy page sheets. */
body.single-movies,
body.single-tvshows,
body.single-movies #contenedor,
body.single-tvshows #contenedor {
    background: #0b0a0f !important;
}

/* Main heading is deliberately outside the 150px desktop content gutter. */
body.single-movies .mx-movie-page-heading,
body.single-tvshows .mx-movie-page-heading {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 18px !important;
    padding: 12px 24px 0 !important;
    box-sizing: border-box !important;
}
body.single-movies .mx-movie-page-heading h1,
body.single-tvshows .mx-movie-page-heading h1 {
    width: 100%;
    margin: 0 !important;
    color: #fff !important;
    text-align: center !important;
    font-size: clamp(24px, 3vw, 40px) !important;
    font-weight: 750 !important;
    line-height: 1.28 !important;
    overflow-wrap: anywhere;
}

/* One centered content shell for both post types. */
body.single-movies #single.mx-movie-single,
body.single-tvshows #single.mx-movie-single {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 32px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}
body.single-movies #single.mx-movie-single > .content.mx-movie-content,
body.single-tvshows #single.mx-movie-single > .content.mx-movie-content {
    display: block !important;
    float: none !important;
    width: calc(100% - 300px) !important;
    max-width: none !important;
    margin: 0 150px !important;
    padding: 0 0 28px !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}
body.single-movies #single.mx-movie-single > .sidebar,
body.single-tvshows #single.mx-movie-single > .sidebar {
    display: none !important;
}

/* Movie and TV player shells share the same 16:9 visual viewport. */
body.single-movies .mx-movie-player-shell,
body.single-tvshows .mx-movie-player-shell {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    margin: 0 0 22px !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    background: linear-gradient(#070c17,#070c17) padding-box,
                linear-gradient(110deg,#2d01b7 0%,#4702cd 42%,#7605f5 75%,#8e06ff 100%) border-box !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}
body.single-movies .mx-movie-player-shell > .dooplay_player,
body.single-tvshows .mx-movie-player-shell > .dooplay_player,
body.single-tvshows .mx-tv-player-shell > .dooplay_player {
    width: 100% !important;
    height: 100% !important;
    float: none !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: #070c17 !important;
}
body.single-movies .mx-movie-player-shell .play,
body.single-tvshows .mx-movie-player-shell .play,
body.single-tvshows .mx-tv-player-shell .play,
body.single-movies .mx-movie-player-shell #playcontainer,
body.single-tvshows .mx-movie-player-shell #playcontainer,
body.single-tvshows .mx-tv-player-shell #playcontainer,
body.single-movies .mx-movie-player-shell #dooplay_player_big_content,
body.single-tvshows .mx-movie-player-shell #dooplay_player_big_content,
body.single-tvshows .mx-tv-player-shell #dooplay_player_big_content {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #070c17 !important;
    box-sizing: border-box !important;
}
body.single-movies .mx-movie-player-shell .play .pframe,
body.single-tvshows .mx-movie-player-shell .play .pframe,
body.single-tvshows .mx-tv-player-shell .play .pframe,
body.single-movies .mx-movie-player-shell .play .preplayer,
body.single-tvshows .mx-movie-player-shell .play .preplayer,
body.single-tvshows .mx-tv-player-shell .play .preplayer {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    padding: 0 !important;
    margin: 0 auto !important;
    background: #070c17 !important;
    overflow: hidden !important;
}
body.single-movies .mx-movie-player-shell .play .pframe iframe,
body.single-tvshows .mx-movie-player-shell .play .pframe iframe,
body.single-tvshows .mx-tv-player-shell .play .pframe iframe {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
body.single-movies .mx-movie-player-source.mx-movie-player-source--regular,
body.single-tvshows .mx-movie-player-source.mx-movie-player-source--regular {
    width: 100% !important;
    height: auto !important;
    margin: 0 0 22px !important;
    overflow: visible !important;
}
body.single-movies .mx-movie-player-source--regular > .dooplay_player,
body.single-tvshows .mx-movie-player-source--regular > .dooplay_player {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/* Visible Movie server selector; one source remains auto-triggered and hidden. */
body.single-movies .mx-movie-player-source #playeroptions {
    width: 100% !important;
    margin: 0 !important;
    padding: 10px !important;
    border: 1px solid #1a142c;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: #070c17;
    box-sizing: border-box;
}
body.single-movies .mx-movie-player-source #playeroptions h2,
body.single-movies .mx-movie-player-source .dooplay_player > h2 {
    padding: 12px 14px !important;
    color: #fff !important;
    font-size: 15px !important;
    border: 0 !important;
}
body.single-movies .mx-movie-player-source #playeroptions ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    list-style: none !important;
}
body.single-movies .mx-movie-player-source #playeroptions ul li {
    display: flex !important;
    flex: 1 1 150px;
    align-items: center;
    min-width: 0;
    margin: 0 !important;
    padding: 10px 13px !important;
    border: 1px solid #1a142c !important;
    border-radius: 7px !important;
    background: #11101a !important;
    color: #e8e8ef !important;
    line-height: 1.3 !important;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
body.single-movies .mx-movie-player-source #playeroptions ul li .title { float: none !important; }
body.single-movies .mx-movie-player-source #playeroptions ul li.on,
body.single-movies .mx-movie-player-source #playeroptions ul li:hover {
    border-color: #7605f5 !important;
    background: linear-gradient(90deg,#2d01b7,#7605f5,#8e06ff) !important;
    color: #fff !important;
}
body.single-movies .mx-movie-player-source .mx-single-auto-player { display: none !important; }

/* Main info panel remains the only boxed information section. */
body.single-movies .mx-movie-info-card,
body.single-tvshows .mx-movie-info-card {
    display: grid !important;
    grid-template-columns: minmax(150px, 225px) minmax(0,1fr) !important;
    align-items: start !important;
    gap: 18px 22px !important;
    width: 100% !important;
    margin: 0 0 24px !important;
    padding: 18px !important;
    border: 1px solid #1a142c !important;
    border-radius: 10px !important;
    background: #070c17 !important;
    color: #f1f1f5 !important;
    box-sizing: border-box !important;
}
body.single-movies .mx-movie-info-poster,
body.single-tvshows .mx-movie-info-poster {
    grid-column: 1;
    grid-row: 1;
    width: 100% !important;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(142,6,255,.2);
    border-radius: 5px;
    background: #0b0a0f;
}
body.single-movies .mx-movie-info-poster img,
body.single-tvshows .mx-movie-info-poster img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center;
}
body.single-movies .mx-movie-info-main,
body.single-tvshows .mx-movie-info-main {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}
body.single-movies .mx-movie-info-main h2,
body.single-tvshows .mx-movie-info-main h2 {
    margin: 0 0 9px !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: clamp(22px,2.2vw,34px) !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
}
body.single-movies .mx-movie-tagline,
body.single-tvshows .mx-movie-tagline {
    margin: 0 0 10px !important;
    color: rgba(235,237,245,.76) !important;
    font-size: 13px;
    line-height: 1.4;
}
body.single-movies .mx-movie-meta-list,
body.single-tvshows .mx-movie-meta-list {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 5px !important;
    width: 100%;
}
body.single-movies .mx-movie-meta-row,
body.single-tvshows .mx-movie-meta-row {
    display: grid !important;
    grid-template-columns: minmax(105px,140px) minmax(0,1fr) !important;
    gap: 8px !important;
    align-items: start !important;
    width: 100%;
    color: rgba(245,246,250,.9) !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}
body.single-movies .mx-movie-meta-row > strong,
body.single-tvshows .mx-movie-meta-row > strong { color: #fff !important; font-weight: 700 !important; }
body.single-movies .mx-movie-meta-row > span,
body.single-tvshows .mx-movie-meta-row > span { min-width: 0; overflow-wrap: anywhere; }
body.single-movies .mx-movie-meta-row a,
body.single-tvshows .mx-movie-meta-row a {
    color: #e8e8ef !important;
    text-decoration: none !important;
    transition: color .28s ease, background-position .28s ease !important;
}
body.single-movies .mx-movie-meta-row a:hover,
body.single-tvshows .mx-movie-meta-row a:hover {
    color: #8e06ff !important;
    background: linear-gradient(90deg,#4702cd,#8e06ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.single-movies .mx-movie-imdb-row #update_imdb_rating,
body.single-tvshows .mx-movie-imdb-row #update_imdb_rating { display: inline-block; margin-left: 7px; cursor: pointer; }

/* PDF-like interactive Community Ratings block. */
body.single-movies .mx-movie-community-ratings,
body.single-tvshows .mx-movie-community-ratings {
    grid-column: 1 / -1 !important;
    min-width: 0;
    margin: 0 !important;
    padding: 10px 13px 12px !important;
    border: 1px solid #7605f5 !important;
    border-radius: 12px !important;
    background: #070c17 !important;
    color: #fff !important;
    box-sizing: border-box !important;
}
body.single-movies .mx-movie-community-ratings .mx-movie-section-heading,
body.single-tvshows .mx-movie-community-ratings .mx-movie-section-heading {
    margin: -17px 0 8px !important;
    padding: 0 9px !important;
    background: #070c17 !important;
    width: max-content !important;
}
body.single-movies .mx-movie-community-ratings .mx-movie-section-heading h2,
body.single-tvshows .mx-movie-community-ratings .mx-movie-section-heading h2 {
    margin: 0 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}
body.single-movies .mx-movie-community-ratings .starstruck-ptype,
body.single-tvshows .mx-movie-community-ratings .starstruck-ptype,
body.single-movies .mx-movie-community-ratings .starstruck-wrap,
body.single-tvshows .mx-movie-community-ratings .starstruck-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
body.single-movies .mx-movie-community-ratings .dt_rating_data,
body.single-tvshows .mx-movie-community-ratings .dt_rating_data {
    display: grid !important;
    grid-template-columns: minmax(112px,132px) minmax(0,1fr) !important;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 15px !important;
    row-gap: 5px !important;
    width: 100% !important;
    padding: 5px 0 0 !important;
    float: none !important;
    position: relative !important;
    box-sizing: border-box !important;
}
body.single-movies .mx-movie-community-ratings .starstruck-rating,
body.single-tvshows .mx-movie-community-ratings .starstruck-rating {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 78px;
    margin: 0 !important;
    padding: 5px !important;
    border: 1px solid rgba(142,6,255,.12);
    border-radius: 10px;
    background: #11101a !important;
    color: #e8e8ef !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
}
body.single-movies .mx-movie-community-ratings .starstruck-rating .dt_rating_vgs,
body.single-tvshows .mx-movie-community-ratings .starstruck-rating .dt_rating_vgs {
    position: static !important;
    float: none !important;
    display: block !important;
    width: auto !important;
    margin: 0 0 3px !important;
    padding: 0 !important;
    color: #7605f5 !important;
    font-size: 38px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}
body.single-movies .mx-movie-community-ratings .starstruck-rating > i,
body.single-tvshows .mx-movie-community-ratings .starstruck-rating > i { display: none !important; }
body.single-movies .mx-movie-community-ratings .starstruck-rating .rating-count,
body.single-tvshows .mx-movie-community-ratings .starstruck-rating .rating-count { display: inline !important; color: #fff !important; }
body.single-movies .mx-movie-community-ratings .starstruck-rating .rating-text,
body.single-tvshows .mx-movie-community-ratings .starstruck-rating .rating-text { display: inline !important; color: #fff !important; }
body.single-movies .mx-movie-community-ratings .starstruck-rating-wrap,
body.single-tvshows .mx-movie-community-ratings .starstruck-rating-wrap {
    grid-column: 2;
    grid-row: 1;
    display: block !important;
    min-height: 18px;
    margin: 0 !important;
    padding: 0 3px !important;
    color: #fff !important;
    background: transparent !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    text-align: right !important;
}
body.single-movies .mx-movie-community-ratings .starstruck-rating-wrap .rating-yours,
body.single-tvshows .mx-movie-community-ratings .starstruck-rating-wrap .rating-yours { color: #fff !important; }
body.single-movies .mx-movie-community-ratings .starstruck-main,
body.single-tvshows .mx-movie-community-ratings .starstruck-main {
    grid-column: 2;
    grid-row: 2;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(2px, .7vw, 9px) !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 3px 2px !important;
    font-size: clamp(17px,2.1vw,31px) !important;
    line-height: 1 !important;
    white-space: nowrap;
}
body.single-movies .mx-movie-community-ratings .starstruck-main i,
body.single-tvshows .mx-movie-community-ratings .starstruck-main i {
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    line-height: 1 !important;
    cursor: pointer;
}
body.single-movies .mx-movie-community-ratings .starstruck-main .star-off-png,
body.single-tvshows .mx-movie-community-ratings .starstruck-main .star-off-png {
    color: transparent !important;
    -webkit-text-stroke: 1px #7605f5;
    text-stroke: 1px #7605f5;
}
body.single-movies .mx-movie-community-ratings .starstruck-main .star-on-png,
body.single-tvshows .mx-movie-community-ratings .starstruck-main .star-on-png {
    color: #7605f5 !important;
    -webkit-text-stroke: 0;
}
body.single-movies .mx-movie-community-ratings .starstruck-feedback,
body.single-tvshows .mx-movie-community-ratings .starstruck-feedback {
    grid-column: 2;
    margin: 4px 0 0 !important;
    color: #d9d1e8;
    font-size: 11px;
}

/* Story, gallery, cast and suggestions sit directly on the page background. */
body.single-movies .mx-movie-section,
body.single-tvshows .mx-movie-section,
body.single-movies .mx-movie-single .srelacionados,
body.single-tvshows .mx-movie-single .srelacionados {
    width: 100% !important;
    margin: 0 0 27px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #e8e8ef;
    box-sizing: border-box !important;
}
body.single-movies .mx-movie-section-heading,
body.single-tvshows .mx-movie-section-heading,
body.single-movies .mx-movie-single .srelacionados > h2,
body.single-tvshows .mx-movie-single .srelacionados > h2 {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100% !important;
    margin: 0 0 13px !important;
    padding: 0 !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    float: none !important;
}
body.single-movies .mx-movie-section-heading h2,
body.single-tvshows .mx-movie-section-heading h2,
body.single-movies .mx-movie-single .srelacionados > h2,
body.single-tvshows .mx-movie-single .srelacionados > h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: inherit !important;
    font-weight: 750 !important;
}
body.single-movies .mx-movie-storyline .wp-content,
body.single-tvshows .mx-movie-storyline .wp-content {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(242,243,248,.9) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    background: transparent !important;
}
body.single-movies .mx-movie-storyline .wp-content p,
body.single-tvshows .mx-movie-storyline .wp-content p { margin: 0 0 13px !important; line-height: inherit !important; }
body.single-movies .mx-movie-tags,
body.single-tvshows .mx-movie-tags { border: 0 !important; padding-top: 8px !important; }

/* Gallery carousel: all g-item entries remain in the original Owl/Lightbox system. */
body.single-movies .mx-movie-gallery-carousel,
body.single-tvshows .mx-movie-gallery-carousel,
body.single-movies .mx-movie-gallery-content,
body.single-tvshows .mx-movie-gallery-content {
    position: relative;
    width: 100% !important;
    min-width: 0;
    overflow: hidden !important;
    background: transparent !important;
}
body.single-movies .mx-movie-gallery-content #dt_galery,
body.single-tvshows .mx-movie-gallery-content #dt_galery {
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
}
body.single-movies .mx-movie-gallery-content #dt_galery .g-item,
body.single-tvshows .mx-movie-gallery-content #dt_galery .g-item {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    padding: 5px !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}
body.single-movies .mx-movie-gallery-content #dt_galery .g-item a,
body.single-tvshows .mx-movie-gallery-content #dt_galery .g-item a,
body.single-movies .mx-movie-gallery-content #dt_galery .g-item img,
body.single-tvshows .mx-movie-gallery-content #dt_galery .g-item img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover;
}
body.single-movies .mx-movie-gallery-content #dt_galery .owl-item,
body.single-tvshows .mx-movie-gallery-content #dt_galery .owl-item { overflow: hidden; }

/* Cast carousel: taller portrait cards and arrow navigation, no visible scrollbar. */
body.single-movies .mx-movie-cast-section,
body.single-tvshows .mx-movie-cast-section { position: relative; overflow: visible !important; }
body.single-movies .mx-movie-people-carousel,
body.single-tvshows .mx-movie-people-carousel { position: relative; width: 100%; padding: 0 34px; box-sizing: border-box; }
body.single-movies .mx-movie-people-track,
body.single-tvshows .mx-movie-people-track {
    display: flex !important;
    align-items: stretch;
    gap: 14px !important;
    width: 100% !important;
    padding: 2px 1px 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
body.single-movies .mx-movie-people-track::-webkit-scrollbar,
body.single-tvshows .mx-movie-people-track::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
body.single-movies .mx-movie-person-card,
body.single-tvshows .mx-movie-person-card {
    flex: 0 0 clamp(130px,14vw,170px) !important;
    min-width: 0;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #1a142c !important;
    border-radius: 8px !important;
    background: #070c17 !important;
    overflow: hidden !important;
    scroll-snap-align: start;
}
body.single-movies .mx-movie-person-image,
body.single-tvshows .mx-movie-person-image {
    display: block;
    width: 100% !important;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden;
    background: #171321;
}
body.single-movies .mx-movie-person-image img,
body.single-tvshows .mx-movie-person-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 22% !important;
}
body.single-movies .mx-movie-person-name,
body.single-tvshows .mx-movie-person-name { padding: 8px 7px 3px !important; color: #fff !important; font-size: 13px !important; font-weight: 700; text-align: center; line-height: 1.3; }
body.single-movies .mx-movie-person-role,
body.single-tvshows .mx-movie-person-role { min-height: 24px; padding: 0 7px 8px !important; color: rgba(255,255,255,.68) !important; font-size: 11px !important; text-align: center; }
body.single-movies .mx-movie-person-link:hover .mx-movie-person-name,
body.single-tvshows .mx-movie-person-link:hover .mx-movie-person-name { color: #8e06ff !important; }

/* Shared arrow controls for Gallery and Cast. */
body.single-movies .mx-details-carousel-controls,
body.single-tvshows .mx-details-carousel-controls { display: flex; align-items: center; gap: 9px; }
body.single-movies .mx-details-arrow,
body.single-tvshows .mx-details-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    padding: 0 !important;
    border: 1px solid #7605f5 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #8e06ff !important;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
body.single-movies .mx-details-arrow:hover,
body.single-tvshows .mx-details-arrow:hover { background: linear-gradient(90deg,#2d01b7,#8e06ff) !important; color: #fff !important; border-color: #8e06ff !important; }
body.single-movies .mx-movie-people-carousel > .mx-people-prev,
body.single-tvshows .mx-movie-people-carousel > .mx-people-prev { position: absolute; z-index: 2; left: 0; top: 42%; }
body.single-movies .mx-movie-people-carousel > .mx-people-next,
body.single-tvshows .mx-movie-people-carousel > .mx-people-next { position: absolute; z-index: 2; right: 0; top: 42%; }

/* Related cards: use the common homepage card renderer at four desktop columns. */
body.single-movies .mx-movie-single .srelacionados .mx-related-grid,
body.single-tvshows .mx-movie-single .srelacionados .mx-related-grid {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}
body.single-movies .mx-movie-single .srelacionados .mx-related-grid > .item,
body.single-tvshows .mx-movie-single .srelacionados .mx-related-grid > .item {
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.single-movies .mx-movie-single .srelacionados .mx-related-grid .data h3,
body.single-tvshows .mx-movie-single .srelacionados .mx-related-grid .data h3 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    white-space: normal !important;
}

/* Preserve Movie/TV full-width ads, links, comments and native controls. */
body.single-movies .mx-movie-download-section,
body.single-tvshows .mx-movie-download-section { padding: 0 !important; border: 0 !important; background: transparent !important; }
body.single-movies .mx-movie-download-section .box_links,
body.single-tvshows .mx-movie-download-section .box_links { width: 100%; margin: 0; }
body.single-movies .mx-movie-single #comments,
body.single-tvshows .mx-movie-single #comments,
body.single-movies .mx-movie-single .comments-area,
body.single-tvshows .mx-movie-single .comments-area { width: 100% !important; max-width: 100% !important; }

/* Tablet gutters and compact, but still side-by-side, info card. */
@media (max-width: 1100px) {
    body.single-movies #single.mx-movie-single > .content.mx-movie-content,
    body.single-tvshows #single.mx-movie-single > .content.mx-movie-content { width: calc(100% - 64px) !important; margin-left: 32px !important; margin-right: 32px !important; }
    body.single-movies .mx-movie-info-card,
    body.single-tvshows .mx-movie-info-card { grid-template-columns: minmax(120px,190px) minmax(0,1fr) !important; gap: 14px !important; padding: 14px !important; }
    body.single-movies .mx-movie-meta-row,
    body.single-tvshows .mx-movie-meta-row { grid-template-columns: minmax(88px,115px) minmax(0,1fr) !important; font-size: 12px !important; }
    body.single-movies .mx-movie-single .srelacionados .mx-related-grid,
    body.single-tvshows .mx-movie-single .srelacionados .mx-related-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
}

/* Mobile keeps poster left and metadata right, shrinking both without stacking. */
@media (max-width: 600px) {
    body.single-movies .mx-movie-page-heading,
    body.single-tvshows .mx-movie-page-heading { padding: 8px 12px 0 !important; margin-bottom: 12px !important; }
    body.single-movies .mx-movie-page-heading h1,
    body.single-tvshows .mx-movie-page-heading h1 { font-size: 20px !important; line-height: 1.32 !important; }
    body.single-movies #single.mx-movie-single > .content.mx-movie-content,
    body.single-tvshows #single.mx-movie-single > .content.mx-movie-content { width: calc(100% - 28px) !important; margin-left: 14px !important; margin-right: 14px !important; padding-bottom: 20px !important; }
    body.single-movies .mx-movie-player-shell,
    body.single-tvshows .mx-movie-player-shell { border-radius: 8px !important; margin-bottom: 15px !important; }
    body.single-movies .mx-movie-info-card,
    body.single-tvshows .mx-movie-info-card {
        grid-template-columns: clamp(84px,27vw,118px) minmax(0,1fr) !important;
        grid-template-rows: auto auto !important;
        gap: 9px 10px !important;
        padding: 9px !important;
        margin-bottom: 18px !important;
        border-radius: 8px !important;
    }
    body.single-movies .mx-movie-info-poster,
    body.single-tvshows .mx-movie-info-poster { grid-column: 1 !important; grid-row: 1 !important; }
    body.single-movies .mx-movie-info-main,
    body.single-tvshows .mx-movie-info-main { grid-column: 2 !important; grid-row: 1 !important; }
    body.single-movies .mx-movie-info-main h2,
    body.single-tvshows .mx-movie-info-main h2 { font-size: clamp(16px,4.8vw,21px) !important; line-height: 1.18 !important; margin-bottom: 6px !important; }
    body.single-movies .mx-movie-tagline,
    body.single-tvshows .mx-movie-tagline { font-size: 10px !important; margin-bottom: 5px !important; }
    body.single-movies .mx-movie-meta-list,
    body.single-tvshows .mx-movie-meta-list { gap: 3px !important; }
    body.single-movies .mx-movie-meta-row,
    body.single-tvshows .mx-movie-meta-row {
        display: grid !important;
        grid-template-columns: minmax(58px,34%) minmax(0,1fr) !important;
        gap: 4px !important;
        font-size: 9.5px !important;
        line-height: 1.3 !important;
    }
    body.single-movies .mx-movie-meta-row > strong,
    body.single-tvshows .mx-movie-meta-row > strong { font-size: 9.5px !important; }
    body.single-movies .mx-movie-community-ratings,
    body.single-tvshows .mx-movie-community-ratings { grid-column: 1 / -1 !important; padding: 8px 8px 9px !important; }
    body.single-movies .mx-movie-community-ratings .dt_rating_data,
    body.single-tvshows .mx-movie-community-ratings .dt_rating_data { grid-template-columns: 76px minmax(0,1fr) !important; column-gap: 8px !important; row-gap: 4px !important; }
    body.single-movies .mx-movie-community-ratings .starstruck-rating,
    body.single-tvshows .mx-movie-community-ratings .starstruck-rating { min-height: 62px !important; padding: 4px !important; font-size: 10px !important; }
    body.single-movies .mx-movie-community-ratings .starstruck-rating .dt_rating_vgs,
    body.single-tvshows .mx-movie-community-ratings .starstruck-rating .dt_rating_vgs { font-size: 28px !important; }
    body.single-movies .mx-movie-community-ratings .starstruck-main,
    body.single-tvshows .mx-movie-community-ratings .starstruck-main { font-size: clamp(12px,3.6vw,19px) !important; gap: 1px !important; }
    body.single-movies .mx-movie-community-ratings .starstruck-rating-wrap,
    body.single-tvshows .mx-movie-community-ratings .starstruck-rating-wrap { font-size: 10px !important; }
    body.single-movies .mx-movie-section,
    body.single-tvshows .mx-movie-section,
    body.single-movies .mx-movie-single .srelacionados,
    body.single-tvshows .mx-movie-single .srelacionados { margin-bottom: 19px !important; }
    body.single-movies .mx-movie-section-heading,
    body.single-tvshows .mx-movie-section-heading,
    body.single-movies .mx-movie-single .srelacionados > h2,
    body.single-tvshows .mx-movie-single .srelacionados > h2 { font-size: 18px !important; margin-bottom: 9px !important; }
    body.single-movies .mx-movie-storyline .wp-content,
    body.single-tvshows .mx-movie-storyline .wp-content { font-size: 12px !important; line-height: 1.6 !important; }
    body.single-movies .mx-movie-gallery-content #dt_galery .g-item,
    body.single-tvshows .mx-movie-gallery-content #dt_galery .g-item { aspect-ratio: 16 / 9 !important; }
    body.single-movies .mx-movie-people-carousel,
    body.single-tvshows .mx-movie-people-carousel { padding: 0 27px !important; }
    body.single-movies .mx-movie-person-card,
    body.single-tvshows .mx-movie-person-card { flex-basis: clamp(105px,31vw,130px) !important; }
    body.single-movies .mx-movie-person-name,
    body.single-tvshows .mx-movie-person-name { font-size: 11px !important; }
    body.single-movies .mx-movie-person-role,
    body.single-tvshows .mx-movie-person-role { font-size: 10px !important; }
    body.single-movies .mx-details-arrow,
    body.single-tvshows .mx-details-arrow { flex-basis: 27px; width: 27px; height: 27px; }
    body.single-movies .mx-movie-single .srelacionados .mx-related-grid,
    body.single-tvshows .mx-movie-single .srelacionados .mx-related-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 9px !important; }
}
@media (prefers-reduced-motion: reduce) {
    body.single-movies *, body.single-tvshows * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Final corrections for nested TV Season controls and source lists in big Movie mode. */
body.single-movies .mx-movie-player-source:not(.mx-movie-player-source--regular) {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    margin: 0 0 20px !important;
}
body.single-movies .mx-movie-player-source:not(.mx-movie-player-source--regular) > .dooplay_player {
    height: auto !important;
    min-height: 0 !important;
}
body.single-tvshows .mx-tv-player-shell {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
}
body.single-tvshows .mx-tv-player-shell > .dooplay_player {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}
body.single-tvshows .mx-tv-player-shell .mx-tv-video-stage {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
}
body.single-tvshows .mx-tv-player-source-anchor > .dooplay_player {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
}

/* Keep the aggregate score and its vote count together in the left rating tile. */
body.single-movies .mx-movie-community-ratings .starstruck-rating,
body.single-tvshows .mx-movie-community-ratings .starstruck-rating {
    display: block !important;
    text-align: center !important;
}
body.single-movies .mx-movie-community-ratings .starstruck-rating .dt_rating_vgs,
body.single-tvshows .mx-movie-community-ratings .starstruck-rating .dt_rating_vgs {
    display: block !important;
}
body.single-movies .mx-movie-community-ratings .starstruck-rating .rating-count,
body.single-movies .mx-movie-community-ratings .starstruck-rating .rating-text,
body.single-tvshows .mx-movie-community-ratings .starstruck-rating .rating-count,
body.single-tvshows .mx-movie-community-ratings .starstruck-rating .rating-text {
    display: inline !important;
    vertical-align: middle;
}

/* Override both light and dark theme palette star pseudo-elements within this rating panel. */
body.single-movies .mx-movie-community-ratings .starstruck-main .star-off-png:before,
body.single-tvshows .mx-movie-community-ratings .starstruck-main .star-off-png:before {
    color: transparent !important;
    -webkit-text-stroke: 1px #7605f5 !important;
}
body.single-movies .mx-movie-community-ratings .starstruck-main .star-on-png:before,
body.single-tvshows .mx-movie-community-ratings .starstruck-main .star-on-png:before {
    color: #7605f5 !important;
    -webkit-text-stroke: 0 !important;
}

/* MXPLEX v2.08: final Movie/TV consistency fixes. */

/* Restore the dark information card even when legacy theme rules use !important. */
html body.single-movies #single #info.mx-movie-info-card,
html body.single-tvshows #single #info.mx-movie-info-card {
    display: grid !important;
    grid-template-columns: minmax(145px,225px) minmax(0,1fr) !important;
    align-items: start !important;
    gap: 18px 22px !important;
    width: 100% !important;
    margin: 28px 0 !important;
    padding: 18px !important;
    border: 1px solid #1a142c !important;
    border-radius: 11px !important;
    background: #070c17 !important;
    box-shadow: 0 5px 18px rgba(0,0,0,.16) !important;
    color: #f1f1f5 !important;
    box-sizing: border-box !important;
}

/* The shared outer player contains the 16:9 viewport AND its server controls. */
html body.single-movies .mx-movie-player-shell,
html body.single-tvshows .mx-movie-player-shell,
html body.single-tvshows .mx-tv-player-shell {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin: 0 0 28px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    background: linear-gradient(#070c17,#070c17) padding-box,
                linear-gradient(110deg,#2d01b7 0%,#4702cd 42%,#7605f5 75%,#8e06ff 100%) border-box !important;
    box-sizing: border-box !important;
}
html body.single-movies .mx-movie-player-shell > .dooplay_player,
html body.single-movies .mx-movie-player-source > .dooplay_player,
html body.single-tvshows .mx-tv-player-shell > .dooplay_player,
html body.single-tvshows .mx-tv-player-source-anchor > .dooplay_player {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}
html body.single-movies .mx-movie-player-shell .play,
html body.single-tvshows .mx-movie-player-shell .play,
html body.single-tvshows .mx-tv-player-shell .play,
html body.single-movies .mx-movie-player-shell #playcontainer,
html body.single-tvshows .mx-movie-player-shell #playcontainer,
html body.single-tvshows .mx-tv-player-shell #playcontainer {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #070c17 !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-video-stage,
html body.single-tvshows .mx-movie-player-shell .mx-tv-video-stage,
html body.single-tvshows .mx-tv-player-shell .mx-tv-video-stage,
html body.single-movies .mx-movie-player-shell #dooplay_player_big_content,
html body.single-tvshows .mx-movie-player-shell #dooplay_player_big_content,
html body.single-tvshows .mx-tv-player-shell #dooplay_player_big_content {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #070c17 !important;
}
html body.single-movies .mx-movie-player-shell .play .pframe,
html body.single-tvshows .mx-movie-player-shell .play .pframe,
html body.single-tvshows .mx-tv-player-shell .play .pframe,
html body.single-movies .mx-movie-player-shell .play .preplayer,
html body.single-tvshows .mx-movie-player-shell .play .preplayer,
html body.single-tvshows .mx-tv-player-shell .play .preplayer {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #070c17 !important;
}
html body.single-movies .mx-movie-player-shell .play .pframe iframe,
html body.single-tvshows .mx-movie-player-shell .play .pframe iframe,
html body.single-tvshows .mx-tv-player-shell .play .pframe iframe,
html body.single-movies .mx-movie-player-shell .play .preplayer iframe,
html body.single-tvshows .mx-movie-player-shell .play .preplayer iframe {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-player-controls,
html body.single-tvshows .mx-tv-player-shell .mx-tv-player-controls {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    border-top: 1px solid rgba(142,6,255,.18) !important;
    background: #070c17 !important;
    box-sizing: border-box !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-server-control,
html body.single-tvshows .mx-tv-player-shell .mx-tv-server-control {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-server-list,
html body.single-tvshows .mx-tv-player-shell .mx-tv-server-list {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
}
html body.single-movies .mx-movie-player-shell #playeroptions,
html body.single-tvshows .mx-tv-player-shell #playeroptions,
html body.single-movies .mx-movie-player-shell .mx-tv-player-hidden-options,
html body.single-tvshows .mx-tv-player-shell .mx-tv-player-hidden-options {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Community rating: one shared horizontal row, with no nested score tile. */
html body.single-movies #single .mx-movie-community-ratings .dt_rating_data,
html body.single-tvshows #single .mx-movie-community-ratings .dt_rating_data {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(82px,112px) minmax(0,1fr) !important;
    grid-template-rows: minmax(66px,auto) !important;
    align-items: center !important;
    column-gap: 14px !important;
    row-gap: 0 !important;
    width: 100% !important;
    min-height: 70px !important;
    margin: 0 !important;
    padding: 7px 0 0 !important;
    box-sizing: border-box !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-rating,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-rating {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    text-align: center !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-rating .dt_rating_vgs,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-rating .dt_rating_vgs {
    display: block !important;
    width: auto !important;
    margin: 0 0 3px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #7605f5 !important;
    font-size: clamp(27px,3vw,38px) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-rating > i,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-rating > i {
    display: none !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-rating .rating-count,
html body.single-movies #single .mx-movie-community-ratings .starstruck-rating .rating-text,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-rating .rating-count,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-rating .rating-text {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-rating-wrap,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-rating-wrap {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 2 !important;
    display: block !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 2px !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    text-align: right !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-rating-wrap .rating-yours,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-rating-wrap .rating-yours {
    color: #fff !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-main,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-main {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    gap: clamp(1px,.35vw,5px) !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 5px 0 0 !important;
    background: transparent !important;
    font-size: clamp(16px,2.2vw,29px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-main i,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-main i {
    flex: 0 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    line-height: 1 !important;
    cursor: pointer;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-main .star-off-png:before,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-main .star-off-png:before {
    color: transparent !important;
    -webkit-text-stroke: 1px #7605f5 !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-main .star-on-png:before,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-main .star-on-png:before {
    color: #7605f5 !important;
    -webkit-text-stroke: 0 !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-feedback,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-feedback {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #e8e8ef !important;
    font-size: 10px !important;
}

/* All Movie and TV gallery images remain visible in the shared Owl carousel. */
html body.single-movies .mx-movie-gallery-content #dt_galery,
html body.single-tvshows .mx-movie-gallery-content #dt_galery {
    display: block !important;
    width: 100% !important;
    min-height: 1px !important;
    overflow: hidden !important;
}
html body.single-movies .mx-movie-gallery-content #dt_galery .g-item,
html body.single-tvshows .mx-movie-gallery-content #dt_galery .g-item {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
}
html body.single-movies .mx-movie-gallery-content #dt_galery .g-item img,
html body.single-tvshows .mx-movie-gallery-content #dt_galery .g-item img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Similar Suggestions: five desktop, three mobile, with the same two-line home card title. */
html body.single-movies #single .srelacionados .mx-related-grid,
html body.single-tvshows #single .srelacionados .mx-related-grid {
    display: grid !important;
    grid-template-columns: repeat(5,minmax(0,1fr)) !important;
    gap: 14px !important;
}
html body.single-movies #single .srelacionados .mx-related-grid .data h3,
html body.single-tvshows #single .srelacionados .mx-related-grid .data h3,
html body.single-movies #single .srelacionados .mx-related-grid .mxplex-card-title,
html body.single-tvshows #single .srelacionados .mx-related-grid .mxplex-card-title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    white-space: normal !important;
    line-height: 1.35 !important;
}
@media (max-width: 1100px) {
    html body.single-movies #single #info.mx-movie-info-card,
    html body.single-tvshows #single #info.mx-movie-info-card {
        grid-template-columns: minmax(120px,190px) minmax(0,1fr) !important;
        gap: 14px !important;
        padding: 14px !important;
    }
    html body.single-movies #single .srelacionados .mx-related-grid,
    html body.single-tvshows #single .srelacionados .mx-related-grid {
        grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    }
}
@media (max-width: 600px) {
    html body.single-movies #single #info.mx-movie-info-card,
    html body.single-tvshows #single #info.mx-movie-info-card {
        grid-template-columns: clamp(84px,27vw,118px) minmax(0,1fr) !important;
        grid-template-rows: auto auto !important;
        gap: 9px 10px !important;
        padding: 9px !important;
        margin: 20px 0 !important;
    }
    html body.single-movies #single .mx-movie-community-ratings .dt_rating_data,
    html body.single-tvshows #single .mx-movie-community-ratings .dt_rating_data {
        grid-template-columns: 70px minmax(0,1fr) !important;
        column-gap: 6px !important;
        min-height: 58px !important;
    }
    html body.single-movies #single .mx-movie-community-ratings .starstruck-rating .dt_rating_vgs,
    html body.single-tvshows #single .mx-movie-community-ratings .starstruck-rating .dt_rating_vgs {
        font-size: 25px !important;
    }
    html body.single-movies #single .mx-movie-community-ratings .starstruck-main,
    html body.single-tvshows #single .mx-movie-community-ratings .starstruck-main {
        gap: 1px !important;
        font-size: clamp(12px,3.5vw,18px) !important;
    }
    html body.single-movies #single .srelacionados .mx-related-grid,
    html body.single-tvshows #single .srelacionados .mx-related-grid {
        grid-template-columns: repeat(3,minmax(0,1fr)) !important;
        gap: 8px !important;
    }
}


/* MXPLEX v2.09 — strict PDF page 5–10 presentation corrections.
 * Keep the player viewport 16:9; the outer player frame also contains controls.
 */
html body.single-movies #single.mx-movie-single,
html body.single-tvshows #single.mx-movie-single {
    width:100% !important;
    max-width:none !important;
}
html body.single-movies #single.mx-movie-single > .content,
html body.single-tvshows #single.mx-movie-single > .content {
    float:none !important;
    width:calc(100% - 300px) !important;
    max-width:none !important;
    margin:0 auto !important;
    padding:0 !important;
    box-sizing:border-box !important;
}
html body.single-movies .mx-movie-page-heading,
html body.single-tvshows .mx-movie-page-heading {
    width:100% !important;
    margin:0 auto 18px !important;
    padding:18px 16px 0 !important;
    text-align:center !important;
    box-sizing:border-box !important;
}
html body.single-movies .mx-movie-page-heading h1,
html body.single-tvshows .mx-movie-page-heading h1 {
    margin:0 auto !important;
    max-width:1100px !important;
    color:#f7f7fa !important;
    font-size:clamp(22px,2.6vw,38px) !important;
    font-weight:700 !important;
    line-height:1.25 !important;
    text-align:center !important;
}

/* Player: gradient outline encloses the 16:9 stage and the source controls.
   Do not set aspect-ratio on this outer shell because controls are below the stage. */
html body.single-movies .mx-movie-player-shell,
html body.single-tvshows .mx-movie-player-shell,
html body.single-tvshows .mx-tv-player-shell {
    display:block !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    aspect-ratio:auto !important;
    margin:0 0 24px !important;
    padding:0 !important;
    border:1px solid transparent !important;
    border-radius:10px !important;
    background:
      linear-gradient(#070c17,#070c17) padding-box,
      linear-gradient(110deg,#2d01b7 0%,#4702cd 42%,#7605f5 75%,#8e06ff 100%) border-box !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
}
html body.single-movies .mx-movie-player-shell > .dooplay_player,
html body.single-tvshows .mx-movie-player-shell > .dooplay_player,
html body.single-tvshows .mx-tv-player-shell > .dooplay_player,
html body.single-movies .mx-movie-player-source-anchor,
html body.single-tvshows .mx-tv-player-source-anchor {
    display:block !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    overflow:visible !important;
    box-sizing:border-box !important;
}
html body.single-movies .mx-movie-player-shell #dooplay_player_big_content,
html body.single-tvshows .mx-movie-player-shell #dooplay_player_big_content,
html body.single-movies .mx-movie-player-shell .mx-tv-video-stage,
html body.single-tvshows .mx-movie-player-shell .mx-tv-video-stage,
html body.single-movies .mx-movie-player-shell #playcontainer,
html body.single-tvshows .mx-movie-player-shell #playcontainer {
    position:relative !important;
    display:block !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    aspect-ratio:16 / 9 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:#070c17 !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
}
html body.single-movies .mx-movie-player-shell .play,
html body.single-tvshows .mx-movie-player-shell .play {
    width:100% !important;
    height:auto !important;
    aspect-ratio:16 / 9 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
}
html body.single-movies .mx-movie-player-shell .pframe,
html body.single-tvshows .mx-movie-player-shell .pframe,
html body.single-movies .mx-movie-player-shell .preplayer,
html body.single-tvshows .mx-movie-player-shell .preplayer {
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    margin:0 !important;
    padding:0 !important;
    aspect-ratio:16 / 9 !important;
    overflow:hidden !important;
}
html body.single-movies .mx-movie-player-shell .pframe iframe,
html body.single-tvshows .mx-movie-player-shell .pframe iframe,
html body.single-movies .mx-movie-player-shell .preplayer iframe,
html body.single-tvshows .mx-movie-player-shell .preplayer iframe {
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    border:0 !important;
}

/* Server row first, Season row second, matching PDF pages 8 and 10. */
html body.single-movies .mx-movie-player-shell .mx-tv-player-controls,
html body.single-tvshows .mx-movie-player-shell .mx-tv-player-controls,
html body.single-tvshows .mx-tv-player-shell .mx-tv-player-controls {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:9px !important;
    width:100% !important;
    height:auto !important;
    margin:0 !important;
    padding:10px 12px 12px !important;
    border:0 !important;
    border-top:1px solid rgba(142,6,255,.35) !important;
    border-radius:0 !important;
    background:#070c17 !important;
    box-sizing:border-box !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-player-control-title,
html body.single-tvshows .mx-movie-player-shell .mx-tv-player-control-title {
    display:block !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-server-control,
html body.single-tvshows .mx-movie-player-shell .mx-tv-server-control,
html body.single-movies .mx-movie-player-shell .mx-tv-season-control,
html body.single-tvshows .mx-movie-player-shell .mx-tv-season-control {
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-server-list,
html body.single-tvshows .mx-movie-player-shell .mx-tv-server-list {
    display:grid !important;
    grid-template-columns:repeat(auto-fit,minmax(120px,1fr)) !important;
    gap:8px !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-server-button,
html body.single-tvshows .mx-movie-player-shell .mx-tv-server-button,
html body.single-tvshows .mx-movie-player-shell .mx-tv-season-button {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:0 !important;
    min-height:38px !important;
    margin:0 !important;
    padding:8px 13px !important;
    border:1px solid #1a142c !important;
    border-radius:7px !important;
    background:#11101a !important;
    color:#f1f1f5 !important;
    font-size:13px !important;
    font-weight:600 !important;
    line-height:1.2 !important;
    text-align:center !important;
    cursor:pointer !important;
    transition:background .2s ease,border-color .2s ease,color .2s ease !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-server-button.is-active,
html body.single-tvshows .mx-movie-player-shell .mx-tv-server-button.is-active,
html body.single-tvshows .mx-tv-player-shell .mx-tv-season-button.is-active {
    border-color:#7605f5 !important;
    background:linear-gradient(100deg,#2d01b7 0%,#7605f5 100%) !important;
    color:#fff !important;
}
html body.single-tvshows .mx-movie-player-shell .mx-tv-season-buttons {
    display:grid !important;
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    gap:7px !important;
    width:100% !important;
}
html body.single-tvshows .mx-movie-player-shell .mx-tv-season-button {
    min-height:34px !important;
    padding:7px 8px !important;
    font-size:12px !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-player-hidden-options,
html body.single-tvshows .mx-movie-player-shell .mx-tv-player-hidden-options {
    display:none !important;
}

/* The information panel is the second distinct framed area in the PDF. */
html body.single-movies #single .mx-movie-info-card,
html body.single-tvshows #single .mx-movie-info-card {
    display:grid !important;
    grid-template-columns:minmax(150px,225px) minmax(0,1fr) !important;
    align-items:start !important;
    gap:16px 18px !important;
    width:100% !important;
    margin:0 0 22px !important;
    padding:12px !important;
    border:1px solid #1a142c !important;
    border-radius:9px !important;
    background:#070c17 !important;
    color:#f2f2f6 !important;
    box-sizing:border-box !important;
}
html body.single-movies #single .mx-movie-info-poster img,
html body.single-tvshows #single .mx-movie-info-poster img {
    display:block !important;
    width:100% !important;
    height:auto !important;
    aspect-ratio:2 / 3 !important;
    object-fit:cover !important;
    border:1px solid #1a142c !important;
    border-radius:3px !important;
}
html body.single-movies #single .mx-movie-info-main h2,
html body.single-tvshows #single .mx-movie-info-main h2 {
    margin:0 0 8px !important;
    color:#fff !important;
    font-size:clamp(23px,2.3vw,34px) !important;
    font-weight:700 !important;
    line-height:1.2 !important;
}
html body.single-movies #single .mx-movie-meta-row,
html body.single-tvshows #single .mx-movie-meta-row {
    display:grid !important;
    grid-template-columns:minmax(110px,150px) minmax(0,1fr) !important;
    gap:8px !important;
    margin:0 0 5px !important;
    color:#f1f1f5 !important;
    font-size:13px !important;
    line-height:1.35 !important;
}
html body.single-movies #single .mx-movie-meta-row strong,
html body.single-tvshows #single .mx-movie-meta-row strong {
    color:#fff !important;
    font-weight:700 !important;
}
html body.single-movies #single .mx-movie-meta-row a,
html body.single-tvshows #single .mx-movie-meta-row a {
    color:#f1f1f5 !important;
    text-decoration:none !important;
    transition:color .2s ease !important;
}
html body.single-movies #single .mx-movie-meta-row a:hover,
html body.single-tvshows #single .mx-movie-meta-row a:hover {
    color:#8e06ff !important;
}

/* Community Ratings: score/votes left, ten stars centered, Your Vote top-right. */
html body.single-movies #single .mx-movie-community-ratings,
html body.single-tvshows #single .mx-movie-community-ratings {
    grid-column:1 / -1 !important;
    width:100% !important;
    margin:5px 0 0 !important;
    padding:9px 12px 11px !important;
    border:1px solid #7605f5 !important;
    border-radius:9px !important;
    background:#070c17 !important;
    box-sizing:border-box !important;
}
html body.single-movies #single .mx-movie-community-ratings .mx-movie-section-heading,
html body.single-tvshows #single .mx-movie-community-ratings .mx-movie-section-heading {
    width:max-content !important;
    margin:-17px 0 8px !important;
    padding:0 8px !important;
    background:#070c17 !important;
}
html body.single-movies #single .mx-movie-community-ratings .dt_rating_data,
html body.single-tvshows #single .mx-movie-community-ratings .dt_rating_data {
    display:grid !important;
    grid-template-columns:112px minmax(0,1fr) !important;
    grid-template-rows:minmax(74px,auto) !important;
    align-items:center !important;
    gap:0 14px !important;
    min-height:78px !important;
    padding:2px 0 0 !important;
    border:0 !important;
    background:transparent !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-rating,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-rating {
    grid-column:1 !important;
    grid-row:1 !important;
    display:grid !important;
    grid-template-columns:max-content max-content !important;
    grid-template-rows:auto auto !important;
    align-content:center !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-height:70px !important;
    margin:0 !important;
    padding:7px 6px !important;
    border:1px solid #1a142c !important;
    border-radius:8px !important;
    background:#11101a !important;
    box-shadow:none !important;
    text-align:center !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-rating .dt_rating_vgs,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-rating .dt_rating_vgs {
    display:block !important;
    position:static !important;
    float:none !important;
    width:auto !important;
    grid-column:1 / 3 !important;
    grid-row:1 !important;
    margin:0 0 5px !important;
    padding:0 !important;
    background:transparent !important;
    color:#7605f5 !important;
    font-size:34px !important;
    font-weight:800 !important;
    line-height:1 !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-rating .rating-count,
html body.single-movies #single .mx-movie-community-ratings .starstruck-rating .rating-text,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-rating .rating-count,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-rating .rating-text {
    display:inline !important;
    margin:0 2px !important;
    padding:0 !important;
    background:transparent !important;
    color:#fff !important;
    font-size:12px !important;
    line-height:1.25 !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-rating .rating-count,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-rating .rating-count {
    grid-column:1 !important;
    grid-row:2 !important;
    justify-self:end !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-rating .rating-text,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-rating .rating-text {
    grid-column:2 !important;
    grid-row:2 !important;
    justify-self:start !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-rating-wrap,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-rating-wrap {
    position:absolute !important;
    top:0 !important;
    right:0 !important;
    margin:0 !important;
    padding:0 !important;
    background:transparent !important;
    color:#fff !important;
    font-size:11px !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-main,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-main {
    grid-column:2 !important;
    grid-row:1 !important;
    align-self:center !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:clamp(3px,.7vw,9px) !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    background:transparent !important;
    font-size:clamp(17px,2.1vw,27px) !important;
    line-height:1 !important;
    white-space:nowrap !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-main i,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-main i {
    flex:0 1 auto !important;
    margin:0 !important;
    padding:0 !important;
    font-size:inherit !important;
    line-height:1 !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-feedback,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-feedback {
    display:none !important;
    margin:0 !important;
    padding:0 !important;
}

/* Rating internals: only the outer purple panel and the compact score tile have borders. */
html body.single-movies #single .mx-movie-community-ratings .starstruck-ptype,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-ptype,
html body.single-movies #single .mx-movie-community-ratings .starstruck-wrap,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-wrap,
html body.single-movies #single .mx-movie-community-ratings .dt_rating_data,
html body.single-tvshows #single .mx-movie-community-ratings .dt_rating_data,
html body.single-movies #single .mx-movie-community-ratings .starstruck-main,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-main,
html body.single-movies #single .mx-movie-community-ratings .starstruck-rating-wrap,
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-rating-wrap {
    border-top:0 !important;
    border-right:0 !important;
    border-bottom:0 !important;
    border-left:0 !important;
    box-shadow:none !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-feedback[hidden],
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-feedback[hidden] {
    display:none !important;
}
html body.single-movies #single .mx-movie-community-ratings .starstruck-feedback:not([hidden]),
html body.single-tvshows #single .mx-movie-community-ratings .starstruck-feedback:not([hidden]) {
    display:block !important;
    grid-column:2 !important;
    grid-row:2 !important;
    margin:4px 0 0 !important;
    color:#e8e8ef !important;
    font-size:10px !important;
}

/* PDF sections after the information card sit directly on the page background. */
html body.single-movies #single .mx-movie-storyline,
html body.single-tvshows #single .mx-movie-storyline,
html body.single-movies #single .mx-movie-gallery-section,
html body.single-tvshows #single .mx-movie-gallery-section,
html body.single-movies #single .mx-movie-cast-section,
html body.single-tvshows #single .mx-movie-cast-section,
html body.single-movies #single .mx-related-section,
html body.single-tvshows #single .mx-related-section {
    margin:22px 0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
html body.single-movies #single .mx-movie-storyline .mx-movie-section-heading,
html body.single-tvshows #single .mx-movie-storyline .mx-movie-section-heading,
html body.single-movies #single .mx-movie-gallery-section .mx-movie-section-heading,
html body.single-tvshows #single .mx-movie-gallery-section .mx-movie-section-heading,
html body.single-movies #single .mx-movie-cast-section .mx-movie-section-heading,
html body.single-tvshows #single .mx-movie-cast-section .mx-movie-section-heading,
html body.single-movies #single .mx-related-section > h2,
html body.single-tvshows #single .mx-related-section > h2 {
    margin:0 0 12px !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    color:#fff !important;
    font-size:21px !important;
    font-weight:700 !important;
}

/* Gallery carousel: show multiple slides and use the external arrow buttons. */
html body.single-movies #single .mx-movie-gallery-content #dt_galery,
html body.single-tvshows #single .mx-movie-gallery-content #dt_galery {
    display:block !important;
    width:100% !important;
    min-height:1px !important;
    overflow:hidden !important;
}
html body.single-movies #single .mx-movie-gallery-content #dt_galery .g-item,
html body.single-tvshows #single .mx-movie-gallery-content #dt_galery .g-item {
    display:block !important;
    width:100% !important;
    aspect-ratio:16 / 9 !important;
    overflow:hidden !important;
}
html body.single-movies #single .mx-movie-gallery-content #dt_galery .g-item img,
html body.single-tvshows #single .mx-movie-gallery-content #dt_galery .g-item img {
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
}
html body.single-movies #single .mx-details-carousel-controls,
html body.single-tvshows #single .mx-details-carousel-controls {
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
}
html body.single-movies #single .mx-details-arrow,
html body.single-tvshows #single .mx-details-arrow {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:32px !important;
    height:32px !important;
    border:1px solid #7605f5 !important;
    border-radius:50% !important;
    background:transparent !important;
    color:#8e06ff !important;
    cursor:pointer !important;
}

/* Cast cards use larger portrait imagery and no visible scrollbar. */
html body.single-movies #single .mx-movie-people-carousel,
html body.single-tvshows #single .mx-movie-people-carousel {
    position:relative !important;
    padding:0 38px !important;
}
html body.single-movies #single .mx-movie-people-track,
html body.single-tvshows #single .mx-movie-people-track {
    display:flex !important;
    gap:14px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
}
html body.single-movies #single .mx-movie-people-track::-webkit-scrollbar,
html body.single-tvshows #single .mx-movie-people-track::-webkit-scrollbar {
    display:none !important;
}
html body.single-movies #single .mx-movie-person-card,
html body.single-tvshows #single .mx-movie-person-card {
    flex:0 0 clamp(145px,16vw,190px) !important;
    min-height:0 !important;
    border:1px solid #1a142c !important;
    border-radius:8px !important;
    background:#070c17 !important;
    overflow:hidden !important;
}
html body.single-movies #single .mx-movie-person-image,
html body.single-tvshows #single .mx-movie-person-image {
    display:block !important;
    width:100% !important;
    aspect-ratio:4 / 5 !important;
    min-height:0 !important;
    overflow:hidden !important;
}
html body.single-movies #single .mx-movie-person-image img,
html body.single-tvshows #single .mx-movie-person-image img {
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center 25% !important;
}

/* Similar Suggestions follows the PDF's four-card row and homepage title treatment. */
html body.single-movies #single .mx-related-grid,
html body.single-tvshows #single .mx-related-grid {
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:14px !important;
}
html body.single-movies #single .mx-related-grid .data h3,
html body.single-tvshows #single .mx-related-grid .data h3,
html body.single-movies #single .mx-related-grid .mxplex-card-title,
html body.single-tvshows #single .mx-related-grid .mxplex-card-title {
    display:-webkit-box !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:2 !important;
    overflow:hidden !important;
    white-space:normal !important;
    line-height:1.3 !important;
}
@media (max-width:1100px) {
    html body.single-movies #single.mx-movie-single > .content,
    html body.single-tvshows #single.mx-movie-single > .content {
        width:calc(100% - 80px) !important;
    }
    html body.single-tvshows .mx-movie-player-shell .mx-tv-season-buttons {
        grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    }
}
@media (max-width:600px) {
    html body.single-movies #single.mx-movie-single > .content,
    html body.single-tvshows #single.mx-movie-single > .content {
        width:calc(100% - 28px) !important;
    }
    html body.single-movies #single .mx-movie-info-card,
    html body.single-tvshows #single .mx-movie-info-card {
        grid-template-columns:clamp(88px,27vw,116px) minmax(0,1fr) !important;
        gap:8px 10px !important;
        padding:9px !important;
    }
    html body.single-movies #single .mx-movie-info-main h2,
    html body.single-tvshows #single .mx-movie-info-main h2 {
        font-size:clamp(17px,4.7vw,22px) !important;
        margin-bottom:6px !important;
    }
    html body.single-movies #single .mx-movie-meta-row,
    html body.single-tvshows #single .mx-movie-meta-row {
        grid-template-columns:minmax(65px,82px) minmax(0,1fr) !important;
        gap:4px !important;
        margin-bottom:4px !important;
        font-size:10px !important;
        line-height:1.25 !important;
    }
    html body.single-movies #single .mx-movie-community-ratings .dt_rating_data,
    html body.single-tvshows #single .mx-movie-community-ratings .dt_rating_data {
        grid-template-columns:82px minmax(0,1fr) !important;
        gap:0 5px !important;
    }
    html body.single-movies #single .mx-movie-community-ratings .starstruck-rating .dt_rating_vgs,
    html body.single-tvshows #single .mx-movie-community-ratings .starstruck-rating .dt_rating_vgs {
        font-size:25px !important;
    }
    html body.single-movies #single .mx-movie-community-ratings .starstruck-main,
    html body.single-tvshows #single .mx-movie-community-ratings .starstruck-main {
        gap:1px !important;
        font-size:clamp(12px,3.5vw,17px) !important;
    }
    html body.single-tvshows .mx-movie-player-shell .mx-tv-season-buttons {
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
        gap:5px !important;
    }
    html body.single-movies .mx-movie-player-shell .mx-tv-server-list,
    html body.single-tvshows .mx-movie-player-shell .mx-tv-server-list {
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
    html body.single-movies #single .mx-related-grid,
    html body.single-tvshows #single .mx-related-grid {
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
        gap:7px !important;
    }
    html body.single-movies #single .mx-movie-person-card,
    html body.single-tvshows #single .mx-movie-person-card {
        flex-basis:clamp(112px,35vw,145px) !important;
    }
}


/* MXPLEX v2.11 — small Movie/TV details refinements requested after visual review. */
/* Remove only the Story Line and Gallery separator rules; leave other content untouched. */
html body.single-movies #single .mx-movie-storyline,
html body.single-tvshows #single .mx-movie-storyline,
html body.single-movies #single .mx-movie-storyline .mx-movie-description,
html body.single-tvshows #single .mx-movie-storyline .mx-movie-description,
html body.single-movies #single .mx-movie-storyline .mx-movie-description p,
html body.single-tvshows #single .mx-movie-storyline .mx-movie-description p,
html body.single-movies #single .mx-movie-gallery-section,
html body.single-tvshows #single .mx-movie-gallery-section,
html body.single-movies #single .mx-movie-gallery-section .mx-movie-section-heading,
html body.single-tvshows #single .mx-movie-gallery-section .mx-movie-section-heading,
html body.single-movies #single .mx-movie-gallery-content,
html body.single-tvshows #single .mx-movie-gallery-content,
html body.single-movies #single .mx-movie-gallery-content #dt_galery,
html body.single-tvshows #single .mx-movie-gallery-content #dt_galery {
    border-bottom: 0 !important;
    box-shadow: none !important;
}
html body.single-movies #single .mx-movie-gallery-section .mx-movie-section-heading::after,
html body.single-tvshows #single .mx-movie-gallery-section .mx-movie-section-heading::after,
html body.single-movies #single .mx-movie-storyline::after,
html body.single-tvshows #single .mx-movie-storyline::after {
    display: none !important;
    content: none !important;
}

/* A small bold purple-gradient dot marks the four content sections only. */
html body.single-movies #single .mx-details-section-heading,
html body.single-tvshows #single .mx-details-section-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 30px;
    margin: 0 0 13px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
html body.single-movies #single .mx-details-section-heading h2,
html body.single-tvshows #single .mx-details-section-heading h2 {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 21px !important;
    font-weight: 750 !important;
    line-height: 1.3 !important;
}
html body.single-movies #single .mx-details-section-heading h2::before,
html body.single-tvshows #single .mx-details-section-heading h2::before {
    display: inline-block !important;
    flex: 0 0 10px !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg,#2d01b7 0%,#7605f5 58%,#8e06ff 100%) !important;
    content: "" !important;
}

/* Cast navigation shares the Gallery heading's right-aligned arrow placement. */
html body.single-movies #single .mx-movie-cast-section .mx-movie-section-heading,
html body.single-tvshows #single .mx-movie-cast-section .mx-movie-section-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}
html body.single-movies #single .mx-movie-cast-section .mx-people-controls,
html body.single-tvshows #single .mx-movie-cast-section .mx-people-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 9px !important;
    margin-left: auto !important;
}
html body.single-movies #single .mx-movie-people-carousel,
html body.single-tvshows #single .mx-movie-people-carousel {
    padding: 0 !important;
}
html body.single-movies #single .mx-movie-people-carousel > .mx-people-prev,
html body.single-tvshows #single .mx-movie-people-carousel > .mx-people-prev,
html body.single-movies #single .mx-movie-people-carousel > .mx-people-next,
html body.single-tvshows #single .mx-movie-people-carousel > .mx-people-next {
    display: none !important;
}

/* Similar Suggestions: keep the existing desktop grid, show two cards per row on mobile. */
html body.single-movies #single .srelacionados .mx-related-grid,
html body.single-tvshows #single .srelacionados .mx-related-grid {
    gap: 14px !important;
}
html body.single-movies #single .srelacionados .mx-related-grid .mxplex-card-data,
html body.single-tvshows #single .srelacionados .mx-related-grid .mxplex-card-data {
    padding-left: 9px !important;
    padding-right: 9px !important;
    box-sizing: border-box !important;
}
html body.single-movies #single .srelacionados .mx-related-grid .mxplex-card-title,
html body.single-tvshows #single .srelacionados .mx-related-grid .mxplex-card-title,
html body.single-movies #single .srelacionados .mx-related-grid .data h3,
html body.single-tvshows #single .srelacionados .mx-related-grid .data h3 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    max-height: 2.7em !important;
    overflow: hidden !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-overflow: ellipsis !important;
    line-height: 1.35 !important;
}
@media (max-width: 600px) {
    html body.single-movies #single .srelacionados .mx-related-grid,
    html body.single-tvshows #single .srelacionados .mx-related-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 9px !important;
    }
    html body.single-movies #single .mx-details-section-heading h2,
    html body.single-tvshows #single .mx-details-section-heading h2 {
        font-size: 18px !important;
        gap: 8px !important;
    }
    html body.single-movies #single .mx-details-section-heading h2::before,
    html body.single-tvshows #single .mx-details-section-heading h2::before {
        flex-basis: 9px !important;
        width: 9px !important;
        height: 9px !important;
    }
}


/* MXPLEX v2.12 — player labels and balanced full-width control rows. */
html body.single-movies .mx-movie-player-shell .mx-tv-player-control-title,
html body.single-tvshows .mx-movie-player-shell .mx-tv-player-control-title {
    display:block !important;
    margin:0 0 7px !important;
    padding:0 !important;
    color:#f1eff7 !important;
    font-size:12px !important;
    font-weight:700 !important;
    line-height:1.35 !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-server-control,
html body.single-tvshows .mx-movie-player-shell .mx-tv-server-control {
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-season-control,
html body.single-tvshows .mx-movie-player-shell .mx-tv-season-control {
    margin:0 !important;
    padding:0 !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-server-lists,
html body.single-tvshows .mx-movie-player-shell .mx-tv-server-lists {
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-server-list,
html body.single-tvshows .mx-movie-player-shell .mx-tv-server-list {
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-server-list[aria-hidden="true"],
html body.single-tvshows .mx-movie-player-shell .mx-tv-server-list[aria-hidden="true"] {
    display:none !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-control-list--desktop,
html body.single-tvshows .mx-movie-player-shell .mx-tv-control-list--desktop {
    display:flex !important;
    flex-direction:column !important;
    gap:8px !important;
    width:100% !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-control-list--mobile,
html body.single-tvshows .mx-movie-player-shell .mx-tv-control-list--mobile {
    display:none !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-control-row,
html body.single-tvshows .mx-movie-player-shell .mx-tv-control-row {
    display:grid !important;
    grid-template-columns:repeat(var(--mx-control-columns, 1),minmax(0,1fr)) !important;
    gap:8px !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
}
html body.single-movies .mx-movie-player-shell .mx-tv-control-row .mx-tv-server-button,
html body.single-tvshows .mx-movie-player-shell .mx-tv-control-row .mx-tv-server-button,
html body.single-tvshows .mx-movie-player-shell .mx-tv-control-row .mx-tv-season-button {
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    box-sizing:border-box !important;
}
@media (max-width:600px) {
    html body.single-movies .mx-movie-player-shell .mx-tv-control-list--desktop,
    html body.single-tvshows .mx-movie-player-shell .mx-tv-control-list--desktop {
        display:none !important;
    }
    html body.single-movies .mx-movie-player-shell .mx-tv-control-list--mobile,
    html body.single-tvshows .mx-movie-player-shell .mx-tv-control-list--mobile {
        display:flex !important;
        flex-direction:column !important;
        gap:6px !important;
        width:100% !important;
    }
    html body.single-movies .mx-movie-player-shell .mx-tv-control-row,
    html body.single-tvshows .mx-movie-player-shell .mx-tv-control-row {
        gap:6px !important;
        grid-template-columns:repeat(var(--mx-control-columns, 1),minmax(0,1fr)) !important;
    }
    html body.single-movies .mx-movie-player-shell .mx-tv-player-control-title,
    html body.single-tvshows .mx-movie-player-shell .mx-tv-player-control-title {
        margin-bottom:6px !important;
        font-size:11px !important;
    }
}

/* v2.12: Gallery heading is intentionally clean; remove the remaining divider. */
html body.single-movies #single .mx-movie-gallery-section,
html body.single-tvshows #single .mx-movie-gallery-section,
html body.single-movies #single .mx-movie-gallery-section > .mx-movie-section-heading,
html body.single-tvshows #single .mx-movie-gallery-section > .mx-movie-section-heading,
html body.single-movies #single .mx-movie-gallery-section > .mx-movie-gallery-content,
html body.single-tvshows #single .mx-movie-gallery-section > .mx-movie-gallery-content,
html body.single-movies #single .mx-movie-gallery-section > .mx-movie-gallery-content #dt_galery,
html body.single-tvshows #single .mx-movie-gallery-section > .mx-movie-gallery-content #dt_galery {
    border-top:0 !important;
    border-right:0 !important;
    border-bottom:0 !important;
    border-left:0 !important;
    box-shadow:none !important;
    background-image:none !important;
}
html body.single-movies #single .mx-movie-gallery-section > .mx-movie-section-heading::after,
html body.single-tvshows #single .mx-movie-gallery-section > .mx-movie-section-heading::after,
html body.single-movies #single .mx-movie-gallery-section > .mx-movie-section-heading::before,
html body.single-tvshows #single .mx-movie-gallery-section > .mx-movie-section-heading::before,
html body.single-movies #single .mx-movie-gallery-section > .mx-movie-section-heading h2::after,
html body.single-tvshows #single .mx-movie-gallery-section > .mx-movie-section-heading h2::after {
    display:none !important;
    content:none !important;
    border:0 !important;
    box-shadow:none !important;
}
html body.single-movies #single .mx-movie-gallery-section > .mx-movie-section-heading + .mx-movie-gallery-content,
html body.single-tvshows #single .mx-movie-gallery-section > .mx-movie-section-heading + .mx-movie-gallery-content {
    border-top:0 !important;
    box-shadow:none !important;
}

/* v2.12: Story Line typography is larger on desktop and remains compact on mobile. */
html body.single-movies #single .mx-movie-storyline .wp-content,
html body.single-tvshows #single .mx-movie-storyline .wp-content,
html body.single-movies #single .mx-movie-storyline .wp-content p,
html body.single-tvshows #single .mx-movie-storyline .wp-content p {
    font-size:16px !important;
    line-height:1.7 !important;
}
@media (max-width:600px) {
    html body.single-movies #single .mx-movie-storyline .wp-content,
    html body.single-tvshows #single .mx-movie-storyline .wp-content,
    html body.single-movies #single .mx-movie-storyline .wp-content p,
    html body.single-tvshows #single .mx-movie-storyline .wp-content p {
        font-size:14px !important;
        line-height:1.65 !important;
    }
}


/* v2.13: Show TV server label only for the selected season when it has multiple servers. */
html body.single-tvshows .mx-movie-player-shell .mx-tv-server-control[aria-hidden="true"] {
    display: none !important;
}
html body.single-tvshows .mx-movie-player-shell .mx-tv-server-control[aria-hidden="false"] {
    display: block !important;
}
/* The divider belongs between visible TV server and season groups only. */
html body.single-tvshows .mx-movie-player-shell .mx-tv-player-controls.has-visible-servers .mx-tv-season-control {
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(142, 6, 255, .22) !important;
}
/* Slightly larger, easier-to-read information rows on desktop and mobile. */
html body.single-movies #single .mx-movie-meta-row,
html body.single-tvshows #single .mx-movie-meta-row {
    font-size: 15px !important;
    line-height: 1.5 !important;
}
html body.single-movies #single .mx-movie-meta-row > strong,
html body.single-tvshows #single .mx-movie-meta-row > strong,
html body.single-movies #single .mx-movie-meta-row > span,
html body.single-tvshows #single .mx-movie-meta-row > span {
    font-size: inherit !important;
}
@media (max-width: 600px) {
    html body.single-movies #single .mx-movie-meta-row,
    html body.single-tvshows #single .mx-movie-meta-row {
        font-size: 12.5px !important;
        line-height: 1.45 !important;
        margin-bottom: 6px !important;
    }
    html body.single-movies #single .mx-movie-meta-row > strong,
    html body.single-tvshows #single .mx-movie-meta-row > strong,
    html body.single-movies #single .mx-movie-meta-row > span,
    html body.single-tvshows #single .mx-movie-meta-row > span {
        font-size: inherit !important;
    }
}


/* MXPLEX v2.16 — unify Movie/TV detail carousels and related cards with the shared home card system.
 * The legacy .srelacionados rules now exclude .mxplex-card; these cards inherit
 * the exact shared homepage title, spacing, and hover behavior.
 */
html body.single-movies #single .srelacionados .mx-related-grid > article.mxplex-card .mxplex-card-link,
html body.single-tvshows #single .srelacionados .mx-related-grid > article.mxplex-card .mxplex-card-link {
    display:flex !important;
    flex-direction:column !important;
    width:100% !important;
    height:100% !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
}
html body.single-movies #single .srelacionados .mx-related-grid > article.mxplex-card .mxplex-card-data,
html body.single-tvshows #single .srelacionados .mx-related-grid > article.mxplex-card .mxplex-card-data {
    padding:8px 10px 10px !important;
    box-sizing:border-box !important;
}
html body.single-movies #single .srelacionados .mx-related-grid > article.mxplex-card .mxplex-card-title,
html body.single-tvshows #single .srelacionados .mx-related-grid > article.mxplex-card .mxplex-card-title {
    display:-webkit-box !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:2 !important;
    line-clamp:2 !important;
    width:100% !important;
    min-height:2.7em !important;
    max-height:2.7em !important;
    margin:0 0 4px !important;
    padding:0 !important;
    overflow:hidden !important;
    white-space:normal !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
    text-overflow:ellipsis !important;
    font-size:14px !important;
    line-height:1.35 !important;
    font-weight:750 !important;
    color:#fff !important;
    background:none !important;
    -webkit-text-fill-color:#fff !important;
}

/* Gallery and Cast arrows use the same circular size, normal color and gradient
   hover state as the Homepage Trending controls. Flex sizing cannot squash them. */
html body.single-movies #single .mx-details-carousel-controls,
html body.single-tvshows #single .mx-details-carousel-controls {
    display:flex !important;
    flex:0 0 auto !important;
    flex-shrink:0 !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
    min-width:max-content !important;
    margin-left:auto !important;
}
html body.single-movies #single .mx-details-carousel-controls .mx-details-arrow,
html body.single-tvshows #single .mx-details-carousel-controls .mx-details-arrow {
    display:inline-flex !important;
    flex:0 0 32px !important;
    flex-shrink:0 !important;
    align-items:center !important;
    justify-content:center !important;
    width:32px !important;
    min-width:32px !important;
    max-width:32px !important;
    height:32px !important;
    min-height:32px !important;
    max-height:32px !important;
    box-sizing:border-box !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid var(--mx-accent-border,rgba(122,63,224,.28)) !important;
    border-radius:50% !important;
    background:transparent !important;
    background-image:none !important;
    color:var(--mx-accent,#7a3fe0) !important;
    line-height:1 !important;
    box-shadow:none !important;
    transform:none !important;
    transition:background .2s ease,background-image .2s ease,border-color .2s ease,color .2s ease !important;
}
html body.single-movies #single .mx-details-carousel-controls .mx-details-arrow:hover,
html body.single-movies #single .mx-details-carousel-controls .mx-details-arrow:focus-visible,
html body.single-movies #single .mx-details-carousel-controls .mx-details-arrow:active,
html body.single-tvshows #single .mx-details-carousel-controls .mx-details-arrow:hover,
html body.single-tvshows #single .mx-details-carousel-controls .mx-details-arrow:focus-visible,
html body.single-tvshows #single .mx-details-carousel-controls .mx-details-arrow:active {
    border-color:transparent !important;
    background-image:var(--mx-gradient,linear-gradient(135deg,#0588ff 0%,#7a3fe0 100%)) !important;
    color:#fff !important;
    box-shadow:none !important;
    transform:none !important;
}
@media (max-width:600px) {
    html body.single-movies #single .mx-details-carousel-controls .mx-details-arrow,
    html body.single-tvshows #single .mx-details-carousel-controls .mx-details-arrow {
        flex-basis:32px !important;
        width:32px !important;
        min-width:32px !important;
        max-width:32px !important;
        height:32px !important;
        min-height:32px !important;
        max-height:32px !important;
    }
}


/* =========================================================
 * MXPLEX v2.26 — Similar Suggestions card hover parity.
 * This stylesheet loads after mxplex-home-cards.css and older detail rules
 * explicitly reset related-card headings to white; apply the home blue hover
 * after those resets with scoped high-specificity selectors.
 * ========================================================= */
html body.single-movies #single .srelacionados .mx-related-grid > article.item.mxplex-card:hover .mxplex-card-title,
html body.single-tvshows #single .srelacionados .mx-related-grid > article.item.mxplex-card:hover .mxplex-card-title,
html body.single-movies #single .mx-related-grid > article.item.mxplex-card:hover .mxplex-card-title,
html body.single-tvshows #single .mx-related-grid > article.item.mxplex-card:hover .mxplex-card-title {
    color:#69baff !important;
    -webkit-text-fill-color:#69baff !important;
    background:none !important;
    background-image:none !important;
    background-clip:border-box !important;
    -webkit-background-clip:border-box !important;
}
html body.single-movies #single .srelacionados .mx-related-grid > article.item.mxplex-card .mxplex-card-title::before,
html body.single-movies #single .srelacionados .mx-related-grid > article.item.mxplex-card .mxplex-card-title::after,
html body.single-tvshows #single .srelacionados .mx-related-grid > article.item.mxplex-card .mxplex-card-title::before,
html body.single-tvshows #single .srelacionados .mx-related-grid > article.item.mxplex-card .mxplex-card-title::after,
html body.single-movies #single .mx-related-grid > article.item.mxplex-card .mxplex-card-title::before,
html body.single-movies #single .mx-related-grid > article.item.mxplex-card .mxplex-card-title::after,
html body.single-tvshows #single .mx-related-grid > article.item.mxplex-card .mxplex-card-title::before,
html body.single-tvshows #single .mx-related-grid > article.item.mxplex-card .mxplex-card-title::after {
    content:none !important;
    display:none !important;
    background:none !important;
    background-image:none !important;
    -webkit-text-fill-color:initial !important;
}
