.sound-list { border-block: 1px solid var(--line); }
.sound-track {
  display: grid;
  grid-template-columns: 72px minmax(150px, 1fr) minmax(230px, 1.4fr);
  align-items: center;
  gap: 14px 22px;
  padding: 18px 0;
  color: var(--fg);
}
.sound-track + .sound-track { border-top: 1px solid var(--line); }
.sound-cover { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.sound-video { display: block; position: relative; width: fit-content; border-radius: 8px; }
.sound-video img { display: block; object-position: 30% center; }
.sound-video::before {
  content: ""; position: absolute; right: 4px; bottom: 4px; width: 21px; height: 21px;
  border: 1px solid #fffa; border-radius: 50%; background: #151914d9;
}
.sound-video::after {
  content: ""; position: absolute; right: 10px; bottom: 10px;
  border-block: 4.5px solid transparent; border-left: 7px solid white;
}
.sound-video:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.sound-info h3 { font: 570 clamp(20px, 2vw, 28px)/1.12 var(--ui); letter-spacing: -.035em; }
.sound-info h3 a { color: inherit; text-decoration: none; }
.sound-info h3 a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: .14em; }
.sound-info > p { margin-top: 5px; color: var(--muted); font: 470 14px/1.4 var(--ui); }
.sound-info .card-price { display: block; margin-top: 5px; }
.sound-track audio { display: block; width: 100%; height: 42px; }
.sound-play, .sound-wave, .sound-time { display: none; }
.sound-track[data-audio-ui] {
  grid-template-columns: 72px minmax(165px, 1fr) 42px minmax(160px, 1.15fr) 92px;
}
.sound-track[data-audio-ui] audio { display: none; }
[data-audio-ui] .sound-play {
  display: grid;
  place-items: center;
  width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface); color: var(--fg); cursor: pointer;
}
.sound-play::before {
  content: ""; display: block;
  border-block: 6px solid transparent;
  border-left: 10px solid currentColor;
  margin-left: 3px;
}
.sound-play:hover, .sound-track[data-playing] .sound-play { background: var(--lime); color: #171a16; border-color: var(--lime); }
[data-playing] .sound-play::before { width: 10px; height: 12px; margin: 0; border: 0; border-inline: 3px solid currentColor; }
[data-audio-ui] .sound-wave { display: block; position: relative; width: 100%; }
.sound-wave svg { display: block; width: 100%; height: 36px; stroke: color-mix(in srgb, var(--fg) 43%, var(--canvas)); stroke-width: 2; }
.sound-played { stroke: var(--fg); clip-path: inset(0 calc(100% - var(--progress, 0%)) 0 0); }
.sound-wave input { position: absolute; inset: -4px 0; width: 100%; height: calc(100% + 8px); margin: 0; opacity: 0; cursor: pointer; }
.sound-wave:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 3px; }
[data-audio-ui] .sound-time { display: block; text-align: end; white-space: nowrap; font: 500 13px/1.2 var(--mono); color: var(--muted); }
.sound-current { color: var(--fg); }
.track-transcript { margin-top: 4px; color: var(--muted); font-size: 13px; }
.track-transcript summary { width: fit-content; cursor: pointer; }
.track-transcript p { max-width: 40ch; padding-top: 5px; line-height: 1.45; }
.sound-more { display: flex; flex-wrap: wrap; gap: 16px clamp(28px, 5vw, 72px); padding-top: 22px; }
.sound-more h3 { margin: 0 0 7px; color: var(--muted); font: 500 13px/1.4 var(--ui); }
.sound-more ul { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 0; padding: 0; list-style: none; }
.sound-more li { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.sound-more a { color: inherit; font: 540 14px/1.5 var(--ui); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.sound-more a:is(:hover, :focus-visible) { text-decoration-color: currentColor; }

@media (max-width: 820px) {
  .sound-track { gap: 12px 14px; }
  .sound-track[data-audio-ui] { grid-template-columns: 60px minmax(140px, 1fr) 42px minmax(95px, .9fr) 80px; }
  .sound-cover { width: 60px; height: 60px; }
}
@media (max-width: 610px) {
  .sound-track, .sound-track[data-audio-ui] { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px 12px; padding-block: 16px; }
  .sound-cover { width: 52px; height: 52px; }
  .sound-info > p { font-size: 13px; }
  .sound-track audio { grid-column: 1/-1; }
  [data-audio-ui] .sound-wave { grid-column: 1/3; }
  .sound-wave svg { height: 24px; }
  [data-audio-ui] .sound-time { min-width: 70px; font-size: 12px; }
  [data-audio-ui] .sound-play { justify-self: end; }
}
