/* Styles only Spatial Audio Extended needs. The shared look lives in danikakes.css: don't change that file here,
   change it in the template on danikakes.dev and copy it across, so every plugin's docs stay the same. */

/* Demo page: the game frame and the start screen over it. */
.sae-demo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  background: var(--card-bg);
}

.sae-demo iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.sae-demo iframe[hidden] {
  display: none;
}

.sae-demo__start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: radial-gradient(circle at 50% 40%, var(--md-accent-fg-color--transparent), transparent 70%);
}

.md-typeset .sae-demo__start p {
  margin: 0;
  font-size: 0.7rem;
  opacity: 0.7;
}

.sae-demo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}
