/* A compact system-style account window leaves the desktop visible behind it. */
.welcome-account{position:fixed;inset:0;box-sizing:border-box;width:min(420px,calc(100% - 36px));max-width:none;max-height:calc(100svh - 48px);height:max-content;margin:auto;padding:22px 24px 18px;border:1px solid #ffffff27;border-radius:18px;background:#2b2c30;color:#f4f4f6;box-shadow:0 20px 75px #0008;overflow:auto;color-scheme:dark}
.welcome-account::backdrop{background:#0004;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.welcome-account header{text-align:center;margin:0 0 15px}
.welcome-account header>img{display:block;width:56px;height:56px;object-fit:contain;border-radius:13px;margin:0 auto 12px}
.welcome-account h2{font-size:19px;font-weight:700;letter-spacing:-.025em;line-height:1.2;margin:0 0 7px;color:#f5f5f7}
.welcome-account header p{margin:0 auto;max-width:310px;font-size:12px;line-height:1.45;color:#c0c1c7}
.welcome-account-close{position:absolute;top:11px;right:11px;display:grid;place-items:center;width:27px;height:27px;padding:0;background:#414248;border:1px solid #ffffff0d;border-radius:50%;color:#e5e6ea;font-size:21px;line-height:1}
.welcome-account-auth>h3{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.welcome-auth-modes{display:grid;grid-template-columns:1fr 1fr;gap:3px;margin-bottom:14px;padding:3px;border:1px solid #ffffff12;border-radius:9px;background:#222327}
.welcome-auth-modes button{min-height:31px;padding:5px 7px;border-radius:6px;background:transparent;color:#c4c5cd;font-size:12px}
.welcome-auth-modes button[aria-pressed=true]{background:#52545c;color:#fff;box-shadow:0 1px 3px #0004;font-weight:650}
.welcome-account .account-form{display:grid;gap:10px;margin:0}
.welcome-account .account-form :is(label,.gift-field){display:grid;gap:5px;margin:0;font-size:12px;line-height:1.2;color:#dedfe5}
.welcome-account .welcome-auth-name-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.welcome-account .account-form input:not([type=checkbox]){box-sizing:border-box;width:100%;min-width:0;height:37px;padding:8px 10px;border:1px solid #ffffff26;border-radius:7px;background:#202125;color:#fff;font-size:14px;outline-offset:2px;box-shadow:none}
.welcome-account .account-form input:focus{outline:2px solid #b6cae9;border-color:transparent}
.welcome-account .account-form .account-remember{display:flex;align-items:center;gap:7px;font-size:11px;color:#bcbec7}
.welcome-account .account-form input[type=checkbox]{width:13px;height:13px;margin:0;accent-color:#b7c9e5}
.welcome-account .account-form>p{margin:0;font-size:11px;line-height:1.4;color:#c5d9ea}
.welcome-account .account-form>p:empty{display:none}
.welcome-account .account-form>.account-error{color:#ffb5b5}
.welcome-account .account-form button[type=submit]{width:100%;min-height:38px;padding:9px 12px;margin:0;border:1px solid #f0f1f5;border-radius:8px;background:#ecedf2!important;color:#17181c!important;font-size:13px;font-weight:700;box-shadow:none}
.welcome-account .account-auth-links{display:flex;justify-content:center;gap:8px;margin-top:10px;flex-wrap:wrap}
.welcome-account .account-auth-links button{padding:2px 0;background:none;color:#b8cbe9;font-size:11px}
.welcome-account-auth:has(.welcome-auth-modes) .account-auth-links [data-auth-mode=login],.welcome-account-auth:has(.welcome-auth-modes) .account-auth-links [data-auth-mode=register]{display:none}
.welcome-account button:focus-visible{outline:2px solid #c5d7f0;outline-offset:2px}
@media(max-width:600px){.welcome-account{padding:19px 20px 16px}.welcome-account .account-form input:not([type=checkbox]){font-size:16px}}
@media(max-height:700px){.welcome-account{max-height:calc(100svh - 36px);padding-top:17px}.welcome-account header{margin-bottom:11px}.welcome-account header>img{width:46px;height:46px;margin-bottom:8px}.welcome-account h2{font-size:18px}.welcome-account .account-form{gap:8px}.welcome-auth-modes{margin-bottom:11px}}
