:root{font-family:"Trebuchet MS","PingFang SC","Microsoft YaHei",sans-serif;color:#2f5149;background:#e9f3ed;font-synthesis:none;--mint:#426b58;--cream:#fffdf6;--yellow:#f4d34f;--blue:#189ed3}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;width:100%;height:100%;height:100dvh;overflow:hidden;overscroll-behavior:none;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}button,input{font:inherit}button{cursor:pointer;touch-action:none;border:0;transition:transform .15s,background .15s}button:active{transform:translateY(2px)}button:disabled{opacity:.5;cursor:wait}button:focus-visible,input:focus-visible{outline:3px solid #82b9b1;outline-offset:3px}button,a{color:inherit}button{white-space:nowrap}input{user-select:text;-webkit-user-select:text;touch-action:manipulation}a{text-decoration:none}.hidden{display:none!important}#world{position:fixed;inset:0;width:100%;height:100%;display:block}.topbar{position:fixed;z-index:5;top:0;left:0;width:100%;padding:24px max(32px,env(safe-area-inset-right)) 14px max(32px,env(safe-area-inset-left));display:flex;justify-content:space-between;align-items:center;pointer-events:none}.brand{display:flex;gap:11px;align-items:center;font-size:20px;font-weight:700;letter-spacing:2px;pointer-events:auto}.brand-icon{border:1px solid #668773;border-radius:50%;width:38px;height:38px;font-size:30px;line-height:33px;text-align:center;font-weight:400}.brand small{display:block;font-size:7px;letter-spacing:1.5px;margin-top:5px;color:#82948b}.top-actions{display:flex;align-items:center;gap:9px;pointer-events:auto}.network{display:flex;align-items:center;gap:7px;font-size:11px;margin-right:8px;color:#6e8578}.network i{width:6px;height:6px;border-radius:50%;background:#87a98b}.network.offline i{background:#d99b87}.icon-button{width:35px;height:35px;border:1px solid #d1dfd3;border-radius:50%;background:#ffffff70;font-size:19px}.home{position:fixed;inset:0;display:grid;grid-template-columns:1fr 390px;gap:60px;align-items:center;max-width:1100px;margin:auto;padding:70px 30px 90px;pointer-events:none}.home>*{pointer-events:auto}.welcome{align-self:start;margin-top:9vh}.eyebrow{font-size:9px;letter-spacing:2px;color:#7a8d77;display:flex;align-items:center;gap:10px}.eyebrow span{height:1px;width:27px;background:#90a48a}h1{font-size:clamp(40px,4.5vw,65px);line-height:1.35;font-weight:500;letter-spacing:3px;margin:22px 0 20px;font-family:Georgia,"Songti SC","SimSun",serif}h1 em{font-style:normal;color:#7c9972;position:relative}h1 em:after{content:"";position:absolute;bottom:-3px;left:0;width:100%;height:4px;border-radius:50%;background:#e6bc94}.welcome p{font-size:14px;line-height:2.1;color:#718377;letter-spacing:1px}.welcome-note{display:flex;align-items:center;gap:12px;font-size:10px;letter-spacing:1px;color:#82917f;margin-top:20px}.tiny-rope{font-size:11px;color:#bba77f;letter-spacing:0}.card{background:#fffdf7ed;border:1px solid #fffefb;border-radius:24px;box-shadow:0 16px 60px #6a8c6d12;padding:30px}.card-kicker{font-size:9px;letter-spacing:2.2px;color:#9aa38d}.card h2{font-weight:500;font-size:22px;letter-spacing:1px;margin:15px 0 10px}.muted{font-size:12px;color:#8a9587;line-height:1.8;margin:0 0 25px}.primary{background:#426b58;color:#fffcf1;border-radius:11px;box-shadow:0 4px 0 #355746;font-size:14px;letter-spacing:1px}.primary:hover{background:#365b49}.big{height:53px;width:100%;display:flex;align-items:center;justify-content:center;gap:30px}.big span{font-size:22px}.divider{display:flex;align-items:center;gap:12px;color:#a5ab9a;font-size:10px;margin:27px 0 23px}.divider:before,.divider:after{content:"";height:1px;flex:1;background:#e4e8dd}label{font-size:11px;color:#758773;display:block;margin-bottom:10px}.join-row{display:flex;gap:9px}.join-row input{min-width:0;width:100%;border:1px solid #dfe4d7;border-radius:10px;height:47px;background:#f6f7ef;padding:0 14px;letter-spacing:3px;color:#426b58;font-size:16px}.join-row input::placeholder{font-size:12px;letter-spacing:1px;color:#afb6a4}.secondary{background:#e7eee1;border:1px solid #dce5d7;border-radius:10px;padding:0 16px;font-size:13px;color:#5f795c}.entry-bottom{display:flex;justify-content:space-between;font-size:9px;color:#a0a995;gap:8px;border-top:1px dashed #e0e5d8;padding-top:19px;margin-top:25px}.home-footer{position:fixed;bottom:25px;left:30px;right:30px;display:flex;justify-content:space-between;font-size:10px;letter-spacing:.5px;color:#81937e}.home-footer span:first-child:before{content:"♡";margin-right:9px}.hud{position:fixed;z-index:4;left:max(24px,env(safe-area-inset-left));right:max(24px,env(safe-area-inset-right));top:87px;display:flex;gap:15px;align-items:flex-start;justify-content:space-between;pointer-events:none}.hud button{pointer-events:auto}.level-info{display:flex;flex-direction:column;gap:5px;max-width:40%}.level-info>span:first-child{font-size:10px;letter-spacing:2px;color:#91a084}.level-info strong{font-size:20px;font-weight:500;letter-spacing:2px}.level-info>span:last-child{font-size:10px;color:#82917c;line-height:1.6}.room-pill{padding:9px 14px;background:#fffdf5b8;border-radius:30px;font-size:10px;box-shadow:0 2px 10px #527b4908}.room-pill button{font-weight:700;letter-spacing:2px;background:none;font-size:14px}.room-pill>span{border-left:1px solid #d5dfce;padding-left:10px;margin-left:6px}.game-actions{display:flex;gap:7px;align-items:center}.game-actions>span{font-size:10px;color:#81927c;margin-right:8px}.mini{font-size:11px;background:#fffdf5b8;border:1px solid #dce5d4;border-radius:8px;padding:8px 10px}.modal-layer{position:fixed;z-index:7;inset:0;display:flex;align-items:center;justify-content:center;background:#e4eee840;backdrop-filter:blur(6px);padding:78px 16px 12px}.room-card{width:390px;text-align:center;max-height:100%;overflow:auto;padding:25px 30px}.room-card h2{font-size:23px}.room-card .muted{margin-bottom:10px}.code-display{display:block;margin:5px auto 15px;font-size:29px;letter-spacing:8px;padding:8px 10px 8px 18px;color:#54785f;border:1px dashed #ccdac3;border-radius:10px;background:#f1f5e9}.players{display:flex;justify-content:center;gap:15px;margin:8px 0 22px}.player-card{flex:1;background:#f0f4ef;border-radius:12px;padding:13px 7px;font-size:11px;color:#6f8374}.player-card.doraemon{background:#edf5f8}.player-card.dorami{background:#faf4df}.player-avatar{display:block;width:48px;height:54px;margin:0 auto 8px}.player-status{display:block;font-size:10px;color:#98a08e;margin-top:7px}.player-status.ready{color:#4b865f}.text-button{font-size:11px;color:#8b9885;background:none;margin-top:18px}.controls{position:fixed;z-index:6;bottom:max(23px,env(safe-area-inset-bottom));left:max(28px,env(safe-area-inset-left));right:max(28px,env(safe-area-inset-right));display:flex;align-items:center;justify-content:space-between;pointer-events:none}.controls button{pointer-events:auto;user-select:none;width:72px;height:68px;border-radius:22px;background:#fffdf6b8;border:1px solid #cddcc8;color:#567657;font-size:28px;box-shadow:0 4px 0 #beceb3;touch-action:none}.controls button.pressed{background:#ceddc5;transform:translateY(3px);box-shadow:0 1px 0 #afc4a1}.directions{display:flex;gap:14px}.controls #jump{width:82px;height:78px;background:#52775fe8;color:#fff9ed;box-shadow:0 4px 0 #3c5b46;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:30px}.controls #jump.pressed{background:#365c43}.controls #jump small{font-size:10px;letter-spacing:3px;margin-left:3px}.control-tip{font-size:10px;letter-spacing:2px;color:#8a9a81;align-self:flex-end;padding-bottom:7px}.control-tip span{display:block;text-align:center;font-size:18px;margin-top:6px}.toast{position:fixed;z-index:20;left:50%;bottom:115px;transform:translateX(-50%);background:#355647eb;color:#fff9ed;box-shadow:0 4px 20px #0001;padding:12px 22px;border-radius:30px;font-size:12px;max-width:85%;text-align:center;line-height:1.6}.rotate{position:fixed;z-index:15;inset:0;background:#eaf3edf2;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:24px;font-size:16px}.rotate>span{font-size:60px}.rotate button{padding:12px 20px}.connection-banner{position:fixed;z-index:16;top:0;left:0;width:100%;text-align:center;background:#ead6b7;color:#65513a;padding:7px;font-size:11px}.playing .brand small{display:none}.playing .topbar{padding-top:17px}.playing .topbar .brand{font-size:15px}.playing .brand-icon{width:29px;height:29px;line-height:24px;font-size:25px}
@media(min-width:1200px){.home{grid-template-columns:1fr 410px;gap:120px}}@media(max-height:560px) and (orientation:landscape){.topbar{padding:12px 22px}.brand{font-size:16px}.brand-icon{width:30px;height:30px;font-size:25px;line-height:26px}.brand small{font-size:6px}.home{grid-template-columns:1fr 330px;gap:35px;padding:55px 25px 35px;max-width:900px}.welcome{margin-top:10px}.welcome h1{font-size:39px;margin:13px 0 10px}.welcome p{font-size:11px;margin:7px 0;line-height:1.9}.welcome-note{font-size:8px;margin-top:10px}.eyebrow{font-size:7px}.card{padding:20px 23px;border-radius:19px}.card h2{font-size:19px;margin:9px 0}.muted{font-size:10px;margin-bottom:17px}.big{height:43px;font-size:12px}.divider{margin:17px 0;font-size:8px}.join-row input{height:39px}.entry-bottom{font-size:8px;margin-top:16px;padding-top:12px}.home-footer{bottom:10px;font-size:8px}.hud{top:63px;left:22px;right:22px}.level-info strong{font-size:16px}.level-info>span:last-child{max-width:200px;font-size:8px}.room-pill{padding:7px 10px}.game-actions{gap:5px}.game-actions>span{display:none}.mini{padding:6px 8px;font-size:10px}.controls{bottom:max(15px,env(safe-area-inset-bottom));left:max(24px,env(safe-area-inset-left));right:max(24px,env(safe-area-inset-right))}.controls button{width:65px;height:58px;border-radius:18px}.controls #jump{width:70px;height:65px}.modal-layer{padding-top:51px;padding-bottom:8px}.room-card{width:345px;padding:17px 25px}.room-card h2{font-size:19px;margin:8px 0}.room-card .muted{margin-bottom:5px}.code-display{font-size:21px;padding:6px 10px 6px 18px;margin:4px auto 10px}.players{margin:6px 0 10px}.player-card{padding:6px}.player-avatar{width:36px;height:40px;margin-bottom:5px}.player-status{margin-top:4px}.text-button{margin-top:8px}.card-kicker{font-size:8px}}@media(max-width:600px) and (orientation:portrait){.topbar{padding:20px}.network{font-size:9px;margin-right:0}.brand{font-size:16px}.brand small{font-size:6px}.brand-icon{width:30px;height:30px;line-height:26px;font-size:25px}.home{display:flex;flex-direction:column;gap:25px;padding:100px 24px 50px;justify-content:center}.welcome{align-self:stretch;margin:0}.welcome h1{font-size:38px;margin:10px 0}.welcome h1 br{display:none}.welcome p{font-size:11px;line-height:1.8;margin:6px 0}.welcome p br{display:none}.welcome-note{display:none}.eyebrow{font-size:7px}.entry{width:100%;max-width:390px;padding:25px}.home-footer{bottom:15px;justify-content:center}.home-footer span:first-child,.home-footer span:last-child{display:none}.hud{top:66px;left:14px;right:14px;flex-wrap:wrap}.level-info{max-width:55%}.level-info strong{font-size:15px}.level-info>span:last-child{display:none}.game-actions{width:100%;justify-content:flex-end}.room-pill{padding:7px}.room-pill>span{display:none}.controls{left:16px;right:16px;bottom:25px}.control-tip{display:none}.controls button{width:60px;height:64px}.controls #jump{width:70px;height:72px}}@media(prefers-reduced-motion:reduce){button{transition:none}}
