/* ゲームメーカー：ゲーム画面と、タッチ操作のボタン */
.gm-stage { position: relative; width: 100%; max-width: 960px; margin: 0 auto; background: #000; outline: none; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 3px #6b5ab0; user-select: none; -webkit-user-select: none; touch-action: none; }
.gm-stage:focus-visible { box-shadow: 0 0 0 3px #ffb300; }
.gm-cv { width: 100%; height: 100%; display: block; image-rendering: pixelated; image-rendering: crisp-edges; background: #0b0a1c; }
.gm-pad { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; padding: 8px 10px; pointer-events: none; }
.gm-pad[hidden] { display: none; }
.gm-pad button { pointer-events: auto; font: inherit; font-weight: 800; color: #fff; background: rgba(20, 16, 60, .55); border: 2px solid rgba(255, 255, 255, .7); border-radius: 50%; width: 54px; height: 54px; touch-action: none; -webkit-tap-highlight-color: transparent; }
.gm-pad button.on { background: rgba(255, 200, 40, .75); }
.gm-dpad { display: grid; grid-template-columns: repeat(3, 54px); grid-template-rows: repeat(2, 54px); gap: 4px; }
.gm-dpad [data-k=up] { grid-column: 2; grid-row: 1; } .gm-dpad [data-k=left] { grid-column: 1; grid-row: 2; } .gm-dpad [data-k=down] { grid-column: 2; grid-row: 2; } .gm-dpad [data-k=right] { grid-column: 3; grid-row: 2; }
.gm-abtn { display: flex; gap: 10px; align-items: flex-end; } .gm-abtn button { width: 62px; height: 62px; }

/* 音量バー */
.gm-vol { display: flex; align-items: center; gap: 8px; margin: 6px auto 0; padding: 4px 10px; background: rgba(20, 16, 60, .08); border-radius: 999px; width: fit-content; max-width: 100%; }
.gm-vol-b { font: inherit; font-size: 18px; line-height: 1; border: 0; background: transparent; cursor: pointer; padding: 2px 4px; }
.gm-vol input[type=range] { width: 160px; max-width: 46vw; accent-color: #6b5ab0; cursor: pointer; }
.gm-vol output { font-size: 13px; min-width: 3em; color: #5a5a6a; font-variant-numeric: tabular-nums; }
