/* Sidebar + pop-out shell: never exceed the viewport */
.player-shell {
  display: flex;
  flex-direction: column;
  width: min(520px, 100vw);
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  box-sizing: border-box;
}

.player-container.player-shell {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
}

.player-shell-popout {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-height: none;
}

.player-shell-inner {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.player-shell-popout .player-shell-inner {
  max-height: 100%;
}

.player-container-width {
  width: 100%;
  max-width: 100%;
}

html:has(body.player-popout-page),
body.player-popout-page,
body.player-popout-page #__next {
  overflow: hidden;
  height: 100%;
  margin: 0;
}

.player-hydration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px;
  color: var(--color-gray-700);
  background: var(--color-gray-50);
  font-size: 13px;
  font-weight: 600;
}

.player-spinner {
  position: absolute;
  width: 80%;
  height: auto !important;
  z-index: 2;
}

.player-spinner .text-danger {
  color: var(--color-gray-250) !important;
}

.player-head {
  background-color: var(--color-gray-800);
  color: var(--color-white);
  min-height: 36px;
  padding: 6px 10px 6px 12px;
  flex-shrink: 0;
}

.player-head-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.playlist-head {
  background-color: var(--color-gray-200);
  min-height: 38px;
  padding: 0 0 0 10px;
  gap: 8px;
  flex-shrink: 0;
}

.playlist-title {
  color: var(--red);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist-head-meta,
.playlist-title-wrap {
  min-width: 0;
}

.playlist-head-meta {
  flex: 1 1 auto;
}

/* Match app .thumb ratio (1.25 = 5:4); size containers by width only */
.playlist-head-art {
  flex: 0 0 90px;
  width: 90px;
  overflow: hidden;
}

.playlist-head-art > .w-100,
.player-episode-art > .w-100 {
  height: auto !important;
}

.playlist-head-art .playlist-thumb {
  width: 100%;
  aspect-ratio: 1.25;
  height: auto;
}

.player-shell-popout .playlist-head-art {
  flex-basis: 100px;
  width: 100px;
}

.player-shell-popout .playlist-head-art .playlist-thumb {
  width: 100%;
}

.playlist-title-wrap {
  margin-left: 0;
}

.playlist-head-actions {
  align-self: stretch;
  flex: 0 0 auto;
  gap: 4px;
}

.playlist-toggle-layout {
  min-width: 82px;
  justify-content: flex-end;
  background-color: #8ceafa;
}

.playlist-current-number {
  min-width: 40px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.playlist-current-meta {
  min-width: 38px;
  padding-right: 4px;
}

.playlist-position {
  line-height: 1;
}

.player-section {
  background-color: var(--color-white);
  padding: 12px;
  border-top: 2px solid var(--color-gray-250);
  border-bottom: 1px solid var(--color-gray-500);
  min-width: 0;
  flex-shrink: 0;
}

.player-track-meta {
  min-width: 0;
  flex: 1 1 auto;
}

.player-track-layout {
  min-width: 0;
  align-items: flex-start;
}

.player-track-art {
  flex: 0 0 75px;
  overflow: hidden;
}

.player-shell-popout .player-track-art {
  flex-basis: 100px;
}

.player-shell-popout .player-track-art .playlist-thumb {
  width: 100px;
}

.player-shell-popout .player-episode-art {
  flex: 0 0 100px;
  width: 100px;
  max-width: 100px;
  overflow: hidden;
}

.player-shell-popout .player-episode-art .playlist-thumb {
  width: 100%;
}

/* Pop-out (560): roomier even spacing across the control cluster */
.player-shell-popout .podcast-player .rhap_controls-section {
  column-gap: 12px;
}

.player-shell-popout .podcast-player .rhap_controls-side,
.player-shell-popout .podcast-player .rhap_main-controls {
  gap: 12px;
}

.player-shell-popout .podcast-player .rhap_main.rhap_stacked {
  row-gap: 10px;
}

.player-shell-popout .player-controls-frame {
  margin-top: 10px;
  padding-right: 16px;
}

/* Title stays single-line truncated; credits wrap without clip */
.player-track-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.25;
}

.player-track-credit {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.3;
}

.player-track-credits {
  margin-top: 3px;
  line-height: 1.3;
  overflow: visible;
}

.player-controls-layout {
  min-width: 0;
  width: 100%;
}

.player-controls-frame {
  position: relative;
  min-width: 0;
  width: 100%;
  margin-top: 8px;
  /* Gutter for collapse chevron so controls stay optically centered */
  padding-right: 14px;
}

.player-episode-layout {
  align-items: flex-start;
  min-width: 0;
}

.player-episode-art {
  flex: 0 0 75px;
  width: 75px;
  max-width: 75px;
  overflow: hidden;
}

.player-episode-art .playlist-thumb {
  width: 100%;
  aspect-ratio: 1.25;
  height: auto;
}

.player-episode-body {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
}

.player-side-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0 0;
  flex-shrink: 0;
}

