.v4-scene-gallery {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.v4-scene-track {
  position: absolute;
  inset: 0;
  display: flex;
  transform: translate3d(calc(var(--v4-scene-position, 1) * -100%), 0, 0);
  transition: transform 500ms cubic-bezier(0.22, 0.7, 0.2, 1);
}

.v4-scene-track.is-snapping {
  transition: none;
}

.v4-scene-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
}

.v4-scene-slide .diagnosis-guide-image {
  z-index: 0;
}

.diagnosis-intro {
  touch-action: pan-y pinch-zoom;
}

.diagnosis-intro .diagnosis-guide-shade {
  background: linear-gradient(
    180deg,
    rgba(8, 18, 31, 0.7),
    rgba(8, 18, 31, 0.18) 20%,
    rgba(8, 18, 31, 0.04) 30%,
    rgba(8, 18, 31, 0.58) 50%,
    rgba(8, 18, 31, 0.85) 72%,
    rgba(8, 18, 31, 0.97) 100%
  );
}

.v4-scene-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.v4-scene-heading {
  min-width: 0;
}

.v4-scene-kicker {
  display: block;
  margin-bottom: 5px;
  color: #c3d1df;
  font: 9px/1.4 var(--mono);
  letter-spacing: 0.065em;
}

.v4-scene-name {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.v4-scene-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: none;
}

.v4-scene-count {
  margin-right: 7px;
  color: #d0dbe6;
  font: 10px var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.v4-scene-control {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(235, 244, 252, 0.3);
  border-radius: 50%;
  background: rgba(12, 25, 39, 0.3);
  color: #fff;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.v4-scene-control:hover {
  border-color: #b1cee9;
  background: rgba(255, 255, 255, 0.14);
}

.v4-scene-control:focus-visible {
  outline: 2px solid #8ec4ff;
  outline-offset: 3px;
}

.v4-scene-control svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v4-scene-play-icon,
.v4-scene-control[data-paused="true"] .v4-scene-pause-icon {
  display: none;
}

.v4-scene-control[data-paused="true"] .v4-scene-play-icon {
  display: block;
}

.v4-scene-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .v4-scene-bar {
    gap: 10px;
    align-items: flex-start;
  }

  .v4-scene-name {
    font-size: 14px;
  }

  .v4-scene-kicker {
    font-size: 8px;
  }

  .v4-scene-controls {
    gap: 4px;
    padding-top: 4px;
  }

  .v4-scene-control {
    width: 30px;
    height: 30px;
  }

  .v4-scene-count {
    margin-right: 3px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v4-scene-track,
  .v4-scene-control {
    transition: none;
  }
}
