*{box-sizing:border-box}html,body,#root{color:#1d2733;-webkit-user-select:none;user-select:none;background:#bfe3f2;width:100%;height:100%;margin:0;font:14px/1.35 system-ui,-apple-system,Segoe UI,sans-serif;overflow:hidden}canvas{touch-action:none;display:block}.hud{pointer-events:none;position:fixed;inset:0}.top{justify-content:space-between;align-items:flex-start;gap:8px;display:flex;position:absolute;top:12px;left:12px;right:12px}.pill{background:#ffffffd9;border-radius:999px;padding:6px 12px;box-shadow:0 2px 8px #0000001f}button{pointer-events:auto;font:inherit;color:#fff;cursor:pointer;background:#ff7a45;border:0;border-radius:10px;padding:8px 14px;font-weight:600;box-shadow:0 2px 8px #00000026}button:hover{filter:brightness(1.05)}.chat{flex-direction:column;gap:6px;width:min(380px,100% - 24px);display:flex;position:absolute;bottom:12px;left:12px}.chat-log{color:#fff;text-shadow:0 1px 1px #0006;pointer-events:auto;-webkit-user-select:text;user-select:text;background:#141e2873;border-radius:12px;max-height:168px;padding:8px 10px;overflow-y:auto}.chat-log:empty{display:none}.chat-log .line{overflow-wrap:anywhere}.chat-log .line.mine b{color:#ffd166}.chat input{pointer-events:auto;width:100%;font:inherit;-webkit-user-select:text;user-select:text;background:#ffffffe6;border:2px solid #0000;border-radius:12px;outline:none;padding:9px 12px}.chat input:focus{background:#fff;border-color:#ff7a45}.notice{color:#6a5000;background:#fff3cd;border-radius:8px;align-self:flex-start;padding:5px 10px}.overlay{pointer-events:auto;background:#bfe3f2bf;flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:18px;font-weight:600;display:flex;position:absolute;inset:0}.overhead{white-space:nowrap;flex-direction:column;align-items:center;gap:4px;display:flex;transform:translateY(-50%)}.nametag{color:#fff;background:#141e288c;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:600}.nametag.me{background:#ff7a45e6}.nametag .guest{opacity:.8;font-weight:400}.bubble{white-space:normal;text-align:center;overflow-wrap:break-word;background:#fff;border-radius:12px;width:max-content;max-width:220px;padding:6px 10px;animation:.18s ease-out pop;position:relative;box-shadow:0 2px 6px #0000002e}.bubble:after{content:"";border:6px solid #0000;border-top-color:#fff;border-bottom:0;margin-left:-6px;position:absolute;bottom:-6px;left:50%}@keyframes pop{0%{opacity:0;transform:scale(.6)}}.emotes-wrap{flex-direction:column;align-items:flex-end;gap:8px;max-width:calc(100% - 24px);display:flex;position:absolute;bottom:12px;right:12px}.emote-panel{pointer-events:auto;background:#ffffffeb;border-radius:14px;grid-template-columns:repeat(6,38px);gap:6px;padding:8px;animation:.15s ease-out pop;display:grid;box-shadow:0 4px 14px #0000002e}.emotes{pointer-events:auto;background:#fffc;border-radius:14px;flex-wrap:wrap;justify-content:flex-end;gap:6px;padding:6px;display:flex;box-shadow:0 2px 8px #0000001f}.emote{width:38px;height:38px;box-shadow:none;background:0 0;border-radius:10px;padding:0;font-size:22px;line-height:38px}.emote:hover{filter:none;background:#ff7a452e}.bubble.emoji{padding:2px 8px;font-size:28px;line-height:1.2}.emote.more{color:#8a7a70;font-size:20px;font-weight:700}.emote.more.open{color:#ff7a45;background:#ff7a4538}@media (width<=880px){.emotes-wrap{bottom:62px}.chat-log{max-height:110px;margin-bottom:52px}}.bubble.typing{gap:4px;padding:8px 10px;display:flex}.bubble.typing span{background:#8a8f98;border-radius:50%;width:6px;height:6px;animation:1s ease-in-out infinite typing-dot}.bubble.typing span:nth-child(2){animation-delay:.15s}.bubble.typing span:nth-child(3){animation-delay:.3s}@keyframes typing-dot{0%,60%,to{opacity:.5;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}.loading{z-index:16777300;opacity:1;pointer-events:auto;background:linear-gradient(#bfe3f2 0%,#e8f6ee 100%);place-items:center;transition-property:opacity;transition-timing-function:ease;display:grid;position:fixed;inset:0}.loading.hidden{opacity:0;pointer-events:none}.loading-card{text-align:center;background:#ffffffd9;border-radius:16px;width:min(320px,100% - 32px);padding:20px 22px;box-shadow:0 2px 8px #0000001f}.loading-title{color:#ff7a45;font-size:24px;font-weight:800}.loading-label{margin:6px 0 12px}.loading-bar{background:#1d27331f;border-radius:999px;height:8px;overflow:hidden}.loading-bar span{border-radius:inherit;background:#ff7a45;width:0;height:100%;transition:width .25s;display:block}.loading-bar.busy span{width:35%;animation:1s ease-in-out infinite alternate loading-sweep}@keyframes loading-sweep{0%{transform:translate(-20%)}to{transform:translate(210%)}}.lobby-wrap{flex-direction:column;align-items:flex-end;gap:8px;max-width:calc(100% - 24px);display:flex;position:absolute;top:56px;right:12px}.room-info{align-items:center;gap:8px;display:flex}.lobby{z-index:16777280;pointer-events:auto;background:#ffffffeb;border-radius:14px;flex-direction:column;gap:10px;width:min(340px,100vw - 24px);max-height:calc(100vh - 220px);padding:12px;display:flex;position:relative;overflow-y:auto;box-shadow:0 2px 8px #00000026}.lobby-head,.lobby-room,.lobby-private{justify-content:space-between;align-items:center;gap:8px;display:flex}.lobby button{padding:6px 10px}.lobby button.ghost,.lobby button.tab{color:#1d2733;box-shadow:none;background:#1d273314}.lobby button.tab.on{color:#fff;background:#ff7a45}.lobby button:disabled{opacity:.5;cursor:default}.lobby-maps,.lobby-actions{flex-wrap:wrap;gap:6px;display:flex}.lobby-rooms{flex-direction:column;gap:6px;display:flex}.lobby-empty,.lobby-here{color:#1d273399}.lobby-code{gap:6px;display:flex}.lobby-code input{min-width:0;font:inherit;letter-spacing:.1em;-webkit-user-select:text;user-select:text;border:1px solid #1d273333;border-radius:10px;flex:1;padding:6px 10px}.lobby-private{border-top:1px solid #1d27331f;padding-top:8px;font-weight:600}
