/* Nestlyra Focus v39 — original interactive sign-in experience */
html:not(.session-pending) body:has(#authScreen:not(.hidden)){overflow:hidden;background:#f5f4fb}
.auth-shell{height:100dvh;min-height:600px;grid-template-columns:minmax(560px,1.08fr) minmax(440px,.92fr);overflow:hidden;background:#f5f4fb!important}
.auth-art{position:relative;isolation:isolate;display:block!important;min-height:0!important;height:100dvh;padding:0!important;overflow:hidden;background:linear-gradient(145deg,#ebe7ff 0%,#f4f7ff 47%,#e3efff 100%)!important}
.auth-art:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 76% 16%,#fff 0 4%,transparent 24%),radial-gradient(circle at 20% 80%,#cfc4ff70,transparent 29%),linear-gradient(125deg,transparent 54%,#fff7 55%,transparent 73%);mask-image:none!important;pointer-events:none}
.auth-art:after{content:"";position:absolute;z-index:-1;inset:0!important;opacity:.55!important;background-image:radial-gradient(#7567d625 1px,transparent 1px)!important;background-size:22px 22px!important;box-shadow:none!important;pointer-events:none}
.auth-visual-brand{position:absolute;z-index:8;top:28px;left:34px;display:flex;align-items:center;gap:12px;color:#242546}
.auth-visual-brand img{width:172px;height:43px;padding:3px 7px;border-radius:13px;background:#171421;box-shadow:0 10px 26px #48377830}.auth-visual-brand small{display:block;color:#777492;font-size:9px;font-weight:700;letter-spacing:.17em;text-transform:uppercase}
.auth-art-copy{position:absolute;z-index:7;top:105px;left:7.5%;max-width:460px;color:#252347}
.auth-art-copy .eyebrow{color:#6753d6}.auth-art-copy h1{margin:10px 0 10px;font:700 clamp(31px,3.4vw,53px)/1.04 Poppins,sans-serif;letter-spacing:-.052em}.auth-art-copy p{max-width:410px;margin:0;color:#696883;font-size:13px;line-height:1.65}
.auth-art-note{position:absolute;z-index:7;right:28px;top:30px;display:flex;align-items:center;gap:9px;padding:9px 13px;border:1px solid #fff;background:#ffffffb5;border-radius:999px;color:#5e5b79;box-shadow:0 12px 32px #51458a1c;backdrop-filter:blur(14px);font-size:10px;font-weight:700}.auth-art-note i{width:7px;height:7px;border-radius:50%;background:#34b88a;box-shadow:0 0 0 5px #34b88a18}
.doll-stage{--doll-x:0px;--doll-y:0px;position:absolute;z-index:3;inset:210px 3% 38px;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;filter:drop-shadow(0 24px 22px rgba(79,61,142,.17));transform:none!important}
.live-dolls{position:absolute;inset:0 0 51px}.live-doll{--body-tilt:0deg;--body-shift:0px;--eye-x:0px;--eye-y:0px;--point-angle:0deg;position:absolute;bottom:0;width:var(--doll-width);transform:translateX(var(--body-shift)) rotate(var(--body-tilt));transform-origin:50% 92%;transition:transform .18s ease;will-change:transform}.live-doll svg{display:block;width:100%;height:auto;overflow:visible}.live-doll .shell{filter:drop-shadow(0 8px 7px rgba(65,48,115,.16))}.live-doll .pupil{transform:translate(var(--eye-x),var(--eye-y));transition:transform .09s linear}.live-doll .eye-open,.live-doll .eyelid{transition:opacity .22s ease}.live-doll .eyelid{opacity:0}.live-doll .doll-arm{transform-box:view-box;transition:transform .34s cubic-bezier(.2,.8,.2,1)}.live-doll .right-arm{transform-origin:171px 207px}.live-doll .left-arm{transform-origin:69px 207px}
.live-doll:nth-child(1){left:1%;--doll-width:41%;z-index:1}.live-doll:nth-child(2){left:25%;--doll-width:35%;z-index:2}.live-doll:nth-child(3){left:46%;--doll-width:29%;z-index:3}.live-doll:nth-child(4){left:63%;--doll-width:24%;z-index:4}.live-doll:nth-child(5){left:76%;--doll-width:19%;z-index:5}.live-doll:nth-child(6){left:85%;--doll-width:15%;z-index:6}.live-doll:nth-child(7){left:91%;--doll-width:11%;z-index:7}
.doll-stage[data-doll-state="point"] .right-arm{transform:rotate(var(--point-angle))}.doll-stage[data-doll-state="point"] .left-arm{transform:rotate(-9deg)}
.doll-stage[data-doll-state="watch"] .live-doll{animation:doll-watch 1.1s ease-in-out infinite alternate;animation-delay:calc(var(--doll-index)*-70ms)}.doll-stage[data-doll-state="watch"] .right-arm{transform:rotate(-33deg)}.doll-stage[data-doll-state="watch"] .left-arm{transform:rotate(28deg)}
.doll-stage[data-doll-state="idle"] .eye-open{opacity:0}.doll-stage[data-doll-state="idle"] .eyelid{opacity:1}.doll-stage[data-doll-state="idle"] .right-arm{transform:rotate(-174deg)}.doll-stage[data-doll-state="idle"] .left-arm{transform:rotate(-181deg)}
.doll-stage[data-doll-state="idle"] .live-doll{animation:doll-breathe 2.7s ease-in-out infinite alternate;animation-delay:calc(var(--doll-index)*-90ms)}
@keyframes doll-watch{to{transform:translateX(var(--body-shift)) translateY(-5px) rotate(calc(var(--body-tilt) + 1.7deg))}}@keyframes doll-breathe{to{transform:translateX(var(--body-shift)) translateY(-2px) rotate(var(--body-tilt))}}
.doll-caption{position:absolute;z-index:9;left:50%;bottom:0;display:flex;align-items:center;gap:9px;min-width:258px;padding:10px 15px;border:1px solid #fff;border-radius:16px;background:#ffffffd9;box-shadow:0 16px 38px #5d50a51f;backdrop-filter:blur(16px);text-align:left;transform:translateX(-50%)}.doll-caption:before{content:"";width:9px;height:9px;border-radius:50%;background:#6956db;box-shadow:0 0 0 5px #6956db14}.doll-caption strong,.doll-caption span{display:block}.doll-caption strong{color:#282447;font:700 11px Poppins,sans-serif}.doll-caption span{color:#74718e;font-size:8px}.auth-brand-story{display:none!important}
.auth-panel{position:relative;display:grid!important;place-items:center;height:100dvh;min-height:0!important;padding:24px clamp(28px,5vw,72px)!important;overflow:hidden!important;background:linear-gradient(155deg,#fbfbff 0%,#f4f6fc 55%,#f0edff 100%)!important}
.auth-panel:before{content:"";position:absolute;right:-160px;top:-180px;width:430px;height:430px;border-radius:50%;background:#d9d3ff55;filter:blur(2px)}
.auth-card{position:relative;width:min(100%,466px)!important;max-height:calc(100dvh - 38px);margin:0!important;padding:28px 34px 22px!important;overflow:auto;border:1px solid #ffffff!important;border-radius:28px!important;background:#fffffff0!important;box-shadow:0 30px 90px rgba(43,38,91,.13),0 2px 8px rgba(43,38,91,.06)!important;backdrop-filter:blur(22px)}
.auth-card:before{display:none!important}.auth-card-brand{display:flex;align-items:center;gap:11px;margin-bottom:18px}.auth-card-brand img{width:154px;height:39px;padding:3px 7px;border-radius:12px;background:#181520}.auth-card-brand small{display:block;color:#87839c;font-size:8px;font-weight:700;letter-spacing:.15em;text-transform:uppercase}
.auth-card-intro .eyebrow{color:#6753d6}.auth-card h2{margin:7px 0 7px!important;color:#201d38!important;font:700 clamp(25px,2.4vw,33px)/1.12 Poppins,sans-serif!important;letter-spacing:-.04em}.auth-card-intro>p{margin:0 0 17px;color:#74728a!important;font-size:11px;line-height:1.55}
.auth-account-note{display:flex;align-items:center;gap:9px;margin-bottom:17px;padding:9px 11px;border:1px solid #e5e1f8!important;border-radius:12px;background:#f6f3ff!important;color:#4f477d!important}.auth-account-note>span{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#e6e0ff;color:#5b48d2}.auth-account-note strong,.auth-account-note small{display:block}.auth-account-note strong{font-size:9px}.auth-account-note small{margin-top:2px;color:#827d9f!important;font-size:7px}
.auth-card label.login-field{display:grid;gap:6px;margin:11px 0;color:#45415d!important;font-size:10px;font-weight:700}.login-field-shell{display:flex;align-items:center;gap:9px;height:44px;padding:0 12px;border:1px solid #dcdbe8;border-radius:12px;background:#fafaff;transition:border .2s,box-shadow .2s,background .2s}.login-field-shell:focus-within{border-color:#6956db;background:#fff;box-shadow:0 0 0 4px #6956db12}.login-field-shell>svg{width:17px;height:17px;color:#8d89a2;flex:none}.login-field-shell input{width:100%;height:100%;padding:0!important;border:0!important;background:transparent!important;color:#201d38!important;box-shadow:none!important;outline:0}.login-field-shell input::placeholder{color:#aca9ba}.password-visibility{display:grid;place-items:center;width:28px;height:28px;flex:none;border:0;border-radius:8px;background:transparent;color:#827d9a;font-size:15px}.password-visibility:hover{background:#eeeafe;color:#5845cb}
.auth-actions{display:grid;gap:9px;margin-top:16px}.auth-actions .btn.wide{height:43px;margin:0!important;align-items:center;justify-content:center;border-radius:12px}.auth-actions .btn.primary{background:linear-gradient(135deg,#7158e7,#4d58d5);box-shadow:0 12px 28px #5a50d830}.auth-actions .btn.primary span{position:absolute;right:48px}.auth-actions .google-button{gap:10px;border-color:#dedce8!important;background:#fff!important;color:#312d48!important}.google-button svg{width:17px;height:17px}.auth-divider{display:flex;align-items:center;gap:10px;margin:1px 0;color:#aaa6ba;font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.1em}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:#e7e4ed}.create-account-button{border:0!important;background:transparent!important;color:#5b48d2!important;height:auto!important;font-size:10px}.create-account-button:hover{text-decoration:underline}
.auth-security{display:flex;align-items:center;gap:8px;margin-top:14px;padding:9px 10px;border-radius:11px;background:#f5f7fb;color:#77758b;font-size:8px;line-height:1.4}.auth-security svg{width:16px;height:16px;flex:none;color:#34a981}.auth-security strong{color:#44415c}.auth-help-link{margin-top:8px!important;padding:5px!important;color:#6558bc!important;font-size:9px!important}.auth-legal{margin:9px 0 0;color:#aaa6b8!important;font-size:7px!important;text-align:center}.mobile-brand{display:none!important}
@media(max-height:720px) and (min-width:761px){.auth-shell{min-height:560px}.auth-art-copy{top:82px}.auth-art-copy h1{font-size:35px}.doll-stage{inset:175px 4% 25px}.auth-card{padding:20px 30px 16px!important}.auth-card-brand{margin-bottom:11px}.auth-account-note{margin-bottom:10px}.auth-card-intro>p{margin-bottom:10px}.auth-card label.login-field{margin:8px 0}.auth-actions{margin-top:11px}.auth-security{margin-top:9px}.auth-help-link{margin-top:3px!important}.auth-legal{margin-top:4px}}
@media(max-width:1030px) and (min-width:761px){.auth-shell{grid-template-columns:minmax(390px,.9fr) minmax(410px,1.1fr)}.auth-art-copy{left:7%;max-width:360px}.auth-art-copy h1{font-size:36px}.doll-stage{inset-left:1%;inset-right:1%}.auth-panel{padding-inline:28px!important}}
@media(max-width:760px){html:not(.session-pending) body:has(#authScreen:not(.hidden)){overflow:auto}.auth-shell{display:block;height:auto;min-height:100dvh;overflow:auto;background:linear-gradient(155deg,#f7f6ff,#edf3ff)!important}.auth-art{display:block!important;height:250px!important;min-height:250px!important}.auth-visual-brand{top:18px;left:20px}.auth-visual-brand img{width:144px;height:36px}.auth-art-copy{top:70px;left:20px;max-width:260px}.auth-art-copy h1{font-size:26px}.auth-art-copy p{font-size:10px}.auth-art-note{display:none}.doll-stage{inset:96px 7px 3px 43%;}.live-dolls{bottom:37px}.doll-caption{bottom:0;min-width:174px;padding:7px 10px}.doll-caption span{display:none}.auth-panel{height:auto;min-height:calc(100dvh - 250px);padding:16px!important;overflow:visible!important}.auth-card{max-height:none;width:min(100%,500px)!important;padding:22px 22px 18px!important;border-radius:23px!important}.auth-card-brand{display:none}}
@media(prefers-reduced-motion:reduce){.live-doll,.live-doll .doll-arm,.live-doll .pupil{animation:none!important;transition:none!important}}

/* Compact Nestlyra signature: use the extracted emblem, never the full poster. */
.brand-wordmark{width:128px;height:34px;padding:3px 6px;border-radius:9px;background:#171421;object-fit:contain}.brand>.brand-wordmark+small{color:var(--muted);font-size:8px;letter-spacing:.08em;text-transform:uppercase}
.product-credit,.parent-product-credit{grid-template-columns:minmax(105px,1fr) auto!important;gap:8px!important;min-height:52px;padding:6px 8px!important;border-radius:14px!important;background:linear-gradient(145deg,#111a29,#0a1220)!important;box-shadow:0 8px 22px rgba(3,8,18,.15)}
.product-credit img,.parent-product-credit img{width:112px!important;height:38px!important;padding:3px 6px;object-fit:contain!important;border:1px solid #d8b66555;border-radius:9px!important;background:#171421;box-shadow:inset 0 0 0 1px #ffffff0a}
.product-credit span,.parent-product-credit span{display:grid;gap:2px!important;min-width:0}.product-credit small,.parent-product-credit small{color:#9aa9bd!important;font-size:7px!important;font-weight:700;letter-spacing:.08em!important;line-height:1.15}.product-credit strong,.parent-product-credit strong{color:#f4f7fb!important;font:700 12px/1.05 Poppins,Inter,sans-serif!important;letter-spacing:-.01em!important}.product-credit em,.parent-product-credit em{color:#c8a75f!important;font-size:8px!important;font-style:normal}
.theme-nestlyra .product-credit,.theme-nestlyra .parent-product-credit,.theme-light .product-credit,.theme-light .parent-product-credit{border-color:#e2e7f0!important;background:linear-gradient(145deg,#fff,#f7f8fc)!important;box-shadow:0 5px 16px rgba(35,46,75,.08)}
.theme-nestlyra .product-credit img,.theme-nestlyra .parent-product-credit img,.theme-light .product-credit img,.theme-light .parent-product-credit img{border-color:#d8b665;background:#171421}
.theme-nestlyra .product-credit small,.theme-nestlyra .parent-product-credit small,.theme-light .product-credit small,.theme-light .parent-product-credit small{color:#7d8799!important}.theme-nestlyra .product-credit strong,.theme-nestlyra .parent-product-credit strong,.theme-light .product-credit strong,.theme-light .parent-product-credit strong{color:#252d40!important}
.group-join-form>p{color:var(--muted);line-height:1.6}.group-join-form label{display:grid;gap:8px;margin-top:18px;color:var(--muted);font-size:11px;font-weight:700}.group-join-form input{text-transform:uppercase;font:700 18px/1 Space Grotesk,monospace;letter-spacing:.1em}.group-join-status{min-height:20px;margin:8px 0 0!important;color:var(--danger)!important;font-size:10px}
