/* Reference composition v2. All content and controls are real HTML. */
[data-orbital="orbital-app"]{background:#030b14!important}
[data-orbital="orbital-app"]::before,[data-orbital="orbital-app"]::after{display:none!important}
.orbital-brand{left:3.5%;top:2.5%;width:225px;height:62px;position:fixed}.orbital-brand img{object-fit:contain;object-position:left center;filter:drop-shadow(0 3px 8px #000a)}
.orbital-dock{height:108px;bottom:0;left:0;transform:none;width:100%;padding:0 18%;border-radius:50% 50% 0 0/35% 35% 0 0;background:linear-gradient(180deg,#09101bcc,#030a13f5);border-top:1px solid #b9c5cea0;border-bottom:0;box-shadow:0 -3px 12px #2988ef33}
.orbital-dock a{font-size:14px;letter-spacing:.08em;flex-direction:column;gap:7px;border-bottom:0;position:relative}.orbital-dock a[aria-current]::after{content:"";position:absolute;bottom:4px;left:0;right:0;height:3px;background:#31a2ff;box-shadow:0 0 15px #167bff}.orbital-dock svg{width:34px;height:34px;stroke:currentColor;stroke-width:1.7;fill:none}.orbital-dock a span{display:flex;align-items:center}
[data-orbital="orbital-app"] .webapp-install-wrap{display:none!important}.global-web-logout,.webapp-logout-btn{font-size:12px!important;height:36px!important;min-height:36px!important;background:#030b14aa!important;right:3%!important;top:3%!important}
.reference-top{position:absolute;right:3.5%;top:3.5%;display:flex;gap:22px;align-items:center;z-index:10}.reference-clock{font-size:22px;color:#d0d8e4;font-weight:300}.reference-avatar{width:50px;height:50px;border-radius:50%;border:1px solid #d5ba85;overflow:hidden;background:#103a66;display:grid;place-items:center}.reference-avatar img{width:100%;height:100%;object-fit:contain}
/* Home: the hero art fills the scene, the title stays in the left lower quarter. */
body:has(.reference-hero){background:#020811 url(v2/home.png) center top/100vw auto no-repeat!important;min-height:100vh}
body:has(.reference-hero) .app{height:max(100vh,56.25vw);min-height:0!important;background:transparent!important;padding:0!important;overflow:hidden}
body:has(.reference-hero) .app::before{display:none!important}
body:has(.reference-hero) .app>.content{padding:0!important;margin:0!important;height:100%;max-width:none;position:relative;z-index:2}
body:has(.reference-hero) .reference-hero{position:absolute;inset:0;display:block!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;min-height:0!important}
body:has(.reference-hero) .reference-hero>.info{position:absolute;left:5.35%;top:35%;width:73%;padding:0;max-width:none;background:none;border:0;box-shadow:none}
body:has(.reference-hero) .reference-hero h1{font-size:clamp(30px,3.2vw,56px);font-weight:300!important;text-transform:uppercase;letter-spacing:.2em;margin:0 0 12px;line-height:1.1;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;text-shadow:0 3px 10px #0009}
body:has(.reference-hero) #orbitalFeaturedMeta{display:none}
body:has(.reference-hero) #orbitalFeaturedPlot{font-size:clamp(14px,1.2vw,22px);letter-spacing:.18em;line-height:1.4;max-width:62%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 3px 8px #000}
body:has(.reference-hero) .poster-box{display:none!important}
body:has(.reference-hero) .play-feature{min-width:260px;height:60px;padding:0 35px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-size:20px;letter-spacing:.12em;margin-top:25px;background:linear-gradient(180deg,#1c82ed,#00237c)!important;border:1px solid #65daf3!important;box-shadow:inset 0 0 16px #2b91ff,0 0 20px #137aff66;gap:20px;font-weight:500!important}
body:has(.reference-hero) .global-search{position:absolute;right:11%;top:2.5%;width:135px;height:48px;margin:0;z-index:30}
body:has(.reference-hero) .global-search-box{height:48px;background:transparent;border:0;backdrop-filter:none;padding:0;gap:9px}.global-search-hint{display:none!important}
body:has(.reference-hero) #globalSearchInput{width:110px;min-height:40px!important;height:40px!important;background:transparent!important;border:0!important;padding:8px 0!important;font-size:14px;box-shadow:none}
body:has(.reference-hero) #globalSearchInput::placeholder{font-size:0}body:has(.reference-hero) #globalSearchInput:focus{width:300px;background:#091629e8!important;border:1px solid #59728c!important;padding:8px 12px!important;outline:none!important}
body:has(.reference-hero) .global-results{width:min(600px,85vw);right:0;left:auto;max-height:65vh;overflow:auto}
body:has(.reference-hero) .global-web-logout,body:has(.reference-hero) .webapp-logout-btn{display:none!important}
body:has(.reference-hero) .reference-extra{display:none!important}
.reference-resume{position:absolute;right:1.5%;top:18%;width:10.2%;height:43%;padding:12px 0;background:transparent;font-size:14px;color:#c4cdd9}
.reference-resume>small{font-size:17px;display:block;margin-bottom:24px;color:#aab8c9}.reference-resume #continueSection .row-head{display:none}.reference-resume .cards{display:block!important;overflow:hidden!important}.reference-resume .continue-card{width:100%!important;min-width:0!important;display:none}.reference-resume .continue-card:first-child{display:block!important}.reference-resume .movie-card{width:100%;min-width:0;display:none}.reference-resume .movie-card:first-child{display:block}.reference-resume img{width:100%!important;height:auto!important;max-height:240px;object-fit:cover;border-radius:28px!important}.reference-resume a{color:#d5dfef;text-decoration:none}.reference-resume .card-title{font-weight:400;margin-top:12px;display:block}.reference-resume #referenceResumeEmpty{padding-top:15px;line-height:1.6}.reference-resume #referenceResumeEmpty a{color:#7dbfff}
body:has(.reference-hero) .orbital-dock{top:63%;bottom:auto;left:13%;width:75%;height:11%;padding:0;gap:20px;background:transparent;border:0;box-shadow:none;border-radius:0}
body:has(.reference-hero) .orbital-dock a{font-size:19px;flex-direction:row;gap:20px;letter-spacing:.08em;border:1px solid #7b94af7a;background:linear-gradient(155deg,#6b788385,#091120cc 40%,#040a13dd 70%,#586b7b80);border-radius:60% 10% 16% 15%/60% 25% 30% 20%;transform:skewX(15deg) rotate(3deg);box-shadow:inset 1px 1px 2px #d9e0e9,0 12px 17px #0005;text-transform:uppercase}
body:has(.reference-hero) .orbital-dock a:nth-child(2){transform:skewX(10deg) rotate(2deg)}body:has(.reference-hero) .orbital-dock a>*{transform:skewX(-12deg) rotate(-3deg)}
body:has(.reference-hero) .orbital-dock a[aria-current]{background:linear-gradient(165deg,#57a1ff,#0438c4 30%,#020b36 70%,#123994);border:1px solid #639bdb;box-shadow:inset 2px 1px 7px #abc8ff,0 0 25px #164aff77;color:white}.reference-home-status{position:absolute;left:3.5%;bottom:6.5%;font-size:14px;color:#bccada;letter-spacing:.08em}.reference-home-status::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;background:#73c02e;box-shadow:0 0 8px #8ddd5b;margin-right:13px}.reference-home-settings{position:absolute;right:3.5%;bottom:5.6%;font-size:16px;color:#b8c9dd;text-decoration:none}
/* Movies: horizontally curved carousel and top genre pills. */
body:has(.reference-movie-billboard){background:#020b14 url(v2/movies.png) center top/100vw auto no-repeat!important}
body:has(.reference-movie-billboard) .layout.has-panel{display:block!important;padding:0!important;min-height:max(100vh,56.25vw)}
body:has(.reference-movie-billboard) .layout>.main{padding:0!important}
body:has(.reference-movie-billboard) .catalog-main{position:relative;min-height:max(100vh,56.25vw);padding-top:0!important}
body:has(.reference-movie-billboard) .layout>.panel{position:absolute;left:34%;right:20%;top:3.5%;padding:0!important;z-index:20}
body:has(.reference-movie-billboard) .panel-card{height:48px!important;display:flex;align-items:center;gap:12px;overflow-x:auto;overflow-y:hidden;background:transparent!important;border:0!important;box-shadow:none;border-radius:0!important;padding:0!important;scrollbar-width:none}
body:has(.reference-movie-billboard) .catalog-panel-title,body:has(.reference-movie-billboard) .catalog-cat-label{display:none}
body:has(.reference-movie-billboard) .cat{padding:10px 22px;font-size:14px;min-height:42px;white-space:nowrap;flex-shrink:0;margin:0;background:#09131ac4!important;font-weight:400}
body:has(.reference-movie-billboard) .catalog-head,body:has(.reference-movie-billboard) .catalog-sort{display:none}
body:has(.reference-movie-billboard) .catalog-tools{position:absolute;right:6%;top:3%;z-index:30;width:200px;padding:0;background:none;max-height:48px}
body:has(.reference-movie-billboard) .catalog-find input{height:42px!important;min-height:42px!important;border:0!important;background:transparent!important;padding-left:40px!important;width:180px;font-size:14px}
body:has(.reference-movie-billboard) .catalog-find i{left:6px;font-size:24px}
body:has(.reference-movie-billboard) .reference-movie-billboard{position:relative;padding:7.1% 4.3% 0;max-width:950px;z-index:2;pointer-events:none}
.reference-movie-billboard>small{font-size:16px;color:#e2c489;letter-spacing:.2em;border-bottom:1px solid #d5b775;padding-bottom:10px;display:inline-block}
.reference-movie-billboard h1{font-size:clamp(35px,4vw,72px);letter-spacing:.17em;text-transform:uppercase;font-weight:300!important;margin:30px 0 14px;line-height:1.1;background:linear-gradient(180deg,#fff,#8ccaff);background-clip:text;-webkit-background-clip:text;color:transparent}
.reference-film-meta{display:flex;align-items:center;gap:14px;color:#e0e5ec;font-size:16px}.reference-film-meta span{padding:5px 14px;border:1px solid #526576;border-radius:999px;background:#0a1421aa}
.reference-movie-billboard p{font-size:20px;font-weight:300;margin:20px 0;line-height:1.4;max-width:640px;min-height:28px}.reference-film-actions{display:flex;gap:14px;pointer-events:auto}.reference-film-actions .btn,.reference-favorite{height:60px;min-width:205px;font-size:20px;padding:0 30px;display:inline-flex;justify-content:center;align-items:center;font-weight:400!important;border-radius:999px;color:#e8f1ff}.reference-favorite{border:1px solid #6e8095;background:#050d18aa;cursor:pointer}
.reference-carousel-wrap{position:relative;margin:2vw 4.5% 0 20.8%;width:73.2%;z-index:3;perspective:1100px}
body:has(.reference-movie-billboard) .catalog-grid{display:flex!important;gap:22px;overflow-x:auto;overflow-y:hidden;align-items:center;padding:20px 24px 26px;scroll-snap-type:x mandatory;scrollbar-width:none;perspective:1400px;height:clamp(280px,23vw,390px)}
body:has(.reference-movie-billboard) .poster{flex:0 0 18%;height:90%;position:relative;scroll-snap-align:center;transform:rotateY(8deg) scale(.94);transition:transform .25s,border-color .25s;background:transparent!important;border-radius:4px!important;padding:0!important;text-decoration:none;border:1px solid #8194a784;overflow:hidden}
body:has(.reference-movie-billboard) .poster img{width:100%;height:100%!important;object-fit:cover;border:0!important;border-radius:0!important;box-shadow:none!important}
body:has(.reference-movie-billboard) .poster>b{position:absolute;left:0;right:0;bottom:0;padding:12px;background:linear-gradient(transparent,#030912df);color:#e9f4ff;font-size:12px;font-weight:400}.poster-meta{display:none!important}
body:has(.reference-movie-billboard) .poster.reference-selected{transform:rotateY(0) scale(1);height:100%;border:2px solid #38a5ff;border-radius:14px!important;box-shadow:0 0 20px #148bff9c;flex-basis:23%}
.reference-carousel-arrow{position:absolute;top:45%;width:52px;height:52px;background:#07111bab;border:1px solid #8798ab66;border-radius:50%;color:#d6e3f4;font-size:35px;cursor:pointer;z-index:5}.reference-carousel-arrow.prev{left:-25%}.reference-carousel-arrow.next{right:-4%}
body:has(.reference-movie-billboard) .catalog-load{font-size:11px;opacity:.6;min-height:20px;justify-content:flex-end;padding-right:7%}
/* Live view: original three-column proportions and empty lower dock. */
body:has(#livePlayerBox){background:#030c15 url(v2/live.png) center/cover fixed!important}
body:has(#livePlayerBox) .layout.has-panel{grid-template-columns:210px minmax(0,1fr)!important;padding:120px 28px 130px!important}
body:has(#livePlayerBox) .panel-card{height:calc(100vh - 250px)!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none;border-radius:0!important}
body:has(#livePlayerBox) .channels{grid-template-columns:300px minmax(0,1fr)!important;gap:24px!important}
body:has(#livePlayerBox) .chan-list{height:calc(100vh - 270px)!important;overflow:auto!important;background:transparent!important;border:0!important}
body:has(#livePlayerBox) .chan{min-height:84px!important;padding:15px 22px!important;border-bottom:0!important;font-weight:400}.chan img{width:70px!important;height:45px!important;object-fit:contain}.chan b{font-size:17px!important;font-weight:400!important}
body:has(#livePlayerBox) .cat{display:block;min-height:58px;display:flex;align-items:center;margin:0 0 16px;font-size:17px;padding:14px 22px!important;box-sizing:border-box}
body:has(#livePlayerBox) .live-catalog-title,body:has(#livePlayerBox) .live-search-note{display:none}
body:has(#livePlayerBox) .search{padding:0 0 16px;background:transparent}
body:has(#livePlayerBox) .topline{position:absolute;right:7%;top:4%;font-size:20px!important;font-weight:300!important}
body:has(#livePlayerBox) #livePlayerBox{border-radius:35px 25px 32px 32px!important;border:1px solid #6485a178!important;transform:perspective(1800px) rotateY(-4deg);box-shadow:0 4px 22px #000c,0 0 0 4px #081321}
body:has(#livePlayerBox) #livePlayerBox::before{content:"● AO VIVO";position:absolute;left:28px;top:20px;font-size:18px;border-radius:9px;padding:5px 12px;background:#f43b48;box-shadow:0 0 16px #fd374a;color:white;z-index:10;pointer-events:none}
body:has(#livePlayerBox) .live-status{top:65px!important;font-size:12px!important}.live-playerbox:fullscreen{transform:none!important}
body:has(#livePlayerBox) .chan-title{position:relative;margin:-86px 0 0!important;padding:12px 30px 45px;z-index:6;pointer-events:none;font-size:28px;max-width:70%;text-shadow:0 2px 12px #000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:has(#livePlayerBox) .actions{justify-content:flex-end;margin:12px 0;gap:10px}.orbital-epg{background:transparent;border:0;border-radius:0;padding:10px 45px;font-size:18px;margin-top:12px;min-height:95px}.orbital-epg p{display:inline-block;min-width:40%;margin:10px 30px 10px 0;border-right:1px solid #789ab633;padding-right:20px}
/* Series: left curved poster and right season/episode columns. */
body:has(.reference-series-hero){background:#050c14 url(v2/series.png) center top/100vw auto no-repeat!important}
body:has(.reference-series-hero)>.wrap{padding:95px 3.2% 140px!important;max-width:none;display:block!important;min-height:100vh}
body:has(.reference-series-hero)>.top{background:transparent!important;border:0!important;box-shadow:none}.top .menu{display:none!important}
body:has(.reference-series-hero) .reference-series-hero{background:none!important;border:0!important;box-shadow:none!important;display:block!important;min-height:115px!important;padding:0 0 0 46%!important;border-radius:0!important}
body:has(.reference-series-hero) .reference-series-hero .poster{position:absolute;left:0;top:75px;width:34vw;height:calc(100vh - 160px);overflow:hidden;clip-path:ellipse(92% 68% at 7% 39%);border:0!important;border-radius:0;box-shadow:none}
body:has(.reference-series-hero) .reference-series-hero .poster img{width:100%;height:100%;object-fit:cover;border:0!important;border-radius:0!important}
body:has(.reference-series-hero) .reference-series-hero .info{padding:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;margin:0;max-width:none}
body:has(.reference-series-hero) .bar{background:transparent!important;box-shadow:none!important;font-size:13px;color:#b1bfd1;padding:0;margin:0 0 8px;letter-spacing:.1em}
body:has(.reference-series-hero) .reference-series-hero h1{font-size:48px!important;text-transform:uppercase;letter-spacing:.2em;line-height:1.1;font-weight:300!important;margin:0 0 15px}
body:has(.reference-series-hero) .reference-series-hero .meta{margin:0 0 12px;font-size:14px}.meta .pill{padding:6px 22px;background:#33414e77;border:1px solid #8c9bad99;font-weight:400;box-shadow:none}
body:has(.reference-series-hero) .reference-series-hero .plot{font-size:18px;line-height:1.4;max-height:52px;overflow:hidden;margin:0}
body:has(.reference-series-hero) .reference-series-hero .play,body:has(.reference-series-hero) .season-title{display:none!important}
body:has(.reference-series-hero) .seasons{margin:28px 0 20px 42%;display:flex;gap:12px;background:#14213088;border-radius:999px;padding:3px;justify-content:center;width:55%}
body:has(.reference-series-hero) .season-btn{flex:1;min-height:45px;display:grid;place-items:center;border:0!important;background:transparent!important;margin:0!important;font-size:17px;font-weight:400!important;color:#bac6d8}
body:has(.reference-series-hero) .season-btn.active{background:linear-gradient(180deg,#1d79e2,#064097)!important;border:1px solid #29a9ff!important}
body:has(.reference-series-hero) .episodes{margin:0 0 0 34%;max-width:none!important;gap:16px}
body:has(.reference-series-hero) .episodes .ep{height:140px;grid-template-columns:35% minmax(0,1fr) 65px!important;grid-template-rows:35px auto;gap:4px 25px;padding:10px 18px!important;background:linear-gradient(110deg,#14212d95,#091420b8)!important;border:0!important;border-radius:25px!important;transform:perspective(1700px) rotateY(-3deg)}
body:has(.reference-series-hero) .episodes .ep:hover,body:has(.reference-series-hero) .episodes .ep:focus-visible{border:2px solid #32a7ff!important;box-shadow:0 0 16px #1692ff88!important}
body:has(.reference-series-hero) .ep img{grid-row:1/3;width:100%!important;height:120px!important;border-radius:22px!important;object-fit:cover}
body:has(.reference-series-hero) .ep b{font-size:21px;font-weight:500}.ep small{font-size:15px;line-height:1.4;color:#b0bdce;align-self:start}.reference-ep-play{grid-column:3;grid-row:1/3;border:1px solid #b5c4d04d;border-radius:50%;width:46px;height:46px;display:grid;place-items:center;background:#6a7c8b33;color:#e3ecf7;font-size:20px}
/* Administrative login: reference image is a paint layer under native inputs. */
body.reference-admin-login{display:grid!important;place-items:center;background:#030811!important;min-height:100vh;margin:0;overflow:auto}
.reference-admin-stage{width:min(100vw,177.7778vh);aspect-ratio:16/9;position:relative;background:url(v2/admin-reference-syndor.png) center/100% 100% no-repeat}
.reference-admin-intro{display:none}.reference-admin-card{position:absolute;left:55.8%;top:7.3%;width:39.2%;height:82.7%;background:transparent;border:0;color:transparent}
.reference-admin-card>h1,.reference-admin-subtitle{color:transparent;position:absolute;left:12%;top:9%;margin:0;font-size:clamp(20px,2.6vw,46px);font-weight:600;letter-spacing:0;white-space:nowrap}.reference-admin-subtitle{top:18%;font-size:clamp(15px,1.8vw,30px);font-weight:400}
.reference-admin-form label{position:absolute;left:10%;width:81%;font-size:20px;color:transparent;display:block;line-height:30px}
.reference-admin-user{top:26.4%}.reference-admin-password{top:42.4%}
body.reference-admin-login .reference-admin-form input{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;height:clamp(34px,4.1vw,66px);min-height:0!important;width:81%;margin:5px 0 0 15%;padding:8px 8px!important;color:#d9e3f4!important;font-size:clamp(14px,1.3vw,22px);outline:none!important}
body.reference-admin-login .reference-admin-form input:not(:placeholder-shown){background:#0c1b31f5!important}
body.reference-admin-login .reference-admin-submit{position:absolute;left:10%;width:81%;top:59%;height:8.8%;min-height:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:transparent!important;font-size:26px;font-weight:400!important;padding:0;cursor:pointer}
.reference-admin-eye{position:absolute;left:82%;top:48%;height:5%;width:8%;background:transparent;border:0;cursor:pointer}.reference-admin-help{position:absolute;left:10%;width:81%;top:70.5%;height:8.7%;color:transparent;background:transparent;border:0;cursor:pointer}.reference-admin-help-text,.reference-admin-error{position:absolute;left:8%;width:80%;top:80%;color:#e3ecfa;background:#07152aee;padding:14px;border:1px solid #6f8ca7;border-radius:14px;font-size:15px;z-index:20}.reference-admin-error{top:20%;color:#ffb8b8;background:#351321ee}
.custom-admin-login .reference-admin-stage{background-image:var(--admin-background);background-size:cover}
.custom-admin-login .reference-admin-intro{display:block;position:absolute;left:4.2%;top:4%;width:44%;color:#fff}.reference-admin-intro img{width:320px;height:230px;object-fit:contain}.reference-admin-intro h1{font-size:46px;letter-spacing:-.025em;margin:15px 0;font-weight:600}.reference-admin-intro em{color:var(--admin-gold);font-style:normal}.reference-admin-intro p{font-size:21px;color:#bdc9db;line-height:1.4}
.custom-admin-login .reference-admin-card{background:linear-gradient(150deg,#071629f2,#00112beb);border:2px solid var(--admin-gold);border-radius:40px;box-shadow:inset 0 0 20px #2a85df33,0 0 15px #3086ff99}
.custom-admin-login .reference-admin-card>h1,.custom-admin-login .reference-admin-subtitle{color:#f0f4fc}.custom-admin-login .reference-admin-subtitle{color:#a9bad5}.custom-admin-login .reference-admin-form label{color:#dae4f4}
.custom-admin-login .reference-admin-form input{border:1px solid #6380a3!important;border-radius:18px!important;background:#07182d!important;margin-left:0;width:100%;padding-left:22px!important}
body.custom-admin-login .reference-admin-submit{background:linear-gradient(180deg,var(--admin-accent),#052caf)!important;color:white!important;border:1px solid #49c8ff!important;border-radius:24px!important}.custom-admin-login .reference-admin-help{border:1px solid #99aabd;color:#e0e9f4;border-radius:24px}.custom-admin-login .reference-admin-eye{color:#d5e5fa}.custom-admin-login .reference-admin-eye::after{content:"◉";font-size:22px}
.admin-theme-form{display:grid;gap:18px;margin:24px 0;max-width:720px}.admin-theme-form>label{display:grid;gap:10px;color:#d5e1f3}.theme-colors{display:flex;gap:28px}.theme-colors label{display:grid;gap:10px}.theme-colors input[type=color]{width:100px!important;height:50px}.admin-theme-form .theme-check{display:flex;align-items:center;gap:10px;font-size:13px}.admin-theme-form button{min-height:48px}.theme-reset{background:#0b1b2f;border:1px solid #466582;border-radius:999px;color:#b9cce7}.admin-theme-form input[type=file]{padding:12px;font-size:13px}
/* Adapt the same hierarchy to portrait rather than squeezing a TV canvas. */
@media(max-width:1000px){.orbital-brand{width:140px;height:55px;top:15px;left:20px}.orbital-dock{height:80px;padding:0 3%;border-radius:30% 30% 0 0/18% 18% 0 0}.orbital-dock a{font-size:11px}.orbital-dock svg{width:26px;height:26px}
body:has(.reference-hero){background-size:auto 760px;background-position:45% top}body:has(.reference-hero) .app{height:100vh;min-height:760px!important}body:has(.reference-hero) .reference-hero>.info{left:7%;top:35%;width:85%}body:has(.reference-hero) .reference-hero h1{font-size:36px;white-space:normal;letter-spacing:.12em}body:has(.reference-hero) #orbitalFeaturedPlot{white-space:normal;max-width:90%;font-size:16px}body:has(.reference-hero) .reference-resume{display:none}body:has(.reference-hero) .orbital-dock{left:5%;top:auto;bottom:12%;width:90%;height:12%;gap:10px;flex-wrap:wrap}body:has(.reference-hero) .orbital-dock a{flex:0 0 46%;font-size:14px;border-radius:25px;transform:none}body:has(.reference-hero) .orbital-dock a>*{transform:none}body:has(.reference-hero) .reference-top{right:20px;top:20px}.reference-clock{display:none}body:has(.reference-hero) .global-search{top:100px;left:7%;right:7%;width:auto}body:has(.reference-hero) #globalSearchInput{width:100%;background:#071323cc!important;border:1px solid #557ca166!important;padding:10px 14px!important}body:has(.reference-hero) #globalSearchInput::placeholder{font-size:13px}
body:has(.reference-movie-billboard){background-size:auto 900px;background-position:60% top}body:has(.reference-movie-billboard) .layout.has-panel{min-height:100vh!important}body:has(.reference-movie-billboard) .layout>.panel{top:85px;left:5%;right:5%}body:has(.reference-movie-billboard) .reference-movie-billboard{padding:155px 5% 0}body:has(.reference-movie-billboard) .reference-movie-billboard h1{font-size:36px;letter-spacing:.1em;margin-top:24px}.reference-movie-billboard p{font-size:16px}.reference-film-actions .btn,.reference-favorite{height:48px;min-width:0;width:50%;padding:0 15px;font-size:16px}body:has(.reference-movie-billboard) .catalog-tools{top:20px;right:5%;width:140px}body:has(.reference-movie-billboard) .catalog-find input{width:135px}.reference-carousel-wrap{margin:20px 5% 100px;width:90%}body:has(.reference-movie-billboard) .catalog-grid{height:310px;gap:14px;padding:20px 8px}body:has(.reference-movie-billboard) .poster{flex-basis:50%;height:95%}body:has(.reference-movie-billboard) .poster.reference-selected{flex-basis:55%}.reference-carousel-arrow{display:none}
body:has(#livePlayerBox) .layout.has-panel{display:block!important;padding:95px 16px 110px!important}body:has(#livePlayerBox) .panel-card{height:180px!important;overflow:auto!important;background:#071322aa!important;padding:12px!important;border-radius:20px!important;margin-bottom:20px}body:has(#livePlayerBox) .channels{display:flex!important;flex-direction:column}.channels>section{order:0}.chan-list{order:1}body:has(#livePlayerBox) .chan-list{height:250px!important}body:has(#livePlayerBox) .topline{display:none}body:has(#livePlayerBox) #livePlayerBox{transform:none;border-radius:20px!important}body:has(#livePlayerBox) .chan-title{font-size:18px;margin-top:-78px!important;padding:12px 20px 42px}.orbital-epg{padding:10px;font-size:14px}body:has(#livePlayerBox) #livePlayerBox::before{font-size:12px;top:12px;left:12px}body:has(#livePlayerBox) .live-status{top:45px!important}
body:has(.reference-series-hero){background-size:auto 1000px;background-position:30% top}body:has(.reference-series-hero)>.wrap{padding:100px 4% 130px!important}body:has(.reference-series-hero) .reference-series-hero{padding:0!important}body:has(.reference-series-hero) .reference-series-hero .poster{display:none}body:has(.reference-series-hero) .reference-series-hero .info{padding:20px!important;background:#031023cc!important;border-radius:20px!important}body:has(.reference-series-hero) .reference-series-hero h1{font-size:32px!important}body:has(.reference-series-hero) .seasons{margin:24px 0;width:100%;gap:4px;overflow:auto}body:has(.reference-series-hero) .season-btn{font-size:14px;min-width:130px}body:has(.reference-series-hero) .episodes{margin:0;width:100%}body:has(.reference-series-hero) .episodes .ep{height:110px;grid-template-columns:32% 1fr 35px!important;gap:8px;transform:none;padding:10px!important}body:has(.reference-series-hero) .ep img{height:90px!important}body:has(.reference-series-hero) .ep b{font-size:15px}.reference-ep-play{width:30px;height:30px;font-size:13px}.ep small{font-size:11px}
body.reference-admin-login{background:#030d1c var(--admin-background) center/cover!important;padding:25px 0}.reference-admin-stage{width:100%;aspect-ratio:auto;min-height:800px;background:none!important}.reference-admin-intro{display:none!important}.reference-admin-card{position:relative;left:auto;top:auto;width:min(90%,500px);height:750px;margin:auto;background:linear-gradient(150deg,#061b33ed,#000e22f0)!important;border:1px solid var(--admin-gold)!important;border-radius:35px;box-shadow:0 0 20px #208aff4d}.reference-admin-card>h1{color:#eaf0fa!important;font-size:29px!important;white-space:normal;left:8%;right:8%;text-align:center;top:8%}.reference-admin-subtitle{color:#a9b9d0!important;font-size:18px;left:8%;right:8%;text-align:center;top:19%}.reference-admin-form label{color:#dbe5f6!important}body.reference-admin-login .reference-admin-form input{border:1px solid #577aa5!important;border-radius:14px!important;background:#091931!important;margin-left:0;width:100%;height:58px;padding-left:18px!important;font-size:17px}body.reference-admin-login .reference-admin-submit{color:white!important;background:linear-gradient(180deg,var(--admin-accent),#0030af)!important;border-radius:20px!important;font-size:21px}.reference-admin-help{border:1px solid #97aabd;border-radius:20px;color:#d2def0;font-size:17px}.reference-admin-eye{color:#d5e5fa;left:80%;top:48%;height:5%}.reference-admin-eye::after{content:"◉";font-size:22px}.reference-admin-help-text{font-size:13px}body:has(.admin-theme-form) .shell{display:block}body:has(.admin-theme-form) aside{height:auto;position:relative;border-radius:0;padding:12px}body:has(.admin-theme-form) aside nav{flex-direction:row;overflow:auto}body:has(.admin-theme-form) aside nav a{white-space:nowrap;font-size:12px;padding:10px}body:has(.admin-theme-form) .content{padding:15px}.theme-colors{flex-wrap:wrap}}
body.reference-settings{background:radial-gradient(ellipse at 0 70%,#0b1e37,#050c15 65%)!important}.reference-settings-grid{display:grid;grid-template-columns:18% 24% minmax(0,1fr);gap:3.5%;padding:115px 4.2% 145px;min-height:100vh;box-sizing:border-box}.reference-profile{padding-top:35px;position:relative}.reference-profile img{width:210px;height:210px;max-width:100%;border-radius:50%;object-fit:cover;border:2px solid #2c8dff;border-left-color:#e1bd83;box-shadow:0 0 18px #137eea88}.reference-profile h2{font-size:32px;font-weight:400;margin:25px 0 22px}.reference-profile hr{border:0;border-top:1px solid #7a8b9f77;margin:0 0 25px}.reference-profile p{font-size:17px;color:#d4e0f0}.reference-profile small,.reference-account-name{font-size:15px;color:#94a6c0}.reference-profile a{font-size:13px;color:#9dbade;text-decoration:none}.reference-settings-tabs{display:flex;flex-direction:column;gap:16px;padding:38px 8px;border-left:1px solid #55779188;border-right:1px solid #bd9b6866;border-radius:30% 25% 35% 20%/35% 40% 30% 20%;background:linear-gradient(90deg,#0b1422aa,#070d1699)}.reference-settings-tabs button{display:flex;align-items:center;gap:20px;width:100%;min-height:86px;border:1px solid #9caeba44;background:linear-gradient(150deg,#1a2430aa,#071320);border-radius:80px 40px 8px 60px;color:#a8b6c9;font-size:24px;padding:18px 26px;text-align:left;cursor:pointer}.reference-settings-tabs button span{font-size:18px;white-space:nowrap}.reference-settings-tabs button.active{background:linear-gradient(120deg,#174fb2,#0b2c6d);border-color:#43a6ff;color:#d8edff;box-shadow:0 0 20px #268bff55,inset 0 0 10px #8fd0ff55}.reference-settings-content{padding-top:0;min-width:0}.reference-settings-content>small{font-size:13px;color:#b5c3d6;letter-spacing:.12em}.reference-settings-content h1{font-size:47px;font-weight:400;letter-spacing:0;margin:15px 0 28px}.reference-setting-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 32px;background:linear-gradient(130deg,#141f2dcc,#091321);border:1px solid #758da53b;border-radius:26px;margin-bottom:16px;min-height:93px;box-sizing:border-box}.reference-setting-row:first-child{border-color:#2a8fff;box-shadow:0 0 14px #2480f055}.reference-setting-row>span:first-child{font-size:26px;color:#d3dfed}.reference-setting-row b{font-size:22px;font-weight:400;margin-left:20px}.reference-setting-row small{display:block;font-size:16px;font-weight:300;color:#9eacc0;margin:7px 0 0 50px}.reference-setting-row input[type=checkbox]{appearance:none;width:60px;height:30px;border-radius:30px;position:relative;flex-shrink:0;background:#344154;border:0;cursor:pointer}.reference-setting-row input[type=checkbox]::after{content:"";position:absolute;left:4px;top:3px;width:24px;height:24px;border-radius:50%;background:#e0eaf8;box-shadow:0 0 6px #fff5}.reference-setting-row input[type=checkbox]:checked{background:#096bff}.reference-setting-row input[type=checkbox]:checked::after{left:32px}.reference-settings select{border:0!important;background:transparent!important;font-size:19px;color:#d4dfeb!important;max-width:45%;text-align:right}.reference-settings select option{background:#071422}.reference-settings input[type=range]{max-width:40%;accent-color:#278cff}.reference-settings-bottom{display:flex;justify-content:center;gap:18px;margin-top:28px}.reference-settings-action{border:1px solid #7e93a655;border-radius:999px;color:#c8d6e8;padding:16px 28px;background:#0a1421;font-size:17px;cursor:pointer}.reference-settings-content>p{font-size:14px;color:#b2c3d9}.reference-settings [hidden]{display:none!important}
@media(max-width:1000px){.reference-settings-grid{display:block;padding:100px 5% 120px}.reference-profile{display:flex;align-items:center;gap:15px;flex-wrap:wrap;padding-top:0}.reference-profile img{width:85px;height:85px}.reference-profile h2{font-size:25px}.reference-profile hr,.reference-profile p,.reference-profile small,.reference-profile a{display:none}.reference-settings-tabs{flex-direction:row;overflow:auto;gap:8px;padding:16px 0;border:0;background:none}.reference-settings-tabs button{min-height:50px;min-width:150px;gap:10px;padding:10px 18px;border-radius:999px;font-size:20px}.reference-settings-tabs button span{font-size:13px}.reference-settings-content h1{font-size:32px;margin:12px 0 22px}.reference-setting-row{padding:18px 15px;min-height:90px;border-radius:20px;gap:10px}.reference-setting-row>span:first-child{font-size:18px}.reference-setting-row b{font-size:16px;margin-left:8px}.reference-setting-row small{font-size:12px;margin-left:25px}.reference-settings select{font-size:14px;max-width:43%}.reference-settings-bottom{gap:8px;flex-direction:column}.reference-settings-action{font-size:15px}.reference-setting-row input[type=checkbox]{width:50px;height:26px}.reference-setting-row input[type=checkbox]::after{width:20px;height:20px}.reference-setting-row input[type=checkbox]:checked::after{left:27px}}
/* Explicit overrides for legacy selectors whose !important specificity is higher. */
body[data-orbital="orbital-admin"].reference-admin-login:not(.custom-admin-login) .reference-admin-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]){position:absolute;left:15%;top:30px;margin:0!important;width:81%;height:65px;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-height:0!important}
body[data-orbital="orbital-admin"].reference-admin-login:not(.custom-admin-login) .reference-admin-form input:not(:placeholder-shown){background:#0a1a31f5!important}
body[data-orbital="orbital-admin"].reference-admin-login:not(.custom-admin-login) .reference-admin-form .reference-admin-submit{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:transparent!important}
body[data-orbital="orbital-admin"].reference-admin-login .reference-admin-submit{top:59%!important;left:10%!important;margin:0!important}
body[data-orbital="orbital-admin"]>.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}
body[data-orbital="orbital-admin"]>.shell>.side{position:sticky;top:0;height:100vh;padding:22px 16px;box-sizing:border-box}
body[data-orbital="orbital-admin"]>.shell>.side>.brand{display:flex;align-items:center;gap:12px;padding:8px 8px 25px;font-size:19px}
body[data-orbital="orbital-admin"]>.shell>.main{min-width:0}
body[data-orbital="orbital-admin"]>.shell>.main>.top{height:75px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid #ba9c6755}
body[data-orbital="orbital-admin"]>.shell>.main>.top h1{font-size:23px;font-weight:500;margin:0}
body[data-orbital="orbital-admin"]>.shell>.main>.top a{color:#b2d2fb;text-decoration:none;border:1px solid #4f7296;padding:10px 22px;border-radius:999px}
body[data-orbital="orbital-admin"]>.shell>.main>.content{padding:28px;max-width:1250px;margin:auto}
body[data-orbital="orbital-admin"] .welcome{padding:28px}.admin-theme-form input{width:100%}.admin-theme-form .theme-check input{width:18px}.admin-theme-form input[type=color]{height:50px;width:110px;display:block}
body:has(.reference-movie-billboard) .panel-card{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.reference-carousel-wrap{margin-top:0}
body:has(.reference-series-hero)>.wrap{width:100%!important;margin:0!important}
body:has(.reference-series-hero)>.top{position:absolute!important;top:0;left:0;right:0;height:0!important;padding:0!important}
body:has(.reference-series-hero) .reference-series-hero{overflow:visible!important}
body:has(.reference-series-hero) .reference-series-hero::before{display:none!important}
body:has(.reference-series-hero) .reference-series-hero .info{position:relative!important;left:auto!important;bottom:auto!important;width:100%!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none}
body:has(.reference-series-hero) .ep b{padding:6px 0!important}.ep small{padding:3px 0!important}
@media(max-width:1000px){body[data-orbital="orbital-admin"]:has(.admin-theme-form)>.shell{display:block}body[data-orbital="orbital-admin"]:has(.admin-theme-form)>.shell>.side{position:relative;height:auto}body[data-orbital="orbital-admin"]:has(.admin-theme-form)>.shell>.main>.content{padding:14px}body[data-orbital="orbital-admin"].reference-admin-login:not(.custom-admin-login) .reference-admin-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]){position:relative;left:0;top:0;margin:5px 0 0!important;width:100%;height:58px;background:#081930!important;border:1px solid #527ba9!important;border-radius:14px!important;padding-left:18px!important}body[data-orbital="orbital-admin"].reference-admin-login:not(.custom-admin-login) .reference-admin-form .reference-admin-submit{background:linear-gradient(180deg,var(--admin-accent),#093da9)!important;color:white!important;border-radius:20px!important}}
*,*::before,*::after{box-sizing:border-box}
body:has(.reference-series-hero)>.wrap{padding-top:60px!important}
body:has(.reference-series-hero) .reference-series-hero .poster{position:fixed!important;left:0!important;top:0!important;width:36vw!important;height:87vh!important;clip-path:ellipse(99% 75% at 0 42%);z-index:0}
body:has(.reference-series-hero) .reference-series-hero .info{z-index:2}
body:has(.reference-series-hero) .reference-series-hero .bar{height:15px;line-height:15px;margin-bottom:11px}
body:has(.reference-series-hero) .reference-series-hero h1{margin-bottom:10px}
body:has(.reference-series-hero) .reference-series-hero .meta{margin-bottom:10px}
body:has(.reference-series-hero) .seasons{margin-top:14px;position:relative;z-index:2}
body:has(.reference-series-hero) .episodes{position:relative;z-index:2}
.reference-resume .movie-card{height:auto!important;min-height:270px!important;content-visibility:visible;contain-intrinsic-size:auto}.reference-resume .card-title{position:relative!important;bottom:auto;left:auto;right:auto;background:none;padding:10px 0;font-size:16px;font-weight:400}.reference-resume .continue-time{position:relative;display:block;margin-top:10px;bottom:auto;right:auto;background:none;padding:0;font-size:12px;font-weight:400;color:#b0c4df}.reference-resume .continue-card::after{display:none}.reference-resume .continue-progress{display:none}.reference-resume .continue-time::before{content:"◯";color:#2989ff;font-size:27px;vertical-align:middle;margin-right:12px}
@media(max-width:1000px){body:has(.reference-series-hero)>.wrap{padding-top:100px!important}}
.reference-current-live{position:absolute;left:3.5%;bottom:12.5%;z-index:4;color:#c5d1df;text-decoration:none;font-size:14px}.reference-current-live small{display:block;letter-spacing:.15em;color:#d2dcec;font-size:12px;margin-bottom:9px}.reference-current-live small::first-letter{color:red}.reference-current-live span{display:flex;align-items:center;gap:14px}.reference-current-live img{width:120px;height:50px;object-fit:cover;border-radius:8px}.reference-current-live b{font-weight:400}
@media(max-width:1000px){.reference-current-live{display:none}}
@media(min-width:1001px){.admin-theme-form{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;gap:18px 28px;align-items:center}.admin-theme-form>label{min-width:0}.theme-colors{gap:25px}.admin-theme-form .theme-check{padding-top:20px}.admin-theme-form input[type=file]{min-height:50px}.admin-theme-form button{height:50px}}
@media(min-width:1001px){body:has(.reference-movie-billboard) .reference-carousel-wrap{margin-top:-2.8vw}body:has(.reference-movie-billboard) .catalog-grid{height:clamp(280px,24vw,400px)}}
body:has(.reference-movie-billboard) .poster>b{opacity:0;transition:opacity .2s}body:has(.reference-movie-billboard) .poster:hover>b,body:has(.reference-movie-billboard) .poster:focus-visible>b{opacity:1}
body:has(.login-shell){background:#031022 url(v2/admin.png) center/cover fixed!important}

/* Supplied Syndor logo stays a native asset above the reference artwork. */
.reference-admin-default-logo{position:absolute;left:4.2%;top:4%;width:26%;height:28%;object-fit:contain}
@media(max-width:1000px){.reference-admin-default-logo{position:relative;display:block;left:auto;top:auto;width:240px;height:155px;margin:0 auto 20px}}

/* Keep the complete login reachable at every viewport height. */
body:has(.login-shell) .login-bg{height:auto!important;min-height:100dvh;overflow:clip;align-items:center;padding:24px 16px}
.login-shell .brand-mark{width:170px;height:100px;max-width:100%}
.login-shell .brand-mark img{max-width:100%!important;max-height:100%!important}
body[data-orbital] .login-shell .input-wrap input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body[data-orbital] .trial-name-wrap input{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;margin:0;padding:0;min-height:0;height:100%;width:100%}
.login-shell .input-icon{flex:0 0 24px;display:grid;place-items:center}
.login-shell i::before,.trial-modal i::before{display:none!important}
.login-shell i svg,.trial-modal i svg{display:block;width:22px;height:22px}
.login-shell .secure-note i svg{width:14px;height:14px}
.login-shell .eye-slash-line{display:none}.login-shell .fa-eye-slash .eye-slash-line{display:block}
@media(max-height:760px){body:has(.login-shell) .login-bg{align-items:start}.login-shell{margin:0 auto}.login-shell .panel{padding-top:24px;padding-bottom:24px}.login-shell .brand{margin-bottom:18px}.login-shell .brand-mark{height:78px;margin-bottom:10px}.login-shell .login-badge{margin-bottom:18px}}

/* Desktop login sits on the right, leaving the orbital artwork visible. */
@media(min-width:901px){body:has(.login-shell) .login-bg{justify-items:end;padding-left:5vw;padding-right:7vw}.login-bg .login-shell{margin:0;width:min(470px,100%)}}
@media(max-width:900px){body:has(.login-shell) .login-bg{justify-items:center}.login-bg .login-shell{margin:0 auto}}

/* Responsive viewport and safe areas for mobile, tablet, desktop and TV. */
html{max-width:100%;-webkit-text-size-adjust:100%}body{min-height:100dvh}img,svg{max-width:100%}
.player-page{min-height:100dvh!important;padding:clamp(8px,2vw,24px)!important}.player-page .box{width:min(100%,1400px)!important;max-width:100%!important}.player-page video,.player-page .vjs-tech{object-fit:contain;object-position:center}
@media(max-width:900px){.orbital-dock{bottom:max(8px,env(safe-area-inset-bottom));max-width:calc(100vw - 20px)}.live-guide-shell{width:min(100%,760px)!important}.reference-settings-bottom{padding-bottom:env(safe-area-inset-bottom)}}
@media(max-height:550px) and (orientation:landscape){body:has(.reference-hero) .app{min-height:550px!important;height:auto!important}.player-page{padding:6px!important}.live-playerbox:fullscreen .live-guide-shell{width:min(70%,760px)!important}.live-guide-head{height:44px!important;flex-basis:44px!important}}
@media(min-width:2000px){.reference-film-meta,.reference-movie-billboard p{font-size:clamp(20px,1vw,32px)}.orbital-dock{max-width:1100px;width:65vw}.orbital-dock a{font-size:18px}.reference-settings-grid{max-width:1900px;margin:auto}}

.player-page .box:fullscreen,.player-page .box:-webkit-full-screen{width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;padding:0!important;border:0!important;border-radius:0!important}

/* Compact navigation stays accessible while independent lists scroll. */
body[data-orbital="orbital-app"] .orbital-dock{position:fixed;top:auto!important;left:0;bottom:0!important;transform:none;width:100%;max-width:none;height:calc(68px + env(safe-area-inset-bottom));padding:0 clamp(12px,16vw,300px) env(safe-area-inset-bottom);border-radius:28% 28% 0 0/18% 18% 0 0;z-index:1000}
body[data-orbital="orbital-app"] .orbital-dock a{font-size:12px;gap:4px;min-height:44px}
body[data-orbital="orbital-app"] .orbital-dock svg{width:26px;height:26px;flex-shrink:0}
body:has(.reference-hero) .orbital-dock{left:50%!important;transform:translateX(-50%)!important;bottom:max(14px,env(safe-area-inset-bottom))!important;width:min(1100px,calc(100% - 40px))!important;height:64px!important;padding:0!important;gap:12px}
body:has(.reference-hero) .orbital-dock a{font-size:15px;gap:12px;min-width:0}
body:has(.reference-hero) .reference-current-live{bottom:110px}
body:has(.reference-hero) .reference-home-status{bottom:94px}
body:has(.reference-hero) .reference-home-settings{bottom:96px}
/* The movie categories and search have their own reserved header areas. */
body:has(.reference-movie-billboard) .layout>.panel{left:190px;right:335px;top:24px}
body:has(.reference-movie-billboard) .catalog-tools{left:auto;right:100px;top:24px;width:210px;max-height:none}
body:has(.reference-movie-billboard) .catalog-find{min-width:0;flex:1 1 auto;margin:0}
body:has(.reference-movie-billboard) .catalog-find input{width:100%;background:#081729e8!important;border:1px solid #49627f!important;padding-left:42px!important}
body:has(.reference-movie-billboard) .reference-movie-billboard{padding-top:110px}
body:has(.reference-movie-billboard) .reference-carousel-wrap{margin-bottom:95px}
/* Only the series list and categories scroll; title, search and navigation stay still. */
body[data-page="series"]{height:100dvh;min-height:0!important;overflow:hidden!important}
body[data-page="series"] .layout.has-panel{display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr);height:100dvh;min-height:0!important;gap:20px;padding:84px 20px calc(84px + env(safe-area-inset-bottom))!important;overflow:hidden}
body[data-page="series"] .layout>.panel{padding:0!important;min-height:0;min-width:0;overflow:hidden}
body[data-page="series"] .panel-card{height:100%!important;min-height:0!important;overflow-y:auto;overscroll-behavior:contain;padding:14px!important;margin:0!important}
body[data-page="series"] .catalog-main{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;padding:0!important;overflow:hidden}
body[data-page="series"] .catalog-head{flex:none;margin:0 0 16px;padding:0 8px}
body[data-page="series"] .catalog-head h1{font-size:clamp(20px,2.3vw,32px);overflow-wrap:anywhere}
body[data-page="series"] .catalog-tools{position:static;flex:none;min-width:0;gap:10px;flex-wrap:nowrap;margin:0 0 12px;padding:0 8px;background:transparent}
body[data-page="series"] .catalog-find{min-width:0;flex:1 1 auto}
body[data-page="series"] .catalog-find input{padding-left:44px!important;width:100%}
body[data-page="series"] .catalog-sort{flex:none}
body[data-page="series"] .series-scroll{flex:1;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-behavior:smooth;padding:8px 10px 16px;border-radius:16px}
body[data-page="series"] .catalog-grid{margin:0!important;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:22px}
body[data-page="series"] .poster{min-width:0}
@media(min-width:701px) and (max-width:1100px){body:has(.reference-movie-billboard) .layout>.panel{left:24px;right:24px;top:86px}body:has(.reference-movie-billboard) .reference-movie-billboard{padding-top:156px}}
@media(max-width:700px){
body[data-orbital="orbital-app"] .orbital-dock{padding-left:8px;padding-right:8px;height:calc(62px + env(safe-area-inset-bottom))}
body[data-orbital="orbital-app"] .orbital-dock a{font-size:10px;letter-spacing:0}
body:has(.reference-hero) .orbital-dock{width:calc(100% - 24px)!important;bottom:max(8px,env(safe-area-inset-bottom))!important;height:62px!important;gap:6px}
body:has(.reference-hero) .orbital-dock a{flex-direction:column;font-size:10px;gap:5px;transform:none;border-radius:18px}
body:has(.reference-hero) .orbital-dock a:nth-child(2),body:has(.reference-hero) .orbital-dock a>*{transform:none}
body:has(.reference-movie-billboard) .catalog-tools{left:20px;right:20px;top:90px;width:auto}
body:has(.reference-movie-billboard) .layout>.panel{left:20px;right:20px;top:150px}
body:has(.reference-movie-billboard) .reference-movie-billboard{padding-top:212px}
body[data-page="series"] .layout.has-panel{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:80px minmax(0,1fr);gap:12px;padding:84px 12px calc(76px + env(safe-area-inset-bottom))!important}
body[data-page="series"] .panel-card{display:flex;gap:8px;align-items:center;overflow-x:auto;overflow-y:hidden;padding:8px!important;border-radius:18px!important}
body[data-page="series"] .catalog-panel-title,body[data-page="series"] .catalog-cat-label{display:none}
body[data-page="series"] .cat{flex:0 0 auto;margin:0!important;white-space:nowrap;padding:12px!important}
body[data-page="series"] .catalog-head{margin-bottom:10px;gap:6px}
body[data-page="series"] .catalog-head small{display:none}
body[data-page="series"] .catalog-count{font-size:11px}
body[data-page="series"] .catalog-tools{flex-wrap:wrap;gap:8px}
body[data-page="series"] .catalog-find{flex-basis:100%}
body[data-page="series"] .catalog-find input{height:44px!important;min-height:44px!important}
body[data-page="series"] .catalog-sort{display:flex;width:100%;gap:6px}
body[data-page="series"] .catalog-sort a{height:36px;flex:1;font-size:12px;padding:0 8px;min-width:0;justify-content:center}
body[data-page="series"] .catalog-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:12px}
}
/* Home status follows the viewport, independently of the cinematic canvas height. */
body:has(.reference-hero) .reference-current-live{position:fixed;bottom:100px;left:3.5%;z-index:5}
body:has(.reference-hero) .reference-home-settings{position:fixed;bottom:100px;right:3.5%;z-index:5}
body:has(.reference-hero) .reference-home-status{position:fixed;bottom:100px;left:3.5%;z-index:5}
body:has(.reference-current-live) .reference-home-status{display:none}
/* Poster carousel must not cover the watch and favorite buttons. */
body:has(.reference-movie-billboard) .reference-carousel-wrap{margin-top:20px!important}
body:has(.reference-movie-billboard) .reference-movie-billboard{z-index:8}

/* Home utilities share a single stable header. */
body:has(.reference-hero) .reference-top{position:fixed;top:20px;right:3.5%;z-index:60;gap:12px;max-width:calc(100% - 210px)}
body:has(.reference-hero) .reference-top .global-search{position:relative;top:auto;right:auto;width:210px;height:44px;margin:0;flex:none}
body:has(.reference-hero) .global-search-box{height:44px;background:#061426d9;border:1px solid #526880;border-radius:16px;padding:0 12px;gap:8px}
body:has(.reference-hero) #globalSearchInput,body:has(.reference-hero) #globalSearchInput:focus{width:100%;min-width:0;height:40px!important;background:transparent!important;border:0!important;padding:0!important;outline:0!important;box-shadow:none;font-size:14px}
body:has(.reference-hero) #globalSearchInput::placeholder{font-size:13px}
body:has(.reference-hero) .global-results{position:absolute;top:48px;right:0;left:auto;width:min(650px,calc(100vw - 40px));max-height:65dvh;margin:0;z-index:70}
body:has(.reference-hero) .global-items{grid-template-columns:repeat(2,minmax(0,1fr))}
.reference-header-settings{display:grid;place-items:center;width:44px;height:44px;flex:none;border:1px solid #536985;border-radius:14px;background:#061426c9;color:#dce8fa;text-decoration:none}
.reference-header-settings svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}
body:has(.reference-hero) .reference-clock{font-size:20px;min-width:60px;text-align:center}
body:has(.reference-hero) .reference-avatar{width:44px;height:44px;flex:none}
body:has(.reference-hero) .orbital-dock a::after{display:none!important}
body:has(.reference-hero) .reference-home-settings{display:none!important}
/* Film search gets a separate row below the categories. */
body:has(.reference-movie-billboard) .layout>.panel{left:190px;right:110px;top:24px}
body:has(.reference-movie-billboard) .catalog-tools{left:190px;right:auto;top:88px;width:min(420px,calc(100% - 240px))}
body:has(.reference-movie-billboard) .reference-movie-billboard{padding-top:155px}
body:has(#livePlayerBox) .live-list-search{position:sticky;top:0;z-index:8;background:#071422f5;padding:12px 8px;border-bottom:1px solid #637b9744;margin-bottom:8px}
body:has(#livePlayerBox) .live-list-search .search{position:relative;padding:0;background:none;min-width:0}
body:has(#livePlayerBox) .live-list-search input{display:block;width:100%;height:44px!important;padding:0 12px!important;min-height:44px!important}
body:has(#livePlayerBox) .live-list-search .live-search-note{display:none}
@media(min-width:1001px){
body:has(.reference-hero) .reference-resume{top:18%;height:44%;display:flex;flex-direction:column;gap:12px;overflow:hidden;padding:0 0 8px;min-width:0}
body:has(.reference-hero) .reference-resume>small{margin:0;flex:none;font-size:16px}
body:has(.reference-hero) #continueSection{flex:1;min-height:0}
body:has(.reference-hero) .reference-resume .cards{height:100%;padding:0!important;margin:0!important;overflow:hidden!important}
body:has(.reference-hero) .reference-resume .continue-card:first-child{display:flex!important;flex-direction:column;gap:8px;height:100%;min-height:0;position:relative;padding:0!important;margin:0!important;background:none;box-shadow:none;border:0}
body:has(.reference-hero) .reference-resume .continue-card::after{display:none}
body:has(.reference-hero) .reference-resume img{flex:1;min-height:0;max-height:none!important;height:0!important;width:100%!important;object-fit:contain;border-radius:12px!important}
body:has(.reference-hero) .reference-resume .card-title{flex:none;margin:0;font-size:13px;line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
body:has(.reference-hero) .reference-resume .continue-progress{position:static;flex:none;height:4px;max-width:100%;border-radius:4px;background:#3297ff}
body:has(.reference-hero) .reference-resume .continue-time{position:static;flex:none;margin:0;padding:0;font-size:11px;font-weight:400;line-height:1.4;background:none;white-space:normal}
}
@media(min-width:701px) and (max-width:1100px){body:has(.reference-movie-billboard) .layout>.panel{left:24px;right:24px;top:86px}body:has(.reference-movie-billboard) .catalog-tools{left:24px;right:24px;top:146px;width:auto}body:has(.reference-movie-billboard) .reference-movie-billboard{padding-top:210px}}
@media(max-width:700px){
body:has(.reference-hero) .reference-top{display:grid;grid-template-columns:minmax(0,1fr) 44px 60px 44px;left:16px;right:16px;top:18px;width:auto;max-width:none;gap:10px}
body:has(.reference-hero) .reference-header-settings{grid-column:2;grid-row:1}
body:has(.reference-hero) .reference-clock{grid-column:3;grid-row:1;font-size:18px}
body:has(.reference-hero) .reference-avatar{grid-column:4;grid-row:1}
body:has(.reference-hero) .reference-top .global-search{grid-column:1/-1;grid-row:2;width:100%;margin:0}
body:has(.reference-hero) .global-results{right:0;width:100%}
body:has(.reference-movie-billboard) .layout>.panel{left:20px;right:20px;top:90px}
body:has(.reference-movie-billboard) .catalog-tools{left:20px;right:20px;top:150px;width:auto}
body:has(.reference-movie-billboard) .reference-movie-billboard{padding-top:212px}
}
@media(min-width:1001px){
body:has(.reference-hero) .reference-resume .continue-card:first-child{height:100%!important;aspect-ratio:auto!important;transform:none!important}
body:has(.reference-hero) .reference-resume .card-title{position:static!important;padding:0!important;font-size:13px!important;line-height:1.4!important}
body:has(.reference-hero) .reference-resume .continue-progress{display:block!important}
body:has(.reference-hero) .reference-resume .continue-time::before{display:none}
}
body:has(.reference-hero) .reference-clock{display:block!important}
body[data-orbital="orbital-app"]:has(.reference-movie-billboard) .layout>.panel>.panel-card{height:48px!important;min-height:48px!important;max-height:48px!important;margin:0!important}
body:has(.reference-hero) .reference-top .global-search{left:auto!important;right:auto!important;top:auto!important;width:210px!important;margin:0!important}
@media(max-width:700px){body:has(.reference-hero) .reference-top .global-search{width:100%!important}}