.player-video-viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  max-height: none;
  background-color: #000;
  overflow: hidden;
  flex-shrink: 0;
}

.player-video-viewport-popout {
  width: 100%;
  max-height: 315px;
}

.player-video-viewport .react-player {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.podcast-captions {
  width: 100%;
  background: #f8f9fa;
  padding: 12px;
  border-top: 1px solid var(--color-gray-250);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 500;
  max-height: min(25vh, 160px);
  overflow-y: auto;
  overflow-x: hidden;
  text-align: left;
  flex-shrink: 0;
  box-sizing: border-box;
}

.podcast-caption {
  color: #777;
  font-weight: 400;
  cursor: pointer;
}

.podcast-caption-active {
  color: #000;
  font-weight: 600;
  cursor: pointer;
}

.podcast-caption-waiting {
  color: #999;
  font-style: italic;
}

.player-media-unavailable {
  color: #707070;
  font-size: 12px;
  font-style: italic;
  padding: 8px 12px 0;
  text-align: center;
}

.player-video-unavailable {
  align-items: center;
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
}

.player-video-unavailable .player-media-unavailable-inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  max-width: 240px;
  padding: 24px 16px;
  text-align: center;
}

.player-video-unavailable .player-media-unavailable-icon {
  opacity: 0.5;
}

.player-video-unavailable .player-media-unavailable-text {
  color: #9a9a9a;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.45;
  padding: 0;
}

.player-audio-unavailable-controls .rhap_container--disabled {
  opacity: 0.85;
}

.play-item {
  visibility: hidden;
}

.playlist-item:hover {
  background-color: var(--color-gray-100);
}

.playlist-item:hover .play-item {
  visibility: visible;
}

.playlist-item.active .item-active-content {
  color: var(--red) !important;
}

.thumb-small {
  width: 75px;
  height: 60px;
}

.dot-expand {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1.2px;
}

.podcast-player .rhap_container {
  padding: 0;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  background-color: transparent;
  box-shadow: none !important;
}

.podcast-player .rhap_main.rhap_stacked {
  display: grid;
  grid-template-rows: auto auto;
  /* Space between control cluster and full-width seek row */
  row-gap: 8px;
  padding-right: 0;
  width: 100%;
}

