.got-game-runner { margin-top: .75rem; min-width: 0; }
.got-game-launch, .got-game-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.got-game-launch button, .got-game-launch a, .got-game-toolbar button, .got-game-toolbar a {
  font: inherit; font-size: .875rem; line-height: 1.4; padding: .5rem .75rem; border-radius: .5rem;
  border: 1px solid #786956; background: #191512; color: #f6e7d8; text-decoration: none; cursor: pointer;
}
.got-game-runner button:focus-visible, .got-game-runner a:focus-visible { outline: 3px solid #e0a256; outline-offset: 2px; }
.got-game-launch button:first-child { background: #765231; border-color: #a37643; }
.got-game-notice { font-size: .875rem; margin: .5rem 0; }
.got-game-notice:empty { display: none; }
.got-game-stage { background: #080808; color: #f6e7d8; border-radius: .75rem; overflow: hidden; margin-top: .5rem; }
.got-game-toolbar { padding: .5rem; flex: 0 0 auto; }
.got-game-title { flex: 1 1 10rem; font-size: .875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.got-game-viewport { aspect-ratio: var(--got-game-ratio, 16 / 9); width: 100%; background: black; }
.got-game-viewport iframe { display: block; width: 100%; height: 100%; border: 0; touch-action: none; }
.got-game-input-hint { margin: 0; padding: .4rem .75rem; font-size: .75rem; color: #c8b9aa; flex: 0 0 auto; }
.got-game-backdrop { position: fixed; inset: 0; z-index: 8999; background: #000b; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); touch-action: none; }
.got-game-overlay {
  position: fixed; inset: max(.75rem, env(safe-area-inset-top)) max(.75rem, env(safe-area-inset-right))
    max(.75rem, env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left));
  z-index: 9000; margin: 0; display: flex; flex-direction: column; align-items: center; background: #080808e8;
}
.got-game-overlay .got-game-toolbar { width: 100%; }
.got-game-overlay .got-game-viewport {
  flex: 0 1 auto; min-height: 0; max-height: calc(100dvh - 10rem);
  width: min(100%, calc((100dvh - 10rem) * var(--got-game-aspect, 1.7778))); margin: auto;
}
.got-game-toolbar [hidden] { display: none; }
@media (max-width: 767px) {
  .got-game-overlay { inset: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); border-radius: 0; }
  .got-game-toolbar button, .got-game-toolbar a { min-height: 44px; }
  .got-game-overlay .got-game-viewport { max-height: calc(100dvh - 12rem); width: min(100%, calc((100dvh - 12rem) * var(--got-game-aspect, 1.7778))); }
}
