body {
  margin: 0;
  padding: 0;
  color: #111;
  background: #fff;
}

audio {
  width: 100%;
  margin-top: 6px;
}

.audio-container {
  font-family: "Fira Sans", sans-serif;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.audio-panel,
.audio-container {
  max-width: 100%;
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}

.audio-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  margin-bottom: 12px;
}
.audio-autoplay-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
  font-size: .9rem;
  cursor: pointer;
}

.audio-top {
  text-align: center;
  margin: 12px 0 18px;
}

.playlist {
  list-style: none;
  margin-top: 10px;
  padding-left: 0;
}

.playlist li a {
  font-family: "Fira Sans", sans-serif;
  font-size: clamp(0.9rem, 0.9rem + ((1vw - 0.2rem) * 0.235), 1.05rem);
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.5;
  color: #002a94;
  text-decoration: none;
}

.playlist li a:hover {
  text-decoration: underline;
}

.playlist li span {
  font-weight: 500;
}

.audio-flag {
  width: 16px;
  height: 11px;
  margin-left: 4px;
  vertical-align: baseline;
  opacity: 0.75;
}

.playlist .active a {
  color: #002a94;
  text-decoration: underline;
  font-weight: 700;
}

.page-link {
  color: #002a94;
  border: 1px solid #dee2e6;
}

.page-item.active .page-link {
  color: #fff;
  background-color: #002a94;
  border-color: #002a94;
}

.page-item.disabled .page-link {
  pointer-events: none;
  opacity: .5;
}

.public-controls {
  margin: 10px 0 12px;
}

.playlist-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
}

.playlist-filters__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.playlist-filters__field label {
  font-size: .9rem;
  font-weight: 400;
}

.playlist-filters__field input,
.playlist-filters__field select {
  padding: .5rem .65rem;
  border: 1px solid #d7dbe3;
  border-radius: .375rem;
  background: #fff;
  color: #111;
}

.playlist-filters__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
}

.playlist-icon-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  flex: 0 0 40px;
  border: 1px solid #d7dbe3;
  border-radius: .5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
}

.playlist-icon-btn--ghost {
  background: #fff;
  color: #000;
}

.playlist-icon-btn:hover {
  transform: translateY(-1px);
}

.playlist-icon-btn:active {
  transform: translateY(0);
}

.playlist-icon-btn i {
  font-size: 14px;
  pointer-events: none;
}

.service-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0 12px 12px;
}

.service-block {
  width: min(30%, 100%);
}

.service-block h2 {
  font-size: 1.2rem;
  font-weight: 300;
  margin: 0 0 8px;
}

.playlist-empty {
  margin: 12px 0 0;
  opacity: .7;
}

.audio-new-notice {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-bottom: 12px;
  padding: 10px;
  text-align: center;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: .5rem;
}

.audio-new-notice__btn {
  border: 0;
  background: transparent;
  color: #9a3412;
  font-weight: 600;
  cursor: pointer;
  font-size: .95rem;
}

.audio-new-notice__btn:hover {
  text-decoration: underline;
}

.audio-badge-new {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #dc2626;
  color: white;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.2;
  vertical-align: middle;
}

@media (max-width: 800px) {
  .service-wrap {
    flex-direction: column;
  }

  .service-block {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .playlist-filters,
  .public-controls .playlist-filters {
    grid-template-columns: 1fr auto;
  }
}
