/* Shared styling for every puzzle page. */
html, body {
  margin: 0;
  padding: 0;
  background: #0b1220;
}

main {
  display: flex;
  justify-content: center;
}

.wrap {
  width: 100%;
  position: relative;
}

/* the animation canvas */
.stage {
  display: block;
  width: 100%;
  height: auto;
  background: #0b1220;
}

/* narration language switcher (hidden during mp4 export — see kit/boot.jsx) */
.langswitch {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 10;
}

.langswitch select {
  background: #16203a;
  color: #eef4ff;
  border: 1px solid #2b3a5c;
  border-radius: 6px;
  padding: 4px 8px;
  font: 600 14px/1.4 -apple-system, 'Segoe UI', sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.75;
}

.langswitch select:hover {
  opacity: 1;
}

/* ?export=1 — for the mp4 capture: no controls, no switcher, no chrome */
body.export .lv-controls,
body.export .langswitch {
  display: none !important;
}
