.audio-sample-list__wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #bbb;
  border-radius: 4px;
}

.audio-sample-list {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #222;
  font-size: 0.875rem;
}

.audio-sample-list th {
  padding: 5px 8px;
  border-right: 1px solid #bbb;
  border-bottom: 1px solid #aaa;
  background: linear-gradient(#f7f7f7, #dcdcdc);
  color: #333;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.audio-sample-list th:last-child,
.audio-sample-list td:last-child {
  border-right: 0;
}

.audio-sample-list th:nth-child(1) {
  width: 34%;
}

.audio-sample-list th:nth-child(2) {
  width: 4.5rem;
}

.audio-sample-list__row:nth-child(odd) {
  background: #fff;
}

.audio-sample-list__row:nth-child(even) {
  background: #f1f4f8;
}

.audio-sample-list__row:hover {
  background: #e8f1fb;
}

.audio-sample-list td {
  height: 34px;
  padding: 3px 8px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #d7d7d7;
  vertical-align: middle;
}

.audio-sample-list__row:last-child td {
  border-bottom: 0;
}

.audio-sample-list__title-content {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.5rem;
}

.audio-sample-list__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audio-sample-list__link {
  color: #1a1a1a;
}

.audio-sample-list__time {
  color: #555;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.audio-sample-list__description {
  overflow: hidden;
  color: #444;
}

.audio-sample-list__description-content {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  white-space: nowrap;
}

.audio-sample-list__description-content::-webkit-scrollbar {
  display: none;
}

.audio-sample__description {
  margin: 0 0 1rem;
  color: #444;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.audio-sample__native-player {
  display: block;
  width: min(100%, 32rem);
}

.audio-player {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.audio-player audio {
  display: none;
}

.audio-player__button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #aaa;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: white;
  color: #1a1a1a;
  cursor: pointer;
}

.audio-player--compact {
  flex: 0 0 auto;
}

.audio-player--compact .audio-player__button {
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
}

.audio-player__icon {
  display: block;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.audio-player__icon-pause {
  opacity: 0;
}

.audio-player__button[aria-pressed="true"] .audio-player__icon-play {
  opacity: 0;
}

.audio-player__button[aria-pressed="true"] .audio-player__icon-pause {
  opacity: 1;
}

.audio-player--compact .audio-player__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.audio-player__duration {
  color: #666;
  font-variant-numeric: tabular-nums;
}

.audio-player__error,
.audio-upload__error {
  color: #b42318;
}

.audio-upload progress {
  width: 100%;
}

.form__hint {
  margin: 0 0 0.5rem;
  color: #666;
  font-size: 0.9rem;
}