.podcast-player .rhap_progress-section {
  display: grid;
  /* Equal time columns so the seek track (and play above) share the same center */
  grid-template-columns: 2.5em minmax(0, 1fr) 2.5em;
  grid-row: 2;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.podcast-player .rhap_controls-section {
  /* Equal side columns pin Prev/Play/Next (and thus play) to the seek-track center */
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-row: 1;
  align-items: center;
  column-gap: clamp(4px, 1.4vw, 12px);
  min-width: 0;
  width: 100%;
  min-height: 34px;
  margin-top: 0;
  margin-bottom: 0;
  /* True dark gray (#666), not near-black #404040 */
  color: var(--color-gray-600);
}

.podcast-player .rhap_time {
  color: var(--color-gray-450);
  font-size: 10px !important;
  font-style: italic;
  font-variant-numeric: tabular-nums;
  min-width: 0;
}

.podcast-player .rhap_current-time {
  align-self: center;
  text-align: right;
}

.podcast-player .rhap_progress-container {
  min-width: 0;
  margin: 0;
}

.podcast-player .rhap_total-time {
  align-self: center;
  text-align: left;
}

/* Left/right clusters share the same even gap as the transport group */
.podcast-player .rhap_controls-side {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.4vw, 12px);
  min-width: 0;
}

.podcast-player .rhap_controls-left {
  justify-content: flex-end;
  justify-self: stretch;
}

.podcast-player .rhap_controls-right {
  justify-content: flex-start;
  justify-self: stretch;
}

.podcast-player .rhap_additional-controls {
  display: flex;
  flex: none;
  align-items: center;
  gap: clamp(4px, 1.4vw, 12px);
}

.podcast-player .rhap_additional-controls > * {
  flex-shrink: 0;
}

/* Prev / Play / Next — middle column; equal Prev/Next widths keep play on center */
.podcast-player .rhap_main-controls {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1.4vw, 12px);
  font-size: 22px;
  color: var(--color-gray-600);
}

.podcast-player .rhap_main-controls-button {
  font-size: inherit;
  width: 22px;
  height: 22px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-600);
  flex-shrink: 0;
}

.podcast-player .rhap_volume-controls {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
  color: var(--color-gray-600);
}

.player-inline-popup {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--color-gray-600);
}

/* Pop-in: same icon as pop-out, mirrored to suggest returning to the page */
.player-inline-popin {
  transform: scale(-1, -1);
}

.player-inline-popin-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Align with the compact control-icon row (not the seek row) */
.player-collapse-action {
  position: absolute;
  right: 0;
bottom: -8px;
  width: 14px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-450);
  line-height: 1;
  font-size: 12px;
}

.podcast-player .rhap_volume-container {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  max-width: none;
  font-size: inherit !important;
  color: var(--color-gray-600);
}

.podcast-player .rhap_volume-button {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-right: 0;
  color: var(--color-gray-600);
}

.podcast-player .rhap_volume-container svg {
  fill: currentColor;
}

.podcast-player .rhap_volume-bar-area {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 14px;
  z-index: 100;
  transform: translateX(-33%);
}

.podcast-player .rhap_volume-bar {
  width: 100%;
  min-width: 48px;
  height: 4px;
  background-color: var(--color-gray-250);
  border-radius: 0;
}

.podcast-player .rhap_volume-indicator {
  display: none !important;
}

.podcast-player .rhap_volume-filled {
  background-color: var(--color-gray-600);
}

.podcast-player .cnow-audio-player .rhap_volume-controls {
  width: auto;
  overflow: visible;
}

.audio-volume-control {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 22px;
  color: var(--color-gray-600);
}

.audio-volume-control.is-open {
  width: 22px;
}

.audio-volume-level {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;
  z-index: 2;
  flex: 0 0 68px;
  width: 68px;
  min-width: 68px;
}

.audio-volume-level .rhap_volume-bar {
  min-width: 68px;
}

.audio-volume-control .rhap_volume-indicator {
  display: none !important;
}

.audio-volume-control .cnow-player-volume-overlay::-webkit-slider-thumb {
  width: 0;
  height: 0;
  opacity: 0;
}

.audio-volume-control .cnow-player-volume-overlay::-moz-range-thumb {
  width: 0;
  height: 0;
  border: 0;
  opacity: 0;
}

/* Play/Pause: larger and dominant; dark-gray outline/glyph, no red fill. */
.podcast-player .rhap_play-pause-button {
  font-size: inherit;
  width: 34px;
  height: 34px;
  color: var(--color-gray-600);
  background: transparent;
}

