/* === PlayerWidget ========================================================= */

.player-widget {
  color: #96503d;
  display: inline-flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
  text-align: center;
  border: 1px solid var(--color-text-emphasize);
  padding: 2px 5px;
}

.player-widget.disabled {
  display: none !important;
}

.player-widget .player-button {
  margin-left: 1rem;
}
.player-widget .player-button span.fa {
  font-size: 2.2rem;
  line-height: 2.7rem;
  color: #96503d;
}

.player-widget .channel-info {
  max-width: 275px;
  overflow: hidden;
}
.player-widget .song-info {
  white-space: nowrap;
}
.player-widget .song-info.marquee .song-description {
  display: inline-block;
  padding-left: 100%;
  /* show the marquee just outside the paragraph */
  will-change: transform;
  animation: marquee 12s linear infinite;
}
.player-widget .song-info.marquee .song-description:hover {
  animation-play-state: paused
}
@keyframes marquee {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    white-space: normal
  }
  .marquee span {
    animation-iteration-count: 1;
    animation-duration: 0.01;
    padding-left: 0;
  }
}

.player-widget .source-info {
  font-size: 0.8rem;
  font-style: italic;
}

/* === BadgeWidget ========================================================== */

.badgewidget .container {
  width: 135px;
}

.badgewidget {
  position: fixed;
    bottom: 20px;
    right: -5px;
  clip-path: inset(-5px 6px -5px -5px);
}

.badgewidget .header {
  font-weight: bold;
}

.badgewidget-modal {
  z-index: 990000;
}

@media (max-width: 768px) {
  .badgewidget {
    width: 100%;
    bottom: -3px;
    left: 0;
    text-align: center;
  }

  .badgewidget .container {
    width: 90%;
    height: 40px;
    display: inline-flex;
      flex-flow: row wrap;
      justify-content: space-around;
    margin-top: 20px;
  }

  .badgewidget.flosser-kroua .container .content img {
      max-height: 125px;
      position: relative;
      top: -35px;
      z-index: 9999;
      overflow: visible
  }
}

