.buzzed-character {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
}

.mascot-stage::before {
  content: none;
}

.buzzed-character:not([data-cutout]),
.construction-notice picture {
  mix-blend-mode: screen;
}

.construction-notice picture {
  display: block;
}

.construction-notice picture img,
.buzzed-character .mascot {
  mix-blend-mode: normal;
}

.buzzed-character .mascot {
  width: 100%;
}

.buzzed-rig {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

[data-gesture="wave"] .buzzed-rig,
[data-gesture="point"] .buzzed-rig {
  display: block;
}

[data-gesture="wave"] .mascot,
[data-gesture="point"] .mascot {
  visibility: hidden;
}

.buzzed-rig-glove > g {
  display: none;
}

.buzzed-rig-glove[data-pose="fist"] .buzzed-rig-fist,
.buzzed-rig-glove[data-pose="wave"] .buzzed-rig-palm,
.buzzed-rig-glove[data-pose="point"] .buzzed-rig-point {
  display: inline;
}

[data-gesture="dance"] .buzzed-character {
  animation: buzzed-dance 1.15s ease-in-out;
}

#stage .spark {
  animation: none;
  opacity: .22;
}

[data-gesture="zap"] .buzzed-character {
  animation: buzzed-recoil 650ms ease-out;
}

#stage[data-gesture="zap"] .spark {
  animation: buzzed-spark 650ms ease-out;
}

.hero[data-buzzed-pointing] .actions a[href="#estimate"] {
  box-shadow: 0 0 0 3px #ffe00055, 0 0 18px #ffe00050;
}

@keyframes buzzed-dance {
  23% { transform: translate(-7px, -9px) rotate(-6deg); }
  49% { transform: translate(5px, 0) rotate(5deg); }
  72% { transform: translate(9px, -10px) rotate(7deg); }
}

@keyframes buzzed-recoil {
  30% { transform: translateY(-11px) rotate(-7deg); }
  58% { transform: translateY(2px) rotate(3deg); }
}

@keyframes buzzed-spark {
  35% { opacity: .9; scale: 1.2; }
}

@media (max-width: 680px) {
  .buzzed-character { width: min(80%, 310px); }
}

@media (prefers-reduced-motion: reduce) {
  [data-gesture] .buzzed-character .buzzed-rig { display: none; }
  [data-gesture] .buzzed-character .mascot { visibility: visible; }
  .hero[data-buzzed-pointing] .actions a[href="#estimate"] { box-shadow: none; }
}
