*{box-sizing:border-box}
html,body{margin:0;width:100%;min-height:100%;background:#000;color:#ddd}
body{min-height:100dvh;display:grid;place-items:center}
#cabinet{width:min(1120px,100vw);margin:auto}
#cabinet.compact{width:min(800px,100vw)}
#screen{position:relative;width:100%;aspect-ratio:4/3;background:#000;overflow:hidden}
#game{display:block;width:100%;height:100%;image-rendering:pixelated;outline:none}
#scanlines{position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(#0000 0 3px,#0003 3px 4px)}
[hidden]{display:none!important}
#notice{font:12px monospace;text-align:center;color:#ffd900;margin:5px 0;min-height:14px}
#notice:empty{display:none}
#menu-accessibility{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#cabinet:fullscreen{width:100%;height:100%;display:grid;place-items:center;background:#000}
#cabinet:fullscreen #screen{width:min(100vw,133.333dvh);height:auto;max-height:100dvh;aspect-ratio:4/3}
#cabinet:fullscreen #notice{position:absolute;bottom:0;left:0;right:0;background:#000}