.podcast-player .rhap_progress-bar {
  position: relative;
  height: 4px !important;
  background-color: var(--color-gray-250);
  border-radius: 0;
}

.podcast-player .rhap_progress-filled {
  background-color: var(--color-gray-600);
  height: 100%;
}

.podcast-player .rhap_progress-indicator {
  display: none !important;
}

.podcast-player .cnow-player-progress-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  width: 100%;
  height: 20px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 4;
}

.podcast-player .cnow-player-progress-overlay::-webkit-slider-thumb {
  width: 0;
  height: 0;
  opacity: 0;
}

.podcast-player .cnow-player-progress-overlay::-moz-range-thumb {
  width: 0;
  height: 0;
  border: 0;
  opacity: 0;
}

.podcast-player .cnow-player-volume-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: 100%;
  height: 14px;
  margin: 0;
  transform: translateY(-50%);
  opacity: 0;
  cursor: pointer;
  z-index: 4;
}

/* playlist */
.playlist-section {
  background-color: var(--color-white);
  padding: 6px 8px 6px 22px;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  flex-shrink: 0;
  max-height: min(35vh, 320px);
  overscroll-behavior: contain;
}

.page-playlist {
  max-height: min(32vh, 280px);
}

.player-shell-popout .playlist-section {
  max-height: min(38vh, 340px);
}

.playlist-section::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px var(--color-black-alpha-300);
  background-color: var(--color-gray-50);
}

.playlist-section::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background-color: var(--color-gray-50);
}

.playlist-section::-webkit-scrollbar-thumb {
  border-radius: 5px;
  -webkit-box-shadow: inset 0 0 6px var(--color-black-alpha-300);
  background-color: var(--color-black-alpha-400);
}

.playlist-subsection {
  padding-block: 4px;
  border-left: 4px solid var(--color-gray-400);
}

.playlist-thumb {
  width: 75px;
  aspect-ratio: 1.25;
  height: auto;
  object-fit: cover;
}

.playlist-item-inner,
.playlist-item-copy,
.playlist-item-meta-row,
.playlist-item-meta {
  min-width: 0;
}

.playlist-item-inner {
  gap: 8px;
  align-items: center;
}

.playlist-item-copy {
  margin-left: 4px !important;
}

.playlist-item-number {
  flex: 0 0 auto;
}

.playlist-item-meta {
  flex: 1 1 auto;
}

.playlist-item-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist-item-credits .credit-info {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin-right: 0;
}

.playlist-item-credits {
  overflow: visible;
}

.playlist-item-duration {
  font-variant-numeric: tabular-nums;
}

.playlist-item:before {
  content: "";
  position: absolute;
  width: 8px;
  border-top: 4px solid var(--color-gray-400);
}

.playlist-main .playlist-subsection {
  border-left: 4px solid var(--color-gray-400);
  padding-block: 8px;
}

.playlist-main .playlist-item:before {
  content: "";
  position: absolute;
  width: 8px;
  border-top: 4px solid var(--color-gray-400);
}

.podcast-details {
  height: auto;
  max-height: min(40vh, 500px);
  overflow: auto;
  flex-shrink: 0;
  line-height: 1.45;
  overscroll-behavior: contain;
}

/* Pop-out window: one scroll on the shell; avoid a nested mid-panel scroll */
.player-shell-popout .podcast-details,
.player-shell-popout .podcast-details-popout {
  max-height: none;
  overflow: visible;
}

.podcast-details::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px var(--color-black-alpha-300);
  background-color: var(--color-gray-50);
}

.podcast-details::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background-color: var(--color-gray-50);
}

.podcast-details::-webkit-scrollbar-thumb {
  border-radius: 5px;
  -webkit-box-shadow: inset 0 0 6px var(--color-black-alpha-300);
  background-color: var(--color-black-alpha-400);
}

