/* MXPLEX v2.06 — TV Show Details Page, scoped to TV Show singles only. */
body.single-tvshows {
    background: #0b0a0f !important;
}
body.single-tvshows #contenedor {
    background: #0b0a0f !important;
}
body.single-tvshows .mx-movie-page-heading {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto 16px;
    padding: 10px 20px 0;
    box-sizing: border-box;
}
body.single-tvshows .mx-movie-page-heading h1 {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: clamp(22px, 2.8vw, 34px);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    overflow-wrap: anywhere;
}
body.single-tvshows #single.mx-movie-single {
    display: block;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto 30px;
    padding: 0 0 25px;
    background: transparent !important;
    border: 0;
    box-sizing: border-box;
}
body.single-tvshows #single.mx-movie-single > .content.mx-movie-content {
    display: block;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 20px 25px !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box;
}
body.single-tvshows #single.mx-movie-single > .sidebar {
    display: none !important;
}
body.single-tvshows .mx-movie-player-shell {
    width: 100%;
    margin: 0 0 20px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 12px;
    background: linear-gradient(#070c17, #070c17) padding-box,
                linear-gradient(110deg, #2d01b7 0%, #4702cd 42%, #7605f5 75%, #8e06ff 100%) border-box;
    box-shadow: 0 8px 25px rgba(0,0,0,.24);
}
body.single-tvshows .mx-movie-player-shell > .dooplay_player {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 11px;
    overflow: hidden;
    background: #070c17 !important;
}
body.single-tvshows .mx-movie-player-shell #dooplay_player_big_content,
body.single-tvshows .mx-movie-player-shell #playcontainer,
body.single-tvshows .mx-movie-player-shell .play {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    background: #070c17 !important;
}
body.single-tvshows .mx-movie-player-shell .play .pframe,
body.single-tvshows .mx-movie-player-shell .play .preplayer {
    background: #070c17 !important;
}
body.single-tvshows .mx-movie-player-shell .fakeplayer {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 11px;
    overflow: hidden;
}
body.single-tvshows .mx-movie-player-source {
    width: 100%;
    height: 0;
    overflow: visible;
}
body.single-tvshows .mx-movie-player-source.mx-movie-player-source--regular {
    height: auto;
    overflow: visible;
    margin: 0 0 20px;
}
body.single-tvshows .mx-movie-player-source > .dooplay_player {
    width: 100%;
    float: none !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
body.single-tvshows .mx-movie-user-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 0 16px;
    padding: 8px 12px;
    border: 1px solid #1a142c;
    border-radius: 8px;
    background: #070c17;
}
body.single-tvshows .mx-movie-user-controls a {
    padding: 5px 12px;
}
body.single-tvshows .module_single_ads {
    width: 100%;
    margin: 0 0 18px;
}

/* Main information panel: poster left, Movie metadata right, community voting below. */
body.single-tvshows .mx-movie-info-card {
    display: grid;
    grid-template-columns: minmax(155px, 230px) minmax(0, 1fr);
    gap: 18px 22px;
    width: 100%;
    margin: 0 0 24px;
    padding: 18px;
    border: 1px solid #1a142c;
    border-radius: 12px;
    background: #070c17;
    color: #fff;
    box-sizing: border-box;
}
body.single-tvshows .mx-movie-info-poster {
    width: 100%;
    min-width: 0;
    align-self: start;
    overflow: hidden;
    border: 1px solid rgba(142,6,255,.22);
    border-radius: 8px;
    background: #0b0a0f;
}
body.single-tvshows .mx-movie-info-poster img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center;
}
body.single-tvshows .mx-movie-info-main {
    min-width: 0;
    align-self: start;
}
body.single-tvshows .mx-movie-info-main h2 {
    margin: 0 0 8px;
    padding: 0;
    color: #fff;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 750;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
body.single-tvshows .mx-movie-tagline {
    margin: 0 0 11px;
    color: rgba(235,237,245,.72);
    font-size: 13px;
    line-height: 1.5;
}
body.single-tvshows .mx-movie-meta-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    width: 100%;
}
body.single-tvshows .mx-movie-meta-row {
    display: grid;
    grid-template-columns: minmax(105px, 142px) minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    width: 100%;
    color: rgba(245,246,250,.88);
    font-size: 13px;
    line-height: 1.5;
}
body.single-tvshows .mx-movie-meta-row > strong {
    color: rgba(255,255,255,.95);
    font-weight: 700;
}
body.single-tvshows .mx-movie-meta-row > span {
    min-width: 0;
    overflow-wrap: anywhere;
}
body.single-tvshows .mx-movie-meta-row a {
    color: #c5a6ff;
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}
body.single-tvshows .mx-movie-meta-row a:hover {
    color: #fff;
    opacity: .95;
}
body.single-tvshows .mx-movie-imdb-row #update_imdb_rating {
    display: inline-block;
    margin-left: 7px;
    cursor: pointer;
}
body.single-tvshows .mx-movie-community-ratings {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0;
    padding: 13px 14px 10px;
    border: 1px solid rgba(45,1,183,.5);
    border-radius: 9px;
    background: rgba(5,7,18,.55);
}
body.single-tvshows .mx-movie-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
}
body.single-tvshows .mx-movie-section-heading h2 {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}
body.single-tvshows .mx-movie-community-ratings .mx-movie-section-heading {
    margin-bottom: 5px;
}
body.single-tvshows .mx-movie-community-ratings .mx-movie-section-heading h2 {
    font-size: 16px;
}
body.single-tvshows .mx-movie-community-ratings .starstruck-ptype,
body.single-tvshows .mx-movie-community-ratings .starstruck-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Story line and plain-text post tags. */
body.single-tvshows .mx-movie-section {
    width: 100%;
    margin: 0 0 24px;
    padding: 18px 20px;
    border: 1px solid #1a142c;
    border-radius: 11px;
    background: #070c17;
    color: #e8e8ef;
    box-sizing: border-box;
}
body.single-tvshows .mx-movie-storyline .wp-content {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    color: rgba(242,243,248,.86);
    font-size: 14px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}
