/* WorkTV identity and Astro. Existing component APIs remain compatible. */
:root{--bg:#070e1c;--panel:#0e1a2c;--panel2:#14233a;--text:#f4f8ff;--muted:#a0b1c8;--red:#1675df;--red2:#53b6ff;--vx-accent:#238cff;--wt-blue:#238cff;--wt-cyan:#62d6ff}
body{background:var(--bg)}
.brand{gap:9px;letter-spacing:-1.3px;font-size:30px;white-space:nowrap}
.brand .brand-mark{background:url('/static/assets/worktv-neon-192-20261017.png') center/contain no-repeat!important;width:32px!important;height:32px!important;clip-path:none;transform:none;margin:0;flex:none}
.brand-mark:before,.brand-mark:after{display:none}
.brand>.brand-name{font-size:inherit;line-height:1;color:#f4f8ff;margin:0}
.brand-name b{color:#62c4ff;font-weight:800}
.header-inner{gap:30px}.header nav{gap:22px}.header-actions{gap:16px}
.btn-primary{background:linear-gradient(115deg,#1675df,#1462c4);box-shadow:0 7px 25px #1688ef25}
.btn-primary:hover{background:#2186f0;box-shadow:0 8px 32px #1688ef40}
.header{background:linear-gradient(#070e1cf5,#070e1c20)}
.vx-enabled.vx-scrolled .header{background:#091426eb}
.hero h1 em{color:#62c4ff}.stars,.hero .eyebrow{color:#a1dcff}
.plan-card.featured{border-color:#368eeb}.avatar{background:#163c66;color:#b5e5ff}
.boot .brand{color:#62c4ff}.boot .brand span{color:#62c4ff}
button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:#6ed9ff}
/* A single interactive character, integrated into the hero. */
.wt-hero,.vx-enabled .wt-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:40px;align-items:center;padding:150px max(56px,calc((100vw - 1320px)/2)) 110px;min-height:min(860px,max(730px,90svh));background:radial-gradient(ellipse at 80% 42%,#113963 0%,#0b203b 25%,#070e1c 65%);isolation:isolate}
.wt-hero .hero-art{display:block!important;background-image:url('/static/assets/worktv-world-v1.webp')!important;background-position:62% center;opacity:.92;filter:saturate(1.08);will-change:transform}
.wt-hero:after,.vx-enabled .wt-hero:after{z-index:1;background:linear-gradient(90deg,#070e1ceb 0%,#070e1cbd 28%,#070e1c40 57%,#070e1c0d 85%),linear-gradient(0deg,#070e1c,transparent 25%,#070e1c12 80%);pointer-events:none}
.wt-hero .hero-content{width:auto;margin:0;padding:0;min-width:0;z-index:3}
.wt-hero h1{font-size:clamp(46px,5.1vw,76px);letter-spacing:-2.5px;line-height:1.06}
.wt-hero .hero-description{font-size:16px;line-height:1.7}
.wt-hero .feature-caption,.wt-hero .vx-orbital-label{display:none!important}
.wt-hero .vx-atmosphere{display:block;z-index:2}.wt-hero .vx-starfield{opacity:.8}.wt-hero .vx-orbit{display:block;left:58%;top:10%;opacity:.55}.wt-hero .vx-coordinate{z-index:3;opacity:.75}.wt-hero .vx-explore-cue{z-index:3}.wt-hero .vx-hero-line{display:block}
.wt-hero .hero-bottom{left:0;right:0;bottom:28px}
.wt-astro{position:relative;width:100%;max-width:470px;margin:auto;z-index:3;isolation:isolate}
.wt-hero>.wt-astro{transform:translateX(clamp(36px,5.2vw,84px))}
.wt-astro:before{content:'';position:absolute;inset:10% -8% 15%;background:radial-gradient(ellipse,#368cdf19,transparent 65%);z-index:-1;pointer-events:none}
.wt-astro:after{content:'';position:absolute;width:38%;height:18px;bottom:35px;left:31%;border-radius:50%;background:#2b9aff15;filter:blur(10px);pointer-events:none;z-index:-1}
.wt-astro-touch{display:block;position:relative;width:100%;height:445px;background:none;border:0;padding:0;margin:0;border-radius:35%;cursor:grab;touch-action:pan-y;outline-offset:3px}
.wt-astro-touch:active{cursor:grabbing}
.wt-scene{display:block;width:100%;height:100%;position:relative;isolation:isolate;pointer-events:none}
.wt-scene canvas{position:absolute;inset:0;width:100%;height:100%;z-index:2}
.wt-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1}
.wt-scene[data-ready=true] .wt-poster{visibility:hidden}
.wt-scene[data-ready=fallback] canvas{display:none}
#wt-astro-hint{text-align:center;color:#9db8d5;font-size:11px;letter-spacing:.4px;margin:0}
.wt-astro-bubble{position:absolute;top:0;right:0;max-width:230px;z-index:4;padding:12px 17px;border:1px solid #8dceff38;border-radius:18px 18px 4px 18px;background:#17304bee;backdrop-filter:blur(10px);color:#e0f2ff;font-size:13px;box-shadow:0 8px 32px #0003;pointer-events:none}
.wt-astro-bubble[hidden]{display:none}


@media(min-width:1101px) and (max-width:1350px){.header nav{gap:15px}.header-inner{gap:22px}.header-actions{gap:12px}.fj-nav span{display:none}}
@media(max-width:1100px){.header-inner{justify-content:space-between}.header-actions{margin-left:auto}.header nav{display:none;position:absolute;top:100%;left:0;right:0;height:auto;background:#0a172bf5;backdrop-filter:blur(20px);padding:23px 25px;flex-direction:column;align-items:start;gap:22px;border-bottom:1px solid var(--line)}.header nav.open{display:flex}.header nav a{font-size:14px}.header nav a.active:after{display:none}.header nav a:nth-last-child(1){display:block}.mobile-toggle{display:inline-flex}.wt-hero,.vx-enabled .wt-hero{padding-inline:40px;gap:10px;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}.wt-hero h1{font-size:55px}.wt-astro-touch{height:345px}.wt-hero .hero-description{font-size:14px}.wt-hero .hero-buttons{flex-wrap:wrap}.wt-hero .hero-proof{display:none}}
@media(max-width:760px){.wt-hero,.vx-enabled .wt-hero{grid-template-columns:1fr;gap:8px;min-height:0;padding:135px 24px 65px;background:radial-gradient(ellipse at 50% 75%,#103456,#070e1c 60%)}.wt-hero h1{font-size:clamp(43px,7.6vw,58px);letter-spacing:-1.5px}.wt-hero .hero-content{width:100%}.wt-hero .eyebrow{font-size:8px;letter-spacing:1.5px}.wt-hero .hero-description{font-size:14px}.wt-hero .hero-note{flex-wrap:wrap;gap:8px 14px}.wt-astro{max-width:320px}.wt-astro-touch{height:290px}.wt-hero .hero-bottom{bottom:13px}.wt-hero .hero-dots{display:none}.wt-astro-bubble{top:4px;font-size:12px}}
@media(max-width:600px){.brand{font-size:25px}.brand .brand-mark{width:28px!important;height:28px!important}.header-inner{gap:12px}.header-actions{gap:13px}.wt-hero .hero-buttons{gap:10px}.wt-hero .hero-buttons .btn{padding:12px 16px}}

/* Environment motion complements the site's original particle/parallax system. */
.wt-space-effects{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden}
.wt-space-haze{position:absolute;inset:32% -15% -20%;background:radial-gradient(ellipse at 75% 72%,#4099eb26,transparent 45%),radial-gradient(ellipse at 40% 85%,#53d8ff18,transparent 48%);filter:blur(24px);animation:wt-nebula-drift 19s ease-in-out infinite alternate}
.wt-meteor{position:absolute;left:78%;top:12%;width:135px;height:1px;background:linear-gradient(90deg,transparent,#c5eeff);box-shadow:0 0 7px #72bdff;opacity:0;transform:rotate(-30deg);animation:wt-meteor-flight 11s linear infinite;animation-delay:2s}
.wt-meteor-two{left:56%;top:25%;width:90px;animation-duration:16s;animation-delay:7s}
@keyframes wt-nebula-drift{from{transform:translate3d(-3%,1%,0) scale(1);opacity:.5}to{transform:translate3d(4%,-4%,0) scale(1.12);opacity:1}}
@keyframes wt-meteor-flight{0%,65%{opacity:0;transform:translate3d(0,0,0) rotate(-30deg)}67%{opacity:.8}77%{opacity:0;transform:translate3d(-360px,208px,0) rotate(-30deg)}100%{opacity:0;transform:translate3d(-360px,208px,0) rotate(-30deg)}}
@media(max-width:1100px){.wt-hero>.wt-astro{transform:translateX(28px)}}
@media(max-width:760px){.wt-hero>.wt-astro{transform:translateX(22px)}.wt-hero .hero-art{background-position:72% center;opacity:.9}.wt-hero:after,.vx-enabled .wt-hero:after{background:linear-gradient(180deg,#070e1cdb 0%,#070e1cb0 35%,#070e1c20 63%,#070e1c33 82%,#070e1c 100%)}.wt-hero .vx-orbit{left:32%;top:45%;opacity:.4}.wt-hero .vx-coordinate,.wt-hero .vx-explore-cue{display:none}.wt-space-haze{inset:45% -20% -10%}}
@media(prefers-reduced-motion:reduce){.wt-space-effects *{animation:none!important}.wt-meteor{display:none}}

.wt-hero #wt-astro-hint{color:#c2ddf5;text-shadow:0 2px 5px #000,0 0 12px #071324}.wt-hero .hero-note{color:#c4d4e6;text-shadow:0 1px 5px #0008}

/* Idle drift is composited in CSS; WebGL wakes for gestures and pointer changes. */
.wt-scene[data-idle=true][data-running=true]{animation:wt-astro-drift 5s ease-in-out infinite}
@keyframes wt-astro-drift{0%,100%{transform:translate3d(0,0,0) rotate(-.6deg)}50%{transform:translate3d(0,-7px,0) rotate(.6deg)}}
@media(prefers-reduced-motion:reduce){.wt-scene[data-idle=true]{animation:none}}
/* Account access: profile choice, device authorization and two-step verification. */
.access-page{max-width:960px;min-height:65vh}.access-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:20px}.profiles-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:28px 0}.profile-card{text-align:center}.profile-select{background:none;border:0;color:inherit;display:flex;align-items:center;flex-direction:column;gap:12px;cursor:pointer;width:100%;font:inherit}.profile-symbol{display:grid;place-items:center;width:100px;height:100px;border-radius:24px;font-size:40px;font-weight:700;background:#167ed9;color:white}.profile-symbol.purple{background:#7540ac}.profile-symbol.green{background:#187447}.profile-symbol.orange{background:#a94913}.profile-symbol.pink{background:#a32c72}.profile-symbol.cyan{background:#087487}.profile-card .access-actions{justify-content:center}.device-login{margin-top:24px;text-align:center;border-top:1px solid #ffffff20;padding-top:24px}.login-qr{display:block;margin:20px auto;padding:8px;background:white;max-width:100%;height:auto;aspect-ratio:1}.device-match{display:block;font-size:32px;letter-spacing:6px;margin:12px 0}.device-login small{display:block}.device-login .text-button{margin-top:14px}.security-settings{min-width:0}.mfa-secret,.recovery-codes{display:block;padding:16px;background:#070f1d;border-radius:12px;overflow-wrap:anywhere;white-space:pre-wrap;margin:16px 0;user-select:all}.access-page .surface{margin-bottom:24px}@media(max-width:600px){.profiles-grid{grid-template-columns:1fr}.profile-symbol{width:80px;height:80px}.device-match{font-size:28px}}
.brand .brand-logo,.brand-logo{display:block;width:152px;height:auto;max-height:66px;object-fit:contain}.brand{flex:none}.modal-heading .brand-logo{width:160px}.boot>.brand-logo{width:200px}.auth-modal.auth-qr-modal{max-width:880px!important;width:calc(100vw - 32px)}.auth-methods{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}.auth-methods .device-login{margin:0;padding:0 0 0 24px;border-top:0;border-left:1px solid #ffffff20}.auth-methods .login-qr{width:200px;margin:12px auto}.auth-methods .device-match{font-size:24px;margin:8px 0}.auth-methods .device-login .text-button{display:block;margin:10px auto 0}.scanner-entry{margin:0 0 24px;padding:24px}.scanner-entry .btn{margin-top:16px}.scanner-video{display:none;width:100%;max-height:55vh;border-radius:16px;background:#000;margin-top:20px}.scanner-video.active{display:block}.qr-scanner{padding:24px;margin-top:24px}.qr-scanner>.muted{margin-top:20px}.scanner-image{position:relative;cursor:pointer}.scanner-image input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.scanner-image:focus-within{outline:2px solid #6bafff;outline-offset:4px}@media(max-width:640px){.brand .brand-logo{width:112px}.auth-methods{grid-template-columns:1fr;gap:24px}.auth-methods .device-login{grid-row:1;border-left:0;border-bottom:1px solid #ffffff20;padding:0 0 20px}.auth-modal .modal-body{padding:24px}.auth-methods .login-qr{width:180px}.scanner-entry,.qr-scanner{padding:20px}}
.wt-update{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:10000;display:flex;align-items:center;gap:16px;padding:16px;background:#122641;border:1px solid #5dbaef;border-radius:14px;max-width:calc(100vw - 24px);box-shadow:0 8px 30px #0008}.wt-update span{min-width:140px}.wt-update button{white-space:nowrap}
@media(min-width:641px){.auth-modal .modal-body{padding:28px 32px}.auth-methods .device-login .qr-password{display:none}.auth-modal .modal-heading .brand-logo{width:140px}}

.auth-methods.register{display:block}

/* Horizontal 3D brand scales without distorting the mascot. */
.header .brand .brand-logo{width:clamp(120px,13vw,180px);height:auto;max-height:72px;aspect-ratio:1440/543;object-fit:contain}@media(max-width:640px){.header .brand .brand-logo{width:120px;max-height:48px}}

/* Translucent dark portal, concentric blue rings and Astro fully inside. */
.wt-astro-touch{isolation:isolate}
.wt-astro-touch .wt-scene{position:absolute;inset:13%;width:74%;height:74%;z-index:2}
.wt-astro-touch::before,.wt-astro-touch::after{content:"";position:absolute;pointer-events:none;border-radius:50%;left:50%;top:50%;aspect-ratio:1;width:auto;transform:translate(-50%,-50%);z-index:0}
.wt-astro-touch::before{height:87%;max-width:86%;border:1px solid #55baffb3;background:radial-gradient(circle,rgba(0,0,0,.36) 30%,rgba(0,3,10,.55) 77%,rgba(1,9,20,.62));box-shadow:0 0 0 7px #071c3826,0 0 0 8px #389bdf66,0 0 0 16px #071c3812,0 0 0 17px #368fe033,0 0 22px #1589d52e,inset 0 0 20px #0006;animation:wt-portal-breathe 5s ease-in-out infinite}
.wt-astro-touch::after{height:97%;max-width:96%;border:1px dashed #58b8ff80;box-shadow:0 0 12px #147acc26;opacity:.7;animation:wt-portal-orbit 28s linear infinite}
.wt-astro:before{background:radial-gradient(ellipse,#1650860c,transparent 65%)}
.wt-astro:after{width:48%;left:26%;height:15px;bottom:28px;background:#1e88c522;filter:blur(12px)}

@keyframes wt-portal-breathe{0%,100%{opacity:.8;transform:translate(-50%,-50%) scale(.985)}50%{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes wt-portal-orbit{to{transform:translate(-50%,-50%) rotate(360deg)}}
.vx-paused .wt-astro-touch::before,.vx-paused .wt-astro-touch::after{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.wt-astro-touch::before,.wt-astro-touch::after{animation:none}}

/* Keep Astro and its portal inside the member banner, beside the featured title. */


@media(max-width:1199px){.member-hero{flex-wrap:wrap}.member-hero>.member-hero-content{padding-bottom:24px}}
/* Static card controls do not need a separate blurred GPU surface per poster. */
.poster-hover span{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#101d2ce8}
.vx-enabled.vx-paused .movie-card,.vx-enabled.vx-paused .poster-button,.vx-enabled.vx-paused .poster-button img{will-change:auto;transform-style:flat;perspective:none}

/* Streaming lives directly below the WorkTV header, with provider controls only. */
.header nav a[aria-disabled="true"],.wt-mobile-tabs a[aria-disabled="true"]{opacity:.38;cursor:default;pointer-events:none}
.wt-mobile-tabs[hidden]{display:none!important}
body.wt-streaming-mode{padding:0;overflow:hidden}
.wt-streaming-mode #app{height:100vh;height:100dvh;display:flex;flex-direction:column;min-height:0}
.wt-streaming-mode .header{position:relative!important;flex:none;background:#070e1c;z-index:40}
.wt-streaming{flex:1;min-height:0;width:100%;position:relative;background:#05090d;overflow:hidden}
.wt-streaming-frame{display:block;border:0;width:100%;height:100%;background:#05090d}
.wt-streaming-message{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;padding:24px;margin:0}
@media(max-width:700px){body.wt-streaming-mode:has(.wt-mobile-member){padding-bottom:0}.wt-streaming-mode:has(.wt-mobile-member) #app{padding-bottom:calc(74px + env(safe-area-inset-bottom,0px))}.wt-streaming-mode .wt-mobile-tabs{display:none!important}.wt-streaming-mode .wt-mobile-member .header-actions>.mobile-toggle{display:inline-flex!important}.wt-streaming-mode .wt-mobile-member #main-nav.open{display:flex!important}.wt-streaming-mode .wt-mobile-member #main-nav{top:100%}}
.wt-streaming-mode .header,.wt-streaming-mode .wt-streaming{transform:none!important;opacity:1!important;animation:none!important;transition:none!important}
body.wt-streaming-mode #app .wt-mobile-member .header-actions>.mobile-toggle{display:inline-flex!important}
