/*
 * MXPLEX v2.05 — shared content cards and homepage section headings.
 * Loaded after the theme and custom accent styles; scoped to the shared card UI.
 */

.mxplex-home-section-header{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:14px !important;
    width:100% !important;
    min-height:42px !important;
    margin:0 0 14px !important;
    padding:0 !important;
    border:0 !important;
}
.mxplex-home-section-heading{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    min-width:0 !important;
}
.mxplex-home-section-heading h2{
    margin:0 !important;
    padding:0 !important;
    color:inherit !important;
    font-size:22px !important;
    line-height:1.25 !important;
    font-weight:700 !important;
}
.mxplex-section-icon{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 32px !important;
    width:32px !important;
    height:32px !important;
    border:1px solid var(--mx-accent-border,rgba(122,63,224,.28)) !important;
    border-radius:8px !important;
    background:var(--mx-accent-soft,rgba(122,63,224,.12)) !important;
    color:var(--mx-accent,#7a3fe0) !important;
}
.mxplex-section-icon .mx-nav-icon{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    margin:0 !important;
    padding:0 !important;
    color:currentColor !important;
    font-size:17px !important;
    line-height:18px !important;
}
.mxplex-section-icon .mx-nav-icon.fa-clapperboard{font-size:0 !important;width:19px !important;height:19px !important;vertical-align:-4px !important;background-color:currentColor !important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M448%2032l-86.1%200-1%201-127%20127%2092.1%200%201-1L453.8%2032.3c-1.9-.2-3.8-.3-5.8-.3zm64%20128l0-64c0-15.1-5.3-29.1-14-40l-104%20104L512%20160zM294.1%2032l-92.1%200-1%201L73.9%20160l92.1%200%201-1%20127-127zM64%2032C28.7%2032%200%2060.7%200%2096l0%2064%206.1%200%201-1%20127-127L64%2032zM512%20192L0%20192%200%20416c0%2035.3%2028.7%2064%2064%2064l384%200c35.3%200%2064-28.7%2064-64l0-224z%22%2F%3E%3C%2Fsvg%3E") !important;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M448%2032l-86.1%200-1%201-127%20127%2092.1%200%201-1L453.8%2032.3c-1.9-.2-3.8-.3-5.8-.3zm64%20128l0-64c0-15.1-5.3-29.1-14-40l-104%20104L512%20160zM294.1%2032l-92.1%200-1%201L73.9%20160l92.1%200%201-1%20127-127zM64%2032C28.7%2032%200%2060.7%200%2096l0%2064%206.1%200%201-1%20127-127L64%2032zM512%20192L0%20192%200%20416c0%2035.3%2028.7%2064%2064%2064l384%200c35.3%200%2064-28.7%2064-64l0-224z%22%2F%3E%3C%2Fsvg%3E") !important;-webkit-mask-position:center !important;mask-position:center !important;-webkit-mask-size:contain !important;mask-size:contain !important;-webkit-mask-repeat:no-repeat !important;mask-repeat:no-repeat !important;color:inherit !important;
}
.mxplex-home-section-actions{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
    flex:0 0 auto !important;
}
.mxplex-home-section-actions .mx-see-all-wrap{display:inline-flex !important;float:none !important;margin:0 !important;}
.mxplex-home-section-actions a.see-all{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:32px !important;
    padding:0 13px !important;
    border:1px solid var(--mx-accent-border,rgba(122,63,224,.25)) !important;
    border-radius:7px !important;
    color:inherit !important;
    background:rgba(255,255,255,.025) !important;
    font-size:12px !important;
    font-weight:600 !important;
    line-height:1 !important;
    text-decoration:none !important;
    transition:background .2s ease,border-color .2s ease,transform .2s ease !important;
}
.mxplex-home-section-actions a.see-all:hover{
    background-image:var(--mx-gradient,linear-gradient(135deg,#0588ff 0%,#7a3fe0 100%)) !important;
    border-color:transparent !important;
    color:#fff !important;
    transform:translateY(-1px);
}
.mxplex-section-arrows a.btn{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:32px !important;
    height:32px !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;
    color:var(--mx-accent,#7a3fe0) !important;
    font-size:13px !important;
    line-height:1 !important;
    transition:background .2s ease,color .2s ease,transform .2s ease !important;
}
.mxplex-section-arrows a.btn:hover{
    background-image:var(--mx-gradient,linear-gradient(135deg,#0588ff 0%,#7a3fe0 100%)) !important;
    border-color:transparent !important;
    color:#fff !important;
    transform:translateY(-1px);
}

/* One card renderer is used by every standard Movie / TV listing. */
html body .items article.mxplex-card{
    position:relative !important;
    z-index:1;
    float:left !important;
    width:16.6666667% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:8px !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    transition:transform .22s ease,z-index .22s ease !important;
    box-sizing:border-box !important;
}
html body article.mxplex-card:hover,
html body article.mxplex-card:focus-within{
    z-index:5 !important;
    transform:translate3d(0,-2px,0) scale(1.012) !important;
}
html body .mxplex-card .mxplex-card-link{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    width:100% !important;
    height:100% !important;
    overflow:hidden !important;
    border:1px solid rgba(128,91,190,.18) !important;
    border-radius:10px !important;
    background:#070c17 !important;
    color:#fff !important;
    text-decoration:none !important;
    box-shadow:0 4px 16px rgba(0,0,0,.16) !important;
    outline:none !important;
    transition:border-color .22s ease,box-shadow .22s ease,background .22s ease !important;
}
html body .mxplex-card .mxplex-card-link:hover,
html body .mxplex-card .mxplex-card-link:focus-visible{
    border-color:var(--mx-accent-border,rgba(122,63,224,.4)) !important;
    box-shadow:0 12px 26px -17px var(--mx-accent-shadow,rgba(83,98,234,.35)) !important;
    color:#fff !important;
}
html body .mxplex-card .mxplex-card-poster{
    position:relative !important;
    display:block !important;
    float:none !important;
    width:100% !important;
    height:auto !important;
    margin:0 !important;
    padding:150% 0 0 !important;
    overflow:hidden !important;
    aspect-ratio:2 / 3;
    background:#11121a !important;
    border:0 !important;
    border-radius:0 !important;
}
html body .mxplex-card .mxplex-card-poster > img{
    position:absolute !important;
    inset:0 !important;
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 !important;
    object-fit:cover !important;
    object-position:center center !important;
    transform:scale(1) !important;
    filter:none !important;
    transition:transform .34s cubic-bezier(.2,.65,.3,1) !important;
}
html body article.mxplex-card:hover .mxplex-card-poster > img,
html body article.mxplex-card:focus-within .mxplex-card-poster > img{
    transform:scale(1.055) !important;
    filter:none !important;
}
.mxplex-card-topline{
    position:absolute !important;
    z-index:3 !important;
    top:9px !important;
    left:9px !important;
    right:9px !important;
    display:flex !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    gap:6px !important;
    pointer-events:none !important;
}
.mxplex-card-rating,
.mxplex-card-quality-badge,
.mxplex-card-trending-badge{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    max-width:72% !important;
    min-height:23px !important;
    padding:4px 9px !important;
    border:0 !important;
    border-radius:7px !important;
    font-size:11px !important;
    line-height:1.15 !important;
    font-weight:800 !important;
    letter-spacing:.1px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    box-shadow:0 2px 10px rgba(0,0,0,.25) !important;
}
.mxplex-card-rating{
    flex:0 0 auto !important;
    background:#f4bd22 !important;
    color:#17130a !important;
}
.mxplex-card-rating .fa-star{margin-right:4px !important;color:#17130a !important;font-size:10px !important;}
.mxplex-card-quality-badge{
    margin-left:auto !important;
    background:#b52a3b !important;
    color:#fff !important;
    text-transform:uppercase !important;
}
.mxplex-card-trending-badge{
    flex:0 0 auto !important;
    background-image:var(--mx-gradient,linear-gradient(135deg,#0588ff 0%,#7a3fe0 100%)) !important;
    background-color:transparent !important;
    color:#fff !important;
    letter-spacing:.25px !important;
}
.mxplex-card-status{
    position:absolute !important;
    z-index:3 !important;
    left:8px !important;
    right:8px !important;
    bottom:47px !important;
    display:block !important;
    max-width:calc(100% - 16px) !important;
    padding:6px 8px !important;
    overflow:hidden !important;
    border-radius:6px !important;
    background:#a92d39 !important;
    color:#fff !important;
    font-size:10px !important;
    font-weight:800 !important;
    line-height:1.25 !important;
    text-align:left !important;
    text-overflow:ellipsis !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    box-shadow:0 2px 9px rgba(0,0,0,.2) !important;
}
.mxplex-card-status:before{
    content:"";
    display:inline-block;
    width:7px;
    height:7px;
    margin:0 6px 1px 0;
    border-radius:50%;
    background:#2fd16b;
    vertical-align:middle;
}
.mxplex-card-bottomline{
    position:absolute !important;
    z-index:3 !important;
    left:8px !important;
    right:8px !important;
    bottom:8px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:6px !important;
    pointer-events:none !important;
}
.mxplex-card-language,
.mxplex-card-type{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:0 !important;
    max-width:70% !important;
    min-height:23px !important;
    padding:4px 9px !important;
    overflow:hidden !important;
    border:1px solid rgba(255,255,255,.11) !important;
    border-radius:7px !important;
    background:rgba(5,6,12,.91) !important;
    color:#fff !important;
    font-size:10px !important;
    line-height:1.1 !important;
    font-weight:800 !important;
    letter-spacing:.15px !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    text-transform:uppercase !important;
    box-shadow:0 2px 8px rgba(0,0,0,.22) !important;
}
.mxplex-card-type{margin-left:auto !important;max-width:42% !important;}
html body .mxplex-card .mxplex-card-data{
    display:flex !important;
    flex:1 0 auto !important;
    flex-direction:column !important;
    align-items:stretch !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:8px 10px 10px !important;
    border:0 !important;
    background:#070c17 !important;
    text-align:left !important;
}
html body .mxplex-card .mxplex-card-date{
    display:block !important;
    float:none !important;
    width:100% !important;
    margin:0 0 6px !important;
    color:rgba(235,237,245,.68) !important;
    font-size:11px !important;
    line-height:1.35 !important;
    font-weight:400 !important;
    text-align:center !important;
    white-space:nowrap !important;
}
html body .mxplex-card .mxplex-card-title{
    display:-webkit-box !important;
    float:none !important;
    width:100% !important;
    min-height:0 !important;
    margin:0 0 4px !important;
    padding:0 !important;
    overflow:hidden !important;
    color:#fff !important;
    background:none !important;
    font-size:14px !important;
    line-height:1.35 !important;
    font-weight:750 !important;
    text-align:left !important;
    text-overflow:ellipsis !important;
    white-space:normal !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    transition:background .22s ease,color .22s ease !important;
}
html body article.mxplex-card:hover .mxplex-card-title,
html body article.mxplex-card:focus-within .mxplex-card-title{
    color:transparent !important;
    background-image:var(--mx-gradient,linear-gradient(135deg,#0588ff 0%,#7a3fe0 100%)) !important;
    background-clip:text !important;
    -webkit-background-clip:text !important;
    -webkit-text-fill-color:transparent !important;
}
html body .mxplex-card .mxplex-card-quality-summary{
    display:block !important;
    float:none !important;
    width:100% !important;
    margin:0 !important;
    overflow:hidden !important;
    color:rgba(230,232,240,.77) !important;
    font-size:10px !important;
    line-height:1.35 !important;
    font-weight:550 !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
}
/* Home grid wrappers: six cards per desktop row, without affecting Owl sliders. */
html body .items.mxplex-card-grid{
    display:grid !important;
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    grid-auto-rows:1fr !important;
    gap:14px 0 !important;
    width:100% !important;
    overflow:visible !important;
}
html body .items.mxplex-card-grid:after{display:none !important;content:none !important;}
html body .items.mxplex-card-grid > article.mxplex-card{
    float:none !important;
    width:auto !important;
    min-width:0 !important;
    padding:0 8px !important;
}
html body .items.mxplex-card-slider:not(.owl-carousel){
    display:grid !important;
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    gap:14px 0 !important;
}
html body .items.mxplex-card-slider.owl-carousel{display:block !important;}
html body .items.mxplex-card-slider .owl-item > article.mxplex-card,
html body .items.owl-carousel .owl-item > article.mxplex-card{
    float:none !important;
    width:100% !important;
    padding:0 8px !important;
}
/* Similar Suggestions follows the four-column layout shown in the PDF. */
html body .items.mx-related-grid{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    grid-auto-rows:1fr !important;
    gap:14px 0 !important;
    width:100% !important;
    overflow:visible !important;
}
html body .items.mx-related-grid:after{display:none !important;content:none !important;}
html body .items.mx-related-grid > article.mxplex-card{float:none !important;width:auto !important;padding:0 8px !important;}

@media only screen and (max-width:1100px){
    html body .items.mxplex-card-grid,
    html body .items.mxplex-card-slider:not(.owl-carousel){grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
    html body .items > article.mxplex-card{width:25% !important;}
}
@media only screen and (max-width:768px){
    .mxplex-home-section-header{min-height:36px !important;margin-bottom:10px !important;}
    .mxplex-home-section-heading{gap:8px !important;}
    .mxplex-home-section-heading h2{font-size:18px !important;line-height:1.25 !important;}
    .mxplex-section-icon{width:29px !important;height:29px !important;flex-basis:29px !important;border-radius:7px !important;}
    .mxplex-home-section-actions a.see-all{min-height:29px !important;padding:0 10px !important;font-size:11px !important;}
    .mxplex-section-arrows a.btn{width:29px !important;height:29px !important;}
    html body .items.mxplex-card-grid,
    html body .items.mxplex-card-slider:not(.owl-carousel){grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:11px 0 !important;}
    html body .items.mx-related-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:11px 0 !important;}
    html body .items > article.mxplex-card{width:33.333333% !important;padding:6px !important;}
    html body .items.mxplex-card-grid > article.mxplex-card,
    html body .items.mxplex-card-slider .owl-item > article.mxplex-card{padding:0 6px !important;}
    html body .mxplex-card .mxplex-card-data{padding:7px 8px 9px !important;}
    html body .mxplex-card .mxplex-card-title{font-size:12px !important;line-height:1.35 !important;}
    .mxplex-card-rating,.mxplex-card-quality-badge,.mxplex-card-trending-badge{min-height:20px !important;padding:3px 7px !important;font-size:9px !important;}
    .mxplex-card-status{bottom:42px !important;left:6px !important;right:6px !important;max-width:calc(100% - 12px) !important;padding:5px 6px !important;font-size:9px !important;}
    .mxplex-card-bottomline{left:6px !important;right:6px !important;bottom:6px !important;gap:4px !important;}
    .mxplex-card-language,.mxplex-card-type{min-height:20px !important;padding:3px 6px !important;font-size:8px !important;}
    html body .mxplex-card .mxplex-card-date{font-size:10px !important;margin-bottom:4px !important;}
    html body .mxplex-card .mxplex-card-quality-summary{font-size:9px !important;}
}
@media only screen and (max-width:480px){
    html body .items.mxplex-card-grid,
    html body .items.mxplex-card-slider:not(.owl-carousel){grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px 0 !important;}
    html body .items.mx-related-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px 0 !important;}
    html body .items > article.mxplex-card{width:50% !important;}
}
@media (prefers-reduced-motion:reduce){
    html body article.mxplex-card,
    html body .mxplex-card .mxplex-card-link,
    html body .mxplex-card .mxplex-card-poster > img,
    html body .mxplex-card .mxplex-card-title{transition:none !important;}
}

/* =========================================================
 * MXPLEX v2.04 refinements
 * - Poster-only hover zoom; no persistent card selection.
 * - Responsive badges that scale with each card's poster width.
 * - Content-sized status badge.
 * - Stable section/arrow controls (no hover lift).
 * ========================================================= */

/* Do not create a vertical divider between section icon and heading. */
html body .mxplex-home-section-heading h2,
html body .mxplex-home-section-heading h2:before,
html body .mxplex-home-section-heading h2:after {
    border-left:0 !important;
    border-right:0 !important;
    box-shadow:none !important;
}
html body .mxplex-home-section-heading h2:before,
html body .mxplex-home-section-heading h2:after {
    content:none !important;
    display:none !important;
}

/* Buttons may change color on hover, but their position must remain fixed. */
html body .mxplex-home-section-actions a.see-all,
html body .mxplex-section-arrows a.btn,
html body .mx-ott-controls a.btn {
    transform:none !important;
    transition:background .18s ease,background-color .18s ease,background-image .18s ease,
               border-color .18s ease,color .18s ease,box-shadow .18s ease !important;
}
html body .mxplex-home-section-actions a.see-all:hover,
html body .mxplex-home-section-actions a.see-all:focus,
html body .mxplex-home-section-actions a.see-all:active,
html body .mxplex-section-arrows a.btn:hover,
html body .mxplex-section-arrows a.btn:focus,
html body .mxplex-section-arrows a.btn:active,
html body .mx-ott-controls a.btn:hover,
html body .mx-ott-controls a.btn:focus,
html body .mx-ott-controls a.btn:active {
    transform:none !important;
    top:auto !important;
    bottom:auto !important;
}
html body .mxplex-section-arrows,
html body .mx-featured-controls,
html body .mx-ott-controls {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
}
html body .mx-ott-controls a.btn {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:32px !important;
    height:32px !important;
    min-width:32px !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid var(--mx-accent-border,rgba(122,63,224,.4)) !important;
    border-radius:50% !important;
    background:transparent !important;
    color:var(--mx-accent,#7a3fe0) !important;
    box-shadow:none !important;
}
html body .mx-ott-controls a.btn:hover,
html body .mx-ott-controls a.btn:focus,
html body .mx-ott-controls a.btn:active {
    border-color:transparent !important;
    background-image:var(--mx-gradient,linear-gradient(135deg,#2d01b7 0%,#8e06ff 100%)) !important;
    color:#fff !important;
    box-shadow:none !important;
}
html body .mxplex-section-arrows a.btn:hover {
    transform:none !important;
}

/* Card geometry is fixed; only the poster image is allowed to zoom. */
html body .items article.mxplex-card,
html body article.mxplex-card:hover,
html body article.mxplex-card:focus-within {
    transform:none !important;
    translate:none !important;
}
html body .mxplex-card .mxplex-card-link,
html body .mxplex-card .mxplex-card-link:hover,
html body .mxplex-card .mxplex-card-link:active {
    transform:none !important;
    border-color:rgba(128,91,190,.18) !important;
    box-shadow:0 4px 16px rgba(0,0,0,.16) !important;
}
html body .mxplex-card .mxplex-card-link:focus-visible {
    outline:2px solid var(--mx-accent,#7a3fe0) !important;
    outline-offset:2px !important;
}
html body article.mxplex-card:focus-within .mxplex-card-poster > img {
    transform:scale(1) !important;
}
html body article.mxplex-card:hover .mxplex-card-poster > img {
    transform:scale(1.055) !important;
}
/* A single post title fills the full text area and clamps at two lines. */
html body .mxplex-card .mxplex-card-title {
    display:-webkit-box !important;
    width:100% !important;
    min-height:2.7em !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    line-height:1.35 !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    text-overflow:ellipsis !important;
}
html body .mxplex-card .mxplex-card-quality-summary {
    display:none !important;
}

/* Badges scale relative to the width of the poster, not the viewport. */
html body .mxplex-card-poster {
    container-type:inline-size !important;
}
html body .mxplex-card-poster .mxplex-card-topline {
    top:clamp(4px,2.8cqw,9px) !important;
    left:clamp(4px,2.8cqw,9px) !important;
    right:clamp(4px,2.8cqw,9px) !important;
    gap:clamp(3px,1.8cqw,6px) !important;
}
html body .mxplex-card-poster .mxplex-card-rating,
html body .mxplex-card-poster .mxplex-card-quality-badge,
html body .mxplex-card-poster .mxplex-card-trending-badge {
    min-height:clamp(15px,10.4cqw,23px) !important;
    padding:clamp(2px,1.8cqw,4px) clamp(4px,3.8cqw,9px) !important;
    font-size:clamp(7px,4.8cqw,11px) !important;
    line-height:1.1 !important;
    border-radius:clamp(4px,3cqw,7px) !important;
}
html body .mxplex-card-poster .mxplex-card-rating .fa-star {
    margin-right:clamp(2px,1.6cqw,4px) !important;
    font-size:clamp(7px,4.2cqw,10px) !important;
}
html body .mxplex-card-poster .mxplex-card-status {
    display:block !important;
    width:max-content !important;
    max-width:calc(100% - clamp(12px,7cqw,18px)) !important;
    left:clamp(6px,3.5cqw,8px) !important;
    right:auto !important;
    bottom:clamp(35px,21cqw,47px) !important;
    padding:clamp(3px,2.5cqw,6px) clamp(5px,3.5cqw,8px) !important;
    font-size:clamp(7px,4.4cqw,10px) !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    -webkit-line-clamp:unset !important;
    -webkit-box-orient:initial !important;
}
html body .mxplex-card-poster .mxplex-card-status:before {
    width:clamp(5px,3cqw,7px) !important;
    height:clamp(5px,3cqw,7px) !important;
    margin-right:clamp(3px,2.4cqw,6px) !important;
}
html body .mxplex-card-poster .mxplex-card-bottomline {
    left:clamp(5px,3cqw,8px) !important;
    right:clamp(5px,3cqw,8px) !important;
    bottom:clamp(5px,3cqw,8px) !important;
    gap:clamp(3px,1.8cqw,6px) !important;
}
html body .mxplex-card-poster .mxplex-card-language,
html body .mxplex-card-poster .mxplex-card-type {
    min-height:clamp(15px,10.4cqw,23px) !important;
    padding:clamp(2px,1.8cqw,4px) clamp(4px,3.5cqw,9px) !important;
    font-size:clamp(6px,4.3cqw,10px) !important;
    line-height:1.1 !important;
    border-radius:clamp(4px,3cqw,7px) !important;
}

/* Small-screen Trending contains exactly two visible carousel cards. */
@media only screen and (max-width:479px) {
    /* Owl Carousel calculates .owl-item widths from its visible-item options.
       Do not override those inline widths: they are relative to the full track. */
    html body .mxplex-section-arrows,
    html body .mx-featured-controls,
    html body .mx-ott-controls {
        gap:8px !important;
    }
}

/* Match the legacy Featured/OTT controls despite their more-specific theme rules. */
html body.home .mx-featured-section > .mx-section-header > .mx-featured-controls,
html body.home .mx-ott-section > .mx-section-header > .mx-ott-controls {
    gap:8px !important;
}
html body.home .mx-featured-section > .mx-section-header > .mx-featured-controls a.btn,
html body.home .mx-ott-section > .mx-section-header > .mx-ott-controls a.btn {
    width:32px !important;
    height:32px !important;
    min-width:32px !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid var(--mx-accent-border,rgba(122,63,224,.4)) !important;
    border-radius:50% !important;
    background:transparent !important;
    background-image:none !important;
    color:var(--mx-accent,#7a3fe0) !important;
    box-shadow:none !important;
    transform:none !important;
    transition:background .18s ease,background-image .18s ease,border-color .18s ease,color .18s ease !important;
}
html body.home .mx-featured-section > .mx-section-header > .mx-featured-controls a.btn:hover,
html body.home .mx-featured-section > .mx-section-header > .mx-featured-controls a.btn:focus,
html body.home .mx-featured-section > .mx-section-header > .mx-featured-controls a.btn:active,
html body.home .mx-ott-section > .mx-section-header > .mx-ott-controls a.btn:hover,
html body.home .mx-ott-section > .mx-section-header > .mx-ott-controls a.btn:focus,
html body.home .mx-ott-section > .mx-section-header > .mx-ott-controls a.btn:active {
    border-color:transparent !important;
    background-image:var(--mx-gradient,linear-gradient(135deg,#2d01b7 0%,#8e06ff 100%)) !important;
    color:#fff !important;
    box-shadow:none !important;
    transform:none !important;
    top:auto !important;
    bottom:auto !important;
}
html body article.mxplex-card:focus-within {
    z-index:1 !important;
}
/* A restored mouse focus after browser-back is not a persistent selected card. */
html body article.mxplex-card:focus-within .mxplex-card-title {
    color:#fff !important;
    background:none !important;
    -webkit-text-fill-color:#fff !important;
}


/* =========================================================
 * MXPLEX v2.05 Group 3 refinements
 * - Only poster image zooms; card body never moves or scales.
 * - Gradient title fades in smoothly using a clipped text overlay.
 * - No persistent hover styling from restored focus after browser back.
 * - Trending carousel returns to three cards on narrow mobile.
 * ========================================================= */
html body article.mxplex-card,
html body article.mxplex-card:hover,
html body article.mxplex-card:focus-within,
html body article.mxplex-card .mxplex-card-link,
html body article.mxplex-card .mxplex-card-link:hover,
html body article.mxplex-card .mxplex-card-link:active {
    transform:none !important;
    translate:none !important;
    top:auto !important;
    box-shadow:0 4px 16px rgba(0,0,0,.16) !important;
}

html body article.mxplex-card .mxplex-card-poster {
    position:relative !important;
    overflow:hidden !important;
    isolation:isolate;
}
html body article.mxplex-card .mxplex-card-poster > img {
    display:block !important;
    transform:scale(1) !important;
    transform-origin:center center !important;
    transition:transform .38s cubic-bezier(.2,.65,.3,1) !important;
}
html body article.mxplex-card:hover .mxplex-card-poster > img {
    transform:scale(1.055) !important;
}
html body article.mxplex-card:focus-within .mxplex-card-poster > img {
    transform:scale(1) !important;
}

html body article.mxplex-card .mxplex-card-title {
    position:relative !important;
    color:#fff !important;
    background:none !important;
    -webkit-text-fill-color:#fff !important;
    transition:none !important;
}
html body article.mxplex-card .mxplex-card-title::after {
    content:attr(data-title);
    position:absolute;
    inset:0;
    display:-webkit-box;
    width:100%;
    overflow:hidden;
    color:transparent;
    background-image:var(--mx-gradient,linear-gradient(135deg,#2d01b7 0%,#8e06ff 100%));
    background-clip:text;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    font:inherit;
    line-height:inherit;
    letter-spacing:inherit;
    text-align:inherit;
    white-space:normal;
    overflow-wrap:anywhere;
    text-overflow:ellipsis;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    opacity:0;
    pointer-events:none;
    transition:opacity .28s ease-in-out;
}
html body article.mxplex-card:hover .mxplex-card-title::after {
    opacity:1;
}
/* Keyboard focus remains accessible without imitating a mouse-hover selection. */
html body article.mxplex-card:focus-within .mxplex-card-title::after {
    opacity:0;
}
html body article.mxplex-card:focus-within .mxplex-card-title {
    color:#fff !important;
    background:none !important;
    -webkit-text-fill-color:#fff !important;
}
html body article.mxplex-card .mxplex-card-link:focus-visible {
    outline:2px solid var(--mx-accent,#7a3fe0) !important;
    outline-offset:2px !important;
}

/* Section actions change color only; hover must not lift or shift the controls. */
html body .mxplex-home-section-actions a.see-all,
html body .mxplex-home-section-actions a.see-all:hover,
html body .mxplex-section-arrows a.btn,
html body .mxplex-section-arrows a.btn:hover,
html body .mx-featured-controls a.btn,
html body .mx-featured-controls a.btn:hover,
html body .mx-ott-controls a.btn,
html body .mx-ott-controls a.btn:hover {
    transform:none !important;
    translate:none !important;
    top:auto !important;
    bottom:auto !important;
}

/* Trending uses Owl Carousel's inline item widths; no .owl-item width override here. */

@media (prefers-reduced-motion:reduce) {
    html body article.mxplex-card .mxplex-card-poster > img,
    html body article.mxplex-card .mxplex-card-title::after {
        transition:none !important;
    }
}


/* =========================================================
 * MXPLEX v2.14 — Home slider and poster-hover corrections
 * - Trending shows two cards through tablet/mobile widths.
 * - Owl's next/previous controls advance one card (scrollPerPage=false).
 * - Hover wins over a restored :focus-within state after browser Back.
 * - The poster image zooms smoothly; the card body remains fixed.
 * ========================================================= */
/* Mobile/tablet Trending count is controlled by inc/doo_scripts.php:
   itemsTablet:[768,2] and itemsMobile:[479,2]. Keep Owl's inline widths intact. */

/* Keep the normal state unzoomed when focus was restored by browser history. */
html body.home article.mxplex-card:focus-within:not(:hover) .mxplex-card-poster > img {
    transform:scale(1) !important;
}
html body.home article.mxplex-card:focus-within:not(:hover) .mxplex-card-title::after {
    opacity:0 !important;
}

/* This final hover rule intentionally follows all focus rules above. */
html body.home article.mxplex-card:hover .mxplex-card-poster > img,
html body.home article.mxplex-card:hover .mxplex-card-link > .mxplex-card-poster > img {
    transform:scale(1.06) !important;
}
html body.home article.mxplex-card:hover .mxplex-card-title::after {
    opacity:1 !important;
}

/* OTT uses the same shared section header and controls as Trending. */
html body.home .mx-ott-section > .mxplex-home-section-header {
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    width:100% !important;
    gap:14px !important;
}
html body.home .mx-ott-section > .mxplex-home-section-header .mx-ott-controls {
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
    margin-left:auto !important;
}

/* =========================================================
 * MXPLEX v2.15 — authoritative homepage card hover + Trending sizing
 * Root-cause fixes:
 * 1) Never force percentage widths on Owl .owl-item wrappers. Owl sets
 *    inline widths based on its complete track and visible item count.
 * 2) Override legacy V16/V17 always-zoom poster transforms with a more
 *    specific normal state, then apply zoom only on real pointer hover.
 * ========================================================= */

/* The slider options in inc/doo_scripts.php already set two visible items
   at tablet/mobile breakpoints. The fallback (non-Owl) grid also remains
   explicitly two columns on narrow mobile screens. */
@media only screen and (max-width:480px) {
    html body.home .items.mxplex-card-slider:not(.owl-carousel) {
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
    html body.home .items.mxplex-card-slider:not(.owl-carousel) > article.mxplex-card {
        width:auto !important;
        min-width:0 !important;
    }
}

/* Defeat the older high-specificity, always-on scale(1.08) rules.
   The poster is still cropped inside its existing 2:3 box. */
html body.home .module .content .items article.mxplex-card .mxplex-card-link > .mxplex-card-poster > img,
html body.home .module .content .items article.mxplex-card .mxplex-card-poster > img {
    transform:scale(1) !important;
    -webkit-transform:scale(1) !important;
    transform-origin:center center !important;
    -webkit-transform-origin:center center !important;
    transition:transform .38s cubic-bezier(.2,.65,.3,1) !important;
    -webkit-transition:-webkit-transform .38s cubic-bezier(.2,.65,.3,1) !important;
}

/* Only a mouse/trackpad hover zooms the poster. The article, link and card
   dimensions stay fixed; touch devices retain the normal unselected state. */
@media (hover:hover) and (pointer:fine) {
    html body.home .module .content .items article.mxplex-card:hover .mxplex-card-link > .mxplex-card-poster > img,
    html body.home .module .content .items article.mxplex-card:hover .mxplex-card-poster > img {
        transform:scale(1.055) !important;
        -webkit-transform:scale(1.055) !important;
    }
}

/* Do not keep a zoomed poster after browser history restores link focus. */
html body.home .module .content .items article.mxplex-card:focus-within:not(:hover) .mxplex-card-link > .mxplex-card-poster > img,
html body.home .module .content .items article.mxplex-card:focus-within:not(:hover) .mxplex-card-poster > img {
    transform:scale(1) !important;
    -webkit-transform:scale(1) !important;
}


/* =========================================================
 * MXPLEX v2.19 — Card polish
 * - Remove release dates from all shared Movie/TV cards.
 * - Stronger, cleaner footer typography and spacing.
 * - More legible responsive badges and compact status pill.
 * - Subtle poster-bottom contrast without changing the poster itself.
 * - Preserve poster-only hover and existing shared-card geometry.
 * ========================================================= */

html body article.mxplex-card .mxplex-card-date {
    display:none !important;
}

html body article.mxplex-card .mxplex-card-data {
    display:flex !important;
    flex:1 0 auto !important;
    flex-direction:column !important;
    align-items:stretch !important;
    min-width:0 !important;
    width:100% !important;
    margin:0 !important;
    padding:12px 12px 14px !important;
    background:#070c17 !important;
    border:0 !important;
    border-top:1px solid rgba(255,255,255,.035) !important;
    text-align:left !important;
    box-sizing:border-box !important;
}

html body article.mxplex-card .mxplex-card-title {
    display:-webkit-box !important;
    width:100% !important;
    min-width:0 !important;
    min-height:2.56em !important;
    max-height:2.56em !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    color:#f7f7fb !important;
    background:none !important;
    -webkit-text-fill-color:#f7f7fb !important;
    font-size:16px !important;
    font-weight:750 !important;
    line-height:1.28 !important;
    letter-spacing:-.12px !important;
    text-align:left !important;
    text-overflow:ellipsis !important;
    white-space:normal !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
}

html body article.mxplex-card .mxplex-card-title::after {
    font:inherit !important;
    line-height:inherit !important;
    letter-spacing:inherit !important;
    -webkit-line-clamp:2 !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
}

html body article.mxplex-card .mxplex-card-poster {
    position:relative !important;
    overflow:hidden !important;
    isolation:isolate !important;
    background:#111520 !important;
}

html body article.mxplex-card .mxplex-card-poster::after {
    content:"" !important;
    position:absolute !important;
    z-index:2 !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    height:34% !important;
    pointer-events:none !important;
    background:linear-gradient(to bottom,rgba(5,6,12,0) 0%,rgba(5,6,12,.12) 38%,rgba(5,6,12,.48) 100%) !important;
}

html body article.mxplex-card .mxplex-card-topline {
    top:10px !important;
    left:10px !important;
    right:10px !important;
    gap:6px !important;
    z-index:4 !important;
}

html body article.mxplex-card .mxplex-card-rating,
html body article.mxplex-card .mxplex-card-quality-badge,
html body article.mxplex-card .mxplex-card-trending-badge {
    min-width:0 !important;
    min-height:clamp(20px,11cqw,25px) !important;
    max-width:48% !important;
    padding:4px clamp(7px,4cqw,10px) !important;
    border-radius:7px !important;
    font-size:clamp(9px,4.9cqw,12px) !important;
    line-height:1.1 !important;
    font-weight:800 !important;
    letter-spacing:.08px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    box-sizing:border-box !important;
}

html body article.mxplex-card .mxplex-card-rating {
    flex:0 1 auto !important;
    max-width:42% !important;
    background:#f4bd22 !important;
    color:#17130a !important;
}

html body article.mxplex-card .mxplex-card-rating .fa-star {
    flex:0 0 auto !important;
    margin-right:4px !important;
    font-size:clamp(8px,4.1cqw,10px) !important;
}

html body article.mxplex-card .mxplex-card-quality-badge {
    flex:0 1 auto !important;
    max-width:50% !important;
    margin-left:auto !important;
    background:#b52a3b !important;
    color:#fff !important;
}

html body article.mxplex-card .mxplex-card-trending-badge {
    flex:0 1 auto !important;
    max-width:52% !important;
    background-image:var(--mx-gradient,linear-gradient(135deg,#2d01b7 0%,#8e06ff 100%)) !important;
    background-color:transparent !important;
    color:#fff !important;
}

html body article.mxplex-card .mxplex-card-status {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:max-content !important;
    max-width:calc(100% - 20px) !important;
    left:10px !important;
    right:auto !important;
    bottom:46px !important;
    padding:5px 9px !important;
    border-radius:7px !important;
    background:#a92d39 !important;
    color:#fff !important;
    font-size:clamp(9px,4.6cqw,11px) !important;
    font-weight:800 !important;
    line-height:1.2 !important;
    text-align:left !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    -webkit-line-clamp:unset !important;
    -webkit-box-orient:initial !important;
    box-shadow:0 2px 9px rgba(0,0,0,.24) !important;
    box-sizing:border-box !important;
}

html body article.mxplex-card .mxplex-card-status::before {
    display:block !important;
    flex:0 0 clamp(6px,3cqw,8px) !important;
    width:clamp(6px,3cqw,8px) !important;
    height:clamp(6px,3cqw,8px) !important;
    margin:0 6px 0 0 !important;
    border-radius:50% !important;
    background:#2fd16b !important;
}

html body article.mxplex-card .mxplex-card-bottomline {
    left:10px !important;
    right:10px !important;
    bottom:9px !important;
    gap:6px !important;
    z-index:4 !important;
}

html body article.mxplex-card .mxplex-card-language,
html body article.mxplex-card .mxplex-card-type {
    min-width:0 !important;
    min-height:clamp(20px,10.8cqw,24px) !important;
    max-width:68% !important;
    padding:4px clamp(6px,3.6cqw,9px) !important;
    border:1px solid rgba(255,255,255,.14) !important;
    border-radius:7px !important;
    background:rgba(5,6,12,.92) !important;
    color:#fff !important;
    font-size:clamp(8px,4.5cqw,11px) !important;
    font-weight:800 !important;
    line-height:1.1 !important;
    letter-spacing:.12px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

html body article.mxplex-card .mxplex-card-type {
    max-width:40% !important;
    margin-left:auto !important;
}

/* The only pointer-hover changes are the poster zoom and title tint. */
html body article.mxplex-card,
html body article.mxplex-card:hover,
html body article.mxplex-card:focus-within,
html body article.mxplex-card .mxplex-card-link,
html body article.mxplex-card .mxplex-card-link:hover,
html body article.mxplex-card .mxplex-card-link:active {
    transform:none !important;
    translate:none !important;
    top:auto !important;
    border-color:rgba(128,91,190,.18) !important;
    box-shadow:0 4px 16px rgba(0,0,0,.16) !important;
}

html body article.mxplex-card .mxplex-card-poster > img {
    transform:scale(1) !important;
    -webkit-transform:scale(1) !important;
    transition:transform .36s cubic-bezier(.2,.65,.3,1) !important;
    -webkit-transition:-webkit-transform .36s cubic-bezier(.2,.65,.3,1) !important;
}

@media (hover:hover) and (pointer:fine) {
    html body article.mxplex-card:hover .mxplex-card-poster > img {
        transform:scale(1.055) !important;
        -webkit-transform:scale(1.055) !important;
    }
    html body article.mxplex-card:hover .mxplex-card-title::after {
        opacity:1 !important;
    }
}

html body article.mxplex-card:focus-within:not(:hover) .mxplex-card-poster > img {
    transform:scale(1) !important;
    -webkit-transform:scale(1) !important;
}
html body article.mxplex-card:focus-within:not(:hover) .mxplex-card-title::after {
    opacity:0 !important;
}

@media only screen and (max-width:768px) {
    html body article.mxplex-card .mxplex-card-data {
        padding:10px 10px 12px !important;
    }
    html body article.mxplex-card .mxplex-card-title {
        min-height:2.56em !important;
        max-height:2.56em !important;
        font-size:14px !important;
        line-height:1.28 !important;
    }
    html body article.mxplex-card .mxplex-card-topline {
        top:7px !important;
        left:7px !important;
        right:7px !important;
    }
    html body article.mxplex-card .mxplex-card-status {
        left:7px !important;
        bottom:42px !important;
        max-width:calc(100% - 14px) !important;
        padding:4px 7px !important;
    }
    html body article.mxplex-card .mxplex-card-bottomline {
        left:7px !important;
        right:7px !important;
        bottom:7px !important;
        gap:4px !important;
    }
}

@media only screen and (max-width:480px) {
    html body article.mxplex-card .mxplex-card-data {
        padding:9px 9px 11px !important;
    }
    html body article.mxplex-card .mxplex-card-title {
        font-size:13.5px !important;
        line-height:1.3 !important;
    }
    html body article.mxplex-card .mxplex-card-status {
        font-size:clamp(8px,2.8vw,10px) !important;
    }
}

/* =========================================================
 * MXPLEX v2.20 — polished shared card finish
 * Applies to the single shared Movie/TV renderer everywhere.
 * ========================================================= */
html body article.mxplex-card .mxplex-card-link {
    border:1px solid rgba(139,111,196,.23) !important;
    border-radius:12px !important;
    background:#05060b !important;
    box-shadow:0 5px 18px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.025) !important;
}
html body article.mxplex-card .mxplex-card-link:hover,
html body article.mxplex-card .mxplex-card-link:active {
    border-color:rgba(139,111,196,.23) !important;
    background:#05060b !important;
    box-shadow:0 5px 18px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.025) !important;
}

/* Poster treatment: retain original artwork and add only a soft lower contrast veil. */
html body article.mxplex-card .mxplex-card-poster::after {
    height:27% !important;
    background:linear-gradient(to bottom,rgba(5,6,12,0) 0%,rgba(5,6,12,.08) 48%,rgba(5,6,12,.34) 100%) !important;
}

/* Floating badges gain controlled depth, edge separation and brand-consistent contrast. */
html body article.mxplex-card .mxplex-card-topline {
    top:9px !important;
    left:9px !important;
    right:9px !important;
    gap:7px !important;
}
html body article.mxplex-card .mxplex-card-rating,
html body article.mxplex-card .mxplex-card-quality-badge,
html body article.mxplex-card .mxplex-card-trending-badge {
    min-height:clamp(21px,11cqw,25px) !important;
    padding:4px clamp(8px,4cqw,10px) !important;
    border:1px solid rgba(255,255,255,.13) !important;
    border-radius:8px !important;
    font-size:clamp(9px,4.8cqw,11.5px) !important;
    font-weight:750 !important;
    letter-spacing:.08px !important;
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
}
html body article.mxplex-card .mxplex-card-rating {
    background:linear-gradient(135deg,#ffd34f 0%,#f0b914 100%) !important;
    color:#17130a !important;
    border-color:rgba(255,255,255,.2) !important;
    box-shadow:0 3px 8px rgba(0,0,0,.42),0 0 0 1px rgba(255,255,255,.06),0 3px 12px rgba(244,189,34,.18) !important;
}
html body article.mxplex-card .mxplex-card-rating .fa-star {
    color:#17130a !important;
}
html body article.mxplex-card .mxplex-card-quality-badge {
    background:linear-gradient(135deg,#c43a4c 0%,#a91f35 100%) !important;
    color:#fff !important;
    border-color:rgba(255,255,255,.16) !important;
    box-shadow:0 3px 9px rgba(0,0,0,.43),0 3px 12px rgba(181,42,59,.25) !important;
}
html body article.mxplex-card .mxplex-card-trending-badge {
    background-image:var(--mx-gradient,linear-gradient(135deg,#2d01b7 0%,#8e06ff 100%)) !important;
    color:#fff !important;
    border-color:rgba(255,255,255,.18) !important;
    box-shadow:0 3px 10px rgba(0,0,0,.42),0 3px 14px rgba(105,30,226,.32) !important;
}
html body article.mxplex-card .mxplex-card-trending-badge .fa-fire {
    margin-right:4px !important;
    color:#fff !important;
    font-size:.95em !important;
}

/* Compact, content-sized status pill with a small green update indicator. */
html body article.mxplex-card .mxplex-card-status {
    width:max-content !important;
    max-width:calc(100% - 20px) !important;
    left:10px !important;
    right:auto !important;
    padding:5px 9px !important;
    border:1px solid rgba(255,255,255,.12) !important;
    border-radius:8px !important;
    background:linear-gradient(135deg,#b73545 0%,#962536 100%) !important;
    box-shadow:0 3px 10px rgba(0,0,0,.42),0 3px 12px rgba(169,45,57,.22) !important;
    font-weight:700 !important;
}

/* Language and content-type chips use a deep translucent capsule treatment. */
html body article.mxplex-card .mxplex-card-language,
html body article.mxplex-card .mxplex-card-type {
    min-height:clamp(20px,10.8cqw,24px) !important;
    padding:4px clamp(7px,3.6cqw,9px) !important;
    border:1px solid rgba(255,255,255,.19) !important;
    border-radius:8px !important;
    background:rgba(4,5,10,.94) !important;
    color:#fff !important;
    font-weight:700 !important;
    box-shadow:0 3px 9px rgba(0,0,0,.43),inset 0 1px 0 rgba(255,255,255,.035) !important;
}

/* Refined compact footer: title remains one string, same style on both lines. */
html body article.mxplex-card .mxplex-card-data {
    padding:9px 10px 11px !important;
    border-top:1px solid rgba(255,255,255,.055) !important;
    background:#05060b !important;
}
html body article.mxplex-card .mxplex-card-title {
    min-height:2.6em !important;
    max-height:2.6em !important;
    font-size:15px !important;
    line-height:1.3 !important;
    font-weight:650 !important;
    letter-spacing:-.18px !important;
    color:#f7f8fc !important;
    -webkit-text-fill-color:#f7f8fc !important;
}
html body article.mxplex-card .mxplex-card-title::after {
    font:inherit !important;
    line-height:inherit !important;
    letter-spacing:inherit !important;
}

@media only screen and (max-width:768px) {
    html body article.mxplex-card .mxplex-card-data {
        padding:8px 9px 10px !important;
    }
    html body article.mxplex-card .mxplex-card-title {
        font-size:14px !important;
        line-height:1.3 !important;
        min-height:2.6em !important;
        max-height:2.6em !important;
    }
}
@media only screen and (max-width:480px) {
    html body article.mxplex-card .mxplex-card-data {
        padding:8px 8px 10px !important;
    }
    html body article.mxplex-card .mxplex-card-title {
        font-size:13.5px !important;
        line-height:1.3 !important;
    }
}

/* Restore the v2.19 shared card-row width: use the full available content
   width instead of applying the v2.20 1240px cap on wide desktop screens. */
@media only screen and (min-width:1280px) {
    html body .items.mxplex-card-grid,
    html body .items.mxplex-card-slider,
    html body .items.mx-related-grid {
        width:100% !important;
        max-width:none !important;
        margin-left:0 !important;
        margin-right:0 !important;
    }
}

/* Section icon treatment matched to the supplied reference, using the MXPLEX
   blue-to-purple brand gradient instead of the reference's red accent. */
.mxplex-home-section-heading {
    gap:12px !important;
}
.mxplex-section-icon {
    flex:0 0 40px !important;
    width:40px !important;
    height:40px !important;
    border:1px solid rgba(122,63,224,.48) !important;
    border-radius:13px !important;
    background:linear-gradient(145deg,rgba(5,136,255,.12) 0%,rgba(122,63,224,.12) 100%) !important;
    box-shadow:0 0 0 1px rgba(255,255,255,.018),0 4px 15px rgba(83,98,234,.13),inset 0 1px 0 rgba(255,255,255,.045) !important;
}
.mxplex-section-icon .mx-nav-icon {
    width:20px !important;
    height:20px !important;
    min-width:20px !important;
    font-size:19px !important;
    line-height:20px !important;
    color:transparent !important;
    background:var(--mx-gradient,linear-gradient(135deg,#0588ff 0%,#7a3fe0 100%)) !important;
    -webkit-background-clip:text !important;
    background-clip:text !important;
    -webkit-text-fill-color:transparent !important;
}
/* The clapperboard is rendered as a CSS mask, so paint its mask with the same
   gradient rather than applying text clipping to an empty glyph. */
.mxplex-section-icon .mx-nav-icon.fa-clapperboard {
    width:20px !important;
    height:20px !important;
    min-width:20px !important;
    background-color:transparent !important;
    background-image:var(--mx-gradient,linear-gradient(135deg,#0588ff 0%,#7a3fe0 100%)) !important;
    -webkit-text-fill-color:initial !important;
}
@media only screen and (max-width:768px) {
    .mxplex-home-section-heading {
        gap:9px !important;
    }
    .mxplex-section-icon {
        flex:0 0 36px !important;
        width:36px !important;
        height:36px !important;
        border-radius:11px !important;
    }
    .mxplex-section-icon .mx-nav-icon {
        width:18px !important;
        height:18px !important;
        min-width:18px !important;
        font-size:17px !important;
        line-height:18px !important;
    }
    .mxplex-section-icon .mx-nav-icon.fa-clapperboard {
        font-size:0 !important;
    }
}


/* =========================================================
 * MXPLEX v2.22 — card badge alignment, clean badge edges,
 * light-blue title hover and navigation-matched section icons.
 * ========================================================= */

/* Center every card pill's contents consistently, including the update dot. */
html body article.mxplex-card .mxplex-card-rating,
html body article.mxplex-card .mxplex-card-quality-badge,
html body article.mxplex-card .mxplex-card-trending-badge,
html body article.mxplex-card .mxplex-card-status,
html body article.mxplex-card .mxplex-card-language,
html body article.mxplex-card .mxplex-card-type {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    vertical-align:middle !important;
    line-height:1.05 !important;
    box-sizing:border-box !important;
}

html body article.mxplex-card .mxplex-card-rating,
html body article.mxplex-card .mxplex-card-quality-badge,
html body article.mxplex-card .mxplex-card-trending-badge {
    border:0 !important;
    outline:0 !important;
    padding-top:4px !important;
    padding-bottom:4px !important;
}

/* Retain soft depth, but remove the inset ring that looked like a border. */
html body article.mxplex-card .mxplex-card-rating {
    border-color:transparent !important;
    box-shadow:0 3px 8px rgba(0,0,0,.38),0 3px 12px rgba(244,189,34,.16) !important;
}
html body article.mxplex-card .mxplex-card-quality-badge {
    border-color:transparent !important;
    box-shadow:0 3px 9px rgba(0,0,0,.38),0 3px 12px rgba(181,42,59,.20) !important;
}
html body article.mxplex-card .mxplex-card-trending-badge {
    border-color:transparent !important;
    box-shadow:0 3px 10px rgba(0,0,0,.38),0 3px 14px rgba(105,30,226,.26) !important;
}
html body article.mxplex-card .mxplex-card-rating .fa-star,
html body article.mxplex-card .mxplex-card-trending-badge .fa-fire {
    display:inline-block !important;
    flex:0 0 auto !important;
    align-self:center !important;
    line-height:1 !important;
    vertical-align:middle !important;
    margin-top:0 !important;
    margin-bottom:0 !important;
}
html body article.mxplex-card .mxplex-card-rating .fa-star {
    margin-right:4px !important;
}
html body article.mxplex-card .mxplex-card-trending-badge .fa-fire {
    margin-right:4px !important;
}
html body article.mxplex-card .mxplex-card-status {
    justify-content:center !important;
    gap:6px !important;
    line-height:1.1 !important;
    text-align:center !important;
}
html body article.mxplex-card .mxplex-card-status::before {
    flex:0 0 clamp(6px,3cqw,8px) !important;
    margin:0 !important;
    align-self:center !important;
}

/* Use a single MXPLEX blue tint on hover instead of the old gradient overlay. */
html body article.mxplex-card .mxplex-card-title::after {
    content:none !important;
    display:none !important;
}
html body article.mxplex-card:hover .mxplex-card-title {
    color:#69baff !important;
    background:none !important;
    background-image:none !important;
    -webkit-text-fill-color:#69baff !important;
    -webkit-background-clip:border-box !important;
    background-clip:border-box !important;
}

/*
 * Section icons use the exact same Font Awesome class names as the header
 * navigation (TV: fas fa-tv; Anime: fas fa-clapperboard). Apply gradient to
 * the actual Font Awesome glyph pseudo-element, not its empty parent element.
 */
.mxplex-section-icon .mx-nav-icon {
    display:inline-block !important;
    flex:0 0 20px !important;
    width:20px !important;
    height:20px !important;
    min-width:20px !important;
    margin:0 !important;
    padding:0 !important;
    color:inherit !important;
    background:none !important;
    -webkit-text-fill-color:initial !important;
    font-size:19px !important;
    font-style:normal !important;
    font-weight:900 !important;
    line-height:1 !important;
    text-align:center !important;
    vertical-align:middle !important;
}
.mxplex-section-icon .mx-nav-icon:not(.fa-clapperboard)::before {
    display:inline-block !important;
    background-image:var(--mx-gradient,linear-gradient(135deg,#0588ff 0%,#7a3fe0 100%)) !important;
    background-clip:text !important;
    -webkit-background-clip:text !important;
    color:transparent !important;
    -webkit-text-fill-color:transparent !important;
    line-height:1 !important;
}
.mxplex-section-icon .mx-nav-icon.fa-clapperboard {
    display:inline-block !important;
    flex:0 0 20px !important;
    width:20px !important;
    height:20px !important;
    min-width:20px !important;
    font-size:0 !important;
    line-height:0 !important;
    background-color:transparent !important;
    background-image:var(--mx-gradient,linear-gradient(135deg,#0588ff 0%,#7a3fe0 100%)) !important;
    background-clip:border-box !important;
    -webkit-background-clip:border-box !important;
    -webkit-text-fill-color:initial !important;
    -webkit-mask-position:center !important;
    mask-position:center !important;
    -webkit-mask-size:contain !important;
    mask-size:contain !important;
    -webkit-mask-repeat:no-repeat !important;
    mask-repeat:no-repeat !important;
}
@media only screen and (max-width:768px) {
    .mxplex-section-icon .mx-nav-icon {
        flex-basis:18px !important;
        width:18px !important;
        height:18px !important;
        min-width:18px !important;
        font-size:17px !important;
    }
    .mxplex-section-icon .mx-nav-icon.fa-clapperboard {
        flex-basis:18px !important;
        width:18px !important;
        height:18px !important;
        min-width:18px !important;
        font-size:0 !important;
    }
}


/* MXPLEX v2.24 — optically center the rating value beside its star. */
html body article.mxplex-card .mxplex-card-rating-value {
    display:inline-block !important;
    position:relative !important;
    top:1px !important;
    line-height:1 !important;
    vertical-align:middle !important;
}


/* =========================================================
 * MXPLEX v2.25 — remove card hover/poster gradient overlays.
 * Keep the existing image zoom and single-color title hover.
 * ========================================================= */
html body article.mxplex-card .mxplex-card-poster::before,
html body article.mxplex-card .mxplex-card-poster::after,
html body article.mxplex-card .mxplex-card-data::before,
html body article.mxplex-card .mxplex-card-data::after,
html body article.mxplex-card .mxplex-card-title::before,
html body article.mxplex-card .mxplex-card-title::after,
html body article.mxplex-card .mxplex-card-link::before,
html body article.mxplex-card .mxplex-card-link::after {
    content:none !important;
    display:none !important;
    background:none !important;
    background-image:none !important;
    box-shadow:none !important;
}

html body article.mxplex-card .mxplex-card-poster,
html body article.mxplex-card:hover .mxplex-card-poster,
html body article.mxplex-card .mxplex-card-data,
html body article.mxplex-card:hover .mxplex-card-data,
html body article.mxplex-card .mxplex-card-link,
html body article.mxplex-card .mxplex-card-link:hover {
    background-image:none !important;
}


/* =========================================================
 * MXPLEX v2.26 — hard-disable legacy poster hover shading.
 * The original DooPlay front.style.min.css applies blur/brightness to
 * .poster:hover > img. Keep poster zoom, but never dim or tint the artwork.
 * ========================================================= */
html body article.item.mxplex-card .poster.mxplex-card-poster::before,
html body article.item.mxplex-card .poster.mxplex-card-poster::after,
html body article.item.mxplex-card:hover .poster.mxplex-card-poster::before,
html body article.item.mxplex-card:hover .poster.mxplex-card-poster::after,
html body article.item.mxplex-card:focus-within .poster.mxplex-card-poster::before,
html body article.item.mxplex-card:focus-within .poster.mxplex-card-poster::after {
    content:none !important;
    display:none !important;
    opacity:0 !important;
    background:transparent !important;
    background-image:none !important;
    box-shadow:none !important;
    filter:none !important;
    -webkit-filter:none !important;
}
html body article.item.mxplex-card .poster.mxplex-card-poster,
html body article.item.mxplex-card:hover .poster.mxplex-card-poster,
html body article.item.mxplex-card:focus-within .poster.mxplex-card-poster {
    background-image:none !important;
    box-shadow:none !important;
    filter:none !important;
    -webkit-filter:none !important;
}
html body article.item.mxplex-card .poster.mxplex-card-poster > img,
html body article.item.mxplex-card:hover .poster.mxplex-card-poster > img,
html body article.item.mxplex-card:focus-within .poster.mxplex-card-poster > img {
    filter:none !important;
    -webkit-filter:none !important;
}


/* MXPLEX v2.29 — responsive TMDB poster art direction. Desktop stays w500;
   mobile source uses w342. Keep the picture wrapper identical to the old img box. */
html body article.mxplex-card .mxplex-card-poster > picture.mxplex-card-picture {
    position:absolute !important;
    inset:0 !important;
    display:block !important;
    width:100% !important;
    height:100% !important;
    overflow:hidden !important;
}
html body article.mxplex-card .mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image {
    position:absolute !important;
    inset:0 !important;
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    margin:0 !important;
    object-fit:cover !important;
    object-position:center center !important;
    transform:scale(1) !important;
    -webkit-transform:scale(1) !important;
    filter:none !important;
    -webkit-filter:none !important;
    transition:transform .36s cubic-bezier(.2,.65,.3,1) !important;
    -webkit-transition:-webkit-transform .36s cubic-bezier(.2,.65,.3,1) !important;
}
@media (hover:hover) and (pointer:fine) {
    html body article.mxplex-card:hover .mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image {
        transform:scale(1.055) !important;
        -webkit-transform:scale(1.055) !important;
    }
}
html body article.mxplex-card:focus-within:not(:hover) .mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image {
    transform:scale(1) !important;
    -webkit-transform:scale(1) !important;
}

/* =========================================================
 * MXPLEX v2.30 — authoritative shared poster zoom.
 * The card image is now nested inside <picture> for responsive TMDB sources.
 * Keep the card and text stationary; zoom only the poster artwork. The
 * hover/active selectors work for desktop pointers and touch interaction.
 * ========================================================= */
html body article.mxplex-card .mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
html body article.mxplex-card .mxplex-card-poster > img {
    display:block !important;
    transform:scale(1) !important;
    -webkit-transform:scale(1) !important;
    transform-origin:center center !important;
    -webkit-transform-origin:center center !important;
    transition:transform .38s cubic-bezier(.2,.65,.3,1) !important;
    -webkit-transition:-webkit-transform .38s cubic-bezier(.2,.65,.3,1) !important;
    backface-visibility:hidden !important;
    -webkit-backface-visibility:hidden !important;
}
html body article.mxplex-card:hover .mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
html body article.mxplex-card:active .mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
html body article.mxplex-card .mxplex-card-link:active .mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
html body article.mxplex-card:hover .mxplex-card-poster > img,
html body article.mxplex-card:active .mxplex-card-poster > img {
    transform:scale(1.075) !important;
    -webkit-transform:scale(1.075) !important;
}
html body article.mxplex-card .mxplex-card-poster,
html body article.mxplex-card .mxplex-card-poster > picture.mxplex-card-picture {
    overflow:hidden !important;
}

/* MXPLEX v2.31 — crisp homepage section titles (no offset/double-text shadow). */
html body .mxplex-home-section-heading h2,
html body .mxplex-home-section-heading h2::before,
html body .mxplex-home-section-heading h2::after {
    text-shadow:none !important;
    -webkit-text-stroke:0 transparent !important;
    filter:none !important;
}
html body .mxplex-home-section-heading h2::before,
html body .mxplex-home-section-heading h2::after {
    content:none !important;
    display:none !important;
}


/* =========================================================
 * MXPLEX v2.36 — unified card poster zoom on every frontend page.
 * The old homepage reset targeted `.poster > img`, but the current shared
 * renderer nests the image inside `<picture>`. These higher-specificity
 * rules override the legacy always-scaled V16/V17 image declarations.
 * Zoom only the artwork; card geometry, labels and title remain stationary.
 * ========================================================= */
html body .module .content .items article.item.mxplex-card.movies .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
html body .module .content .items article.item.mxplex-card.tvshows .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
html body .mxplex-card-grid article.item.mxplex-card.movies .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
html body .mxplex-card-grid article.item.mxplex-card.tvshows .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
html body.single-movies #single .srelacionados .mx-related-grid > article.item.mxplex-card.movies .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
html body.single-tvshows #single .srelacionados .mx-related-grid > article.item.mxplex-card.tvshows .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image {
    transform:scale(1) !important;
    -webkit-transform:scale(1) !important;
    transform-origin:center center !important;
    -webkit-transform-origin:center center !important;
    transition:transform .80s cubic-bezier(.22,.61,.36,1) !important;
    -webkit-transition:-webkit-transform .80s cubic-bezier(.22,.61,.36,1) !important;
    backface-visibility:hidden !important;
    -webkit-backface-visibility:hidden !important;
}

@media (hover:hover) and (pointer:fine) {
    html body .module .content .items article.item.mxplex-card.movies:hover .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
    html body .module .content .items article.item.mxplex-card.tvshows:hover .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
    html body .mxplex-card-grid article.item.mxplex-card.movies:hover .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
    html body .mxplex-card-grid article.item.mxplex-card.tvshows:hover .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
    html body.single-movies #single .srelacionados .mx-related-grid > article.item.mxplex-card.movies:hover .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
    html body.single-tvshows #single .srelacionados .mx-related-grid > article.item.mxplex-card.tvshows:hover .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image {
        transform:scale(1.10) !important;
        -webkit-transform:scale(1.10) !important;
        will-change:transform;
    }
}

@media (hover:none), (pointer:coarse) {
    html body .module .content .items article.item.mxplex-card.movies:active .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
    html body .module .content .items article.item.mxplex-card.tvshows:active .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
    html body .mxplex-card-grid article.item.mxplex-card.movies:active .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
    html body .mxplex-card-grid article.item.mxplex-card.tvshows:active .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
    html body.single-movies #single .srelacionados .mx-related-grid > article.item.mxplex-card.movies:active .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
    html body.single-tvshows #single .srelacionados .mx-related-grid > article.item.mxplex-card.tvshows:active .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
    html body .module .content .items article.item.mxplex-card.movies .mxplex-card-link:active .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image,
    html body .module .content .items article.item.mxplex-card.tvshows .mxplex-card-link:active .poster.mxplex-card-poster > picture.mxplex-card-picture > img.mxplex-card-image {
        transform:scale(1.10) !important;
        -webkit-transform:scale(1.10) !important;
        will-change:transform;
    }
}


/* MXPLEX v2.49 — mobile scroll paint optimization.
   Keep the existing dark surfaces and colors; remove only large-area backdrop
   blur filters that force repeated background sampling during touch scrolling. */
@media only screen and (max-width:768px) {
    html body .module,
    html body #single {
        -webkit-backdrop-filter:none !important;
        backdrop-filter:none !important;
    }
}