body.single-tvshows .mx-movie-storyline .wp-content p {
    margin: 0 0 14px;
    line-height: 1.75;
}
body.single-tvshows .mx-movie-storyline .wp-content p:last-child {
    margin-bottom: 0;
}
body.single-tvshows .mx-movie-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.07);
    color: rgba(255,255,255,.72);
    font-size: 12px;
}
body.single-tvshows .mx-movie-tags strong {
    color: #fff;
}
body.single-tvshows .mx-movie-tags span {
    display: inline-flex;
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 5px;
    background: rgba(255,255,255,.035);
    color: rgba(255,255,255,.82);
}

/* Existing TMDB gallery/lightbox output, now in its own page section. */
body.single-tvshows .mx-movie-gallery-content {
    width: 100%;
    overflow: hidden;
}
body.single-tvshows .mx-movie-gallery-content #dt_galery {
    display: block;
    width: 100%;
    margin: 0;
    overflow: hidden;
}
body.single-tvshows .mx-movie-gallery-content #dt_galery .g-item {
    width: 100%;
    padding: 7px;
    padding-top: 54%;
    border-radius: 7px;
    overflow: hidden;
}
body.single-tvshows .mx-movie-gallery-content #dt_galery .g-item img {
    width: 100%;
    height: auto;
    margin-top: -54%;
    object-fit: cover;
}
body.single-tvshows .mx-movie-gallery-content #dt_galery .owl-item {
    overflow: hidden;
}

/* Director and cast horizontal profile cards. */
body.single-tvshows .mx-movie-cast-section {
    overflow: hidden;
}
body.single-tvshows .mx-movie-people-track {
    display: flex;
    align-items: stretch;
    gap: 14px;
    width: 100%;
    padding: 2px 1px 9px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(142,6,255,.65) rgba(255,255,255,.06);
}
body.single-tvshows .mx-movie-person-card {
    flex: 0 0 145px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 1px solid #1a142c;
    border-radius: 8px;
    background: #0b0a0f;
    overflow: hidden;
    scroll-snap-align: start;
}
body.single-tvshows .mx-movie-person-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}
body.single-tvshows .mx-movie-person-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #171321;
}
body.single-tvshows .mx-movie-person-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform .25s ease;
}
body.single-tvshows .mx-movie-person-link:hover .mx-movie-person-image img {
    transform: scale(1.035);
}
body.single-tvshows .mx-movie-person-name {
    display: block;
    width: 100%;
    padding: 8px 7px 2px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    overflow-wrap: anywhere;
}
body.single-tvshows .mx-movie-person-role {
    display: block;
    width: 100%;
    min-height: 25px;
    padding: 0 7px 8px;
    color: rgba(255,255,255,.64);
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
    overflow-wrap: anywhere;
}
body.single-tvshows .mx-movie-person-link:hover .mx-movie-person-name {
    color: #c5a6ff;
}

