/* ==========================================================================
   Spellworks · the kiosk (/output/): full-screen black, the 4:3 signal
   letterboxed, no header, no footer, no cursor.
   ========================================================================== */
html, body.kiosk {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #000;
  cursor: none;
}
body.kiosk { min-height: 0; color: #8fe27a; }
body.kiosk * { cursor: none; }
.kiosk__face {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(100vw, calc(100vh * 4 / 3));
  height: min(100vh, calc(100vw * 3 / 4));
  aspect-ratio: 4 / 3;
  min-height: 0;
  background: #000;
}
body.kiosk.is-full .kiosk__face {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
}
.kiosk__face.sw-tv { contain: strict; }
.kiosk__debug {
  position: fixed;
  left: 12px;
  bottom: 10px;
  z-index: 5;
  margin: 0;
  padding: 0.3em 0.8em;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #8fe27a;
  font-family: "Courier Prime", "Courier New", Courier, monospace;
  font-size: 13px;
  line-height: 1.4;
  pointer-events: none;
}
/* the builder's key gate still guards the page; give it its pointer back */
html[data-locked] body.kiosk, html[data-locked] body.kiosk * { cursor: auto; }
