/* 画面都在画布上；这里只负责铺满窗口和触屏按钮。 */
html, body { margin: 0; height: 100%; background: #07060b; overflow: hidden; -webkit-user-select: none; user-select: none; touch-action: none; }
body { display: grid; place-items: center; }
#stage { position: relative; width: 960px; height: 540px; background: #0b0910; }
#game, #ui { position: absolute; inset: 0; width: 100%; height: 100%; }
#game { image-rendering: pixelated; image-rendering: crisp-edges; }
#joy-base { display: none; position: fixed; width: 92px; height: 92px; border-radius: 50%; background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.2); z-index: 5; pointer-events: none; }
#joy-knob { position: absolute; left: 26px; top: 26px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.35); }
#touch-btns { display: none; }
body.touch #touch-btns { display: block; }
#touch-btns button { position: absolute; border-radius: 50%; background: rgba(7,6,11,.55); border: 2px solid rgba(255,255,255,.25); color: #e8e2f4; font: 15px sans-serif; padding: 0; }
#tb-skill { right: 4%; bottom: 10%; width: 68px; height: 68px; }
#tb-dodge { right: calc(4% + 80px); bottom: 6%; width: 54px; height: 54px; }
#tb-pause { right: 2%; top: 14%; width: 40px; height: 40px; }
