:root{color-scheme:dark;--auth-bg:#211918;--auth-panel:#2b201e;--auth-line:#51413a;--auth-text:#f4eeea;--auth-muted:#b9aaa2;--auth-accent:#ce422b}*{box-sizing:border-box}body{margin:0;min-width:280px;background:radial-gradient(ellipse at 22% 40%,#45271e66,transparent 55%),var(--auth-bg);color:var(--auth-text);font:14px/1.5 'Segoe UI',Arial,sans-serif}.auth-shell{min-height:100svh;display:grid;place-items:center;padding:32px 22px}.auth-card{width:min(100%,1010px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--auth-line);border-radius:18px;overflow:hidden;background:var(--auth-panel);box-shadow:0 24px 80px #0005}.auth-art{position:relative;min-height:620px;overflow:hidden;background:radial-gradient(ellipse at 45% 58%,#93502133,transparent 62%),#211a17;isolation:isolate}.auth-brand{position:absolute;z-index:2;top:35px;left:38px;right:38px}.auth-brand img{display:block;width:min(100%,330px);height:auto}.auth-character{position:absolute;bottom:-6%;left:0;width:100%;height:94%;object-fit:contain;object-position:bottom;transform-origin:50% 100%;animation:auth-breathe 7s ease-in-out infinite}.auth-art:after{content:'';position:absolute;inset:auto 0 0;height:100px;background:linear-gradient(transparent,#211a17);pointer-events:none}.auth-art i{position:absolute;z-index:-1;left:18%;bottom:10%;width:3px;height:3px;border-radius:50%;background:#df8b3f;box-shadow:0 0 9px #d94e24;animation:auth-ember 9s linear infinite}.auth-art i:nth-of-type(2){left:78%;animation-delay:-3s;animation-duration:12s}.auth-art i:nth-of-type(3){left:55%;animation-delay:-7s}.auth-form-side{padding:28px 38px 30px;min-width:0}.auth-tools{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px;gap:16px}.auth-tools a{font-size:12px;color:var(--auth-muted);text-decoration:none}.auth-tools select{font:inherit;font-size:12px;border:1px solid var(--auth-line);border-radius:6px;background:#241b19;color:var(--auth-text);padding:5px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;background:#211a18;border:1px solid #48372f;border-radius:8px}.auth-tabs a{display:block;padding:10px;text-align:center;color:var(--auth-muted);font-weight:600;text-decoration:none;border-radius:5px}.auth-tabs a[aria-current=page]{background:#42312b;color:#fff;box-shadow:0 1px 5px #0003}h1{font-size:23px;line-height:1.25;margin:22px 0 19px;font-weight:700}.auth-field{display:block;margin:0 0 14px}.auth-field span{display:block;margin-bottom:6px;font-size:12px;font-weight:600;color:#d5c6bd}.auth-field input{display:block;width:100%;min-width:0;height:44px;border:1px solid var(--auth-line);background:#211a18;border-radius:7px;color:#fff;padding:0 12px;font:inherit;outline:none}.auth-field input:focus{border-color:#d36b4b;box-shadow:0 0 0 3px #ce422b1a}.auth-hint{margin:-7px 0 15px;color:var(--auth-muted);font-size:11px}.auth-check{display:flex;gap:9px;align-items:flex-start;font-size:12px;color:#c6b8af;margin:11px 0}.auth-check input{margin:3px 0 0;flex:0 0 auto;width:14px;height:14px;accent-color:var(--auth-accent)}.auth-check a{color:#e6a187;text-underline-offset:2px}.auth-submit,.auth-steam{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px 14px;border-radius:7px;font:700 14px 'Segoe UI',Arial,sans-serif;text-decoration:none;cursor:pointer}.auth-submit{border:1px solid #e15a3b;background:var(--auth-accent);color:#fff;margin-top:18px}.auth-submit:hover{background:#dc5035}.auth-submit[disabled]{opacity:.65;cursor:wait}.auth-steam{border:1px solid #655348;background:#372a24;color:#eee7e2}.auth-steam:hover{background:#443329}.auth-steam svg{width:20px;height:20px;flex:none}.auth-separator{display:flex;align-items:center;gap:12px;margin:17px 0;color:var(--auth-muted);font-size:11px}.auth-separator:before,.auth-separator:after{content:'';height:1px;background:var(--auth-line);flex:1}.auth-error{margin:16px 0 0;border:1px solid #a65744;background:#71342625;color:#f2b5a2;border-radius:7px;padding:10px 12px;font-size:12px;overflow-wrap:anywhere}.auth-mobile-logo{display:none}.auth-banned{margin:12px 0;color:var(--auth-muted);font-size:13px}a:focus-visible,button:focus-visible,select:focus-visible{outline:2px solid #efb195;outline-offset:3px}@keyframes auth-breathe{0%,100%{transform:translate3d(0,0,0) rotate(-.6deg)}50%{transform:translate3d(0,-14px,0) rotate(.6deg)}}@keyframes auth-ember{0%{transform:translateY(0);opacity:0}15%{opacity:.7}85%{opacity:.4}100%{transform:translateY(-450px);opacity:0}}@media(max-width:720px){.auth-shell{padding:20px 14px}.auth-card{grid-template-columns:1fr;max-width:460px}.auth-art{display:none}.auth-form-side{padding:23px 25px 25px}.auth-mobile-logo{display:block;width:min(270px,85%);height:auto;margin:4px auto 25px}h1{font-size:22px}.auth-tools{margin-bottom:18px}}@media(max-width:360px){.auth-shell{padding:12px 9px}.auth-form-side{padding:20px 18px}.auth-check{font-size:11px}}@media(prefers-reduced-motion:reduce){.auth-character,.auth-art i{animation:none}}

/* 2312: shared account content is embedded over the current page. */
.auth-brand{display:flex;align-items:center;justify-content:center;left:24px;right:24px}.auth-brand img{margin:0 auto}.auth-card [hidden]{display:none!important}.auth-error{margin:0 0 15px}.auth-embedded{min-width:0;background:transparent}.auth-embedded .auth-shell{min-height:0;padding:0;display:block}.auth-embedded .auth-card{width:100%;border:0;border-radius:14px;box-shadow:none;min-height:0}.auth-embedded .auth-art{min-height:560px}.auth-embedded .auth-tools{visibility:hidden;height:0;margin:0}.auth-embedded .auth-form-side{padding-top:32px}.auth-embedded .auth-mobile-logo{margin-top:0}.auth-embedded .auth-character{height:88%;bottom:-3%}@media(max-width:720px){.auth-embedded .auth-card{max-width:none}.auth-embedded .auth-form-side{padding:25px 22px}.auth-embedded .auth-mobile-logo{width:230px;max-width:80%;margin-bottom:22px}}

/* 2315: both account tabs share one intrinsic form area. */
.auth-form-side{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"logo" "tools" "tabs" "heading" "form" "separator" "steam";grid-template-rows:auto auto auto auto minmax(min-content,1fr) auto auto}
.auth-form-side>.auth-mobile-logo{grid-area:logo}.auth-form-side>.auth-tools{grid-area:tools}.auth-form-side>.auth-tabs{grid-area:tabs}.auth-form-side>h1{grid-area:heading;min-height:2.5em;display:grid;align-items:center}.auth-form-side>.auth-separator{grid-area:separator}.auth-form-side>.auth-steam{grid-area:steam}
.auth-form-side>[data-auth-form]{grid-area:form;align-self:center;min-width:0}
.auth-card [data-auth-form][hidden]{display:block!important;visibility:hidden;pointer-events:none}

/* 2316: compact account fields while preserving the shared outer size. */
.auth-form-side{grid-template-rows:auto auto auto auto minmax(min-content,1fr) auto auto}.auth-form-side>[data-auth-form]{display:grid;align-self:start;align-content:start;grid-template-columns:minmax(0,1fr);grid-template-areas:"error" "identifier" "password" "submit"}
.auth-card [data-auth-form][hidden]{display:grid!important;visibility:hidden;pointer-events:none}
[data-auth-form]>.auth-error{grid-area:error}[data-auth-form]>[data-auth-field=identifier]{grid-area:identifier}[data-auth-form]>[data-auth-field=username]{grid-area:username}[data-auth-form]>[data-auth-field=email]{grid-area:email}[data-auth-form]>[data-auth-field=password]{grid-area:password}[data-auth-form]>[data-auth-field=repeat]{grid-area:repeat}[data-auth-form]>.auth-hint{grid-area:hint}[data-auth-form]>.auth-check--age{grid-area:age}[data-auth-form]>.auth-check--terms{grid-area:terms}[data-auth-form]>.auth-submit{grid-area:submit}
.auth-form-side>[data-auth-form=register]{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"error error" "username email" "password repeat" "hint hint" "age age" "terms terms" "submit submit";column-gap:14px}
.auth-form-side>h1{margin-top:16px;margin-bottom:12px}.auth-field{margin-bottom:11px}.auth-field span{margin-bottom:5px}.auth-hint{margin:-3px 0 9px}.auth-check{margin:6px 0}.auth-submit{margin-top:12px}.auth-separator{margin:13px 0}
@media(max-width:720px){.auth-form-side>[data-auth-form=register]{grid-template-columns:minmax(0,1fr);grid-template-areas:"error" "username" "email" "password" "repeat" "hint" "age" "terms" "submit"}.auth-form-side>h1{margin-top:15px;margin-bottom:10px}.auth-field{margin-bottom:10px}.auth-field input{height:42px}.auth-check{font-size:11px}.auth-mobile-logo{margin-bottom:18px}.auth-embedded .auth-mobile-logo{margin-bottom:18px}}


/* 2385: the mobile Login surplus displays the existing survivor without stretching either tab. */
.auth-mobile-art{display:none}
@media(max-width:720px){
 .auth-form-side>[data-auth-form=login]{align-self:stretch;align-content:stretch;grid-template-areas:"error" "identifier" "password" "submit" "character";grid-template-rows:auto auto auto auto minmax(0,1fr)}
 .auth-mobile-art{grid-area:character;display:block;position:relative;min-height:0;width:100%;margin-top:9px;overflow:hidden;pointer-events:none;border-radius:10px;background:radial-gradient(ellipse at 50% 60%,#75442526,transparent 69%)}
 .auth-mobile-art img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 0%;padding-top:14px;mix-blend-mode:lighten;mask-image:linear-gradient(transparent,#000 12%,#000 80%,transparent);transform-origin:50% 100%;animation:auth-breathe 7s ease-in-out infinite}
 .auth-card [data-auth-form][hidden] .auth-mobile-art img{animation-play-state:paused}
}
@media(prefers-reduced-motion:reduce){.auth-mobile-art img{animation:none}}
