/* This transparent canvas uses the image's exact existing responsive layout. */
.hero-world.hero-motion { pointer-events: none; }
.hero-chatter {
  position: absolute;
  z-index: 1;
  width: max-content;
  max-width: 190px;
  padding: 10px 12px;
  border: 2px solid #24261c;
  border-radius: 0;
  box-shadow: 3px 3px 0 #24261c;
  background: #fffbed;
  color: #24261c;
  font: bold 12px/1.45 'Courier New', monospace;
  text-align: center;
  pointer-events: none;
  user-select: none;
  transform: translate(-50%, -100%);
  opacity: 0;
  transition: opacity 350ms ease;
}
.hero-chatter::after {
  content: '';
  position: absolute;
  left: calc(50% - 5px);
  bottom: -7px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #24261c;
  border-bottom: 2px solid #24261c;
  background: #fffbed;
  transform: rotate(45deg);
}
.hero-chatter.is-visible { opacity: 1; }
.hero-chatter[hidden] { display: none; }
.hero-motion-toggle {
  position: absolute;
  right: 48px;
  bottom: 112px;
  z-index: 1;
  padding: 8px 10px;
  border: 1px solid #24261c;
  background: #f2edcfe8;
  color: #24261c;
  font: 10px/1.4 'Courier New', monospace;
  cursor: pointer;
}
.hero-motion-toggle[hidden], .hero-motion[hidden] { display: none; }
.hero-motion-toggle:focus-visible { outline: 3px solid #ff5c31; outline-offset: 4px; }
@media(max-width:620px) {
  .hero-motion-toggle { right: 20px; bottom: 100px; min-height: 44px; }
}
@media(prefers-reduced-motion:reduce) {
  .hero-motion, .hero-motion-toggle, .hero-chatter { display: none !important; }
}
