/* Nothing here explains anything. */

:root { color-scheme: dark; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  background: #120a24;
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  /* Any text that does render sits well out of the way of the composition. */
  font: 400 13px/1.4 ui-monospace, "SF Mono", Menlo, monospace;
  color: #6a5a8e;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: manipulation;
}

/* The way through. Present only once it has been earned, and invisible even
   then — the light in the archway is the only thing that marks it. */
#door {
  position: fixed;
  display: block;
  cursor: pointer;
  border: 0;
  outline-offset: -6px;
}

#door:focus-visible {
  outline: 2px solid rgba(255, 217, 138, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
