#chat-open{position:fixed;right:14px;bottom:max(12px,env(safe-area-inset-bottom));z-index:30;background:#b8ff65;color:#191224;border:2px solid #191224;border-radius:28px;min-height:44px;padding:9px 16px;font:700 14px system-ui;box-shadow:0 3px 16px #0008;cursor:pointer}.arcade-body:has(#arcade[data-scene="game"]) #chat-open{top:8px;bottom:auto;right:65px;font-size:11px;min-height:32px;padding:5px 10px}#chat-room{background:#191224;color:#fff6df;border:2px solid #b8ff65;border-radius:16px;width:min(640px,95vw);max-width:95vw;max-height:92dvh;overflow:auto;padding:22px;font:16px/1.5 system-ui}#chat-room::backdrop{background:#100c20cc}#chat-room h2{margin:15px 0;font-size:26px}#chat-room h3{font-size:18px}#chat-room .chat-notice{font-size:12px;color:#c9b9db}#chat-room button,#chat-room a{display:inline-block;background:#b8ff65;color:#191224;border:0;border-radius:7px;padding:10px 16px;min-height:44px;font:700 15px system-ui;cursor:pointer}#chat-room button:disabled{opacity:.5}#chat-room :focus-visible,#chat-open:focus-visible{outline:3px solid #ffce62;outline-offset:3px}#online-names{overflow-wrap:anywhere}#chat-messages{height:30dvh;min-height:150px;overflow:auto;background:#100d1b;border-radius:8px;padding:12px}#chat-messages article{padding:9px 0;border-bottom:1px solid #43314f;overflow-wrap:anywhere}#chat-messages p{margin:3px 0;white-space:pre-wrap}#chat-messages time{font-size:11px;margin-left:10px;color:#bcaccb}#chat-messages .mine strong{color:#b8ff65}#chat-form{display:grid;gap:8px;margin-top:15px}#chat-text{display:block;box-sizing:border-box;width:100%;max-width:100%;resize:vertical;background:#2b2239;color:#fff6df;border:1px solid #a98abd;border-radius:8px;font:16px system-ui;padding:12px}body:has(#chat-open){padding-bottom:65px}.arcade-body:has(#chat-open){padding-bottom:0}
