*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#103b77;font-family:'Trebuchet MS',Arial,sans-serif}
body{display:flex;align-items:center;justify-content:center}
.shell{height:100dvh;width:100%;display:flex;align-items:center;flex-direction:column;gap:12px;padding:10px}
#game{width:min(100%,450px);height:min(calc(100dvh - 56px),860px);display:flex;justify-content:center;align-items:center;overflow:hidden;border-radius:20px;box-shadow:0 10px 40px #031a4859}
#game canvas{display:block;touch-action:none}
.tip{font-size:12px;color:#eaf8ff;text-align:center;line-height:1.4}
@media(max-width:500px){.shell{padding:0;gap:0;width:100vw;height:100dvh}#game{width:100vw;height:100dvh;max-width:none;max-height:none;border-radius:0;box-shadow:none}.tip{display:none}}
