/* Optional compact full-viewport shell for fan games. */
.fan-game { position:relative; width:100%; height:100dvh; overflow:hidden; background:#11151c; color:#eee; }
.fan-game canvas { display:block; width:100%; height:100%; touch-action:none; }
.fan-game-hud { position:absolute; inset:.5rem .5rem auto; display:flex; flex-wrap:wrap; gap:.35rem; pointer-events:none; }
.fan-game-hud > * { pointer-events:auto; }
.fan-game button { min-height:44px; padding:.45rem .7rem; }
.fan-game-dialog { max-width:min(36rem,calc(100vw - 1rem)); max-height:calc(100dvh - 1rem); overflow:auto; color:inherit; background:#202731; border:1px solid #687280; border-radius:.45rem; }
.fan-game-dialog::backdrop { background:#000a; }
