@font-face{font-family:"DotGothic16";src:url("DotGothic16-tk-subset.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;background:#dcdcdc;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;position:fixed;left:0;top:0;margin:0;background:#dcdcdc;touch-action:none;outline:none;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）をゲーム枠上部の44pxヘッダー帯へ（位置は frame-ui.js） */
html body a.xx-back { top: var(--xx-top, 10px); bottom: auto; left: var(--xx-left, 8px); opacity: .9; }
html body button.xx-pause { top: var(--xx-top, 10px); bottom: auto; left: calc(var(--xx-left, 8px) + 82px); opacity: .9; }
