*{box-sizing:border-box}html,body{background:#0d1120;height:100%;margin:0;overflow:hidden}#app{position:fixed;inset:0}#app canvas{image-rendering:pixelated}#ui{pointer-events:none;z-index:10;font-family:PingFang SC,Microsoft YaHei,system-ui,sans-serif;position:fixed;inset:0}.dialogue{pointer-events:auto;color:#e8ecf8;-webkit-user-select:none;user-select:none;background:#101526f0;border:2px solid #4a5a8a;border-radius:6px;width:min(680px,92vw);padding:14px 16px 10px;position:absolute;bottom:4vh;left:50%;transform:translate(-50%);box-shadow:0 6px 24px #00000080}.dialogue[hidden]{display:none}.dialogue-name{color:#8fd0ff;margin-bottom:6px;font-size:14px;font-weight:700}.dialogue-text{white-space:pre-wrap;min-height:3.4em;font-size:16px;line-height:1.7}.dialogue-choices{flex-direction:column;gap:8px;margin-top:10px;display:flex}.choice{text-align:left;color:#e8ecf8;cursor:pointer;background:#1d2745;border:1px solid #4a5a8a;border-radius:4px;padding:8px 12px;font-family:inherit;font-size:15px}.choice:hover,.choice:focus-visible{background:#2a3763;border-color:#8fd0ff;outline:none}.dialogue-hint{text-align:right;color:#8fd0ff;font-size:12px;animation:1s infinite bob}@keyframes bob{50%{transform:translateY(3px)}}.touch-stick{pointer-events:auto;left:calc(18px + env(safe-area-inset-left));bottom:calc(18px + env(safe-area-inset-bottom));touch-action:none;background:#1015268c;border:2px solid #4a5a8a;border-radius:50%;width:96px;height:96px;position:absolute}.touch-stick-nub{pointer-events:none;background:#2a3763;border:2px solid #8fd0ff;border-radius:50%;width:40px;height:40px;margin:-20px 0 0 -20px;position:absolute;top:50%;left:50%}.touch-btn{pointer-events:auto;right:calc(22px + env(safe-area-inset-right));bottom:calc(30px + env(safe-area-inset-bottom));color:#e8ecf8;touch-action:none;-webkit-user-select:none;user-select:none;background:#1d2745d9;border:2px solid #4a5a8a;border-radius:50%;width:64px;height:64px;font-family:inherit;font-size:15px;position:absolute}.touch-btn:active{background:#2a3763;border-color:#8fd0ff}.touch-stick[hidden],.touch-btn[hidden]{display:none}
