/* Shared public theme. Dashboard settings override these defaults. */
:root{color-scheme:dark;--bg:#08090c;--panel:#151519;--line:#303038;--muted:#a4a4af;--text:#f8f8fa;--accent:#ed0033;font-family:Cairo,Tahoma,Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--bg);color:var(--text);font-size:15px;line-height:1.7}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.4;cursor:not-allowed}input,select{color:var(--text)}a,button,input,select{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:5px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;top:8px;right:20px;transform:translateY(-150%);z-index:50;background:var(--accent);color:#fff;padding:10px 20px;border-radius:6px}.skip-link:focus{transform:none}
h1,h2,h3,p{margin:0}img{display:block;max-width:100%}
/* Full-width artwork and a compact navigation bar, as in the supplied reference. */
.site-header{height:92px;background:var(--bg);border-bottom:1px solid color-mix(in srgb,var(--line) 45%,transparent)}.header-inner{height:100%;max-width:1480px;padding:0 48px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand-link{display:inline-flex}.site-header nav{height:100%;display:flex;align-items:stretch;gap:42px}.site-header nav a{display:flex;align-items:center;position:relative;font-weight:750;font-size:17px;transition:color .2s}.site-header nav a:hover,.site-header nav .active{color:var(--accent)}.site-header nav .active:after{content:"";position:absolute;bottom:15px;height:3px;left:0;right:0;background:var(--accent);border-radius:2px}.home-hero{width:100%;overflow:hidden;background:#09090c}.home-hero>img{display:block;width:100%;height:auto}.home-main{max-width:1480px;margin:auto;padding:42px 48px 0}.home-search{display:flex;align-items:center;gap:19px;width:100%;height:74px;border:1px solid color-mix(in srgb,var(--line) 80%,#fff 20%);border-radius:16px;background:linear-gradient(100deg,color-mix(in srgb,var(--panel) 80%,transparent),var(--panel));padding:0 24px 0 0;box-shadow:inset 0 1px 0 #ffffff08}.home-search:focus-within{border-color:var(--accent)}.home-search>svg{width:29px;height:29px}.home-search input{width:100%;min-width:0;border:0;background:transparent;font-size:19px;outline:none;color:var(--text);padding:14px 0}.home-search input::placeholder{color:var(--muted)}.home-search button{align-self:stretch;border:0;min-width:145px;background:var(--accent);color:white;font-weight:800;font-size:20px;border-radius:15px;padding:0 28px;transition:filter .2s}.home-search button:hover{filter:brightness(1.15)}.home-library{margin-top:55px;min-height:330px;scroll-margin-top:26px}.library-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:38px}.library-heading h2{font-size:32px;font-weight:850;letter-spacing:-.8px;position:relative;padding-bottom:15px}.library-heading h2:after{content:"";position:absolute;width:65px;height:4px;background:var(--accent);right:0;bottom:0;border-radius:4px}.library-summary{display:flex;align-items:center;gap:16px;font-size:13px;color:var(--muted)}.filter-pill{display:inline-flex;align-items:center;justify-content:center;padding:7px 24px;border-radius:30px;border:1px solid var(--accent);background:var(--accent);color:#fff;font-size:16px;font-weight:700}.series-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:34px 20px;align-items:start}.series-card{display:block;min-width:0;text-align:center}.card-image{position:relative;aspect-ratio:1/1.65;overflow:hidden;border-radius:13px;background:linear-gradient(145deg,#292934,var(--panel));border:1px solid color-mix(in srgb,var(--line) 45%,transparent);isolation:isolate;transition:transform .25s,border-color .25s}.card-image>img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.card-image:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#0009);z-index:1;pointer-events:none}.series-card:hover .card-image{transform:translateY(-4px);border-color:var(--accent)}.series-card:hover img{transform:scale(1.045)}.card-count{position:absolute;top:12px;right:10px;z-index:2;background:var(--accent);color:white;border-radius:6px;padding:3px 9px;font-size:11px;font-weight:700}.card-play{position:absolute;bottom:17px;left:50%;transform:translateX(-50%);width:38px;height:38px;display:grid;place-items:center;border-radius:50%;color:white;background:var(--accent);z-index:2;box-shadow:0 3px 20px #0006}.card-play svg{width:23px;height:23px;transform:translateX(1px)}.series-card h3{font-weight:800;font-size:18px;line-height:1.65;margin:13px 0 6px;overflow-wrap:anywhere}.series-card>p{font-size:12px;color:var(--muted)}.series-card>p span{margin:0 4px}.no-results{padding:50px 16px;text-align:center;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}.no-results h3{font-size:21px;color:var(--text);margin-bottom:10px}.no-results p{font-size:14px}.no-results a{display:inline-block;margin-top:20px;color:var(--accent);font-weight:700}.site-footer{margin-top:72px;padding:32px 12px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:24px}.site-footer .brand-word{font-size:28px}.site-footer .brand-symbol{width:36px;height:39px}.footer-divider{width:1px;height:32px;background:var(--line)}.telegram-link{display:inline-flex;gap:12px;align-items:center;font-size:19px;font-weight:700}.telegram-link svg{width:34px;height:34px}.site-footer>p{flex-basis:100%;text-align:center;font-size:12px;color:var(--muted)}
/* Each watch page belongs to one series, with its own poster filling the backdrop. */
.watch-page{min-height:100svh;isolation:isolate;background:var(--bg)}.series-background{position:fixed;inset:0;overflow:hidden;z-index:-2;background:var(--bg);pointer-events:none}.series-background>img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 30%;filter:blur(17px) saturate(.8);opacity:.65;transform:scale(1.06)}.series-background:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,color-mix(in srgb,var(--bg) 72%,transparent),color-mix(in srgb,var(--bg) 40%,transparent) 40%,var(--bg)),linear-gradient(90deg,#0008,transparent,#0008)}.series-main{max-width:1120px;margin:auto;padding:28px 36px 42px}.series-header{display:flex;align-items:center;gap:28px;margin-bottom:25px;padding-bottom:22px;border-bottom:1px solid #ffffff18}.back-home{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:var(--muted);font-size:13px;padding:9px 13px;border:1px solid #ffffff20;border-radius:8px;background:#0003}.back-home svg{width:15px;transform:rotate(180deg)}.back-home:hover{color:var(--text);border-color:var(--accent)}.series-header h1{font-size:27px;font-weight:850;line-height:1.6}.series-header p{font-size:11px;color:var(--muted);margin-top:5px}.series-header p span{margin:0 8px}.watch-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:30px;align-items:start}.watch-column{min-width:0}.player{position:relative;isolation:isolate;overflow:hidden;margin:0 auto;aspect-ratio:9/16;height:min(66svh,720px);max-width:100%;background:#030305;border:1px solid #ffffff20;border-radius:14px;box-shadow:0 18px 70px #0005}.player-backdrop{position:absolute;inset:0;z-index:-1}.player-backdrop img{height:100%;width:100%;object-fit:cover;opacity:.75}.player-backdrop:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#000c,transparent 65%)}video{display:block;width:100%;height:100%;object-fit:contain}video::cue{font-family:Cairo,Tahoma,sans-serif;background:#0009;color:white}.player-cover{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#0002}.big-play{width:74px;height:74px;border-radius:50%;background:var(--accent);color:white;border:0;box-shadow:0 0 0 10px color-mix(in srgb,var(--accent) 16%,transparent);display:grid;place-items:center;transition:transform .2s}.big-play:hover{transform:scale(1.08)}.big-play svg{width:33px;height:33px;transform:translateX(2px)}.player-cover p{font-size:20px;font-weight:750;margin-top:26px}.player-cover>span{font-size:11px;margin-top:9px;color:#e5e5ec}.player.started{background:#000}.player.started .player-backdrop{display:none}.fullscreen-button{position:absolute;left:12px;top:12px;display:grid;place-items:center;border:1px solid #ffffff30;border-radius:7px;background:#0008;color:#fff;z-index:4;padding:8px}.fullscreen-button svg{width:18px;height:18px}.player:fullscreen{height:100vh;width:100vw;max-width:none;border:0;border-radius:0;aspect-ratio:auto;background:#000}.now-playing{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding:0 0 18px}.overline{font-size:10px;color:var(--muted)}.now-playing h2{font-size:21px;font-weight:750;margin:3px 0 0;display:flex;align-items:center;gap:5px}.now-playing h2 small{font-size:11px;font-weight:500;color:var(--muted)}.heading-divider{color:var(--muted);margin:0 4px}.episode-navigation{display:flex;align-items:center;gap:8px}.icon-button{display:grid;place-items:center;width:36px;height:36px;background:#0003;border:1px solid #ffffff25;border-radius:7px;color:var(--text)}.icon-button svg{width:17px}.flipped{transform:rotate(180deg)}.next-button{border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:7px;padding:9px 13px;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:10px}.next-button svg{width:15px}.next-button:hover{filter:brightness(1.12)}.player-options{border:1px solid #ffffff20;border-radius:10px;background:color-mix(in srgb,var(--panel) 85%,transparent);display:flex;align-items:center;gap:12px;min-height:53px;padding:8px 12px;flex-wrap:wrap}.option{display:flex;align-items:center;gap:6px;min-width:0}.option>svg{width:19px;color:var(--muted)}.option select{background:var(--panel);border:0;font-size:10px;max-width:135px;padding:6px 0;cursor:pointer}.option-icon{font-size:9px;border:1px solid var(--muted);padding:0 2px;border-radius:2px;color:var(--muted)}.cinema-button{display:flex;align-items:center;gap:6px;border:0;background:transparent;font-size:10px;margin-inline-start:auto;padding:5px 0}.cinema-button svg{width:15px}.cinema-button[aria-pressed=true]{color:var(--accent)}.episodes-panel{background:color-mix(in srgb,var(--panel) 82%,transparent);border:1px solid #ffffff24;border-radius:14px;padding:24px 20px 0;backdrop-filter:blur(18px)}.episodes-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.episodes-heading h2{font-size:23px;font-weight:800}.episodes-heading>span{font-size:11px;color:var(--muted);border:1px solid var(--line);padding:3px 9px;border-radius:6px}.episode-search{display:flex;align-items:center;gap:10px;border:1px solid #ffffff20;border-radius:8px;padding:11px 12px;background:#0004}.episode-search svg{width:17px;height:17px;color:var(--muted)}.episode-search input{width:100%;min-width:0;border:0;background:transparent;color:var(--text);font-size:12px;outline:none}.episode-search:focus-within{border-color:var(--accent)}.episode-search input::placeholder{color:var(--muted)}.episodes-legend{display:flex;gap:18px;color:var(--muted);font-size:9px;margin:18px 0 15px}.episodes-legend span{display:flex;align-items:center;gap:6px}.episodes-legend i{width:6px;height:6px;display:inline-block;border-radius:50%}.legend-current{background:var(--accent)}.legend-watched{background:#a4a4af}.episode-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;max-height:440px;overflow:auto;padding:3px 3px 18px;direction:ltr;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.episode-button{height:42px;background:#0003;border:1px solid #ffffff26;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:3px;font-size:13px;font-weight:600;position:relative;transition:background .15s,border-color .15s}.episode-button svg{display:none;width:12px;height:12px}.episode-button:hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 15%,transparent)}.episode-button.current{background:var(--accent);border-color:var(--accent);color:white}.episode-button.current svg{display:block}.episode-button.watched:not(.current):after{content:"";position:absolute;bottom:4px;width:3px;height:3px;background:var(--muted);border-radius:50%}.autoplay-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #ffffff18;margin:0 -20px;padding:20px}.autoplay-row strong{display:block;font-size:12px;font-weight:650}.autoplay-row small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.switch{display:inline-flex;position:relative;flex-shrink:0}.switch input{position:absolute;inset:0;opacity:0;cursor:pointer;z-index:1;margin:0}.switch span{display:block;width:35px;height:21px;border-radius:20px;background:#505059}.switch span:after{content:"";position:absolute;top:3px;left:3px;width:15px;height:15px;border-radius:50%;background:white;transition:transform .2s}.switch input:checked+span{background:var(--accent)}.switch input:checked+span:after{transform:translateX(14px)}.switch input:focus-visible+span{outline:2px solid var(--text);outline-offset:4px}.playback-message{border:1px solid #8c7040;border-radius:8px;background:#211a13;color:#f6d49c;padding:13px;font-size:12px;margin-top:16px;display:flex;gap:12px;align-items:center}.playback-message button{margin-inline-start:auto;background:transparent;border:1px solid #8c7040;border-radius:5px;color:inherit;font-size:11px;padding:5px 9px;white-space:nowrap}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;background:var(--panel);border:1px solid var(--accent);color:var(--text);padding:13px 22px;border-radius:9px;box-shadow:0 8px 30px #0008;z-index:50;font-size:12px}.empty-state{text-align:center;padding:70px 20px}.empty-state h1{font-size:27px}.empty-state p{color:var(--muted);margin:15px 0 25px}.cinema .watch-layout{grid-template-columns:1fr}.cinema .episodes-panel{display:none}.cinema .player{height:78svh}.cinema .watch-column{max-width:760px;width:100%;margin:auto}
@media(min-width:1550px){.home-main{padding-top:50px}.card-image{aspect-ratio:1/1.7}}
@media(max-width:1050px){.header-inner{padding-inline:32px}.home-main{padding:34px 30px 0}.site-header{height:80px}.site-header nav{gap:30px}.brand-word{font-size:29px}.brand-symbol{width:40px;height:44px}.library-heading h2{font-size:28px}.series-grid{gap:28px 16px}.series-card h3{font-size:16px}.card-count{font-size:10px;top:9px;right:8px}.card-play{width:32px;height:32px}.home-search{height:65px}.home-search input{font-size:17px}.home-search button{font-size:18px;min-width:125px}.watch-layout{grid-template-columns:minmax(0,1fr) 310px;gap:24px}.series-main{padding-inline:28px}.series-header h1{font-size:24px}.cinema-button span{display:none}}
@media(max-width:850px){.series-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.site-header nav{gap:24px}.site-header nav a{font-size:15px}.brand-word{font-size:26px}.brand-symbol{width:35px;height:39px}.watch-layout{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.episodes-panel{padding:20px 16px 0}.autoplay-row{margin-inline:-16px;padding:18px 16px}.episode-grid{gap:6px}.episode-button{height:38px}.player-options{gap:9px}.now-playing{align-items:flex-start;flex-direction:column;gap:12px}.series-header h1{font-size:23px}}
@media(max-width:640px){.header-inner{padding-inline:18px;gap:15px}.site-header{height:72px}.site-header nav{gap:18px}.site-header nav a{font-size:12px}.site-header nav .active:after{bottom:10px;height:2px}.brand-word{font-size:22px;letter-spacing:-1.2px}.brand-symbol{width:29px;height:33px}.site-brand{gap:6px}.home-main{padding:25px 18px 0}.home-search{height:58px;gap:12px;padding-right:15px;border-radius:12px}.home-search>svg{width:22px;height:22px}.home-search input{font-size:14px}.home-search button{min-width:88px;padding-inline:18px;font-size:16px;border-radius:11px}.home-library{margin-top:35px}.library-heading{gap:12px;margin-bottom:25px}.library-heading h2{font-size:23px;padding-bottom:11px}.library-heading h2:after{height:3px;width:45px}.library-summary{gap:8px;font-size:10px}.filter-pill{padding:4px 13px;font-size:12px}.series-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 13px}.series-card h3{font-size:14px;margin:10px 0 4px}.series-card>p{font-size:10px}.card-count{font-size:9px;padding:2px 6px;top:8px;right:7px}.card-image{border-radius:9px}.site-footer{margin-top:45px;padding:26px 0;gap:18px}.site-footer .brand-word{font-size:23px}.site-footer .brand-symbol{width:30px;height:33px}.telegram-link{font-size:14px;gap:8px}.telegram-link svg{width:29px;height:29px}.footer-divider{height:27px}.site-footer>p{font-size:10px}.series-main{padding:18px 18px 28px}.series-header{gap:15px;padding-bottom:17px;margin-bottom:21px}.series-header h1{font-size:21px}.series-header p{font-size:10px}.back-home{font-size:11px;padding:7px 9px;gap:3px}.watch-layout{grid-template-columns:1fr;gap:25px}.player{height:auto;width:min(100%,360px);max-height:74svh;aspect-ratio:9/16;max-width:calc(74svh * 9 / 16);border-radius:12px}.player:fullscreen{width:100vw;max-width:none;max-height:none;height:100vh}.now-playing{flex-direction:row;align-items:center;margin-top:18px}.now-playing h2{font-size:20px}.now-playing h2 small{font-size:10px}.next-button{font-size:11px;padding:8px 10px;gap:5px}.player-options{justify-content:space-between;gap:10px;padding:8px 11px}.option select{max-width:110px;font-size:10px}.episodes-panel{padding:20px 18px 0}.episodes-heading h2{font-size:21px}.episode-grid{grid-template-columns:repeat(7,minmax(0,1fr));max-height:245px;gap:8px}.episode-button{height:40px}.autoplay-row{margin-inline:-18px;padding:18px}.series-background>img{filter:blur(11px);object-position:center}.series-background:after{background:linear-gradient(180deg,#08090cc9,#08090c66 35%,var(--bg))}.cinema .player{max-height:82svh;max-width:calc(82svh * 9 / 16);height:auto}.cinema .player:fullscreen{max-width:none;max-height:none;height:100vh}.no-results h3{font-size:18px}}
@media(max-width:430px){.header-inner{padding-inline:14px;gap:10px}.site-header nav{gap:14px}.site-header nav a{font-size:11px}.brand-word{font-size:20px}.brand-symbol{width:26px;height:29px}.home-main{padding-inline:16px}.series-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 16px}.series-card h3{font-size:16px}.series-card>p{font-size:11px}.card-play{width:35px;height:35px}.library-heading h2{font-size:22px}.library-summary{gap:6px}.site-footer{gap:14px}.site-footer .brand-word{font-size:20px}.telegram-link{font-size:12px}.footer-divider{display:none}.episode-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.series-header h1{font-size:19px}.series-main{padding-inline:14px}.now-playing h2{font-size:18px}.episode-navigation{gap:5px}.icon-button{width:32px;height:34px}.next-button{font-size:10px}.option select{max-width:100px}.player-cover>span{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

.seo-breadcrumb{font-size:10px;line-height:1.9;color:var(--muted);margin-top:5px}.seo-breadcrumb>a:hover{color:var(--text)}.seo-breadcrumb>span[aria-hidden]{margin-inline:5px;opacity:.6}.series-summary{font-size:13px;line-height:2;color:var(--muted);max-width:850px;margin:0 0 24px;white-space:pre-line}
/* The shared footer aligns with page content and remains in normal document flow. */
.site-footer{width:calc(100% - 96px);max-width:1384px;margin-inline:auto}.watch-page>.site-footer{width:calc(100% - 72px);max-width:1048px}
@media(max-width:1100px){body>.site-footer{width:calc(100% - 60px)}.watch-page>.site-footer{width:calc(100% - 56px)}}
@media(max-width:650px){body>.site-footer,.watch-page>.site-footer{width:calc(100% - 36px)}}
