/* Business form integration; the approved illustrations and cloud geometry are unchanged. */
:root{--site-accent:#6e62a5;--site-soft:#eeebf7;--site-page:#f5f6fa;--site-ink:#28334a;--site-muted:#657089;--site-border:#e0e5ef}
[hidden]{display:none!important}
html:has(body.login-page){scrollbar-gutter:stable;background:#f9f9fc;overscroll-behavior-y:none}
.scene-copy .entry-player{display:flex;align-items:center;gap:5px;margin:0 0 14px;font-size:11px;color:var(--site-accent)}.entry-player a{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
#auth-home{width:100%;max-width:365px}.auth{max-width:none}.auth input:not([type=checkbox]){height:49px;min-width:0;font-size:14px}
.auth[data-auth-mode$="register"]>h2{scroll-margin-top:96px;margin:0 0 6px;font-size:30px}.auth[data-auth-mode$="register"]>.eyebrow{display:none}.auth[data-auth-mode$="register"]>.sub{margin-bottom:16px}.auth[data-auth-mode$="register"] label{margin:10px 0 5px}.auth[data-auth-mode$="register"] .auth-field-hint{font-size:11px;line-height:1.5;white-space:nowrap;margin-top:4px}.auth[data-auth-mode$="register"] .form-options{margin:8px 0 4px}.auth[data-auth-mode$="register"] .form-options label{margin:0}.auth[data-auth-mode$="register"] #agreement-row{margin-top:0!important}.auth[data-auth-mode$="register"] #agreement-row label{margin:4px 0 10px}.auth[data-auth-mode$="register"] .register{margin-top:10px}.auth[data-auth-mode$="register"] .legal{display:none}
@media(min-width:701px){.login-right:has(.auth[data-auth-mode$="register"]){padding-top:100px;padding-bottom:65px}#auth-home:has(>.auth[data-auth-mode$="register"]){max-width:400px}.auth[data-auth-mode$="register"] input:not([type=checkbox]){height:44px}.auth[data-auth-mode$="register"] .auth-code-row button{min-height:44px}}
/* Keep the scene geometry independent of the active form's document height. */
@media(min-width:701px){.login-stage{--login-scene-height:max(850px,100svh)}.login-stage .login-left{height:var(--login-scene-height);min-height:var(--login-scene-height);align-self:start}.login-stage .login-visual-v10,.login-stage .login-fog-v10{position:fixed;height:var(--login-scene-height);bottom:auto}.login-page .world-motion{height:var(--login-scene-height)}}
@media(min-width:701px) and (max-height:600px){.login-stage{--login-scene-height:730px}}
.auth .auth-code-row{display:flex;gap:8px;align-items:stretch}.auth-code-row>input{flex:1;width:0}.auth-code-row button{flex:0 0 auto;min-height:48px;padding:0 12px;border:1px solid var(--line);border-radius:8px;font-size:11px;color:var(--accent);background:#fff}
.auth .password-field input{padding-right:48px}.auth .password-reveal{min-width:44px;min-height:44px}.auth .password-reveal svg{width:18px;height:18px}
.auth .msg,.auth .account-field-error{font-size:12px;line-height:1.7;margin:8px 0;color:#984962}.auth .msg:empty{display:none}.auth .msg.tip{color:var(--accent)}
.auth-field-hint,.auth-return,.auth-help,.auth #auth-sms-notice{font-size:11px;line-height:1.8;color:var(--muted)}.auth-return{margin-bottom:12px}.auth-field-hint{margin-top:6px}
.auth-mode-links{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.auth-mode-link{border:0;background:none;color:var(--accent);font-size:11px;min-height:40px;padding:4px}.auth #auth-options-retry{display:block;margin:auto}
.auth #password-help{border:0;background:none;font-size:10px;padding:0;min-height:40px}.auth #agreement-row{font-size:11px!important}.auth #agreement-row input{width:16px;height:16px;min-width:16px;accent-color:var(--accent)}.auth #agreement-row label{margin:12px 0;line-height:1.8;font-size:11px}.auth .auth-help{margin:10px 0;padding:10px;border:1px solid var(--line);border-radius:8px}
.auth .tabs{gap:18px}.auth .tab{font-size:12px}.auth button:disabled{cursor:default;opacity:.55}.auth #submit-btn{margin-top:8px}.auth .register{margin-top:17px}.auth .legal{margin-top:14px}
.account-dialog .auth .eyebrow{margin:8px 0}.account-dialog .auth h2{margin:8px 0}.account-dialog .auth>.sub{margin-bottom:16px}.account-dialog .auth .button{margin-top:16px}.account-dialog .auth input[type=checkbox]{width:16px;height:16px}.account-dialog #remember-row{margin-block:12px}.account-dialog .dialog-close{z-index:2}.account-dialog .auth{padding-top:8px}
.entry-legal{display:flex;gap:24px;justify-content:center;flex-wrap:wrap;padding:25px 20px 75px;background:#f5f6fa;color:var(--muted);font-size:11px}.entry-legal a{padding:8px 0}
header{padding-top:env(safe-area-inset-top)}.entry-controls{bottom:max(10px,env(safe-area-inset-bottom));right:max(10px,env(safe-area-inset-right))}
body.motion-suspended .scroll-cue i,body.motion-suspended .scene-copy[data-reveal].is-revealing>*,body.motion-suspended .first-scene .scene-copy,body.motion-suspended .reveal{animation-play-state:paused}
@media(max-width:700px){#auth-home{max-width:400px}.auth input:not([type=checkbox]),.account-dialog .auth input:not([type=checkbox]){font-size:16px;min-height:48px}.auth .tabs{gap:14px}.auth .tab{font-size:11px}.auth .button{min-height:48px}.login-page .login-right{padding-bottom:calc(70px + env(safe-area-inset-bottom))}.account-dialog{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.auth input{scroll-margin-block:65px 100px}.login-page .entry-controls{position:relative;bottom:auto;right:auto}.entry-controls{max-width:calc(100vw - 24px)}.entry-legal{padding-bottom:80px}}
