/* A full-screen game title scene, shared by every sign-in method. */
:root{color-scheme:dark}
*{box-sizing:border-box}
html{min-height:100%;background:#102f46}
body.auth-game{margin:0;min-height:100svh;color:#f5eed8;font-family:'Tower UI',system-ui,sans-serif;background:#102f46}
button,input,a{-webkit-tap-highlight-color:transparent}
button,input{font:inherit}
button,a,input{touch-action:manipulation}
button,a{color:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
a{text-decoration:none}
button:disabled{cursor:wait;opacity:.6}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #ffe194;outline-offset:4px}
.auth-world{position:fixed;inset:0;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 18% 20%,#62bdca 0,transparent 53%),linear-gradient(135deg,#316f8d,#123b59 60%,#225477)}
.auth-world-glow{position:absolute;inset:-30%;background:repeating-conic-gradient(from 15deg at 37% 22%,#ecf5db0a 0deg 8deg,transparent 8deg 26deg);transform:rotate(-10deg)}
.auth-islands{position:absolute;width:clamp(650px,68vw,1250px);height:auto;filter:saturate(.7) brightness(.76);animation:auth-float 12s ease-in-out infinite;will-change:transform}
.auth-islands-left{left:-24%;top:-24%;transform:rotate(-9deg)}
.auth-islands-right{right:-23%;bottom:-40%;width:clamp(680px,61vw,1100px);animation-delay:-6s;filter:saturate(.65) brightness(.62)}
.auth-world-shade{position:absolute;inset:0;background:linear-gradient(90deg,#061c3020 0%,#081b346b 27%,#081c38db 43%,#081c38d9 57%,#0a20364f 79%,#071c3040),linear-gradient(0deg,#071626e6,transparent 26%,transparent 74%,#0c20354a);box-shadow:inset 0 0 160px #03152a80}
.auth-sparks i{position:absolute;width:3px;height:3px;background:#ffdf88;border-radius:50%;box-shadow:0 0 12px 3px #ffc9785c;left:15%;top:65%;animation:auth-spark 9s ease-in-out infinite}
.auth-sparks i:nth-child(2){left:82%;top:22%;animation-delay:-2s}
.auth-sparks i:nth-child(3){left:69%;top:76%;animation-delay:-6s}
.auth-sparks i:nth-child(4){left:24%;top:34%;animation-delay:-4s}
.auth-sparks i:nth-child(5){left:91%;top:64%;animation-delay:-7s}
.auth-sparks i:nth-child(6){left:37%;top:85%;animation-delay:-3s}
.auth-stage{position:relative;z-index:1;width:min(100% - 40px,420px);min-height:calc(100svh - 58px);margin:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:38px 0 24px}
.auth-wordmark{display:flex;flex-direction:column;align-items:center;margin-bottom:38px;flex-shrink:0;filter:drop-shadow(0 10px 16px #061a32a6)}
.auth-wordmark>img{width:44px;height:44px;margin-bottom:10px;filter:drop-shadow(0 3px 0 #09263a)}
.auth-wordmark>span,.auth-wordmark>strong{font-family:'Tower Display',sans-serif!important;line-height:.98;font-size:clamp(50px,6.5vw,82px);letter-spacing:.025em;-webkit-text-stroke:1px #695835;paint-order:stroke fill;text-shadow:0 3px 0 #846139,0 6px 0 #152e40,0 8px 16px #081629}
.auth-wordmark>span{color:#fff9df}
.auth-wordmark>strong{color:#ffd467;font-size:clamp(53px,6.8vw,86px)}
.auth-wordmark>small{margin-top:17px;color:#b8ced6;letter-spacing:4px;font-size:10px}
.auth-dialog{position:relative;width:100%;padding:0 26px;outline:none}
.auth-close{position:absolute;right:-9px;top:-9px;width:34px;height:34px;border:0;background:none;padding:0;transition:transform .15s}
.auth-close:hover{transform:scale(1.08)}
.auth-close img{display:block;width:100%;height:100%}
.auth-tabs{display:flex;align-items:center;justify-content:center;gap:36px;margin:0 0 19px;border-bottom:1px solid #afbdc333}
.auth-tabs a{position:relative;padding:0 7px 13px;font-size:16px;letter-spacing:2px;color:#a3b9c9;transition:color .15s}
.auth-tabs a:hover,.auth-tabs a[aria-current]{color:#ffe29b}
.auth-tabs a[aria-current]:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#f9d780;box-shadow:0 0 12px #ffc85870}
.auth-dialog .account{display:flex;flex-direction:column;margin:0;padding:0;background:none;border:0;box-shadow:none}
.auth-dialog .account>.back,.auth-dialog .account>.eyebrow,.auth-dialog .account>h1{display:none}
.auth-dialog .account>p{margin:0 0 18px;text-align:center;color:#bccfd7;font-size:14px;line-height:1.5}
.auth-dialog .account>form{order:2;display:flex;flex-direction:column;gap:8px;margin:0}
.auth-dialog label{font-size:13px;letter-spacing:.4px;color:#e6e4ce;margin-top:7px}
.auth-dialog input:not([type=hidden]):not([type=checkbox]){width:100%;height:46px;padding:0 14px;background:linear-gradient(#092138e6,#10293be6);color:#fff7df;border:1px solid #9ba7868c;border-radius:5px;box-shadow:inset 0 2px 8px #0005,0 1px 0 #d4dfae1f;font-size:16px;transition:border-color .15s,background .15s}
.auth-dialog input::placeholder{color:#849ba9}
.auth-dialog input:focus{border-color:#f4d182;background:#0d2c44;outline:2px solid #f4d18244;outline-offset:1px}
.auth-dialog input:-webkit-autofill{-webkit-text-fill-color:#fff7df;box-shadow:0 0 0 100px #123047 inset}
.auth-dialog form>small{color:#a0b8c6;font-size:11px;line-height:1.5}
.auth-dialog .button,.auth-play{display:block;text-align:center;min-height:48px;margin-top:16px;padding:13px 18px;border:1px solid #ffe6a8;border-radius:5px;color:#523918;background:linear-gradient(180deg,#ffe59a 0%,#eeb94f 65%,#d99731 100%);box-shadow:inset 0 0 0 3px #8c571526,inset 0 2px 0 #fff3c9,0 4px 0 #85602e,0 8px 22px #0004;font-size:16px;letter-spacing:1px;transition:filter .15s,transform .15s}
.auth-dialog .button:hover,.auth-play:hover{filter:brightness(1.08)}
.auth-dialog .button:active,.auth-play:active{transform:translateY(2px)}
.auth-dialog .button .account-image-icon{display:none}
.auth-dialog .secondary{order:4;display:block;margin-top:19px;text-align:center;font-size:13px;color:#aec3cf}
.auth-dialog .secondary b{color:#ffe09a;margin-left:4px}
.auth-dialog .error,.auth-feedback{order:1;padding:11px 13px;margin:0 0 12px;border:1px solid #e4a39d75;border-radius:5px;background:#602e39c9;color:#ffe8dd;font-size:13px;line-height:1.5}
.auth-dialog .auth-options{order:3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:21px}
.auth-dialog .auth-options form{margin:0}
.auth-dialog .auth-divider{order:-1;grid-column:1/-1;display:flex;gap:12px;align-items:center;margin-bottom:4px;color:#9db6c7;font-size:11px;letter-spacing:.6px}
.auth-divider:before,.auth-divider:after{content:'';height:1px;flex:1;background:#c1d7d12c}
.auth-choice{width:100%;height:100%;min-height:65px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid #a3c5d047;border-radius:5px;background:#122f49bd;color:#ecf4eb;padding:10px 5px;font-size:12px;transition:background .15s,border-color .15s}
.auth-choice:hover:not(:disabled){background:#244b65;border-color:#d2c994}
.auth-choice:disabled{cursor:default;opacity:.6}
.auth-logo{display:flex;flex-shrink:0;width:20px;height:20px}
.auth-logo svg{width:100%;height:100%}
.auth-choice-label{display:flex;flex-direction:column;align-items:center;gap:4px}
.auth-choice-label small{font-size:10px;color:#aac0ca}
.auth-consent{display:flex;gap:10px;align-items:flex-start;line-height:1.5;letter-spacing:0!important}
.auth-consent input{flex-shrink:0;accent-color:#ebc369;width:17px;height:17px;margin-top:2px}
.auth-dialog .account>form+form{margin-top:20px;padding-top:18px;border-top:1px solid #9bb8c938}
.auth-dialog[aria-busy=true] #authContent{opacity:.65;cursor:progress}
.auth-legal{text-align:center;color:#819fad;font-size:10px;line-height:1.7;margin:24px -8px 0}
.auth-legal a{color:#b9c9c8;text-decoration:underline;text-underline-offset:3px}
.auth-footer{position:relative;z-index:1;display:flex;justify-content:space-between;gap:16px;align-items:center;min-height:58px;padding:15px 32px;color:#a3bbc4;font-size:10px;letter-spacing:1.8px}
.auth-footer b{color:#e9c87f;margin-left:8px}
.auth-welcome{width:100%;max-width:330px;text-align:center;padding-bottom:100px}
.auth-welcome p{color:#cee2e6;line-height:1.6;font-size:19px;margin:0 0 25px}
.auth-play{width:100%}
.auth-play span{margin-left:10px}
.auth-welcome-register{margin-top:25px;padding:10px;background:none;border:0;font-size:13px;letter-spacing:1px;color:#e3cb8d}
.auth-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.auth-noscript{position:relative;text-align:center;font-size:12px;padding:12px}
body[data-auth-mode=register] .auth-wordmark{margin-bottom:25px}
body[data-auth-mode=register] .auth-wordmark>img{display:none}
body[data-auth-mode=register] .auth-wordmark>span,body[data-auth-mode=register] .auth-wordmark>strong{font-size:55px}
body[data-auth-mode=name] .auth-tabs,body[data-auth-mode=phone] .auth-tabs{margin-bottom:20px}
@keyframes auth-float{0%,100%{translate:0 0}50%{translate:0 -18px}}
@keyframes auth-spark{0%,100%{opacity:.15;translate:0 0}50%{opacity:.9;translate:12px -30px}}
@media(min-width:1600px) and (min-height:1000px){.auth-wordmark{margin-bottom:60px}.auth-stage{padding-top:65px}.auth-wordmark>span{font-size:94px}.auth-wordmark>strong{font-size:100px}}
@media(max-width:700px){.auth-stage{width:min(100% - 28px,408px);padding-top:32px;min-height:calc(100svh - 54px)}.auth-dialog{padding:0 18px}.auth-wordmark{margin-bottom:28px}.auth-wordmark>img{width:35px;height:35px}.auth-wordmark>small{font-size:9px;letter-spacing:3px}.auth-world-shade{background:linear-gradient(90deg,#08263b80,#082039d9 23%,#082039d9 77%,#08263b80),linear-gradient(0deg,#071a2be6,transparent 50%)}.auth-islands-left{width:780px;left:-520px;top:-80px}.auth-islands-right{width:650px;right:-450px;bottom:-160px}.auth-footer{padding:16px 18px;font-size:8px;letter-spacing:1px}.auth-close{right:0;top:-8px;width:30px;height:30px}.auth-tabs{gap:30px}.auth-tabs a{font-size:14px}.auth-dialog .account>p{font-size:13px}.auth-legal{margin-top:20px}.auth-dialog input:not([type=hidden]):not([type=checkbox]){height:44px}}
@media(max-height:760px){.auth-stage{padding-top:24px}.auth-wordmark{margin-bottom:24px}.auth-wordmark>img{display:none}.auth-wordmark>span,.auth-wordmark>strong{font-size:52px}.auth-wordmark>small{margin-top:12px}.auth-dialog .auth-options{margin-top:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.auth-islands{will-change:auto}}
