.ambiance-track {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.ambiance-track .hero-image {
  z-index: auto;
  transform: translateX(var(--position, 100%));
}
.ambiance-track .hero-image:first-child { --position: 0%; }

.ambiance-tools {
  position: absolute;
  right: max(18px, 3vw);
  bottom: 53px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff8eb;
}
.ambiance-tools small {
  padding: 2px 6px;
  border-radius: 3px;
  background: #171813be;
  font-size: 11px;
}
.ambiance-controls {
  display: flex;
  align-items: center;
  border: 1px solid #d8c79b85;
  border-radius: 24px;
  background: #191a17e8;
  color: #f5e4c4;
}
.ambiance-controls > * {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}
.ambiance-controls > :hover { background: #ffffff14; }
#lecture-ambiances span {
  display: block;
  width: 11px;
  height: 13px;
  border-inline: 3px solid currentColor;
}
#lecture-ambiances[data-paused] span {
  width: 0;
  height: 0;
  border: 0;
  border-block: 7px solid transparent;
  border-left: 11px solid currentColor;
}
.ambiance-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 5px;
}
.ambiance-dot[aria-current]::after { width: 20px; background: var(--gold); }

@media (max-width: 740px) {
  .hero-inner { padding-bottom: 101px; }
  .ambiance-tools { right: 18px; bottom: 34px; gap: 6px; }
}
