.quote-launch {
  display: block; margin-top: .7em; padding: .45em .75em;
  border: 1px solid var(--ink); border-radius: 2em;
  background: var(--card); color: var(--ink); font: inherit; cursor: pointer;
}
a.quote-launch { width: fit-content; text-decoration: none; }
.game-promos .quote-launch:has(img) { width: min(100%, 270px); padding: 0; border-radius: 8px; overflow: hidden; }
.game-promos .quote-launch img { display: block; width: 100%; height: auto; }

html.game-is-open { overflow: hidden; scrollbar-gutter: stable; }
.game-launcher {
  position: fixed; inset: 0; box-sizing: border-box;
  width: 100%; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--ink); overflow: hidden;
}
.game-launcher[open] { display: flex; flex-direction: column; }
.game-launcher::backdrop { background: #111b19bb; }
.game-launcher-title {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.game-launcher button {
  min-height: 44px; padding: .4rem .75rem; border: 1px solid var(--ink2); border-radius: .4rem;
  background: var(--card); color: var(--ink); font: inherit; cursor: pointer;
}
.game-launcher :focus-visible { outline: 3px solid var(--accent, #235144); outline-offset: 2px; }
.game-launcher-stage { position: relative; flex: 1; min-height: 0; width: 100%; }
.game-launcher-frame {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  background: transparent; visibility: hidden;
}
.game-launcher-frame.is-ready { visibility: visible; }
.game-launcher-status, .game-launcher-error {
  box-sizing: border-box; width: min(30rem, calc(100% - 2rem)); margin: 3rem auto; padding: 1.25rem;
  border-radius: .65rem; background: var(--bg); color: var(--ink); font: 1.1rem / 1.5 var(--body);
}
.game-launcher-status p, .game-launcher-error p { margin: 0 0 1rem; }
.game-launcher-error a { color: inherit; }
.game-launcher [hidden] { display: none !important; }
.content a.card[data-game-launch]::before { content: "Play game"; font-size: .875rem; letter-spacing: .06em; }

html.game-player, html.game-player body { height: 100%; margin: 0; overflow: hidden; background: transparent; }
.game-player body > dialog { position: fixed; inset: 0; margin: auto; }
.game-player body > button[hidden] { display: none !important; }
