/* Slim waveform-free player. Colors from skins/*.css */

.lesson-audio {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem 0.75rem;
  max-width: 42rem;
  margin: 0.75rem 0 1.25rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.lesson-audio audio {
  display: block;
  width: 100%;
}

.lesson-audio.is-ready audio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lesson-audio button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-green);
  font: inherit;
  cursor: pointer;
}

.lesson-audio button:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

.lesson-audio button.lesson-audio__play {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-surface);
  flex: 0 0 auto;
}

.lesson-audio__play svg {
  width: 1.05rem;
  height: 1.05rem;
}

.lesson-audio__time {
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
  color: var(--color-text);
  white-space: nowrap;
  flex: 0 0 auto;
}

.lesson-audio__seek {
  flex: 1 1 6rem;
  min-width: 4rem;
  height: 0.35rem;
  margin: 0;
  accent-color: var(--color-green);
  cursor: pointer;
}

.lesson-audio__volume {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-green);
  flex: 0 0 auto;
}

.lesson-audio__volume svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.lesson-audio__volume input[type="range"] {
  width: 3.25rem;
  height: 0.35rem;
  accent-color: var(--color-green);
  cursor: pointer;
}
