.bullet {
  list-style: circle;
  list-style-position: inside;
}

.live {}

.socials {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
}

.song-details-container {
  /* colors configured in admin dash: https://radio.cabbage.town/station/1/branding */
  border: 16px ridge var(--daorange);
  padding: 8px;
  border-radius: 16px;
  background-color: white;
}

.now-playing-container {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

@media (max-width: 600px) {
  .now-playing-container {
    flex-direction: column;
    align-items: center;
    /* optional, for centering */
    gap: 8px;
    /* optional spacing between stacked elements */
  }
}

.sched-day {
  color: rgb(90, 90, 90);
}

.sched-day ul {
  padding-left: 20px;
}

.tune-tank {
  color: rgb(168, 168, 168);
}

.tune-tank-item {
  font-weight: bold;
}

.tune-tank-item ul {
  padding-left: 20px;
  font-weight: normal;
}

.mulch-channel {
  color: rgb(141, 61, 61);
}

.reginajingles-channel {
  color: rgb(53, 174, 43);
}

.ben {
  color: rgb(0, 111, 166);
}

.terminus {
  color: rgb(180, 32, 234);
}

.nlt {
  color: rgb(116, 22, 184);
}

.home-cooking {
  color: rgb(174, 52, 4);
}

.posted-up {
  color: rgb(168, 168, 168);
}

.show {
  font-size: 20px;
  font-weight: bold;
}

:root {
  --marquee-speed: 10s;
  /* default, will be overridden */
}

@media (min-width: 600px) {
  :root {
    --marquee-speed: 15s;
  }
}

@media (min-width: 1000px) {
  :root {
    --marquee-speed: 20s;
  }
}


.scrolling-banner {
  overflow: hidden;
  position: relative;
  height: 1em;
}

.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  position: absolute;
  animation: scroll var(--marquee-speed, 10s) linear infinite alternate;
}

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

  100% {
    transform: translateX(calc(100vw - 100%));
  }
}

.the-producer {
  color: rgb(255, 0, 0);
}

#liveStreamerName {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--dagreen);
  text-align: center;
  word-break: break-word;
  overflow-wrap: break-word;
}

.player-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 12px 24px;
  border-top: 2px solid var(--daorange);
  display: none;
  /* Hidden by default */
  gap: 16px;
  align-items: center;
  z-index: 1000;
}

.player-footer.visible {
  display: flex;
}

.player-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  /* Allows text truncation to work */
}

.player-title-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.player-title {
  font-weight: bold;
  display: inline-block;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  padding-right: 50px;
  /* Keep space between repetitions */
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Only animate when text is actually overflowing */
.player-title-container:hover .player-title {
  animation-play-state: paused;
  /* Pause on hover */
}

.player-date {
  color: #666;
  font-size: 0.9em;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  /* Prevent wrapping */
}

.time-slider {
  flex-grow: 1;
  min-width: 100px;
  max-width: none;
  /* Remove max-width to allow more flexible growth */
}

input[type="range"] {
  -webkit-appearance: none;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
  width: 100%;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--daorange);
  border-radius: 50%;
  cursor: pointer;
}

/* Update the mobile styles */
@media (max-width: 768px) {
  .player-footer {
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }

  .player-info {
    width: 100%;
    text-align: center;
  }

  .player-controls {
    width: 100%;
    justify-content: space-between;
    /* Spread items evenly */
    gap: 8px;
  }

  /* Remove the order properties since we want everything on one line */
  .time-slider {
    min-width: 60px;
    /* Allow slider to be smaller on mobile */
  }

  /* Make time displays smaller on mobile */
  #currentTime,
  #duration {
    font-size: 0.9em;
  }
}

/* Additional mobile optimization */
@media (max-width: 480px) {
  .player-footer {
    padding: 12px;
  }

  .player-controls {
    gap: 4px;
  }

  /* Make time displays even smaller on very small screens */
  #currentTime,
  #duration {
    font-size: 0.8em;
  }
}