/*
Theme Name: TopMoviz — pro
Theme URI: https://topmoviz.com/
Author: TopMoviz
Description: RTL Arabic movie and series WordPress theme styled to match the supplied TopMOVIZ reference design.
Version: 46.0.0
Text Domain: topmoviz-pro
Requires at least: 5.8
Requires PHP: 7.4
License: GPL-2.0-or-later
*/
:root{--tc-bg:#080b0f;--tc-panel:#101419;--tc-panel2:#151a20;--tc-line:#222830;--tc-text:#fff;--tc-muted:#a8adb4;--tc-red:#ff3443;--tc-red2:#ef2637;--tc-yellow:#ffd21c;--tc-width:1300px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--tc-bg);color:var(--tc-text);font-family:Arial,"Tahoma","Segoe UI",sans-serif;direction:rtl;font-size:14px}body:before{content:"";position:fixed;z-index:-2;inset:0;background:radial-gradient(circle at 50% 5%,rgba(55,63,73,.22),transparent 35%),linear-gradient(180deg,#0c1015 0,#080b0f 38%,#07090d 100%)}body:after{content:"";position:fixed;z-index:-1;inset:0;opacity:.16;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:44px 44px;pointer-events:none}.container{width:min(calc(100% - 64px),var(--tc-width));margin:auto}a{color:inherit;text-decoration:none}button,input{font:inherit}.site-main{min-height:60vh;padding-bottom:20px}.section-block{margin:28px 0 36px}

/* HEADER */
.tc-header{position:sticky;top:0;z-index:50;background:rgba(10,13,17,.96);border-bottom:1px solid #20252c;box-shadow:0 5px 25px rgba(0,0,0,.25)}.tc-header{transition:box-shadow .2s ease}body.admin-bar .tc-header{top:32px}@media (max-width:782px){body.admin-bar .tc-header{top:46px}}.tc-header:before{content:"";position:absolute;inset:0;opacity:.16;background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);pointer-events:none}.tc-header-inner{height:70px;display:flex;align-items:center;gap:24px}.tc-brand{width:145px;min-width:145px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;line-height:.78;font-weight:900;position:relative}.tc-brand-logo{max-width:145px;max-height:58px;width:auto;height:auto;object-fit:contain}.tc-logo-red{font-size:30px;color:var(--tc-red);letter-spacing:-2px}.tc-logo-white{font-size:29px;color:#fff;letter-spacing:-2px}.tc-brand small{width:100%;font-size:12px;font-weight:900;color:#eee;margin-top:6px}.tc-nav{flex:1;min-width:0}.tc-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;justify-content:center;gap:2px}.tc-menu>li{position:relative}.tc-menu a{display:flex;align-items:center;gap:7px;padding:24px 12px 21px;font-weight:900;font-size:14px;white-space:nowrap;border-bottom:2px solid transparent}.tc-menu>li:first-child>a:after{content:"";width:8px;height:8px;background:var(--tc-red);border-radius:50%;display:inline-block}.tc-menu li.menu-item-has-children>a:before{content:"\f078";font-family:"Font Awesome 6 Free";font-weight:900;font-size:9px;color:#bbb;order:-1}.tc-menu .sub-menu{position:absolute;top:100%;right:0;min-width:190px;padding:8px;margin:0;list-style:none;background:#11151a;border:1px solid #2a3037;border-radius:0 0 9px 9px;box-shadow:0 15px 35px rgba(0,0,0,.45);opacity:0;visibility:hidden;transform:translateY(7px);transition:.18s;z-index:80}.tc-menu li:hover>.sub-menu{opacity:1;visibility:visible;transform:none}.tc-menu .sub-menu a{padding:9px 12px;border:0;font-size:12px}.tc-actions{width:180px;min-width:180px;display:flex;align-items:center;justify-content:flex-start;gap:14px;direction:ltr}.tc-social{display:flex;align-items:center;gap:13px}.tc-social a{font-size:18px;color:#f5f5f5}.tc-theme-switcher{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #2a3037;background:rgba(17,21,26,.82);border-radius:24px;direction:ltr}.tc-theme-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:34px;height:34px;padding:0 8px;border:0;border-radius:18px;background:transparent;color:#aeb5bd;cursor:pointer;font-size:11px;font-weight:900;transition:background .18s ease,color .18s ease,transform .18s ease}.tc-theme-btn i{font-size:12px}.tc-theme-btn:hover{color:#fff;background:#1c2229}.tc-theme-btn.active{background:var(--tc-red);color:#fff;box-shadow:0 3px 12px rgba(255,52,67,.25)}.tc-search-toggle{width:43px;height:43px;border:0;border-radius:50%;background:var(--tc-red);color:#fff;display:grid;place-items:center;font-size:18px;box-shadow:0 5px 18px rgba(255,52,67,.25);cursor:pointer}.tc-mobile-toggle{display:none;width:40px;height:40px;border:1px solid #30363d;background:#15191e;color:#fff;border-radius:7px}.tc-search-panel{display:none;position:absolute;top:70px;left:0;right:0;background:#0d1116;padding:12px;border-top:1px solid #242a31;box-shadow:0 15px 25px rgba(0,0,0,.4)}.tc-search-panel.open{display:block}.tc-search-panel form{max-width:700px;margin:auto;display:flex;direction:ltr}.tc-search-panel input{flex:1;border:1px solid #30363d;background:#171b20;color:#fff;border-radius:8px 0 0 8px;padding:10px 13px;outline:0}.tc-search-panel button{width:50px;border:0;background:var(--tc-red);color:#fff;border-radius:0 8px 8px 0}
.tc-newsbar{background:rgba(15,19,24,.94);border-bottom:1px solid #1d232a}.tc-news-inner{min-height:64px;display:flex;align-items:center;gap:10px;position:relative}.tc-news-label{order:1;background:var(--tc-red);padding:8px 17px;border-radius:22px;font-weight:900;white-space:nowrap}.tc-news-label span{display:inline-block;width:8px;height:8px;background:#fff;border-radius:50%;margin-left:6px}.tc-news-text{order:2;flex:1;text-align:center;color:#e7e8ea;font-size:13px;font-weight:800;direction:ltr;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tc-discover{order:3;background:#8f0018;color:#fff;padding:8px 18px;border-radius:22px;font-weight:900;white-space:nowrap}.tc-premium{order:4;background:var(--tc-yellow);color:#141414;padding:8px 27px;border-radius:22px;font-weight:900;white-space:nowrap}

/* SECTION HEADINGS */
.tc-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;border-bottom:1px solid #20262d;padding:0 0 10px}.tc-section-title>div{display:flex;align-items:center;gap:8px}.tc-dot{width:9px;height:9px;background:var(--tc-red);border-radius:50%;display:inline-block}.tc-section-title h2{font-size:21px;line-height:1;margin:0;font-weight:900}.tc-section-title>a{border:1px solid #2b3138;border-radius:8px;padding:6px 13px;color:#d8dadd;font-size:12px;font-weight:800}.tc-section-title>a:hover{border-color:#4a515a;color:#fff}

/* CARDS */
.tc-featured-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.tc-grid{display:grid;gap:10px}.tc-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}.tc-grid-6{grid-template-columns:repeat(6,minmax(0,1fr))}.tc-split-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:14px;align-items:start;direction:ltr}.tc-main-grid,.tc-sidebar{direction:rtl}.tc-card{min-width:0}.tc-card-link{display:block}.tc-poster{position:relative;aspect-ratio:2/3;border-radius:11px;overflow:hidden;background:#12161b;box-shadow:0 5px 16px rgba(0,0,0,.32);isolation:isolate}.tc-poster:after{content:"";position:absolute;z-index:1;inset:30% 0 0;background:linear-gradient(180deg,transparent 5%,rgba(0,0,0,.08) 28%,rgba(0,0,0,.9) 94%,#000 100%);pointer-events:none}.tc-poster img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s,filter .35s}.tc-card:hover .tc-poster img{transform:scale(1.045);filter:brightness(.86)}.tc-placeholder{height:100%;display:grid;place-items:center;font-size:48px;color:#59606a}.tc-card-badges{position:absolute;z-index:4;inset:9px 8px auto;min-height:70px}.tc-type-badge{position:absolute;right:0;top:0;background:var(--tc-yellow);color:#161616;border-radius:8px;padding:3px 9px;font-size:11px;font-weight:900;box-shadow:0 2px 7px rgba(0,0,0,.4)}.tc-quality-badge{position:absolute;right:0;top:34px;background:rgba(34,38,43,.86);color:#fff;border-radius:8px;padding:3px 8px;font-size:10px;font-weight:900;backdrop-filter:blur(2px)}.tc-rating{position:absolute;right:0;top:59px;background:rgba(40,43,47,.82);color:#f6f6f6;border-radius:8px;padding:2px 7px;font-size:10px;font-weight:900}.tc-rating i{color:var(--tc-yellow);font-size:9px}.tc-ribbon{position:absolute;z-index:5;top:16px;left:-42px;width:150px;padding:5px 0;text-align:center;background:var(--tc-red);color:#fff;font-size:10px;font-weight:900;transform:rotate(-45deg);box-shadow:0 3px 10px rgba(0,0,0,.35)}.tc-card-bottom{position:absolute;z-index:4;right:0;left:0;bottom:0;padding:28px 9px 11px;text-align:center}.tc-card-bottom strong{display:block;font-size:13px;line-height:1.55;font-weight:900;text-shadow:0 2px 6px #000}.tc-card-bottom span{display:block;margin-top:2px;font-size:10px;color:#ddd;font-weight:700;text-shadow:0 2px 5px #000}

/* SIDEBAR */
.tc-sidebar{background:rgba(16,20,25,.82);border:1px solid #1f252c;border-radius:10px;padding:12px;overflow:hidden}.tc-sidebar-head{display:flex;align-items:center;justify-content:space-between;padding:0 1px 11px;border-bottom:1px solid #252b32}.tc-sidebar-head h3{margin:0;font-size:18px;font-weight:900}.tc-mini-logo{text-align:center;line-height:.8}.tc-mini-logo b{display:block;color:var(--tc-red);font-size:20px}.tc-mini-logo small{font-size:8px;color:#ddd;font-weight:900}.tc-sidebar-list{display:flex;flex-direction:column}.tc-side-item{min-height:74px;display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #252a30}.tc-side-item:last-child{border-bottom:0}.tc-side-item img{grid-column:2;width:100px;height:63px;object-fit:cover;border-radius:8px}.tc-side-copy{grid-column:1;text-align:right}.tc-side-copy b{display:block;font-size:11px;line-height:1.55;font-weight:900}.tc-side-copy small{display:block;color:#c1c5ca;font-size:9px;margin-top:3px}

/* GENERAL */
.empty{padding:45px;text-align:center;color:#aeb4bb;border:1px solid #252b32;background:#11151a;border-radius:10px}.archive-head{font-size:24px;margin:25px 0 15px;padding:12px 15px;background:#101419;border-right:4px solid var(--tc-red);border-radius:8px}.pagination{display:flex;justify-content:center;gap:6px;margin:28px 0}.pagination a,.pagination span{padding:6px 12px;border:1px solid #2a3037;border-radius:7px}.pagination .current{background:var(--tc-red);border-color:var(--tc-red)}

/* SINGLE */
.breadcrumb{margin:18px 0;padding:9px 12px;border:1px solid #232930;background:#101419;border-radius:8px;color:#bfc4ca}.single-layout{display:grid;grid-template-columns:285px minmax(0,1fr);gap:18px;direction:rtl;align-items:start}.single-layout>*{direction:rtl}.sidebar{position:-webkit-sticky !important;position:sticky !important;top:110px;align-self:start;height:max-content}.sidebar .poster{position:relative}.sidebar .poster img{display:block;width:100%;height:auto;max-height:calc(100vh - 150px);object-fit:cover}.post-box{background:#101419;border:1px solid #242a31;border-radius:10px;padding:12px;margin-bottom:12px}.poster{padding:0;overflow:hidden}.poster img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover}.content-chip,.ep-chip{text-align:center;background:#11161b;border:1px solid #282e35;border-radius:8px;padding:8px;margin-top:8px;font-weight:900}.watch-cta{display:flex;justify-content:space-between;align-items:center;background:var(--tc-red);border-radius:8px;margin-top:9px;overflow:hidden}.watch-cta span{padding:10px 12px;font-weight:900}.watch-cta i{padding:0 15px}.single-content{min-width:0}.post-topbar{display:flex;justify-content:space-between;color:#9da4ac;font-size:11px;border-bottom:1px solid #242a30;padding-bottom:8px}.share{display:flex;gap:6px;margin:10px 0;direction:ltr}.share a{padding:5px 10px;border-radius:7px;font-size:11px;background:#171c21}.single-title{margin:0 0 12px;padding:10px 13px;border-right:4px solid var(--tc-red);background:#101419;border-radius:8px;font-size:24px}.synopsis{color:#d8dce0}.meta-box{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #252b32;border-radius:9px;overflow:hidden;margin-bottom:12px}.meta-box>div{padding:9px 10px;border-left:1px solid #252b32;border-bottom:1px solid #252b32}.meta-box b{display:block;color:#8f969e;font-size:9px}.meta-box span{display:block;font-weight:800}.watch-tabs{display:flex;flex-wrap:wrap;border:1px solid #252b32;background:#101419;border-radius:8px;overflow:hidden}.watch-tabs a{padding:9px 13px;font-weight:800}.watch-tabs a.active,.watch-tabs a:hover{background:var(--tc-red)}.player{background:#050608;border:1px solid #22272e;border-radius:8px;min-height:470px;margin-top:10px;display:flex;align-items:center;justify-content:center;overflow:hidden}.player iframe{width:100%;height:620px;border:0}.server-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.server{border:1px solid #252b32;background:#101419;border-radius:8px;overflow:hidden;text-align:center}.server strong,.server .quality{display:block;padding:8px;border-bottom:1px solid #252b32}.server a{display:block;padding:8px;background:#b80f1b;font-weight:900}.episodes{display:grid;grid-template-columns:repeat(8,1fr);gap:8px}.episode{padding:7px;text-align:center;background:#101419;border:1px solid #252b32;border-radius:7px}.episode.current{background:var(--tc-red);border-color:var(--tc-red)}

/* FOOTER */
.site-footer{margin-top:35px;background:#080a0d;border-top:1px solid #20252c;padding:30px 0 26px}.footer-types{margin:0}.footer-types-head .head-kicker{display:block;margin-bottom:8px;color:#9da5ae;font-size:12px;line-height:1;font-weight:800;letter-spacing:.4px;text-transform:uppercase}.footer-types-head h2{margin:0;font-size:22px;line-height:1.3;font-weight:900;letter-spacing:-.2px}.footer-divider{height:1px;background:#20252c;margin:27px 0}.genre-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.genre{display:flex;justify-content:space-between;align-items:center;min-height:38px;padding:9px 12px;border:1px solid #252b32;background:#101419;border-radius:8px;font-size:13px;font-weight:800;line-height:1.2;transition:border-color .18s ease,background .18s ease,transform .18s ease}.genre:hover{border-color:#3a424c;background:#151a20;transform:translateY(-1px)}.genre i{font-size:10px;color:#aeb5bd;flex:0 0 auto;margin-left:10px}.footer-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.social{display:flex;gap:8px}.social a{width:38px;height:38px;border:1px solid #343a42;border-radius:50%;display:grid;place-items:center}.footer-copy{color:#9fa5ad;font-size:11px;font-weight:700;line-height:1.5}.footer-links{font-weight:900;font-size:13px}

/* RESPONSIVE */
@media(max-width:1180px){.container{width:min(calc(100% - 38px),var(--tc-width))}.tc-menu a{padding-inline:7px;font-size:12px}.tc-actions{width:155px;min-width:155px}.tc-featured-grid{gap:10px}.tc-split-layout{grid-template-columns:minmax(0,1fr) 300px}.tc-grid-5{gap:8px}.tc-sidebar{padding:9px}.tc-side-item{grid-template-columns:minmax(0,1fr) 78px}.tc-side-item img{width:78px;height:58px}.tc-grid-6{gap:8px}}
@media(max-width:900px){.tc-header-inner{height:62px}.tc-brand{width:125px;min-width:125px}.tc-brand-logo{max-width:125px;max-height:50px}.tc-nav{position:absolute;top:62px;right:0;left:0;display:none;background:#0e1217;border-bottom:1px solid #252b31}.tc-nav.open{display:block}.tc-menu{display:block}.tc-menu a{padding:11px 18px;border-bottom:1px solid #22272e}.tc-menu .sub-menu{position:static;display:block;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;border-radius:0;padding:0 14px;background:#0a0d11}.tc-actions{margin-right:auto;width:auto;min-width:auto}.tc-theme-switcher{order:0}.tc-theme-btn{min-width:32px;padding:0 7px}.tc-mobile-toggle{display:grid;place-items:center}.tc-news-inner{min-height:55px}.tc-news-text{font-size:11px}.tc-premium{display:none}.tc-discover{padding:7px 12px}.tc-split-layout{grid-template-columns:1fr}.tc-sidebar{order:2}.tc-main-grid{order:1}.tc-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}.single-layout{grid-template-columns:1fr}.sidebar{position:static}.meta-box{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.footer-types-head h2{font-size:19px}.footer-types-head .head-kicker{font-size:10px}.genre{font-size:12px;min-height:40px;padding:10px 11px} .container{width:calc(100% - 18px)}.tc-header-inner{gap:10px}.tc-brand{width:110px;min-width:110px}.tc-logo-red{font-size:23px}.tc-logo-white{font-size:22px}.tc-brand small{font-size:9px;margin-top:5px}.tc-social{gap:8px}.tc-social a{font-size:16px}.tc-theme-switcher{gap:2px;padding:3px}.tc-theme-btn{height:32px;min-width:31px;padding:0 6px;font-size:9px}.tc-theme-btn span{display:none}.tc-search-toggle{width:39px;height:39px}.tc-news-inner{gap:5px}.tc-news-label{font-size:10px;padding:7px 10px}.tc-discover{font-size:10px;padding:7px 9px}.tc-featured-grid{grid-template-columns:repeat(2,1fr);gap:9px}.tc-grid-5,.tc-grid-6{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tc-section-title h2{font-size:18px}.tc-section-title>a{font-size:10px;padding:5px 9px}.tc-card-bottom strong{font-size:12px}.tc-quality-badge,.tc-rating,.tc-type-badge{font-size:9px}.tc-ribbon{font-size:8px}.genre-grid{grid-template-columns:repeat(2,1fr)}.footer-row{flex-direction:column}.episodes{grid-template-columns:repeat(4,1fr)}.server-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:390px){.tc-social{display:none}.tc-card-bottom{padding-inline:6px}.tc-card-bottom strong{font-size:11px}.tc-type-badge{padding:2px 6px}.tc-quality-badge{top:30px;padding:2px 5px}.tc-rating{top:55px;padding:2px 5px}}
@media(max-width:900px){.single-layout .sidebar{position:static !important;top:auto}.sidebar .poster img{max-height:none}}
html[data-egy-theme="dark"] body{background:#111827;color:#f3f4f6}html[data-egy-theme="dark"] body:before{background:radial-gradient(circle at 50% 5%,rgba(37,61,93,.28),transparent 35%),linear-gradient(180deg,#182230 0,#111827 45%,#0d1420 100%)}html[data-egy-theme="dark"] .tc-header{background:rgba(20,29,42,.96);border-color:#344254}html[data-egy-theme="dark"] .tc-newsbar{background:rgba(23,32,45,.94);border-color:#344254}html[data-egy-theme="dark"] .tc-menu a,html[data-egy-theme="dark"] .tc-social a{color:#f0f3f7}html[data-egy-theme="dark"] .tc-sidebar,html[data-egy-theme="dark"] .tc-poster,html[data-egy-theme="dark"] .archive-head,html[data-egy-theme="dark"] .single-title,html[data-egy-theme="dark"] .post-box{background:#182230;border-color:#344254}html[data-egy-theme="dark"] .tc-theme-switcher{background:#111a27;border-color:#3a485b}html[data-egy-theme="dark"] .tc-theme-btn{color:#c3ccd8}html[data-egy-theme="dark"] .tc-theme-btn:hover{background:#243247;color:#fff}html[data-egy-theme="dark"] .tc-search-panel{background:#121c28}html[data-egy-theme="dark"] .tc-search-panel input{background:#1b2736;border-color:#3a485b;color:#fff}
html[data-egy-theme="light"] body{background:#f2f4f7;color:#20242a}html[data-egy-theme="light"] .tc-header,html[data-egy-theme="light"] .tc-newsbar{background:#fff;border-color:#d9dde3}html[data-egy-theme="light"] .tc-menu a{color:#20242a}html[data-egy-theme="light"] .tc-sidebar,html[data-egy-theme="light"] .tc-poster,html[data-egy-theme="light"] .archive-head,html[data-egy-theme="light"] .single-title,html[data-egy-theme="light"] .post-box{background:#fff}html[data-egy-theme="light"] .tc-card-bottom span{color:#eee}

/* =========================================================
   TopMOVIZ-style final refinement — v16
   ========================================================= */
.tc-brand{direction:ltr;flex-direction:row;gap:0;align-content:center;line-height:.8}
.tc-brand small{direction:rtl;display:block;flex-basis:100%;text-align:center}
.tc-logo-red{display:inline-block}
.tc-logo-white{display:inline-block}
.tc-nav{direction:rtl}
.tc-menu{direction:rtl;justify-content:center;flex-wrap:nowrap}
.tc-menu>li>a{position:relative}
.tc-menu>li:first-child>a:after{margin-right:6px;margin-left:0}
.tc-menu .sub-menu{z-index:200}
.tc-menu>li.menu-item-has-children:hover>.sub-menu,
.tc-menu>li.menu-item-has-children:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.tc-actions{direction:ltr}
.tc-social{direction:ltr}
.tc-header{overflow:visible}

/* Featured topics: this is the original pinned "المواضيع المميزة" content,
   displayed as a real horizontal carousel rather than a static grid. */
.tc-featured-slider{position:relative}
.tc-featured-viewport{overflow:hidden;padding:1px 8px 8px}
.tc-featured-track{display:flex;flex-direction:row-reverse;direction:ltr;gap:14px;will-change:transform;transition:transform .42s cubic-bezier(.22,.8,.24,1)}
.tc-featured-track>.tc-card{flex:0 0 calc((100% - 56px)/5);min-width:0}
.tc-slider-arrow{position:absolute;z-index:10;top:50%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:var(--tc-red);color:#fff;display:grid;place-items:center;box-shadow:0 5px 18px rgba(0,0,0,.5);cursor:pointer;transition:transform .2s,opacity .2s,background .2s}
.tc-slider-arrow:hover{background:#ff4756;transform:translateY(-50%) scale(1.05)}
.tc-slider-arrow:disabled{opacity:.28;cursor:default;transform:translateY(-50%)}
.tc-slider-prev{right:-5px}
.tc-slider-next{left:-5px}
.tc-featured-slider.is-static .tc-slider-arrow{display:none}

/* Use a slightly wider card surface, closer to the supplied desktop reference. */
.tc-poster{border-radius:10px}
.tc-card-bottom{padding:34px 10px 12px}
.tc-card-bottom strong{font-size:13px}
.tc-ribbon{top:17px}

/* The reference page uses a compact two-line news strip directly below the header. */
.tc-news-inner{gap:10px}
.tc-news-label,.tc-discover,.tc-premium{box-shadow:none}

@media(max-width:1180px){
  .tc-featured-track{gap:10px}
  .tc-featured-track>.tc-card{flex-basis:calc((100% - 30px)/4)}
  .tc-slider-arrow{width:40px;height:40px}
  .tc-slider-prev{right:-4px}
  .tc-slider-next{left:-4px}
}
@media(max-width:900px){
  .tc-header-inner{height:64px}
  .tc-menu{display:block}
  .tc-menu>li>a{justify-content:space-between}
  .tc-menu>li>.sub-menu{display:none;position:static;opacity:1;visibility:visible;transform:none;background:#0a0e12;padding:0 8px;border:0;border-radius:0}
  .tc-menu>li.submenu-open>.sub-menu{display:block}
  .tc-featured-track{gap:9px}
  .tc-featured-track>.tc-card{flex-basis:calc((100% - 18px)/3)}
  .tc-featured-viewport{padding-inline:20px}
  .tc-slider-prev{right:2px}
  .tc-slider-next{left:2px}
  .tc-split-layout{grid-template-columns:1fr}
}
@media(max-width:650px){
  .tc-header-inner{height:60px}
  .tc-brand{width:112px;min-width:112px}
  .tc-logo-red{font-size:22px}
  .tc-logo-white{font-size:21px}
  .tc-brand small{font-size:8px}
  .tc-featured-track{gap:9px}
  .tc-featured-track>.tc-card{flex-basis:calc((100% - 9px)/2)}
  .tc-featured-viewport{padding-inline:18px}
  .tc-slider-arrow{width:36px;height:36px;font-size:13px}
  .tc-slider-prev{right:0}
  .tc-slider-next{left:0}
  .tc-news-inner{min-height:52px}
}

/* =========================================================
   TOPMOVIZ HEADER V17 — rebuilt to avoid legacy CSS conflicts
   ========================================================= */
.tc-header{position:sticky!important;top:0!important;z-index:1000!important;overflow:visible!important;background:#0d1014!important;border-bottom:1px solid #222830!important;box-shadow:0 8px 24px rgba(0,0,0,.28)!important}
.tc-header:before{content:"";position:absolute;inset:0;opacity:.34;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.02),rgba(0,0,0,0) 35%,rgba(255,255,255,.025))!important}
body.admin-bar .tc-header{top:32px!important}
@media(max-width:782px){body.admin-bar .tc-header{top:46px!important}}
.tc-header-inner{width:min(1300px,calc(100% - 64px))!important;height:82px!important;margin:auto!important;display:flex!important;align-items:center!important;direction:rtl!important;gap:18px!important;position:relative!important}
.tc-brand{order:1!important;flex:0 0 150px!important;width:150px!important;min-width:150px!important;height:68px!important;display:flex!important;flex-wrap:wrap!important;align-content:center!important;align-items:baseline!important;justify-content:center!important;direction:ltr!important;line-height:.78!important;margin:0!important;padding:0!important;font-weight:900!important}
.tc-logo-red{font-size:31px!important;line-height:1!important;color:#ff3343!important;letter-spacing:-2.5px!important}
.tc-logo-white{font-size:30px!important;line-height:1!important;color:#f7f7f8!important;letter-spacing:-2px!important}
.tc-brand small{display:block!important;flex-basis:100%!important;text-align:center!important;direction:rtl!important;font-size:11px!important;line-height:1!important;font-weight:900!important;color:#efefef!important;margin-top:7px!important}
.tc-nav{order:2!important;flex:1 1 auto!important;min-width:0!important;height:82px!important;display:flex!important;align-items:center!important;direction:rtl!important;overflow:visible!important}
.tc-nav > ul.tc-menu{width:100%!important;height:100%!important;margin:0!important;padding:0!important;list-style:none!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;direction:rtl!important;flex-wrap:nowrap!important}
.tc-menu > li{position:relative!important;height:100%!important;display:flex!important;align-items:center!important;flex:0 0 auto!important}
.tc-menu > li > a{height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:0 13px!important;color:#fff!important;font-size:14px!important;font-weight:900!important;white-space:nowrap!important;border:0!important;background:transparent!important;border-bottom:2px solid transparent!important;line-height:1!important}
.tc-menu > li > a:hover{color:#fff!important;background:rgba(255,255,255,.035)!important;border-bottom-color:#ff3343!important}
.tc-menu > li.menu-item-has-children > a:before{content:""!important;display:inline-block!important;width:7px!important;height:7px!important;border-right:1.7px solid #bfc3c8!important;border-bottom:1.7px solid #bfc3c8!important;transform:rotate(45deg)!important;margin-right:2px!important;margin-top:-4px!important}
.tc-menu > li:first-child > a:after{content:""!important;width:8px!important;height:8px!important;background:#ff3343!important;border-radius:50%!important;display:inline-block!important;margin:0 1px 0 0!important;flex:0 0 auto!important}
.tc-menu .sub-menu{position:absolute!important;top:calc(100% - 1px)!important;right:0!important;display:block!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;transform:translateY(8px)!important;min-width:210px!important;max-width:260px!important;margin:0!important;padding:6px!important;list-style:none!important;background:#fff!important;border:0!important;border-radius:0 0 8px 8px!important;box-shadow:0 16px 32px rgba(0,0,0,.35)!important;transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;z-index:1200!important}
.tc-menu li:hover > .sub-menu,.tc-menu li:focus-within > .sub-menu{visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:translateY(0)!important}
.tc-menu .sub-menu li{display:block!important;position:relative!important;margin:0!important;padding:0!important}
.tc-menu .sub-menu a{width:100%!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;min-height:42px!important;padding:8px 13px!important;color:#222!important;background:#fff!important;border:0!important;border-bottom:1px solid #e7e7e7!important;font-size:12px!important;font-weight:700!important;white-space:nowrap!important}
.tc-menu .sub-menu li:last-child > a{border-bottom:0!important;border-radius:0 0 5px 5px!important}
.tc-menu .sub-menu a:hover{background:#f4f4f4!important;color:#111!important}
.tc-menu .sub-menu .sub-menu{top:0!important;right:calc(100% + 4px)!important;border-radius:8px!important}
.tc-actions{order:3!important;flex:0 0 auto!important;width:auto!important;min-width:176px!important;height:82px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:15px!important;direction:ltr!important}
.tc-social{display:flex!important;align-items:center!important;gap:14px!important;direction:ltr!important}
.tc-social a{display:grid!important;place-items:center!important;width:20px!important;height:28px!important;color:#fff!important;font-size:18px!important;opacity:1!important}
.tc-social a:hover{color:#ff3343!important}
.tc-search-toggle{width:46px!important;height:46px!important;border:0!important;border-radius:50%!important;background:#ff3343!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:19px!important;cursor:pointer!important;box-shadow:0 7px 20px rgba(255,51,67,.25)!important}
.tc-search-toggle:hover{background:#ff4654!important;transform:translateY(-1px)!important}
.tc-mobile-toggle{display:none!important}
.tc-search-panel{position:absolute!important;left:0!important;right:0!important;top:82px!important;z-index:1250!important;background:#0d1014!important;border-top:1px solid #242a31!important;padding:12px!important;box-shadow:0 16px 28px rgba(0,0,0,.38)!important}

/* News strip directly under the main header */
.tc-newsbar{background:#12171c!important;border-bottom:1px solid #252b31!important}
.tc-news-inner{width:min(1300px,calc(100% - 64px))!important;min-height:62px!important;display:flex!important;align-items:center!important;gap:10px!important;direction:rtl!important;margin:auto!important}
.tc-news-label{order:1!important;background:#ff3343!important;padding:8px 17px!important;border-radius:22px!important;font-size:13px!important;font-weight:900!important;white-space:nowrap!important}
.tc-news-text{order:2!important;flex:1 1 auto!important;text-align:center!important;color:#eceeef!important;font-size:12px!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tc-discover{order:3!important;background:#8f0018!important;color:#fff!important;padding:9px 20px!important;border-radius:22px!important;font-weight:900!important;white-space:nowrap!important}
.tc-premium{order:4!important;background:#ffd21c!important;color:#151515!important;padding:9px 26px!important;border-radius:22px!important;font-weight:900!important;white-space:nowrap!important}

/* Featured carousel: initial position must show the first five pinned cards */
.tc-featured-viewport{overflow:hidden!important;padding:1px 8px 8px!important}
.tc-featured-track{display:flex!important;flex-direction:row-reverse!important;direction:ltr!important;gap:14px!important;transform:translate3d(0,0,0);transition:transform .42s cubic-bezier(.22,.8,.24,1)!important}

@media(max-width:1180px){
  .tc-header-inner,.tc-news-inner{width:min(100% - 38px,1300px)!important}
  .tc-brand{flex-basis:132px!important;width:132px!important;min-width:132px!important}
  .tc-logo-red{font-size:28px!important}.tc-logo-white{font-size:27px!important}
  .tc-menu > li > a{padding-inline:9px!important;font-size:12px!important}
  .tc-actions{min-width:154px!important;gap:11px!important}.tc-social{gap:10px!important}
}
@media(max-width:900px){
  .tc-header-inner{height:64px!important;width:calc(100% - 28px)!important}
  .tc-brand{order:1!important;flex-basis:122px!important;width:122px!important;min-width:122px!important;height:64px!important}
  .tc-logo-red{font-size:25px!important}.tc-logo-white{font-size:24px!important}.tc-brand small{font-size:9px!important}
  .tc-nav{order:2!important;position:absolute!important;top:64px!important;right:0!important;left:0!important;height:auto!important;display:none!important;background:#0e1217!important;border-top:1px solid #252b31!important;border-bottom:1px solid #252b31!important;box-shadow:0 18px 30px rgba(0,0,0,.35)!important}
  .tc-nav.open{display:block!important}
  .tc-nav > ul.tc-menu{height:auto!important;display:block!important}
  .tc-menu > li{height:auto!important;display:block!important}
  .tc-menu > li > a{height:48px!important;justify-content:flex-start!important;padding:0 18px!important;border-bottom:1px solid #22272e!important}
  .tc-menu .sub-menu{position:static!important;display:none!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:none!important;min-width:0!important;max-width:none!important;background:#090d11!important;padding:0 9px!important;border-radius:0!important;box-shadow:none!important}
  .tc-menu > li.submenu-open > .sub-menu{display:block!important}
  .tc-menu .sub-menu a{min-height:42px!important;background:#11161b!important;color:#f4f4f4!important;border-bottom-color:#20262c!important}
  .tc-actions{order:3!important;min-width:auto!important;height:64px!important;margin-right:auto!important}
  .tc-mobile-toggle{order:4!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;border:1px solid #30363d!important;background:#151a20!important;color:#fff!important;border-radius:7px!important}
  .tc-news-inner{width:calc(100% - 28px)!important;min-height:56px!important}.tc-premium{display:none!important}.tc-news-text{font-size:11px!important}
}
@media(max-width:650px){
  .tc-header-inner{width:calc(100% - 18px)!important}.tc-brand{flex-basis:105px!important;width:105px!important;min-width:105px!important}.tc-logo-red{font-size:21px!important}.tc-logo-white{font-size:20px!important}.tc-brand small{font-size:8px!important}
  .tc-social{display:none!important}.tc-actions{gap:8px!important}.tc-search-toggle{width:39px!important;height:39px!important;font-size:16px!important}
  .tc-news-inner{width:calc(100% - 18px)!important;gap:6px!important}.tc-news-label{font-size:10px!important;padding:7px 10px!important}.tc-discover{font-size:10px!important;padding:7px 10px!important}.tc-news-text{font-size:10px!important}
}


/* =========================================================
   TOPMOVIZ HOME SPLIT — deterministic RTL placement
   large_first  => LARGE RIGHT / SMALL LEFT
   small_first  => SMALL RIGHT / LARGE LEFT
   ========================================================= */
.tc-feature-pair{display:grid!important;gap:12px!important;align-items:stretch!important;margin-top:18px!important;direction:ltr!important}
.tc-feature-pair.pair-large-first{grid-template-columns:390px minmax(0,1fr)!important}
.tc-feature-pair.pair-large-first .tc-small-panel{grid-column:1!important;grid-row:1!important}
.tc-feature-pair.pair-large-first .tc-large-panel{grid-column:2!important;grid-row:1!important}
.tc-feature-pair.pair-small-first{grid-template-columns:minmax(0,1fr) 390px!important}
.tc-feature-pair.pair-small-first .tc-large-panel{grid-column:1!important;grid-row:1!important}
.tc-feature-pair.pair-small-first .tc-small-panel{grid-column:2!important;grid-row:1!important}
.tc-large-panel,.tc-small-panel{background:#11161b!important;border:1px solid #20262d!important;border-radius:10px!important;overflow:hidden!important;box-shadow:0 5px 18px rgba(0,0,0,.16)!important;min-width:0!important;direction:rtl!important}
.tc-panel-head{padding:0 14px!important;border-bottom:1px solid #262c33!important;background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,0))!important}
.tc-panel-head .tc-section-title{margin:0!important;min-height:64px!important;border:0!important}
.tc-pair-grid{padding:14px!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}
.tc-small-list{padding:0 14px!important}
.tc-small-item{display:grid!important;grid-template-columns:minmax(0,1fr) 104px!important;gap:12px!important;align-items:center!important;direction:rtl!important;padding:13px 0!important;border-bottom:1px solid #262c33!important;text-decoration:none!important;color:#fff!important}
.tc-small-item:last-child{border-bottom:0!important}
.tc-small-item img{width:104px!important;height:72px!important;object-fit:cover!important;border-radius:7px!important;background:#0b0e12!important}
.tc-small-copy{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;text-align:right!important}
.tc-small-copy b{font-size:12px!important;line-height:1.55!important;color:#fff!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.tc-small-copy small{font-size:10px!important;color:#aeb4ba!important}
.tc-small-item:hover .tc-small-copy b{color:#fff!important}
@media(max-width:1180px){
  .tc-feature-pair.pair-large-first{grid-template-columns:330px minmax(0,1fr)!important}
  .tc-feature-pair.pair-small-first{grid-template-columns:minmax(0,1fr) 330px!important}
  .tc-pair-grid{gap:8px!important}
  .tc-small-item{grid-template-columns:minmax(0,1fr) 88px!important}
  .tc-small-item img{width:88px!important;height:62px!important}
}
@media(max-width:900px){
  .tc-feature-pair{display:flex!important;flex-direction:column!important;gap:12px!important;direction:rtl!important}
  .tc-feature-pair.pair-large-first .tc-large-panel{order:1!important}
  .tc-feature-pair.pair-large-first .tc-small-panel{order:2!important}
  .tc-feature-pair.pair-small-first .tc-small-panel{order:1!important}
  .tc-feature-pair.pair-small-first .tc-large-panel{order:2!important}
  .tc-feature-pair .tc-large-panel,.tc-feature-pair .tc-small-panel{width:100%!important;min-width:0!important}
  .tc-pair-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:650px){
  .tc-pair-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:9px!important}
  .tc-small-list{padding:0 10px!important}
  .tc-panel-head{padding:0 10px!important}
  .tc-small-item{grid-template-columns:minmax(0,1fr) 82px!important;gap:9px!important}
  .tc-small-item img{width:82px!important;height:58px!important}
  .tc-small-copy b{font-size:11px!important}
  .tc-small-copy small{font-size:9px!important}
}

/* =========================================================
   TOPMOVIZ CARD COLUMNS V24 — per-section card density
   Only affects card grids; all other layout/components remain unchanged.
   ========================================================= */
.tc-pair-grid.tc-cols-2,.tc-home-grid.tc-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.tc-pair-grid.tc-cols-3,.tc-home-grid.tc-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.tc-pair-grid.tc-cols-4,.tc-home-grid.tc-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.tc-pair-grid.tc-cols-5,.tc-home-grid.tc-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.tc-pair-grid.tc-cols-6,.tc-home-grid.tc-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))!important}
@media(max-width:900px){
  .tc-pair-grid.tc-cols-6,.tc-home-grid.tc-cols-6{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .tc-pair-grid.tc-cols-5,.tc-home-grid.tc-cols-5{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .tc-pair-grid.tc-cols-4,.tc-home-grid.tc-cols-4{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .tc-pair-grid.tc-cols-3,.tc-home-grid.tc-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .tc-pair-grid.tc-cols-2,.tc-home-grid.tc-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:650px){
  .tc-pair-grid.tc-cols-6,.tc-home-grid.tc-cols-6,
  .tc-pair-grid.tc-cols-5,.tc-home-grid.tc-cols-5,
  .tc-pair-grid.tc-cols-4,.tc-home-grid.tc-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .tc-pair-grid.tc-cols-3,.tc-home-grid.tc-cols-3{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .tc-pair-grid.tc-cols-2,.tc-home-grid.tc-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

html[data-egy-theme="night"] .tc-theme-btn[data-set-theme="night"],html[data-egy-theme="dark"] .tc-theme-btn[data-set-theme="dark"],html[data-egy-theme="light"] .tc-theme-btn[data-set-theme="light"]{background:var(--tc-red);color:#fff;box-shadow:0 3px 12px rgba(255,52,67,.25)}

/* =========================================================
   SINGLE RELATED POSTS — compact poster cards
   Keep the single layout/sticky poster unchanged; only the
   related-posts grid is affected.
   ========================================================= */
.related-posts > .grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:10px!important;
  padding:0!important;
  align-items:start!important;
}
.related-posts > .grid > .tc-card{min-width:0!important;width:auto!important}
.related-posts .tc-poster{aspect-ratio:2/3!important}
@media(max-width:1180px){
  .related-posts > .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .related-posts > .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:650px){
  .related-posts > .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* =========================================================
   SINGLE EPISODE NAV — clean 3-column RTL controls
   Previous = right, current = center, next = left.
   ========================================================= */
.episode-nav{
  display:grid!important;
  grid-template-columns:1fr auto 1fr!important;
  align-items:center!important;
  gap:10px!important;
  margin:10px 0 14px!important;
  direction:rtl!important;
}
.episode-nav>a,
.episode-nav>div,
.episode-nav>span{
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  border:1px solid #252b32!important;
  background:#101419!important;
  border-radius:8px!important;
  padding:9px 14px!important;
  color:#f2f4f6!important;
  font-size:14px!important;
  font-weight:800!important;
  text-decoration:none!important;
}
.episode-nav>a:first-child{justify-self:stretch!important}
.episode-nav>a:last-child{justify-self:stretch!important}
.episode-nav>div{
  min-width:112px!important;
  border-color:var(--tc-red)!important;
  background:var(--tc-red)!important;
  color:#fff!important;
}
.episode-nav>a:hover{
  background:#171d23!important;
  border-color:var(--tc-red)!important;
}
.episode-nav i{font-size:11px!important}
@media(max-width:650px){
  .episode-nav{grid-template-columns:1fr 1fr!important}
  .episode-nav>div{grid-column:1/-1;grid-row:1;min-width:0!important}
  .episode-nav>a:first-child{grid-column:1;grid-row:2}
  .episode-nav>a:last-child{grid-column:2;grid-row:2}
  .episode-nav>span{grid-row:2}
  .episode-nav>a,.episode-nav>div,.episode-nav>span{min-height:40px!important;font-size:12px!important;padding:8px 10px!important}
}

/* =========================================================
   ARCHIVE / CATEGORY / SEARCH BLOCKS — v31
   Same poster card system as the homepage, without changing
   the header, homepage sections, or single layout.
   ========================================================= */
.tc-archive{margin-top:24px}
.tc-archive-title{margin-bottom:14px}
.tc-archive-title h1{font-size:24px;line-height:1.2;margin:0;font-weight:900}
.tc-archive-count{color:#9da4ac;font-size:11px;font-weight:700}
.tc-archive-description{padding:11px 14px;margin-bottom:15px;border:1px solid #252b32;background:#101419;border-radius:9px;color:#c9cdd1;line-height:1.8}
.tc-archive-grid{display:grid!important;gap:12px!important;align-items:start}
.tc-archive-grid .tc-card{min-width:0!important;width:auto!important}
.tc-archive-grid .tc-poster{width:100%!important;aspect-ratio:2/3!important}
.tc-archive-grid.tc-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.tc-archive-grid.tc-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.tc-archive-grid.tc-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.tc-archive-grid.tc-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.tc-archive-grid.tc-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))!important}
@media(max-width:1180px){
  .tc-archive-grid.tc-cols-6,.tc-archive-grid.tc-cols-5{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .tc-archive-grid.tc-cols-4{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .tc-archive-grid.tc-cols-6,.tc-archive-grid.tc-cols-5,.tc-archive-grid.tc-cols-4{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .tc-archive-grid.tc-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:650px){
  .tc-archive-grid{gap:9px!important}
  .tc-archive-grid.tc-cols-6,.tc-archive-grid.tc-cols-5,.tc-archive-grid.tc-cols-4,.tc-archive-grid.tc-cols-3,.tc-archive-grid.tc-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .tc-archive-title h1{font-size:18px}
}
/* V32 — reusable WordPress page-template archives */
.tc-page-template .page-numbers{display:flex;justify-content:center;align-items:center;gap:7px;list-style:none;margin:28px 0;padding:0;flex-wrap:wrap}
.tc-page-template .page-numbers li{list-style:none;margin:0;padding:0}
.tc-page-template .page-numbers a,.tc-page-template .page-numbers span{display:block;padding:7px 12px;border:1px solid #2a3037;border-radius:7px;text-decoration:none;color:inherit;background:#101419}
.tc-page-template .page-numbers .current{background:var(--tc-red);border-color:var(--tc-red);color:#fff}

/* V33 — full visual palettes for the three site modes
   Night remains unchanged.
   Dark = full navy palette.
   Light = clean white palette.
*/
html[data-egy-theme="dark"]{
  --tc-bg:#071525;
  --tc-panel:#0d2136;
  --tc-panel2:#112a43;
  --tc-line:#28415a;
  --tc-text:#f6f9fc;
  --tc-muted:#b8c6d5;
}
html[data-egy-theme="dark"] body{
  background:#071525!important;
  color:#f6f9fc!important;
}
html[data-egy-theme="dark"] body:before{
  background:linear-gradient(180deg,#0a1d31 0,#071525 42%,#06111e 100%)!important;
}
html[data-egy-theme="dark"] body:after{opacity:.06!important}
html[data-egy-theme="dark"] a{color:inherit}
html[data-egy-theme="dark"] .tc-header,
html[data-egy-theme="dark"] .tc-newsbar,
html[data-egy-theme="dark"] .tc-search-panel,
html[data-egy-theme="dark"] .tc-sidebar,
html[data-egy-theme="dark"] .tc-large-panel,
html[data-egy-theme="dark"] .tc-small-panel,
html[data-egy-theme="dark"] .post-box,
html[data-egy-theme="dark"] .single-title,
html[data-egy-theme="dark"] .breadcrumb,
html[data-egy-theme="dark"] .archive-head,
html[data-egy-theme="dark"] .tc-archive-description,
html[data-egy-theme="dark"] .empty,
html[data-egy-theme="dark"] .watch-tabs,
html[data-egy-theme="dark"] .server,
html[data-egy-theme="dark"] .episode,
html[data-egy-theme="dark"] .genre,
html[data-egy-theme="dark"] .site-footer{
  background:#0d2136!important;
  border-color:#28415a!important;
  color:#f6f9fc!important;
}
html[data-egy-theme="dark"] .tc-panel-head,
html[data-egy-theme="dark"] .tc-section-title,
html[data-egy-theme="dark"] .tc-sidebar-head,
html[data-egy-theme="dark"] .tc-side-item,
html[data-egy-theme="dark"] .tc-small-item,
html[data-egy-theme="dark"] .footer-divider,
html[data-egy-theme="dark"] .meta-box>div,
html[data-egy-theme="dark"] .post-topbar{
  border-color:#28415a!important;
}
html[data-egy-theme="dark"] .tc-menu>li>a,
html[data-egy-theme="dark"] .tc-social a,
html[data-egy-theme="dark"] .tc-brand small,
html[data-egy-theme="dark"] .tc-card-bottom strong,
html[data-egy-theme="dark"] .tc-small-copy b,
html[data-egy-theme="dark"] .tc-side-copy b,
html[data-egy-theme="dark"] .footer-links,
html[data-egy-theme="dark"] .meta-box span,
html[data-egy-theme="dark"] .synopsis{
  color:#f6f9fc!important;
}
html[data-egy-theme="dark"] .tc-muted,
html[data-egy-theme="dark"] .tc-archive-count,
html[data-egy-theme="dark"] .tc-side-copy small,
html[data-egy-theme="dark"] .tc-small-copy small,
html[data-egy-theme="dark"] .footer-copy,
html[data-egy-theme="dark"] .meta-box b,
html[data-egy-theme="dark"] .post-topbar{
  color:#b8c6d5!important;
}
html[data-egy-theme="dark"] .tc-poster,
html[data-egy-theme="dark"] .tc-placeholder{
  background:#0a1b2d!important;
}
html[data-egy-theme="dark"] .tc-theme-switcher{background:#091a2b!important;border-color:#34516d!important}
html[data-egy-theme="dark"] .tc-theme-btn{color:#c5d1dd!important}
html[data-egy-theme="dark"] .tc-theme-btn:hover{background:#16334f!important;color:#fff!important}
html[data-egy-theme="dark"] .tc-search-panel input,
html[data-egy-theme="dark"] .tc-search-panel select,
html[data-egy-theme="dark"] input,
html[data-egy-theme="dark"] select,
html[data-egy-theme="dark"] textarea{
  background:#102943!important;
  color:#fff!important;
  border-color:#34516d!important;
}
html[data-egy-theme="dark"] .tc-menu .sub-menu{background:#0d2136!important;border-color:#28415a!important}
html[data-egy-theme="dark"] .tc-menu .sub-menu a{background:#0d2136!important;color:#f6f9fc!important;border-color:#28415a!important}
html[data-egy-theme="dark"] .tc-menu .sub-menu a:hover{background:#16334f!important}
html[data-egy-theme="dark"] .tc-section-title>a,
html[data-egy-theme="dark"] .page-numbers a,
html[data-egy-theme="dark"] .page-numbers span{
  background:#102943!important;border-color:#34516d!important;color:#f6f9fc!important;
}
html[data-egy-theme="dark"] .tc-side-item,
html[data-egy-theme="dark"] .tc-small-item{
  background:transparent!important;
}
html[data-egy-theme="dark"] .share a,
html[data-egy-theme="dark"] .content-chip,
html[data-egy-theme="dark"] .ep-chip{
  background:#102943!important;border-color:#34516d!important;color:#f6f9fc!important;
}
html[data-egy-theme="dark"] .player{background:#06111e!important;border-color:#28415a!important}

html[data-egy-theme="light"]{
  --tc-bg:#fff;
  --tc-panel:#fff;
  --tc-panel2:#fff;
  --tc-line:#e3e7ec;
  --tc-text:#161a1f;
  --tc-muted:#68717b;
}
html[data-egy-theme="light"] body{
  background:#fff!important;
  color:#161a1f!important;
}
html[data-egy-theme="light"] body:before,
html[data-egy-theme="light"] body:after{display:none!important}
html[data-egy-theme="light"] a{color:inherit}
html[data-egy-theme="light"] .tc-header,
html[data-egy-theme="light"] .tc-newsbar,
html[data-egy-theme="light"] .tc-search-panel,
html[data-egy-theme="light"] .tc-sidebar,
html[data-egy-theme="light"] .tc-large-panel,
html[data-egy-theme="light"] .tc-small-panel,
html[data-egy-theme="light"] .post-box,
html[data-egy-theme="light"] .single-title,
html[data-egy-theme="light"] .breadcrumb,
html[data-egy-theme="light"] .archive-head,
html[data-egy-theme="light"] .tc-archive-description,
html[data-egy-theme="light"] .empty,
html[data-egy-theme="light"] .watch-tabs,
html[data-egy-theme="light"] .server,
html[data-egy-theme="light"] .episode,
html[data-egy-theme="light"] .genre,
html[data-egy-theme="light"] .site-footer{
  background:#fff!important;
  border-color:#dfe3e8!important;
  color:#161a1f!important;
}
html[data-egy-theme="light"] .tc-panel-head,
html[data-egy-theme="light"] .tc-section-title,
html[data-egy-theme="light"] .tc-sidebar-head,
html[data-egy-theme="light"] .tc-side-item,
html[data-egy-theme="light"] .tc-small-item,
html[data-egy-theme="light"] .footer-divider,
html[data-egy-theme="light"] .meta-box>div,
html[data-egy-theme="light"] .post-topbar{
  border-color:#e3e7ec!important;
}
html[data-egy-theme="light"] .tc-menu>li>a,
html[data-egy-theme="light"] .tc-social a,
html[data-egy-theme="light"] .tc-card-bottom strong,
html[data-egy-theme="light"] .tc-small-copy b,
html[data-egy-theme="light"] .tc-side-copy b,
html[data-egy-theme="light"] .footer-links,
html[data-egy-theme="light"] .meta-box span,
html[data-egy-theme="light"] .synopsis,
html[data-egy-theme="light"] .single-content,
html[data-egy-theme="light"] .tc-section-title h2,
html[data-egy-theme="light"] .tc-sidebar-head h3,
html[data-egy-theme="light"] .tc-archive-title h1{
  color:#161a1f!important;
}
html[data-egy-theme="light"] .tc-logo-white{color:#161a1f!important}
html[data-egy-theme="light"] .tc-brand small{color:#4a5158!important}
html[data-egy-theme="light"] .tc-archive-count,
html[data-egy-theme="light"] .tc-side-copy small,
html[data-egy-theme="light"] .tc-small-copy small,
html[data-egy-theme="light"] .footer-copy,
html[data-egy-theme="light"] .meta-box b,
html[data-egy-theme="light"] .post-topbar,
html[data-egy-theme="light"] .tc-muted{
  color:#68717b!important;
}
html[data-egy-theme="light"] .tc-poster,
html[data-egy-theme="light"] .tc-placeholder{background:#f7f8fa!important}
html[data-egy-theme="light"] .tc-theme-switcher{background:#f4f6f8!important;border-color:#d7dce2!important}
html[data-egy-theme="light"] .tc-theme-btn{color:#5a636d!important}
html[data-egy-theme="light"] .tc-theme-btn:hover{background:#e9edf1!important;color:#161a1f!important}
html[data-egy-theme="light"] .tc-search-panel input,
html[data-egy-theme="light"] input,
html[data-egy-theme="light"] select,
html[data-egy-theme="light"] textarea{
  background:#fff!important;color:#161a1f!important;border-color:#d6dbe1!important;
}
html[data-egy-theme="light"] .tc-menu .sub-menu{background:#fff!important;border-color:#dfe3e8!important}
html[data-egy-theme="light"] .tc-menu .sub-menu a{background:#fff!important;color:#161a1f!important;border-color:#e5e8ec!important}
html[data-egy-theme="light"] .tc-menu .sub-menu a:hover{background:#f4f6f8!important}
html[data-egy-theme="light"] .tc-section-title>a,
html[data-egy-theme="light"] .page-numbers a,
html[data-egy-theme="light"] .page-numbers span{
  background:#fff!important;border-color:#d6dbe1!important;color:#161a1f!important;
}
html[data-egy-theme="light"] .share a,
html[data-egy-theme="light"] .content-chip,
html[data-egy-theme="light"] .ep-chip{
  background:#f5f6f8!important;border-color:#dfe3e8!important;color:#161a1f!important;
}
html[data-egy-theme="light"] .player{background:#f6f7f9!important;border-color:#dfe3e8!important}
html[data-egy-theme="light"] .tc-side-item,
html[data-egy-theme="light"] .tc-small-item{background:transparent!important}
html[data-egy-theme="light"] .footer-divider{background:#e3e7ec!important}

@media(max-width:900px){
  html[data-egy-theme="dark"] .tc-nav{background:#0d2136!important;border-color:#28415a!important}
  html[data-egy-theme="light"] .tc-nav{background:#fff!important;border-color:#dfe3e8!important}
  html[data-egy-theme="light"] .tc-menu a{color:#161a1f!important}
  html[data-egy-theme="dark"] .tc-menu a{color:#f6f9fc!important}
  html[data-egy-theme="light"] .tc-menu .sub-menu a{background:#fff!important;color:#161a1f!important}
  html[data-egy-theme="dark"] .tc-menu .sub-menu a{background:#102943!important;color:#f6f9fc!important}
}

/* V34 — Compact theme dropdown in the header */
.tc-theme-switcher{position:relative;display:block;direction:rtl;padding:0;border:0;background:transparent;border-radius:0}
.tc-theme-trigger{height:43px;min-width:96px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #303740;border-radius:23px;background:#11161c;color:#c6cbd1;cursor:pointer;font-size:12px;font-weight:900;transition:.18s ease}
.tc-theme-trigger:hover{background:#171d24;color:#fff;border-color:#3a424d}
.tc-theme-trigger>i:first-child{font-size:13px}
.tc-theme-trigger .tc-theme-chevron{font-size:9px;transition:transform .18s ease;color:#9ca3ab}
.tc-theme-switcher.open .tc-theme-trigger{background:#171d24;color:#fff;border-color:#46505c}
.tc-theme-switcher.open .tc-theme-chevron{transform:rotate(180deg)}
.tc-theme-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:145px;padding:6px;background:#11161c;border:1px solid #2d343d;border-radius:12px;box-shadow:0 16px 35px rgba(0,0,0,.42);opacity:0;visibility:hidden;transform:translateY(-5px) scale(.98);transform-origin:top right;transition:.16s ease;z-index:120}
.tc-theme-switcher.open .tc-theme-menu{opacity:1;visibility:visible;transform:none}
.tc-theme-option{width:100%;display:flex;align-items:center;gap:9px;padding:10px 11px;border:0;border-radius:8px;background:transparent;color:#cbd1d8;cursor:pointer;font-size:12px;font-weight:900;text-align:right;transition:.15s ease}
.tc-theme-option:hover{background:#1d252e;color:#fff}
.tc-theme-option.active{background:var(--tc-red);color:#fff}
.tc-theme-option i{width:16px;text-align:center;font-size:12px}
html[data-egy-theme="dark"] .tc-theme-trigger{background:#0f1a29;border-color:#35506b;color:#d4deea}
html[data-egy-theme="dark"] .tc-theme-trigger:hover{background:#16263a;color:#fff;border-color:#44627f}
html[data-egy-theme="dark"] .tc-theme-menu{background:#0d1b2a;border-color:#29445d}
html[data-egy-theme="dark"] .tc-theme-option{color:#cbd7e3}
html[data-egy-theme="dark"] .tc-theme-option:hover{background:#17324c;color:#fff}
html[data-egy-theme="light"] .tc-theme-trigger{background:#fff;border-color:#d5dbe2;color:#22272e}
html[data-egy-theme="light"] .tc-theme-trigger:hover{background:#f4f6f8;color:#11161c;border-color:#c7ced7}
html[data-egy-theme="light"] .tc-theme-menu{background:#fff;border-color:#d7dde4;box-shadow:0 16px 35px rgba(19,28,38,.16)}
html[data-egy-theme="light"] .tc-theme-option{color:#303640}
html[data-egy-theme="light"] .tc-theme-option:hover{background:#eef1f4;color:#11161c}
@media(max-width:900px){.tc-theme-trigger{height:39px;min-width:86px;font-size:11px;padding:0 10px}.tc-theme-menu{right:auto;left:0;transform-origin:top left}}
@media(max-width:650px){.tc-theme-trigger{height:36px;min-width:39px;width:39px;padding:0;border-radius:50%}.tc-theme-trigger span,.tc-theme-trigger .tc-theme-chevron{display:none}.tc-theme-menu{min-width:130px}}
/* Single: season selector (scoped only to the episode section) */
.season-switcher{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.season-label{font-weight:800;white-space:nowrap}
.season-links{display:flex;flex-wrap:wrap;gap:8px}
.season-link{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface2);color:var(--text);text-decoration:none;font-weight:700}
.season-link.active{background:var(--red2);border-color:var(--red2);color:#fff}
@media(max-width:700px){.season-switcher{align-items:flex-start;flex-direction:column}.season-links{width:100%}.season-link{flex:1 1 calc(50% - 8px)}}

/* V42 — featured topics circular carousel: no terminal blank space */
.tc-featured-viewport{overflow:hidden!important;position:relative!important}
.tc-featured-track{display:flex!important;flex-direction:row-reverse!important;direction:ltr!important;gap:14px!important;will-change:transform!important;transition:transform .42s cubic-bezier(.22,.8,.24,1)!important}
.tc-featured-track>.tc-card{flex:0 0 calc((100% - 56px)/5)!important;min-width:0!important}
.tc-featured-slider .tc-slider-arrow:disabled{opacity:.95!important;cursor:pointer!important}
.tc-featured-slider.is-static .tc-slider-arrow{display:none!important}
@media(max-width:1180px){.tc-featured-track{gap:10px!important}.tc-featured-track>.tc-card{flex-basis:calc((100% - 30px)/4)!important}}
@media(max-width:900px){.tc-featured-track{gap:9px!important}.tc-featured-track>.tc-card{flex-basis:calc((100% - 18px)/3)!important}.tc-featured-viewport{padding-inline:20px!important}}
@media(max-width:650px){.tc-featured-track{gap:9px!important}.tc-featured-track>.tc-card{flex-basis:calc((100% - 9px)/2)!important}.tc-featured-viewport{padding-inline:18px!important}}


/* V43 — featured topics: manual infinite carousel, no autoplay, no blank area. */
.tc-featured-viewport{overflow:hidden!important;position:relative!important}
.tc-featured-track{display:flex!important;flex-direction:row!important;direction:ltr!important;align-items:stretch!important;justify-content:flex-start!important;gap:14px!important;will-change:transform!important;transition:transform .42s cubic-bezier(.22,.8,.24,1)!important}
.tc-featured-track>.tc-card{flex:0 0 calc((100% - 56px)/5)!important;min-width:0!important}
.tc-featured-slider .tc-slider-arrow{display:grid!important}
.tc-featured-slider .tc-slider-arrow[hidden]{display:none!important}
@media(max-width:1180px){.tc-featured-track{gap:10px!important}.tc-featured-track>.tc-card{flex-basis:calc((100% - 30px)/4)!important}}
@media(max-width:900px){.tc-featured-track{gap:9px!important}.tc-featured-track>.tc-card{flex-basis:calc((100% - 18px)/3)!important}.tc-featured-viewport{padding-inline:20px!important}}
@media(max-width:650px){.tc-featured-track{gap:9px!important}.tc-featured-track>.tc-card{flex-basis:calc((100% - 9px)/2)!important}.tc-featured-viewport{padding-inline:18px!important}}


/* V44 — header-only typography + navigation spacing refinement */
.tc-header,
.tc-header-inner,
.tc-header .tc-brand,
.tc-header .tc-nav,
.tc-header .tc-menu,
.tc-header .tc-menu a,
.tc-header .tc-actions,
.tc-header .tc-theme-switcher,
.tc-header .tc-theme-trigger,
.tc-header .tc-theme-menu,
.tc-header .tc-theme-option,
.tc-header .tc-search-panel,
.tc-header .tc-search-panel input,
.tc-header .tc-search-panel button,
.tc-header .tc-mobile-toggle {
  font-family:Arial,"Tahoma","Segoe UI",sans-serif !important;
}
.tc-header .tc-nav > ul.tc-menu{
  justify-content:flex-start !important;
}
@media(max-width:900px){
  .tc-header .tc-nav > ul.tc-menu{justify-content:flex-start !important;}
}

/* Accessibility: high-contrast discover button */
.tc-newsbar .tc-discover{background:#8f0018 !important;color:#ffffff !important;}
.tc-newsbar .tc-discover:hover,.tc-newsbar .tc-discover:focus{background:#700012 !important;color:#ffffff !important;}

/* V45 — CLS hardening: reserve stable geometry before fonts/images finish loading. */
html{overflow-y:scroll}
.tc-newsbar{height:64px!important;min-height:64px!important}
.tc-news-inner{height:63px!important;min-height:63px!important;line-height:1!important}
.tc-news-label,.tc-discover,.tc-premium{line-height:1.25!important}
.tc-news-text{line-height:1.25!important}
.tc-card .tc-poster{aspect-ratio:2/3!important}
.tc-card .tc-poster img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;display:block!important}
.tc-small-item{min-height:98px!important}
.tc-small-item img{display:block!important;flex:none!important}
.tc-side-item{min-height:74px!important}
.tc-side-item img{display:block!important}
@media(max-width:900px){.tc-newsbar{height:56px!important;min-height:56px!important}.tc-news-inner{height:55px!important;min-height:55px!important}.tc-small-item{min-height:88px!important}}
@media(max-width:650px){.tc-newsbar{height:56px!important;min-height:56px!important}.tc-news-inner{height:55px!important;min-height:55px!important}.tc-small-item{min-height:80px!important}}



/* V46 — reduce layout shifts from webfont swapping and late inline content. */
html,body{font-synthesis:none;}
.tc-header{height:70px!important;}
.tc-header-inner{height:70px!important;min-height:70px!important;}
.tc-newsbar{height:64px!important;min-height:64px!important;}
.tc-news-inner{height:63px!important;min-height:63px!important;}
.tc-news-label,.tc-discover,.tc-premium{min-height:34px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}

/* =========================================================
   SINGLE PAGE — reference layout / cinematic episode view
   Scoped to .single-page so existing archive/home layouts stay intact.
   ========================================================= */
.single-page{position:relative;isolation:isolate;min-height:calc(100vh - 135px);padding:18px 0 55px;overflow:clip;background:transparent!important;width:100vw;margin-inline:calc(50% - 50vw);max-width:none;border:0;border-radius:0}.single-page .single-backdrop{position:absolute;z-index:-3;inset:-28px;background-image:var(--single-bg);background-size:cover;background-position:center top;background-repeat:no-repeat;filter:blur(6px);transform:scale(1.055);opacity:.38;will-change:transform;pointer-events:none}.single-page .single-overlay{position:absolute;z-index:-2;inset:0;background:linear-gradient(90deg,rgba(7,10,14,.90) 0%,rgba(7,10,14,.74) 24%,rgba(7,10,14,.64) 55%,rgba(7,10,14,.80) 100%),linear-gradient(180deg,rgba(5,8,12,.18) 0%,rgba(5,8,12,.66) 72%,rgba(8,11,15,.92) 100%);pointer-events:none}.single-page:after{content:"";position:absolute;z-index:-1;inset:0 0 auto 0;height:1px;background:rgba(255,255,255,.10);pointer-events:none}.single-shell{width:min(calc(100% - 64px),var(--tc-width));margin:auto;position:relative;background:transparent!important;border:0!important;box-shadow:none!important}.single-breadcrumb{display:flex;align-items:center;gap:10px;min-height:30px;margin:2px 0 12px;color:#8e949c;font-size:11px;font-weight:700}.single-breadcrumb i{font-size:9px;color:var(--tc-red)}.single-breadcrumb a:hover{color:#fff}.single-heading{text-align:center;margin:0 0 10px}.single-heading h1{margin:0;font-size:22px;font-weight:900;line-height:1.35;text-shadow:0 3px 16px rgba(0,0,0,.55)}.single-heading h1 span{color:#fff}.single-stage{display:grid;grid-template-columns:190px minmax(0,1fr) 280px;gap:16px;align-items:start;direction:ltr}.single-stage>*{direction:rtl}.single-main{min-width:0;padding-top:1px}.single-actions{padding-top:75px}.action-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:108px;padding:13px 10px;margin-bottom:14px;border:1px solid rgba(255,255,255,.05);border-radius:11px;background:linear-gradient(180deg,rgba(25,31,38,.87),rgba(21,25,31,.78));box-shadow:0 9px 28px rgba(0,0,0,.22);text-align:center;transition:transform .18s ease,border-color .18s ease,background .18s ease}.action-card:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.11);background:linear-gradient(180deg,rgba(30,37,45,.92),rgba(21,25,31,.86))}.action-card .action-icon{display:grid;place-items:center;font-size:30px;line-height:1;margin-bottom:8px}.action-card strong{font-size:17px;font-weight:900;line-height:1.2}.action-card small{margin-top:6px;color:#969ca4;font-size:10px;font-weight:700}.action-watch .action-icon{color:#ff3443}.action-download .action-icon{color:#39bf61}.single-poster-side{position:relative;align-self:start}.single-poster-frame{position:relative;overflow:hidden;border-radius:8px;background:#10151b;border:1px solid rgba(255,255,255,.04);box-shadow:0 18px 45px rgba(0,0,0,.34)}.single-poster-frame:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.12),rgba(0,0,0,.38));pointer-events:none}.single-poster-frame img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover}.episode-ribbon{position:absolute;top:14px;right:-44px;min-width:156px;padding:6px 10px;background:var(--tc-red);color:#fff;text-align:center;font-size:11px;font-weight:900;transform:rotate(45deg);box-shadow:0 5px 14px rgba(0,0,0,.30)}.single-badges{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px;padding:0 2px;color:#9da4ac;font-size:10px;font-weight:700}.single-badges span{display:inline-flex;gap:5px;align-items:center}.single-badges i{font-size:11px;color:#b7bdc5}.single-badges .views{direction:rtl}.single-quote-title{display:flex;align-items:center;gap:8px;margin:0 0 7px;padding:0 10px 7px 0;border-bottom:3px solid var(--tc-red);width:max-content;max-width:100%;color:#f3f4f5;font-size:17px;font-weight:900;position:relative}.single-quote-title i{color:var(--tc-red);font-size:26px;line-height:1}.single-synopsis{padding:10px 13px;margin-bottom:13px;border:1px solid rgba(255,255,255,.07);border-radius:8px;background:rgba(25,30,36,.72);color:#cfd3d8;font-size:12px;font-weight:700;line-height:1.9;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}.details-title{margin-top:1px}.single-meta{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid rgba(255,255,255,.14);margin-bottom:12px}.single-meta>div{display:flex;align-items:baseline;gap:7px;min-width:0;padding:7px 9px;border-bottom:1px solid rgba(255,255,255,.10)}.single-meta>div:nth-child(odd){border-left:1px solid rgba(255,255,255,.10)}.single-meta b{color:#9ea4ac;font-size:10px;font-weight:800;white-space:nowrap}.single-meta b:after{content:" :";color:var(--tc-red);font-weight:900}.single-meta span{min-width:0;color:#e7e8ea;font-size:10px;font-weight:800;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.single-meta .meta-wide{grid-column:1/-1;border-left:0!important}.single-story{margin-top:4px}.single-story-box{padding:9px 12px;border:1px solid rgba(255,255,255,.06);border-radius:8px;background:rgba(16,20,25,.58);color:#c9ced4;font-size:11px;line-height:1.85}.single-story-box p{margin:0 0 8px}.single-story-box p:last-child{margin-bottom:0}.single-trailer{display:inline-flex;align-items:center;gap:8px;margin-top:10px;padding:9px 13px;border:1px solid rgba(255,52,67,.35);border-radius:7px;background:rgba(255,52,67,.08);color:#ff6b76;font-size:11px;font-weight:900}.single-trailer:hover{background:rgba(255,52,67,.15);color:#fff}.single-page .section{margin-top:18px}.single-page .section-head{margin-bottom:10px}.single-page .section-head h2{font-size:18px}.single-page .server-heading{font-size:13px;margin:0 0 8px;padding-right:9px;border-right:3px solid var(--tc-red2)}.single-page .watch-tabs{background:rgba(16,20,25,.72)}.single-page .player{min-height:420px}.single-page .episode,.single-page .season-link{font-size:11px}.single-page .episodes-section,.single-page .related-posts{padding-top:6px}.single-page .related-posts > .grid{margin-top:3px}
@media(max-width:1100px){.single-shell{width:min(calc(100% - 38px),var(--tc-width))}.single-stage{grid-template-columns:150px minmax(0,1fr) 240px;gap:12px}.single-actions{padding-top:65px}.single-heading h1{font-size:20px}.single-poster-frame img{aspect-ratio:2/3}}
@media(max-width:900px){.single-page{padding-top:10px}.single-stage{grid-template-columns:1fr 220px;grid-template-areas:"main poster" "actions actions";gap:14px}.single-main{grid-area:main}.single-poster-side{grid-area:poster}.single-actions{grid-area:actions;padding-top:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.single-actions .action-card{margin:0}.single-heading h1{font-size:18px}.single-breadcrumb{font-size:10px}.single-meta>div{padding:7px}.single-meta span{white-space:normal}}
@media(max-width:650px){.single-shell{width:calc(100% - 18px)}.single-heading h1{font-size:16px}.single-stage{grid-template-columns:1fr;grid-template-areas:"poster" "main" "actions"}.single-poster-side{max-width:280px;width:72%;margin:0 auto}.single-actions{grid-template-columns:1fr 1fr}.action-card{min-height:95px}.action-card .action-icon{font-size:25px}.action-card strong{font-size:14px}.action-card small{font-size:9px}.single-synopsis{font-size:11px}.single-quote-title{font-size:15px}.single-meta{grid-template-columns:1fr}.single-meta>div:nth-child(odd){border-left:0}.single-meta .meta-wide{grid-column:auto}.single-meta span{font-size:10px}.single-page .player{min-height:300px}}


/* =========================================================
   SINGLE EPISODES — landscape poster cards
   ========================================================= */
.single-page .episodes-section{margin-top:22px!important;padding-top:0!important}
.single-page .episodes{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:12px!important;
  direction:rtl!important;
  align-items:start!important;
}
.single-page .episode{
  display:block!important;
  min-width:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  border-radius:0!important;
  text-align:initial!important;
  text-decoration:none!important;
}
.single-page .episode-thumb{
  position:relative!important;
  aspect-ratio:1.62 / 1!important;
  overflow:hidden!important;
  border-radius:11px!important;
  background:#11161b!important;
  border:1px solid rgba(255,255,255,.06)!important;
  box-shadow:0 7px 18px rgba(0,0,0,.28)!important;
  isolation:isolate!important;
}
.single-page .episode-thumb img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  transition:transform .25s ease,filter .25s ease!important;
}
.single-page .episode-thumb:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(0,0,0,.02) 25%,rgba(0,0,0,.10) 46%,rgba(0,0,0,.82) 100%);
  pointer-events:none;
}
.single-page .episode:hover .episode-thumb img{transform:scale(1.035)!important;filter:brightness(.82)!important}
.single-page .episode.current .episode-thumb{border-color:rgba(255,52,67,.9)!important;box-shadow:0 0 0 2px rgba(255,52,67,.16),0 8px 20px rgba(0,0,0,.32)!important}
.single-page .episode-number{
  position:absolute!important;
  z-index:3!important;
  top:9px!important;
  right:9px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:30px!important;
  padding:4px 10px!important;
  border-radius:8px!important;
  background:var(--tc-red)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:0 3px 10px rgba(0,0,0,.35)!important;
}
.single-page .episode-overlay{
  position:absolute!important;
  z-index:3!important;
  right:0!important;
  left:0!important;
  bottom:0!important;
  padding:28px 10px 9px!important;
  text-align:center!important;
}
.single-page .episode-overlay strong{
  display:block!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:1.45!important;
  font-weight:900!important;
  text-shadow:0 2px 6px #000!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.single-page .episode-thumb-empty{
  width:100%!important;
  height:100%!important;
  display:grid!important;
  place-items:center!important;
  color:#737b84!important;
  font-size:34px!important;
  background:linear-gradient(135deg,#14191f,#0d1116)!important;
}
@media(max-width:1180px){
  .single-page .episodes{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
}
@media(max-width:900px){
  .single-page .episodes{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .single-page .episode-number{font-size:11px!important;min-height:28px!important;padding:4px 8px!important}
}
@media(max-width:650px){
  .single-page .episodes{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .single-page .episode-thumb{border-radius:9px!important}
  .single-page .episode-number{top:7px!important;right:7px!important;font-size:10px!important;min-height:26px!important;padding:4px 7px!important}
  .single-page .episode-overlay{padding:24px 7px 7px!important}
  .single-page .episode-overlay strong{font-size:10px!important}
}

/* =========================================================
   SINGLE CONTENT TABS — episodes / seasons / related
   Clean RTL navigation matching the reference layout.
   ========================================================= */
.single-page .single-content-tabs{
  display:flex!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:0!important;
  margin:20px 0 0!important;
  border-bottom:1px solid rgba(255,255,255,.22)!important;
  direction:rtl!important;
  overflow-x:auto!important;
  scrollbar-width:none!important;
}
.single-page .single-content-tabs::-webkit-scrollbar{display:none!important}
.single-page .single-tab{
  position:relative!important;
  appearance:none!important;
  border:0!important;
  border-bottom:3px solid transparent!important;
  margin:0!important;
  padding:12px 22px 11px!important;
  background:transparent!important;
  color:#f0f1f3!important;
  font-family:inherit!important;
  font-size:16px!important;
  font-weight:900!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  transition:color .18s ease,background .18s ease,border-color .18s ease!important;
}
.single-page .single-tab:hover{color:#ff5360!important;background:rgba(255,255,255,.025)!important}
.single-page .single-tab.is-active{
  color:#ff3c4a!important;
  border-bottom-color:var(--tc-red)!important;
  background:rgba(255,255,255,.018)!important;
}
.single-page .single-tab span{color:inherit!important;margin-inline-start:3px!important}
.single-page .single-tab-panels{min-width:0!important}
.single-page .single-tab-panel[hidden]{display:none!important}
.single-page .single-tab-panel.is-active{display:block!important}
.single-page .single-tab-panel > .section{margin-top:0!important}
.single-page .episodes-section{padding-top:12px!important}
.single-page .episodes-section .section-head,
.single-page .seasons-section .section-head,
.single-page .related-posts .section-head{display:none!important}
.single-page .episodes-panel-rule{
  height:0!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
  margin:0 0 12px!important;
}
.single-page .season-cards{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  direction:rtl!important;
  padding-top:14px!important;
}
.single-page .season-card{
  min-height:82px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:13px 14px!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,rgba(28,34,41,.76),rgba(17,22,28,.82))!important;
  color:#fff!important;
  text-decoration:none!important;
  box-shadow:0 8px 24px rgba(0,0,0,.20)!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease!important;
}
.single-page .season-card:hover,.single-page .season-card.current{
  border-color:rgba(255,52,67,.72)!important;
  background:linear-gradient(180deg,rgba(42,32,37,.82),rgba(20,23,28,.88))!important;
  transform:translateY(-1px)!important;
}
.single-page .season-card-icon{
  width:42px!important;height:42px!important;flex:0 0 42px!important;
  display:grid!important;place-items:center!important;border-radius:9px!important;
  background:rgba(255,52,67,.12)!important;color:#ff4452!important;font-size:17px!important;
}
.single-page .season-card-copy{display:flex!important;flex-direction:column!important;min-width:0!important;gap:4px!important}
.single-page .season-card-copy b{font-size:14px!important;font-weight:900!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.single-page .season-card-copy small{font-size:10px!important;color:#9da4ac!important;font-weight:800!important}
.single-page .season-card-arrow{margin-inline-start:auto!important;color:#777f88!important;font-size:10px!important}
.single-page .related-posts{padding-top:12px!important}
.single-page .related-posts .grid{margin-top:0!important}
.single-page .related-posts .tc-card .tc-poster{aspect-ratio:2/3!important}
@media(max-width:1100px){
  .single-page .single-tab{padding-inline:18px!important;font-size:15px!important}
  .single-page .season-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .single-page .single-content-tabs{margin-top:16px!important}
  .single-page .single-tab{padding:11px 15px 10px!important;font-size:14px!important}
  .single-page .season-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
}
@media(max-width:650px){
  .single-page .single-content-tabs{margin-inline:-9px!important;padding-inline:9px!important}
  .single-page .single-tab{padding:10px 12px 9px!important;font-size:12px!important}
  .single-page .season-cards{grid-template-columns:1fr!important;gap:9px!important}
  .single-page .season-card{min-height:70px!important}
}

/* =========================================================
   SINGLE V20 — tabs/content span the full shell below the hero
   ========================================================= */
.single-page .single-content-area{
  width:100%!important;
  min-width:0!important;
  margin-top:18px!important;
  padding-top:0!important;
  border-top:1px solid rgba(255,255,255,.10)!important;
}
.single-page .single-content-area .single-content-tabs{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  justify-content:flex-start!important;
  border-bottom:1px solid rgba(255,255,255,.20)!important;
  background:linear-gradient(180deg,rgba(16,20,25,.28),rgba(10,13,17,.12))!important;
}
.single-page .single-content-area .single-tab{
  min-height:48px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:13px 24px 12px!important;
  border-bottom:3px solid transparent!important;
  color:#f2f3f5!important;
}
.single-page .single-content-area .single-tab.is-active{
  color:#ff3445!important;
  border-bottom-color:#ff3445!important;
  background:rgba(255,52,67,.045)!important;
}
.single-page .single-tab-panels{
  width:100%!important;
}
.single-page .single-tab-panel{
  width:100%!important;
}
.single-page .single-tab-panel > .section{
  width:100%!important;
}
.single-page .episodes-section,
.single-page .seasons-section,
.single-page .related-posts{
  margin-top:0!important;
  padding:16px 0 0!important;
}
.single-page .episodes-panel-rule{
  margin:0 0 14px!important;
  border-top-color:rgba(255,255,255,.14)!important;
}

/* Cleaner poster episode marker: large red content-style badge, not a diagonal strip. */
.single-page .episode-ribbon{
  position:absolute!important;
  top:14px!important;
  right:0!important;
  min-width:94px!important;
  height:42px!important;
  padding:0 13px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  background:#ff3041!important;
  color:#fff!important;
  border-radius:8px 0 0 8px!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1!important;
  transform:none!important;
  box-shadow:0 7px 18px rgba(0,0,0,.32)!important;
  z-index:8!important;
}
.single-page .episode-ribbon:before{
  content:""!important;
  position:absolute!important;
  inset:0 auto 0 -7px!important;
  width:12px!important;
  background:#d92131!important;
  clip-path:polygon(0 0,100% 12%,100% 88%,0 100%)!important;
}
.single-page .episode-ribbon span{opacity:.96!important}
.single-page .episode-ribbon strong{font-size:18px!important;font-weight:1000!important}

@media(max-width:900px){
  .single-page .single-content-area{margin-top:15px!important}
  .single-page .single-content-area .single-tab{min-height:44px!important;padding:11px 16px 10px!important;font-size:14px!important}
}
@media(max-width:650px){
  .single-page .single-content-area{margin-top:12px!important;padding-top:0!important}
  .single-page .single-content-area .single-content-tabs{margin-inline:0!important;padding-inline:0!important}
  .single-page .single-content-area .single-tab{min-height:41px!important;padding:10px 12px 9px!important;font-size:12px!important}
  .single-page .episode-ribbon{top:10px!important;min-width:82px!important;height:36px!important;padding:0 10px!important;font-size:11px!important}
  .single-page .episode-ribbon strong{font-size:15px!important}
}

/* =========================================================
   SINGLE V21 — separate Watch / Download panels
   ========================================================= */
.single-page .single-media-panels{
  width:100%!important;
  margin-top:18px!important;
}
.single-page .single-media-panel[hidden]{display:none!important}
.single-page .single-media-panel.is-visible{display:block!important}
.single-page .single-media-panel{
  position:relative!important;
  padding:18px!important;
  border:1px solid rgba(255,255,255,.07)!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,rgba(24,29,35,.93),rgba(13,17,22,.96))!important;
  box-shadow:0 16px 36px rgba(0,0,0,.24)!important;
  scroll-margin-top:18px!important;
}
.single-page .media-panel-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-height:42px!important;
}
.single-page .media-panel-kicker{
  display:block!important;
  margin-bottom:2px!important;
  color:#8f969e!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.8px!important;
  direction:ltr!important;
  text-align:right!important;
}
.single-page .media-panel-head h2{
  margin:0!important;
  color:#f5f5f6!important;
  font-size:20px!important;
  font-weight:900!important;
}
.single-page .media-panel-accent{
  width:48px!important;
  height:48px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:9px!important;
  background:rgba(255,52,67,.11)!important;
  color:#ff4350!important;
  font-size:19px!important;
}
.single-page .media-panel-accent.download{
  background:rgba(56,191,96,.12)!important;
  color:#38bf60!important;
}
.single-page .media-panel-rule{
  height:3px!important;
  width:100%!important;
  margin:8px 0 15px!important;
  background:linear-gradient(90deg,transparent 0%,rgba(255,52,67,.20) 12%,#ff3445 50%,rgba(255,52,67,.20) 88%,transparent 100%)!important;
}
.single-page .download-panel .media-panel-rule{
  background:linear-gradient(90deg,transparent 0%,rgba(56,191,96,.16) 12%,#38bf60 50%,rgba(56,191,96,.16) 88%,transparent 100%)!important;
}
.single-page .watch-panel .server-heading{
  margin:0 0 10px!important;
  padding:9px 12px!important;
  border-right:3px solid #ff3445!important;
  border-bottom:1px solid rgba(255,255,255,.07)!important;
  background:rgba(255,255,255,.025)!important;
  color:#f2f3f4!important;
  font-size:15px!important;
  font-weight:900!important;
}
.single-page .watch-panel .watch-tabs{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  margin-bottom:12px!important;
  background:transparent!important;
}
.single-page .watch-panel .watch-server-btn{
  min-height:46px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:9px!important;
  padding:8px 12px!important;
  border:1px solid rgba(255,255,255,.05)!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,rgba(42,48,55,.83),rgba(27,32,38,.88))!important;
  color:#eceef0!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:900!important;
  cursor:pointer!important;
  transition:.18s ease!important;
}
.single-page .watch-panel .watch-server-btn i{
  width:27px!important;height:27px!important;display:grid!important;place-items:center!important;
  border-radius:50%!important;background:#ff3445!important;color:#fff!important;font-size:10px!important;
}
.single-page .watch-panel .watch-server-btn:hover,
.single-page .watch-panel .watch-server-btn.active{
  border-color:rgba(255,52,67,.55)!important;
  background:linear-gradient(180deg,rgba(255,52,67,.94),rgba(213,33,48,.92))!important;
  color:#fff!important;
  transform:translateY(-1px)!important;
}
.single-page .watch-panel .watch-server-btn:hover i,
.single-page .watch-panel .watch-server-btn.active i{background:#fff!important;color:#ff3445!important}
.single-page .watch-panel .player{
  min-height:520px!important;
  width:100%!important;
  margin-top:8px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:8px!important;
  overflow:hidden!important;
  background:#030405!important;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.45),0 14px 30px rgba(0,0,0,.26)!important;
}
.single-page .watch-panel .player iframe{width:100%!important;height:520px!important;display:block!important;border:0!important;background:#000!important}
.single-page .watch-panel .player-placeholder{
  min-height:520px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:11px!important;
  color:#848b93!important;
}
.single-page .watch-panel .player-placeholder i{font-size:44px!important;color:#ff3445!important;filter:drop-shadow(0 5px 14px rgba(255,52,69,.25))}
.single-page .watch-panel .player-placeholder span{font-size:13px!important;font-weight:800!important}
.single-page .download-panel .download-quality-head{
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:7px!important;
  margin:2px 0 16px!important;
  padding:10px 12px!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.035)!important;
  color:#e7e9eb!important;
  font-size:14px!important;
  font-weight:900!important;
}
.single-page .download-panel .download-quality-head strong{color:#ffd21d!important;font-size:17px!important}
.single-page .download-panel .download-quality-head i{margin-inline-start:auto!important;color:#c4c9ce!important}
.single-page .download-server-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
.single-page .download-server-card{
  min-height:82px!important;
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  padding:13px 42px 11px!important;
  border:1px solid rgba(255,255,255,.06)!important;
  border-radius:9px!important;
  background:linear-gradient(180deg,rgba(38,43,50,.88),rgba(28,33,39,.92))!important;
  color:#fff!important;
  text-decoration:none!important;
  text-align:center!important;
  transition:.18s ease!important;
}
.single-page .download-server-card:nth-child(1){background:linear-gradient(180deg,rgba(44,181,85,.94),rgba(33,158,71,.94))!important}
.single-page .download-server-card:hover{transform:translateY(-2px)!important;border-color:rgba(255,255,255,.14)!important;filter:brightness(1.06)!important}
.single-page .download-server-name{font-size:15px!important;font-weight:900!important;line-height:1.2!important}
.single-page .download-server-quality{font-size:11px!important;font-weight:900!important;color:#e3e7ea!important}
.single-page .download-server-card i{position:absolute!important;inset-inline-start:14px!important;font-size:23px!important;color:#fff!important}
@media(max-width:1000px){
  .single-page .watch-panel .watch-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .single-page .download-server-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:700px){
  .single-page .single-media-panel{padding:13px!important}
  .single-page .media-panel-head h2{font-size:17px!important}
  .single-page .media-panel-accent{width:40px!important;height:40px!important}
  .single-page .watch-panel .watch-tabs{grid-template-columns:1fr!important}
  .single-page .watch-panel .player,.single-page .watch-panel .player-placeholder{min-height:300px!important}
  .single-page .watch-panel .player iframe{height:300px!important}
  .single-page .download-server-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .single-page .download-server-card{min-height:74px!important}
  .single-page .download-server-name{font-size:12px!important}
  .single-page .download-server-card i{font-size:19px!important;inset-inline-start:10px!important}
}
@media(max-width:420px){
  .single-page .download-server-grid{grid-template-columns:1fr!important}
}

/* =========================================================
   DEDICATED WATCH / DOWNLOAD PAGES
   ========================================================= */
.media-page{position:relative;isolation:isolate;min-height:calc(100vh - 135px);padding:18px 0 60px;overflow:clip}.media-page .media-backdrop{position:absolute;z-index:-3;inset:0;background-image:var(--media-bg);background-size:cover;background-position:center top;filter:blur(3px);transform:scale(1.06);opacity:.28}.media-page .media-overlay{position:absolute;z-index:-2;inset:0;background:linear-gradient(90deg,rgba(7,10,14,.98) 0%,rgba(7,10,14,.88) 30%,rgba(7,10,14,.78) 55%,rgba(7,10,14,.92) 100%),linear-gradient(180deg,rgba(5,8,12,.45) 0%,rgba(5,8,12,.9) 78%,#080b0f 100%)}.media-page .media-shell{width:min(calc(100% - 64px),var(--tc-width));margin:auto}.media-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0 14px;margin-bottom:14px;border-bottom:1px solid rgba(255,255,255,.07)}.media-return,.media-switch{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:7px;background:rgba(255,255,255,.06);color:#f2f3f4;font-size:12px;font-weight:900;border:1px solid rgba(255,255,255,.06);transition:.18s ease}.media-return:hover,.media-switch:hover{transform:translateY(-1px);background:rgba(255,255,255,.10);color:#fff}.media-return i{color:#ffd21d}.media-switch.watch{background:rgba(255,52,67,.95);border-color:rgba(255,52,67,.95)}.media-switch.download{background:rgba(43,175,79,.95);border-color:rgba(43,175,79,.95)}.media-layout{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:18px;align-items:start;direction:ltr}.media-main,.media-poster-column{direction:rtl}.media-main{min-width:0}.media-poster-column{display:flex;flex-direction:column;gap:12px;position:sticky;top:18px}.media-poster-frame{overflow:hidden;border-radius:9px;background:#0f141a;border:1px solid rgba(255,255,255,.05);box-shadow:0 18px 45px rgba(0,0,0,.35)}.media-poster-frame img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover}.media-action-download{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:104px;border-radius:9px;background:linear-gradient(180deg,rgba(32,178,80,.95),rgba(29,145,67,.92));color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.24);transition:.18s ease}.media-action-download:hover{transform:translateY(-2px);filter:brightness(1.04);color:#fff}.media-action-download i{font-size:27px;margin-bottom:7px}.media-action-download strong{font-size:15px;font-weight:900}.media-action-download small{margin-top:5px;font-size:9px;color:rgba(255,255,255,.78);font-weight:800}.media-title{margin:4px 0 14px}.media-kicker{display:block;margin-bottom:4px;color:#ff4756;font-size:10px;font-weight:1000;letter-spacing:.4px}.media-title h1,.download-page-head h1{margin:0;color:#fff;font-size:23px;font-weight:1000;line-height:1.45;text-shadow:0 3px 16px rgba(0,0,0,.55)}.media-panel-card,.download-panel-card{padding:15px;border:1px solid rgba(255,255,255,.065);border-radius:10px;background:linear-gradient(180deg,rgba(23,29,35,.80),rgba(15,19,24,.78));box-shadow:0 18px 42px rgba(0,0,0,.22)}.media-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:3px solid var(--tc-red);}.media-panel-heading span{display:block;color:#a3a9b0;font-size:10px;font-weight:900;margin-bottom:2px}.media-panel-heading h2{margin:0;color:#f3f4f5;font-size:19px;font-weight:1000}.media-panel-heading>i{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:rgba(255,52,67,.12);color:#ff4350;font-size:17px}.media-server-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.media-server-btn{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:50px;padding:10px 13px;border:1px solid rgba(255,255,255,.06);border-radius:7px;background:rgba(255,255,255,.055);color:#eee;font-weight:900;font-size:12px;cursor:pointer;transition:.18s ease}.media-server-btn i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(255,52,67,.16);color:#ff4654}.media-server-btn:hover{background:rgba(255,255,255,.085);transform:translateY(-1px)}.media-server-btn.active{background:#ff3445;border-color:#ff3445;color:#fff}.media-server-btn.active i{background:#fff;color:#ff3445}.media-player{overflow:hidden;border-radius:9px;background:#000;border:1px solid rgba(255,255,255,.08);box-shadow:0 12px 30px rgba(0,0,0,.30);min-height:520px}.media-player iframe{display:block;width:100%;height:520px;border:0;background:#000}.media-note{display:flex;align-items:center;gap:8px;margin-top:10px;padding:10px 12px;border-radius:7px;background:rgba(255,255,255,.045);color:#a9afb6;font-size:10px;font-weight:800}.media-note i{color:#ffd21d}.download-page-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:7px 0 14px;padding:0 2px}.download-quality-badge{display:flex;align-items:center;gap:8px;padding:8px 13px;border-radius:7px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.06);white-space:nowrap}.download-quality-badge span{color:#a6acb3;font-size:10px;font-weight:800}.download-quality-badge strong{color:#ffd21d;font-size:16px;font-weight:1000}.download-page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}.download-page-card{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:78px;padding:12px 15px;border-radius:8px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.06);color:#fff;transition:.18s ease}.download-page-card:hover{transform:translateY(-2px);background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.12);color:#fff}.download-page-card.primary{background:linear-gradient(180deg,rgba(43,177,79,.98),rgba(32,153,67,.96));border-color:rgba(43,177,79,.98)}.download-card-main{display:flex;flex-direction:column;gap:5px;min-width:0}.download-card-main strong{font-size:15px;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.download-card-main span{font-size:10px;color:#cfd4d8;font-weight:900}.download-page-card i{font-size:24px;color:#fff}.download-back{text-align:center;margin-top:16px}.download-back a{display:inline-flex;align-items:center;gap:8px;color:#aeb4bb;font-size:11px;font-weight:900}.download-back a:hover{color:#fff}.media-empty{padding:35px 15px;text-align:center;color:#a5abb3;font-size:12px;font-weight:800}.media-download-page .media-shell{max-width:1080px}
@media(max-width:900px){.media-page .media-shell{width:min(calc(100% - 38px),var(--tc-width))}.media-layout{grid-template-columns:200px minmax(0,1fr);gap:13px}.media-player,.media-player iframe{min-height:420px;height:420px}.media-server-list{grid-template-columns:repeat(2,minmax(0,1fr))}.download-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.media-title h1,.download-page-head h1{font-size:19px}}
@media(max-width:650px){.media-page{padding-top:10px}.media-page .media-shell{width:calc(100% - 18px)}.media-topbar{align-items:stretch;flex-direction:column}.media-return,.media-switch{justify-content:center;width:100%}.media-layout{grid-template-columns:1fr}.media-poster-column{position:static;max-width:260px;width:72%;margin:0 auto}.media-action-download{min-height:88px}.media-title{text-align:center}.media-title h1,.download-page-head h1{font-size:16px}.media-panel-heading h2{font-size:16px}.media-server-list{grid-template-columns:1fr;gap:8px}.media-player,.media-player iframe{min-height:300px;height:300px}.download-page-head{align-items:stretch;flex-direction:column}.download-quality-badge{justify-content:center}.download-page-grid{grid-template-columns:1fr;gap:9px}.download-page-card{min-height:70px}.download-card-main strong{font-size:13px}}

/* V23 - dedicated watch page: player + servers + episodes */
.media-page .media-page-actions{display:flex;align-items:center;gap:8px}.watch-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:6px 0 16px}.watch-head h1{margin:0;color:#fff;font-size:24px;font-weight:1000;line-height:1.4;text-shadow:0 3px 16px rgba(0,0,0,.55)}.watch-mini-poster{width:58px;height:82px;overflow:hidden;border-radius:7px;flex:0 0 auto;opacity:.9;border:1px solid rgba(255,255,255,.08)}.watch-mini-poster img{display:block;width:100%;height:100%;object-fit:cover}.watch-board{display:grid;grid-template-columns:220px minmax(0,1fr) 235px;gap:12px;align-items:stretch;direction:ltr}.watch-board.movie-watch{grid-template-columns:minmax(0,1fr) 235px}.watch-episodes-panel,.watch-servers-panel,.watch-player-card{direction:rtl}.watch-episodes-panel,.watch-servers-panel{min-width:0;border:1px solid rgba(255,255,255,.06);border-radius:10px;background:linear-gradient(180deg,rgba(23,29,35,.88),rgba(14,18,23,.88));box-shadow:0 16px 40px rgba(0,0,0,.24);overflow:hidden}.watch-side-head{padding:14px 14px 12px;border-bottom:2px solid var(--tc-red);background:rgba(255,255,255,.025)}.watch-side-head span{display:block;color:#ff4350;font-size:9px;font-weight:1000;letter-spacing:.45px;margin-bottom:3px}.watch-side-head strong{display:block;color:#fff;font-size:17px;font-weight:1000}.watch-episode-list,.watch-server-list{padding:10px;display:flex;flex-direction:column;gap:7px;max-height:610px;overflow:auto}.watch-episode-item{display:flex;align-items:center;gap:9px;min-height:55px;padding:8px 9px;border:1px solid rgba(255,255,255,.06);border-radius:7px;background:rgba(255,255,255,.045);color:#eee;transition:.16s ease}.watch-episode-item:hover{background:rgba(255,255,255,.08);color:#fff}.watch-episode-item.current{background:#ff3445;border-color:#ff3445;color:#fff}.watch-episode-num{display:grid;place-items:center;width:38px;height:38px;border-radius:6px;background:rgba(0,0,0,.22);font-size:15px;font-weight:1000;flex:0 0 auto}.watch-episode-item.current .watch-episode-num{background:#fff;color:#ff3445}.watch-episode-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.watch-episode-copy b{font-size:11px;font-weight:1000}.watch-episode-copy small{font-size:8px;color:#aeb4ba;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.watch-episode-item.current .watch-episode-copy small{color:rgba(255,255,255,.75)}.watch-player-column{direction:rtl;min-width:0;display:flex;flex-direction:column}.watch-player-card{padding:8px;border:1px solid rgba(255,255,255,.06);border-radius:10px;background:#05070a;box-shadow:0 16px 42px rgba(0,0,0,.36);min-width:0;flex:1}.watch-player-wrap{position:relative;width:100%;aspect-ratio:16/9;min-height:0;overflow:hidden;border-radius:7px;background:#000}.watch-player-wrap iframe{display:block;width:100%;height:100%;min-height:0;border:0;background:#000}.watch-player-wrap:fullscreen{width:100vw;height:100vh;max-width:none;max-height:none;border-radius:0;background:#000}.watch-player-wrap:fullscreen iframe{width:100%;height:100%;min-height:100%;}.watch-player-wrap iframe:fullscreen{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;background:#000!important}.watch-fullscreen-btn{position:absolute;top:12px;right:12px;z-index:20;width:42px;height:42px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:rgba(0,0,0,.62);color:#fff;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(5px);transition:.18s ease}.watch-fullscreen-btn:hover{background:#ff3445;border-color:#ff3445;transform:translateY(-1px)}.watch-fullscreen-btn i{font-size:15px}.watch-player-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;height:100%;min-height:0;background:radial-gradient(circle at center,rgba(255,52,69,.12),rgba(0,0,0,.94) 56%),#020304;color:#aeb4bb;font-size:11px;font-weight:900}.watch-player-placeholder i{font-size:42px;color:#ff3445}.watch-player-empty{height:100%;min-height:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#aeb4bb;text-align:center}.watch-player-empty i{font-size:42px;color:#ff3445}.watch-player-empty strong{font-size:18px;color:#fff}.watch-player-empty span{font-size:11px}.watch-server-list{max-height:none}.watch-server-item{display:grid;grid-template-columns:34px minmax(0,1fr) 22px;align-items:center;gap:8px;width:100%;min-height:54px;padding:8px 9px;border:1px solid rgba(255,255,255,.06);border-radius:7px;background:rgba(255,255,255,.045);color:#fff;cursor:pointer;text-align:right;transition:.16s ease}.watch-server-item:hover{background:rgba(255,255,255,.08)}.watch-server-item.active{background:#ff3445;border-color:#ff3445}.watch-server-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:6px;background:rgba(255,52,69,.14);color:#ff4654}.watch-server-item.active .watch-server-icon{background:#fff;color:#ff3445}.watch-server-name{min-width:0;font-size:11px;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.watch-server-arrow{color:#8f969e;font-size:11px}.watch-server-item.active .watch-server-arrow{color:#fff}.watch-empty-side{padding:18px;color:#90979f;font-size:10px;font-weight:800;text-align:center}.watch-tip{display:flex;align-items:center;justify-content:flex-start;gap:7px;margin-top:9px;padding:9px 11px;border-radius:7px;background:rgba(255,255,255,.045);color:#aeb4ba;font-size:10px;font-weight:800}.watch-tip i{color:#ffd21d}@media(max-width:1100px){.watch-board{grid-template-columns:185px minmax(0,1fr) 210px}.watch-board.movie-watch{grid-template-columns:minmax(0,1fr) 210px}.watch-player-wrap{min-height:0}.watch-player-placeholder,.watch-player-empty{min-height:0;height:100%;}}@media(max-width:800px){.watch-board,.watch-board.movie-watch{grid-template-columns:1fr}.watch-episodes-panel{order:3}.watch-player-column{order:1}.watch-servers-panel{order:2}.watch-episode-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:260px}.watch-server-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.watch-player-wrap{min-height:0}.watch-player-placeholder,.watch-player-empty{min-height:0;height:100%;}.watch-head h1{font-size:19px}.watch-mini-poster{width:48px;height:68px}}@media(max-width:520px){.watch-server-list,.watch-episode-list{grid-template-columns:1fr}.watch-player-wrap{min-height:0}.watch-player-placeholder,.watch-player-empty{min-height:0;height:100%;}.watch-head{align-items:flex-start}.watch-mini-poster{display:none}}

/* =========================================================
   SINGLE V24 — reference typography + direct metadata links
   ========================================================= */
.single-page .single-shell{position:relative;z-index:1}
.single-page .single-breadcrumb{display:flex;align-items:center;justify-content:center;gap:8px;min-height:28px;margin-bottom:7px;color:#8f969e;font-size:10px;font-weight:800;line-height:1.7;text-align:center}
.single-page .single-breadcrumb a{color:#d7dadd;text-decoration:none;transition:color .18s ease}
.single-page .single-breadcrumb a:hover{color:#ff3445}
.single-page .single-breadcrumb i{font-size:8px;color:#ff3445}
.single-page .single-breadcrumb span{color:#8f969e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(72vw,720px)}
.single-page .single-heading{margin:2px auto 14px!important}
.single-page .single-heading h1{font-size:23px!important;font-weight:900!important;line-height:1.45!important;letter-spacing:-.2px!important;color:#f4f5f6!important}
.single-page .single-heading h1::selection{background:#ff3445;color:#fff}
.single-page .single-quote-title{font-size:18px!important;margin-bottom:8px!important;padding-right:11px!important;padding-bottom:8px!important}
.single-page .single-synopsis{font-size:12px!important;line-height:2!important;padding:11px 14px!important;margin-bottom:15px!important}
.single-page .single-meta{margin-bottom:13px!important}
.single-page .single-meta>div{padding:8px 10px!important}
.single-page .single-meta b{font-size:10px!important;color:#a8aeb5!important}
.single-page .single-meta span{font-size:10px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.single-page .single-meta-link{color:#f0f1f3!important;text-decoration:none!important;border-bottom:1px solid rgba(255,52,67,.28);transition:color .18s ease,border-color .18s ease,background .18s ease}
.single-page .single-meta-link:hover{color:#ff3445!important;border-bottom-color:#ff3445!important}
.single-page .meta-wide .single-meta-link{display:inline}
.single-page .single-meta>div:hover .single-meta-link{color:#fff}
.single-page .single-poster-side .single-poster-frame img{border-radius:8px}

@media(max-width:900px){
  .single-page .single-heading h1{font-size:20px!important}
  .single-page .single-breadcrumb{font-size:9px}
}
@media(max-width:650px){
  .single-page .single-heading h1{font-size:17px!important;line-height:1.5!important}
  .single-page .single-breadcrumb{justify-content:flex-start;font-size:9px;text-align:right}
  .single-page .single-breadcrumb span{max-width:62vw}
  .single-page .single-quote-title{font-size:15px!important}
}


/* V25 — breadcrumb + H1 belong to the content column beside the poster, like the reference layout. */
.single-page .single-stage{align-items:start!important}
.single-page .single-main .single-title-block{margin:0 0 12px!important;padding:0!important;text-align:center!important}
.single-page .single-main .single-breadcrumb{justify-content:center!important;min-height:24px!important;margin:0 0 7px!important;padding:0!important;font-size:10px!important;text-align:center!important}
.single-page .single-main .single-breadcrumb span{max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.single-page .single-main .single-heading{margin:0!important;text-align:center!important}
.single-page .single-main .single-heading h1{margin:0!important;font-size:22px!important;line-height:1.42!important;font-weight:900!important;color:#f3f4f6!important;text-shadow:0 3px 16px rgba(0,0,0,.55)!important}
.single-page .single-main .single-badges{margin-top:2px!important}
@media(max-width:1100px){.single-page .single-main .single-heading h1{font-size:20px!important}}
@media(max-width:900px){.single-page .single-main .single-title-block{text-align:right!important}.single-page .single-main .single-breadcrumb{justify-content:flex-start!important;text-align:right!important}.single-page .single-main .single-heading{text-align:right!important}.single-page .single-main .single-heading h1{font-size:18px!important}.single-page .single-main .single-breadcrumb span{max-width:68vw!important}}
@media(max-width:650px){.single-page .single-main .single-title-block{margin-bottom:10px!important}.single-page .single-main .single-heading h1{font-size:16px!important;line-height:1.5!important}.single-page .single-main .single-breadcrumb{font-size:9px!important}.single-page .single-main .single-breadcrumb span{max-width:58vw!important}}

/* =========================================================
   TOPMOVIZ THEME MODES — FINAL
   1) night: existing cinematic dark look (default)
   2) dark: full navy palette
   3) light: full white palette + black typography
   ========================================================= */

/* ---------- NAVY / DARK BLUE ---------- */
html[data-egy-theme="dark"]{
  --tc-bg:#071523;
  --tc-panel:#0b1d2f;
  --tc-panel2:#10263c;
  --tc-line:#25425d;
  --tc-text:#f4f8fc;
  --tc-muted:#a9bfd2;
}
html[data-egy-theme="dark"] body{
  background:#071523!important;
  color:#f4f8fc!important;
}
html[data-egy-theme="dark"] body:before{
  background:radial-gradient(circle at 50% 5%,rgba(31,83,128,.24),transparent 38%),linear-gradient(180deg,#0a1d30 0,#071523 48%,#061321 100%)!important;
}
html[data-egy-theme="dark"] body:after{
  opacity:.10!important;
  background-image:linear-gradient(rgba(125,178,220,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(125,178,220,.045) 1px,transparent 1px)!important;
}
html[data-egy-theme="dark"] .tc-header,
html[data-egy-theme="dark"] .tc-newsbar,
html[data-egy-theme="dark"] .tc-search-panel,
html[data-egy-theme="dark"] .site-footer{
  background:#091a2b!important;
  border-color:#274761!important;
}
html[data-egy-theme="dark"] .tc-header:before{opacity:.10!important;background:linear-gradient(90deg,transparent,rgba(109,177,226,.16),transparent)!important}
html[data-egy-theme="dark"] .tc-menu .sub-menu,
html[data-egy-theme="dark"] .tc-sidebar,
html[data-egy-theme="dark"] .tc-large-panel,
html[data-egy-theme="dark"] .tc-small-panel,
html[data-egy-theme="dark"] .post-box,
html[data-egy-theme="dark"] .single-title,
html[data-egy-theme="dark"] .breadcrumb,
html[data-egy-theme="dark"] .archive-head,
html[data-egy-theme="dark"] .tc-archive-description,
html[data-egy-theme="dark"] .empty,
html[data-egy-theme="dark"] .watch-tabs,
html[data-egy-theme="dark"] .server,
html[data-egy-theme="dark"] .episode,
html[data-egy-theme="dark"] .genre{
  background:#0b1d2f!important;
  border-color:#294a66!important;
  color:#f4f8fc!important;
}
html[data-egy-theme="dark"] .tc-menu .sub-menu a{background:#0b1d2f!important;color:#f4f8fc!important;border-color:#294a66!important}
html[data-egy-theme="dark"] .tc-menu .sub-menu a:hover{background:#12314d!important}
html[data-egy-theme="dark"] .tc-section-title,
html[data-egy-theme="dark"] .tc-section-title>div,
html[data-egy-theme="dark"] .tc-sidebar-head,
html[data-egy-theme="dark"] .meta-box>div,
html[data-egy-theme="dark"] .post-topbar,
html[data-egy-theme="dark"] .footer-divider,
html[data-egy-theme="dark"] .tc-panel-head{
  border-color:#294a66!important;
}
html[data-egy-theme="dark"] .tc-menu>li>a,
html[data-egy-theme="dark"] .tc-social a,
html[data-egy-theme="dark"] .tc-card-bottom strong,
html[data-egy-theme="dark"] .tc-small-copy b,
html[data-egy-theme="dark"] .tc-side-copy b,
html[data-egy-theme="dark"] .footer-links,
html[data-egy-theme="dark"] .meta-box span,
html[data-egy-theme="dark"] .synopsis,
html[data-egy-theme="dark"] .single-content,
html[data-egy-theme="dark"] .tc-section-title h2,
html[data-egy-theme="dark"] .tc-sidebar-head h3,
html[data-egy-theme="dark"] .tc-archive-title h1,
html[data-egy-theme="dark"] .tc-logo-white{
  color:#f4f8fc!important;
}
html[data-egy-theme="dark"] .tc-brand small,
html[data-egy-theme="dark"] .tc-side-copy small,
html[data-egy-theme="dark"] .tc-small-copy small,
html[data-egy-theme="dark"] .footer-copy,
html[data-egy-theme="dark"] .meta-box b,
html[data-egy-theme="dark"] .tc-muted,
html[data-egy-theme="dark"] .tc-archive-count{
  color:#a9bfd2!important;
}
html[data-egy-theme="dark"] .tc-poster,
html[data-egy-theme="dark"] .tc-placeholder{background:#0a1b2d!important}
html[data-egy-theme="dark"] .tc-section-title>a,
html[data-egy-theme="dark"] .page-numbers a,
html[data-egy-theme="dark"] .page-numbers span,
html[data-egy-theme="dark"] .content-chip,
html[data-egy-theme="dark"] .ep-chip,
html[data-egy-theme="dark"] .share a{
  background:#102943!important;
  border-color:#34516d!important;
  color:#f4f8fc!important;
}
html[data-egy-theme="dark"] .tc-section-title>a:hover,
html[data-egy-theme="dark"] .content-chip:hover,
html[data-egy-theme="dark"] .ep-chip:hover,
html[data-egy-theme="dark"] .share a:hover{background:#163a5c!important;color:#fff!important}
html[data-egy-theme="dark"] .tc-search-panel input,
html[data-egy-theme="dark"] input,
html[data-egy-theme="dark"] select,
html[data-egy-theme="dark"] textarea{
  background:#0e2740!important;color:#fff!important;border-color:#34516d!important;
}

/* dedicated media / watch / download pages */
html[data-egy-theme="dark"] .media-page .media-overlay{
  background:linear-gradient(90deg,rgba(5,18,31,.98) 0%,rgba(7,27,45,.92) 42%,rgba(7,24,40,.88) 70%,rgba(5,17,29,.96) 100%),linear-gradient(180deg,rgba(5,16,28,.42),rgba(5,16,28,.94) 80%,#071523 100%)!important;
}
html[data-egy-theme="dark"] .media-topbar,
html[data-egy-theme="dark"] .media-panel,
html[data-egy-theme="dark"] .media-title,
html[data-egy-theme="dark"] .watch-player-card,
html[data-egy-theme="dark"] .watch-episodes-panel,
html[data-egy-theme="dark"] .watch-servers-panel,
html[data-egy-theme="dark"] .download-panel,
html[data-egy-theme="dark"] .download-page-card,
html[data-egy-theme="dark"] .download-quality-badge{
  background:#0b1d2f!important;
  border-color:#294a66!important;
  color:#f4f8fc!important;
}
html[data-egy-theme="dark"] .watch-episodes-panel,
html[data-egy-theme="dark"] .watch-servers-panel{
  background:linear-gradient(180deg,#10263c,#0b1d2f)!important;
}
html[data-egy-theme="dark"] .watch-side-head{background:#102943!important}
html[data-egy-theme="dark"] .watch-episode-item,
html[data-egy-theme="dark"] .watch-server-item,
html[data-egy-theme="dark"] .watch-tip{
  background:#10263c!important;
  border-color:#31526d!important;
  color:#f4f8fc!important;
}
html[data-egy-theme="dark"] .watch-episode-item:hover,
html[data-egy-theme="dark"] .watch-server-item:hover{background:#163653!important}
html[data-egy-theme="dark"] .watch-episode-item.current,
html[data-egy-theme="dark"] .watch-server-item.active{background:var(--tc-red)!important;border-color:var(--tc-red)!important;color:#fff!important}
html[data-egy-theme="dark"] .watch-player-card{background:#06111e!important}
html[data-egy-theme="dark"] .watch-player-wrap{background:#020b14!important}

/* ---------- LIGHT / DAY ---------- */
html[data-egy-theme="light"]{
  --tc-bg:#fff;
  --tc-panel:#fff;
  --tc-panel2:#fff;
  --tc-line:#d8dde3;
  --tc-text:#11151a;
  --tc-muted:#59636d;
}
html[data-egy-theme="light"] body{background:#fff!important;color:#11151a!important}
html[data-egy-theme="light"] body:before,
html[data-egy-theme="light"] body:after{display:none!important}
html[data-egy-theme="light"] .tc-header,
html[data-egy-theme="light"] .tc-newsbar,
html[data-egy-theme="light"] .tc-search-panel,
html[data-egy-theme="light"] .site-footer{
  background:#fff!important;
  border-color:#d7dce2!important;
  box-shadow:0 5px 24px rgba(20,30,40,.06)!important;
}
html[data-egy-theme="light"] .tc-header:before{display:none!important}
html[data-egy-theme="light"] .tc-menu>li>a,
html[data-egy-theme="light"] .tc-social a,
html[data-egy-theme="light"] .tc-logo-white,
html[data-egy-theme="light"] .tc-card-bottom strong,
html[data-egy-theme="light"] .tc-small-copy b,
html[data-egy-theme="light"] .tc-side-copy b,
html[data-egy-theme="light"] .footer-links,
html[data-egy-theme="light"] .meta-box span,
html[data-egy-theme="light"] .synopsis,
html[data-egy-theme="light"] .single-content,
html[data-egy-theme="light"] .tc-section-title h2,
html[data-egy-theme="light"] .tc-sidebar-head h3,
html[data-egy-theme="light"] .tc-archive-title h1,
html[data-egy-theme="light"] .watch-head h1,
html[data-egy-theme="light"] .watch-side-head strong,
html[data-egy-theme="light"] .download-page-head h1{
  color:#11151a!important;
  text-shadow:none!important;
}
html[data-egy-theme="light"] .tc-brand small,
html[data-egy-theme="light"] .tc-side-copy small,
html[data-egy-theme="light"] .tc-small-copy small,
html[data-egy-theme="light"] .footer-copy,
html[data-egy-theme="light"] .meta-box b,
html[data-egy-theme="light"] .tc-muted,
html[data-egy-theme="light"] .tc-archive-count,
html[data-egy-theme="light"] .watch-episode-copy small,
html[data-egy-theme="light"] .watch-tip,
html[data-egy-theme="light"] .download-card-main span{
  color:#59636d!important;
}
html[data-egy-theme="light"] .tc-menu .sub-menu,
html[data-egy-theme="light"] .tc-sidebar,
html[data-egy-theme="light"] .tc-large-panel,
html[data-egy-theme="light"] .tc-small-panel,
html[data-egy-theme="light"] .post-box,
html[data-egy-theme="light"] .single-title,
html[data-egy-theme="light"] .breadcrumb,
html[data-egy-theme="light"] .archive-head,
html[data-egy-theme="light"] .tc-archive-description,
html[data-egy-theme="light"] .empty,
html[data-egy-theme="light"] .watch-tabs,
html[data-egy-theme="light"] .server,
html[data-egy-theme="light"] .episode,
html[data-egy-theme="light"] .genre{
  background:#fff!important;border-color:#d7dce2!important;color:#11151a!important;
}
html[data-egy-theme="light"] .tc-menu .sub-menu a{background:#fff!important;color:#11151a!important;border-color:#e3e6ea!important}
html[data-egy-theme="light"] .tc-menu .sub-menu a:hover{background:#f2f4f6!important}
html[data-egy-theme="light"] .tc-section-title,
html[data-egy-theme="light"] .tc-sidebar-head,
html[data-egy-theme="light"] .meta-box>div,
html[data-egy-theme="light"] .post-topbar,
html[data-egy-theme="light"] .footer-divider,
html[data-egy-theme="light"] .tc-panel-head{border-color:#dfe3e8!important}
html[data-egy-theme="light"] .tc-section-title>a,
html[data-egy-theme="light"] .page-numbers a,
html[data-egy-theme="light"] .page-numbers span,
html[data-egy-theme="light"] .content-chip,
html[data-egy-theme="light"] .ep-chip,
html[data-egy-theme="light"] .share a{
  background:#fff!important;border-color:#cfd5dc!important;color:#11151a!important;
}
html[data-egy-theme="light"] .tc-section-title>a:hover,
html[data-egy-theme="light"] .content-chip:hover,
html[data-egy-theme="light"] .ep-chip:hover,
html[data-egy-theme="light"] .share a:hover{background:#f3f5f7!important;color:#11151a!important}
html[data-egy-theme="light"] .tc-poster,
html[data-egy-theme="light"] .tc-placeholder{background:#f3f5f7!important}
html[data-egy-theme="light"] .tc-search-panel input,
html[data-egy-theme="light"] input,
html[data-egy-theme="light"] select,
html[data-egy-theme="light"] textarea{
  background:#fff!important;color:#11151a!important;border-color:#cfd5dc!important;
}

/* light media/watch/download */
html[data-egy-theme="light"] .media-page{background:#fff!important;color:#11151a!important}
html[data-egy-theme="light"] .media-page .media-backdrop{filter:none!important;opacity:.08!important}
html[data-egy-theme="light"] .media-page .media-overlay{
  background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,255,255,.98))!important;
}
html[data-egy-theme="light"] .media-topbar,
html[data-egy-theme="light"] .media-panel,
html[data-egy-theme="light"] .media-title,
html[data-egy-theme="light"] .download-panel,
html[data-egy-theme="light"] .download-quality-badge,
html[data-egy-theme="light"] .watch-player-card,
html[data-egy-theme="light"] .watch-episodes-panel,
html[data-egy-theme="light"] .watch-servers-panel,
html[data-egy-theme="light"] .download-page-card{
  background:#fff!important;border-color:#d7dce2!important;color:#11151a!important;box-shadow:0 8px 25px rgba(20,30,40,.05)!important;
}
html[data-egy-theme="light"] .watch-episodes-panel,
html[data-egy-theme="light"] .watch-servers-panel{background:#fff!important}
html[data-egy-theme="light"] .watch-side-head{background:#f7f8fa!important}
html[data-egy-theme="light"] .watch-episode-item,
html[data-egy-theme="light"] .watch-server-item,
html[data-egy-theme="light"] .watch-tip{
  background:#f7f8fa!important;border-color:#d9dee4!important;color:#11151a!important;
}
html[data-egy-theme="light"] .watch-episode-item:hover,
html[data-egy-theme="light"] .watch-server-item:hover{background:#eef1f4!important}
html[data-egy-theme="light"] .watch-episode-item.current,
html[data-egy-theme="light"] .watch-server-item.active{background:var(--tc-red)!important;border-color:var(--tc-red)!important;color:#fff!important}
html[data-egy-theme="light"] .watch-player-card{background:#eef1f4!important}
html[data-egy-theme="light"] .watch-player-wrap{background:#000!important}
html[data-egy-theme="light"] .download-page-card:not(.primary){background:#f7f8fa!important;color:#11151a!important}

/* Keep brand red / yellow accents consistent in every mode. */
html[data-egy-theme="dark"] .tc-logo-red,
html[data-egy-theme="light"] .tc-logo-red{color:#ff3443!important}
html[data-egy-theme="light"] .tc-news-text{color:#11151a!important}

/* =========================================================
   V28 — ISOLATED THEME PALETTES
   Each mode owns its complete palette; no mode inherits the
   visual surfaces/backgrounds of another mode.
   ========================================================= */

/* NIGHT = original cinematic black mode */
html[data-egy-theme="night"]{
  --tc-bg:#080b0f;
  --tc-panel:#101419;
  --tc-panel2:#151a20;
  --tc-line:#222830;
  --tc-text:#fff;
  --tc-muted:#a8adb4;
}
html[data-egy-theme="night"] body{background:#080b0f!important;color:#fff!important}
html[data-egy-theme="night"] body:before{display:block!important;background:radial-gradient(circle at 50% 5%,rgba(55,63,73,.22),transparent 35%),linear-gradient(180deg,#0c1015 0,#080b0f 38%,#07090d 100%)!important}
html[data-egy-theme="night"] body:after{display:block!important;opacity:.16!important;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px)!important}
html[data-egy-theme="night"] .tc-header,
html[data-egy-theme="night"] .tc-newsbar,
html[data-egy-theme="night"] .tc-search-panel,
html[data-egy-theme="night"] .site-footer{background:rgba(10,13,17,.96)!important;border-color:#20252c!important;color:#fff!important}
html[data-egy-theme="night"] .single-page .single-overlay{background:linear-gradient(90deg,rgba(7,10,14,.98) 0%,rgba(7,10,14,.86) 24%,rgba(7,10,14,.78) 55%,rgba(7,10,14,.89) 100%),linear-gradient(180deg,rgba(5,8,12,.50) 0%,rgba(5,8,12,.88) 72%,#080b0f 100%)!important}
html[data-egy-theme="night"] .tc-menu>li>a,
html[data-egy-theme="night"] .tc-social a,
html[data-egy-theme="night"] .tc-logo-white,
html[data-egy-theme="night"] .single-heading h1,
html[data-egy-theme="night"] .single-quote-title,
html[data-egy-theme="night"] .single-meta span,
html[data-egy-theme="night"] .single-content,
html[data-egy-theme="night"] .single-page .single-main .single-heading h1{color:#f3f4f6!important}
html[data-egy-theme="night"] .single-page .single-breadcrumb a{color:#d7dadd!important}
html[data-egy-theme="night"] .single-page .single-synopsis{background:rgba(25,30,36,.72)!important;border-color:rgba(255,255,255,.07)!important;color:#cfd3d8!important}
html[data-egy-theme="night"] .single-page .single-content-area .single-content-tabs{background:linear-gradient(180deg,rgba(16,20,25,.28),rgba(10,13,17,.12))!important;border-color:rgba(255,255,255,.20)!important}
html[data-egy-theme="night"] .single-page .single-content-area .single-tab{color:#f2f3f5!important}
html[data-egy-theme="night"] .single-page .single-content-area .single-tab.is-active{background:rgba(255,52,67,.045)!important;color:#ff3445!important}
html[data-egy-theme="night"] .action-card,
html[data-egy-theme="night"] .single-story-box,
html[data-egy-theme="night"] .single-page .single-media-panel,
html[data-egy-theme="night"] .single-page .season-card{background:linear-gradient(180deg,rgba(25,31,38,.87),rgba(13,17,22,.96))!important;border-color:rgba(255,255,255,.06)!important;color:#fff!important}
html[data-egy-theme="night"] .single-meta>div{border-color:rgba(255,255,255,.10)!important}
html[data-egy-theme="night"] .single-meta{border-color:rgba(255,255,255,.14)!important}

/* NAVY = completely independent blue palette */
html[data-egy-theme="dark"] .single-page .single-backdrop{opacity:.20!important;filter:blur(2px)!important}
html[data-egy-theme="dark"] .single-page .single-overlay{background:linear-gradient(90deg,rgba(4,17,30,.98) 0%,rgba(5,24,42,.94) 24%,rgba(7,29,49,.90) 55%,rgba(5,20,35,.96) 100%),linear-gradient(180deg,rgba(3,14,25,.55),rgba(4,18,31,.94) 72%,#071523 100%)!important}
html[data-egy-theme="dark"] .single-page .single-shell,
html[data-egy-theme="dark"] .single-page .single-main,
html[data-egy-theme="dark"] .single-page .single-actions,
html[data-egy-theme="dark"] .single-page .single-poster-side{color:#f4f8fc!important}
html[data-egy-theme="dark"] .single-page .single-title-block,
html[data-egy-theme="dark"] .single-page .single-heading,
html[data-egy-theme="dark"] .single-page .single-breadcrumb,
html[data-egy-theme="dark"] .single-page .single-quote-title,
html[data-egy-theme="dark"] .single-page .single-meta,
html[data-egy-theme="dark"] .single-page .single-content-area{color:#f4f8fc!important}
html[data-egy-theme="dark"] .single-page .single-breadcrumb a{color:#c9d9e7!important}
html[data-egy-theme="dark"] .single-page .single-breadcrumb span,
html[data-egy-theme="dark"] .single-page .single-meta b{color:#a9bfd2!important}
html[data-egy-theme="dark"] .single-page .single-heading h1,
html[data-egy-theme="dark"] .single-page .single-main .single-heading h1{color:#f4f8fc!important;text-shadow:0 3px 16px rgba(0,0,0,.45)!important}
html[data-egy-theme="dark"] .single-page .single-synopsis{background:#0d253c!important;border-color:#294a66!important;color:#dbe8f2!important}
html[data-egy-theme="dark"] .single-page .single-meta,
html[data-egy-theme="dark"] .single-page .single-meta>div{border-color:#294a66!important}
html[data-egy-theme="dark"] .single-page .single-meta span{color:#edf5fb!important}
html[data-egy-theme="dark"] .single-page .single-meta-link{color:#edf5fb!important;border-color:#34516d!important}
html[data-egy-theme="dark"] .single-page .single-content-area{border-color:#294a66!important}
html[data-egy-theme="dark"] .single-page .single-content-area .single-content-tabs{background:#0a1b2d!important;border-color:#294a66!important}
html[data-egy-theme="dark"] .single-page .single-content-area .single-tab{background:#0a1b2d!important;color:#edf5fb!important}
html[data-egy-theme="dark"] .single-page .single-content-area .single-tab:hover{background:#102943!important;color:#fff!important}
html[data-egy-theme="dark"] .single-page .single-content-area .single-tab.is-active{background:#0f2942!important;color:#5faee8!important;border-bottom-color:#ff3445!important}
html[data-egy-theme="dark"] .single-page .single-story-box{background:#0b1d2f!important;border-color:#294a66!important;color:#dbe8f2!important}
html[data-egy-theme="dark"] .single-page .action-card{background:linear-gradient(180deg,#0e2740,#0b1d2f)!important;border-color:#294a66!important;color:#f4f8fc!important}
html[data-egy-theme="dark"] .single-page .action-card:hover{background:linear-gradient(180deg,#123451,#0d2237)!important;border-color:#3b6283!important}
html[data-egy-theme="dark"] .single-page .single-media-panel{background:linear-gradient(180deg,#0d253c,#091a2b)!important;border-color:#294a66!important;color:#f4f8fc!important}
html[data-egy-theme="dark"] .single-page .season-card{background:linear-gradient(180deg,#102943,#0b1d2f)!important;border-color:#31526d!important;color:#f4f8fc!important}
html[data-egy-theme="dark"] .single-page .season-card:hover,
html[data-egy-theme="dark"] .single-page .season-card.current{background:linear-gradient(180deg,#163a5c,#0f2941)!important;border-color:#5c87ac!important}

/* LIGHT = pure white surface + black typography */
html[data-egy-theme="light"]{
  --tc-bg:#fff;
  --tc-panel:#fff;
  --tc-panel2:#fff;
  --tc-line:#d5d9df;
  --tc-text:#111!important;
  --tc-muted:#555;
}
html[data-egy-theme="light"] body{background:#fff!important;color:#111!important}
html[data-egy-theme="light"] body:before,
html[data-egy-theme="light"] body:after{display:none!important}
html[data-egy-theme="light"] .tc-header,
html[data-egy-theme="light"] .tc-newsbar,
html[data-egy-theme="light"] .tc-search-panel,
html[data-egy-theme="light"] .site-footer{background:#fff!important;border-color:#d5d9df!important;color:#111!important;box-shadow:0 4px 18px rgba(0,0,0,.05)!important}
html[data-egy-theme="light"] .tc-header:before{display:none!important}
html[data-egy-theme="light"] .tc-menu>li>a,
html[data-egy-theme="light"] .tc-menu>li>a:before,
html[data-egy-theme="light"] .tc-social a,
html[data-egy-theme="light"] .tc-logo-white,
html[data-egy-theme="light"] .tc-theme-btn,
html[data-egy-theme="light"] .tc-brand small{color:#111!important}
html[data-egy-theme="light"] .tc-menu .sub-menu{background:#fff!important;border-color:#d5d9df!important}
html[data-egy-theme="light"] .tc-menu .sub-menu a{background:#fff!important;color:#111!important;border-color:#e2e5e9!important}
html[data-egy-theme="light"] .tc-menu .sub-menu a:hover{background:#f3f4f6!important;color:#111!important}

/* The single hero must also become independent in day mode. */
html[data-egy-theme="light"] .single-page{background:#fff!important;background-image:none!important;color:#111!important}
html[data-egy-theme="light"] .single-page .single-backdrop{display:none!important}
html[data-egy-theme="light"] .single-page .single-overlay{background:#fff!important}
html[data-egy-theme="light"] .single-page .single-shell,
html[data-egy-theme="light"] .single-page .single-main,
html[data-egy-theme="light"] .single-page .single-actions,
html[data-egy-theme="light"] .single-page .single-poster-side{color:#111!important}
html[data-egy-theme="light"] .single-page .single-title-block,
html[data-egy-theme="light"] .single-page .single-heading,
html[data-egy-theme="light"] .single-page .single-breadcrumb,
html[data-egy-theme="light"] .single-page .single-quote-title,
html[data-egy-theme="light"] .single-page .single-meta,
html[data-egy-theme="light"] .single-page .single-content-area{color:#111!important}
html[data-egy-theme="light"] .single-page .single-breadcrumb a{color:#111!important}
html[data-egy-theme="light"] .single-page .single-breadcrumb span,
html[data-egy-theme="light"] .single-page .single-meta b{color:#555!important}
html[data-egy-theme="light"] .single-page .single-heading h1,
html[data-egy-theme="light"] .single-page .single-main .single-heading h1,
html[data-egy-theme="light"] .single-page .single-quote-title,
html[data-egy-theme="light"] .single-page .single-meta span{color:#111!important;text-shadow:none!important}
html[data-egy-theme="light"] .single-page .single-synopsis{background:#fff!important;border-color:#d5d9df!important;color:#111!important;box-shadow:0 4px 18px rgba(0,0,0,.04)!important}
html[data-egy-theme="light"] .single-page .single-meta,
html[data-egy-theme="light"] .single-page .single-meta>div{border-color:#d5d9df!important}
html[data-egy-theme="light"] .single-page .single-meta-link{color:#111!important;border-color:#d5d9df!important}
html[data-egy-theme="light"] .single-page .single-meta-link:hover{color:#ff3445!important;border-color:#ff3445!important}
html[data-egy-theme="light"] .single-page .single-content-area{border-color:#d5d9df!important}
html[data-egy-theme="light"] .single-page .single-content-area .single-content-tabs{background:#fff!important;border-color:#cfd4da!important}
html[data-egy-theme="light"] .single-page .single-content-area .single-tab{background:#fff!important;color:#111!important}
html[data-egy-theme="light"] .single-page .single-content-area .single-tab:hover{background:#f5f6f7!important;color:#111!important}
html[data-egy-theme="light"] .single-page .single-content-area .single-tab.is-active{background:#fff!important;color:#ff3445!important;border-bottom-color:#ff3445!important}
html[data-egy-theme="light"] .single-page .single-story-box{background:#fff!important;border-color:#d5d9df!important;color:#111!important}
html[data-egy-theme="light"] .single-page .action-card{background:#fff!important;border-color:#d5d9df!important;color:#111!important;box-shadow:0 6px 18px rgba(0,0,0,.05)!important}
html[data-egy-theme="light"] .single-page .action-card:hover{background:#f7f8f9!important;border-color:#c3c9d0!important}
html[data-egy-theme="light"] .single-page .action-card small{color:#666!important}
html[data-egy-theme="light"] .single-page .single-media-panel{background:#fff!important;border-color:#d5d9df!important;color:#111!important;box-shadow:0 6px 20px rgba(0,0,0,.05)!important}
html[data-egy-theme="light"] .single-page .season-card{background:#fff!important;border-color:#d5d9df!important;color:#111!important;box-shadow:0 6px 18px rgba(0,0,0,.05)!important}
html[data-egy-theme="light"] .single-page .season-card:hover,
html[data-egy-theme="light"] .single-page .season-card.current{background:#f7f8f9!important;border-color:#ff3445!important}
html[data-egy-theme="light"] .single-page .season-card-copy small{color:#666!important}
html[data-egy-theme="light"] .single-page .single-panel-rule,
html[data-egy-theme="light"] .single-page .episodes-panel-rule{border-color:#d5d9df!important}

/* Dedicated watch/download pages stay independent too. */
html[data-egy-theme="light"] .media-page{background:#fff!important;color:#111!important}
html[data-egy-theme="light"] .media-page .media-backdrop{display:none!important}
html[data-egy-theme="light"] .media-page .media-overlay{background:#fff!important}
html[data-egy-theme="light"] .media-page .media-topbar,
html[data-egy-theme="light"] .media-page .media-panel-card,
html[data-egy-theme="light"] .media-page .download-panel-card,
html[data-egy-theme="light"] .media-page .watch-player-card,
html[data-egy-theme="light"] .media-page .watch-episodes-panel,
html[data-egy-theme="light"] .media-page .watch-servers-panel,
html[data-egy-theme="light"] .media-page .download-page-card{background:#fff!important;border-color:#d5d9df!important;color:#111!important}
html[data-egy-theme="light"] .media-page .watch-side-head{background:#f5f6f8!important}
html[data-egy-theme="light"] .media-page .watch-episode-item,
html[data-egy-theme="light"] .media-page .watch-server-item,
html[data-egy-theme="light"] .media-page .media-server-btn{background:#f7f8f9!important;border-color:#d5d9df!important;color:#111!important}
html[data-egy-theme="light"] .media-page .watch-episode-item:hover,
html[data-egy-theme="light"] .media-page .watch-server-item:hover,
html[data-egy-theme="light"] .media-page .media-server-btn:hover{background:#eef1f4!important}
html[data-egy-theme="light"] .media-page .watch-episode-item.current,
html[data-egy-theme="light"] .media-page .watch-server-item.active,
html[data-egy-theme="light"] .media-page .media-server-btn.active{background:#ff3445!important;border-color:#ff3445!important;color:#fff!important}
html[data-egy-theme="light"] .media-page .watch-player-card{background:#f0f2f4!important}
html[data-egy-theme="light"] .media-page .download-page-card:not(.primary){background:#f7f8f9!important;color:#111!important}

/* Day mode: all generic text-bearing panels are white/black as well. */
html[data-egy-theme="light"] .archive-head,
html[data-egy-theme="light"] .tc-archive-description,
html[data-egy-theme="light"] .post-box,
html[data-egy-theme="light"] .empty,
html[data-egy-theme="light"] .tc-large-panel,
html[data-egy-theme="light"] .tc-small-panel,
html[data-egy-theme="light"] .tc-sidebar,
html[data-egy-theme="light"] .tc-sidebar-head,
html[data-egy-theme="light"] .tc-section-title,
html[data-egy-theme="light"] .tc-panel-head{background:#fff!important;color:#111!important;border-color:#d5d9df!important}
html[data-egy-theme="light"] .tc-card-bottom strong,
html[data-egy-theme="light"] .tc-small-copy b,
html[data-egy-theme="light"] .tc-side-copy b,
html[data-egy-theme="light"] .footer-links,
html[data-egy-theme="light"] .meta-box span,
html[data-egy-theme="light"] .synopsis,
html[data-egy-theme="light"] .single-content,
html[data-egy-theme="light"] .tc-section-title h2,
html[data-egy-theme="light"] .tc-sidebar-head h3,
html[data-egy-theme="light"] .tc-archive-title h1{color:#111!important;text-shadow:none!important}
html[data-egy-theme="light"] .tc-side-copy small,
html[data-egy-theme="light"] .tc-small-copy small,
html[data-egy-theme="light"] .footer-copy,
html[data-egy-theme="light"] .meta-box b,
html[data-egy-theme="light"] .tc-muted,
html[data-egy-theme="light"] .tc-archive-count{color:#555!important}

/* V29 — full poster backdrop across the complete Single content area */
html[data-egy-theme="navy"] .single-page,
html[data-egy-theme="dark"] .single-page{background:transparent!important;background-image:none!important}
html[data-egy-theme="navy"] .single-page .single-backdrop,
html[data-egy-theme="dark"] .single-page .single-backdrop{inset:-32px!important;background-size:cover!important;background-position:center top!important;background-repeat:no-repeat!important;opacity:.38!important;filter:blur(6px)!important;transform:scale(1.06)!important}
html[data-egy-theme="light"] .single-page .single-backdrop{display:none!important}


/* V31 - Single content tabs interaction */
.single-content-tabs{display:flex;align-items:stretch;justify-content:flex-start;gap:0;margin:0 0 0;border-bottom:1px solid rgba(255,255,255,.12);background:rgba(12,16,21,.74);overflow-x:auto;scrollbar-width:none}
.single-content-tabs::-webkit-scrollbar{display:none}
.single-tab{position:relative;appearance:none;border:0;border-bottom:3px solid transparent;background:transparent;color:#d9dde1;padding:13px 24px 12px;font:inherit;font-size:15px;font-weight:900;line-height:1.2;white-space:nowrap;cursor:pointer;transition:color .18s ease,background .18s ease,border-color .18s ease}
.single-tab span{color:inherit;margin-inline-start:4px}
.single-tab:hover{color:#fff;background:rgba(255,255,255,.035)}
.single-tab.is-active{color:var(--tc-red);border-bottom-color:var(--tc-red);background:rgba(255,255,255,.02)}
.single-tab:focus-visible{outline:2px solid var(--tc-red);outline-offset:-2px}
.single-tab-panel[hidden]{display:none!important}
.single-tab-panels{min-width:0}
@media(max-width:650px){.single-tab{padding:11px 15px 10px;font-size:13px}.single-content-tabs{justify-content:flex-start}}

/* V31 - isolated light theme for tab surfaces */
html[data-egy-theme="light"] .single-content-tabs{background:#fff;border-bottom-color:#d9dee4}
html[data-egy-theme="light"] .single-tab{color:#171a1e}
html[data-egy-theme="light"] .single-tab:hover{background:#f4f6f8;color:#111}
html[data-egy-theme="light"] .single-tab.is-active{color:var(--tc-red);background:#fff;border-bottom-color:var(--tc-red)}

/* V31 - isolated navy theme for tab surfaces */
html[data-egy-theme="navy"] .single-content-tabs{background:#10253b;border-bottom-color:#2b4963}
html[data-egy-theme="navy"] .single-tab{color:#e7eef5}
html[data-egy-theme="navy"] .single-tab:hover{background:#16314b;color:#fff}
html[data-egy-theme="navy"] .single-tab.is-active{color:var(--tc-red);background:#132d45;border-bottom-color:var(--tc-red)}
