.mascot-figure {
  position: relative;
  width: 120px;
  height: 200px;
  margin: 0;
  flex: 0 0 auto;
  pointer-events: none;
}
.mascot-poster,
.mascot-canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mascot-canvas { position: absolute; inset: 0; visibility: hidden; }
.mascot-figure[data-ready="true"] .mascot-canvas { visibility: visible; }
.mascot-figure[data-ready="true"] .mascot-poster { visibility: hidden; }
.mascot-source {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  clip-path: inset(50%);
  pointer-events: none;
}
.background-switcher:not([open]) {
  left: auto;
  right: 18px;
  width: auto;
  max-width: calc(50vw - 24px);
  transform: none;
  padding: 0;
}
.background-switcher summary {
  padding: 11px 16px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
}
.background-switcher[open] summary { margin-bottom: 5px; }
.motion-toggle {
  position: fixed;
  left: 18px;
  bottom: 20px;
  z-index: 121;
  min-height: 44px;
  max-width: calc(50vw - 24px);
  padding: 10px 14px;
  border: 1px solid #444d47;
  border-radius: 13px;
  background: #131514f5;
  color: #dce5df;
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
  text-align: center;
  backdrop-filter: blur(16px);
}
.motion-toggle:hover:not(:disabled) { background: #232925; }
.motion-toggle:disabled { color: #a1aaa5; }
body[data-motion="paused"] *,
body[data-motion="paused"] *::before,
body[data-motion="paused"] *::after { animation-play-state: paused !important; }
body[data-motion="paused"] .intro,
body[data-motion="paused"] .reveal {
  animation: none !important;
  transition: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
@media (max-width: 640px) {
  .mascot-figure { width: 90px; height: 150px; }
  .motion-toggle { bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .mascot-figure[data-ready="true"] .mascot-canvas { visibility: hidden; }
  .mascot-figure[data-ready="true"] .mascot-poster { visibility: visible; }
}