.podcast-details hr {
  text-align: center;
  background: var(--color-gray-500);
  padding: 0px 10px;
}

.podcast-details .cnow-map-preview {
  height: 137px;
}

.play-button {
  outline: none;
  border: none;
  background: transparent;
}

/* Shuffle + Repeat + CC: icon/text color only. Kill native/Bootstrap/rhap button chrome. */
.podcast-player .rhap_additional-controls button,
.cnow_addition_controls.shuffle-button,
.cnow_addition_controls.repeat-button,
.cnow_addition_controls.cc-button {
  -webkit-appearance: none;
  appearance: none;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
  min-width: 0;
  line-height: 1;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
}

.podcast-player .rhap_additional-controls button:hover,
.podcast-player .rhap_additional-controls button:active,
.podcast-player .rhap_additional-controls button:focus,
.podcast-player .rhap_additional-controls button:focus-visible,
.cnow_addition_controls.shuffle-button:hover,
.cnow_addition_controls.shuffle-button:active,
.cnow_addition_controls.shuffle-button:focus,
.cnow_addition_controls.shuffle-button:focus-visible,
.cnow_addition_controls.shuffle-button.shuffle-button-on,
.cnow_addition_controls.shuffle-button.shuffle-button-on:hover,
.cnow_addition_controls.shuffle-button.shuffle-button-on:active,
.cnow_addition_controls.shuffle-button.shuffle-button-on:focus,
.cnow_addition_controls.repeat-button:hover,
.cnow_addition_controls.repeat-button:active,
.cnow_addition_controls.repeat-button:focus,
.cnow_addition_controls.repeat-button:focus-visible,
.cnow_addition_controls.repeat-button.repeat-button-on,
.cnow_addition_controls.repeat-button.repeat-button-on:hover,
.cnow_addition_controls.repeat-button.repeat-button-on:active,
.cnow_addition_controls.repeat-button.repeat-button-on:focus,
.cnow_addition_controls.cc-button:hover,
.cnow_addition_controls.cc-button:active,
.cnow_addition_controls.cc-button:focus,
.cnow_addition_controls.cc-button:focus-visible,
.cnow_addition_controls.cc-button.cc-button-on,
.cnow_addition_controls.cc-button.cc-button-on:hover,
.cnow_addition_controls.cc-button.cc-button-on:active,
.cnow_addition_controls.cc-button.cc-button-on:focus {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none;
}

.cnow_addition_controls.shuffle-button,
.cnow_addition_controls.repeat-button,
.cnow_addition_controls.cc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 22px;
  height: 22px;
  color: var(--color-gray-600);
}

.cnow_addition_controls.cc-button {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cnow_addition_controls.cc-button.cc-button-on {
  color: var(--red);
}

.cc-button-off {
  visibility: hidden;
  cursor: default;
  opacity: 0;
}



.podcast-player .rhap_additional-controls .shuffle-button,
.podcast-player .rhap_additional-controls .repeat-button,
.podcast-player .rhap_additional-controls .cc-button {
  width: 22px;
  height: 22px;
}

.cnow-repeat-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cnow-repeat-one-badge {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  background: none !important;
  padding: 0;
  border: none;
}

.cc-button:disabled {
  cursor: default;
  opacity: 0.4;
}

.cnow_addition_controls {
  color: var(--color-gray-600);
  font-size: 15px;
  cursor: pointer;
}

.cnow_addition_controls.shuffle-button.shuffle-button-on,
.cnow_addition_controls.repeat-button.repeat-button-on {
  color: var(--red);
}

.player-modal {
  max-width: 520pxfv;
}

#popover-hash {
  width: 800px !important;
}

.podcast-popover.popover {
  max-width: 240px;
  overflow: visible;
}

.podcast-popover .popover-arrow {
  display: none;
}

