/* The mask follows the painted red glass, leaving the metal housing untouched. */
#launch-button > .idle-button-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  overflow: hidden;
  clip-path: polygon(18% 21%, 80% 21%, 87% 36%, 87% 59%, 82% 71%, 15% 71%, 10% 59%, 10% 38%);
  opacity: var(--idle-shine-opacity, 0);
  mix-blend-mode: screen;
  pointer-events: none;
  user-select: none;
}
#launch-button > .idle-button-shine::before {
  content: '';
  position: absolute;
  left: -30%;
  top: -25%;
  width: 24%;
  height: 150%;
  background: linear-gradient(90deg,
    #fff7d500 0%, #ffe7b00c 17%, #fff2cf3c 38%,
    #fff9e99c 51%, #ffe5ae34 63%, #fff1d208 83%, #fff7d500 100%);
  transform: translateX(var(--idle-shine-travel, 0%)) skewX(-22deg);
}
#launch-button > .idle-button-shine[hidden],
#launch-button:disabled > .idle-button-shine,
.reduced-motion #launch-button > .idle-button-shine {
  display: none;
}
@media (max-aspect-ratio: 1/1) {
  #launch-button > .idle-button-shine {
    clip-path: polygon(15% 20%, 85% 20%, 89% 32%, 89% 61%, 85% 72%, 15% 72%, 11% 61%, 11% 32%);
  }
}
@media (prefers-reduced-motion: reduce) {
  #launch-button > .idle-button-shine { display: none; }
}
