/* The existing solid bar is the no-script and reduced-motion fallback. */
.name-redacted.is-redacting,
.redaction.is-redacting {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: transparent;
  background: transparent;
}
.redaction-noise,
.redaction-ink {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
}
.redaction-noise {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
  color: #23352d;
  opacity: .25;
  font: 11px/1 monospace;
  letter-spacing: .12em;
  animation: redaction-fade 1.3s ease-out both;
}
.redaction-ink {
  background: repeating-linear-gradient(-4deg, #111 0 4px, transparent 4px 7px);
  transform-origin: left center;
  animation: redaction-strike 1.3s cubic-bezier(.25,.65,.3,1) both;
}
.is-redacting::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #111;
  transform-origin: left center;
  animation: redaction-seal 1.3s ease-in-out both;
}
.phase-night .name-redacted.is-redacting::after,
.phase-night .redaction.is-redacting::after { background: #e7f2ec; }
.phase-night .redaction-ink { background: repeating-linear-gradient(-4deg, #e7f2ec 0 4px, transparent 4px 7px); }
@keyframes redaction-fade {
  0%, 45% { opacity: .25; }
  85%, 100% { opacity: 0; }
}
@keyframes redaction-strike {
  0%, 15% { transform: scaleX(0); }
  70%, 100% { transform: scaleX(1); }
}
@keyframes redaction-seal {
  0%, 65% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce), print {
  .name-redacted.is-redacting, .redaction.is-redacting { background: #111; }
  .phase-night .name-redacted.is-redacting, .phase-night .redaction.is-redacting { background: #e7f2ec; }
  .redaction-noise, .redaction-ink, .is-redacting::after { display: none; animation: none; }
}
