/* The frame is pixels only; controls live in the embedding page (ADR 0042 §2). */
html, body { margin: 0; height: 100%; background: #000; overflow: hidden; }
canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; }
.credit {
  position: fixed; left: 12px; bottom: 10px; margin: 0; max-width: calc(100vw - 24px);
  font: 12px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: rgba(255, 255, 255, .78); text-shadow: 0 1px 3px rgba(0, 0, 0, .85);
  opacity: 0; transition: opacity .6s ease; pointer-events: none;
}
.credit.show { opacity: 1; }
.credit b { font-weight: 600; color: #fff; }
.problem { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; }
.problem p { margin: 0; max-width: 32ch; font: 15px/1.5 system-ui, sans-serif; color: rgba(255, 255, 255, .85); }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .credit { transition: none; } }
