.paint-gesture-hint { margin: 4px 0; font-size: 14px; }
.paint-controls-active { touch-action: pan-y pinch-zoom; -webkit-touch-callout: none; }
.paint-controls-active > button { position: absolute; z-index: 2; padding: 0; color: #fff; border: 0; font: inherit; cursor: pointer; }
.paint-controls-active > .paint-cycle { inset: 0; width: 100%; background: transparent; z-index: 1; }
.paint-controls-active > :is(.paint-previous, .paint-next) {
  display: grid; align-items: center; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
  padding-inline: 3px; background: transparent; color: #221810; font-size: 11px;
  text-shadow: 0 0 2px #fff, 0 0 2px #fff;
}
.paint-previous { left: 0; justify-items: start; }
.paint-next { right: 0; justify-items: end; }
.paint-controls-active > button:focus-visible { outline: 3px solid #fff; outline-offset: -5px; box-shadow: inset 0 0 0 5px #25180f; }
@media print { .paint-controls-active > button, .paint-gesture-hint { display: none !important; } }
