:root{--navy:#101a35;--blue:#43b9e8;--cyan:#8ce5f4;--ink:#1b2944;--muted:#71809b;--paper:#fff;--line:#e8edf5}
*{box-sizing:border-box}body{margin:0;font-family:Nunito,system-ui,sans-serif;color:var(--ink);background:#eef4fb;min-height:100vh}button,input{font:inherit}.hidden{display:none!important}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;max-width:1240px;margin:auto;background:white;box-shadow:0 24px 80px #14294a18}.brand-panel{position:relative;overflow:hidden;background:linear-gradient(145deg,#111d3c,#183d66);color:white;padding:64px clamp(28px,6vw,82px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.brand-mark{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#79e4ef,#39aee6);display:grid;place-items:center;color:#102344;font-size:30px;font-weight:1000;box-shadow:0 10px 30px #42c5e766}.wordmark{font-size:54px;font-weight:1000;letter-spacing:3px;margin-top:18px}.wordmark span{color:#72dff1}.tagline{margin:0;font-size:18px;color:#bdeefa;font-weight:800}.brand-note{max-width:370px;line-height:1.7;color:#d0d9ea;margin-top:24px}.mini-world{position:relative;width:min(100%,440px);height:250px;margin-top:35px;background:linear-gradient(#8adcf0 0 48%,#9bdc9d 48%);border-radius:24px;overflow:hidden;box-shadow:0 22px 55px #07132966}.hill{position:absolute;bottom:-75px;left:-30px;width:520px;height:190px;background:#66bd81;transform:rotate(-9deg);border-radius:50%}.path{position:absolute;bottom:-75px;left:145px;width:150px;height:220px;background:#f3d49b;transform:rotate(38deg);border-radius:50%}.house{position:absolute;bottom:74px;left:160px;width:120px;height:92px;background:#fff0c8;border:5px solid #fff;border-radius:8px;box-shadow:0 8px 0 #d8a66e}.house:before{content:"";position:absolute;top:-45px;left:-10px;border-left:65px solid transparent;border-right:65px solid transparent;border-bottom:48px solid #ef866e}.house i{position:absolute;bottom:0;left:43px;width:27px;height:48px;background:#8c6b58}.house b{position:absolute;top:20px;right:12px;width:24px;height:25px;background:#83d8e7;border:3px solid white}.tree{position:absolute;bottom:95px;width:18px;height:70px;background:#8a5d42}.tree:before{content:"";position:absolute;left:-25px;top:-42px;width:68px;height:68px;background:#37a978;border-radius:50%;box-shadow:inset -8px -8px #268b69}.t1{left:75px}.t2{right:65px;transform:scale(.8)}.cloud{position:absolute;width:72px;height:20px;border-radius:30px;background:#fff;top:35px}.cloud:before{content:"";position:absolute;width:34px;height:34px;background:white;border-radius:50%;left:15px;top:-16px}.c1{left:45px}.c2{right:50px;top:65px;transform:scale(.7)}.tiny-person{position:absolute;z-index:2;bottom:54px;left:310px;width:20px;height:36px}.tiny-person:before{content:"";position:absolute;top:0;left:4px;width:13px;height:13px;background:#f2b58b;border-radius:50%}.tiny-person i{position:absolute;top:13px;left:2px;width:17px;height:20px;background:#f08b63;border-radius:7px}.form-panel{display:grid;place-items:center;padding:42px}.form-wrap{width:min(100%,390px)}.eyebrow{font-size:10px;font-weight:1000;letter-spacing:2px;color:#39a9d7}.form-wrap h1,.lobby-head h1{font-size:34px;line-height:1.1;margin:10px 0 8px;font-weight:1000;letter-spacing:-1px}.muted,.lobby-head p{color:var(--muted);margin:0 0 26px}.tabs{display:flex;gap:8px;padding:5px;background:#f1f5fa;border-radius:12px;margin-bottom:24px}.tab{border:0;background:transparent;color:#71809b;padding:11px;border-radius:9px;flex:1;font-weight:900;cursor:pointer}.tab.active{background:#fff;color:#1b2944;box-shadow:0 2px 8px #1a31521a}label{display:block;font-size:12px;font-weight:900;margin:15px 0;color:#34425d}input{display:block;width:100%;margin-top:7px;border:1px solid #dfe6f0;border-radius:11px;padding:14px 15px;outline:none;color:#1b2944;background:#fbfcfe}input:focus{border-color:#48b9e4;box-shadow:0 0 0 3px #48b9e41c}.primary{width:100%;border:0;border-radius:11px;padding:15px;background:linear-gradient(100deg,#3caee0,#55cce0);color:#092746;font-weight:1000;cursor:pointer;margin-top:12px;box-shadow:0 9px 22px #39b4df40}.primary span{float:right;font-size:19px}.message{min-height:22px;color:#c34e56;font-size:12px;font-weight:800}.fineprint{font-size:11px;color:#9aa5b6;line-height:1.6;margin-top:25px}.game-shell{max-width:1180px;margin:auto;min-height:100vh;background:#f6f9fd;padding:0 28px 24px}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.game-logo{font-size:23px;font-weight:1000;letter-spacing:2px}.game-logo span{display:inline-grid;place-items:center;width:32px;height:32px;background:#42b9e6;border-radius:10px;color:#0f2944;margin-right:7px}.top-actions{display:flex;align-items:center;gap:18px;font-size:13px;font-weight:900}.logout{border:0;background:#eaf4fa;color:#257da7;border-radius:9px;padding:9px 15px;font-weight:900;cursor:pointer}.lobby-head{display:flex;align-items:end;justify-content:space-between;padding:28px 0 18px}.lobby-head h1{font-size:30px}.lobby-head p{margin:0}.online-pill{background:#e6f8ef;color:#268b5b;border-radius:30px;padding:9px 14px;font-size:11px;font-weight:900}.online-pill i{display:inline-block;width:7px;height:7px;background:#36bd79;border-radius:50%;margin-right:6px}.world-frame{position:relative;height:min(62vh,570px);min-height:360px;border-radius:22px;overflow:hidden;background:#b8e9f3;box-shadow:0 16px 45px #193b5a20;border:5px solid white}#worldCanvas{width:100%;height:100%;display:block;touch-action:none}.world-hint,.world-label{position:absolute;background:#102744d9;color:white;border-radius:9px;padding:9px 12px;font-size:11px;font-weight:900;pointer-events:none}.world-hint{bottom:15px;left:15px}.world-label{top:15px;left:15px;letter-spacing:1px}.game-footer{display:flex;justify-content:space-between;align-items:center;padding:18px 4px}.avatar-chip{display:flex;align-items:center;gap:10px}.avatar-mini{width:38px;height:38px;border-radius:13px;background:#d8f4fa;display:grid;place-items:center;color:#1686b5;font-size:25px}.avatar-chip b,.avatar-chip small{display:block}.avatar-chip small{font-size:10px;color:#8592a6}.footer-tip{font-size:12px;color:#8190a6;font-weight:800}@media(max-width:760px){.auth-shell{grid-template-columns:1fr}.brand-panel{padding:28px 26px 20px;min-height:300px}.mini-world{height:145px;margin-top:18px}.brand-note{margin-top:12px;font-size:13px}.wordmark{font-size:40px}.form-panel{padding:35px 25px}.game-shell{padding:0 12px 15px}.world-frame{height:58vh;min-height:330px}.lobby-head{align-items:start;gap:10px;flex-direction:column}.footer-tip{display:none}}