/* Keep download links and existing comments visually integrated into the page. */
body.single-tvshows .mx-movie-download-section {
    padding: 0;
    border: 0;
    background: transparent;
}
body.single-tvshows .mx-movie-download-section .box_links {
    width: 100%;
    margin: 0;
}
body.single-tvshows .mx-movie-single #comments,
body.single-tvshows .mx-movie-single .comments-area {
    width: 100%;
    max-width: 100%;
}
body.single-tvshows .mx-movie-single .srelacionados {
    width: 100%;
    margin: 0 0 24px;
    padding: 18px 12px;
    border: 1px solid #1a142c;
    border-radius: 11px;
    background: #070c17;
    box-sizing: border-box;
}
body.single-tvshows .mx-movie-single .srelacionados > h2 {
    float: none;
    width: 100%;
    margin: 0 8px 12px;
    padding: 0;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
}
body.single-tvshows .mx-movie-single .srelacionados .mx-related-grid {
    margin: 0;
}

@media (max-width: 900px) {
    body.single-tvshows .mx-movie-info-card {
        grid-template-columns: minmax(125px, 190px) minmax(0, 1fr);
        gap: 15px;
        padding: 14px;
    }
    body.single-tvshows .mx-movie-meta-row {
        grid-template-columns: minmax(95px, 120px) minmax(0, 1fr);
        font-size: 12px;
    }
    body.single-tvshows .mx-movie-person-card {
        flex-basis: 132px;
    }
}
@media (max-width: 600px) {
    body.single-tvshows .mx-movie-page-heading {
        margin-bottom: 12px;
        padding: 8px 12px 0;
    }
    body.single-tvshows .mx-movie-page-heading h1 {
        font-size: 21px;
        line-height: 1.35;
    }
    body.single-tvshows #single.mx-movie-single > .content.mx-movie-content {
        padding: 0 10px 20px !important;
    }
    body.single-tvshows .mx-movie-info-card {
        grid-template-columns: 94px minmax(0, 1fr);
        gap: 11px;
        padding: 11px;
        border-radius: 9px;
    }
    body.single-tvshows .mx-movie-info-main h2 {
        margin-bottom: 7px;
        font-size: 19px;
    }
    body.single-tvshows .mx-movie-tagline {
        margin-bottom: 7px;
        font-size: 11px;
    }
    body.single-tvshows .mx-movie-meta-list {
        gap: 5px;
    }
    body.single-tvshows .mx-movie-meta-row {
        grid-template-columns: 1fr;
        gap: 1px;
        font-size: 11px;
        line-height: 1.4;
    }
    body.single-tvshows .mx-movie-meta-row > strong {
        font-size: 11px;
    }
    body.single-tvshows .mx-movie-community-ratings {
        padding: 10px 9px 8px;
    }
    body.single-tvshows .mx-movie-section {
        margin-bottom: 16px;
        padding: 14px 12px;
        border-radius: 9px;
    }
    body.single-tvshows .mx-movie-section-heading h2,
    body.single-tvshows .mx-movie-single .srelacionados > h2 {
        font-size: 18px;
    }
    body.single-tvshows .mx-movie-storyline .wp-content {
        font-size: 13px;
        line-height: 1.65;
    }
    body.single-tvshows .mx-movie-person-card {
        flex-basis: 118px;
    }
    body.single-tvshows .mx-movie-download-section {
        padding: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.single-tvshows .mx-movie-person-image img {
        transition: none !important;
    }
}


