.motion-debug {
  position: fixed;
  z-index: 2147483647;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: stretch;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(12, 14, 13, 0.9);
  color: #f5f2e8;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  font:
    700 10px/1 Arial,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.motion-debug__label {
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 0 9px 0 7px;
  white-space: nowrap;
}
.motion-debug__label small {
  color: #aaa;
  font-size: 7px;
  letter-spacing: 0.06em;
}
.motion-debug button {
  min-width: 64px;
  border: 1px solid #565b57;
  border-radius: 5px;
  padding: 11px 10px;
  background: #242724;
  color: #c7cbc7;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
}
.motion-debug button:hover {
  border-color: #fff;
  color: #fff;
}
.motion-debug button.is-active {
  border-color: #d8ef75;
  background: #d8ef75;
  color: #11150f;
}

/* Dočasná vizuálna simulácia oboch mediálnych režimov. */
html[data-motion-mode="full"] .hero__photo img,
html[data-motion-mode="full"] .hero__media img,
html[data-motion-mode="full"] .hero__image img,
html[data-motion-mode="full"] .hero__view img,
html[data-motion-mode="full"] .stage__grid,
html[data-motion-mode="full"] .stage__sphere,
html[data-motion-mode="full"] .stage__card img,
html[data-motion-mode="full"] .contours i,
html[data-motion-mode="full"] .hero-plate img,
html[data-motion-mode="full"] .orange-disc,
html[data-motion-mode="full"] .hero-window img,
html[data-motion-mode="full"] .sun-wash,
html[data-motion-mode="full"] .cinema-hero .hero-photo img {
  animation-duration: 10s !important;
  animation-iteration-count: infinite !important;
}
html[data-motion-mode="reduce"] .hero__photo img,
html[data-motion-mode="reduce"] .hero__media img,
html[data-motion-mode="reduce"] .hero__image img,
html[data-motion-mode="reduce"] .hero__view img,
html[data-motion-mode="reduce"] .stage__grid,
html[data-motion-mode="reduce"] .stage__sphere,
html[data-motion-mode="reduce"] .stage__card img,
html[data-motion-mode="reduce"] .contours i,
html[data-motion-mode="reduce"] .hero-plate img,
html[data-motion-mode="reduce"] .orange-disc,
html[data-motion-mode="reduce"] .hero-window img,
html[data-motion-mode="reduce"] .sun-wash,
html[data-motion-mode="reduce"] .cinema-hero .hero-photo img {
  animation-duration: 22s !important;
  animation-iteration-count: infinite !important;
}

@media (max-width: 560px) {
  .motion-debug {
    right: 8px;
    bottom: 8px;
  }
  .motion-debug__label {
    display: none;
  }
  .motion-debug button {
    min-width: 70px;
  }
}
