@font-face{font-family:"DotGothic16";src:url("DotGothic16-subset-ad.woff2") format("woff2");font-display:block}
html{--sat:env(safe-area-inset-top,0px);--sar:env(safe-area-inset-right,0px);--sab:env(safe-area-inset-bottom,0px);--sal:env(safe-area-inset-left,0px)}
html,body{margin:0;padding:0;background:#f7f7f7;width:100%;height:100%;height:100dvh;overflow:hidden;overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:none}
canvas{display:block;position:fixed;left:0;top:0;margin:0;background:#f7f7f7;touch-action:none;outline:none;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges;image-rendering:pixelated}
.mg-ad{position:fixed;z-index:10;display:block;overflow:hidden;background:transparent;text-decoration:none;-webkit-tap-highlight-color:transparent}
.mg-ad:focus-visible{outline:2px solid #535353;outline-offset:1px}
.mg-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* サイト共通の ← GAMES / ⏸（game-back.css / game-pause.js）を、ゲーム枠上部の60pxヘッダー帯へ。位置は frame-ui.js と game.js の applySize() が同じ値を書く。 */
html body a.xx-back{top:var(--xx-top,18px);bottom:auto;left:var(--xx-left,10px);opacity:.9}
html body button.xx-pause{top:var(--xx-top,18px);bottom:auto;left:var(--xx-pause-left,92px);opacity:.9}