/* TV Show player: the actual video viewport is always 16:9; season/server controls remain below it. */
body.single-tvshows .mx-tv-player-shell {
    width: 100%;
    margin: 0 0 20px;
    overflow: visible;
    border: 1px solid transparent;
    border-radius: 12px;
    background: linear-gradient(#070c17, #070c17) padding-box,
                linear-gradient(110deg, #2d01b7 0%, #4702cd 42%, #7605f5 75%, #8e06ff 100%) border-box;
    box-shadow: 0 8px 25px rgba(0,0,0,.24);
    box-sizing: border-box;
}
body.single-tvshows .mx-tv-player-shell > .dooplay_player {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 11px;
    overflow: hidden;
    background: #070c17 !important;
}
body.single-tvshows .mx-tv-player-shell #dooplay_player_big_content,
body.single-tvshows .mx-tv-player-shell #playcontainer,
body.single-tvshows .mx-tv-player-shell .play {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #070c17 !important;
    box-sizing: border-box;
}
body.single-tvshows .mx-tv-player-shell #playcontainer {
    height: auto !important;
    overflow: visible !important;
}
body.single-tvshows .mx-tv-player-shell .mx-tv-video-stage {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #070c17;
    box-sizing: border-box;
}
body.single-tvshows .mx-tv-player-shell .mx-tv-video-stage > #dooplay_player_response,
body.single-tvshows .mx-tv-player-shell .mx-tv-video-stage > #dooplay_player_content {
    position: absolute !important;
    inset: 0 !important;
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #070c17;
    box-sizing: border-box;
}
body.single-tvshows .mx-tv-player-shell .mx-tv-video-stage #dooplay_player_content .source-box {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
body.single-tvshows .mx-tv-player-shell .mx-tv-video-stage #dooplay_player_content .source-box.on {
    display: block;
}
body.single-tvshows .mx-tv-player-shell .mx-tv-video-stage .pframe,
body.single-tvshows .mx-tv-player-shell .mx-tv-video-stage .preplayer {
    position: absolute !important;
    inset: 0 !important;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #070c17;
    box-sizing: border-box;
}
body.single-tvshows .mx-tv-player-shell .mx-tv-video-stage .pframe iframe,
body.single-tvshows .mx-tv-player-shell .mx-tv-video-stage .pframe video,
body.single-tvshows .mx-tv-player-shell .mx-tv-video-stage .pframe embed,
body.single-tvshows .mx-tv-player-shell .mx-tv-video-stage .pframe object {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
    border: 0;
}
body.single-tvshows .mx-tv-player-shell .fakeplayer {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 11px;
    overflow: hidden;
    box-sizing: border-box;
}
body.single-tvshows .mx-tv-player-shell .fakeplayer .playbox {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    padding: 0 !important;
    overflow: hidden;
    box-sizing: border-box;
}
body.single-tvshows .mx-tv-player-shell .fakeplayer .playbox img.cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.single-tvshows .mx-tv-player-source-anchor {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
}
body.single-tvshows .mx-tv-player-source-anchor > .dooplay_player {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}
body.single-tvshows .mx-tv-player-source-anchor #playeroptions {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px,1px,1px,1px) !important;
}
body.single-tvshows .mx-tv-player-shell .mx-tv-player-controls {
    width: 100%;
    margin: 0;
    padding: 12px 14px 13px;
    border-top: 1px solid rgba(142,6,255,.18);
    background: #070c17;
    box-sizing: border-box;
}
body.single-tvshows .mx-tv-player-shell .mx-tv-season-control,
body.single-tvshows .mx-tv-player-shell .mx-tv-server-control {
    width: 100%;
    margin: 0;
    padding: 0;
}
body.single-tvshows .mx-tv-player-shell .mx-tv-player-control-title {
    margin: 0 0 8px;
    color: #e9e7f0;
    font-size: 12px;
    font-weight: 700;
}
body.single-tvshows .mx-tv-player-shell .mx-tv-season-buttons,
body.single-tvshows .mx-tv-player-shell .mx-tv-server-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    width: 100%;
    margin: 0;
    padding: 0;
}
body.single-tvshows .mx-tv-player-shell .mx-tv-season-button,
body.single-tvshows .mx-tv-player-shell .mx-tv-server-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 32px;
    margin: 0;
    padding: 7px 13px;
    border: 1px solid rgba(142,6,255,.14);
    border-radius: 7px;
    background: #11101a;
    color: #dedbe7;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
    box-sizing: border-box;
}
body.single-tvshows .mx-tv-player-shell .mx-tv-season-button:hover,
body.single-tvshows .mx-tv-player-shell .mx-tv-server-button:hover {
    background: #1b1428;
    border-color: rgba(142,6,255,.5);
    color: #fff;
}
body.single-tvshows .mx-tv-player-shell .mx-tv-season-button.is-active,
body.single-tvshows .mx-tv-player-shell .mx-tv-server-button.is-active {
    border-color: transparent;
    background: linear-gradient(100deg,#2d01b7 0%,#8e06ff 100%);
    color: #fff;
}
body.single-tvshows .mx-tv-player-shell .mx-tv-server-control {
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px solid rgba(142,6,255,.12);
}
body.single-tvshows .mx-tv-player-shell .mx-tv-server-list[aria-hidden="true"] {
    display: none !important;
}
body.single-tvshows .mx-tv-player-shell .mx-tv-single-sources,
body.single-tvshows .mx-tv-player-shell .mx-tv-player-hidden-options {
    display: none !important;
}

@media (max-width: 600px) {
    body.single-tvshows .mx-tv-show-page-heading {
        padding: 8px 12px 0;
    }
    body.single-tvshows .mx-tv-player-shell .mx-tv-player-controls {
        padding: 9px;
    }
    body.single-tvshows .mx-tv-player-shell .mx-tv-season-buttons,
    body.single-tvshows .mx-tv-player-shell .mx-tv-server-list {
        gap: 6px;
    }
    body.single-tvshows .mx-tv-player-shell .mx-tv-season-button,
    body.single-tvshows .mx-tv-player-shell .mx-tv-server-button {
        min-height: 30px;
        padding: 6px 10px;
        font-size: 11px;
    }
}
