@font-face{font-family:"DotGothic16";src:url("DotGothic16-subset-20261203.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}
canvas{display:block;margin:0 auto;background:#f7f7f7;touch-action:none;outline:none;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges;image-rendering:pixelated}
/* 広告（AD.href があるとき game.js が置く透明リンク。見た目はキャンバス） */
.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 の fitStage と同じ）。 */
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;
}