.podcast-popover .popover-body,
.podcast-popover .podcast-popover-scroll {
  padding: 0 !important;
  background: transparent;
  border: none;
  max-height: 320px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.podcast-popover .podcast-menu {
  min-width: 190px;
}

.podcast-popover .podcast-popover-scroll::-webkit-scrollbar {
  width: 6px;
}

.podcast-popover .podcast-popover-scroll::-webkit-scrollbar-track {
  background-color: var(--color-gray-800);
}

.podcast-popover .podcast-popover-scroll::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.35);
}

.podcast-menu .podcast-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
}

.podcast-menu {
  background-color: var(--color-gray-800);
  color: var(--color-white);
  padding: 0px;
}

.podcast-menu-top {
  background-color: var(--color-gray-800);
  color: var(--color-white);
  padding: 0px;
  position: absolute;
  left: -170px;
  top: 20px;
  height: auto;
  overflow-y: auto;
  width: 165px;
}

.podcast-menu .podcast-menu-item {
  gap: 10px;
  display: flex;
  border: 1px solid var(--color-gray-800);
}

.podcast-menu-map-info {
  background-color: var(--color-gray-800);
  color: var(--color-white);
  padding: 0px;
  position: absolute;
  left: -50px !important;
  top: 20px;
  height: auto;
  overflow-y: auto;
  width: 165px;
}

/* #audio player */
.cnow-player-progress {
  height: 7px;
  -webkit-appearance: none;
  width: 100%;
  outline: none;
  background: var(--color-gray-200);
  transition: background 0.2s ease;
  cursor: pointer;
}

.cnow-player-progress::-webkit-slider-thumb {
  width: 10px;
  -webkit-appearance: none;
  height: 7px;
  cursor: pointer;
  background: transparent;
}

.podcast-menu-item > .arrow-design {
  text-align: right;
}

.player-video-spinner {
  inset: 0;
  width: 100%;
  position: absolute;
  height: 100% !important;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cnow-player-image-progress {
  -webkit-appearance: none;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-gray-500); /* fallback */
  transition: background 0.2s ease;
  cursor: pointer;
  outline: none;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.cnow-player-image-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 0px;
  width: 0px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  cursor: pointer;
}

.cnow-player-image-progress::-moz-range-thumb {
  height: 0px;
  width: 0px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  cursor: pointer;
}
.cnow-player-image-progress::-webkit-slider-thumb {
  opacity: 0;
  pointer-events: none;
}

.credit-info {
  display: inline-block;
  margin-right: 5px;
}

@media (max-width: 480px) {
  .player-shell {
    width: 100vw;
  }

  .player-section {
    padding: 10px;
  }

  .podcast-player .rhap_container {
    padding-right: 0;
    padding-left: 0;
  }

  .podcast-player .rhap_controls-section {
    column-gap: 4px;
  }

  .podcast-player .rhap_controls-side,
  .podcast-player .rhap_main-controls {
    gap: 4px;
  }

  .player-controls-frame {
    padding-right: 12px;
    margin-top: 6px;
  }

  .player-episode-layout {
    padding: 10px !important;
  }

  .player-episode-art {
    flex: 0 0 60px;
    width: 60px !important;
    max-width: 60px;
  }

  .player-episode-body {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
  }

  .player-track-layout {
    display: grid !important;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    gap: 0 8px;
  }

  .player-track-art {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 60px;
  }

  .player-track-art .playlist-thumb {
    width: 60px;
  }

  .playlist-head-art {
    flex: 0 0 60px;
    width: 60px;
  }

  .playlist-head-art .playlist-thumb {
    width: 100%;
  }

  .player-episode-art .playlist-thumb {
    width: 100%;
  }

  .player-track-title {
    grid-column: 2;
    grid-row: 1;
  }

  .player-track-credits {
    grid-column: 2;
    grid-row: 2;
    padding-right: 2px;
  }

  .player-side-actions {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .playlist-item-inner {
    gap: 6px;
  }

  .playlist-thumb {
    width: 64px;
  }
}

