:root{--fxm-bg:#0b0b0b;--fxm-panel:#151515;--fxm-panel-2:#1b1b1b;--fxm-line:#292929;--fxm-text:#f4f4f4;--fxm-muted:#9b9b9b;--fxm-accent:#a4f425;--fxm-radius:16px;--fxm-shadow:0 18px 55px rgba(0,0,0,.35)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body.fxm-neo{margin:0;background:var(--fxm-bg);color:var(--fxm-text);font-family:Tahoma,Arial,sans-serif;font-size:14px;line-height:1.8;direction:rtl}body.fxm-neo a{color:inherit;text-decoration:none}body.fxm-neo img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button{cursor:pointer}.fxm-container{width:min(1320px,calc(100% - 40px));margin-inline:auto}.fxm-top-notice,.fxm-alert-bar{padding:8px 20px;text-align:center;font-size:13px;background:#1b2412;color:#e7ffd0}.fxm-alert-bar{background:#182126;color:#e4f4ff}.fxm-header{position:sticky;top:0;z-index:100;background:rgba(10,10,10,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.07)}.fxm-header-inner{width:min(1380px,calc(100% - 36px));min-height:78px;margin:auto;display:flex;align-items:center;gap:28px}.fxm-brand{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:20px;font-weight:900}.fxm-brand img{display:block;max-width:150px;max-height:48px;object-fit:contain}.fxm-brand-mobile{display:none!important}.fxm-brand-mark{width:37px;height:37px;border-radius:11px;background:var(--fxm-accent);color:#101010;display:grid;place-items:center;font-size:11px;font-weight:1000;letter-spacing:-1px}.fxm-primary-nav{flex:1;min-width:0}.fxm-menu,.fxm-menu ul{list-style:none;padding:0;margin:0;display:flex;align-items:center;gap:5px}.fxm-menu>li{position:relative}.fxm-menu>li>a{display:block;padding:11px 13px;color:#d5d5d5;font-weight:700;font-size:13px;border-radius:9px;transition:.2s}.fxm-menu>li>a:hover,.fxm-menu>li.current-menu-item>a{color:var(--fxm-accent);background:rgba(164,244,37,.08)}.fxm-menu li ul{display:none;position:absolute;top:100%;right:0;min-width:190px;padding:8px;background:#171717;border:1px solid var(--fxm-line);border-radius:12px;box-shadow:var(--fxm-shadow);flex-direction:column;align-items:stretch}.fxm-menu li:hover>ul,.fxm-menu li:focus-within>ul{display:flex}.fxm-menu li ul a{display:block;padding:8px 10px;border-radius:7px;color:#ddd}.fxm-menu li ul a:hover{background:#242424;color:var(--fxm-accent)}.fxm-header-actions{display:flex;align-items:center;gap:10px}.fxm-header-search{display:flex;align-items:center;background:#191919;border:1px solid #303030;border-radius:30px;padding:3px 6px 3px 12px;width:230px}.fxm-header-search input{width:100%;border:0;outline:0;background:transparent;color:#fff;font-size:12px;padding:7px}.fxm-header-search button{border:0;background:transparent;color:#aaa;font-size:22px;line-height:1}.fxm-account-link{white-space:nowrap;border:1px solid #393939;border-radius:30px;padding:7px 15px;font-size:12px;font-weight:700}.fxm-account-link:hover{border-color:var(--fxm-accent);color:var(--fxm-accent)}.fxm-mobile-toggle,.fxm-mobile-menu{display:none}.fxm-home{padding-top:28px}.fxm-hero{position:relative;min-height:470px;border-radius:22px;overflow:hidden;background:#151515;display:flex;align-items:center;padding:54px 6%;isolation:isolate;box-shadow:var(--fxm-shadow)}.fxm-hero-backdrop{position:absolute;inset:0;z-index:-1;background-image:linear-gradient(90deg,#0b0b0b 0%,rgba(11,11,11,.94) 24%,rgba(11,11,11,.68) 55%,rgba(11,11,11,.12) 100%),linear-gradient(0deg,#0b0b0b 0%,transparent 45%),var(--fxm-hero-image);background-position:center;background-size:cover;filter:saturate(.8)}.fxm-hero-content{max-width:610px}.fxm-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--fxm-accent);font-size:11px;font-weight:900;letter-spacing:.3px}.fxm-eyebrow:before{content:"";width:19px;height:2px;background:var(--fxm-accent);display:inline-block}.fxm-hero h1{font-size:clamp(30px,4vw,48px);line-height:1.35;margin:13px 0 0;font-weight:900}.fxm-hero-english{margin:2px 0 14px;color:#bbb;font-size:15px;direction:ltr;text-align:right}.fxm-hero-meta{display:flex;flex-wrap:wrap;gap:9px;align-items:center;color:#d1d1d1;font-size:12px}.fxm-hero-meta>span{padding:4px 9px;border-radius:6px;background:rgba(255,255,255,.09)}.fxm-hero-meta .fxm-hero-rating{color:var(--fxm-accent);font-weight:900}.fxm-hero-excerpt{color:#c5c5c5;font-size:14px;line-height:2;margin:17px 0 22px;max-width:570px}.fxm-hero-actions{display:flex;flex-wrap:wrap;gap:10px}.fxm-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #383838;border-radius:9px;padding:10px 17px;font-weight:800;font-size:12px;transition:.2s}.fxm-btn-primary{background:var(--fxm-accent);border-color:var(--fxm-accent);color:#111!important}.fxm-btn-primary:hover{filter:brightness(1.08);transform:translateY(-2px)}.fxm-btn-ghost{background:rgba(20,20,20,.72);color:#fff}.fxm-btn-ghost:hover{border-color:var(--fxm-accent);color:var(--fxm-accent)}.fxm-hero-thumbs{position:absolute;left:28px;bottom:25px;display:flex;gap:8px}.fxm-hero-thumbs a{width:45px;height:66px;border-radius:6px;overflow:hidden;border:1px solid rgba(255,255,255,.18);opacity:.62;transition:.2s}.fxm-hero-thumbs a.active,.fxm-hero-thumbs a:hover{opacity:1;border-color:var(--fxm-accent);transform:translateY(-4px)}.fxm-hero-thumbs img{width:100%;height:100%;object-fit:cover}.fxm-discover{margin:22px 0 32px;padding:20px 24px;border:1px solid var(--fxm-line);border-radius:16px;background:linear-gradient(110deg,#191d13,#171717 55%);display:flex;align-items:center;justify-content:space-between;gap:20px}.fxm-discover h2{font-size:19px;margin:3px 0 0}.fxm-discover form,.fxm-archive-tools form{display:flex;gap:8px;align-items:center;flex:1;max-width:650px}.fxm-discover input,.fxm-discover select,.fxm-archive-tools input,.fxm-archive-tools select{min-width:0;flex:1;background:#101010;color:#eee;border:1px solid #333;border-radius:8px;padding:11px 13px;outline:0}.fxm-discover input:focus,.fxm-archive-tools input:focus{border-color:var(--fxm-accent)}.fxm-section{margin:34px 0}.fxm-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:15px}.fxm-section-head h2{font-size:20px;margin:0;font-weight:900;display:flex;align-items:center;gap:10px}.fxm-section-head h2:before{content:"";width:4px;height:23px;border-radius:4px;background:var(--fxm-accent)}.fxm-section-head>a{font-size:11px;color:var(--fxm-muted);font-weight:700}.fxm-section-head>a:hover{color:var(--fxm-accent)}.fxm-carousel-wrap{position:relative}.fxm-carousel{display:flex;gap:15px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 1px 12px}.fxm-carousel::-webkit-scrollbar{display:none}.fxm-carousel>.fxm-card{flex:0 0 154px;scroll-snap-align:start}.fxm-carousel-arrow{position:absolute;top:38%;z-index:4;width:34px;height:48px;border:1px solid #393939;background:rgba(15,15,15,.9);color:#fff;border-radius:8px;font-size:28px;line-height:1}.fxm-carousel-arrow:hover{color:var(--fxm-accent);border-color:var(--fxm-accent)}.fxm-carousel-arrow.is-prev{right:-13px}.fxm-carousel-arrow.is-next{left:-13px}.fxm-card{min-width:0}.fxm-card-poster{display:block;position:relative;aspect-ratio:2/3;border-radius:11px;overflow:hidden;background:#202020;border:1px solid rgba(255,255,255,.06)}.fxm-card-poster:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(0deg,rgba(0,0,0,.8),transparent);pointer-events:none}.fxm-card-poster>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s cubic-bezier(.2,.7,.2,1)}.fxm-card:hover .fxm-card-poster>img{transform:scale(1.055)}.fxm-rating{position:absolute;z-index:2;top:9px;left:8px;min-width:38px;padding:4px 6px;background:rgba(10,10,10,.9);border:1px solid rgba(255,255,255,.16);border-radius:7px;text-align:center;display:flex;flex-direction:column;line-height:1.15}.fxm-rating b{font-size:13px;color:var(--fxm-accent)}.fxm-rating small{font-size:8px;color:#ccc}.fxm-card-badges{position:absolute;z-index:2;top:9px;right:8px;display:flex;flex-direction:column;gap:4px;max-width:80%}.fxm-mini-badge{display:inline-flex;width:max-content;max-width:100%;padding:3px 6px;border-radius:4px;background:rgba(10,10,10,.83);color:#e7e7e7;font-size:9px;line-height:1.5}.fxm-mini-badge.is-dubbed{color:#c9f78e}.fxm-mini-badge.is-subtitle{color:#a9d7ff}.fxm-mini-badge.is-online{color:#f4d18a}.fxm-card-genres{position:absolute;z-index:2;right:8px;bottom:8px;left:8px;display:flex;gap:5px;flex-wrap:wrap}.fxm-card-genres i{font-style:normal;background:rgba(0,0,0,.55);color:#eee;border-radius:4px;padding:2px 6px;font-size:9px}.fxm-card-info{padding:9px 2px 0;display:flex;flex-direction:column;gap:2px}.fxm-card-title{font-weight:800;font-size:12px;line-height:1.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fxm-card-title:hover{color:var(--fxm-accent)}.fxm-card-subtitle{color:#888;font-size:10px;direction:ltr;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fxm-archive{padding-top:36px;padding-bottom:55px}.fxm-page-heading{margin-bottom:25px}.fxm-page-heading h1{font-size:28px;margin:7px 0 0}.fxm-archive-description{color:var(--fxm-muted);max-width:850px}.fxm-archive-tools{margin-bottom:25px}.fxm-archive-tools form{max-width:700px}.fxm-card-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:25px 16px}.fxm-card-grid .fxm-card{width:100%}.fxm-card-grid .fxm-card-poster{width:100%}.fxm-pagination,.nav-links{display:flex;justify-content:center;align-items:center;gap:7px;margin:35px 0}.page-numbers{display:inline-flex;min-width:36px;height:36px;align-items:center;justify-content:center;border-radius:8px;background:#1b1b1b;color:#ddd;padding:0 10px}.page-numbers.current,.page-numbers:hover{background:var(--fxm-accent);color:#111}.fxm-single{position:relative;padding-top:25px;padding-bottom:55px}.fxm-single-backdrop{position:absolute;z-index:-1;top:0;right:0;left:0;height:570px;background-position:center 20%;background-size:cover;opacity:.55;mask-image:linear-gradient(#000 0%,transparent 100%)}.fxm-single-article{display:grid;gap:22px}.fxm-single-main{display:grid;grid-template-columns:245px minmax(0,1fr);gap:34px;align-items:start;padding:26px 0 30px}.fxm-single-poster img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:15px;box-shadow:var(--fxm-shadow);border:1px solid #333}.fxm-single-intro{padding-top:18px;max-width:850px}.fxm-single-kicker{display:flex;gap:12px;color:var(--fxm-accent);font-size:11px;font-weight:800}.fxm-single-intro h1{font-size:clamp(28px,4vw,42px);line-height:1.4;margin:8px 0 0}.fxm-single-english{direction:ltr;text-align:right;color:#aaa;margin:3px 0 14px;font-size:16px}.fxm-single-rating-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:#bbb;font-size:12px}.fxm-single-rating{color:var(--fxm-accent);font-size:16px;font-weight:900}.fxm-single-rating small{font-size:10px;color:#aaa}.fxm-meta-score{background:#1e2820;color:#c7f69b;padding:4px 8px;border-radius:5px}.fxm-single-badges{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.fxm-single-synopsis{max-width:800px;color:#c4c4c4;font-size:14px;line-height:2.2}.fxm-single-actions{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}.fxm-single-facts{display:grid;gap:8px;margin-top:18px}.fxm-single-facts>div{display:flex;gap:12px;align-items:flex-start;font-size:12px}.fxm-single-facts b{width:85px;color:#888;flex:none}.fxm-single-facts span{display:flex;gap:7px;flex-wrap:wrap}.fxm-single-facts a{color:#d8d8d8}.fxm-single-facts a:hover{color:var(--fxm-accent)}.fxm-content-panel{padding:22px;background:var(--fxm-panel);border:1px solid var(--fxm-line);border-radius:15px;margin:18px 0}.fxm-panel-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--fxm-line);padding-bottom:12px;margin-bottom:15px}.fxm-panel-heading h2{font-size:17px;margin:0}.fxm-panel-heading>span{font-size:10px;color:#777;direction:ltr}.fxm-prose{color:#ccc;line-height:2.1}.fxm-prose p:first-child{margin-top:0}.fxm-prose a{color:var(--fxm-accent);text-decoration:underline}.fxm-download-list{display:grid;gap:8px}.fxm-download-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 14px;background:#1c1c1c;border:1px solid #2b2b2b;border-radius:10px}.fxm-download-info{min-width:0}.fxm-download-info>strong{font-size:12px}.fxm-download-meta{display:flex;gap:10px;flex-wrap:wrap;color:#888;font-size:10px}.fxm-download-action{flex:none;padding:7px 13px;border-radius:7px;background:#2c3a1b;color:var(--fxm-accent)!important;font-size:11px;font-weight:900}.fxm-download-action:hover{background:var(--fxm-accent);color:#111!important}.fxm-access-message,.fxm-empty-state{padding:24px;text-align:center;border:1px dashed #3b3b3b;border-radius:12px;color:#bbb;background:#181818}.fxm-access-message .fxm-btn{margin-top:12px}.fxm-cast-list{display:flex;gap:15px;overflow:auto;padding-bottom:5px}.fxm-cast-list>a{width:95px;flex:none;text-align:center;display:grid;gap:7px;font-size:11px}.fxm-cast-avatar{width:70px;height:70px;margin:auto;border-radius:50%;overflow:hidden;background:#242424;display:grid;place-items:center;color:var(--fxm-accent);font-size:24px}.fxm-cast-avatar img{width:100%;height:100%;object-fit:cover}.fxm-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.fxm-gallery a{aspect-ratio:16/10;overflow:hidden;border-radius:8px;background:#222}.fxm-gallery img{width:100%;height:100%;object-fit:cover;transition:.3s}.fxm-gallery a:hover img{transform:scale(1.05)}.fxm-comments-inner{color:#ccc}.fxm-comment-list{padding-right:20px}.fxm-comment-list li{margin:12px 0;padding:12px;background:#1d1d1d;border-radius:10px}.fxm-comment-form input,.fxm-comment-form textarea{width:100%;background:#101010;border:1px solid #333;color:#fff;border-radius:8px;padding:10px}.fxm-comment-form input[type=submit]{width:auto;background:var(--fxm-accent);color:#111;border:0;font-weight:900}.fxm-footer{margin-top:55px;border-top:1px solid #262626;background:#101010}.fxm-footer-inner{width:min(1320px,calc(100% - 40px));margin:auto;padding:38px 0;display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.fxm-footer h3{font-size:14px;margin:0 0 12px}.fxm-footer-about p{max-width:500px;color:#999;font-size:12px;line-height:2}.fxm-footer-brand{font-size:22px;font-weight:900;color:var(--fxm-accent)!important}.fxm-footer-links ul{list-style:none;padding:0;margin:0;display:grid;gap:7px}.fxm-footer-links li a,.fxm-footer-social a{font-size:12px;color:#aaa}.fxm-footer-links a:hover,.fxm-footer-social a:hover{color:var(--fxm-accent)}.fxm-footer-social{display:flex;flex-direction:column;gap:8px}.fxm-footer-bottom{border-top:1px solid #252525;padding:14px max(20px,calc((100% - 1320px)/2));display:flex;justify-content:space-between;gap:15px;color:#777;font-size:11px}.fxm-footer-bottom a{color:#aaa}.fxm-404{min-height:55vh;display:grid;place-items:center;text-align:center}.fxm-404 .fxm-content-panel{max-width:540px;padding:45px}.fxm-404-number{font-size:72px;line-height:1;color:var(--fxm-accent);font-weight:1000}.fxm-404 h1{font-size:24px}.fxm-404 p{color:#999;margin-bottom:22px}
@media(max-width:1100px){.fxm-header-inner{gap:15px}.fxm-header-search{width:185px}.fxm-menu>li>a{padding-inline:8px}.fxm-card-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:900px){.fxm-primary-nav{display:none}.fxm-header-inner{min-height:68px}.fxm-mobile-toggle{width:36px;height:36px;border:1px solid #333;background:#171717;border-radius:9px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:8px}.fxm-mobile-toggle span{height:2px;background:#eee;border-radius:2px;width:100%}.fxm-mobile-menu{position:fixed;display:block;top:0;right:0;bottom:0;width:min(330px,86vw);z-index:150;background:#111;border-left:1px solid #333;padding:20px;transform:translateX(110%);transition:transform .25s;overflow:auto;box-shadow:var(--fxm-shadow)}.fxm-mobile-menu.is-open{transform:translateX(0)}.fxm-mobile-menu-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.fxm-mobile-close{border:0;background:#252525;color:#fff;width:32px;height:32px;border-radius:7px;font-size:22px}.fxm-mobile-menu-list,.fxm-mobile-menu-list ul{list-style:none;padding:0;margin:0}.fxm-mobile-menu-list li a{display:block;padding:10px 8px;border-bottom:1px solid #242424}.fxm-mobile-menu form{display:flex;gap:6px;margin-top:18px}.fxm-mobile-menu input{min-width:0;flex:1;background:#1d1d1d;color:#fff;border:1px solid #333;border-radius:7px;padding:9px}.fxm-mobile-menu form button{background:var(--fxm-accent);border:0;border-radius:7px;padding:0 12px}.fxm-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.fxm-single-main{grid-template-columns:200px minmax(0,1fr);gap:22px}.fxm-discover{align-items:flex-start;flex-direction:column}.fxm-discover form{width:100%;max-width:none}}
@media(max-width:640px){.fxm-container{width:calc(100% - 26px)}.fxm-header-inner{width:calc(100% - 24px);gap:10px}.fxm-brand{font-size:16px}.fxm-brand img{max-width:110px;max-height:39px}.fxm-brand-desktop{display:none!important}.fxm-brand-mobile{display:block!important}.fxm-header-actions{margin-right:auto}.fxm-header-search{width:38px;height:38px;padding:0;justify-content:center;border-radius:50%}.fxm-header-search input{display:none}.fxm-header-search button{font-size:22px}.fxm-account-link{padding:7px 10px}.fxm-home{padding-top:14px}.fxm-hero{min-height:440px;padding:32px 22px 115px;border-radius:14px;align-items:flex-end}.fxm-hero-backdrop{background-image:linear-gradient(0deg,#0b0b0b 0%,rgba(11,11,11,.9) 35%,rgba(11,11,11,.18) 100%),var(--fxm-hero-image);background-position:center}.fxm-hero h1{font-size:28px}.fxm-hero-excerpt{font-size:12px;margin:12px 0 16px}.fxm-hero-thumbs{left:16px;bottom:16px}.fxm-hero-thumbs a{width:35px;height:51px}.fxm-discover{padding:16px;margin:16px 0 25px}.fxm-discover form,.fxm-archive-tools form{display:grid;grid-template-columns:1fr 1fr}.fxm-discover input,.fxm-archive-tools input{grid-column:1/-1}.fxm-discover .fxm-btn,.fxm-archive-tools .fxm-btn{grid-column:1/-1}.fxm-section{margin:25px 0}.fxm-section-head h2{font-size:16px}.fxm-carousel{gap:11px}.fxm-carousel>.fxm-card{flex-basis:124px}.fxm-card-title{font-size:11px}.fxm-card-subtitle{font-size:9px}.fxm-carousel-arrow{display:none}.fxm-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.fxm-page-heading h1{font-size:22px}.fxm-archive{padding-top:25px}.fxm-single{padding-top:10px}.fxm-single-main{grid-template-columns:108px minmax(0,1fr);gap:14px;padding-top:18px}.fxm-single-intro{padding-top:0}.fxm-single-intro h1{font-size:21px}.fxm-single-english{font-size:11px;margin-bottom:8px}.fxm-single-kicker,.fxm-single-rating-row{font-size:10px}.fxm-single-rating{font-size:13px}.fxm-single-synopsis{font-size:11px;line-height:1.9;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.fxm-single-actions{margin:12px 0}.fxm-btn{padding:8px 10px;font-size:10px}.fxm-single-facts{grid-column:1/-1;margin-top:8px}.fxm-single-facts>div{font-size:10px}.fxm-single-facts b{width:55px}.fxm-content-panel{padding:14px;margin:13px 0;border-radius:12px}.fxm-panel-heading h2{font-size:14px}.fxm-download-row{padding:10px;gap:8px}.fxm-download-info>strong{font-size:10px}.fxm-download-meta{font-size:9px;gap:7px}.fxm-download-action{font-size:10px;padding:6px 8px}.fxm-gallery{grid-template-columns:repeat(2,1fr)}.fxm-footer-inner{width:calc(100% - 28px);grid-template-columns:1fr 1fr;gap:25px;padding:28px 0}.fxm-footer-about{grid-column:1/-1}.fxm-footer-bottom{padding:13px 14px;font-size:10px}.fxm-404 .fxm-content-panel{padding:28px}.fxm-404-number{font-size:56px}}
.fxm-weekly-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.fxm-weekly-day{min-width:0;padding:11px;background:#151515;border:1px solid #292929;border-radius:10px}.fxm-weekly-day h3{font-size:11px;color:var(--fxm-accent);margin:0 0 9px}.fxm-weekly-day>a{display:flex;align-items:center;gap:7px;margin:7px 0;font-size:10px;color:#ccc}.fxm-weekly-day>a img{width:34px;height:48px;object-fit:cover;border-radius:4px;flex:none}.fxm-weekly-day>a span{overflow:hidden;text-overflow:ellipsis}.fxm-weekly-day>p{color:#555;margin:0;font-size:12px}@media(max-width:900px){.fxm-weekly-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:640px){.fxm-weekly-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fxm-weekly-day{padding:9px}}
.fxm-genre-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.fxm-genre-tile{min-height:105px;border-radius:11px;padding:13px;display:flex;flex-direction:column;justify-content:flex-end;gap:2px;overflow:hidden;position:relative;background:linear-gradient(135deg,#26331b,#171717);border:1px solid #303b25;isolation:isolate}.fxm-genre-tile:before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(0deg,rgba(0,0,0,.9),rgba(0,0,0,.12)),var(--fxm-genre-image);background-size:cover;background-position:center;opacity:.75;transition:transform .4s}.fxm-genre-tile:hover:before{transform:scale(1.08)}.fxm-genre-tile span{font-weight:900;font-size:13px}.fxm-genre-tile small{font-size:9px;color:#aaa}.fxm-genre-tile:hover{border-color:var(--fxm-accent);color:var(--fxm-accent)}@media(max-width:900px){.fxm-genre-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:640px){.fxm-genre-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fxm-genre-tile{min-height:88px}}
.fxm-register-link{white-space:nowrap;border-radius:30px;padding:8px 14px;background:var(--fxm-accent);color:#111!important;font-size:12px;font-weight:900}.fxm-register-link:hover{filter:brightness(1.08)}.fxm-account-wrap{min-height:62vh;display:grid;place-items:center;padding-top:45px;padding-bottom:45px}.fxm-account-card{width:min(520px,100%);padding:30px;background:var(--fxm-panel);border:1px solid var(--fxm-line);border-radius:18px;box-shadow:var(--fxm-shadow)}.fxm-account-card h1{font-size:24px;margin:8px 0 20px}.fxm-account-form,.fxm-account-card #fxm-loginform{display:grid;gap:14px}.fxm-account-form label,.fxm-account-card #fxm-loginform label{display:grid;gap:6px;color:#bbb;font-size:12px}.fxm-account-form input,.fxm-account-card #fxm-loginform input[type=text],.fxm-account-card #fxm-loginform input[type=password]{width:100%;background:#0e0e0e;border:1px solid #343434;border-radius:8px;padding:11px 12px;color:#fff;outline:0}.fxm-account-form input:focus,.fxm-account-card #fxm-loginform input:focus{border-color:var(--fxm-accent)}.fxm-account-card #fxm-loginform p{margin:0}.fxm-account-card #fxm-loginform .login-remember label{display:flex;align-items:center;gap:8px}.fxm-account-card #fxm-loginform .login-submit input{background:var(--fxm-accent);color:#111;border:0;border-radius:8px;padding:10px 22px;font-weight:900;cursor:pointer}.fxm-form-message{padding:10px 12px;border-radius:8px;font-size:12px}.fxm-form-message.is-error{background:#351b1b;color:#ffb7b7}.fxm-form-message.is-success{background:#1d2c16;color:#c9f7a1}.fxm-account-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px;font-size:11px;color:var(--fxm-accent)}.fxm-dashboard-links{display:grid;gap:9px}.fxm-dashboard-links a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px;border:1px solid #303030;background:#1d1d1d;border-radius:9px}.fxm-dashboard-links a strong{font-size:12px}.fxm-dashboard-links a span{font-size:10px;color:#888}.fxm-dashboard-links a:hover{border-color:var(--fxm-accent)}@media(max-width:640px){.fxm-account-card{padding:22px}.fxm-account-card h1{font-size:20px}.fxm-dashboard-links a{align-items:flex-start;flex-direction:column}}
body.fxm-neo.fxm-light{background:#f5f6f7;color:#202124}body.fxm-neo.fxm-light .fxm-header{background:rgba(255,255,255,.93);border-color:#e4e4e4}body.fxm-neo.fxm-light .fxm-menu>li>a{color:#444}body.fxm-neo.fxm-light .fxm-menu>li>a:hover,body.fxm-neo.fxm-light .fxm-menu>li.current-menu-item>a{color:#4f7414;background:rgba(120,170,40,.1)}body.fxm-neo.fxm-light .fxm-header-search{background:#f2f2f2;border-color:#ddd}body.fxm-neo.fxm-light .fxm-header-search input{color:#222}body.fxm-neo.fxm-light .fxm-account-link{color:#333;border-color:#ddd}body.fxm-neo.fxm-light .fxm-section-head h2{color:#222}body.fxm-neo.fxm-light .fxm-section-head>a{color:#777}body.fxm-neo.fxm-light .fxm-card-title{color:#222}body.fxm-neo.fxm-light .fxm-card-subtitle{color:#777}body.fxm-neo.fxm-light .fxm-content-panel,body.fxm-neo.fxm-light .fxm-weekly-day,body.fxm-neo.fxm-light .fxm-account-card{background:#fff;border-color:#e4e4e4;color:#222}body.fxm-neo.fxm-light .fxm-prose,body.fxm-neo.fxm-light .fxm-single-synopsis{color:#555}body.fxm-neo.fxm-light .fxm-download-row,body.fxm-neo.fxm-light .fxm-dashboard-links a{background:#f7f7f7;border-color:#e6e6e6}body.fxm-neo.fxm-light .fxm-download-info>strong{color:#222}body.fxm-neo.fxm-light .fxm-footer{background:#fff;border-color:#e4e4e4}body.fxm-neo.fxm-light .fxm-footer h3{color:#222}body.fxm-neo.fxm-light .fxm-footer-about p,body.fxm-neo.fxm-light .fxm-footer-links li a,body.fxm-neo.fxm-light .fxm-footer-social a{color:#666}body.fxm-neo.fxm-light .fxm-footer-bottom{border-color:#e4e4e4;color:#777}body.fxm-neo.fxm-light .fxm-discover{background:#fff;border-color:#e4e4e4}body.fxm-neo.fxm-light .fxm-discover h2{color:#222}body.fxm-neo.fxm-light .fxm-discover input,body.fxm-neo.fxm-light .fxm-discover select,body.fxm-neo.fxm-light .fxm-archive-tools input,body.fxm-neo.fxm-light .fxm-archive-tools select{background:#fff;color:#222;border-color:#ddd}body.fxm-neo.fxm-light .fxm-page-heading h1{color:#222}body.fxm-neo.fxm-light .fxm-single-facts a{color:#444}body.fxm-neo.fxm-light .fxm-account-form input,body.fxm-neo.fxm-light .fxm-account-card #fxm-loginform input[type=text],body.fxm-neo.fxm-light .fxm-account-card #fxm-loginform input[type=password]{background:#fff;color:#222;border-color:#ddd}body.fxm-neo.fxm-light .fxm-mobile-menu{background:#fff;color:#222;border-color:#ddd}body.fxm-neo.fxm-light .fxm-mobile-menu-list li a{border-color:#eee}
.fxm-alert-bar{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap}.fxm-alert-bar a{font-weight:900;text-decoration:underline}.fxm-back-top{position:fixed;z-index:80;bottom:22px;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:var(--fxm-accent);color:#111!important;font-size:22px;font-weight:900;box-shadow:0 6px 25px rgba(0,0,0,.35);opacity:.9}.fxm-back-top-left{left:20px}.fxm-back-top-right{right:20px}.fxm-back-top:hover{opacity:1;transform:translateY(-3px)}.fxm-prose a,.fxm-single-facts a:hover{color:var(--fxm-link)!important}.fxm-english-numbers{font-variant-numeric:lining-nums tabular-nums}
.fxm-card-meta{display:flex;gap:7px;flex-wrap:wrap;color:#777;font-size:9px;margin-top:3px}.fxm-download-notice{padding:9px 12px;background:#202b17;border:1px solid #354a20;color:#d8f7b8;border-radius:8px;font-size:11px}.fxm-download-notice a{color:var(--fxm-accent);text-decoration:underline}body.fxm-light .fxm-card-meta{color:#777}body.fxm-light .fxm-download-notice{background:#f0f7e8;border-color:#dcebc8;color:#405c26}
.fxm-ad-slot{width:100%;margin:18px auto;text-align:center;overflow:hidden}.fxm-ad-slot img{max-width:100%;height:auto}.fxm-ad-fixed{position:fixed;z-index:70;bottom:0;left:0;right:0;margin:0 auto;max-width:100%;text-align:center;background:rgba(8,8,8,.92);padding:5px 10px}.fxm-footer-namad{display:flex;flex-direction:column;gap:8px}.fxm-footer-namad h3{margin:0;font-size:13px}.fxm-footer-namad img{max-width:150px;height:auto}


/* FlexMoviez Neo 1.0.1: responsive layout and grouped episode downloads */
.fxm-season-group{margin:12px 0;border:1px solid var(--fxm-line);border-radius:14px;background:var(--fxm-panel);overflow:hidden}
.fxm-season-summary{display:flex;align-items:center;gap:12px;min-height:54px;padding:12px 16px;cursor:pointer;list-style:none;background:var(--fxm-panel-2)}
.fxm-season-summary::-webkit-details-marker{display:none}
.fxm-season-summary-title{font-weight:900;color:var(--fxm-text)}
.fxm-season-meta,.fxm-season-price{font-size:11px;color:var(--fxm-muted);padding:3px 9px;border:1px solid var(--fxm-line);border-radius:20px}
.fxm-season-chevron{margin-inline-start:auto;color:var(--fxm-accent);font-size:20px;transition:transform .2s}
.fxm-season-group[open] .fxm-season-chevron{transform:rotate(180deg)}
.fxm-season-episodes{display:grid;gap:10px;padding:12px}
.fxm-episode-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:15px;align-items:center;padding:12px;border:1px solid var(--fxm-line);border-radius:12px;background:var(--fxm-panel-2);min-width:0}
.fxm-episode-art{width:112px;aspect-ratio:2/3;overflow:hidden;border-radius:9px;background:#242424}
.fxm-episode-art img{display:block;width:100%;height:100%;object-fit:cover}
.fxm-episode-content{min-width:0}
.fxm-episode-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.fxm-episode-season{display:block;font-size:10px;color:var(--fxm-muted);margin-bottom:2px}
.fxm-episode-heading h3{font-size:14px;line-height:1.6;margin:0;color:var(--fxm-text)}
.fxm-episode-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.fxm-episode-link{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:6px 12px;border:1px solid rgba(164,244,37,.22);border-radius:8px;background:rgba(164,244,37,.08);color:var(--fxm-accent)!important;font-size:11px;font-weight:800;white-space:nowrap;transition:background .2s,border-color .2s}
.fxm-episode-link:hover{background:rgba(164,244,37,.16);border-color:var(--fxm-accent)}
.fxm-episode-link.is-online{background:rgba(221,35,35,.12);border-color:rgba(221,35,35,.3);color:#ff7777!important}
.fxm-episode-notify{flex:none}
.fxm-download-list{min-width:0}
.fxm-download-row,.fxm-episode-card,.fxm-season-group{min-width:0}
.fxm-download-info,.fxm-episode-content{overflow-wrap:anywhere}
@media(max-width:1100px){.fxm-container{width:min(1000px,calc(100% - 32px))}.fxm-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.fxm-header-inner{gap:12px}.fxm-header-actions{gap:7px}}
@media(max-width:900px){.fxm-header-inner{min-height:66px}.fxm-primary-nav{display:none}.fxm-mobile-toggle{display:flex}.fxm-mobile-menu{display:block}.fxm-single-main{grid-template-columns:180px minmax(0,1fr);gap:20px}.fxm-weekly-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:640px){
  .fxm-container{width:calc(100% - 24px)}
  .fxm-header-inner{width:calc(100% - 20px);min-height:60px;gap:8px}
  .fxm-brand{min-width:0;max-width:42%;overflow:hidden}
  .fxm-brand strong{font-size:14px;overflow:hidden;text-overflow:ellipsis}
  .fxm-brand img{max-width:100px;max-height:36px}
  .fxm-header-actions{margin-inline-start:auto;min-width:0;gap:6px}
  .fxm-account-link{font-size:10px;padding:6px 8px}
  .fxm-register-link{font-size:10px;padding:6px 9px}
  .fxm-home{padding-top:12px}
  .fxm-hero{min-height:390px;padding:25px 17px 100px;border-radius:13px}
  .fxm-hero h1{font-size:clamp(21px,6vw,28px)}
  .fxm-hero-content{max-width:100%;width:100%}
  .fxm-hero-excerpt{font-size:11px;line-height:1.9}
  .fxm-hero-thumbs{left:12px;right:12px;bottom:12px;justify-content:flex-start;overflow-x:auto;max-width:calc(100% - 24px)}
  .fxm-hero-thumbs a{flex:0 0 34px}
  .fxm-discover form{grid-template-columns:1fr}
  .fxm-discover input,.fxm-discover select,.fxm-discover .fxm-btn{grid-column:auto;width:100%;min-width:0}
  .fxm-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}
  .fxm-carousel{gap:10px}
  .fxm-carousel>.fxm-card{flex:0 0 116px;min-width:0}
  .fxm-weekly-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fxm-genre-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fxm-single-main{grid-template-columns:94px minmax(0,1fr);gap:12px;padding-top:14px}
  .fxm-single-poster img{border-radius:9px}
  .fxm-single-intro h1{font-size:19px;overflow-wrap:anywhere}
  .fxm-single-english{font-size:10px;overflow-wrap:anywhere}
  .fxm-single-rating-row{gap:6px;flex-wrap:wrap}
  .fxm-single-synopsis{font-size:11px;-webkit-line-clamp:4}
  .fxm-single-actions{display:flex;flex-wrap:wrap;gap:7px}
  .fxm-single-facts{grid-column:1/-1}
  .fxm-content-panel{padding:12px;margin:12px 0}
  .fxm-season-summary{gap:7px;padding:10px 11px;min-height:48px;flex-wrap:wrap}
  .fxm-season-summary-title{font-size:12px}
  .fxm-season-meta,.fxm-season-price{font-size:9px;padding:2px 7px}
  .fxm-season-episodes{padding:8px;gap:8px}
  .fxm-episode-card{grid-template-columns:76px minmax(0,1fr);gap:10px;padding:9px;border-radius:10px;align-items:start}
  .fxm-episode-art{width:76px;border-radius:7px}
  .fxm-episode-heading{margin-bottom:8px;align-items:flex-start}
  .fxm-episode-heading h3{font-size:11px;line-height:1.7}
  .fxm-episode-season{font-size:9px}
  .fxm-episode-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .fxm-episode-link{min-width:0;min-height:32px;padding:6px 5px;font-size:9px;white-space:normal;text-align:center;line-height:1.4}
  .fxm-download-row{align-items:flex-start;flex-direction:column;gap:8px}
  .fxm-download-action{align-self:flex-start}
  .fxm-footer-inner{grid-template-columns:1fr 1fr;gap:18px}
}
@media(max-width:380px){
  .fxm-header-inner{gap:6px}
  .fxm-brand{max-width:35%}
  .fxm-brand strong{font-size:12px}
  .fxm-header-search{display:none}
  .fxm-account-link{font-size:9px;padding:5px 7px}
  .fxm-register-link{font-size:9px;padding:5px 7px}
  .fxm-episode-card{grid-template-columns:64px minmax(0,1fr);gap:8px;padding:7px}
  .fxm-episode-art{width:64px}
  .fxm-episode-links{grid-template-columns:1fr 1fr}
}
body.fxm-neo.fxm-light .fxm-season-group{background:#fff;border-color:#e5e5e5}
body.fxm-neo.fxm-light .fxm-season-summary,body.fxm-neo.fxm-light .fxm-episode-card{background:#f7f7f7;border-color:#e5e5e5}
body.fxm-neo.fxm-light .fxm-episode-heading h3,body.fxm-neo.fxm-light .fxm-season-summary-title{color:#222}
@media(max-width:900px){.fxm-header{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(10,10,10,.97)}}


/* FlexMoviez Neo 1.0.2: mobile navigation and layout hardening */
@media (max-width: 900px) {
  html, body.fxm-neo { max-width: 100%; overflow-x: clip; }
  .fxm-primary-nav { display: none !important; }
  .fxm-mobile-toggle { display: inline-flex !important; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; position: relative; z-index: 10001; }
  .fxm-mobile-menu {
    display: flex !important;
    flex-direction: column;
    position: fixed !important;
    top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important;
    width: min(340px, 88vw) !important; max-width: 100vw;
    height: 100vh; height: 100dvh; min-height: 100vh;
    box-sizing: border-box;
    padding: calc(18px + env(safe-area-inset-top)) 16px calc(22px + env(safe-area-inset-bottom)) !important;
    overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
    background: var(--fxm-panel, #151515) !important;
    border-left: 1px solid var(--fxm-line, #292929);
    z-index: 10000 !important;
    visibility: hidden !important; opacity: 0 !important; pointer-events: none !important;
    transform: translate3d(110%, 0, 0) !important;
    transition: transform .26s ease, opacity .2s ease, visibility .26s ease !important;
    box-shadow: -18px 0 50px rgba(0,0,0,.32);
  }
  .fxm-mobile-menu.is-open {
    visibility: visible !important; opacity: 1 !important; pointer-events: auto !important;
    transform: translate3d(0, 0, 0) !important;
  }
  body.fxm-mobile-nav-open::before {
    content: ""; position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.62); backdrop-filter: blur(2px);
  }
  .fxm-mobile-menu-head { flex: 0 0 auto; }
  .fxm-mobile-menu-list { display: block; width: 100%; }
  .fxm-mobile-menu-list li { display: block; width: 100%; }
  .fxm-mobile-menu-list li a { display: block; width: 100%; padding: 11px 9px; }
  .fxm-mobile-menu-list li ul { display: block; position: static; width: 100%; padding: 0 12px 0 0; border: 0; box-shadow: none; background: transparent; }
  .fxm-mobile-menu form { display: flex; width: 100%; }
  .fxm-header-inner { width: calc(100% - 28px); min-height: 66px; gap: 10px; }
  .fxm-header-actions { min-width: 0; gap: 7px; }
  .fxm-header-search { width: min(190px, 24vw); }
  .fxm-single-main { min-width: 0; }
  .fxm-content-panel, .fxm-season-group, .fxm-download-list { min-width: 0; max-width: 100%; }
  .fxm-content-panel img, .fxm-prose img, .fxm-content-panel iframe, .fxm-prose iframe, .fxm-content-panel video { max-width: 100%; }
  .fxm-prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; }
}

@media (max-width: 640px) {
  body.fxm-neo { font-size: 13px; }
  .fxm-container, .fxm-single, .fxm-archive, .fxm-page { width: calc(100% - 24px); max-width: 100%; }
  .fxm-header-inner {
    display: grid; grid-template-columns: 40px minmax(0, 1fr) auto;
    grid-template-areas: "toggle brand actions";
    width: calc(100% - 20px); min-height: 60px; gap: 8px;
  }
  .fxm-mobile-toggle { grid-area: toggle; }
  .fxm-brand { grid-area: brand; min-width: 0; max-width: 100%; overflow: hidden; justify-self: start; }
  .fxm-brand strong { min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .fxm-brand img { max-width: 112px; max-height: 36px; }
  .fxm-header-actions { grid-area: actions; display: flex; justify-self: end; margin: 0; min-width: 0; }
  .fxm-header-search { display: none !important; }
  .fxm-account-link { padding: 6px 9px; font-size: 10px; }
  .fxm-register-link { display: none !important; }
  .fxm-home { padding-top: 12px; }
  .fxm-hero { min-height: 350px; padding: 24px 16px 92px; border-radius: 13px; }
  .fxm-hero h1 { font-size: clamp(21px, 6vw, 28px); }
  .fxm-hero-content { width: 100%; max-width: 100%; }
  .fxm-hero-excerpt { font-size: 11px; line-height: 1.9; }
  .fxm-hero-thumbs { left: 12px; right: 12px; bottom: 12px; max-width: calc(100% - 24px); overflow-x: auto; }
  .fxm-discover { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 15px; }
  .fxm-discover form, .fxm-archive-tools form { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: none; }
  .fxm-discover input, .fxm-discover select, .fxm-discover .fxm-btn, .fxm-archive-tools input, .fxm-archive-tools select { width: 100%; min-width: 0; }
  .fxm-section { margin: 23px 0; }
  .fxm-section-head { align-items: center; gap: 8px; }
  .fxm-section-head h2 { font-size: 15px; }
  .fxm-carousel { gap: 9px; }
  .fxm-carousel > .fxm-card { flex: 0 0 124px; }
  .fxm-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .fxm-weekly-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .fxm-single-main { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding-top: 15px; }
  .fxm-single-main > * { min-width: 0; }
  .fxm-single-poster, .fxm-single-poster img { max-width: 100%; height: auto; }
  .fxm-single-intro h1 { font-size: 18px; overflow-wrap: anywhere; }
  .fxm-single-synopsis { font-size: 11px; line-height: 1.9; }
  .fxm-single-facts { grid-column: 1 / -1; min-width: 0; }
  .fxm-content-panel { padding: 12px; margin: 12px 0; border-radius: 11px; }
  .fxm-season-summary { flex-wrap: wrap; gap: 7px; padding: 10px; }
  .fxm-season-episodes { padding: 8px; gap: 8px; }
  .fxm-episode-card { grid-template-columns: 72px minmax(0, 1fr); gap: 9px; padding: 8px; align-items: start; }
  .fxm-episode-art { width: 72px; }
  .fxm-episode-heading { align-items: flex-start; gap: 6px; flex-wrap: wrap; }
  .fxm-episode-heading h3 { font-size: 12px; }
  .fxm-episode-links { gap: 6px; }
  .fxm-episode-link { min-height: 30px; padding: 5px 7px; font-size: 10px; white-space: normal; }
  .fxm-download-row { display: flex; flex-wrap: wrap; gap: 8px; }
  .fxm-download-info { min-width: 0; flex: 1 1 100%; }
  .fxm-download-action { flex: 0 0 auto; }
  .fxm-footer-inner { width: calc(100% - 28px); grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 25px 0; }
  .fxm-footer-about { grid-column: auto; }
  .fxm-footer-bottom { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; padding: 12px 14px; font-size: 10px; }
  .fxm-ad-slot, .fxm-ad-fixed { max-width: 100%; overflow: hidden; }
}

@media (max-width: 420px) {
  .fxm-brand img { max-width: 92px; }
  .fxm-account-link { padding: 5px 7px; }
  .fxm-single-main { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
  .fxm-episode-card { grid-template-columns: 64px minmax(0, 1fr); }
  .fxm-episode-art { width: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .fxm-mobile-menu { transition: none !important; }
}


/* FlexMoviez Neo 1.1.1 — mobile single-page layout inspired by the supplied reference */
body.fxm-neo { font-family: "IRANSansWeb-Fanum", Tahoma, Arial, sans-serif; }
body.fxm-neo *, body.fxm-neo *::before, body.fxm-neo *::after { box-sizing: border-box; }
body.fxm-neo { overflow-x: clip; }
.fxm-single-detail, .fxm-single-detail .fxm-single-article, .fxm-single-detail .fxm-content-panel,
.fxm-single-detail .fxm-download-list, .fxm-single-detail .fxm-download-source-card,
.fxm-single-detail .fxm-episode-card, .fxm-single-detail .fxm-prose { min-width: 0; max-width: 100%; }
.fxm-single-detail { width: min(1320px, calc(100% - 32px)); }
.fxm-single-detail .fxm-single-backdrop { height: 640px; opacity: .76; background-position: center 18%; background-size: cover; pointer-events: none; }
.fxm-single-detail .fxm-detail-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 18px; margin-bottom: 12px; }
.fxm-single-detail .fxm-single-main { position: relative; z-index: 1; grid-template-columns: 245px minmax(0,1fr); gap: 30px; padding: 28px; min-width: 0; }
.fxm-single-detail .fxm-single-poster { min-width: 0; }
.fxm-single-detail .fxm-single-poster img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; border-radius: 13px; }
.fxm-single-detail .fxm-single-intro { min-width: 0; max-width: none; padding: 6px 0 0; }
.fxm-single-detail .fxm-single-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fxm-single-detail .fxm-single-kicker span { display: inline-flex; padding: 3px 9px; border-radius: 5px; background: rgba(255,255,255,.08); }
.fxm-single-detail .fxm-single-intro h1 { margin: 10px 0 0; overflow-wrap: anywhere; }
.fxm-single-detail .fxm-single-english { max-width: 100%; overflow-wrap: anywhere; }
.fxm-single-detail .fxm-detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; margin: 12px 0; color: #d3d5d8; font-size: 12px; font-weight: 600; min-width: 0; }
.fxm-single-detail .fxm-detail-meta > span { min-width: 0; overflow-wrap: anywhere; }
.fxm-single-detail .fxm-detail-meta > span + span::before { content: "|"; color: rgba(255,255,255,.25); margin-inline-end: 9px; }
.fxm-single-detail .fxm-single-synopsis { margin: 12px 0; max-width: 100%; overflow-wrap: anywhere; }
.fxm-single-detail .fxm-single-rating-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.fxm-single-detail .fxm-imdb-link { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; padding: 3px 7px; border-radius: 5px; background: #f5c518; color: #111 !important; font-weight: 900; direction: ltr; }
.fxm-single-detail .fxm-rating-value { color: #fff; font-size: 15px; }
.fxm-single-detail .fxm-rating-outof, .fxm-single-detail .fxm-rating-votes { color: #aaa; font-size: 11px; }
.fxm-single-detail .fxm-single-actions { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.fxm-single-detail .fxm-single-actions > * { max-width: 100%; }
.fxm-single-detail .fxm-single-facts { min-width: 0; }
.fxm-single-detail .fxm-single-facts span { min-width: 0; overflow-wrap: anywhere; }
.fxm-single-detail .fxm-person-card { width: 92px; flex: 0 0 92px; min-width: 0; }
.fxm-single-detail .fxm-person-card b { display: block; max-width: 100%; overflow-wrap: anywhere; line-height: 1.7; }
.fxm-single-detail .fxm-person-card small { color: var(--fxm-muted); font-size: 10px; }
.fxm-single-detail .fxm-cast-avatar { width: 72px; height: 72px; }
.fxm-single-detail .fxm-cast-list { max-width: 100%; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }

/* Download sources: one card per source, all qualities grouped inside that card. */
.fxm-download-list { display: grid; gap: 12px; }
.fxm-download-source-card { min-width: 0; max-width: 100%; padding: 15px; border: 1px solid #303030; border-radius: 12px; background: #1b1b1b; overflow: hidden; }
.fxm-download-source-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; min-width: 0; margin-bottom: 12px; }
.fxm-download-source-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.fxm-download-source-heading > strong { color: #f3f3f3; font-size: 13px; overflow-wrap: anywhere; }
.fxm-download-source-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.fxm-download-source-badges span { display: inline-flex; max-width: 100%; padding: 3px 7px; border-radius: 5px; background: rgba(164,244,37,.1); color: #b9ed78; font-size: 10px; overflow-wrap: anywhere; }
.fxm-download-online { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 34px; padding: 7px 11px; border: 1px solid rgba(245,197,24,.35); border-radius: 7px; color: #f5c518 !important; font-size: 11px; font-weight: 800; white-space: normal; overflow-wrap: anywhere; }
.fxm-download-buttons { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; min-width: 0; }
.fxm-download-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; max-width: 100%; min-height: 38px; padding: 8px 12px; border: 1px solid rgba(164,244,37,.22); border-radius: 8px; background: rgba(164,244,37,.08); color: var(--fxm-accent) !important; font-size: 11px; font-weight: 800; line-height: 1.5; text-align: center; white-space: normal; overflow-wrap: anywhere; }
.fxm-download-button:hover { background: rgba(164,244,37,.16); border-color: var(--fxm-accent); }
.fxm-download-button small { color: #aaa; font-size: 9px; font-weight: 500; }
.fxm-download-extras { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fxm-download-extras a { display: inline-flex; max-width: 100%; padding: 5px 9px; border: 1px solid #3a3a3a; border-radius: 6px; color: #ccc !important; font-size: 10px; overflow-wrap: anywhere; }
.fxm-download-row { min-width: 0; max-width: 100%; }
.fxm-episode-card { min-width: 0; max-width: 100%; }
.fxm-episode-content { min-width: 0; overflow-wrap: anywhere; }
.fxm-episode-links { display: flex; flex-wrap: wrap; min-width: 0; max-width: 100%; }
.fxm-episode-link { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: center; }
.fxm-season-group { min-width: 0; max-width: 100%; }
.fxm-season-summary { min-width: 0; }
.fxm-season-summary-title { min-width: 0; overflow-wrap: anywhere; }
.fxm-download-anchor { min-width: 0; max-width: 100%; scroll-margin-top: 85px; }
.fxm-prose { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: normal; }
.fxm-prose img, .fxm-prose video, .fxm-prose iframe, .fxm-content-panel img, .fxm-content-panel video, .fxm-content-panel iframe { max-width: 100% !important; }
.fxm-prose iframe, .fxm-content-panel iframe { display: block; width: 100%; }
.fxm-prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; }
.fxm-prose pre, .fxm-prose code { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
.fxm-gallery { grid-template-columns: repeat(4, minmax(0,1fr)); }

@media (max-width: 900px) {
  .fxm-single-detail .fxm-single-main { grid-template-columns: 190px minmax(0,1fr); gap: 20px; padding: 22px; }
}
@media (max-width: 640px) {
  .fxm-single-detail { width: 100%; padding: 0 0 34px; }
  .fxm-single-detail .fxm-single-backdrop { top: 0; right: 0; left: 0; height: 500px; opacity: .85; background-position: center top; background-size: auto 430px; background-repeat: no-repeat; }
  .fxm-single-detail .fxm-detail-hero { margin: 0 0 12px; border-radius: 0 0 14px 14px; }
  .fxm-single-detail .fxm-single-main { display: block; width: 100%; padding: 22px 16px 18px; }
  .fxm-single-detail .fxm-single-poster { display: none !important; }
  .fxm-single-detail .fxm-single-intro { width: 100%; max-width: 100%; padding: 0; text-align: center; }
  .fxm-single-detail .fxm-single-kicker { justify-content: center; }
  .fxm-single-detail .fxm-single-intro h1 { margin: 10px 0 0; font-size: clamp(19px, 5.3vw, 24px); line-height: 1.55; }
  .fxm-single-detail .fxm-single-english { margin: 2px 0 10px; text-align: center; font-size: 12px; }
  .fxm-single-detail .fxm-detail-meta { justify-content: center; gap: 5px 7px; margin: 10px 0 12px; font-size: 10px; line-height: 1.8; }
  .fxm-single-detail .fxm-detail-meta > span + span::before { margin-inline-end: 7px; }
  .fxm-single-detail .fxm-single-synopsis { margin: 12px 0; font-size: 12px; line-height: 2; text-align: justify; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
  .fxm-single-detail .fxm-single-rating-row { justify-content: center; gap: 7px; }
  .fxm-single-detail .fxm-single-badges { justify-content: center; margin: 10px 0; }
  .fxm-single-detail .fxm-single-actions { justify-content: center; margin: 14px 0 8px; }
  .fxm-single-detail .fxm-single-actions .fxm-btn { min-height: 38px; padding: 8px 12px; font-size: 11px; }
  .fxm-single-detail .fxm-single-facts { margin-top: 14px; text-align: right; }
  .fxm-single-detail .fxm-single-facts > div { gap: 8px; font-size: 11px; }
  .fxm-single-detail .fxm-single-facts b { width: 62px; }
  .fxm-single-detail .fxm-content-panel { margin: 12px 10px; padding: 13px; border-radius: 11px; }
  .fxm-single-detail .fxm-panel-heading h2 { font-size: 14px; }
  .fxm-single-detail .fxm-people-panel { margin-top: 12px; }
  .fxm-single-detail .fxm-cast-list { gap: 11px; padding-bottom: 8px; }
  .fxm-single-detail .fxm-person-card { width: 78px; flex-basis: 78px; font-size: 10px; }
  .fxm-single-detail .fxm-cast-avatar { width: 58px; height: 58px; font-size: 20px; }
  .fxm-single-detail .fxm-download-panel { margin-inline: 10px; }
  .fxm-download-source-card { padding: 11px; border-radius: 10px; }
  .fxm-download-source-head { align-items: flex-start; gap: 8px; }
  .fxm-download-source-heading { width: 100%; }
  .fxm-download-source-heading > strong { font-size: 12px; }
  .fxm-download-online { min-height: 32px; padding: 6px 9px; }
  .fxm-download-buttons { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; width: 100%; }
  .fxm-download-button { width: 100%; min-height: 36px; padding: 7px 5px; font-size: 10px; }
  .fxm-download-extras { gap: 6px; }
  .fxm-episode-card { grid-template-columns: 66px minmax(0,1fr); gap: 9px; padding: 8px; align-items: start; }
  .fxm-episode-art { width: 66px; }
  .fxm-episode-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; width: 100%; }
  .fxm-episode-link { width: 100%; min-height: 32px; padding: 6px 4px; font-size: 9px; line-height: 1.45; }
  .fxm-season-summary { padding: 10px; gap: 6px; }
  .fxm-season-summary-title { font-size: 11px; }
  .fxm-season-episodes { padding: 7px; }
  .fxm-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fxm-single-detail .fxm-section { margin-inline: 10px; }
}
@media (max-width: 380px) {
  .fxm-single-detail .fxm-single-main { padding-inline: 12px; }
  .fxm-download-buttons { grid-template-columns: minmax(0,1fr); }
  .fxm-episode-card { grid-template-columns: 58px minmax(0,1fr); }
  .fxm-episode-art { width: 58px; }
  .fxm-episode-links { grid-template-columns: minmax(0,1fr); }
}

/* 1.1.1 download specs and stacking fixes */
.fxm-single-detail .fxm-single-backdrop { z-index: 0; }
.fxm-single-detail .fxm-single-article { position: relative; z-index: 1; }
.fxm-download-source-specs { display: flex; flex-wrap: wrap; gap: 6px 12px; min-width: 0; margin: 0 0 10px; color: #aaa; font-size: 10px; }
.fxm-download-source-specs span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .fxm-download-source-specs { font-size: 9px; line-height: 1.7; }
}


/* FlexMoviez Neo 1.1.2 — mobile media hero closer to the provided reference */
.fxm-mobile-hero-media { display:none; }
@media (max-width: 767px) {
  body.fxm-neo.fxm-media-single { overflow-x: hidden; }
  body.fxm-neo.fxm-media-single .fxm-header {
    position: fixed; top: 0; right: 0; left: 0; z-index: 1002;
    background: linear-gradient(180deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.58) 42%, rgba(0,0,0,0) 100%);
    border-bottom: 0; backdrop-filter: none; box-shadow: none;
  }
  body.fxm-neo.fxm-media-single .fxm-header-inner { background: transparent; }
  body.fxm-neo.fxm-media-single .fxm-single-detail { width: 100%; max-width: 100%; padding-top: 0; }
  body.fxm-neo.fxm-media-single .fxm-single-backdrop { display:none; }
  body.fxm-neo.fxm-media-single .fxm-detail-hero {
    width: 100vw; max-width: 100vw; margin-right: calc(50% - 50vw); margin-left: calc(50% - 50vw);
    margin-top: -25px; min-height: min(96vh, 780px); border-radius: 0 0 26px 26px; background: #000;
  }
  body.fxm-neo.fxm-media-single .fxm-mobile-hero-media {
    display:block; position:absolute; inset:0; z-index:0; background:#000;
  }
  body.fxm-neo.fxm-media-single .fxm-mobile-hero-media img {
    width:100%; height:100%; object-fit:contain; object-position:center top; display:block;
    filter: saturate(.94) contrast(1.02);
  }
  body.fxm-neo.fxm-media-single .fxm-mobile-hero-media::after {
    content:""; position:absolute; inset:0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 58%, rgba(0,0,0,.62) 78%, rgba(0,0,0,.96) 90%, #0b0b0b 100%);
  }
  body.fxm-neo.fxm-media-single .fxm-single-main {
    grid-template-columns: minmax(0,1fr); gap: 0; align-content: end; min-height: min(96vh, 780px);
    padding: 88px 18px 22px; position: relative; z-index: 1;
  }
  body.fxm-neo.fxm-media-single .fxm-single-poster { display:none; }
  body.fxm-neo.fxm-media-single .fxm-single-intro {
    margin-top: auto; text-align: center; padding: 0; width: 100%;
  }
  body.fxm-neo.fxm-media-single .fxm-single-kicker { justify-content: center; gap: 6px; }
  body.fxm-neo.fxm-media-single .fxm-single-kicker span { background: rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.08); }
  body.fxm-neo.fxm-media-single .fxm-single-intro h1 { font-size: 15px; line-height: 1.8; margin-top: 14px; }
  body.fxm-neo.fxm-media-single .fxm-fa-title { display:block; font-size: 18px; font-weight: 900; }
  body.fxm-neo.fxm-media-single .fxm-single-english { margin: 4px 0 10px; font-size: 13px; color: #fff; opacity: .92; text-align: center; direction:ltr; }
  body.fxm-neo.fxm-media-single .fxm-detail-meta { justify-content: center; gap: 6px 10px; font-size: 11px; line-height: 1.8; }
  body.fxm-neo.fxm-media-single .fxm-detail-meta > span { color: #e0e0e0; }
  body.fxm-neo.fxm-media-single .fxm-detail-meta > span + span::before { margin-inline-end: 8px; }
  body.fxm-neo.fxm-media-single .fxm-single-synopsis { margin: 12px auto 14px; max-width: 100%; font-size: 12px; line-height: 2; color: #e5e5e5; }
  body.fxm-neo.fxm-media-single .fxm-single-rating-row { justify-content: center; gap: 8px 10px; }
  body.fxm-neo.fxm-media-single .fxm-imdb-link { min-width: 48px; }
  body.fxm-neo.fxm-media-single .fxm-rating-value { font-size: 14px; }
  body.fxm-neo.fxm-media-single .fxm-rating-outof,
  body.fxm-neo.fxm-media-single .fxm-rating-votes,
  body.fxm-neo.fxm-media-single .fxm-meta-score { font-size: 10px; }
  body.fxm-neo.fxm-media-single .fxm-single-badges { justify-content:center; margin-top: 10px; }
  body.fxm-neo.fxm-media-single .fxm-single-actions { justify-content: center; margin-top: 10px; }
  body.fxm-neo.fxm-media-single .fxm-single-actions .fxm-btn { min-height: 42px; border-radius: 10px; }
  body.fxm-neo.fxm-media-single .fxm-single-facts {
    display: grid; grid-template-columns: minmax(0,1fr); gap: 6px; margin-top: 14px;
    padding: 12px; border-radius: 14px; background: rgba(7,8,10,.38); border: 1px solid rgba(255,255,255,.06);
  }
  body.fxm-neo.fxm-media-single .fxm-single-facts > div { display:flex; flex-wrap:wrap; justify-content:center; gap: 5px 7px; }
  body.fxm-neo.fxm-media-single .fxm-single-facts b { color: #f1f1f1; }
  body.fxm-neo.fxm-media-single .fxm-single-facts span { display:flex; flex-wrap:wrap; gap: 5px 7px; justify-content:center; }
  body.fxm-neo.fxm-media-single .fxm-content-panel,
  body.fxm-neo.fxm-media-single .fxm-download-list,
  body.fxm-neo.fxm-media-single .fxm-section,
  body.fxm-neo.fxm-media-single .fxm-comments { margin-inline: 12px; }
}


/* FlexMoviez Neo 1.1.4 — global #101014 surface and cinematic gradient refinement */
body.fxm-neo {
  --fxm-bg: #101014;
  background-color: #101014;
}
body.fxm-neo.fxm-dark,
body.fxm-neo.fxm-light {
  --fxm-bg: #101014;
  background-color: #101014;
}
body.fxm-neo .fxm-footer {
  background-color: #101014;
}

/* Same black-to-transparent header treatment across the entire site. */
body.fxm-neo .fxm-header,
body.fxm-neo.fxm-media-single .fxm-header {
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.94) 0%,
    rgba(0,0,0,.70) 42%,
    rgba(0,0,0,.30) 76%,
    rgba(0,0,0,0) 100%
  );
  border-bottom: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
body.fxm-neo .fxm-header-inner {
  background: transparent;
}

/* Taxonomy links in the single movie/series metadata row. */
.fxm-single-detail .fxm-detail-meta .fxm-taxonomy-link {
  color: #f0f0f2;
  text-decoration: none;
  text-underline-offset: 3px;
  border-bottom: 1px dotted rgba(255,255,255,.48);
  transition: color .18s ease, border-color .18s ease;
}
.fxm-single-detail .fxm-detail-meta .fxm-taxonomy-link:hover,
.fxm-single-detail .fxm-detail-meta .fxm-taxonomy-link:focus-visible {
  color: var(--fxm-accent);
  border-bottom-color: var(--fxm-accent);
}

/* Mobile single hero: gradient begins at the image midpoint and resolves to #101014. */
@media (max-width: 767px) {
  body.fxm-neo.fxm-media-single,
  body.fxm-neo.fxm-media-single .fxm-single-detail,
  body.fxm-neo.fxm-media-single .fxm-detail-hero {
    background-color: #101014;
  }

  body.fxm-neo.fxm-media-single .fxm-mobile-hero-media {
    background-color: #101014;
  }

  body.fxm-neo.fxm-media-single .fxm-mobile-hero-media::after {
    background: linear-gradient(
      180deg,
      rgba(16,16,20,0) 0%,
      rgba(16,16,20,0) 48%,
      rgba(16,16,20,.12) 56%,
      rgba(16,16,20,.34) 67%,
      rgba(16,16,20,.66) 80%,
      rgba(16,16,20,.91) 92%,
      #101014 100%
    );
  }

  /* Increase bottom inset so the complete information group moves upward. */
  body.fxm-neo.fxm-media-single .fxm-single-main {
    padding: 88px 18px clamp(76px, 10vh, 104px);
    background: transparent;
  }

  body.fxm-neo.fxm-media-single .fxm-single-intro h1,
  body.fxm-neo.fxm-media-single .fxm-fa-title {
    font-size: clamp(22px, 6.1vw, 26px);
    line-height: 1.65;
    font-weight: 900;
  }

  body.fxm-neo.fxm-media-single .fxm-single-english {
    font-size: clamp(15px, 4.1vw, 17px);
    line-height: 1.7;
    margin: 5px 0 12px;
  }

  body.fxm-neo.fxm-media-single .fxm-detail-meta {
    font-size: clamp(12px, 3.35vw, 14px);
    line-height: 1.9;
    gap: 7px 10px;
    margin: 12px 0 14px;
    font-weight: 700;
  }

  body.fxm-neo.fxm-media-single .fxm-detail-meta .fxm-taxonomy-link {
    font-size: inherit;
    font-weight: 800;
  }

  body.fxm-neo.fxm-media-single .fxm-single-synopsis {
    font-size: clamp(13px, 3.6vw, 15px);
    line-height: 2.05;
    margin: 14px auto 16px;
  }

  body.fxm-neo.fxm-media-single .fxm-rating-value {
    font-size: 17px;
  }

  body.fxm-neo.fxm-media-single .fxm-rating-outof,
  body.fxm-neo.fxm-media-single .fxm-rating-votes,
  body.fxm-neo.fxm-media-single .fxm-meta-score {
    font-size: 12px;
  }

  body.fxm-neo.fxm-media-single .fxm-imdb-link {
    font-size: 12px;
    min-width: 52px;
    padding: 5px 8px;
  }

  body.fxm-neo.fxm-media-single .fxm-single-badges .fxm-mini-badge {
    font-size: 11px;
    padding: 4px 8px;
  }

  body.fxm-neo.fxm-media-single .fxm-single-actions .fxm-btn {
    font-size: 12px;
    min-height: 44px;
  }
}


/* FlexMoviez Neo 1.1.9 — HexDL-inspired responsive download box. */
.fxm-hexbox {
  --hex-card: rgba(255,255,255,.075);
  --hex-card-hover: rgba(255,255,255,.11);
  --hex-border: rgba(255,255,255,.11);
  --hex-muted: #a7a7ad;
  --hex-accent: var(--fxm-accent, #A4F425);
  direction: rtl;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 8px 0 0;
  color: var(--fxm-text, #f5f5f5);
  font-family: inherit;
}
.fxm-hexbox, .fxm-hexbox * { box-sizing: border-box; }
.fxm-hexbox button, .fxm-hexbox select { font: inherit; }
.fxm-hexbox .hexbox__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 17px;
}
.fxm-hexbox .hexbox__header-right { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.fxm-hexbox .hexbox__header-left { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.fxm-hexbox .hexbox__jump { display: flex; align-items: center; gap: 10px; }
.fxm-hexbox .hexbox__jump-label { color: #f5f5f5; font-size: 13px; font-weight: 600; white-space: nowrap; }
.fxm-hexbox .hexbox__select-wrapper, .fxm-hexbox .hexbox__sort-wrapper { position: relative; display: inline-flex; align-items: center; }
.fxm-hexbox .hexbox__season-select {
  appearance: none;
  min-height: 36px;
  min-width: 104px;
  padding: 0 13px 0 32px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--hex-accent);
  color: #101014;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  outline: none;
}
.fxm-hexbox .hexbox__season-select option, .fxm-hexbox .hexbox__sort-select option { background: #17171c; color: #fff; }
.fxm-hexbox .hexbox__select-wrapper > svg, .fxm-hexbox .hexbox__sort-wrapper > svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #101014;
}
.fxm-hexbox .hexbox__season-count { color: var(--hex-muted); font-size: 11px; line-height: 1.7; }
.fxm-hexbox .hexbox__sort-select {
  appearance: none;
  min-height: 32px;
  padding: 4px 10px 4px 26px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--hex-muted);
  font-size: 11px;
  cursor: pointer;
  outline: none;
}
.fxm-hexbox .hexbox__sort-wrapper > svg { color: var(--hex-accent); }
.fxm-hexbox .hexbox__view-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--hex-border);
  border-radius: 11px;
  background: var(--hex-card);
}
.fxm-hexbox .view-btn {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--hex-muted);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.fxm-hexbox .view-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.fxm-hexbox .view-btn.active { background: var(--hex-accent); color: #101014; box-shadow: 0 2px 9px color-mix(in srgb, var(--hex-accent) 28%, transparent); }
.fxm-hexbox .view-btn svg { display: block; fill: currentColor; }
.fxm-hexbox .hexbox-carousel { position: relative; z-index: 1; overflow: visible; }
.fxm-hexbox .hex-carousel__wrapper {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  padding: 2px 1px 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}
.fxm-hexbox .hex-carousel__wrapper::-webkit-scrollbar { display: none; }
.fxm-hexbox .hexbox-card {
  position: relative;
  display: flex;
  flex: 0 0 312px;
  flex-direction: column;
  width: 312px;
  min-width: 0;
  padding: 8px;
  overflow: hidden;
  border: 1px solid var(--hex-border);
  border-radius: 17px;
  background: var(--hex-card);
  scroll-snap-align: start;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.fxm-hexbox .hexbox-card:hover { background: var(--hex-card-hover); border-color: color-mix(in srgb, var(--hex-accent) 34%, var(--hex-border)); }
.fxm-hexbox .hexbox-media-wrapper {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: 160px;
  min-height: 160px;
  overflow: hidden;
  border-radius: 12px;
  background: #08080a;
}
.fxm-hexbox .hexbox-card__img { position: relative; display: block; width: 100%; height: 100%; margin: 0; overflow: hidden; border-radius: inherit; background: #08080a; }
.fxm-hexbox .hexbox-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform .55s ease; }
.fxm-hexbox .hexbox-card:hover .hexbox-card__img img { transform: scale(1.045); }
.fxm-hexbox .hexbox-fallback-art { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 50% 40%, #303039, #111116 70%); }
.fxm-hexbox .hexbox-fallback-art::after { content: attr(data-ep-num); color: rgba(255,255,255,.28); font-size: 58px; font-weight: 900; }
.fxm-hexbox .hexbox-episode-seen {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(0,0,0,.68);
  color: var(--hex-accent);
  backdrop-filter: blur(5px);
  pointer-events: none;
}
.fxm-hexbox .hexbox-episode-seen[hidden], .fxm-hexbox .hexbox-episode-progress[hidden] { display: none !important; }
.fxm-hexbox .hexbox-episode-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 3px;
  overflow: hidden;
  background: rgba(255,255,255,.3);
  pointer-events: none;
}
.fxm-hexbox .hexbox-episode-progress i { display: block; width: 0; height: 100%; margin: 0 0 0 auto; background: var(--hex-accent); transition: width .2s ease; direction: ltr; }
.fxm-hexbox .hexbox-card__body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 10px 2px 2px; }
.fxm-hexbox .hexbox-card__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; margin: 0 0 9px; font-size: 13px; font-weight: 800; }
.fxm-hexbox .ep-num { display: block; min-width: 0; overflow: hidden; color: #fff; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 800; }
.fxm-hexbox .season-tag { flex: 0 0 auto; color: var(--hex-accent); font-size: 10px; font-weight: 700; opacity: .95; white-space: nowrap; }
.fxm-hexbox .hexbox-story { margin: 0 0 11px; color: var(--hex-muted); font-size: 11px; line-height: 1.8; }
.fxm-hexbox .story-text { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.fxm-hexbox .hexbox-read-more { display: inline-block; margin: 0 5px 0 0; padding: 0; border: 0; background: transparent; color: var(--hex-accent); font-size: 10px; font-weight: 800; cursor: pointer; }
.fxm-hexbox .hexbox-list-group { margin-top: auto; }
.fxm-hexbox .hexbox-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.fxm-hexbox .hexbox-list li { min-width: 0; margin: 0; padding: 0; }
.fxm-hexbox .hex-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-width: 0;
  min-height: 32px;
  padding: 5px 6px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 9px;
  background: rgba(255,255,255,.075);
  color: #e5e5e8 !important;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.fxm-hexbox .hex-chip svg { flex: 0 0 auto; color: currentColor; }
.fxm-hexbox .hex-chip span { min-width: 0; overflow-wrap: anywhere; }
.fxm-hexbox .hex-chip:hover { border-color: var(--hex-accent); background: var(--hex-accent); color: #101014 !important; box-shadow: 0 4px 12px color-mix(in srgb, var(--hex-accent) 22%, transparent); }
.fxm-hexbox .hex-chip--online { border-color: rgba(164,244,37,.3); background: color-mix(in srgb, var(--hex-accent) 12%, transparent); color: var(--hex-accent) !important; }
.fxm-hexbox .hex-chip--dubbed { border-color: rgba(245,197,24,.24); color: #f5c95a !important; }
.fxm-hexbox .hex-chip--extra { color: #c5c5ca !important; }
.fxm-hexbox .hexbox-episode-notify { margin-top: 9px; }
.fxm-hexbox .hexbox-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 34px;
  height: 52px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 11px;
  background: rgba(12,12,15,.88);
  color: #fff;
  box-shadow: 0 5px 16px rgba(0,0,0,.35);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.fxm-hexbox .hexbox-nav.btn--prev { left: -10px; }
.fxm-hexbox .hexbox-nav.btn--next { right: -10px; }
.fxm-hexbox .hexbox-nav:hover { background: var(--hex-accent); color: #101014; }
.fxm-hexbox .hexbox-nav.is-hidden { opacity: 0; pointer-events: none; }
.fxm-hexbox .hexbox-view-grid .hex-carousel__wrapper { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); overflow: visible; }
.fxm-hexbox .hexbox-view-grid .hexbox-card { width: auto; min-width: 0; }
.fxm-hexbox .hexbox-view-grid .hexbox-nav, .fxm-hexbox .hexbox-view-classic .hexbox-nav { display: none; }
.fxm-hexbox .hexbox-view-classic .hex-carousel__wrapper { display: flex; flex-direction: column; overflow: visible; }
.fxm-hexbox .hexbox-view-classic .hexbox-card { display: flex; flex-direction: row; align-items: center; width: 100%; max-width: none; min-height: 104px; gap: 14px; }
.fxm-hexbox .hexbox-view-classic .hexbox-media-wrapper { flex: 0 0 130px; width: 130px; height: 74px; min-height: 74px; }
.fxm-hexbox .hexbox-view-classic .hexbox-card__body { flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; padding: 0; }
.fxm-hexbox .hexbox-view-classic .hexbox-card__title { flex: 0 0 145px; flex-direction: column; align-items: flex-start; gap: 2px; margin: 0; }
.fxm-hexbox .hexbox-view-classic .hexbox-story { display: none; }
.fxm-hexbox .hexbox-view-classic .hexbox-list-group { flex: 1; min-width: 0; }
.fxm-hexbox .hexbox-view-classic .hexbox-list { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 7px; }
.fxm-hexbox .hexbox-view-classic .hexbox-list li { flex: 0 0 auto; }
.fxm-hexbox .hexbox-view-classic .hex-chip { width: auto; min-width: 76px; padding-inline: 12px; }
.fxm-hexbox [hidden] { display: none !important; }
.fxm-hexbox .hexbox-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 18px; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.fxm-hexbox .hexbox-modal.is-active { opacity: 1; visibility: visible; }
.fxm-hexbox .hexbox-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.78); backdrop-filter: blur(5px); }
.fxm-hexbox .hexbox-modal__content { position: relative; z-index: 1; width: min(500px, 100%); max-height: 82vh; overflow: auto; padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: #1b1b21; box-shadow: 0 20px 60px rgba(0,0,0,.5); transform: translateY(12px); transition: transform .2s ease; }
.fxm-hexbox .hexbox-modal.is-active .hexbox-modal__content { transform: translateY(0); }
.fxm-hexbox .hexbox-modal__close { position: absolute; top: 10px; left: 10px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 22px; cursor: pointer; }
.fxm-hexbox .hexbox-modal__body h3 { margin: 0 30px 13px 0; color: var(--hex-accent); font-size: 15px; }
.fxm-hexbox .hexbox-modal__body [data-modal-text] { color: #e5e5e8; font-size: 13px; line-height: 2; white-space: pre-line; }
.fxm-hexbox .hexbox-extras { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.fxm-hexbox .hexbox-extra-link { display: inline-flex; padding: 5px 10px; border: 1px solid var(--hex-border); border-radius: 8px; color: #c7c7cc !important; font-size: 10px; }

/* HexDL-inspired styling for movie/education source cards too. */
.fxm-download-source-card.hexbox-source-card { padding: 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.055); }
.fxm-download-source-card.hexbox-source-card .hexbox-card__body { display: flex; flex-direction: column; min-width: 0; }
.fxm-download-source-card.hexbox-source-card .hexbox-card__title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.fxm-download-source-card.hexbox-source-card .ep-num { color: #fff; font-size: 13px; font-weight: 900; }
.fxm-download-source-card.hexbox-source-card .fxm-download-source-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.fxm-download-source-card.hexbox-source-card .fxm-download-source-badges span { padding: 3px 7px; border: 1px solid color-mix(in srgb, var(--fxm-accent) 20%, transparent); border-radius: 6px; background: color-mix(in srgb, var(--fxm-accent) 10%, transparent); color: var(--fxm-accent); font-size: 9px; }
.fxm-download-source-card.hexbox-source-card .fxm-download-source-specs { display: flex; flex-wrap: wrap; gap: 5px 12px; margin: 0 0 10px; color: var(--hex-muted); font-size: 10px; }
.fxm-download-source-card.hexbox-source-card .hexbox-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 7px; margin: 0; padding: 0; list-style: none; }
.fxm-download-source-card.hexbox-source-card .hexbox-list li { min-width: 0; }
.fxm-download-source-card.hexbox-source-card .hex-chip { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-width: 0; min-height: 35px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.13); border-radius: 9px; background: rgba(255,255,255,.07); color: #e7e7eb !important; font-size: 10px; font-weight: 800; text-decoration: none !important; }
.fxm-download-source-card.hexbox-source-card .hex-chip:hover { border-color: var(--fxm-accent); background: var(--fxm-accent); color: #101014 !important; }
.fxm-download-source-card.hexbox-source-card .hex-chip--online { color: var(--fxm-accent) !important; }
.fxm-download-source-card.hexbox-source-card .hex-chip small { color: var(--hex-muted); font-size: 9px; }
.fxm-download-source-card.hexbox-source-card .hexbox-extras { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.fxm-download-source-card.hexbox-source-card .hexbox-extra-link { padding: 5px 9px; border: 1px solid var(--hex-border); border-radius: 8px; color: #c7c7cc !important; font-size: 10px; }

@media (max-width: 1100px) {
  .fxm-hexbox .hexbox-view-grid .hex-carousel__wrapper { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .fxm-hexbox .hexbox__header { align-items: flex-start; gap: 10px; flex-wrap: wrap; }
  .fxm-hexbox .hexbox__header-left { margin-inline-start: auto; }
  .fxm-hexbox .hexbox-card { flex-basis: min(312px, 82vw); width: min(312px, 82vw); }
  .fxm-hexbox .hexbox-view-grid .hex-carousel__wrapper { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .fxm-hexbox .hexbox-view-grid .hexbox-card { width: auto; padding: 6px; }
  .fxm-hexbox .hexbox-view-grid .hexbox-media-wrapper { height: auto; min-height: 0; aspect-ratio: 16/9; }
  .fxm-hexbox .hexbox-view-grid .hexbox-card__title { align-items: flex-start; flex-direction: column; gap: 2px; }
  .fxm-hexbox .hexbox-view-grid .ep-num { font-size: 11px; }
  .fxm-hexbox .hexbox-view-grid .season-tag { font-size: 9px; }
  .fxm-hexbox .hexbox-view-grid .hexbox-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fxm-hexbox .hexbox-view-classic .hexbox-card { align-items: flex-start; flex-direction: column; gap: 9px; }
  .fxm-hexbox .hexbox-view-classic .hexbox-media-wrapper { flex: 0 0 auto; width: 100%; height: auto; min-height: 0; aspect-ratio: 16/9; }
  .fxm-hexbox .hexbox-view-classic .hexbox-card__body { flex-direction: column; align-items: stretch; gap: 9px; width: 100%; }
  .fxm-hexbox .hexbox-view-classic .hexbox-card__title { flex: 0 0 auto; flex-direction: row; align-items: center; width: 100%; }
  .fxm-hexbox .hexbox-view-classic .hexbox-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fxm-download-source-card.hexbox-source-card .hexbox-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 420px) {
  .fxm-hexbox .hexbox__header-left { width: 100%; justify-content: space-between; }
  .fxm-hexbox .hexbox-card { flex-basis: 84vw; width: 84vw; }
  .fxm-hexbox .hexbox-view-grid .hexbox-card { min-width: 0; }
  .fxm-hexbox .hexbox-view-grid .hexbox-list { grid-template-columns: minmax(0,1fr); }
  .fxm-download-source-card.hexbox-source-card .hexbox-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .fxm-hexbox *, .fxm-hexbox *::before, .fxm-hexbox *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
