:root {
  color-scheme: dark;
  --header: 58px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #06100d;
  color: #eefbf5;
}

.play-privacy {
  position: fixed;
  right: 14px;
  bottom: 10px;
  z-index: 5;
  color: #8da098;
  font: 700 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-underline-offset: 3px;
}

.play-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header);
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: #07100ef2;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
}

.play-header a {
  color: #9db2a9;
  font: 800 11px/1 monospace;
  text-decoration: none;
}

.play-header > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.play-header strong {
  font-size: 18px;
  letter-spacing: -.04em;
}

.play-header strong sup { color: #45d8eb; font-size: 9px; }
.play-header span { color: #668078; font: 800 8px/1 monospace; letter-spacing: .08em; }
.external-link { justify-self: end; }

.game-frame-wrap {
  position: relative;
  width: 100%;
  height: calc(100% - var(--header));
}

.loading-card {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 9px;
  text-align: center;
  background:
    radial-gradient(circle, rgba(66, 216, 236, .12), transparent 28rem),
    #06100d;
}

.loading-card b { font-size: 34px; letter-spacing: -.06em; }
.loading-card span { color: #789088; font: 800 9px/1 monospace; letter-spacing: .1em; }

iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.noscript {
  position: fixed;
  inset: auto 14px 14px;
  z-index: 3;
  margin: 0;
  padding: 12px;
  background: #5d1e12;
  text-align: center;
}

@media (max-width: 620px) {
  :root { --header: 52px; }
  .play-header { padding: 0 10px; }
  .play-header span { display: none; }
  .play-header strong { font-size: 15px; }
}
