/* FSM talking-portrait kiosk - 1080x1920 vertical, Chrome kiosk mode */

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

html, body {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  cursor: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

main {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
}

#portrait {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  object-position: center;
  display: block;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* hidden but live elements - kept in DOM for motion detection */
#webcam,
#motion-canvas {
  position: fixed;
  top: -9999px;
  left: -9999px;
  width: 160px;
  height: 90px;
  pointer-events: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#debug {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10;
  padding: 12px 16px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  line-height: 1.5;
  color: #c6f0c6;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(198, 240, 198, 0.3);
  border-radius: 6px;
  pointer-events: none;
}

#debug[hidden] { display: none; }

#debug .hint {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(198, 240, 198, 0.15);
  font-size: 11px;
  opacity: 0.6;
}
