:root{--bg:#06080c;--panel:#10141d;--panel2:#151b26;--text:#f6f7fb;--muted:#99a4b5;--accent:#d9ff45;--line:#ffffff16}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 20% -10%,#202941 0,#0b0e15 30%,var(--bg) 60%);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif}.topbar{height:68px;position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:28px;padding:0 28px;background:#07090dea;backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.brand{font-weight:950;letter-spacing:-1.2px;font-size:23px;color:#fff;text-decoration:none;white-space:nowrap}.brand span{color:var(--accent)}.nav{display:flex;gap:7px;align-items:center;flex:1}.nav a{color:#aab3c1;text-decoration:none;font-size:13px;font-weight:700;padding:9px 11px;border-radius:999px}.nav a:hover,.nav a.active{background:#ffffff0d;color:#fff}.top-actions{display:flex;gap:8px;align-items:center}.search input{width:min(270px,22vw);background:#ffffff0a;border:1px solid #ffffff18;color:#fff;border-radius:999px;padding:10px 14px;outline:none}.search input:focus{border-color:#ffffff3b}.icon-btn{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #ffffff18;border-radius:50%;background:#ffffff0c;color:white;cursor:pointer;text-decoration:none;font-weight:900}.icon-btn:hover{background:#ffffff18}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}main{padding:0 28px 45px}.hero{height:min(68vh,690px);min-height:450px;position:relative;margin:0 -28px 18px;display:flex;align-items:flex-end;background-image:linear-gradient(90deg,#06080cf8 0%,#06080cc9 34%,#06080c3b 72%),linear-gradient(0deg,#06080c 0%,transparent 44%),var(--hero-image,radial-gradient(circle at 75% 35%,#4b596c 0,#1a2232 38%,#0b0e14 75%));background-size:cover;background-position:center 28%;overflow:hidden}.hero-shade{position:absolute;inset:0;background:linear-gradient(0deg,#06080c 0,transparent 18%)}.hero-copy{position:relative;z-index:2;max-width:760px;padding:65px 56px 70px}.eyebrow{color:var(--accent);font-weight:900;letter-spacing:2.2px;font-size:11px}.hero h1,.show-copy h1{font-size:clamp(48px,7.5vw,98px);line-height:.9;letter-spacing:-4px;margin:10px 0 16px;text-shadow:0 8px 30px #000}.hero-copy>p:not(.eyebrow),.show-copy>p:not(.eyebrow){max-width:650px;color:#d7dbe3;font-size:16px;line-height:1.55}.hero-facts{display:flex;gap:10px;flex-wrap:wrap;color:#d4d9e1;font-size:13px}.hero-facts span+span:before{content:'•';margin-right:10px;color:#7e8796}.hero-buttons{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.play-btn,.soft-btn{border:0;border-radius:10px;padding:12px 18px;font-weight:850;font-size:14px;text-decoration:none;cursor:pointer}.play-btn{background:#fff;color:#090b0f}.soft-btn{background:#ffffff1e;color:#fff}.library-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:760px;margin:-8px 0 24px}.library-stats div{background:#ffffff08;border:1px solid #ffffff10;border-radius:14px;padding:14px 16px;display:flex;flex-direction:column}.library-stats strong{font-size:22px}.library-stats span{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.8px}.setup-banner{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:18px 0 8px;padding:16px 18px;border:1px solid #d9ff4530;border-radius:14px;background:linear-gradient(90deg,#d9ff4514,#ffffff08)}.setup-banner div{display:flex;flex-direction:column;gap:3px}.setup-banner span{color:var(--muted);font-size:13px}.setup-banner a{color:var(--accent);font-weight:850;text-decoration:none;white-space:nowrap}.library-section{margin-top:30px}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin:0 0 12px}.section-head>div{display:flex;align-items:baseline;gap:12px}.section-head h2{margin:0;font-size:22px;letter-spacing:-.5px}.section-head p{margin:0;color:var(--muted);font-size:13px}.section-head>span{color:var(--muted);font-size:12px}.rail{display:flex;gap:15px;overflow-x:auto;overscroll-behavior-inline:contain;padding:3px 1px 13px;scrollbar-width:thin}.card{width:176px;min-width:176px}.poster-link{text-decoration:none;color:inherit}.poster{height:264px;border-radius:13px;position:relative;background-size:cover;background-position:center;overflow:hidden;border:1px solid #ffffff12;box-shadow:0 12px 32px #0008;transition:transform .18s ease,box-shadow .18s ease}.poster.fallback,.episode-poster.fallback{display:flex;align-items:flex-end;padding:15px;background:linear-gradient(145deg,#263148,#111620)}.fallback-title{font-weight:900;font-size:19px;line-height:1.05;text-shadow:0 4px 20px #000}.poster:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#030508d9 0,transparent 45%);opacity:.45}.card:hover .poster{transform:translateY(-5px) scale(1.025);box-shadow:0 18px 45px #000c}.card-hover{opacity:0;position:absolute;z-index:3;inset:auto 10px 10px;display:flex;align-items:center;justify-content:space-between;transition:opacity .18s}.card:hover .card-hover{opacity:1}.round-play,.mini{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;border:1px solid #ffffff50;background:#f7f8fb;color:#080a0e;font-weight:900}.hover-actions{display:flex;gap:6px}.mini{background:#121722dc;color:#fff;cursor:pointer}.series-badge,.ep-badge,.offline{position:absolute;z-index:4;top:9px;border-radius:999px;padding:5px 7px;font-size:10px;font-weight:900;backdrop-filter:blur(8px)}.series-badge,.ep-badge{left:9px;background:#090b0fd4}.series-badge{color:var(--accent);letter-spacing:.7px}.offline{right:9px;background:#a92c35dc}.progress{height:4px;position:absolute;z-index:5;bottom:0;left:0;right:0;background:#ffffff28}.progress i{display:block;height:100%;background:var(--accent)}.card-meta{padding:9px 2px 1px}.card-title{font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.episode-name{font-size:11px;color:#aab3c1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.card-facts{display:flex;gap:9px;margin-top:4px;color:#7f8998;font-size:11px}.rating{color:#cbd76c}.poster-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(158px,1fr));gap:22px 15px}.poster-grid .card{width:100%;min-width:0}.poster-grid .poster{height:auto;aspect-ratio:2/3}.episode-card{width:280px;min-width:280px}.episode-poster{height:158px;border-radius:13px;position:relative;background-size:cover;background-position:center;overflow:hidden;border:1px solid #ffffff12;box-shadow:0 12px 32px #0008}.episode-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;opacity:.9}.empty{padding:25px;color:var(--muted);background:#ffffff08;border:1px dashed #ffffff20;border-radius:14px;min-width:100%}footer{display:flex;gap:18px;align-items:center;margin-top:50px;padding-top:22px;border-top:1px solid var(--line);color:#697383;font-size:11px}footer a{color:#b4becc}.show-main{padding:0 28px 50px}.show-hero{position:relative;min-height:560px;margin:0 -28px 0;background-image:linear-gradient(90deg,#06080cf7 0%,#06080cbd 42%,#06080c32 75%),linear-gradient(0deg,#06080c 0,transparent 45%),var(--hero-image,linear-gradient(145deg,#27344b,#0b0e14));background-size:cover;background-position:center}.show-hero-overlay{position:absolute;inset:0;background:linear-gradient(0deg,#06080c 0,transparent 26%)}.show-info{position:relative;z-index:2;display:flex;align-items:flex-end;gap:34px;max-width:1180px;margin:0 auto;padding:125px 28px 55px}.show-poster{width:220px;aspect-ratio:2/3;object-fit:cover;border-radius:16px;box-shadow:0 25px 70px #000b;border:1px solid #ffffff20}.show-copy{max-width:720px}.show-copy h1{font-size:clamp(50px,6vw,86px)}.season-stack{max-width:1180px;margin:12px auto}.season-section{margin-top:34px}.episode-list{display:flex;flex-direction:column;gap:12px}.episode-row{display:grid;grid-template-columns:260px 1fr;gap:18px;padding:10px;border-radius:16px;border:1px solid #ffffff0f;background:#ffffff06;transition:.18s}.episode-row:hover{background:#ffffff0c;border-color:#ffffff1d}.episode-row.watched{opacity:.72}.episode-thumb{height:146px;border-radius:11px;position:relative;background:#171d28 center/cover no-repeat;overflow:hidden;text-decoration:none}.episode-number{position:absolute;left:10px;top:9px;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#000a;color:#fff;font-size:12px;font-weight:850}.episode-play-button{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#ffffffe8;color:#080a0d}.episode-copy{padding:8px 8px 8px 0}.episode-heading{display:flex;justify-content:space-between;gap:15px;align-items:center}.episode-heading h3{margin:0;font-size:17px}.episode-heading span,.episode-status{font-size:11px;color:var(--muted)}.episode-copy p{color:#aeb7c5;font-size:13px;line-height:1.55;margin:9px 0 13px}.episode-status{color:#c6d1df}.watch-page{background:#000;min-height:100vh}.watch-top{height:64px;display:flex;gap:18px;align-items:center;padding:0 20px;background:#070707}.watch-top>a{color:white;text-decoration:none;font-size:13px}.watch-title{display:flex;flex-direction:column;gap:2px;flex:1}.watch-title span{font-size:11px;color:#9ba3ae}.next-link{margin-left:auto}.watch-page video{display:block;width:100%;height:calc(100vh - 64px);background:#000}.settings-main{max-width:900px;margin:50px auto}.settings-card{background:#10151ecc;border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:0 30px 80px #0006}.settings-card+.settings-card{margin-top:18px}.settings-card h1{font-size:36px;letter-spacing:-1.5px;margin:7px 0 10px}.settings-card h2{margin:7px 0 10px}.settings-card p{color:#aeb7c5;line-height:1.6}.settings-card code{background:#0006;padding:3px 7px;border-radius:6px}.settings-form{margin-top:25px;display:flex;flex-direction:column;gap:10px}.settings-form label{font-size:13px;font-weight:800}.settings-form textarea{width:100%;resize:vertical;background:#07090dcf;border:1px solid #ffffff1d;color:#fff;border-radius:12px;padding:13px;outline:none}.settings-form textarea:focus{border-color:#d9ff4560}.current-token{font-size:12px;color:#aab3c1}.form-actions{display:flex;gap:10px}.form-actions button{border:0;border-radius:10px;padding:11px 15px;font-weight:850;background:var(--accent);color:#0b0d08;cursor:pointer}.form-actions .secondary{background:#ffffff12;color:#fff}.success{margin:14px 0;padding:11px 13px;border-radius:10px;background:#b5dc6a18;border:1px solid #b5dc6a34;color:#d9efb1}.soft-link{color:#c3cad5;text-decoration:none;font-size:13px}#toast{position:fixed;z-index:99;left:50%;bottom:25px;transform:translate(-50%,18px);opacity:0;background:#f4f6f9;color:#080a0d;padding:10px 14px;border-radius:999px;font-size:12px;font-weight:800;transition:.2s;pointer-events:none}#toast.show{transform:translate(-50%,0);opacity:1}
@media(max-width:850px){.topbar{gap:12px;padding:0 14px}.nav{order:3;position:fixed;left:0;right:0;bottom:0;height:58px;background:#080a0fee;border-top:1px solid var(--line);justify-content:space-around;z-index:60}.nav a{font-size:11px;padding:7px}.search{display:none}body{padding-bottom:58px}main,.show-main{padding:0 14px 35px}.hero{margin:0 -14px 18px;height:58vh;min-height:410px}.hero-copy{padding:35px 22px 45px}.hero h1{font-size:clamp(45px,14vw,72px);letter-spacing:-3px}.library-stats{grid-template-columns:repeat(2,1fr)}.setup-banner{align-items:flex-start;flex-direction:column}.card{width:145px;min-width:145px}.poster{height:217px}.episode-card{width:245px;min-width:245px}.episode-poster{height:138px}.poster-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:18px 10px}.card-hover{opacity:1}.show-hero{margin:0 -14px;min-height:500px}.show-info{padding:85px 20px 45px;gap:20px}.show-poster{width:150px}.show-copy h1{font-size:clamp(42px,10vw,66px);letter-spacing:-2px}.episode-row{grid-template-columns:190px 1fr}.episode-thumb{height:108px}.settings-main{margin:25px auto}.settings-card{padding:20px}.settings-card h1{font-size:29px}}@media(max-width:560px){.brand{font-size:20px}.top-actions{margin-left:auto}.hero-copy>p:not(.eyebrow){font-size:14px}.section-head>div{display:block}.section-head p{margin-top:3px}.rail{gap:10px}.card{width:132px;min-width:132px}.poster{height:198px}.poster-grid{grid-template-columns:repeat(3,1fr)}.poster-grid .card-title{font-size:11px}.poster-grid .poster{border-radius:9px}.show-info{align-items:flex-start;flex-direction:column;justify-content:flex-end;min-height:500px}.show-poster{width:112px}.show-copy h1{font-size:46px;margin-top:6px}.show-copy>p:not(.eyebrow){font-size:13px}.episode-row{grid-template-columns:1fr}.episode-thumb{height:auto;aspect-ratio:16/9}.episode-copy{padding:4px}.form-actions{flex-direction:column}.watch-top{height:58px}.watch-page video{height:calc(100vh - 58px)}}

/* Movie Media V1.4 — consumer interface layer */
:root{--accent:#cfff32;--consumer-pad:38px}.consumer-bar{height:64px;padding:0 var(--consumer-pad);gap:34px;background:linear-gradient(180deg,#080a0de8,#080a0dca);border-bottom:0;box-shadow:none}.consumer-bar .brand{font-size:21px;letter-spacing:-1.05px}.consumer-nav{gap:2px}.consumer-nav a{background:transparent!important;border:0!important;color:#aeb4bf;padding:10px 12px;font-size:13px}.consumer-nav a:hover,.consumer-nav a.active{color:#fff}.consumer-nav a.active:after{content:'';display:block;height:2px;background:var(--accent);border-radius:3px;margin-top:7px}.consumer-search{height:38px;width:215px;border-radius:999px;background:#ffffff0b;border:1px solid #ffffff12;padding:0 14px 0 11px;display:flex;align-items:center;gap:7px}.consumer-search:focus-within{border-color:#ffffff2b;background:#ffffff10}.consumer-search input{width:100%;background:none;border:0;color:#fff;outline:none;font-size:13px}.consumer-search input::placeholder{color:#7e8490}.search-mark{color:#b2b7c0;font-size:18px;transform:rotate(-15deg)}.heart-link{font-size:15px}.active-icon{color:var(--accent)!important}.profile-btn{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;text-decoration:none;background:linear-gradient(145deg,#dfff6d,#8eb91b);color:#0a0d08;font-size:10px;font-weight:950;letter-spacing:.4px;border:1px solid #ffffff2a}.consumer-main{padding:0 var(--consumer-pad) 60px;max-width:none}.consumer-hero{height:min(68vh,650px);min-height:470px;margin:0 calc(var(--consumer-pad) * -1) 0;border-radius:0;background-position:center 28%;box-shadow:none}.consumer-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#05070bef 0%,#05070bb7 35%,#05070b31 68%,transparent 86%),linear-gradient(0deg,#06080c 0%,transparent 38%);z-index:1}.consumer-hero .hero-shade{background:linear-gradient(0deg,#06080c 0%,transparent 36%)}.consumer-hero-copy{padding:100px var(--consumer-pad) 70px;max-width:680px}.hero-kicker{font-size:11px;letter-spacing:2.2px;font-weight:900;color:var(--accent);margin-bottom:12px}.consumer-hero h1{font-size:clamp(54px,6.1vw,88px);line-height:.92;letter-spacing:-4.8px;margin:0 0 18px;text-wrap:balance}.premium-facts{font-size:13px;gap:12px;color:#e5e8ed}.premium-facts span+span:before{content:'•';color:#6b707a;margin-right:12px}.premium-facts .hero-rating{color:#eef8bd}.hero-overview{font-size:15px!important;line-height:1.55!important;color:#e2e5ea!important;max-width:610px!important;text-shadow:0 2px 14px #000}.hero-buttons{gap:10px;margin-top:24px}.play-btn{border-radius:8px;padding:12px 22px;font-size:14px;box-shadow:none}.soft-btn{border-radius:8px;padding:12px 19px;background:#5a5e65a8;border:0;color:#fff;font-size:14px;backdrop-filter:blur(8px)}.soft-btn:hover{background:#70747ca8}.home-content{position:relative;z-index:4;margin-top:-8px}.consumer-section{margin-top:26px}.clean-head{margin:0 0 12px}.clean-head h2{font-size:19px;letter-spacing:-.25px}.consumer-rail{gap:12px;padding-bottom:15px}.poster-card{width:158px;min-width:158px}.poster-card .poster{height:237px;border-radius:8px;border:0;box-shadow:0 8px 24px #0008}.poster-card:hover .poster{transform:translateY(-4px) scale(1.025);box-shadow:0 17px 40px #000b}.poster-card .poster:after{opacity:.14}.clean-meta{padding:8px 1px 0}.clean-meta .card-title{font-size:12.5px;font-weight:720}.clean-meta .card-facts{font-size:10.5px;margin-top:3px}.series-badge{display:none}.continue-section{margin-top:18px}.continue-rail{display:flex;gap:13px;overflow-x:auto;padding:2px 1px 15px;scrollbar-width:thin}.continue-card{width:300px;min-width:300px}.continue-art{display:block;height:169px;border-radius:9px;position:relative;background:#171d28 center/cover no-repeat;overflow:hidden;box-shadow:0 9px 30px #0008;border:1px solid #ffffff0c;transition:transform .18s ease,box-shadow .18s ease}.continue-card:hover .continue-art{transform:translateY(-3px);box-shadow:0 16px 36px #000b}.continue-art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0009,transparent 52%)}.continue-play{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;display:grid;place-items:center;padding-left:2px;background:#fffffff2;color:#080a0d;font-size:14px;box-shadow:0 5px 22px #0008;opacity:0;transition:.18s}.continue-card:hover .continue-play{opacity:1}.continue-episode{position:absolute;z-index:3;left:10px;top:9px;background:#07090cce;border-radius:6px;padding:5px 7px;font-size:10px;font-weight:850}.continue-copy{padding:8px 1px 0;display:flex;flex-direction:column;gap:2px}.continue-copy strong{font-size:13px}.continue-copy span{font-size:11px;color:#858d9a}.progress{height:3px}.progress i{background:var(--accent)}.collection-heading{padding:44px 0 22px}.collection-heading h1{font-size:36px;letter-spacing:-1.5px;margin:0}.collection-heading p{color:#8f98a7;margin:7px 0 0;font-size:13px}.consumer-grid-section{margin-top:0}.consumer-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:28px 14px}.consumer-grid .poster-card{width:100%;min-width:0}.consumer-grid .poster{height:auto;aspect-ratio:2/3}.circle-action{width:43px;height:43px;border-radius:50%;background:#2b2e33b8;color:#fff;border:1px solid #ffffff28;font-size:19px;cursor:pointer}.consumer-show-main{padding:0 var(--consumer-pad) 60px}.consumer-show-hero{margin:0 calc(var(--consumer-pad) * -1);min-height:590px;background-image:linear-gradient(90deg,#06080cf4 0%,#06080cb6 38%,#06080c24 72%),linear-gradient(0deg,#06080c 0,transparent 40%),var(--hero-image,linear-gradient(145deg,#27344b,#0b0e14));background-position:center 24%}.consumer-show-info{max-width:none;margin:0;padding:150px var(--consumer-pad) 74px;align-items:flex-end}.consumer-show-copy{max-width:660px}.consumer-show-copy h1{font-size:clamp(55px,6.4vw,90px);line-height:.94;letter-spacing:-4px;margin:0 0 16px}.consumer-show-copy>p{color:#d4d8df;line-height:1.56;font-size:14px;max-width:620px}.consumer-season-stack{max-width:1180px;margin:0 auto;padding-top:14px}.season-title-row{display:flex;align-items:end;justify-content:space-between;margin:0 0 14px}.season-title-row h2{font-size:22px;margin:0}.season-title-row span{display:block;color:#858e9b;font-size:11px;margin-top:4px}.consumer-episode-list{gap:6px}.consumer-episode-row{grid-template-columns:230px 1fr;padding:8px;background:transparent;border:0;border-bottom:1px solid #ffffff0e;border-radius:0}.consumer-episode-row:hover{background:#ffffff08;border-color:#ffffff0e}.consumer-episode-row .episode-thumb{height:129px;border-radius:7px}.consumer-episode-row .episode-copy{padding:8px 10px}.consumer-episode-row .episode-copy p{font-size:12.5px;color:#a9b0ba;max-width:680px}.consumer-episode-row .episode-status{font-size:10.5px;color:#bbc2cb}.consumer-episode-row.watched{opacity:.62}
@media(max-width:900px){:root{--consumer-pad:18px}.consumer-bar{gap:14px}.consumer-search{width:150px}.consumer-hero{height:58vh}.consumer-hero-copy{padding-top:80px}.continue-card{width:270px;min-width:270px}.continue-art{height:152px}.poster-card{width:145px;min-width:145px}.poster-card .poster{height:217px}.consumer-show-info{padding-top:120px}.consumer-episode-row{grid-template-columns:200px 1fr}.consumer-episode-row .episode-thumb{height:113px}}
@media(max-width:650px){:root{--consumer-pad:14px}.consumer-bar{height:58px;padding:0 14px}.consumer-bar .brand{font-size:18px}.consumer-nav{position:fixed;left:0;right:0;bottom:0;height:58px;background:#080a0ff2;border-top:1px solid #ffffff13;justify-content:space-around;z-index:60}.consumer-nav a{font-size:11px;padding:7px}.consumer-nav a.active:after{margin-top:4px}.consumer-search,.heart-link{display:none}.profile-btn{width:32px;height:32px}.consumer-main,.consumer-show-main{padding-bottom:75px}.consumer-hero{height:54vh;min-height:430px;background-position:center top}.consumer-hero:before{background:linear-gradient(90deg,#05070be8 0%,#05070b9c 60%,transparent),linear-gradient(0deg,#06080c 0%,transparent 42%)}.consumer-hero-copy{padding:90px 18px 44px;max-width:92%}.consumer-hero h1{font-size:clamp(45px,14vw,68px);letter-spacing:-3.2px}.hero-overview{font-size:13px!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.premium-facts{font-size:11px}.soft-btn,.play-btn{font-size:13px;padding:11px 16px}.continue-card{width:245px;min-width:245px}.continue-art{height:138px}.poster-card{width:128px;min-width:128px}.poster-card .poster{height:192px}.consumer-grid{grid-template-columns:repeat(3,1fr);gap:20px 9px}.consumer-grid .poster-card .poster{height:auto}.collection-heading{padding-top:30px}.collection-heading h1{font-size:29px}.consumer-show-hero{min-height:520px;background-position:center top}.consumer-show-info{padding:105px 18px 48px}.consumer-show-copy h1{font-size:48px;letter-spacing:-2.5px}.consumer-show-copy>p{font-size:13px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.consumer-episode-row{grid-template-columns:1fr;padding:9px 0 13px}.consumer-episode-row .episode-thumb{height:auto;aspect-ratio:16/9}.consumer-episode-row .episode-copy{padding:8px 2px}.continue-play{opacity:1;width:38px;height:38px}}

/* Movie Media V1.5 — responsive consumer rails */
.row-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rail-arrows{display:flex;align-items:center;gap:7px}
.rail-arrow{width:34px;height:34px;border-radius:50%;border:1px solid #ffffff20;background:#11151dcc;color:#fff;font-size:26px;line-height:1;display:grid;place-items:center;cursor:pointer;transition:background .16s ease,opacity .16s ease,transform .16s ease;backdrop-filter:blur(10px)}
.rail-arrow:hover:not(:disabled){background:#252b35;transform:scale(1.04)}
.rail-arrow:disabled{opacity:.22;cursor:default}
.rail-fits .rail-arrows{opacity:.22;pointer-events:none}
.consumer-rail,.continue-rail{scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;scroll-snap-type:x proximity;overscroll-behavior-x:contain}
.consumer-rail::-webkit-scrollbar,.continue-rail::-webkit-scrollbar{display:none;width:0;height:0}
.consumer-rail .poster-card,.continue-rail .continue-card{scroll-snap-align:start}
.consumer-rail{overflow-x:auto;overflow-y:visible;padding:4px 2px 17px;margin:0 -2px}
.continue-rail{overflow-x:auto;overflow-y:hidden;padding:3px 2px 16px;margin:0 -2px}
/* Continue Watching is always a true landscape tile, regardless of source art. */
.continue-card{width:clamp(270px,25vw,360px);min-width:clamp(270px,25vw,360px)}
.continue-art{width:100%;height:auto;aspect-ratio:16/9;background-position:center;background-size:cover}
.continue-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

@media(max-width:1050px){
  :root{--consumer-pad:22px}
  .consumer-bar{gap:18px}
  .consumer-nav a{padding-inline:9px}
  .consumer-search{width:170px}
  .consumer-hero{height:min(60vh,560px);min-height:440px}
  .consumer-hero h1{font-size:clamp(48px,7vw,72px)}
  .continue-card{width:310px;min-width:310px}
}

@media(max-width:780px){
  :root{--consumer-pad:16px}
  .consumer-bar{height:58px;padding:0 16px;gap:12px}
  .consumer-bar .brand{font-size:18px}
  .consumer-search{display:none}
  .heart-link{display:none}
  .consumer-nav{margin-left:auto;gap:0}
  .consumer-nav a{font-size:12px;padding:9px 8px}
  .profile-btn{width:32px;height:32px;flex:0 0 auto}
  .consumer-hero{height:54vh;min-height:410px;background-position:center top}
  .consumer-hero-copy{padding:72px 16px 44px;max-width:84%}
  .consumer-hero h1{font-size:clamp(42px,9vw,62px);letter-spacing:-3px}
  .hero-overview{max-width:540px!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .continue-card{width:min(78vw,330px);min-width:min(78vw,330px)}
  .poster-card{width:142px;min-width:142px}
  .poster-card .poster{height:213px}
  .rail-arrow{width:32px;height:32px;font-size:24px}
}

@media(max-width:650px){
  /* Compact mobile header; primary nav moves to a thumb-friendly bottom bar. */
  .consumer-bar{justify-content:space-between}
  .consumer-nav{position:fixed;left:0;right:0;bottom:0;height:58px;background:#080a0ff7;border-top:1px solid #ffffff13;display:grid;grid-template-columns:repeat(4,1fr);z-index:60;padding:0 4px;margin:0}
  .consumer-nav a{display:flex;align-items:center;justify-content:center;font-size:11px;padding:5px 2px}
  .consumer-nav a.active:after{position:absolute;bottom:3px;width:28px;margin:0}
  .consumer-nav a{position:relative}
  .consumer-main,.consumer-show-main{padding-bottom:78px}
  .consumer-hero{height:50vh;min-height:390px;margin-inline:-14px}
  .consumer-hero:before{background:linear-gradient(90deg,#05070bea 0%,#05070baa 68%,#05070b22),linear-gradient(0deg,#06080c 0%,transparent 46%)}
  .consumer-hero-copy{padding:74px 14px 34px;max-width:96%}
  .consumer-hero h1{font-size:clamp(38px,12vw,54px);line-height:.95;letter-spacing:-2.6px;margin-bottom:13px}
  .hero-kicker{font-size:9.5px;letter-spacing:1.8px;margin-bottom:9px}
  .premium-facts{gap:8px;font-size:10.5px;flex-wrap:wrap}
  .premium-facts span+span:before{margin-right:8px}
  .hero-overview{font-size:12.5px!important;line-height:1.45!important;-webkit-line-clamp:2}
  .hero-buttons{margin-top:17px}
  .play-btn,.soft-btn{font-size:12px;padding:10px 13px;border-radius:7px}
  .home-content{margin-top:0}
  .consumer-section{margin-top:22px}
  .clean-head{margin-bottom:9px}
  .clean-head h2{font-size:17px}
  .rail-arrow{width:30px;height:30px;font-size:22px}
  .continue-card{width:78vw;min-width:78vw;max-width:320px}
  .continue-copy{padding-top:7px}
  .continue-copy strong{font-size:12.5px}
  .continue-copy span{font-size:10.5px}
  .poster-card{width:118px;min-width:118px}
  .poster-card .poster{height:177px;border-radius:7px}
  .clean-meta .card-title{font-size:11.5px}
  .consumer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 10px}
  .consumer-grid .poster-card{width:100%;min-width:0}
  .consumer-grid .poster-card .poster{height:auto;aspect-ratio:2/3}
  .collection-heading{padding:26px 0 16px}
  .collection-heading h1{font-size:27px}
  .consumer-show-hero{min-height:500px}
  .consumer-show-copy h1{font-size:42px}
}

@media(max-width:380px){
  .consumer-bar{padding-inline:12px}
  .consumer-bar .brand{font-size:16px}
  .profile-btn{width:30px;height:30px;font-size:9px}
  .consumer-hero{margin-inline:-14px;min-height:365px}
  .consumer-hero-copy{padding-top:62px}
  .consumer-hero h1{font-size:36px}
  .continue-card{width:82vw;min-width:82vw}
  .poster-card{width:108px;min-width:108px}
  .poster-card .poster{height:162px}
}

/* Movie Media V1.6 — responsive header lockup */
/* Keep the brand, navigation and utility controls in separate lanes so they can never overlap. */
.consumer-bar{
  display:grid;
  grid-template-columns:max-content minmax(0,1fr) max-content;
  align-items:center;
  column-gap:26px;
  width:100%;
  min-width:0;
}
.consumer-bar .brand{
  display:block;
  flex:none;
  min-width:max-content;
  position:relative;
  z-index:2;
}
.consumer-nav{
  min-width:0;
  justify-content:center;
  margin:0;
  overflow:visible;
  white-space:nowrap;
}
.consumer-nav a{flex:0 0 auto}
.top-actions{
  min-width:0;
  justify-self:end;
  flex-wrap:nowrap;
}
.consumer-search{flex:0 1 215px;min-width:0}
.consumer-search input{min-width:0}

/* Medium desktop / laptop: remove the long search field before the nav gets squeezed. */
@media(max-width:1180px){
  .consumer-bar{column-gap:18px;padding-inline:22px}
  .consumer-bar .brand{font-size:21px}
  .consumer-search{display:none}
  .consumer-nav{gap:1px}
  .consumer-nav a{padding-inline:10px}
}

/* Small laptop / tablet landscape: keep one clean row with the full logo visible. */
@media(max-width:900px){
  .consumer-bar{
    grid-template-columns:max-content minmax(0,1fr) max-content;
    column-gap:12px;
    padding-inline:16px;
  }
  .consumer-bar .brand{font-size:18px;letter-spacing:-.8px}
  .consumer-nav{justify-content:center}
  .consumer-nav a{font-size:12px;padding:9px 7px}
  .heart-link{display:none}
}

/* Phones: brand/settings stay in the top bar; primary navigation becomes the bottom bar. */
@media(max-width:650px){
  .consumer-bar{
    display:flex;
    justify-content:space-between;
    padding-inline:14px;
  }
  .consumer-bar .brand{font-size:18px}
  .consumer-nav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    height:58px;
    margin:0;
    padding:0 4px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    background:#080a0ff7;
    border-top:1px solid #ffffff13;
    z-index:60;
  }
  .consumer-nav a{
    min-width:0;
    padding:5px 2px;
    font-size:11px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .top-actions{margin-left:auto}
}

/* Movie Media V1.7 — tablet/small-screen header fix
   At widths where the full desktop nav can no longer fit beside the logo,
   move primary navigation to the bottom bar instead of allowing overlap. */
@media (max-width: 900px) {
  .consumer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 18px;
    gap: 14px;
    overflow: hidden;
  }

  .consumer-bar .brand {
    display: block;
    flex: 0 0 auto;
    min-width: 0;
    font-size: 19px;
    line-height: 1;
    opacity: 1;
    visibility: visible;
    z-index: 3;
  }

  .top-actions {
    display: flex;
    flex: 0 0 auto;
    margin-left: auto;
    z-index: 3;
  }

  .consumer-search,
  .heart-link {
    display: none;
  }

  .profile-btn {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
  }

  .consumer-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    height: 60px;
    margin: 0;
    padding: 0 8px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    background: #080a0ff7;
    border-top: 1px solid #ffffff16;
    border-bottom: 0;
    z-index: 70;
    overflow: visible;
  }

  .consumer-nav a {
    position: relative;
    min-width: 0;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
  }

  .consumer-nav a.active:after {
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 30px;
    height: 2px;
    margin: 0;
    transform: translateX(-50%);
  }

  .consumer-main,
  .consumer-show-main {
    padding-bottom: 80px;
  }
}

@media (max-width: 480px) {
  .consumer-bar {
    height: 56px;
    padding-inline: 13px;
  }

  .consumer-bar .brand {
    font-size: 17px;
  }

  .consumer-nav {
    height: 58px;
  }

  .consumer-nav a {
    font-size: 11px;
  }
}

/* Movie Media V1.8 — hard header layout fix
   Medium screens get a real two-row header so the logo and navigation can never occupy the same space. */
@media (min-width: 651px) and (max-width: 1180px) {
  .consumer-bar {
    display: grid !important;
    grid-template-columns: max-content 1fr max-content !important;
    grid-template-rows: 48px 44px !important;
    grid-template-areas:
      "brand spacer actions"
      "nav nav nav" !important;
    height: 92px !important;
    min-height: 92px !important;
    padding: 0 20px !important;
    gap: 0 14px !important;
    overflow: visible !important;
  }

  .consumer-bar .brand {
    grid-area: brand !important;
    align-self: center !important;
    display: block !important;
    position: static !important;
    margin: 0 !important;
    min-width: max-content !important;
    font-size: 20px !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #fff !important;
    z-index: auto !important;
  }

  .consumer-bar .brand span {
    color: var(--accent) !important;
  }

  .consumer-bar .top-actions {
    grid-area: actions !important;
    align-self: center !important;
    justify-self: end !important;
    margin: 0 !important;
    position: static !important;
  }

  .consumer-search,
  .heart-link {
    display: none !important;
  }

  .consumer-nav {
    grid-area: nav !important;
    position: static !important;
    width: 100% !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    gap: 0 !important;
    background: transparent !important;
    border: 0 !important;
    overflow: visible !important;
  }

  .consumer-nav a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  .consumer-nav a.active:after {
    content: '' !important;
    position: absolute !important;
    left: 22% !important;
    right: 22% !important;
    bottom: 3px !important;
    height: 3px !important;
    width: auto !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: var(--accent) !important;
  }
}

/* Phones keep the existing bottom navigation, but guarantee a clean top row. */
@media (max-width: 650px) {
  .consumer-bar {
    height: 58px !important;
    min-height: 58px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 14px !important;
    overflow: visible !important;
  }
  .consumer-bar .brand {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .consumer-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    height: 58px !important;
  }
}

/* Movie Media V1.9 — mobile menu header
   On phones, desktop tabs are replaced by one menu button and a clean dropdown panel. */
.mobile-menu-btn,
.mobile-menu-search,
.mobile-menu-extra { display: none; }

@media (max-width: 650px) {
  .consumer-bar {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    height: 58px !important;
    min-height: 58px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 14px !important;
    background: rgba(7,9,13,.97) !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
    overflow: visible !important;
  }

  .consumer-bar .brand {
    position: static !important;
    display: block !important;
    flex: 0 0 auto !important;
    min-width: max-content !important;
    margin: 0 !important;
    font-size: 18px !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 102 !important;
  }

  .consumer-bar .top-actions {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 0 0 auto !important;
    gap: 8px !important;
    z-index: 103 !important;
  }

  .consumer-search,
  .heart-link,
  .profile-btn { display: none !important; }

  .mobile-menu-btn {
    width: 42px;
    height: 42px;
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.045);
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 10px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
  }
  .consumer-bar.menu-open .mobile-menu-btn span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .consumer-bar.menu-open .mobile-menu-btn span:nth-child(2){opacity:0}
  .consumer-bar.menu-open .mobile-menu-btn span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

  .consumer-nav {
    position: absolute !important;
    left: 10px !important;
    right: 10px !important;
    top: calc(100% + 8px) !important;
    bottom: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px !important;
    display: none !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 6px !important;
    background: rgba(12,15,21,.985) !important;
    border: 1px solid rgba(255,255,255,.11) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,.55) !important;
    overflow: hidden !important;
    z-index: 101 !important;
  }

  .consumer-bar.menu-open .consumer-nav { display: grid !important; }

  .consumer-nav a {
    position: relative !important;
    min-height: 48px !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    border-radius: 11px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    background: transparent !important;
  }

  .consumer-nav a:hover,
  .consumer-nav a.active {
    background: rgba(255,255,255,.07) !important;
    color: #fff !important;
  }

  .consumer-nav a.active:after {
    left: 10px !important;
    right: auto !important;
    bottom: 7px !important;
    width: 24px !important;
    height: 3px !important;
    transform: none !important;
  }

  .mobile-menu-search {
    grid-column: 1 / -1;
    display: block !important;
    margin: 0 0 4px !important;
  }

  .mobile-menu-search input:not([type="hidden"]) {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 11px;
    outline: none;
    background: rgba(255,255,255,.055);
    color: #fff;
    font: inherit;
  }
  .mobile-menu-search input::placeholder { color: rgba(255,255,255,.48); }
  .mobile-menu-search input:focus { border-color: var(--accent); }

  .mobile-menu-extra { display: flex !important; }

  .consumer-main,
  .consumer-show-main { padding-bottom: 24px !important; }

  body.mobile-menu-open:after {
    content: '';
    position: fixed;
    inset: 58px 0 0;
    background: rgba(0,0,0,.35);
    z-index: 90;
    pointer-events: none;
  }
}

/* Movie Media V2.0 — movie detail + deliberate playback */
.movie-detail-main{min-height:100vh;background:#07090d;color:#f6f7fb}
.movie-detail-hero{position:relative;min-height:610px;background:#0b0e13;background-image:linear-gradient(90deg,rgba(5,7,10,.98) 0%,rgba(5,7,10,.88) 36%,rgba(5,7,10,.30) 72%),linear-gradient(0deg,#07090d 0%,transparent 38%),var(--movie-backdrop);background-size:cover;background-position:center 25%}
.movie-detail-overlay{position:absolute;inset:0;background:linear-gradient(0deg,#07090d 0%,transparent 34%);pointer-events:none}
.movie-detail-content{position:relative;z-index:2;max-width:1320px;margin:auto;padding:44px 38px 70px}
.detail-back{display:inline-flex;margin-bottom:26px;color:#d2d5dc;text-decoration:none;font-weight:700}
.movie-detail-grid{display:grid;grid-template-columns:220px minmax(0,650px);gap:38px;align-items:end;min-height:470px}
.movie-poster{aspect-ratio:2/3;border-radius:14px;background:#151922 center/cover no-repeat;box-shadow:0 24px 60px rgba(0,0,0,.45);overflow:hidden;display:flex;align-items:center;justify-content:center;padding:16px;text-align:center;font-weight:800}
.movie-detail-copy h1{font-size:clamp(42px,6vw,78px);line-height:.95;letter-spacing:-.055em;margin:8px 0 18px}
.movie-facts{display:flex;flex-wrap:wrap;gap:9px 18px;color:#e3e6ec;font-weight:700}
.movie-facts span+span:before{content:'•';color:#747b89;margin-right:18px}
.movie-genres{margin-top:14px;color:#bfc5cf;font-weight:650}
.movie-overview{max-width:700px;margin:22px 0 26px;font-size:18px;line-height:1.65;color:#e2e5ea}
.movie-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.player-preview-section{max-width:1320px;margin:0 auto;padding:8px 38px 52px}
.player-section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:18px}.player-section-head h2{margin:3px 0 0;font-size:28px}.section-eyebrow{font-size:11px;letter-spacing:.18em;color:var(--accent);font-weight:900}.resume-copy{color:#9ea5b2;font-weight:700}
.player-preview{position:relative;display:block;aspect-ratio:16/7;min-height:300px;overflow:hidden;border-radius:18px;background:#11151c center/cover no-repeat;border:1px solid rgba(255,255,255,.09);box-shadow:0 24px 70px rgba(0,0,0,.35)}
.player-preview-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.72),rgba(0,0,0,.12) 65%)}
.player-big-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:82px;height:82px;border-radius:50%;background:rgba(255,255,255,.95);color:#05070a;font-size:28px;padding-left:5px;box-shadow:0 12px 40px rgba(0,0,0,.32);transition:transform .18s ease}
.player-preview:hover .player-big-play{transform:translate(-50%,-50%) scale(1.06)}
.fake-player-controls{position:absolute;left:22px;right:22px;bottom:18px;display:flex;align-items:center;gap:14px;color:#fff;font-weight:800}.fake-timeline{height:4px;flex:1;background:rgba(255,255,255,.30);border-radius:999px;overflow:hidden}.fake-timeline i{display:block;height:100%;width:0;background:var(--accent)}
.movie-more-section{max-width:1320px;margin:auto;padding-left:38px!important;padding-right:38px!important;padding-bottom:60px!important}
@media(max-width:820px){.movie-detail-hero{min-height:auto;background-position:center top}.movie-detail-content{padding:28px 22px 46px}.movie-detail-grid{grid-template-columns:150px minmax(0,1fr);gap:22px;min-height:400px}.movie-detail-copy h1{font-size:clamp(36px,8vw,56px)}.movie-overview{font-size:16px}.player-preview-section{padding:0 22px 38px}.movie-more-section{padding-left:22px!important;padding-right:22px!important}.player-preview{aspect-ratio:16/9;min-height:0}}
@media(max-width:560px){.movie-detail-hero{background-image:linear-gradient(0deg,#07090d 2%,rgba(7,9,13,.88) 46%,rgba(7,9,13,.28) 100%),var(--movie-backdrop);background-position:center top}.movie-detail-content{padding:18px 16px 34px}.detail-back{margin-bottom:180px}.movie-detail-grid{display:block;min-height:0}.movie-poster{display:none}.movie-detail-copy h1{font-size:42px}.movie-overview{font-size:15px;line-height:1.55}.movie-primary-play,.movie-actions .soft-btn{min-height:48px}.player-preview-section{padding:0 16px 34px}.player-section-head{align-items:start}.player-section-head h2{font-size:22px}.resume-copy{font-size:12px}.player-preview{border-radius:12px}.player-big-play{width:64px;height:64px;font-size:22px}.movie-more-section{padding-left:16px!important;padding-right:16px!important}}

/* V2.1 Clips & Extras */
.extras-section{padding:34px 5.5% 10px;background:#07090d}.extras-section .row-heading{margin-bottom:16px}.extras-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(300px,32vw);gap:18px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory;padding:2px 2px 12px}.extras-rail::-webkit-scrollbar{display:none}.extra-card{scroll-snap-align:start;border:0;background:transparent;color:inherit;text-align:left;padding:0;cursor:pointer;min-width:0}.extra-thumb{position:relative;aspect-ratio:16/9;border-radius:14px;background:#171b22 center/cover no-repeat;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.28);transition:transform .18s ease,filter .18s ease}.extra-card:hover .extra-thumb{transform:translateY(-3px);filter:brightness(1.07)}.extra-play{position:absolute;left:18px;bottom:16px;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.94);color:#06080b;font-size:18px;padding-left:2px}.official-chip{position:absolute;top:12px;left:12px;background:rgba(7,9,13,.78);border:1px solid rgba(255,255,255,.14);padding:6px 9px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.04em}.extra-copy{padding:11px 2px 0;display:flex;flex-direction:column;gap:4px}.extra-copy strong{font-size:16px;line-height:1.25}.extra-copy span{font-size:13px;color:#8f98a8}.extras-empty{border:1px solid rgba(255,255,255,.08);background:#10141b;border-radius:14px;padding:22px;color:#98a1b0}.extra-modal{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:24px}.extra-modal.open{display:flex}.extra-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.82);backdrop-filter:blur(8px)}.extra-modal-panel{position:relative;z-index:1;width:min(1100px,94vw);background:#0b0e13;border:1px solid rgba(255,255,255,.1);border-radius:18px;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.6)}.extra-video-wrap{aspect-ratio:16/9;background:#000}.extra-video-wrap iframe{width:100%;height:100%;border:0;display:block}.extra-close{position:absolute;z-index:2;top:12px;right:12px;width:40px;height:40px;border:0;border-radius:50%;background:rgba(0,0,0,.7);color:#fff;font-size:26px;cursor:pointer}.extra-modal-copy{padding:16px 20px 20px}.extra-modal-copy span{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#b9ff32;font-weight:800}.extra-modal-copy h3{margin:6px 0 0;font-size:22px}.modal-open{overflow:hidden}
@media(max-width:900px){.extras-rail{grid-auto-columns:minmax(270px,72vw)}}
@media(max-width:560px){.extras-section{padding:26px 18px 6px}.extras-rail{grid-auto-columns:84vw;gap:13px}.extra-thumb{border-radius:12px}.extra-play{width:42px;height:42px;left:14px;bottom:13px}.extra-modal{padding:10px}.extra-modal-panel{width:100%;border-radius:14px}.extra-modal-copy h3{font-size:18px}}

/* V2.3 — tighter Clips & Extras rail + hover-only play affordance */
.movie-detail-hero{min-height:560px}
.movie-detail-content{padding-bottom:34px}
.extras-section{padding-top:8px}
.extras-section .row-heading{margin-bottom:14px}
.extras-rail{grid-auto-columns:minmax(320px,29vw);gap:16px}
.extra-thumb{isolation:isolate}
.extra-thumb::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,0);transition:background .18s ease;pointer-events:none}
.extra-play{left:50%;bottom:auto;top:50%;transform:translate(-50%,-50%) scale(.82);width:58px;height:58px;font-size:21px;opacity:0;visibility:hidden;transition:opacity .16s ease,transform .16s ease,visibility .16s ease;z-index:3}
.extra-card:hover .extra-play,.extra-card:focus-visible .extra-play{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(1)}
.extra-card:hover .extra-thumb::after,.extra-card:focus-visible .extra-thumb::after{background:rgba(0,0,0,.18)}
.extra-card:focus-visible{outline:2px solid #b9ff32;outline-offset:4px;border-radius:14px}
@media (hover:none){.extra-card:active .extra-play{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(1)}}
@media(max-width:900px){.movie-detail-hero{min-height:auto}.movie-detail-content{padding-bottom:28px}.extras-section{padding-top:4px}.extras-rail{grid-auto-columns:minmax(280px,70vw)}}
@media(max-width:560px){.movie-detail-content{padding-bottom:22px}.extras-section{padding-top:0}.extras-rail{grid-auto-columns:84vw}.extra-play{width:54px;height:54px}}

/* V2.4 — trailer + clip hover play behavior */
.extra-card .extra-play {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
  left: 50%;
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%) scale(.86);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.extra-card:hover .extra-play,
.extra-card:focus-visible .extra-play {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%, -50%) scale(1);
}
@media (hover: none) {
  .extra-card .extra-play {
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .extra-card:active .extra-play {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* V2.5 — TV trailers + episode detail pages */
.show-extras{padding-top:8px;padding-bottom:28px}.episode-heading a{color:inherit;text-decoration:none}.episode-heading a:hover{color:var(--accent)}.episode-info-button{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.88);width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.94);color:#07090d;font:900 22px/1 Georgia,serif;opacity:0;transition:.16s}.episode-thumb:hover .episode-info-button{opacity:1;transform:translate(-50%,-50%) scale(1)}
.episode-detail-main{min-height:calc(100vh - 64px);background:#07090d}.episode-detail-hero{min-height:calc(100vh - 64px);position:relative;background-image:linear-gradient(90deg,rgba(5,7,10,.98) 0%,rgba(5,7,10,.82) 43%,rgba(5,7,10,.28) 78%),linear-gradient(0deg,#07090d 0%,transparent 40%),var(--episode-bg);background-size:cover;background-position:center}.episode-detail-content{position:relative;z-index:1;max-width:760px;padding:clamp(80px,12vh,150px) 5.5% 90px}.episode-detail-content h1{font-size:clamp(42px,6vw,76px);line-height:.98;letter-spacing:-.045em;margin:10px 0 18px}.episode-detail-progress{height:4px;max-width:520px;background:rgba(255,255,255,.22);border-radius:99px;overflow:hidden;margin:24px 0 8px}.episode-detail-progress i{display:block;height:100%;background:var(--accent)}.episode-detail-content small{color:#a6adba}
@media(max-width:650px){.episode-detail-hero{background-image:linear-gradient(0deg,#07090d 4%,rgba(7,9,13,.82) 58%,rgba(7,9,13,.25)),var(--episode-bg);background-position:center top}.episode-detail-content{padding:48vh 18px 55px}.episode-detail-content h1{font-size:40px}.episode-info-button{opacity:1;width:40px;height:40px;font-size:18px}}


/* V2.6 — TV Watch More dropdown + tighter show spacing */
.consumer-show-hero{min-height:540px}
.consumer-show-info{padding-bottom:46px}
.show-watch-more-wrap{max-width:1180px;margin:0 auto;padding:10px 0 0}
.show-watch-more{border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}
.show-watch-more>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 2px;cursor:pointer;user-select:none}
.show-watch-more>summary::-webkit-details-marker{display:none}
.show-watch-more>summary>span:first-child{display:flex;align-items:baseline;gap:13px}
.show-watch-more>summary strong{font-size:20px;letter-spacing:-.35px}
.watch-more-chevron{width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.16);display:grid;place-items:center;font-size:23px;line-height:1;color:#f7f7f8;transition:transform .18s ease,background .18s ease}
.show-watch-more>summary:hover .watch-more-chevron{background:rgba(255,255,255,.08)}
.show-watch-more[open] .watch-more-chevron{transform:rotate(180deg)}
.show-watch-more .show-extras{padding:0 0 16px;background:transparent}
.show-watch-more .show-extras .row-heading{margin:2px 0 12px}
.show-watch-more .show-extras .row-heading h2{display:none}
.consumer-season-stack{padding-top:8px}
.consumer-season-stack .season-section{margin-top:24px}
.show-watch-more-wrap + .consumer-season-stack{padding-top:8px}
@media(max-width:900px){
  .consumer-show-hero{min-height:500px}
  .consumer-show-info{padding-bottom:38px}
  .show-watch-more-wrap{padding-top:4px}
  .show-watch-more>summary{padding:15px 1px}
  .show-watch-more>summary strong{font-size:18px}
  .consumer-season-stack .season-section{margin-top:20px}
}
@media(max-width:560px){
  .consumer-show-hero{min-height:455px}
  .consumer-show-info{padding-bottom:30px}
  .show-watch-more-wrap{padding-top:0}
  .show-watch-more>summary{padding:14px 0}
  .show-watch-more>summary>span:first-child{gap:9px;align-items:center}
  .show-watch-more>summary strong{font-size:17px}
  .watch-more-chevron{width:32px;height:32px;font-size:20px}
  .show-watch-more .show-extras{padding-bottom:10px}
  .consumer-season-stack{padding-top:2px}
  .consumer-season-stack .season-section{margin-top:17px}
}

/* V2.7 — universal in-site TV player */
.mm-player-page{margin:0;background:#05070a;color:#f7f8fa;min-height:100vh}.mm-player-shell{min-height:100vh;background:#05070a}.mm-player-top{height:72px;padding:0 clamp(16px,3vw,42px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;background:#0a0d12;border-bottom:1px solid rgba(255,255,255,.08);position:relative;z-index:5}.mm-player-back,.mm-next-top{color:#c7cbd3;text-decoration:none;font-weight:700}.mm-next-top{justify-self:end}.mm-player-heading{text-align:center;min-width:0}.mm-player-heading strong,.mm-player-heading span{display:block}.mm-player-heading strong{font-size:16px}.mm-player-heading span{font-size:13px;color:#9ba3b0;margin-top:3px}.mm-video-stage{width:100%;background:#000;display:grid;place-items:center;min-height:min(72vh,820px)}.mm-video-stage video{display:block;width:100%;height:min(72vh,820px);object-fit:contain;background:#000}.mm-now-playing{max-width:1180px;margin:0 auto;padding:24px clamp(18px,4vw,50px) 50px}.mm-now-playing>span{color:var(--accent,#b9ff32);font-size:11px;font-weight:900;letter-spacing:.16em}.mm-now-playing h1{font-size:clamp(24px,3vw,38px);margin:7px 0 5px}.mm-now-playing>p{color:#9fa6b2;margin:0}.mm-now-playing details{max-width:760px;margin-top:18px;color:#b9c0cb}.mm-now-playing summary{cursor:pointer;color:#fff;font-weight:800}.mm-now-playing details p{line-height:1.65}.consumer-episode-row .episode-thumb,.consumer-episode-row .episode-heading a{cursor:pointer}
@media(max-width:700px){.mm-player-top{height:62px;grid-template-columns:auto 1fr auto;padding:0 12px}.mm-player-back span{display:none}.mm-player-heading{text-align:left}.mm-player-heading strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:48vw}.mm-player-heading span{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:48vw}.mm-next-top{font-size:0}.mm-next-top:after{content:'Next ›';font-size:13px}.mm-video-stage{min-height:auto}.mm-video-stage video{height:auto;max-height:calc(100vh - 62px);aspect-ratio:16/9}.mm-now-playing{padding:20px 16px 40px}}

/* V2.8 episode hover play + manual-start player */
.consumer-episode-row .episode-play-button{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.88);width:48px;height:48px;border-radius:50%;display:grid;place-items:center;padding-left:3px;background:rgba(255,255,255,.95);color:#07090d;font:900 18px/1 system-ui,-apple-system,Segoe UI,sans-serif;box-shadow:0 7px 24px rgba(0,0,0,.35);opacity:0;transition:opacity .16s ease,transform .16s ease;pointer-events:none;z-index:4}
.consumer-episode-row .episode-thumb:hover .episode-play-button{opacity:1;transform:translate(-50%,-50%) scale(1)}
.consumer-episode-row .episode-info-button{display:none!important}
@media(hover:none),(pointer:coarse){.consumer-episode-row .episode-play-button{opacity:.94;transform:translate(-50%,-50%) scale(.9)}}

/* V2.9 — paused-state title/description overlay + initial center Play */
.mm-video-stage{position:relative;overflow:hidden}
.mm-pause-overlay{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .45s ease,visibility .45s ease;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.74) 0%,rgba(0,0,0,.28) 46%,rgba(0,0,0,.08) 100%)}
.mm-pause-overlay.visible{opacity:1;visibility:visible}
.mm-pause-overlay.initial{background:rgba(0,0,0,.08)}
.mm-center-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.96);width:88px;height:88px;border:0;border-radius:50%;display:grid;place-items:center;padding-left:7px;background:rgba(255,255,255,.96);color:#05070a;font:900 31px/1 system-ui,-apple-system,Segoe UI,sans-serif;box-shadow:0 14px 50px rgba(0,0,0,.45);cursor:pointer;pointer-events:auto;opacity:1;transition:transform .18s ease,background .18s ease,opacity .25s ease}
.mm-center-play:hover{transform:translate(-50%,-50%) scale(1.06);background:#fff}
.mm-pause-info{position:absolute;left:clamp(24px,5vw,76px);bottom:clamp(64px,10vh,120px);width:min(620px,58vw);opacity:0;transform:translateY(18px);transition:opacity .55s ease,transform .55s ease;pointer-events:none;text-shadow:0 2px 14px rgba(0,0,0,.72)}
.mm-pause-overlay.show-info .mm-pause-info{opacity:1;transform:translateY(0)}
.mm-pause-overlay.show-info .mm-center-play{left:auto;right:clamp(28px,6vw,90px);top:50%;transform:translateY(-50%) scale(.9);width:72px;height:72px;font-size:26px}
.mm-pause-overlay.show-info .mm-center-play:hover{transform:translateY(-50%) scale(1)}
.mm-pause-kicker{display:block;margin-bottom:8px;color:var(--accent,#b9ff32);font-size:11px;font-weight:900;letter-spacing:.18em}
.mm-pause-info h1{margin:0;font-size:clamp(30px,4.5vw,64px);line-height:.98;letter-spacing:-.045em}
.mm-pause-info h2{margin:10px 0 0;font-size:clamp(16px,2vw,24px);line-height:1.2;color:#e3e7ed}
.mm-pause-info p{margin:18px 0 0;max-width:58ch;font-size:clamp(14px,1.35vw,18px);line-height:1.55;color:#e1e4e9;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:700px){
  .mm-center-play{width:70px;height:70px;font-size:25px}
  .mm-pause-info{left:18px;right:18px;bottom:72px;width:auto}
  .mm-pause-info h1{font-size:34px}
  .mm-pause-info h2{font-size:16px}
  .mm-pause-info p{font-size:14px;-webkit-line-clamp:3}
  .mm-pause-overlay.show-info{align-items:flex-end;justify-content:flex-start;background:linear-gradient(0deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.22) 68%,rgba(0,0,0,.04) 100%)}
  .mm-pause-overlay.show-info .mm-center-play{left:50%;right:auto;top:46%;transform:translate(-50%,-50%) scale(.9);width:64px;height:64px;font-size:23px}
  .mm-pause-overlay.show-info .mm-center-play:hover{transform:translate(-50%,-50%) scale(1)}
}

/* V3.0 — clean paused overlay: centered left copy + hover-reveal play */
.mm-pause-overlay{
  align-items:center;
  justify-content:flex-start;
  background:linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.24) 44%,rgba(0,0,0,.04) 76%);
}
.mm-pause-overlay.initial{background:rgba(0,0,0,.06)}
.mm-pause-info{
  left:clamp(30px,6vw,92px);
  top:50%;
  bottom:auto;
  width:min(540px,42vw);
  transform:translateY(calc(-50% + 14px));
  text-align:center;
}
.mm-pause-overlay.show-info .mm-pause-info{
  transform:translateY(-50%);
}
.mm-pause-info h1{margin:0 auto;font-size:clamp(34px,4.3vw,62px)}
.mm-pause-info h2{margin:10px auto 0}
.mm-pause-info p{margin:18px auto 0;max-width:46ch}
.mm-pause-kicker{margin-bottom:9px}

/* Play always remains dead-center; visibility changes only by opacity. */
.mm-center-play{
  left:50%!important;
  right:auto!important;
  top:50%!important;
  transform:translate(-50%,-50%) scale(.94)!important;
  width:82px;
  height:82px;
  font-size:29px;
  opacity:0;
  visibility:hidden;
  transition:opacity .28s ease,visibility .28s ease,transform .18s ease,background .18s ease;
}
.mm-pause-overlay.show-play .mm-center-play{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,-50%) scale(1)!important;
}
.mm-pause-overlay.show-play .mm-center-play:hover{
  transform:translate(-50%,-50%) scale(1.07)!important;
}
/* Override V2.9's rule that moved the button to the right after info appeared. */
.mm-pause-overlay.show-info .mm-center-play{
  left:50%!important;
  right:auto!important;
  top:50%!important;
  transform:translate(-50%,-50%) scale(.94)!important;
}
.mm-pause-overlay.show-info.show-play .mm-center-play{
  transform:translate(-50%,-50%) scale(1)!important;
}
.mm-pause-overlay.show-info.show-play .mm-center-play:hover{
  transform:translate(-50%,-50%) scale(1.07)!important;
}

@media(max-width:700px){
  .mm-pause-info{
    left:20px;
    right:auto;
    top:50%;
    bottom:auto;
    width:min(72vw,390px);
    transform:translateY(calc(-50% + 10px));
    text-align:left;
  }
  .mm-pause-overlay.show-info{
    align-items:center;
    justify-content:flex-start;
    background:linear-gradient(90deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.30) 68%,rgba(0,0,0,.05) 100%);
  }
  .mm-pause-overlay.show-info .mm-pause-info{transform:translateY(-50%)}
  .mm-pause-info h1,.mm-pause-info h2,.mm-pause-info p{margin-left:0;margin-right:0}
  .mm-pause-info h1{font-size:32px}
  .mm-pause-info p{font-size:13px;max-width:34ch}
  .mm-center-play{width:66px;height:66px;font-size:23px}
}

/* V3.1 — hug paused title/description to the left */
.mm-pause-info{
  left:clamp(18px,3vw,44px);
  width:min(560px,40vw);
  text-align:left;
}
.mm-pause-info h1,
.mm-pause-info h2,
.mm-pause-info p{
  margin-left:0;
  margin-right:0;
  text-align:left;
}
.mm-pause-info p{max-width:44ch}
@media(max-width:700px){
  .mm-pause-info{left:14px;width:min(78vw,390px)}
}


/* V3.3 — reliable click-anywhere playback surface.
   Leaves the native control strip clickable while avoiding the browser's
   built-in video-click action firing a second time. */
.mm-video-click-layer{
  position:absolute;
  z-index:2;
  left:0;
  right:0;
  top:0;
  bottom:56px;
  border:0;
  padding:0;
  margin:0;
  background:transparent;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
}
.mm-video-click-layer:focus{outline:none}
.mm-pause-overlay{z-index:3}
.mm-center-play{z-index:4}
@media(max-width:700px){
  .mm-video-click-layer{bottom:48px}
}

/* V3.4 — keep native browser controls fully in front/clickable.
   The click-anywhere surface covers only the picture area, never the
   timeline / volume / fullscreen / overflow controls at the bottom. */
.mm-video-click-layer{
  z-index:2;
  bottom:88px;
}
.mm-pause-overlay{
  z-index:3;
  pointer-events:none;
}
.mm-center-play{
  z-index:4;
  pointer-events:auto;
}
@media(max-width:700px){
  .mm-video-click-layer{bottom:72px}
}

/* V3.5 — small-screen tap-only library cards.
   On phones/small tablets, the whole poster/artwork is the control.
   Hide play/favorite/add overlays so cards stay clean and touch-friendly. */
@media (max-width: 700px){
  .poster-card .card-hover,
  .poster-card .round-play,
  .poster-card .hover-actions,
  .poster-card .mini,
  .continue-card .continue-play{
    display:none !important;
    opacity:0 !important;
    pointer-events:none !important;
  }

  .poster-card .poster,
  .continue-card .continue-art{
    cursor:pointer;
  }

  .poster-card:hover .poster{
    transform:none;
    box-shadow:0 12px 32px #0008;
  }
}


/* V4.1 — laptop/desktop navigation shell */
.desktop-side-only{display:none!important}
@media (min-width: 900px){
  :root{--desktop-sidebar:184px;--desktop-topbar:72px}
  body{padding-left:var(--desktop-sidebar)}
  .consumer-bar{
    position:sticky!important;top:0!important;left:auto!important;right:0!important;
    height:var(--desktop-topbar)!important;z-index:80!important;
    padding:0 26px!important;display:flex!important;align-items:center!important;
    justify-content:center!important;background:#07090df4!important;
  }
  .consumer-bar .brand{
    position:absolute!important;left:50%!important;top:50%!important;
    transform:translate(-50%,-50%)!important;margin:0!important;
    font-size:22px!important;z-index:3!important;
  }
  .consumer-bar .consumer-search,
  .consumer-bar .desktop-search{
    display:block!important;position:absolute!important;left:26px!important;top:50%!important;
    transform:translateY(-50%)!important;margin:0!important;z-index:3!important;
  }
  .consumer-bar .consumer-search input{width:min(360px,30vw)!important;height:42px!important;border-radius:9px!important;padding-left:36px!important}
  .consumer-bar .search-mark{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#87909e}
  .consumer-bar .top-actions{position:absolute!important;right:24px!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important;z-index:4!important}
  .consumer-bar .heart-link{display:none!important}
  .consumer-bar .mobile-menu-btn{display:none!important}
  .consumer-nav{
    position:fixed!important;left:0!important;top:0!important;bottom:0!important;
    width:var(--desktop-sidebar)!important;height:100vh!important;
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    gap:3px!important;padding:30px 14px!important;margin:0!important;
    background:#080b10!important;border-right:1px solid #ffffff10!important;
    z-index:90!important;overflow-y:auto!important;
  }
  .consumer-nav:before{content:'LIBRARY';display:block;color:#5f6977;font-size:10px;font-weight:800;letter-spacing:1.5px;padding:4px 12px 10px}
  .consumer-nav a{display:flex!important;align-items:center!important;min-height:42px!important;padding:0 12px!important;border-radius:9px!important;font-size:13px!important;color:#9ba5b3!important;background:transparent!important}
  .consumer-nav a:hover,.consumer-nav a.active{color:#fff!important;background:#ffffff0b!important}
  .consumer-nav a.active:after{display:none!important}
  .consumer-nav a:nth-last-child(2){margin-top:10px!important}
  .consumer-nav .mobile-menu-search{display:none!important}
  .desktop-side-only{display:flex!important}
  .consumer-main,.movie-detail-main,.consumer-show-main,.settings-main{width:100%;max-width:none}
  .settings-bar .top-actions .profile-btn{display:grid!important}
}
@media (max-width:899px){
  body{padding-left:0!important}
  .desktop-search{display:none!important}
  .desktop-side-only{display:none!important}
}

/* V4.4 — real desktop sidebar lane fix
   Because the nav lives inside the sticky header, browsers can position the fixed
   nav relative to that padded content area. Pull it back into the reserved lane. */
@media (min-width: 900px){
  :root{--desktop-sidebar:200px;--desktop-topbar:72px;}

  body{
    padding-left:var(--desktop-sidebar) !important;
    overflow-x:hidden !important;
  }

  .consumer-bar{
    width:calc(100vw - var(--desktop-sidebar)) !important;
    margin-left:0 !important;
  }

  .consumer-nav{
    left:calc(-1 * var(--desktop-sidebar)) !important;
    width:var(--desktop-sidebar) !important;
    padding:calc(var(--desktop-topbar) + 26px) 14px 28px !important;
  }

  .consumer-main,
  .movie-detail-main,
  .consumer-show-main{
    width:100% !important;
    max-width:none !important;
    overflow:hidden !important;
  }

  .hero,
  .consumer-hero,
  .movie-detail-hero,
  .consumer-show-hero{
    margin-left:-28px !important;
    margin-right:-28px !important;
  }

  .hero-copy,
  .consumer-hero-copy,
  .movie-detail-content,
  .consumer-show-info{
    padding-left:clamp(42px,5vw,82px) !important;
  }

  .show-info.consumer-show-info,
  .movie-detail-content{
    max-width:none !important;
  }

  .consumer-bar .consumer-search,
  .consumer-bar .desktop-search{
    left:24px !important;
  }

  .consumer-bar .brand{
    left:50% !important;
  }

  .consumer-bar .top-actions{
    right:24px !important;
  }
}

@media (min-width: 900px) and (max-width: 1180px){
  :root{--desktop-sidebar:188px;}
  .consumer-bar .consumer-search input{width:min(300px,28vw) !important;}
  .hero h1,.show-copy h1,.movie-detail-copy h1{font-size:clamp(44px,6vw,76px) !important;letter-spacing:-3px !important;}
}

/* V4.5 — desktop/laptop top bar + sidebar cleanup */
@media (min-width:900px){
  /* Sidebar is navigation-only, so start it near the top instead of vertically centering it. */
  .consumer-nav{
    justify-content:flex-start!important;
    padding:26px 14px 28px!important;
  }
  .consumer-nav:before{
    padding:2px 12px 10px!important;
    margin:0!important;
  }

  /* Let the search form position relative to the full header, not the right-side action wrapper. */
  .consumer-bar .top-actions{
    position:static!important;
    right:auto!important;
    top:auto!important;
    transform:none!important;
    margin:0!important;
  }
  .consumer-bar .consumer-search,
  .consumer-bar .desktop-search{
    display:flex!important;
    align-items:center!important;
    position:absolute!important;
    left:28px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    margin:0!important;
    width:min(360px,31vw)!important;
    z-index:5!important;
  }
  .consumer-bar .consumer-search input,
  .consumer-bar .desktop-search input{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    height:42px!important;
  }
  .consumer-bar .search-mark{
    display:block!important;
    position:absolute!important;
    left:13px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    z-index:2!important;
    pointer-events:none!important;
  }

  /* Keep branding perfectly centered in the usable content lane. */
  .consumer-bar .brand{
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
  }

  /* Pull the user button safely away from the browser scrollbar. */
  .consumer-bar .profile-btn{
    display:grid!important;
    position:absolute!important;
    right:30px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    margin:0!important;
    z-index:6!important;
  }
}

@media (min-width:900px) and (max-width:1180px){
  .consumer-bar .consumer-search,
  .consumer-bar .desktop-search{width:min(275px,28vw)!important;}
  .consumer-bar .profile-btn{right:22px!important;}
}

/* V4.6 — watch page shell + custom player repair */
.mm-player-page{background:#05070a!important;color:#f7f8fa!important;min-height:100vh!important;overflow-x:hidden!important}
.mm-player-page .mm-player-shell{width:100%!important;min-height:calc(100vh - 72px)!important;background:#05070a!important}
.mm-player-page .mm-player-top{height:68px!important;padding:0 clamp(18px,3vw,42px)!important;display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:18px!important;background:#0a0d12!important;border-bottom:1px solid rgba(255,255,255,.08)!important;position:relative!important;z-index:12!important}
.mm-player-page .mm-player-back,.mm-player-page .mm-next-top{color:#c7cbd3!important;text-decoration:none!important;font-weight:800!important}
.mm-player-page .mm-next-top{justify-self:end!important}
.mm-player-page .mm-player-heading{text-align:center!important;min-width:0!important}
.mm-player-page .mm-player-heading strong,.mm-player-page .mm-player-heading span{display:block!important}
.mm-player-page .mm-player-heading strong{font-size:16px!important;color:#fff!important}
.mm-player-page .mm-player-heading span{font-size:12px!important;color:#969daa!important;margin-top:3px!important}

.mm-player-page .mm-video-stage{position:relative!important;width:100%!important;aspect-ratio:16/9!important;max-height:calc(100vh - 140px)!important;min-height:0!important;background:#000!important;overflow:hidden!important;display:block!important}
.mm-player-page .mm-video-stage video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;background:#000!important;display:block!important}
.mm-player-page .mm-video-click-layer{position:absolute!important;inset:0!important;bottom:74px!important;z-index:5!important;background:transparent!important;border:0!important;cursor:pointer!important}
.mm-player-page .mm-pause-overlay{position:absolute!important;inset:0!important;z-index:6!important;pointer-events:none!important}
.mm-player-page .mm-center-play{pointer-events:auto!important;z-index:7!important}

.mm-player-page .mm-custom-controls{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:20!important;padding:28px 24px 18px!important;background:linear-gradient(0deg,rgba(0,0,0,.94) 0%,rgba(0,0,0,.72) 48%,rgba(0,0,0,0) 100%)!important;opacity:0!important;transform:translateY(8px)!important;pointer-events:none!important;transition:opacity .2s ease,transform .2s ease!important}
.mm-player-page .mm-custom-controls.visible{opacity:1!important;transform:none!important;pointer-events:auto!important}
.mm-player-page .mm-seek{width:100%!important;margin:0 0 10px!important}
.mm-player-page .mm-seek input{width:100%!important;height:4px!important;margin:0!important;accent-color:#b9ff32!important;cursor:pointer!important}
.mm-player-page .mm-control-row{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;min-width:0!important}
.mm-player-page .mm-control-row button,.mm-player-page .mm-control-link{height:38px!important;min-width:38px!important;padding:0 10px!important;border:0!important;border-radius:9px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font:800 14px/1 system-ui,-apple-system,Segoe UI,sans-serif!important;cursor:pointer!important;transition:background .15s ease,transform .15s ease!important}
.mm-player-page .mm-control-row button:hover,.mm-player-page .mm-control-link:hover{background:rgba(255,255,255,.16)!important;transform:translateY(-1px)!important}
.mm-player-page .mm-control-row button small{font-size:9px!important;margin-left:1px!important}
.mm-player-page .mm-volume{width:90px!important;accent-color:#b9ff32!important;cursor:pointer!important}
.mm-player-page .mm-time{font-size:13px!important;color:#e8ebef!important;white-space:nowrap!important;margin-left:4px!important}
.mm-player-page .mm-control-spacer{flex:1 1 auto!important}
.mm-player-page .mm-quality{min-width:58px!important;color:#dfe4eb!important}
.mm-player-page .mm-cc:disabled{opacity:.35!important;cursor:default!important}

/* Preserve the clean pause overlay requested earlier. */
.mm-player-page .mm-pause-info{left:clamp(18px,3vw,44px)!important;top:50%!important;bottom:auto!important;width:min(560px,40vw)!important;text-align:left!important;transform:translateY(calc(-50% + 14px))!important}
.mm-player-page .mm-pause-overlay.show-info .mm-pause-info{transform:translateY(-50%)!important}
.mm-player-page .mm-pause-info h1,.mm-player-page .mm-pause-info h2,.mm-player-page .mm-pause-info p{margin-left:0!important;margin-right:0!important;text-align:left!important}
.mm-player-page .mm-pause-info p{max-width:44ch!important}
.mm-player-page .mm-center-play{left:50%!important;right:auto!important;top:50%!important;transform:translate(-50%,-50%) scale(.94)!important}
.mm-player-page .mm-pause-overlay.show-info .mm-center-play{left:50%!important;right:auto!important;top:50%!important;transform:translate(-50%,-50%) scale(.94)!important}
.mm-player-page .mm-pause-overlay.show-play .mm-center-play,.mm-player-page .mm-pause-overlay.show-info.show-play .mm-center-play{transform:translate(-50%,-50%) scale(1)!important}

@media(min-width:900px){
  .mm-player-page .mm-player-shell{width:100%!important}
  .mm-player-page .consumer-nav{left:calc(-1 * var(--desktop-sidebar))!important}
  .mm-player-page .mm-video-stage:fullscreen{width:100vw!important;height:100vh!important;max-height:none!important;aspect-ratio:auto!important}
  .mm-player-page .mm-video-stage:fullscreen video{width:100%!important;height:100%!important}
}

@media(max-width:899px){
  .mm-player-page .mm-player-top{height:60px!important;grid-template-columns:auto 1fr auto!important;padding:0 12px!important}
  .mm-player-page .mm-player-back span{display:none!important}
  .mm-player-page .mm-player-heading{text-align:left!important}
  .mm-player-page .mm-player-heading strong{font-size:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:50vw!important}
  .mm-player-page .mm-player-heading span{font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:50vw!important}
  .mm-player-page .mm-video-stage{aspect-ratio:16/9!important;max-height:none!important}
  .mm-player-page .mm-custom-controls{padding:24px 10px 10px!important}
  .mm-player-page .mm-control-row{gap:4px!important}
  .mm-player-page .mm-control-row button,.mm-player-page .mm-control-link{height:34px!important;min-width:34px!important;padding:0 7px!important;font-size:12px!important}
  .mm-player-page .mm-volume{display:none!important}
  .mm-player-page .mm-time{font-size:11px!important}
  .mm-player-page .mm-pause-info{left:14px!important;width:min(78vw,390px)!important}
  .mm-player-page .mm-video-click-layer{bottom:62px!important}
}

/* V4.7 — account, admin placement, in-player episode drawer */
@media(min-width:900px){
  .consumer-nav .admin-link{margin-top:auto!important;border-top:1px solid rgba(255,255,255,.08)!important;border-radius:0!important;padding-top:12px!important}
}
.consumer-bar .profile-btn{font-size:11px!important;letter-spacing:.3px!important}
.account-active{box-shadow:0 0 0 2px rgba(185,255,50,.28)!important}

.account-main{max-width:980px;margin:0 auto;padding:48px 28px 80px}
.account-hero-card,.account-card{background:#0d1118;border:1px solid rgba(255,255,255,.09);border-radius:20px;padding:26px}
.account-hero-card{display:flex;align-items:center;gap:20px;margin-bottom:18px}
.account-avatar{width:74px;height:74px;border-radius:50%;display:grid;place-items:center;background:#b9ff32;color:#0b0d08;font-size:24px;font-weight:950}
.account-hero-card h1,.account-card h1{margin:3px 0;font-size:clamp(34px,5vw,56px)}
.account-hero-card p,.account-card p{color:#9fa8b5;line-height:1.6}
.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.account-card h2{margin:0 0 16px;font-size:24px}
.account-form{display:flex;flex-direction:column;gap:14px}
.account-form label{display:flex;flex-direction:column;gap:7px;color:#c8cdd5;font-size:12px;font-weight:800}
.account-form input{height:46px;border-radius:10px;border:1px solid rgba(255,255,255,.13);background:#070a0f;color:#fff;padding:0 13px;outline:none}
.account-form input:focus{border-color:rgba(185,255,50,.5)}
.account-primary{border:0;border-radius:10px;padding:12px 15px;background:#b9ff32;color:#090b08;font-weight:900;cursor:pointer}
.danger-soft{background:#ffffff12;color:#fff}
.account-error{margin-top:15px;padding:11px 13px;border-radius:10px;background:#ff5e6818;border:1px solid #ff5e683d;color:#ffb9be}
.admin-intro{margin-top:-3px!important}.admin-subsection{margin-top:26px}.admin-subsection h2{margin:5px 0 0}

.mm-episodes-toggle{background:transparent;border:0;cursor:pointer;font:inherit}
.mm-episode-drawer{position:fixed;top:0;right:0;width:min(430px,92vw);height:100vh;background:#090c11;border-left:1px solid rgba(255,255,255,.1);z-index:160;transform:translateX(102%);transition:transform .25s ease;display:flex;flex-direction:column;box-shadow:-24px 0 60px #0009}
.mm-episode-drawer.open{transform:none}
.mm-drawer-scrim{position:fixed;inset:0;background:#0009;border:0;z-index:150;opacity:0;pointer-events:none;transition:opacity .2s}
.mm-drawer-scrim.open{opacity:1;pointer-events:auto}
.mm-episode-drawer-head{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid rgba(255,255,255,.08)}
.mm-episode-drawer-head div{display:flex;flex-direction:column;gap:3px}.mm-episode-drawer-head span{font-size:11px;color:#8c95a3;text-transform:uppercase;letter-spacing:1.3px;font-weight:900}.mm-episode-drawer-head strong{font-size:18px}.mm-episode-drawer-head button{width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.13);background:#ffffff0b;color:#fff;font-size:24px;cursor:pointer}
.mm-season-tabs{display:flex;gap:8px;overflow:auto;padding:13px 15px;border-bottom:1px solid rgba(255,255,255,.07);scrollbar-width:none}.mm-season-tabs::-webkit-scrollbar{display:none}.mm-season-tab{border:1px solid rgba(255,255,255,.1);background:#ffffff08;color:#9fa7b3;border-radius:999px;padding:8px 12px;white-space:nowrap;font-weight:800;cursor:pointer}.mm-season-tab.active{background:#b9ff32;color:#080a08;border-color:#b9ff32}
.mm-drawer-seasons{overflow-y:auto;padding:12px;flex:1}.mm-drawer-season{display:none}.mm-drawer-season.active{display:block}
.mm-drawer-episode{display:grid;grid-template-columns:128px 1fr;gap:12px;padding:9px;border-radius:12px;color:#fff;text-decoration:none;border:1px solid transparent}.mm-drawer-episode:hover{background:#ffffff09}.mm-drawer-episode.current{background:#b9ff320c;border-color:#b9ff3230}
.mm-drawer-thumb{height:72px;border-radius:8px;background:#171c25 center/cover no-repeat;position:relative;overflow:hidden}.mm-drawer-thumb>span{position:absolute;left:7px;top:7px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#000b;font-size:11px;font-weight:900}.mm-drawer-thumb>i{position:absolute;left:0;bottom:0;height:3px;background:#b9ff32}.mm-drawer-episode>div:last-child{display:flex;flex-direction:column;justify-content:center;min-width:0}.mm-drawer-episode strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mm-drawer-episode div:last-child span{font-size:11px;color:#8e97a5;margin-top:5px}
@media(max-width:899px){.account-main{padding:24px 14px 85px}.account-grid{grid-template-columns:1fr}.mm-episode-drawer{width:min(390px,96vw)}}


/* V4.10 — Near-black Movie Media canvas
   Color-only adjustment. Does not alter layout, cards, buttons, player, or artwork. */
@media (min-width: 900px) {
    .consumer-shell,
    .consumer-main {
        background-color: #05070a;
    }

    .consumer-sidebar {
        background-color: #07090d;
    }
}

/* Home hero edge blend matched to the new near-black canvas. */
.consumer-main > .consumer-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            #05070a 0%,
            rgba(5,7,10,.72) 2.5%,
            rgba(5,7,10,.20) 7%,
            transparent 13%,
            transparent 84%,
            rgba(5,7,10,.16) 91%,
            rgba(5,7,10,.70) 97%,
            #05070a 100%),
        linear-gradient(0deg,
            #05070a 0%,
            rgba(5,7,10,.74) 4%,
            rgba(5,7,10,.18) 11%,
            transparent 19%,
            transparent 90%,
            rgba(5,7,10,.16) 96%,
            #05070a 100%);
}
.consumer-main > .consumer-hero .hero-copy {
    z-index: 2;
}


/* V4.11 — Trailers & Extras dropdown control polish
   Position/layout unchanged; visual treatment only. */
.watch-more-chevron{
    width:38px !important;
    height:38px !important;
    border-radius:50% !important;
    border:1px solid rgba(255,255,255,.14) !important;
    background:rgba(255,255,255,.045) !important;
    color:#dfe3e8 !important;
    display:grid !important;
    place-items:center !important;
    font-size:20px !important;
    line-height:1 !important;
    font-weight:700 !important;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.015),
        0 4px 14px rgba(0,0,0,.22) !important;
    transition:
        transform .20s ease,
        background .20s ease,
        border-color .20s ease,
        color .20s ease,
        box-shadow .20s ease !important;
}

.show-watch-more>summary:hover .watch-more-chevron{
    background:rgba(184,255,38,.10) !important;
    border-color:rgba(184,255,38,.46) !important;
    color:#b8ff26 !important;
    box-shadow:0 0 0 3px rgba(184,255,38,.06) !important;
}

.show-watch-more>summary:active .watch-more-chevron{
    transform:scale(.94) !important;
}

.show-watch-more[open] .watch-more-chevron{
    transform:rotate(180deg) !important;
    background:rgba(184,255,38,.09) !important;
    border-color:rgba(184,255,38,.38) !important;
    color:#b8ff26 !important;
}

.show-watch-more[open]>summary:active .watch-more-chevron{
    transform:rotate(180deg) scale(.94) !important;
}


/* V4.12 — Simple Trailers & Extras chevron
   Keep the control in the same position; remove the circular button treatment. */
.watch-more-chevron{
    width:auto !important;
    height:auto !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:#f3f5f7 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:34px !important;
    line-height:1 !important;
    font-weight:500 !important;
    padding:4px 6px !important;
    opacity:.92 !important;
    transition:transform .18s ease, color .18s ease, opacity .18s ease !important;
}

.show-watch-more>summary:hover .watch-more-chevron{
    background:transparent !important;
    border-color:transparent !important;
    box-shadow:none !important;
    color:#b8ff26 !important;
    opacity:1 !important;
}

.show-watch-more>summary:active .watch-more-chevron{
    transform:scale(.92) !important;
}

.show-watch-more[open] .watch-more-chevron{
    background:transparent !important;
    border-color:transparent !important;
    box-shadow:none !important;
    color:#f3f5f7 !important;
    transform:rotate(180deg) !important;
}

.show-watch-more[open]>summary:hover .watch-more-chevron{
    color:#b8ff26 !important;
}

.show-watch-more[open]>summary:active .watch-more-chevron{
    transform:rotate(180deg) scale(.92) !important;
}

/* HAMMAH V5.1 — exact wordmark markup */
.brand.hammah-logo {
    display:inline-flex;
    align-items:center;
    white-space:nowrap;
    text-decoration:none;
    font-size:28px;
    font-weight:950;
    letter-spacing:-1.8px;
    line-height:1;
    color:#f7f7f7;
}
.brand.hammah-logo .hammah-mm { color:#b8ff26; }
@media (max-width: 700px) {
    .brand.hammah-logo { font-size:24px; letter-spacing:-1.5px; }
}


/* HAMMAH V5.2 — exact wordmark colors */
.brand.hammah-logo,
.brand.hammah-logo:link,
.brand.hammah-logo:visited {
    color:#f7f7f7 !important;
}
.brand.hammah-logo .hammah-white {
    color:#f7f7f7 !important;
}
.brand.hammah-logo .hammah-mm {
    color:#b8ff26 !important;
}

/* HAMMAH V5.2 — smooth rotating featured hero */
.rotating-hero {
    position:relative;
    overflow:hidden;
    background:#05070a;
}
.rotating-hero .hero-slides {
    position:absolute;
    inset:0;
}
.rotating-hero .hero-slide {
    position:absolute;
    inset:0;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    background-image:var(--hero-image);
    background-size:cover;
    background-position:center;
    transition:opacity 1.25s ease, visibility 1.25s ease;
    will-change:opacity;
}
.rotating-hero .hero-slide.active {
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    z-index:1;
}
.rotating-hero .hero-slide .hero-shade {
    position:absolute;
    inset:0;
}
.rotating-hero .hero-slide .hero-copy {
    position:relative;
    z-index:3;
}

/* Blend each rotating backdrop into the same near-black canvas. */
.rotating-hero .hero-slide::after {
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
    background:
        linear-gradient(90deg,
            #05070a 0%,
            rgba(5,7,10,.72) 2.5%,
            rgba(5,7,10,.20) 7%,
            transparent 13%,
            transparent 84%,
            rgba(5,7,10,.16) 91%,
            rgba(5,7,10,.70) 97%,
            #05070a 100%),
        linear-gradient(0deg,
            #05070a 0%,
            rgba(5,7,10,.74) 4%,
            rgba(5,7,10,.18) 11%,
            transparent 19%,
            transparent 90%,
            rgba(5,7,10,.16) 96%,
            #05070a 100%);
}

/* Disable the older single-hero overlay on the rotating wrapper itself. */
.consumer-main > .rotating-hero::after {
    content:none !important;
}

@media (prefers-reduced-motion: reduce) {
    .rotating-hero .hero-slide {
        transition:none;
    }
}


/* HAMMAH V5.2.2 — consistent logo colors in detail + player modes.
   Existing pages may use plain .brand text instead of the split home markup. */
body:not(.consumer-home) .brand,
.watch-page .brand,
.detail-page .brand {
    color:#f7f7f7 !important;
}

/* When HAMMAH is split into spans, ONLY the middle MM is lime. */
.hammah-logo .hammah-white,
.hammah-wordmark .ha-white {
    color:#f7f7f7 !important;
}
.hammah-logo .hammah-mm,
.hammah-wordmark .mm-green {
    color:#b8ff26 !important;
}

/* Paused info readability: localized left-side cinematic fade only.
   This does not cover the controls and is invisible until the info overlay appears. */
.player-info,
.watch-info,
.pause-info,
.video-info-overlay {
    position:relative;
    isolation:isolate;
}
.player-info::before,
.watch-info::before,
.pause-info::before,
.video-info-overlay::before {
    content:"";
    position:absolute;
    z-index:-1;
    pointer-events:none;
    left:-32px;
    top:-34px;
    width:min(760px, 72vw);
    height:calc(100% + 68px);
    background:
      radial-gradient(ellipse at 18% 50%,
        rgba(0,0,0,.84) 0%,
        rgba(0,0,0,.70) 36%,
        rgba(0,0,0,.38) 62%,
        rgba(0,0,0,0) 100%);
    filter:blur(.2px);
}


/* HAMMAH V5.3 — account profile dashboard */
.profile-stat-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:18px 0;
}
.profile-stat{
  min-height:118px;
  padding:22px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(255,255,255,.035);
  color:#fff;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:7px;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
a.profile-stat:hover{
  transform:translateY(-2px);
  border-color:rgba(184,255,38,.30);
  background:rgba(184,255,38,.055);
}
.profile-stat strong{font-size:30px;line-height:1;color:#b8ff26}
.profile-stat span{font-size:13px;color:#aeb5bf;font-weight:700}
.profile-actions{display:flex;align-items:center;justify-content:space-between;gap:24px}
.profile-actions p{margin-bottom:0}
@media(max-width:760px){
  .profile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .profile-stat{min-height:94px;padding:16px}
  .profile-stat strong{font-size:25px}
  .profile-actions{align-items:stretch;flex-direction:column}
}


/* HAMMAH V5.4 — Admin playback permissions */
.admin-users-panel{
  margin:28px 0 40px;
  padding:22px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(255,255,255,.028);
}
.admin-users-panel h2{margin:4px 0 8px}
.admin-users-panel .muted{color:#9ca4ae;max-width:760px}
.admin-user-list{display:grid;gap:10px;margin-top:18px}
.admin-user-row{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px 16px;border:1px solid rgba(255,255,255,.07);
  border-radius:12px;background:rgba(255,255,255,.025)
}
.admin-user-info{display:flex;flex-direction:column;gap:3px}
.admin-user-info span{font-size:12px;color:#8e97a3}
.role-select{
  min-width:130px;background:#0c1015;color:#fff;border:1px solid rgba(255,255,255,.12);
  border-radius:10px;padding:9px 12px;font-weight:700
}
.role-badge{
  display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;
  font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em
}
.role-badge.admin{background:rgba(184,255,38,.13);color:#b8ff26;border:1px solid rgba(184,255,38,.28)}
.role-badge.premium{background:rgba(184,255,38,.11);color:#b8ff26}
.role-badge.viewer{background:rgba(255,255,255,.07);color:#aeb5bf}
.premium-lock-page{
  min-height:100vh;background:#05070a;color:#fff;display:grid;place-items:center;padding:28px
}
.premium-lock-logo{position:absolute;top:24px;left:50%;transform:translateX(-50%);text-decoration:none}
.premium-lock-card{
  width:min(620px,100%);padding:34px;border:1px solid rgba(255,255,255,.08);
  border-radius:18px;background:rgba(255,255,255,.03);box-shadow:0 24px 70px rgba(0,0,0,.35)
}
.premium-lock-card h1{font-size:clamp(30px,5vw,52px);margin:8px 0 12px}
.premium-lock-card p{color:#b2bac4;line-height:1.65;margin-bottom:22px}


/* HAMMAH V5.4.2 — Admin Premium playback toggle */
.admin-role-stack{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.premium-switch{
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  user-select:none;
}
.premium-switch input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.premium-switch-track{
  width:42px;
  height:24px;
  border-radius:999px;
  background:#242a31;
  border:1px solid rgba(255,255,255,.10);
  padding:2px;
  transition:.18s ease;
}
.premium-switch-knob{
  display:block;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#aab1ba;
  transition:transform .18s ease, background .18s ease;
}
.premium-switch input:checked + .premium-switch-track{
  background:rgba(184,255,38,.16);
  border-color:rgba(184,255,38,.42);
}
.premium-switch input:checked + .premium-switch-track .premium-switch-knob{
  transform:translateX(18px);
  background:#b8ff26;
}
.premium-switch-label{
  font-size:12px;
  color:#aeb5bf;
  font-weight:800;
}


/* HAMMAH V5.4.3 — Admin account manager */
.admin-account-count{
  margin:16px 0 8px;
  color:#b8ff26;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.admin-user-row{
  min-height:70px;
}
.admin-user-role{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.role-select{
  cursor:pointer;
}


/* HAMMAH V5.5 — Profile cleanup + TMDB request system */
.profile-hero-clean{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.profile-identity{display:flex;align-items:center;gap:26px;min-width:0}
.profile-signout{margin-left:auto;flex:0 0 auto}
.requests-main{
  margin-left:200px;
  padding:116px 40px 60px;
  min-height:100vh;
  background:#05070a;
  color:#fff;
}
.requests-main>section{max-width:1100px;margin-left:auto;margin-right:auto}
.requests-header h1{font-size:clamp(34px,5vw,62px);margin:6px 0 8px}
.requests-header p{color:#aeb5bf;margin:0 0 22px}
.request-search{display:flex;gap:10px;max-width:720px}
.request-search input{
  flex:1;min-width:0;background:#0b0f14;color:#fff;border:1px solid rgba(255,255,255,.10);
  border-radius:12px;padding:14px 16px;font-size:16px
}
.request-search button,.request-result-body button{
  border:0;border-radius:10px;background:#b8ff26;color:#05070a;font-weight:900;padding:12px 18px;cursor:pointer
}
.request-result-body button:disabled{background:#232931;color:#8f98a3;cursor:default}
.request-results-section,.my-requests-section{margin-top:34px}
.request-results-section h2,.my-requests-section h2{margin-bottom:14px}
.request-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.request-result-card{
  overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:#0c1015
}
.request-result-poster{aspect-ratio:2/3;background:#090c10;overflow:hidden}
.request-result-poster img{width:100%;height:100%;object-fit:cover;display:block}
.request-no-poster{height:100%;display:grid;place-items:center;color:#6f7883}
.request-result-body{padding:14px;display:flex;flex-direction:column;gap:7px}
.request-result-body strong{font-size:17px}
.request-result-body>span{font-size:12px;color:#9099a5}
.request-result-body p{font-size:13px;line-height:1.45;color:#b5bdc7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:56px}
.my-request-list,.admin-request-list{display:grid;gap:10px}
.my-request-row,.admin-request-row{
  display:flex;align-items:center;gap:14px;padding:12px 14px;border:1px solid rgba(255,255,255,.07);
  border-radius:12px;background:rgba(255,255,255,.025)
}
.request-poster-mini{width:54px;height:76px;border-radius:7px;overflow:hidden;background:#080b0f;flex:0 0 auto}
.request-poster-mini img{width:100%;height:100%;object-fit:cover}
.request-copy,.admin-request-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.request-copy span,.admin-request-copy span{font-size:12px;color:#8f99a5}
.request-status{
  padding:5px 9px;border-radius:999px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em
}
.status-requested{background:rgba(255,255,255,.07);color:#aeb6bf}
.status-approved{background:rgba(184,255,38,.10);color:#b8ff26}
.status-declined{background:rgba(255,90,90,.10);color:#ff7d7d}
.status-added{background:rgba(91,200,255,.11);color:#74d1ff}
.request-empty,.request-loading{
  padding:20px;border:1px dashed rgba(255,255,255,.10);border-radius:12px;color:#929ca8
}
.admin-requests-panel{margin-top:22px}
.request-status-select{
  min-width:124px;background:#0b1015;color:#fff;border:1px solid rgba(255,255,255,.12);
  border-radius:9px;padding:9px 10px;font-weight:800
}
@media(max-width:899px){
  .requests-main{margin-left:0;padding:92px 16px 40px}
  .request-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .profile-hero-clean{align-items:flex-start}
}
@media(max-width:600px){
  .profile-hero-clean{flex-direction:column}
  .profile-signout{margin-left:0;width:100%}
  .profile-signout button{width:100%}
  .profile-identity{gap:16px}
  .request-results-grid{grid-template-columns:1fr}
  .request-search{flex-direction:column}
  .admin-request-row,.my-request-row{align-items:flex-start}
}


/* HAMMAH V5.5.1 — Requests page shell repair */
.requests-main{
  margin-left:200px !important;
  padding:116px 40px 60px !important;
  min-height:100vh;
  background:#05070a !important;
}
@media (min-width:900px){
  body:has(.requests-main) .consumer-nav{
    position:fixed;
    left:0;
    top:0;
    bottom:0;
    width:200px;
    padding:74px 16px 68px;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    background:#07090d;
    border-right:1px solid rgba(255,255,255,.06);
    z-index:35;
  }
  body:has(.requests-main) .consumer-nav::before{
    content:"LIBRARY";
    display:block;
    margin:0 8px 10px;
    color:#718096;
    font-size:11px;
    font-weight:900;
    letter-spacing:.13em;
  }
  body:has(.requests-main) .consumer-nav a{
    display:block;
    color:#aeb8c5;
    text-decoration:none;
    font-size:14px;
    font-weight:800;
    padding:11px 12px;
    border-radius:10px;
  }
  body:has(.requests-main) .consumer-nav a:hover,
  body:has(.requests-main) .consumer-nav a.active{
    color:#fff;
    background:rgba(255,255,255,.055);
  }
  body:has(.requests-main) .mobile-menu-search{
    display:none;
  }
  body:has(.requests-main) .admin-link{
    margin-top:auto;
  }
}
@media(max-width:899px){
  .requests-main{margin-left:0 !important;padding:92px 16px 40px !important}
}


/* HAMMAH V5.6 — Unified Search + Request */
.unified-search-host{position:relative}
.unified-search-panel{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  width:min(620px,calc(100vw - 32px));
  max-height:min(72vh,680px);
  overflow:auto;
  z-index:120;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background:rgba(6,8,11,.985);
  box-shadow:0 22px 70px rgba(0,0,0,.58);
  padding:8px;
  backdrop-filter:blur(18px);
}
.unified-search-panel[hidden]{display:none!important}
.unified-search-section+.unified-search-section{
  border-top:1px solid rgba(255,255,255,.07);
  margin-top:7px;
  padding-top:7px;
}
.unified-search-heading{
  padding:9px 10px 7px;
  color:#7e8895;
  font-size:10px;
  line-height:1;
  font-weight:950;
  letter-spacing:.14em;
}
.unified-search-item{
  min-height:64px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:8px;
  border-radius:10px;
  color:#fff;
  text-decoration:none;
}
a.unified-search-item:hover,
.unified-search-item.discover-result:hover{background:rgba(255,255,255,.055)}
.unified-search-poster{
  width:36px;
  height:52px;
  border-radius:5px;
  overflow:hidden;
  background:#10151b;
  flex:0 0 auto;
}
.unified-search-poster img{width:100%;height:100%;object-fit:cover;display:block}
.unified-search-no-poster{
  width:100%;height:100%;display:grid;place-items:center;
  color:#b8ff26;font-size:17px;font-weight:950
}
.unified-search-copy{
  min-width:0;
  flex:1;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.unified-search-copy strong{
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:14px;
}
.unified-search-copy span{
  color:#89939f;
  font-size:11px;
}
.unified-search-action{
  color:#b8ff26;
  font-size:11px;
  font-weight:900;
}
.unified-request-btn{
  flex:0 0 auto;
  border:1px solid rgba(184,255,38,.32);
  border-radius:8px;
  background:rgba(184,255,38,.09);
  color:#b8ff26;
  padding:8px 10px;
  font:inherit;
  font-size:11px;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
}
.unified-request-btn:hover:not(:disabled){background:#b8ff26;color:#05070a}
.unified-request-btn:disabled{
  border-color:rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);
  color:#77818c;
  cursor:default;
}
.unified-request-btn.signin{color:#c7ced6;border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.04)}
.unified-search-loading,.unified-search-empty{
  padding:18px 14px;
  color:#8f99a5;
  font-size:13px;
}
@media(max-width:899px){
  .mobile-menu-search.unified-search-host{overflow:visible}
  .mobile-menu-search .unified-search-panel{
    position:fixed;
    left:12px;
    right:12px;
    top:74px;
    width:auto;
    max-height:calc(100vh - 92px);
  }
}


/* HAMMAH V5.7 — TV autoplay + next episode prompt */
.mm-autoplay-toggle{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#c5ccd4;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
}
.mm-autoplay-toggle input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.mm-autoplay-toggle i{
  width:34px;
  height:19px;
  padding:2px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.10);
  transition:.18s ease;
}
.mm-autoplay-toggle b{
  display:block;
  width:13px;
  height:13px;
  border-radius:50%;
  background:#aab2bc;
  transition:.18s ease;
}
.mm-autoplay-toggle input:checked+i{
  background:rgba(184,255,38,.18);
  border-color:rgba(184,255,38,.42);
}
.mm-autoplay-toggle input:checked+i b{
  transform:translateX(15px);
  background:#b8ff26;
}
.mm-next-overlay{
  position:absolute;
  inset:0;
  z-index:24;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:
    radial-gradient(circle at 50% 48%,rgba(5,7,10,.38),rgba(5,7,10,.84) 72%),
    linear-gradient(0deg,rgba(0,0,0,.58),rgba(0,0,0,.16));
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .28s ease,visibility .28s ease;
}
.mm-next-overlay.visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.mm-next-card{
  width:min(620px,92%);
  padding:28px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background:rgba(7,9,13,.88);
  box-shadow:0 24px 80px rgba(0,0,0,.48);
  backdrop-filter:blur(14px);
}
.mm-next-card h2{
  margin:7px 0 8px;
  color:#fff;
  font-size:clamp(24px,4vw,40px);
}
.mm-next-card p{color:#aab3bd;margin:0 0 20px}
.mm-next-actions{display:flex;gap:10px;flex-wrap:wrap}
.mm-next-actions button{
  border-radius:10px;
  padding:11px 15px;
  font-weight:900;
  cursor:pointer;
}
.mm-next-primary{
  border:0;
  background:#b8ff26;
  color:#05070a;
}
.mm-next-secondary{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.055);
  color:#fff;
}
@media(max-width:680px){
  .mm-autoplay-toggle>span{display:none}
  .mm-autoplay-toggle{gap:0}
  .mm-next-overlay{padding:14px}
  .mm-next-card{padding:20px}
  .mm-next-actions{flex-direction:column}
  .mm-next-actions button{width:100%}
}


/* HAMMAH V5.7.2 — cinematic next-episode preview */
.mm-next-overlay{
  pointer-events:none;
  background:rgba(0,0,0,.52);
}
.mm-next-overlay.visible{pointer-events:none}
.mm-next-preview{
  position:relative;
  width:min(760px,76vw);
  aspect-ratio:16/9;
  overflow:hidden;
  padding:0;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  background:#080a0d var(--next-image) center/cover no-repeat;
  box-shadow:0 30px 90px rgba(0,0,0,.62);
  color:#fff;
  text-align:left;
  cursor:pointer;
  pointer-events:auto;
  isolation:isolate;
  transition:transform .18s ease,border-color .18s ease;
}
.mm-next-preview:hover{
  transform:scale(1.012);
  border-color:rgba(184,255,38,.40);
}
.mm-next-preview-shade{
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(90deg,rgba(3,5,7,.94) 0%,rgba(3,5,7,.80) 34%,rgba(3,5,7,.28) 68%,rgba(3,5,7,.16) 100%),
    linear-gradient(0deg,rgba(3,5,7,.72) 0%,transparent 55%);
}
.mm-next-preview-copy{
  position:absolute;
  z-index:1;
  left:30px;
  bottom:28px;
  width:min(62%,500px);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
}
.mm-next-preview-copy strong{
  color:#b8ff26;
  font-size:13px;
  letter-spacing:.08em;
}
.mm-next-preview-copy b{
  color:#fff;
  font-size:clamp(24px,3vw,42px);
  line-height:1.05;
}
.mm-next-message{
  margin-top:5px;
  color:#c4cbd3;
  font-size:14px;
  font-weight:700;
}
.mm-next-play-mark{
  position:absolute;
  z-index:1;
  right:30px;
  bottom:28px;
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f5f7f8;
  color:#05070a;
  font-size:18px;
  box-shadow:0 8px 24px rgba(0,0,0,.34);
}
.mm-cancel-autoplay{
  position:absolute;
  z-index:2;
  left:50%;
  top:calc(50% + min(21.5vw,216px) + 18px);
  transform:translateX(-50%);
  pointer-events:auto;
  border:1px solid rgba(255,255,255,.15);
  border-radius:9px;
  background:rgba(10,13,17,.92);
  color:#fff;
  padding:9px 13px;
  font-weight:850;
  cursor:pointer;
}
.mm-series-complete{pointer-events:auto}

@media(max-width:700px){
  .mm-next-preview{
    width:min(92vw,760px);
    border-radius:12px;
  }
  .mm-next-preview-copy{
    left:18px;
    right:18px;
    bottom:18px;
    width:72%;
  }
  .mm-next-play-mark{
    width:44px;
    height:44px;
    right:18px;
    bottom:18px;
  }
  .mm-cancel-autoplay{
    top:auto;
    bottom:18px;
  }
}


/* HAMMAH V5.7.3 — softer next-episode preview edges */
.mm-next-preview{
  border-color:transparent;
  box-shadow:0 26px 80px rgba(0,0,0,.42);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
  mask-composite:intersect;
}
.mm-next-preview:hover{
  border-color:transparent;
}


/* HAMMAH V5.8 — automatic subtitles */
.subtitle-provider-state{
  display:inline-flex;
  width:max-content;
  margin-top:4px;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.055);
  color:#98a2ad;
  font-size:11px;
  font-weight:900;
}
.subtitle-provider-state.ready{
  background:rgba(184,255,38,.10);
  color:#b8ff26;
}
.mm-cc{
  min-width:36px;
  transition:background .18s ease,color .18s ease,border-color .18s ease,opacity .18s ease;
}
.mm-cc.loading{
  opacity:.55;
}
.mm-cc.active{
  background:rgba(184,255,38,.16)!important;
  color:#b8ff26!important;
  border-color:rgba(184,255,38,.34)!important;
}
.mm-cc.no-captions{
  width:auto;
  min-width:82px;
  padding-left:8px!important;
  padding-right:8px!important;
  color:#7f8994!important;
  font-size:10px!important;
  cursor:default!important;
}
video::cue{
  color:#fff;
  background:rgba(0,0,0,.72);
  font-family:Arial,Helvetica,sans-serif;
  font-size:1.05em;
}
/* HAMMAH Helper request-state integration */
.request-helper-state{margin-left:auto;display:flex;align-items:flex-end;flex-direction:column;gap:3px;min-width:110px;text-align:right}
.request-helper-state small{font-size:10px;color:#9aa3ad;max-width:220px}
.request-helper-message{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.status-searching,.status-found,.status-queued,.status-downloading,.status-processing{color:#b8ff26!important}
.status-failed{color:#ff7474!important}
@media(max-width:700px){.request-helper-state{min-width:80px}.request-helper-message{display:none}}


/* HAMMAH V6.0 - TV request scope chooser */
.tv-request-chooser{display:grid;gap:9px;margin-top:10px;padding:12px;border:1px solid rgba(173,255,19,.3);border-radius:12px;background:rgba(7,14,9,.72)}
.tv-request-chooser>strong{font-size:14px;color:#dfff9a}.tv-request-chooser small{color:#8f9daa;line-height:1.35}
.tv-season-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.tv-request-chooser button{width:100%;border:1px solid rgba(173,255,19,.28);background:#141b18;color:#f4f7f5;border-radius:10px;padding:10px 11px;text-align:left;font-weight:700;cursor:pointer}
.tv-request-chooser button:hover{border-color:#adff13;background:#192319}.tv-request-chooser .tv-scope-full{background:#adff13;color:#071008;border-color:#adff13}
@media(max-width:620px){.tv-season-buttons{grid-template-columns:1fr}}


/* Episode report + repair queue */
.mm-player-top-actions{display:flex;align-items:center;gap:10px}.mm-report-top{border:1px solid rgba(255,255,255,.22);background:rgba(8,12,10,.72);color:#fff;border-radius:999px;padding:8px 14px;cursor:pointer}.episode-report-modal[hidden]{display:none}.episode-report-modal{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.72);display:grid;place-items:center;padding:20px}.episode-report-card{position:relative;width:min(520px,100%);background:#101511;border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:24px;box-shadow:0 24px 80px rgba(0,0,0,.55)}.episode-report-card h2{margin:6px 0 10px}.episode-report-card p{opacity:.78}.episode-report-card select,.episode-report-card textarea{width:100%;box-sizing:border-box;margin:8px 0;padding:12px;border-radius:10px;border:1px solid rgba(255,255,255,.16);background:#080b09;color:#fff}.episode-report-close{position:absolute;right:12px;top:10px;border:0;background:transparent;color:#fff;font-size:26px;cursor:pointer}.episode-report-card small{display:block;margin-top:10px;opacity:.8}.episode-report-admin-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.repair-queue-btn,.repair-dismiss-btn{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#fff;border-radius:9px;padding:9px 12px;cursor:pointer}.repair-queue-btn{background:rgba(36,145,73,.28);border-color:rgba(75,200,112,.35)}


/* V2.8 — show title page season switching */
.consumer-season-stack .season-panel{display:none}
.consumer-season-stack .season-panel.active{display:block}


/* HAMMAH admin workspace cleanup */
.settings-main.admin-workspace{max-width:1180px;padding:0 20px 60px}
.admin-workspace-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}
.admin-workspace-head h1{margin:4px 0 0;font-size:38px;letter-spacing:-1.5px}
.admin-workspace-head p{margin:6px 0 0;color:#98a2ad}
.admin-tabbar{position:sticky;top:72px;z-index:20;display:flex;gap:8px;padding:8px;margin-bottom:18px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(7,10,13,.92);backdrop-filter:blur(12px);overflow-x:auto}
.admin-tab{border:0;background:transparent;color:#9aa4ae;border-radius:11px;padding:11px 15px;font-weight:850;white-space:nowrap;cursor:pointer}
.admin-tab:hover{background:rgba(255,255,255,.05);color:#fff}
.admin-tab.active{background:var(--accent);color:#091008}
.admin-tab .tab-count{margin-left:6px;opacity:.72}
.admin-pane[hidden]{display:none!important}
.admin-pane{display:grid;gap:16px}
.admin-pane .settings-card,.admin-pane .admin-users-panel{margin:0}
.admin-system-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.admin-system-grid .settings-card.compact{grid-column:1/-1}
.admin-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}
.admin-section-head h2{margin:4px 0 4px}
.admin-section-head p{margin:0;color:#929ca7}
.admin-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.admin-search{min-width:230px;background:#070a0e;border:1px solid rgba(255,255,255,.12);color:#fff;border-radius:10px;padding:10px 12px;outline:none}
.admin-search:focus{border-color:rgba(184,255,38,.45)}
.admin-filter{background:#090d12;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:10px 12px;font-weight:750}
.admin-list-wrap{display:grid;gap:10px}
.admin-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:16px}
.admin-page-btn{border:1px solid rgba(255,255,255,.12);background:#0b1015;color:#fff;border-radius:9px;padding:8px 12px;cursor:pointer;font-weight:800}
.admin-page-btn:disabled{opacity:.35;cursor:default}
.admin-page-label{font-size:12px;color:#8f99a5}
.admin-empty-filter{padding:18px;border:1px dashed rgba(255,255,255,.10);border-radius:12px;color:#929ca8;text-align:center}
.admin-request-row[data-hidden="1"],.admin-user-row[data-hidden="1"],.episode-report-admin-row[data-hidden="1"]{display:none!important}
.admin-request-progress{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:4px}
.admin-request-progress small{color:#7f8994}
.admin-status-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-left:auto}
.admin-status-detail{font-size:11px;color:#8f99a5}
.admin-account-count{white-space:nowrap}
@media(max-width:850px){
  .settings-main.admin-workspace{padding:18px 14px 90px}
  .admin-workspace-head{align-items:flex-start;flex-direction:column}
  .admin-workspace-head h1{font-size:30px}
  .admin-tabbar{top:62px;margin-left:-4px;margin-right:-4px}
  .admin-system-grid{grid-template-columns:1fr}
  .admin-system-grid .settings-card.compact{grid-column:auto}
  .admin-section-head{flex-direction:column}
  .admin-tools{width:100%}
  .admin-search{min-width:0;flex:1}
}
@media(max-width:600px){
  .admin-tools{display:grid;grid-template-columns:1fr}
  .admin-request-row,.admin-user-row{flex-direction:column;align-items:stretch}
  .admin-user-role,.admin-status-meta{margin-left:0;width:100%}
  .request-status-select,.role-select{width:100%}
}


/* HAMMAH V6.1 — admin live download progress */
.admin-request-progress{display:grid;gap:5px;margin-top:7px;max-width:560px}
.admin-progress-line{display:flex;align-items:center;gap:10px;min-height:14px}
.admin-progress-line span{font-size:11px;color:#8f99a5;font-weight:750}
.admin-progress-line [data-request-percent]{margin-left:auto;color:#b8ff26}
.admin-progress-track{height:5px;background:rgba(255,255,255,.08);border-radius:999px;overflow:hidden}
.admin-progress-track i{display:block;height:100%;background:var(--accent);border-radius:inherit;transition:width .35s ease}
.admin-request-progress [data-request-message]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#7f8994}

/* HAMMAH V5.8 — portrait mobile player cleanup (mobile only) */
@media (max-width: 700px) {
  /* Keep the player header readable: back | title | Episodes. */
  .mm-player-page .mm-player-top{
    grid-template-columns:40px minmax(0,1fr) auto!important;
    gap:8px!important;
    padding:0 10px!important;
  }
  .mm-player-page .mm-player-heading strong,
  .mm-player-page .mm-player-heading span{
    max-width:100%!important;
  }
  .mm-player-page .mm-player-top-actions{
    gap:0!important;
    min-width:0!important;
  }
  .mm-player-page .mm-report-top{
    display:none!important;
  }
  .mm-player-page .mm-next-top{
    font-size:13px!important;
    padding:9px 10px!important;
    border-radius:999px!important;
    white-space:nowrap!important;
    background:rgba(255,255,255,.07)!important;
    border:1px solid rgba(255,255,255,.12)!important;
  }
  .mm-player-page .mm-next-top::after{
    content:none!important;
    display:none!important;
  }

  /* Video stays true 16:9 and does not reserve desktop-sized space. */
  .mm-player-page .mm-video-stage{
    width:100%!important;
    aspect-ratio:16/9!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }
  .mm-player-page .mm-video-stage video{
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    object-fit:contain!important;
  }

  /* Mobile controls: seek bar on its own row, essential controls below. */
  .mm-player-page .mm-custom-controls{
    padding:22px 8px 7px!important;
  }
  .mm-player-page .mm-seek{
    margin-bottom:7px!important;
  }
  .mm-player-page .mm-control-row{
    gap:4px!important;
    overflow:hidden!important;
  }
  .mm-player-page .mm-control-row button,
  .mm-player-page .mm-control-link{
    height:32px!important;
    min-width:32px!important;
    padding:0 6px!important;
    flex:0 0 auto!important;
  }
  .mm-player-page #mute,
  .mm-player-page .mm-volume,
  .mm-player-page .mm-autoplay-toggle,
  .mm-player-page .mm-control-link[title="Previous episode"],
  .mm-player-page .mm-quality,
  .mm-player-page #fullscreen{
    display:none!important;
  }
  .mm-player-page .mm-time{
    margin:0 2px!important;
    font-size:10.5px!important;
    flex:0 1 auto!important;
  }
  .mm-player-page .mm-control-spacer{
    display:none!important;
  }
  .mm-player-page .mm-episodes-link{
    margin-left:auto!important;
  }

  /* Never let the large paused-title treatment collide with controls. */
  .mm-player-page .mm-video-stage:has(.mm-custom-controls.visible) .mm-pause-info{
    display:none!important;
  }
  .mm-player-page .mm-pause-info{
    width:calc(100% - 28px)!important;
    max-width:420px!important;
  }
  .mm-player-page .mm-pause-info h1{
    font-size:clamp(24px,8vw,38px)!important;
    line-height:1!important;
  }
  .mm-player-page .mm-pause-info h2{
    font-size:14px!important;
  }
  .mm-player-page .mm-pause-info p{
    display:none!important;
  }

  /* Episode drawer becomes a full-width mobile sheet. */
  .mm-player-page .mm-episode-drawer{
    width:100vw!important;
    max-width:none!important;
  }
}


/* HAMMAH V5.9 — mobile-first player controls, inline episodes, iPhone header */
.mm-mobile-skip,.mm-mobile-tv-actions{display:none}

@media(max-width:899px){
  /* Keep the account bubble visible beside the hamburger on mobile. */
  .mm-player-page .consumer-bar .top-actions{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    margin-left:auto!important;
  }
  .mm-player-page .consumer-bar .profile-btn{
    display:grid!important;
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
    font-size:10px!important;
    position:static!important;
    right:auto!important;
    top:auto!important;
    transform:none!important;
  }
  .mm-player-page .consumer-bar .mobile-menu-btn{
    display:inline-flex!important;
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
  }

  /* Player heading is information only on mobile; episode actions move below. */
  .mm-player-page .mm-player-top{
    min-height:64px!important;
    height:auto!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    gap:10px!important;
    padding:10px 14px!important;
  }
  .mm-player-page .mm-player-top-actions{display:none!important}
  .mm-player-page .mm-player-back{
    width:34px!important;
    min-width:34px!important;
    justify-content:flex-start!important;
    font-size:25px!important;
  }
  .mm-player-page .mm-player-heading{min-width:0!important}
  .mm-player-page .mm-player-heading strong,
  .mm-player-page .mm-player-heading span{
    max-width:none!important;
    width:100%!important;
  }
  .mm-player-page .mm-player-heading strong{font-size:15px!important}
  .mm-player-page .mm-player-heading span{font-size:11px!important}

  /* Player remains a real 16:9 canvas instead of a tall desktop stage. */
  .mm-player-page .mm-video-stage{
    width:100%!important;
    aspect-ratio:16/9!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
    background:#000!important;
  }
  .mm-player-page .mm-video-stage video{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
  }

  /* Bottom controls: « Play » Volume time autoplay CC quality fullscreen. */
  .mm-player-page .mm-custom-controls{
    padding:26px 8px 8px!important;
  }
  .mm-player-page .mm-seek{margin:0 2px 6px!important}
  .mm-player-page .mm-control-row{
    display:grid!important;
    grid-template-columns:30px 34px 30px 34px minmax(70px,1fr) auto 32px 44px 34px!important;
    gap:2px!important;
    width:100%!important;
    align-items:center!important;
  }
  .mm-player-page .mm-control-row>*{margin:0!important}
  .mm-player-page #back10{grid-column:1!important}
  .mm-player-page #playPause{grid-column:2!important}
  .mm-player-page #forward10{grid-column:3!important}
  .mm-player-page #mute{grid-column:4!important}
  .mm-player-page .mm-time{grid-column:5!important}
  .mm-player-page .mm-autoplay-toggle{grid-column:6!important}
  .mm-player-page #cc{grid-column:7!important}
  .mm-player-page #quality{grid-column:8!important}
  .mm-player-page #fullscreen{grid-column:9!important}
  .mm-player-page .mm-control-spacer,
  .mm-player-page .mm-volume,
  .mm-player-page .mm-episodes-link,
  .mm-player-page #nextEpisodeControl,
  .mm-player-page .mm-control-link[href*="/watch/"]{
    display:none!important;
  }
  .mm-player-page .mm-control-row button,
  .mm-player-page .mm-control-link{
    min-width:0!important;
    width:100%!important;
    height:32px!important;
    padding:0 3px!important;
    border-radius:8px!important;
    font-size:11px!important;
  }
  .mm-player-page .mm-mobile-skip{display:inline!important;font-size:18px!important;line-height:1!important}
  .mm-player-page .mm-desktop-skip{display:none!important}
  .mm-player-page .mm-time{
    min-width:0!important;
    font-size:10px!important;
    text-align:center!important;
    white-space:nowrap!important;
  }
  .mm-player-page .mm-autoplay-toggle{
    width:32px!important;
    min-width:32px!important;
    justify-content:center!important;
  }
  .mm-player-page .mm-autoplay-toggle>span{display:none!important}
  .mm-player-page .mm-autoplay-toggle i{
    width:30px!important;
    height:18px!important;
  }
  .mm-player-page .mm-autoplay-toggle b{
    width:12px!important;
    height:12px!important;
  }
  .mm-player-page .mm-autoplay-toggle input:checked+i b{transform:translateX(12px)!important}
  .mm-player-page .mm-quality{
    min-width:0!important;
    width:44px!important;
    font-size:10px!important;
    padding:0 2px!important;
  }
  .mm-player-page .mm-cc{
    min-width:0!important;
    width:32px!important;
    font-size:10px!important;
  }

  /* Keep large pause/title text out of the control bar on a phone. */
  .mm-player-page .mm-pause-info{display:none!important}
  .mm-player-page .mm-center-play{
    width:58px!important;
    height:58px!important;
  }

  /* TV navigation lives below the player. */
  .mm-player-page .mm-mobile-tv-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    padding:12px 14px!important;
    background:#080b10!important;
    border-top:1px solid rgba(255,255,255,.06)!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
  }
  .mm-player-page .mm-mobile-report,
  .mm-player-page .mm-mobile-episode-step a{
    min-height:38px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:10px!important;
    padding:0 12px!important;
    background:rgba(255,255,255,.055)!important;
    color:#fff!important;
    text-decoration:none!important;
    font-size:11px!important;
    font-weight:850!important;
  }
  .mm-player-page .mm-mobile-report{cursor:pointer!important}
  .mm-player-page .mm-mobile-episode-step{
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    margin-left:auto!important;
  }
  .mm-player-page .mm-mobile-episode-step a.next{
    background:#b8ff26!important;
    color:#071006!important;
    border-color:#b8ff26!important;
  }

  /* Episode drawer becomes a clean inline episode browser below the player. */
  .mm-player-page .mm-episode-drawer,
  .mm-player-page .mm-episode-drawer.mobile-inline{
    position:relative!important;
    inset:auto!important;
    top:auto!important;
    right:auto!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    transform:none!important;
    display:flex!important;
    box-shadow:none!important;
    border-left:0!important;
    border-top:0!important;
    z-index:1!important;
    background:#070a0f!important;
  }
  .mm-player-page .mm-episode-drawer-head{
    padding:16px 14px 12px!important;
  }
  .mm-player-page .mm-episode-drawer-head button{display:none!important}
  .mm-player-page .mm-season-tabs{
    padding:10px 14px!important;
    position:sticky!important;
    top:58px!important;
    z-index:4!important;
    background:#070a0ff5!important;
  }
  .mm-player-page .mm-drawer-seasons{
    overflow:visible!important;
    max-height:none!important;
    padding:8px 10px 100px!important;
  }
  .mm-player-page .mm-drawer-episode{
    grid-template-columns:116px minmax(0,1fr)!important;
    gap:10px!important;
    padding:8px 4px!important;
  }
  .mm-player-page .mm-drawer-thumb{height:65px!important}
  .mm-player-page .mm-drawer-episode strong{font-size:12px!important}
  .mm-player-page .mm-drawer-scrim{display:none!important}

  /* Native iOS fullscreen video should not inherit page sizing. */
  .mm-player-page video::-webkit-media-controls-fullscreen-button{display:block!important}
}

/* Slightly tighter iPhones while preserving every requested control. */
@media(max-width:390px){
  .mm-player-page .mm-control-row{
    grid-template-columns:28px 32px 28px 31px minmax(64px,1fr) 30px 30px 41px 31px!important;
  }
  .mm-player-page .mm-custom-controls{padding-left:5px!important;padding-right:5px!important}
  .mm-player-page .mm-time{font-size:9px!important}
  .mm-player-page .mm-quality{width:41px!important;font-size:9px!important}
  .mm-player-page .mm-mobile-tv-actions{padding-left:10px!important;padding-right:10px!important}
}

/* HAMMAH V6.2 — mobile player layout matched to the approved phone sketch.
   Mobile-only overrides; desktop player remains unchanged. */
.mm-mobile-season-picker{display:none}

@media(max-width:899px){
  /* Header: HAMMAH | account bubble | hamburger. */
  .mm-player-page .mm-watch-sitebar{
    display:flex!important;
    align-items:center!important;
    min-height:58px!important;
    height:58px!important;
    padding:0 14px!important;
    gap:10px!important;
  }
  .mm-player-page .mm-watch-sitebar .brand{
    flex:0 1 auto!important;
    margin-right:auto!important;
    font-size:18px!important;
  }
  .mm-player-page .mm-watch-sitebar .top-actions{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    gap:8px!important;
    margin:0!important;
    width:auto!important;
    min-width:0!important;
    position:relative!important;
    z-index:70!important;
  }
  .mm-player-page .mm-watch-sitebar .profile-btn{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    place-items:center!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    flex:0 0 38px!important;
    border-radius:50%!important;
    position:relative!important;
    z-index:71!important;
  }
  .mm-player-page .mm-watch-sitebar .mobile-menu-btn{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    flex:0 0 42px!important;
  }

  /* Compact title strip directly above the video. */
  .mm-player-page .mm-player-top{
    min-height:64px!important;
    padding:9px 14px!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    gap:10px!important;
  }
  .mm-player-page .mm-player-back{font-size:27px!important}
  .mm-player-page .mm-player-heading strong{
    font-size:15px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .mm-player-page .mm-player-heading span{
    font-size:11px!important;
    line-height:1.25!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  /* True 16:9 phone player. */
  .mm-player-page .mm-video-stage{
    aspect-ratio:16/9!important;
    height:auto!important;
    min-height:0!important;
    overflow:hidden!important;
  }

  /* Seek line first, then exactly one compact control row:
     «  play  »  volume  time  autoplay  CC  quality  fullscreen */
  .mm-player-page .mm-custom-controls{
    padding:24px 6px 6px!important;
  }
  .mm-player-page .mm-seek{
    margin:0 1px 6px!important;
  }
  .mm-player-page .mm-control-row{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:2px!important;
    width:100%!important;
    min-width:0!important;
    overflow:visible!important;
  }
  .mm-player-page .mm-control-row>*{margin:0!important;min-width:0!important}
  .mm-player-page #back10{order:1;flex:0 0 28px!important}
  .mm-player-page #playPause{order:2;flex:0 0 32px!important}
  .mm-player-page #forward10{order:3;flex:0 0 28px!important}
  .mm-player-page #mute{order:4;flex:0 0 30px!important}
  .mm-player-page .mm-time{order:5;flex:1 1 68px!important;min-width:60px!important}
  .mm-player-page .mm-autoplay-toggle{order:6;flex:0 0 30px!important}
  .mm-player-page #cc{order:7;flex:0 0 31px!important}
  .mm-player-page #quality{order:8;flex:0 0 43px!important}
  .mm-player-page #fullscreen{order:9;flex:0 0 31px!important}
  .mm-player-page .mm-control-spacer,
  .mm-player-page .mm-volume,
  .mm-player-page .mm-episodes-link,
  .mm-player-page #nextEpisodeControl,
  .mm-player-page .mm-control-link[title="Previous episode"]{
    display:none!important;
  }
  .mm-player-page .mm-control-row button,
  .mm-player-page .mm-control-link{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    height:31px!important;
    min-width:0!important;
    padding:0 2px!important;
    border-radius:8px!important;
    font-size:11px!important;
  }
  .mm-player-page .mm-mobile-skip{font-size:17px!important}
  .mm-player-page .mm-time{
    font-size:9px!important;
    text-align:center!important;
    white-space:nowrap!important;
  }
  .mm-player-page .mm-autoplay-toggle{
    width:30px!important;
    min-width:30px!important;
    justify-content:center!important;
  }
  .mm-player-page .mm-autoplay-toggle>span{display:none!important}
  .mm-player-page .mm-autoplay-toggle i{width:29px!important;height:17px!important}
  .mm-player-page .mm-autoplay-toggle b{width:11px!important;height:11px!important}
  .mm-player-page .mm-autoplay-toggle input:checked+i b{transform:translateX(12px)!important}
  .mm-player-page .mm-cc{width:auto!important;font-size:9px!important}
  .mm-player-page .mm-quality{width:auto!important;font-size:9px!important;padding:0 2px!important}

  /* The sketch puts episode browsing immediately below the player.
     Remove the old raw Report/Prev/Next strip from mobile. */
  .mm-player-page .mm-mobile-tv-actions{display:none!important}

  /* Inline episode browser with a single season dropdown. */
  .mm-player-page .mm-episode-drawer,
  .mm-player-page .mm-episode-drawer.mobile-inline{
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    transform:none!important;
    display:flex!important;
    background:#05070a!important;
    border:0!important;
    box-shadow:none!important;
    z-index:1!important;
  }
  .mm-player-page .mm-episode-drawer-head{
    padding:15px 14px 7px!important;
    border:0!important;
  }
  .mm-player-page .mm-episode-drawer-head span{display:none!important}
  .mm-player-page .mm-episode-drawer-head strong{
    font-size:16px!important;
    letter-spacing:-.2px!important;
  }
  .mm-player-page .mm-season-tabs{display:none!important}
  .mm-player-page .mm-mobile-season-picker{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    padding:8px 14px 12px!important;
    border-bottom:1px solid rgba(255,255,255,.07)!important;
  }
  .mm-player-page .mm-mobile-season-picker>label{
    font-size:11px!important;
    font-weight:850!important;
    color:#9aa3af!important;
    text-transform:uppercase!important;
    letter-spacing:.8px!important;
  }
  .mm-player-page .mm-mobile-season-select-wrap{
    position:relative!important;
    flex:1!important;
    min-width:0!important;
  }
  .mm-player-page .mm-mobile-season-select-wrap select{
    width:100%!important;
    height:40px!important;
    appearance:none!important;
    -webkit-appearance:none!important;
    border:1px solid rgba(255,255,255,.13)!important;
    border-radius:10px!important;
    background:#0d1117!important;
    color:#fff!important;
    padding:0 40px 0 13px!important;
    font:inherit!important;
    font-size:13px!important;
    font-weight:850!important;
    outline:none!important;
  }
  .mm-player-page .mm-mobile-season-select-wrap>span{
    position:absolute!important;
    right:13px!important;
    top:50%!important;
    transform:translateY(-54%)!important;
    color:#b8ff26!important;
    pointer-events:none!important;
    font-size:19px!important;
  }
  .mm-player-page .mm-drawer-seasons{
    padding:7px 10px 96px!important;
    overflow:visible!important;
    max-height:none!important;
  }
  .mm-player-page .mm-drawer-season.active{
    display:flex!important;
    flex-direction:column!important;
    gap:4px!important;
  }
  .mm-player-page .mm-drawer-episode{
    display:grid!important;
    grid-template-columns:132px minmax(0,1fr)!important;
    gap:11px!important;
    min-height:84px!important;
    padding:8px 5px!important;
    border-radius:11px!important;
    align-items:center!important;
  }
  .mm-player-page .mm-drawer-thumb{
    height:auto!important;
    aspect-ratio:16/9!important;
    border-radius:8px!important;
  }
  .mm-player-page .mm-drawer-episode strong{
    font-size:12px!important;
    line-height:1.25!important;
    white-space:normal!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }
  .mm-player-page .mm-drawer-episode div:last-child span{
    font-size:10px!important;
    margin-top:5px!important;
  }
  .mm-player-page .mm-drawer-episode.current{
    background:rgba(184,255,38,.055)!important;
    border-color:rgba(184,255,38,.2)!important;
  }
  .mm-player-page .mm-drawer-scrim{display:none!important}

  /* Fullscreen stage should fill the viewport on browsers that use the standard API. */
  .mm-player-page .mm-video-stage:fullscreen,
  .mm-player-page .mm-video-stage:-webkit-full-screen{
    width:100vw!important;
    height:100vh!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    background:#000!important;
  }
  .mm-player-page .mm-video-stage:fullscreen video,
  .mm-player-page .mm-video-stage:-webkit-full-screen video{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
  }
}

@media(max-width:390px){
  .mm-player-page .mm-custom-controls{padding-left:4px!important;padding-right:4px!important}
  .mm-player-page .mm-control-row{gap:1px!important}
  .mm-player-page #back10{flex-basis:26px!important}
  .mm-player-page #playPause{flex-basis:30px!important}
  .mm-player-page #forward10{flex-basis:26px!important}
  .mm-player-page #mute{flex-basis:28px!important}
  .mm-player-page .mm-time{min-width:56px!important;font-size:8.5px!important}
  .mm-player-page .mm-autoplay-toggle{flex-basis:29px!important}
  .mm-player-page #cc{flex-basis:29px!important}
  .mm-player-page #quality{flex-basis:40px!important}
  .mm-player-page #fullscreen{flex-basis:29px!important}
  .mm-player-page .mm-drawer-episode{grid-template-columns:118px minmax(0,1fr)!important}
}


/* HAMMAH V6.3 — portrait player control cleanup.
   Keep the final CC / quality / fullscreen group inside the phone viewport.
   The in-player episode menu button was removed from watch.html; episodes remain below the TV player. */
@media(max-width:899px){
  .mm-player-page .mm-control-row{
    box-sizing:border-box!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  .mm-player-page #fullscreen{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    flex:0 0 30px!important;
    min-width:30px!important;
    width:30px!important;
    padding:0!important;
    margin-left:0!important;
  }
  .mm-player-page #quality{flex:0 0 42px!important;min-width:42px!important}
  .mm-player-page #cc{flex:0 0 30px!important;min-width:30px!important}
  .mm-player-page .mm-time{flex:1 1 54px!important;min-width:50px!important}
}
@media(max-width:390px){
  .mm-player-page .mm-custom-controls{padding-left:3px!important;padding-right:3px!important}
  .mm-player-page .mm-control-row{gap:1px!important}
  .mm-player-page #quality{flex-basis:39px!important;min-width:39px!important}
  .mm-player-page #cc{flex-basis:28px!important;min-width:28px!important}
  .mm-player-page #fullscreen{flex-basis:28px!important;min-width:28px!important;width:28px!important}
  .mm-player-page .mm-time{min-width:48px!important;font-size:8px!important}
}

/* HAMMAH V6.0 — precise mobile player/profile polish */
.account-hero-card.profile-hero-clean h1{font-size:clamp(28px,4vw,42px)!important;letter-spacing:-1px!important}
.mm-player-page .mm-playback-settings{position:relative;flex:0 0 auto}
.mm-player-page .mm-playback-menu{position:absolute;right:0;bottom:46px;width:190px;padding:8px;background:rgba(10,13,18,.98);border:1px solid rgba(255,255,255,.13);border-radius:12px;box-shadow:0 14px 38px rgba(0,0,0,.55);z-index:80}
.mm-player-page .mm-playback-menu[hidden]{display:none!important}
.mm-player-page .mm-playback-menu-title{padding:6px 8px 8px;color:#8f98a5;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.mm-player-page .mm-playback-menu .mm-playback-option{width:100%!important;min-width:0!important;height:40px!important;padding:0 9px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;background:transparent!important;border-radius:8px!important;color:#fff!important;font-size:12px!important}
.mm-player-page .mm-playback-menu button.mm-playback-option:hover,.mm-player-page .mm-playback-menu .mm-playback-option:hover{background:rgba(255,255,255,.08)!important;transform:none!important}
.mm-player-page .mm-playback-menu .mm-playback-option>b{color:#b9ff32;font-size:11px}
.mm-player-page .mm-autoplay-menu-option input{position:absolute;opacity:0;pointer-events:none}
.mm-player-page .mm-autoplay-menu-option i{width:31px;height:18px;border-radius:999px;background:#343a43;position:relative;flex:0 0 auto;transition:.18s}
.mm-player-page .mm-autoplay-menu-option i>b{position:absolute;width:14px;height:14px;border-radius:50%;left:2px;top:2px;background:#fff;transition:.18s}
.mm-player-page .mm-autoplay-menu-option input:checked+i{background:#b9ff32}
.mm-player-page .mm-autoplay-menu-option input:checked+i>b{transform:translateX(13px);background:#101409}
.mm-player-page .mm-fullscreen{flex:0 0 auto!important}

@media(max-width:899px){
  /* Always reserve room for the profile initials and hamburger on every consumer header. */
  .consumer-bar .top-actions{display:flex!important;align-items:center!important;gap:8px!important;margin-left:auto!important;position:relative!important;z-index:12!important}
  .consumer-bar .top-actions .profile-btn{display:grid!important;position:static!important;transform:none!important;right:auto!important;top:auto!important;margin:0!important;width:30px!important;height:30px!important;flex:0 0 30px!important;font-size:9px!important}

  /* Compact portrait controls so quality and fullscreen can never be pushed off-screen. */
  .mm-player-page .mm-custom-controls{padding:20px 6px 7px!important}
  .mm-player-page .mm-control-row{gap:2px!important;overflow:visible!important}
  .mm-player-page .mm-control-row button,.mm-player-page .mm-control-link{height:30px!important;min-width:28px!important;padding:0 5px!important;font-size:11px!important;border-radius:7px!important}
  .mm-player-page .mm-time{font-size:9.5px!important;margin-left:1px!important;letter-spacing:-.25px!important}
  .mm-player-page .mm-control-spacer{min-width:0!important;flex:1 1 4px!important}
  .mm-player-page .mm-quality{min-width:43px!important;padding-left:4px!important;padding-right:4px!important;font-size:10px!important}
  .mm-player-page .mm-playback-settings-btn,.mm-player-page .mm-fullscreen{width:30px!important;min-width:30px!important;padding:0!important}
  .mm-player-page .mm-playback-menu{right:-46px;bottom:38px;width:176px}
}

@media(max-width:600px){
  .account-hero-card.profile-hero-clean h1{font-size:26px!important;line-height:1.08!important;letter-spacing:-.6px!important}
}

/* HAMMAH V6.4 — clean two-state header breakpoint.
   >=900px keeps the desktop/sidebar layout.
   <900px uses the compact HAMMAH + initials + hamburger header.
   This removes the cramped intermediate top-navigation state and the unstyled white menu square. */
@media (max-width:899px){
  .consumer-bar{
    position:sticky!important;
    top:0!important;
    z-index:100!important;
    height:58px!important;
    min-height:58px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    padding:0 14px!important;
    background:rgba(7,9,13,.97)!important;
    border-bottom:1px solid rgba(255,255,255,.07)!important;
    overflow:visible!important;
  }
  .consumer-bar .brand{
    position:static!important;
    display:block!important;
    flex:0 0 auto!important;
    min-width:max-content!important;
    margin:0!important;
    transform:none!important;
    font-size:18px!important;
    opacity:1!important;
    visibility:visible!important;
    z-index:102!important;
  }
  .consumer-bar .top-actions{
    position:static!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    margin:0 0 0 auto!important;
    transform:none!important;
    z-index:103!important;
  }
  .consumer-bar .consumer-search,
  .consumer-bar .desktop-search,
  .consumer-bar .heart-link{display:none!important}
  .consumer-bar .profile-btn{
    display:grid!important;
    place-items:center!important;
    position:static!important;
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    flex:0 0 32px!important;
    margin:0!important;
    transform:none!important;
    font-size:9px!important;
  }
  .consumer-bar .mobile-menu-btn{
    box-sizing:border-box!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    padding:0!important;
    display:inline-flex!important;
    flex:0 0 42px!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.045)!important;
    color:#fff!important;
    appearance:none!important;
    -webkit-appearance:none!important;
    cursor:pointer!important;
  }
  .consumer-bar .mobile-menu-btn span{
    display:block!important;
    width:18px!important;
    height:2px!important;
    min-height:2px!important;
    border:0!important;
    border-radius:10px!important;
    background:#fff!important;
    transition:transform .18s ease,opacity .18s ease!important;
  }
  .consumer-bar.menu-open .mobile-menu-btn span:nth-child(1){transform:translateY(7px) rotate(45deg)!important}
  .consumer-bar.menu-open .mobile-menu-btn span:nth-child(2){opacity:0!important}
  .consumer-bar.menu-open .mobile-menu-btn span:nth-child(3){transform:translateY(-7px) rotate(-45deg)!important}
  .consumer-bar .consumer-nav{
    position:absolute!important;
    left:10px!important;
    right:10px!important;
    top:calc(100% + 8px)!important;
    bottom:auto!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    padding:10px!important;
    display:none!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
    background:rgba(12,15,21,.985)!important;
    border:1px solid rgba(255,255,255,.11)!important;
    border-radius:16px!important;
    box-shadow:0 20px 50px rgba(0,0,0,.55)!important;
    overflow:hidden!important;
    z-index:101!important;
  }
  .consumer-bar.menu-open .consumer-nav{display:grid!important}
  .consumer-bar .consumer-nav:before{display:none!important}
  .consumer-bar .consumer-nav a{
    position:relative!important;
    min-height:48px!important;
    padding:0 14px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    border-radius:11px!important;
    font-size:14px!important;
    font-weight:700!important;
    white-space:nowrap!important;
    background:transparent!important;
  }
  .consumer-bar .consumer-nav a:hover,
  .consumer-bar .consumer-nav a.active{background:rgba(255,255,255,.07)!important;color:#fff!important}
  .consumer-bar .consumer-nav a.active:after{
    left:10px!important;right:auto!important;bottom:7px!important;
    width:24px!important;height:3px!important;transform:none!important;
  }
  .consumer-bar .mobile-menu-search{
    grid-column:1/-1!important;
    display:block!important;
    margin:0 0 4px!important;
  }
  .consumer-bar .mobile-menu-search input:not([type="hidden"]){
    width:100%!important;height:44px!important;padding:0 14px!important;
    border:1px solid rgba(255,255,255,.10)!important;border-radius:11px!important;
    outline:none!important;background:rgba(255,255,255,.055)!important;color:#fff!important;
  }
  .consumer-bar .mobile-menu-extra{display:flex!important}
  body.mobile-menu-open:after{
    content:'';position:fixed;inset:58px 0 0;background:rgba(0,0,0,.35);z-index:90;pointer-events:none;
  }
}

/* HAMMAH V6.5 — watch/player header follows the same two-state header as the rest of the site. */
@media (min-width:900px){
  .mm-player-page .mm-watch-sitebar .mobile-menu-btn{display:none!important}
}
@media (max-width:899px){
  .mm-player-page .mm-watch-sitebar{
    position:sticky!important;top:0!important;z-index:100!important;
    height:58px!important;min-height:58px!important;
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    gap:10px!important;padding:0 14px!important;
    background:rgba(7,9,13,.97)!important;border-bottom:1px solid rgba(255,255,255,.07)!important;
    overflow:visible!important;
  }
  .mm-player-page .mm-watch-sitebar .brand{
    position:static!important;display:block!important;flex:0 0 auto!important;
    min-width:max-content!important;margin:0!important;transform:none!important;
    font-size:18px!important;opacity:1!important;visibility:visible!important;
  }
  .mm-player-page .mm-watch-sitebar .top-actions{
    position:static!important;display:flex!important;align-items:center!important;
    gap:8px!important;margin:0 0 0 auto!important;transform:none!important;
  }
  .mm-player-page .mm-watch-sitebar .consumer-search,
  .mm-player-page .mm-watch-sitebar .desktop-search,
  .mm-player-page .mm-watch-sitebar .heart-link{display:none!important}
  .mm-player-page .mm-watch-sitebar .profile-btn{
    display:grid!important;place-items:center!important;position:static!important;
    width:32px!important;height:32px!important;min-width:32px!important;flex:0 0 32px!important;
    margin:0!important;transform:none!important;font-size:9px!important;
  }
  .mm-player-page .mm-watch-sitebar .mobile-menu-btn{
    box-sizing:border-box!important;width:42px!important;height:42px!important;min-width:42px!important;
    padding:0!important;display:inline-flex!important;flex:0 0 42px!important;
    flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;
    border:1px solid rgba(255,255,255,.12)!important;border-radius:12px!important;
    background:rgba(255,255,255,.045)!important;color:#fff!important;
    appearance:none!important;-webkit-appearance:none!important;cursor:pointer!important;
  }
  .mm-player-page .mm-watch-sitebar .mobile-menu-btn span{
    display:block!important;width:18px!important;height:2px!important;min-height:2px!important;
    border:0!important;border-radius:10px!important;background:#fff!important;
  }
  .mm-player-page .mm-watch-sitebar .consumer-nav{
    position:absolute!important;left:10px!important;right:10px!important;top:calc(100% + 8px)!important;
    bottom:auto!important;width:auto!important;height:auto!important;margin:0!important;padding:10px!important;
    display:none!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;
    background:rgba(12,15,21,.985)!important;border:1px solid rgba(255,255,255,.11)!important;
    border-radius:16px!important;box-shadow:0 20px 50px rgba(0,0,0,.55)!important;overflow:hidden!important;
    z-index:101!important;
  }
  .mm-player-page .mm-watch-sitebar.menu-open .consumer-nav{display:grid!important}
}


/* HAMMAH V6.6 — player-only header hardening.
   Keep the player hamburger hidden by default, then enable the compact
   player header before the desktop nav becomes crowded. */
.mm-player-page .mm-watch-sitebar .mobile-menu-btn{
  display:none!important;
}

@media (max-width:1199px){
  .mm-player-page{
    padding-left:0!important;
  }
  .mm-player-page .mm-watch-sitebar{
    position:sticky!important;
    top:0!important;
    z-index:100!important;
    height:58px!important;
    min-height:58px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    padding:0 14px!important;
    background:rgba(7,9,13,.97)!important;
    border-bottom:1px solid rgba(255,255,255,.07)!important;
    overflow:visible!important;
  }
  .mm-player-page .mm-watch-sitebar .brand{
    position:static!important;
    display:block!important;
    flex:0 0 auto!important;
    min-width:max-content!important;
    margin:0 auto 0 0!important;
    transform:none!important;
    font-size:18px!important;
  }
  .mm-player-page .mm-watch-sitebar .top-actions{
    position:static!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    margin:0!important;
    transform:none!important;
  }
  .mm-player-page .mm-watch-sitebar .consumer-search,
  .mm-player-page .mm-watch-sitebar .desktop-search,
  .mm-player-page .mm-watch-sitebar .heart-link{
    display:none!important;
  }
  .mm-player-page .mm-watch-sitebar .profile-btn{
    display:grid!important;
    place-items:center!important;
    position:static!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    flex:0 0 38px!important;
    margin:0!important;
    transform:none!important;
    font-size:10px!important;
  }
  .mm-player-page .mm-watch-sitebar .mobile-menu-btn{
    box-sizing:border-box!important;
    display:inline-flex!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    flex:0 0 42px!important;
    padding:0!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.045)!important;
    color:#fff!important;
    appearance:none!important;
    -webkit-appearance:none!important;
  }
  .mm-player-page .mm-watch-sitebar .mobile-menu-btn span{
    display:block!important;
    width:18px!important;
    height:2px!important;
    min-height:2px!important;
    border:0!important;
    border-radius:10px!important;
    background:#fff!important;
  }
  .mm-player-page .mm-watch-sitebar .consumer-nav{
    position:absolute!important;
    left:10px!important;
    right:10px!important;
    top:calc(100% + 8px)!important;
    bottom:auto!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    padding:10px!important;
    display:none!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
    background:rgba(12,15,21,.985)!important;
    border:1px solid rgba(255,255,255,.11)!important;
    border-radius:16px!important;
    box-shadow:0 20px 50px rgba(0,0,0,.55)!important;
    overflow:hidden!important;
    z-index:101!important;
  }
  .mm-player-page .mm-watch-sitebar.menu-open .consumer-nav{
    display:grid!important;
  }
}

@media (min-width:1200px){
  .mm-player-page .mm-watch-sitebar .mobile-menu-btn{
    display:none!important;
    width:0!important;
    min-width:0!important;
    height:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    overflow:hidden!important;
  }
}

/* HAMMAH V6.7 — dedicated player header structure.
   Player desktop and compact headers are separate so generic site header
   rules cannot render the hamburger as a ghost/white square. */
.mm-player-page .mm-watch-sitebar{
  display:flex!important;
  align-items:center!important;
  gap:24px!important;
}
.mm-player-page .mm-watch-sitebar .watch-desktop-nav{
  display:flex;
  align-items:center;
  justify-content:space-evenly;
  flex:1 1 auto;
  min-width:0;
  gap:18px;
}
.mm-player-page .mm-watch-sitebar .watch-desktop-nav a{
  color:#b8bdc7;
  text-decoration:none;
  font-weight:700;
  white-space:nowrap;
}
.mm-player-page .mm-watch-sitebar .watch-desktop-nav a:hover{color:#fff}
.mm-player-page .mm-watch-sitebar .watch-desktop-profile{
  display:grid!important;
  flex:0 0 auto!important;
}
.mm-player-page .mm-watch-sitebar .watch-compact-actions,
.mm-player-page .mm-watch-sitebar .watch-mobile-nav{
  display:none!important;
}

@media (max-width:1149px){
  .mm-player-page .mm-watch-sitebar{
    position:sticky!important;
    top:0!important;
    z-index:100!important;
    height:64px!important;
    min-height:64px!important;
    padding:0 16px!important;
    justify-content:space-between!important;
    gap:12px!important;
    overflow:visible!important;
  }
  .mm-player-page .mm-watch-sitebar .brand{
    position:static!important;
    display:block!important;
    flex:0 0 auto!important;
    margin:0!important;
    transform:none!important;
  }
  .mm-player-page .mm-watch-sitebar .watch-desktop-nav,
  .mm-player-page .mm-watch-sitebar .watch-desktop-profile{
    display:none!important;
  }
  .mm-player-page .mm-watch-sitebar .watch-compact-actions{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    margin-left:auto!important;
  }
  .mm-player-page .mm-watch-sitebar .watch-compact-actions .profile-btn{
    display:grid!important;
    place-items:center!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    flex:0 0 38px!important;
    margin:0!important;
  }
  .mm-player-page .mm-watch-sitebar .watch-menu-btn{
    box-sizing:border-box!important;
    display:inline-flex!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    flex:0 0 44px!important;
    padding:0!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:1px solid rgba(255,255,255,.14)!important;
    border-radius:13px!important;
    background:#12151b!important;
    appearance:none!important;
    -webkit-appearance:none!important;
  }
  .mm-player-page .mm-watch-sitebar .watch-menu-btn span{
    display:block!important;
    width:20px!important;
    height:2px!important;
    min-height:2px!important;
    border-radius:999px!important;
    background:#fff!important;
  }
  .mm-player-page .mm-watch-sitebar.menu-open .watch-menu-btn span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .mm-player-page .mm-watch-sitebar.menu-open .watch-menu-btn span:nth-child(2){opacity:0}
  .mm-player-page .mm-watch-sitebar.menu-open .watch-menu-btn span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .mm-player-page .mm-watch-sitebar .watch-mobile-nav{
    position:absolute!important;
    left:10px!important;
    right:10px!important;
    top:calc(100% + 8px)!important;
    z-index:101!important;
    padding:10px!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
    background:rgba(12,15,21,.985)!important;
    border:1px solid rgba(255,255,255,.11)!important;
    border-radius:16px!important;
    box-shadow:0 20px 50px rgba(0,0,0,.55)!important;
  }
  .mm-player-page .mm-watch-sitebar.menu-open .watch-mobile-nav{display:grid!important}
  .mm-player-page .mm-watch-sitebar .watch-mobile-nav .mobile-menu-search{
    display:block!important;
    grid-column:1/-1!important;
    margin:0 0 4px!important;
  }
  .mm-player-page .mm-watch-sitebar .watch-mobile-nav .mobile-menu-search input:not([type="hidden"]){
    width:100%!important;
    height:44px!important;
    padding:0 14px!important;
    border:1px solid rgba(255,255,255,.10)!important;
    border-radius:11px!important;
    outline:none!important;
    background:rgba(255,255,255,.055)!important;
    color:#fff!important;
  }
  .mm-player-page .mm-watch-sitebar .watch-mobile-nav a{
    min-height:46px!important;
    padding:0 14px!important;
    display:flex!important;
    align-items:center!important;
    border-radius:11px!important;
    color:#fff!important;
    text-decoration:none!important;
    font-weight:700!important;
  }
  .mm-player-page .mm-watch-sitebar .watch-mobile-nav a:hover{background:rgba(255,255,255,.07)!important}
}

/* HAMMAH default profile avatar + premium/admin blue diamond status badge */
.profile-btn,.account-avatar{overflow:visible}
.profile-btn{position:relative}
.hammah-avatar-wrap{
  position:relative;
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  overflow:visible;
}
.profile-btn .hammah-avatar-icon,.account-avatar .hammah-avatar-icon{
  display:block;
  width:72%;
  height:72%;
}
.account-avatar .hammah-avatar-icon{width:76%;height:76%}
.hammah-avatar-head,.hammah-avatar-body{fill:#0b0d08}
.hammah-premium-diamond-badge{
  position:absolute;
  right:-2%;
  bottom:2%;
  width:28%;
  height:28%;
  min-width:8px;
  min-height:8px;
  max-width:24px;
  max-height:24px;
  background:#79d9ff;
  border:1.5px solid #d8f4ff;
  clip-path:polygon(0 0,100% 0,50% 100%);
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.75));
  z-index:4;
  pointer-events:none;
}
.account-avatar .hammah-premium-diamond-badge{
  right:-3%;
  bottom:1%;
  width:25%;
  height:25%;
  max-width:none;
  max-height:none;
  border-width:2px;
}
.consumer-bar .profile-btn{font-size:0!important;letter-spacing:0!important}


/* Robust HAMMAH avatar rendering: icon and premium gem live in one SVG. */
.profile-btn,.account-avatar{overflow:visible!important}
.hammah-avatar-wrap{position:relative;display:grid;place-items:center;width:100%;height:100%;overflow:visible}
.profile-btn .hammah-avatar-icon{display:block!important;width:82%!important;height:82%!important;overflow:visible!important}
.account-avatar .hammah-avatar-icon{display:block!important;width:88%!important;height:88%!important;overflow:visible!important}
.hammah-premium-diamond-badge{display:none!important}
.consumer-bar .profile-btn{font-size:0!important;letter-spacing:0!important}

/* HAMMAH avatar final: CSS silhouette + premium/admin blue diamond. */
.profile-btn,.account-avatar{overflow:visible!important}
.hammah-avatar-wrap{position:relative!important;display:block!important;width:100%!important;height:100%!important;overflow:visible!important}
.hammah-avatar-person{position:absolute!important;inset:0!important;display:block!important}
.hammah-avatar-head{position:absolute!important;display:block!important;width:34%!important;height:34%!important;left:33%!important;top:18%!important;border-radius:50%!important;background:#070908!important}
.hammah-avatar-body{position:absolute!important;display:block!important;width:68%!important;height:39%!important;left:16%!important;bottom:12%!important;border-radius:50% 50% 24% 24% / 72% 72% 28% 28%!important;background:#070908!important}
.hammah-premium-gem{position:absolute!important;display:block!important;width:27%!important;height:25%!important;right:-3%!important;bottom:-1%!important;background:#79dcff!important;clip-path:polygon(0 0,100% 0,50% 100%)!important;-webkit-clip-path:polygon(0 0,100% 0,50% 100%)!important;border:1px solid rgba(225,249,255,.95)!important;box-sizing:border-box!important;filter:drop-shadow(0 1px 1px rgba(0,0,0,.9))!important;z-index:8!important;pointer-events:none!important}
.account-avatar .hammah-premium-gem{width:28%!important;height:26%!important;right:-4%!important;bottom:-2%!important;border-width:2px!important}
.consumer-bar .profile-btn{font-size:0!important;letter-spacing:0!important}

/* HAMMAH Admin System control center — 2026-08-24 */
.system-dashboard-card{background:linear-gradient(145deg,#11151b,#0c1015);border:1px solid #ffffff12;border-radius:18px;padding:24px;margin-bottom:16px}.system-head{margin-bottom:20px}.system-refresh{width:auto!important;min-width:90px}.system-status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.system-status-card{min-height:126px;border:1px solid #ffffff10;background:#ffffff04;border-radius:14px;padding:17px;display:flex;flex-direction:column;gap:7px}.system-status-label{font-size:10px;letter-spacing:1.6px;font-weight:900;color:#89929f}.system-status-card strong{font-size:20px;color:#f4f6f8;display:flex;align-items:center;gap:8px}.system-status-card small{font-size:11px;color:#87909c;line-height:1.35}.status-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#747b85;box-shadow:0 0 0 4px #ffffff08}.status-dot.online{background:#b8ff26;box-shadow:0 0 0 4px #b8ff2615}.status-dot.offline{background:#ff6868;box-shadow:0 0 0 4px #ff686815}.status-dot.idle{background:#e4b84c}.storage-meter{height:4px;background:#ffffff0b;border-radius:10px;overflow:hidden;margin-top:auto}.storage-meter i{height:100%;display:block;background:#b8ff26;border-radius:10px}.system-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.system-panel-head h2{margin:2px 0 0;font-size:22px}.system-count{min-width:28px;height:28px;border-radius:99px;background:#b8ff2615;color:#b8ff26;display:grid;place-items:center;font-weight:900;font-size:12px}.system-count.danger{background:#ff686815;color:#ff7b7b}.system-queue,.system-mini-list{display:flex;flex-direction:column;gap:8px}.system-job{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 15px;background:#ffffff04;border:1px solid #ffffff0b;border-radius:12px}.system-job-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.system-job-copy strong{font-size:14px}.system-job-copy span,.system-job-copy small{font-size:11px;color:#8f98a5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.system-job-state{display:flex;align-items:center;gap:10px}.system-job-state b{font-size:12px;color:#b8ff26}.system-lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.system-mini-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 13px;border-bottom:1px solid #ffffff0b}.system-mini-list>div:last-child{border-bottom:0}.system-mini-list strong{font-size:13px}.system-mini-list span,.system-mini-list small{font-size:10.5px;color:#89929f}.failed-job>span{display:flex;flex-direction:column;gap:3px}.retry-system-btn{width:auto!important;min-width:70px;padding:8px 12px!important}.system-empty{padding:18px!important;color:#7f8995!important;font-size:12px!important;justify-content:center!important}.system-empty.good{color:#b8ff26!important}.system-settings-grid{margin-top:16px}
@media(max-width:1100px){.system-status-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.system-dashboard-card{padding:16px;border-radius:14px}.system-status-grid,.system-lower-grid{grid-template-columns:1fr}.system-job{align-items:flex-start;flex-direction:column}.system-job-state{width:100%;justify-content:space-between}.system-head{align-items:flex-start}.system-refresh{margin-top:8px}}
