/* Account entry shares the landing page's PixelLab city, paper gold and deep green. */
.welcome.auth-screen{--auth-gold:#ded19a;--auth-ink:#f0ecdc;--auth-muted:#aab5a6;display:block;padding:0;background:#101b18;backdrop-filter:none;color:var(--auth-ink);isolation:isolate;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
.auth-screen [hidden]{display:none!important}
.auth-backdrop{position:absolute;inset:0;z-index:-1;min-height:100%;background:linear-gradient(90deg,#0c1918b8 0%,#10201e42 48%,#101b18ed 90%),linear-gradient(0deg,#101b18 1%,#101b1820 56%,#101b1866),url('/assets/landing/bangkok-dusk.png') center/cover no-repeat;image-rendering:pixelated;pointer-events:none}
.auth-page{position:relative;display:flex;flex-direction:column;min-height:100%;width:min(1440px,100%);margin:0 auto;padding:0 56px}
.auth-header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:94px;border-bottom:1px solid #a5b09b26}
.auth-wordmark{display:flex;align-items:center;gap:12px;font:24px/1 Impact,'Arial Narrow',sans-serif;letter-spacing:1px}
.auth-wordmark b{color:var(--auth-gold);font-weight:inherit}.auth-wordmark small{display:block;font:8px/1.3 Consolas,monospace;letter-spacing:1.7px;color:#bac0ad;margin-top:7px}
.auth-mark{display:grid;place-items:center;width:35px;height:40px;background:var(--auth-gold);color:#17251f;font-size:30px;clip-path:polygon(0 0,100% 0,100% 78%,75% 100%,0 100%)}
.auth-home{display:flex;align-items:center;gap:20px;min-height:42px;padding:10px 17px;border:1px solid #c5c6a14a;color:#d6d9c3;font-size:11px;background:#111d194d}
.auth-home:hover{background:#d7cf9820;border-color:var(--auth-gold)}
.auth-screen :is(button,a):focus-visible{outline:2px solid var(--auth-gold);outline-offset:4px}
.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,460px);gap:clamp(36px,7vw,110px);align-items:center;flex:1;padding:32px 0}
.auth-story{align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:12px 0;min-width:0}
.auth-eyebrow{display:flex;align-items:center;gap:10px;font:10px/1.6 Consolas,monospace;letter-spacing:2px;color:var(--auth-gold)}
.auth-eyebrow i,.auth-footer i{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--auth-gold);box-shadow:0 0 10px #ded19a50;flex-shrink:0}
.auth-story h1{font:clamp(72px,8vw,112px)/.9 Impact,'Arial Narrow',sans-serif;letter-spacing:1px;margin:23px 0 22px;text-shadow:0 8px 40px #0003}
.auth-story h1>span{display:block;color:var(--auth-gold)}.auth-story h1 b{color:#d98f5e;font-weight:inherit}
.auth-story h2{font-size:clamp(19px,2vw,26px);font-weight:400;line-height:1.6}.auth-story em{color:var(--auth-gold);font-style:normal}
.auth-story>p{font-size:13px;line-height:2.05;color:#c2cbbd;margin:17px 0 22px}
.auth-world-note{border-left:2px solid var(--auth-gold);padding-left:14px;display:grid;gap:7px}.auth-world-note>span{font:10px/1.4 Consolas,monospace;letter-spacing:2px;color:var(--auth-gold)}.auth-world-note small{font-size:10px;color:#afb9a6}
.auth-field-note{display:flex;align-items:center;gap:18px;background:#10241ddb;border:1px solid #8a9b7336;padding:10px;max-width:360px;margin-top:36px;box-shadow:0 12px 40px #0002}
.auth-field-note img{width:104px;height:76px;object-fit:cover;image-rendering:pixelated;opacity:.9}.auth-field-note small{font:8px/1.6 Consolas,monospace;letter-spacing:.8px;color:var(--auth-gold)}.auth-field-note p{font-size:12px;line-height:1.8;margin-top:7px;color:#d9ddcb}
.auth-panel{min-width:0;background:linear-gradient(135deg,#203129fa,#14221efc 62%);border:1px solid #b5b5914f;box-shadow:0 24px 80px #0006;position:relative}
.auth-panel:before{content:'';position:absolute;left:-1px;top:-1px;width:48px;height:3px;background:var(--auth-gold)}
.auth-mode{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #94a0823b;background:#0b19174a;padding:0 26px;gap:20px}
.auth-mode button{min-height:54px;color:#acb8a8;border-bottom:2px solid transparent;font-size:13px;padding:12px 0}
.auth-mode button[aria-pressed=true]{border-color:var(--auth-gold);color:var(--auth-gold)}.auth-mode button:hover{color:var(--auth-ink)}
.auth-panel-content{padding:26px 30px 22px}.auth-panel-kicker{display:flex;justify-content:space-between;align-items:center;font:9px/1.6 Consolas,monospace;letter-spacing:1.5px;color:#bbc69e}.auth-panel-kicker>span{font-size:19px;color:var(--auth-gold)}
.auth-panel h2{font-size:26px;line-height:1.5;font-weight:400;margin:9px 0 5px;letter-spacing:-.5px;outline:none}.auth-intro{font-size:12px;line-height:1.8;color:var(--auth-muted)}
.auth-steps{display:flex;gap:24px;list-style:none;margin:20px 0 22px;padding:0 0 17px;border-bottom:1px solid #81977330}.auth-steps li{display:flex;align-items:center;gap:8px;font-size:11px;color:#94a08f}.auth-steps b{font:10px Consolas,monospace;border:1px solid #72896c55;padding:5px 6px;font-weight:400}.auth-steps li[aria-current]{color:var(--auth-gold)}.auth-steps li[aria-current] b{border-color:#ded19a80;background:#ded19a12}
.auth-return-note{display:flex;gap:8px;color:#bac5a8;font-size:11px;margin:20px 0 24px;padding-bottom:18px;border-bottom:1px solid #81977330}
.auth-field{margin:0 0 16px}.auth-screen .auth-field label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#e0e2d2;font-size:12px;margin-bottom:7px;line-height:1.7}.auth-field label>span{font:8px Consolas,monospace;letter-spacing:1.4px;color:#899981}
.auth-screen .auth-field input{display:block;width:100%;min-height:48px;padding:12px 14px;margin:0;border:1px solid #7a8e715e;border-radius:0;background:#0d1b17aa;color:#f3ecda;font-size:16px;line-height:1.4;text-transform:none;letter-spacing:normal;box-shadow:inset 0 1px 3px #0001;transition:border-color .15s,background .15s}
.auth-screen .auth-field input::placeholder{color:#879781;font-size:13px}.auth-screen .auth-field input:hover{border-color:#9ba68b99}.auth-screen .auth-field input:focus{outline:2px solid #ded19a55;outline-offset:2px;border-color:var(--auth-gold);background:#15271f}
.auth-field-help{display:block;font-size:10px;color:#acb9a0;line-height:1.8;margin-top:6px}.auth-field-help[data-state=valid]{color:#bfce99}.auth-field-help[data-state=invalid]{color:#efb49c}
.auth-password{position:relative}.auth-screen .auth-password input{padding-right:52px}.auth-reveal{position:absolute;inset:1px 1px 1px auto;display:grid;place-items:center;width:46px;color:#b7c3a9}.auth-reveal:hover,.auth-reveal[aria-pressed=true]{color:var(--auth-gold);background:#ded19a0d}.auth-reveal svg{width:20px;height:20px}
.auth-caps,.auth-legacy,.auth-error{padding:10px 12px;font-size:11px;line-height:1.8;margin-bottom:14px;border-left:2px solid #bca576;background:#ddc3890b;color:#e1c595}.auth-error{color:#f3b49e;border-color:#d8896d;background:#ce846410}.auth-legacy{color:#d4d8bb}
.auth-screen .auth-submit{display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--auth-gold);border:1px solid #ece2b5;color:#17251d;width:100%;min-height:52px;padding:14px 18px;margin-top:21px;font-size:13px;font-weight:bold;box-shadow:4px 4px 0 #ded19a1a;transition:background .15s,transform .15s}.auth-submit>span:last-child{font-size:20px;font-weight:400}.auth-submit:hover:not(:disabled){background:#ecdfaf;transform:translateY(-1px)}
.auth-switch-line{font-size:11px;color:var(--auth-muted);text-align:center;margin:18px 0 14px}.auth-screen .auth-switch{color:var(--auth-gold);font-size:11px;text-decoration:underline;text-underline-offset:4px;padding:8px 6px}
.auth-save-note{display:flex;align-items:center;justify-content:center;gap:7px;border-top:1px solid #81977330;padding-top:15px;font-size:9px;line-height:1.9;color:#a8b39f}.auth-save-note>span{font-size:15px;color:#c4cba6}
.auth-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:66px;border-top:1px solid #a5b09b26;color:#abb59f}.auth-footer>span{display:flex;align-items:center;gap:10px;font:9px/1.5 Consolas,monospace;letter-spacing:1.5px;color:var(--auth-gold)}.auth-footer small{font-size:9px;line-height:1.8}.auth-footer b{font-size:17px;font-weight:400}
@media(min-width:901px) and (max-height:850px){.auth-header{min-height:76px}.auth-layout{padding:24px 0}.auth-panel-content{padding:20px 28px 16px}.auth-panel h2{font-size:24px}.auth-mode button{min-height:47px}.auth-field{margin-bottom:12px}.auth-steps{margin:14px 0 17px;padding-bottom:13px}.auth-screen .auth-field input{min-height:44px;padding-top:10px;padding-bottom:10px}.auth-screen .auth-submit{margin-top:16px;min-height:48px;padding:10px 16px}.auth-switch-line{margin:10px 0 7px}.auth-save-note{padding-top:11px}.auth-footer{min-height:54px}.auth-field-note{margin-top:28px}}
@media(max-width:1050px){.auth-page{padding:0 32px}.auth-layout{gap:32px;grid-template-columns:minmax(0,1fr) minmax(370px,420px)}.auth-story h1{font-size:84px}.auth-story h2{font-size:21px}.auth-story>p{font-size:12px}.auth-field-note{gap:12px}.auth-field-note img{width:80px}.auth-field-note small{font-size:7px}}
@media(max-width:900px){.auth-page{max-width:620px;padding:0 24px}.auth-header{min-height:80px}.auth-layout{grid-template-columns:1fr;gap:24px;padding:28px 0}.auth-story{position:relative;padding:0}.auth-story h1{font-size:60px;margin:16px 0 12px;line-height:1}.auth-story h1>span{display:inline;margin-left:12px}.auth-story h2{font-size:23px}.auth-story>p{margin:10px 0 0;font-size:12px}.auth-world-note,.auth-field-note{display:none}.auth-backdrop{background-position:44% top;background-size:auto 760px;background-color:#101b18}.auth-panel-content{padding:25px 28px}.auth-panel h2{font-size:26px}.auth-footer{flex-wrap:wrap;justify-content:center;gap:8px 20px;padding:18px 0;text-align:center}.auth-footer>span:last-child{display:none}.auth-footer small{width:100%}}
@media(max-width:480px){.auth-page{padding:0 18px}.auth-header{min-height:70px;gap:12px}.auth-wordmark{font-size:21px;gap:9px}.auth-wordmark small{font-size:6px;letter-spacing:1.4px}.auth-mark{width:29px;height:34px;font-size:26px}.auth-home{font-size:10px;padding:8px 10px;gap:8px;min-height:38px}.auth-layout{padding:24px 0;gap:22px}.auth-eyebrow{font-size:8px;letter-spacing:1.6px}.auth-story h1{font-size:49px;margin:13px 0 9px}.auth-story h1>span{margin-left:8px}.auth-story h2{font-size:20px}.auth-story>p{font-size:11px;line-height:1.85}.auth-panel-content{padding:20px}.auth-panel h2{font-size:23px}.auth-intro{font-size:11px}.auth-mode{padding:0 20px;gap:14px}.auth-mode button{min-height:48px;font-size:12px}.auth-panel-kicker{font-size:8px;letter-spacing:1.2px}.auth-steps{gap:20px}.auth-save-note{font-size:8px}.auth-field-help{font-size:10px}}
@media(max-width:350px){.auth-page{padding:0 12px}.auth-panel-content{padding:18px 16px}.auth-panel h2{font-size:21px}.auth-home{gap:5px;padding:8px}.auth-story h1{font-size:44px}}
.auth-password-fields.is-register{display:grid;grid-template-columns:1fr 1fr;gap:14px}.auth-password-fields .auth-field{min-width:0}.auth-password-fields.is-register input::placeholder{font-size:11px}.auth-save-note>span{line-height:1}
@media(min-width:901px) and (max-height:850px){.auth-header{min-height:64px}.auth-layout{padding:20px 0}.auth-panel-content{padding:18px 28px 15px}.auth-panel-kicker{line-height:1.2}.auth-panel h2{margin-top:5px}.auth-steps{margin:12px 0 15px;padding-bottom:11px}.auth-field{margin-bottom:10px}.auth-screen .auth-submit{margin-top:8px}.auth-switch-line{margin:7px 0 4px}.auth-footer{min-height:46px}}
@media(max-width:600px){.auth-password-fields.is-register{display:block}.auth-password-fields.is-register input::placeholder{font-size:13px}}
@media(min-width:901px) and (max-height:760px){.auth-header{min-height:60px}.auth-layout{padding:12px 0}.auth-footer{min-height:40px}}
@media(prefers-reduced-motion:reduce){.auth-screen *{transition:none!important}}
