.b-archive__article-player {
  display: flex !important;
  justify-content: flex-end;
}

.fake-play-btn.archive-player-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0px;
  padding-bottom: 0px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin: 5px;
}

.fake-play-btn.archive-player-btn:hover svg {
  transition: transform 0.2s ease;
  transform: scale(1.2);
}

.fake-audio-player.archive-player-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: unset;
  gap: 0px;
  padding: 0px;
  padding-right: 5px;
  margin-bottom: 5px;
}

.add-to-playlist-btn.archive-player-block {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0px;
  padding-bottom: 0px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  min-width: unset;
}

.add-to-playlist-btn.archive-player-block:hover svg {
  transition: transform 0.2s ease;
  transform: scale(1.2);
}

#global-playlist-popup {
  width: 330px;
  border-radius: 20px;
  visibility: hidden;
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 9998;
  background: #fff;
  padding: 35px 35px 15px 25px;
  max-height: 500px;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(300px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 9999;
}

#global-playlist-popup.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

#global-playlist-popup.hiding {
  opacity: 0;
  transform: translateY(300px);
  pointer-events: none;
}

#global-player {
  height: 65px;
  margin-bottom: 20px;
}

.b-posts .b-archive__article-player {
  bottom: 30px;
}

#global-playlist-play {
  width: 20px;
  height: 20px;
}

#global-playlist-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  background: #f67819;
  color: #fff;
  padding: 10px 15px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
    font-size: 12px;
}

#global-playlist-hide {
  position: absolute;
  top: 10px;
  right: 25px;
  background: #fff;
  color: #f67819;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 22px;
  line-height: 36px;
  z-index: 2;
}

#global-playlist-hide:hover {
  transform: scale(1.3);
  transition: transform 0.2s ease;
}

#playlist-list {
  padding: 0;
  margin-top: 10px;
  margin-bottom: 15px;
  max-height: 180px;
  overflow-x: hidden;
  list-style: none;
}

.playlist-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.playlist-title {
  width: 200px;
  overflow: hidden;
  white-space: nowrap;
}

.playlist-title .scroll-inner {
  display: inline-block;
  white-space: nowrap;
  transition: transform 0.3s ease;
}

.playlist-title.scrolling .scroll-inner {
  animation-name: scroll-title;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes scroll-title {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(calc(var(--scroll-distance, 0px) * -1));
  }
}

.playlist-item.selected {
  background: #f3f3f3;
}

.playlist-title:hover {
  text-decoration: underline;
  color: #f67819;
}

.playlist-remove-btn {
  background: none;
  border: none;
  color: #999;
  font-size: 16px;
  cursor: pointer;
}

.playlist-remove-btn:hover {
  color: red;
}

.fake-audio-player {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f3f3f3;
  padding: 10px 15px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.add-to-playlist-btn {
  border: none;
  background: #f67819;
  color: #fff;
  padding: 6px 10px;
  border-radius: 15px;
  cursor: pointer;
  min-width: 124px;
  font-size: 12px;
}

.audio-duration {
  font-size: 12px;
  color: #555;
}

.sk-app-container.sk-mod-showing {
  max-width: 100%;
  margin-left: 20px;
}

.custom-play-btn {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  width: 39px;
  height: 39px;
}

.custom-audio-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
  flex-wrap: nowrap;
  flex-direction: row;
  border-radius: 25px;
  position: absolute;
}

.audio-player {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-rewind-btn,
.custom-forward-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 27px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.custom-prev-track-btn,
.custom-next-track-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 30px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.custom-rewind-btn:hover svg path,
.custom-forward-btn:hover svg path {
  fill: #f89347;
}

.custom-speed-text {
  font-size: 12px;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 5px;
  transition: color 0.3s ease;
}

.custom-speed-text:hover {
  color: grey;
}

.fake-play-btn {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  width: 39px;
  min-width: 30px;
  height: 39px;
}

.fake-play-btn svg {
  transition: transform 0.2s ease;
}

.fake-play-btn:hover svg {
  transform: scale(1.05);
}

.fake-playlist-play-btn {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  width: 39px;
  height: 39px;
}

.fake-playlist-play-btn svg {
  transition: transform 0.2s ease;
}

.fake-playlist-play-btn:hover svg {
  transform: scale(1.05);
}

.custom-prev-track-btn,
.custom-play-btn,
.custom-next-track-btn,
.custom-rewind-btn,
.custom-forward-btn {
  transition: transform 0.2s ease-in-out;
  will-change: transform;
}

.custom-prev-track-btn:hover,
.custom-play-btn:hover,
.custom-next-track-btn:hover,
.custom-rewind-btn:hover,
.custom-forward-btn:hover {
  transform: scale(1.2);
}

.fake-audio-player {
  position: relative;
  overflow: hidden;
}

.fake-player-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  border-radius: 10px;
  z-index: 10;
}

.fake-player-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.fake-title-wrapper {
  width: 400px;
  overflow: hidden;
  padding: 5px 10px;
  text-align: center;
  margin: 0 auto;
}

.fake-title {
  display: inline-block;
  white-space: nowrap;
  font-size: 14px;
  font-weight: bold;
  animation: scroll-title 8s ease-in-out infinite alternate;
}

.onetap-container-toggle .onetap-toggle {
  z-index: 100 !important;
}
.onetap-container-toggle .onetap-toggle img {
  box-shadow: 0px 1px 3px 2px rgb(0 0 0 / 35%);
}
.overlay-archive-btn{
  text-transform: uppercase;
  color: #bd3500;
  font-size: 18px;
}
