:root{color-scheme:dark;--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px)}
*{box-sizing:border-box}
html,body{width:100%;height:100%;margin:0;overflow:hidden;background:#17130f;overscroll-behavior:none}
body{font-family:Arial,sans-serif;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
#app-viewport{position:fixed;inset:0;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);background:#17130f}
#game-stage{position:relative;flex:1 1 auto;width:100%;height:100%;min-width:320px;min-height:276px;contain:layout paint style;background:#17130f}
ruffle-player{display:block;width:100%;height:100%;outline:0}
@media(max-width:780px),(pointer:coarse){#game-stage{image-rendering:auto}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
