html:not(.retro-fullscreen) canvas.retro-game-surface{max-width:100%;height:auto}
#retro-fullscreen{position:fixed;right:16px;top:12px;z-index:2147483647;width:auto;margin:0;padding:10px 16px;border:1px solid #718096;border-radius:8px;background:#172331e8;color:#fff;font:600 15px system-ui;cursor:pointer;box-shadow:0 2px 12px #0005}
#retro-fullscreen:focus-visible{outline:3px solid #f5c16c;outline-offset:3px}
html.retro-fullscreen,html.retro-fullscreen body{overflow:hidden!important;background:#000!important}
.retro-fullscreen body::before{content:"";position:fixed;inset:0;background:#000;z-index:2147483640}
.retro-fullscreen .retro-game-surface{position:fixed!important;inset:0!important;z-index:2147483641!important;width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#000}
.retro-fullscreen canvas.retro-game-surface{width:var(--retro-width)!important;height:var(--retro-height)!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%)}
.retro-fullscreen ruffle-player{width:100%!important;height:100%!important}
