:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body { background: #080b10; overflow: hidden; }
.stage { position: fixed; inset: 0; background: #080b10; overflow: hidden; }
.plate {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
#still { z-index: 1; }
/* Keep videos renderable behind the still so their first decoded frame is ready. */
.motion { z-index: 0; pointer-events: none; }
.motion.active { z-index: 2; }
.resume {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: calc(100vw - 32px);
  padding: 15px 22px;
  border: 1px solid #ffffff80;
  border-radius: 12px;
  background: #080b10df;
  color: #fff;
  font: 600 16px/1.2 system-ui, sans-serif;
  cursor: pointer;
  touch-action: manipulation;
}
.resume[hidden] { display: none; }
.resume:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.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;
}
