#preview[hidden], .preview-credit[hidden], .listen-native[hidden] { display: none; }
#preview { display: inline-flex; align-items: center; justify-content: center; gap: .55em; }
#preview .audio-icon { display: inline-block; width: 0; height: 0; border-style: solid; border-width: .32em 0 .32em .54em; border-color: transparent transparent transparent currentColor; flex: none; }
#preview[data-playing="true"] .audio-icon { width: .62em; height: .62em; border: 0; background: currentColor; }
#preview:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.preview-credit { display: flex; align-items: center; gap: 9px; margin-top: 8px; }
.preview-credit a { display:inline-flex; align-items:center; min-height:44px; flex: none; }
.preview-credit img { width: auto; height: 34px; }
.preview-credit small { font: 550 11px/1.45 var(--text); color: var(--screen-ink); }
.preview-notice { margin: 8px 0 0; font: 550 13px/1.55 var(--text); }
.preview-notice:empty { display:none; }
.listen-native { padding: 24px 0; background: #f6f3ed; color:#262838; }
.listen-native h2 { font: 600 18px/1.4 var(--display); }
.listen-native .edge { display:flex; flex-wrap:wrap; gap: 20px 36px; }
.listen-native audio { display:block; max-width:100%; }

.preview-volume[hidden], .preview-device-volume[hidden] { display: none; }
.preview-volume {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 4ch;
  align-items: center;
  gap: 10px;
  inline-size: 218px;
  max-inline-size: 100%;
  margin-top: 5px;
  color: var(--screen-ink);
  font: 600 13px/1.45 var(--text);
}
.preview-volume input {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  inline-size: 100%;
  min-inline-size: 0;
  block-size: 44px;
  background: transparent;
  color: inherit;
  margin: 0;
  cursor: pointer;
}
.preview-volume input::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: currentColor; }
.preview-volume input::-moz-range-track { height: 3px; border-radius: 3px; background: currentColor; }
.preview-volume input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6.5px;
  border: 2px solid var(--screen-ink);
  border-radius: 50%;
  background: var(--screen-button-ink);
}
.preview-volume input::-moz-range-thumb {
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border: 2px solid var(--screen-ink);
  border-radius: 50%;
  background: var(--screen-button-ink);
}
.preview-volume input:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
.preview-volume span { text-align: end; font-variant-numeric: tabular-nums; }
.preview-device-volume { margin: 10px 0 0; color: var(--screen-ink); font: 600 13px/1.5 var(--text); }
@media (forced-colors: active) {
  .preview-volume input { appearance: auto; -webkit-appearance: auto; }
}
