/* ===========================================================
   Ïëååð. Âåðñèÿ 1. Ñäåëàíî ñ ïîìîùüþ ChatGPT Kolobdur74
   =========================================================== */


/* =========================================================
   Ïðàâêà äëÿ .overlay-news
   ========================================================= */

.overlay-news-list {
  overflow-y: auto;
  height: 54px;
}

/* =========================================================
   ÊÎÍÒÅÉÍÅÐ ÏËÅÅÐÀ
   ========================================================= */

.overlay-mp3-host {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
}

/* =========================================================
   ÎÑÍÎÂÍÎÉ ÏËÅÅÐ
   ========================================================= */

.overlay-mp3-player {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center; 
  width: 100%;
  height: 24px;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: transparent;
}

/* =========================================================
   ÊÍÎÏÊÈ
   ========================================================= */

.overlay-mp3-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color .15s ease, opacity .15s ease;
  -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   ÁËÎÊ ÒÐ¨Õ ÎÑÍÎÂÍÛÕ ÊÍÎÏÎÊ
   ========================================================= */

.overlay-mp3-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 24px;
}

/* =========================================================
   Ïëåé / Ïàóçà
   ========================================================= */

.overlay-mp3-play {
  width: 22px;
  height: 22px;
}

.overlay-mp3-play-icon:not(.is-pause) {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.overlay-mp3-play-icon.is-pause {
  position: relative;
  width: 4px;
  height: 11px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

/* =========================================================
   Ïðåäûäóùèé òðåê
   ========================================================= */

.overlay-mp3-prev::before {
  content: "";
  width: 2px;
  height: 10px;
  margin-right: 1px;
  background: currentColor;
}

.overlay-mp3-prev::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 7px solid currentColor;
}

/* =========================================================
   Ñëåäóþùèé òðåê
   ========================================================= */

.overlay-mp3-next::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
}

.overlay-mp3-next::after {
  content: "";
  width: 2px;
  height: 10px;
  margin-left: 1px;
  background: currentColor;
}

/* =========================================================
   ØÊÀËÀ
   ========================================================= */

.overlay-mp3-progress-row {
  display: flex;
  align-items: center;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  gap: 5px;
  padding: 0 7px;
}

/* =========================================================
   ÂÐÅÌß
   ========================================================= */

.overlay-mp3-time {
  flex: 0 0 auto;
  width: 27px;
  font-family: Arial, sans-serif;
  font-size: 8px;
  line-height: 1;
  text-align: center;
}

/* =========================================================
   Ïðîãðåññ
   ========================================================= */

.punbb .overlay-mp3-progress {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

/* Chrome / Edge / Opera */

.overlay-mp3-progress::-webkit-slider-runnable-track {
  height: 1px;
  border-radius: 3px;
}

.overlay-mp3-progress::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

/* Firefox */

.overlay-mp3-progress::-moz-range-track {
  height: 1px;
  border-radius: 3px;
}

.overlay-mp3-progress::-moz-range-progress {
  height: 1px;
  border-radius: 3px;
}

.overlay-mp3-progress::-moz-range-thumb {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

/* =========================================================
   ÊÍÎÏÊÀ ÍÀÇÂÀÍÈß
   ========================================================= */

.overlay-mp3-title-button {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  width: 23px;
}

/* =========================================================
   ÊÍÎÏÊÀ ÏËÅÉËÈÑÒÀ
   ========================================================= */

.overlay-mp3-list-button {
  width: 25px;
  margin-right: 2px;
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1;
}

/* =========================================================
   ÂÈÄ ÍÀÇÂÀÍÈß ÒÐÅÊÀ
   ========================================================= */

.overlay-mp3-title-view {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 24px;
  box-sizing: border-box;
}

.overlay-mp3-title {
  max-width: calc(100% - 30px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  line-height: 24px;
  text-align: center;
}

/* =========================================================
   ÊÍÎÏÊÀ ÍÀÇÀÄ
   ========================================================= */

.overlay-mp3-view-back {
  position: absolute;
  right: 3px;
  top: 5px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 18px;
  cursor: pointer;
}

/* =========================================================
   ÏËÅÉËÈÑÒ
   ========================================================= */

.overlay-mp3-playlist-view {
  display: none;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding-right: 25px;
}

.overlay-mp3-playlist {
  width: 100%;
  height: 24px;
  max-height: 140px;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 0;
}

/* =========================================================
   ÎÒÄÅËÜÍÛÉ ÒÐÅÊ Â ÏËÅÉËÈÑÒÅ
   ========================================================= */

.overlay-mp3-playlist-track {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  width: 100%;
  min-height: 22px;
  padding: 2px 6px;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid rgba(139,104,72,.12);
  background: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
}

.overlay-mp3-track-number {
  font-family: Arial, sans-serif;
  font-size: 9px;
  text-align: center;
}

.overlay-mp3-track-name {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* =========================================================
   ÊÍÎÏÊÀ ÇÀÊÐÛÒÈß ÏËÅÉËÈÑÒÀ
   ========================================================= */

.overlay-mp3-playlist-close {
  position: absolute;
  right: 2px;
  top: 3px;
}

/* =========================================================
   ÌÎÁÈËÜÍÛÅ
   ========================================================= */

@media (max-width: 480px) {
  .overlay-mp3-progress-row {
    gap: 3px;
    padding: 0 4px;
  }

  .overlay-mp3-time {
    width: 25px;
    font-size: 8px;
  }
}