/* The site's game window (js/game-window.js): a mini-game in our own frame, a square of 80% of the smaller screen side,
   centred over a dark backdrop, with the Close button under the frame. Phones get a taller frame (92vw × 76vh): the
   games have their own mobile layout and a 300 px square is too small to play. */
.gw { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; }
.gw.is-open { display: flex; }
.gw_backdrop { position: absolute; inset: 0; background: rgba(10, 11, 20, .82); backdrop-filter: blur(3px); }
.gw_body { position: relative; display: flex; flex-direction: column; align-items: center; gap: .875rem; }
.gw_frame { --gw-side: min(80vw, 80vh); width: var(--gw-side); height: var(--gw-side); overflow: hidden; border-radius: 1rem; background: #111322; box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .55); }
.gw_frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.gw_close { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.125rem; border: 1px solid rgba(255, 255, 255, .35); border-radius: 2rem; background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-size: .9375rem; font-weight: 600; cursor: pointer; }
.gw_close:hover, .gw_close:focus-visible { background: rgba(255, 255, 255, .18); }
.gw_close span[aria-hidden] { font-size: 1.25rem; line-height: 1; }
html.gw-lock, html.gw-lock body { overflow: hidden; }
@media (max-width: 600px) {
  .gw_frame { width: 92vw; height: 76vh; }
}
