/* Tsukiro 2.9.7 — visible hero rotation timer. */
.hero-rotation-progress {
  --hero-rotation-duration: 12000ms;
  width: min(430px, 78vw);
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  opacity: 1;
  pointer-events: none;
  user-select: none;
}

.hero-rotation-progress__track {
  position: relative;
  display: block;
  flex: 1 1 auto;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(223, 214, 232, .12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.045), 0 8px 22px rgba(0,0,0,.16);
}

.hero-rotation-progress__track::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255,255,255,.03), transparent 60%);
  pointer-events: none;
}

#heroRotationProgressFill {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #ef4d9d 0%, #ce5add 56%, #9168f7 100%);
  box-shadow: 0 0 14px rgba(226,81,180,.32);
  will-change: transform;
}

.hero-rotation-progress.is-running #heroRotationProgressFill {
  transform: scaleX(1);
  transition: transform var(--hero-rotation-duration) linear;
}

.hero-rotation-progress.is-complete #heroRotationProgressFill {
  transform: scaleX(1);
  transition: none;
}

.hero-rotation-progress__label {
  flex: 0 0 auto;
  color: rgba(226,218,232,.54);
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .15em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .hero-rotation-progress {
    width: min(330px, 74vw);
    margin-top: 15px;
    gap: 0;
  }
  .hero-rotation-progress__track { height: 4px; }
  .hero-rotation-progress__label { display: none; }
}
