/* Transient feedback only: supplied artwork and its layout stay intact. */
:is(.fx-reacting, .fx-scene-busy) :is(button, input):disabled { opacity: 1; cursor: wait; }
.fx-reacting .art-menu, .fx-scene-busy :is(.art-menu, .art-reveal-menu) { pointer-events: none; }
.fx-reacting .guess-submit { color: #fff; }
.fx-status {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.fx-score-fly {
  position: absolute; z-index: 8; pointer-events: none; user-select: none;
  font: 400 clamp(16px, 2.2vw, 40px)/1.2 DNFBitBitv2, sans-serif;
  color: #344eff; text-shadow: 0 2px 0 white, 2px 0 0 white, -2px 0 0 white;
  translate: -50% -50%;
}
.fx-curtain { position: absolute; inset: 0; z-index: 30; overflow: hidden; pointer-events: none; }
.fx-curtain-half {
  position: absolute; top: 0; bottom: 0; width: 50.1%;
  background-color: #251039;
  background-image: url('./assets/designer/curtain-closed.png');
  background-size: 200% 100%; background-repeat: no-repeat;
}
.fx-curtain-left { left: 0; background-position: left center; }
.fx-curtain-right { right: 0; background-position: right center; }
.fx-result-honor { color: #943de0; }
.fx-particles { position: absolute; inset: 0; overflow: hidden; z-index: 7; pointer-events: none; user-select: none; }
.fx-particle { position: absolute; display: block; background: currentColor; border-radius: 50%; box-shadow: 0 0 0 1px #ffffffd9, 0 0 5px #ffffff80; }
.fx-particle-star { border-radius: 0; clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%); background: linear-gradient(135deg, #fff 12%, currentColor 65%); }
.fx-particle-paper { border-radius: 2px; }
.fx-particle-ring { background: transparent; border: 3px solid currentColor; }
.fx-particle-streak { border-radius: 999px; }
.fx-ranking-confirmed { box-shadow: inset 0 0 0 2px #a5b3ff; }
.fx-confetti { z-index: 4; }
@media (prefers-reduced-motion: no-preference) {
  :is(.art-title-action, .guess-submit, .art-quick button, .art-reveal-next, [data-action=replay]):enabled:active { scale: .96; }
}
@media (prefers-reduced-motion: reduce) { .fx-score-fly, .fx-particles { display: none; } }
