/* Login-only identity: a home enclosing care; retain the existing scene and motion. */
@supports ((background-clip:text) or (-webkit-background-clip:text)){.welcome-story h1{background:linear-gradient(110deg,#fff9ed 8%,#ffe3c6 56%,#f4c99f 100%);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.welcome-story .welcome-title-line:last-child{color:inherit}}
@media(forced-colors:active){.welcome-story h1{background:none;color:CanvasText;-webkit-text-fill-color:CanvasText}}
/* Edge-to-edge scene; short viewports may scroll instead of clipping controls. */
#login.welcome-screen{padding:0;position:relative;min-height:100svh;background:var(--night)}
#login .welcome-stage{min-height:100svh;border-radius:0;box-shadow:none}
#login .welcome-bottom{padding-bottom:66px}
#login .welcome-caption{position:absolute;bottom:0;left:0;right:0;z-index:1;padding:14px 42px;color:#f0e8d5;font-size:10px;text-shadow:0 1px 5px #142319;align-items:center;flex-wrap:wrap}
#login .welcome-motion-toggle{color:#f0e8d5}
#login .welcome-motion-toggle:hover{background:#fff8e81a;color:#fff8e8}
@media(max-width:700px){#login .welcome-story{padding:clamp(24px,6svh,65px) 20px 38px}#login .welcome-bottom{padding-bottom:96px}#login .welcome-caption{padding:12px 15px;gap:4px;font-size:9px}}
.account-form{text-align:left;margin-top:22px}.account-form label{font-size:13px}.account-form .button{font-size:13px;margin-right:8px}.demo-identities{margin-top:24px;padding-top:18px;border-top:1px solid var(--line);text-align:left;font-size:12px;color:var(--muted)}.demo-identities summary{cursor:pointer}.account-form [hidden],#family-invite-output[hidden]{display:none}#account-error{font-size:13px;line-height:1.6;color:#9f5146;min-height:22px}.welcome-dialog{max-height:88svh;overflow:auto}
@font-face{font-family:HomeLifeSerif;src:local("Noto Serif SC"),local("NotoSerifSC-Regular");font-weight:200 900;font-display:swap}
@font-face{font-family:HomeLifeSans;src:local("Noto Sans SC"),local("NotoSansSC-Regular");font-weight:200 900;font-display:swap}
@font-face{font-family:HomeLifeHand;src:local("STXingkai"),local("华文行楷");font-weight:400;font-display:swap}
.welcome-brand{gap:12px;font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:25px;letter-spacing:-.7px}
.welcome-brand .welcome-brand-mark{display:grid;place-items:center;width:41px;height:41px;border:0;border-radius:0;background:transparent;color:#f5dfab;flex-shrink:0}
.welcome-brand-mark svg{display:block;width:41px;height:41px}
.welcome-brand>span:last-child{display:flex;align-items:baseline;gap:6px}
.welcome-brand b{font-family:HomeLifeSans,"Microsoft YaHei",sans-serif;font-size:9px;font-weight:500;letter-spacing:1px;margin-left:0;opacity:.85}
.welcome-story h1{font-family:HomeLifeHand,"STKaiti","KaiTi",serif;font-size:clamp(39px,4.8vw,69px);font-weight:400;line-height:1.42;letter-spacing:.025em;text-shadow:0 3px 22px #14271c60;margin-bottom:25px;font-synthesis:none}
.welcome-title-line{display:block}
.welcome-title-line:first-child{font-size:.85em;letter-spacing:.075em;margin-bottom:6px}
.welcome-title-line:last-child{color:#fff0ce}
.welcome-title-punctuation{font-size:.72em;opacity:.85}
.welcome-screen :is(.welcome-description,.welcome-kicker,.welcome-reassurance,.welcome-bottom,.welcome-caption,.welcome-links,.welcome-actions,.welcome-top-cta){font-family:HomeLifeSans,"Noto Sans SC","Microsoft YaHei",sans-serif}
.welcome-description{font-size:15px;line-height:2;letter-spacing:.08em;font-weight:400}
.welcome-kicker{font-weight:400;letter-spacing:.12em}
.welcome-dialog h2{font-family:HomeLifeHand,"STKaiti","KaiTi",serif;font-size:32px;font-weight:400;letter-spacing:.06em}
@media(max-width:700px){.welcome-brand{font-size:21px;gap:8px}.welcome-brand .welcome-brand-mark,.welcome-brand-mark svg{width:33px;height:33px}.welcome-story h1{font-size:clamp(29px,8.1vw,41px);letter-spacing:0;line-height:1.5}.welcome-title-line:first-child{letter-spacing:.04em}.welcome-description{font-size:14px;letter-spacing:.03em}.welcome-brand b{font-size:8px}}
