/* Scoped overrides: workspace styles and existing auth semantics remain owned by app.js. */
body.dd-rain-auth{background:#0b141a;color:#e9ebe5}
body.dd-rain-auth #app{min-height:100svh}
body .auth-page.rain-auth{display:block;position:relative;isolation:isolate;min-height:100svh;padding:0;overflow:hidden;background:#0b141a;color:#e9ebe5;font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif}
.rain-auth-scene{position:absolute;inset:0;width:100%;height:100%;border:0;background:#0b141a;z-index:-1}
.rain-auth-header{position:absolute;top:0;left:0;right:0;height:100px;padding:0 4.4%;display:flex;justify-content:space-between;align-items:center;pointer-events:none}
body .rain-auth-header .brand{display:flex;flex-direction:row;align-items:center;gap:10px;padding:0;margin:0;color:#e9ebe5;font-size:24px;font-weight:600}
body .rain-auth-header .brand-mark{width:49px;height:49px;background:none;box-shadow:none;border:0}
body .rain-auth-header .brand small{display:block;font-size:8px;letter-spacing:2px;color:#9aa79f;margin-top:5px}
.rain-auth-header-note{font-size:11px;letter-spacing:1px;color:#9eaaa7}
.rain-auth-intro{position:absolute;top:16%;left:6.3%;pointer-events:none;color:#e9ebe5}
body .rain-auth-intro h2{font-size:clamp(27px,2.7vw,42px);font-weight:400;line-height:1.5;letter-spacing:3px;margin:0;text-shadow:0 2px 30px #0b141a}
body .rain-auth-intro p{font-size:12px;letter-spacing:1px;color:#99a7a5;margin-top:18px}
body .rain-auth-intro .rain-auth-eyebrow{font-size:9px;letter-spacing:3px;color:#abb9ae;margin-bottom:18px}
body .rain-auth .auth-card{position:absolute;right:6.3%;top:50%;transform:translateY(-48%);width:350px;max-width:90%;margin:0;padding:34px 32px 28px;border:1px solid #e6eeda25;border-radius:22px;background:#142026ed;box-shadow:0 28px 80px #0003;backdrop-filter:blur(20px);z-index:2;text-align:left;color:#e9ebe5}
body .rain-auth .auth-card>.brand{display:none}
.rain-auth-card-caption{font-size:8px;letter-spacing:2.7px;color:#a7b4a9;margin-bottom:22px}
body .rain-auth .auth-card h1{font-size:23px;font-weight:450;letter-spacing:1px;text-align:left;color:#e9ebe5;margin:0 0 12px}
body .rain-auth .auth-card>p{font-size:11px;text-align:left;line-height:1.8;color:#99aba6;margin:0 0 25px}
body .rain-auth .auth-card form{padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
body .rain-auth .auth-card label{display:block;font-size:11px;font-weight:400;color:#bdc8c2;margin:20px 0 10px}
body .rain-auth .auth-card input{width:100%;min-height:43px;padding:12px 14px;border:1px solid #ffffff25;border-radius:9px;background:#08161b85;color:#edf2e9;font-size:13px;box-shadow:none}
body .rain-auth .auth-card input::placeholder{color:#81938e}
body .rain-auth .auth-card input:focus{border-color:#b6c9a5;box-shadow:0 0 0 3px #a1b69e20;outline:none}
body .rain-auth .auth-card .auth-submit{width:100%;min-height:43px;margin-top:25px;padding:12px 16px;border:1px solid #c7d5b9;border-radius:9px;background:#bfd0b8;color:#24352e;font-size:13px;font-weight:500;box-shadow:none}
body .rain-auth .auth-card .auth-submit:disabled{opacity:.65;cursor:wait}
body .rain-auth .auth-card .auth-switch{display:block;text-align:center;margin:15px 0 0;font-size:11px;line-height:1.7;color:#bdcbbb;background:none;border:0;text-decoration:none}
body .rain-auth .auth-card .auth-status{min-height:18px;margin:12px 0 0;color:#edd5ac;font-size:11px;line-height:1.7;text-align:left;overflow-wrap:anywhere}
body .rain-auth .auth-card .auth-return-notice{margin-top:15px;color:#d2dfbd}
.rain-auth-hint{position:absolute;left:6.3%;bottom:5%;margin:0;font-size:10px;letter-spacing:.5px;color:#b0bdb3;pointer-events:none}
.rain-auth-confirmed{opacity:.3;transition:opacity .5s}
.rain-auth-arrival{position:fixed;inset:0;z-index:10000;pointer-events:auto;background:#0b141a}
.rain-auth-arrival-light{position:absolute;inset:0;background:radial-gradient(ellipse at 43% 52%,#fff6d7,#edf3e8);animation:rain-auth-light var(--rain-entry-ms,2400ms) ease forwards}
.rain-auth-arrival p{position:absolute;left:0;right:0;bottom:12%;margin:0;text-align:center;font-size:14px;letter-spacing:2px;color:#31453b;opacity:0;animation:rain-auth-caption var(--rain-entry-ms,2400ms) ease forwards}
@keyframes rain-auth-light{0%{opacity:0}25%{opacity:0}100%{opacity:1}}
@keyframes rain-auth-caption{0%,15%{opacity:0}55%,100%{opacity:1}}
@media(max-width:1100px) and (min-width:761px){body .rain-auth .auth-card{right:4%;width:310px;padding:28px 25px}.rain-auth-intro{left:5%}}
@media(max-width:760px){body .auth-page.rain-auth{min-height:100svh;padding:0 0 60px;overflow:hidden}.rain-auth-scene{top:90px;height:50svh;min-height:360px}.rain-auth-header{height:80px;padding:0 6%}.rain-auth-header-note{display:none}body .rain-auth-header .brand{font-size:20px}body .rain-auth-header .brand-mark{width:38px;height:38px}.rain-auth-intro{top:104px;left:7%}body .rain-auth-intro h2{font-size:23px;letter-spacing:2px}body .rain-auth-intro .rain-auth-eyebrow{font-size:7px;margin-bottom:12px}body .rain-auth-intro p:not(.rain-auth-eyebrow){display:none}body .rain-auth .auth-card{position:relative;top:auto;right:auto;transform:none;width:86%;max-width:430px;margin:calc(49svh + 75px) auto 0;padding:29px}.rain-auth-hint{position:static;margin:22px 7% 0;font-size:10px;text-align:center}.rain-auth-arrival p{bottom:18%;font-size:12px}}
@media(prefers-reduced-motion:reduce){.rain-auth-arrival-light,.rain-auth-arrival p{animation-duration:180ms!important}.rain-auth-confirmed{transition:none}}
body .rain-auth-header .brand-mark img{width:100%;height:100%;margin:0;object-fit:contain;mix-blend-mode:normal;filter:none;opacity:1}
body .rain-auth .auth-card input:-webkit-autofill{-webkit-text-fill-color:#edf2e9;box-shadow:0 0 0 1000px #102026 inset;caret-color:#edf2e9}
