:root{color-scheme:dark;background:#000;--safe-top: env(safe-area-inset-top, 0px);--safe-right: env(safe-area-inset-right, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-left: env(safe-area-inset-left, 0px)}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:#000}#game-canvas{position:absolute;top:var(--safe-top);right:var(--safe-right);bottom:var(--safe-bottom);left:var(--safe-left);margin:auto;display:block;width:min(calc(100vw - var(--safe-left) - var(--safe-right)),calc((100vh - var(--safe-top) - var(--safe-bottom)) * 1366 / 768));height:min(calc(100vh - var(--safe-top) - var(--safe-bottom)),calc((100vw - var(--safe-left) - var(--safe-right)) * 768 / 1366));image-rendering:pixelated;background:#000}html,body,#game-canvas{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}#rotate-hint{display:none}@media (orientation: portrait) and (pointer: coarse){#rotate-hint{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;background:#050a14;color:#f2e6d0;font:600 18px/1.4 system-ui,sans-serif;text-align:center}.rotate-phone{width:46px;height:80px;border:4px solid #e0b85a;border-radius:8px;animation:rotate-phone 2.4s ease-in-out infinite}}@keyframes rotate-phone{0%,25%{transform:rotate(0)}55%,to{transform:rotate(-90deg)}}
