/* Wavswap V1009: player-owned artwork/title/artist identity card.
   Desktop-only presentation; mobile and all transport behavior are untouched. */
@media (min-width: 1024px) {
  html body player-controls #wavswap-player-identity-v1009 {
    position: absolute !important;
    left: 16px !important;
    bottom: 5px !important;
    z-index: 8 !important;
    display: flex !important;
    align-items: center !important;
    width: min(340px, 32vw) !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 4px 10px 4px 4px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #f8fbff !important;
    background: rgba(255, 255, 255, .075) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22) !important;
  }

  html body player-controls #wavswap-player-identity-v1009 .wavswap-player-identity-cover-v1009 {
    display: block !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: #182238 !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .34) !important;
  }

  html body player-controls #wavswap-player-identity-v1009 img {
    display: block !important;
    width: 42px !important;
    height: 42px !important;
    object-fit: cover !important;
    opacity: 1 !important;
  }

  html body player-controls #wavswap-player-identity-v1009 .wavswap-player-identity-meta-v1009 {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin-left: 10px !important;
    overflow: hidden !important;
  }

  html body player-controls #wavswap-player-identity-v1009 .wavswap-player-identity-title-v1009,
  html body player-controls #wavswap-player-identity-v1009 .wavswap-player-identity-artist-v1009 {
    display: block !important;
    overflow: hidden !important;
    text-decoration: none !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body player-controls #wavswap-player-identity-v1009 .wavswap-player-identity-title-v1009 {
    color: #fff !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
  }

  html body player-controls #wavswap-player-identity-v1009 .wavswap-player-identity-artist-v1009 {
    margin-top: 2px !important;
    color: #8fa8ff !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    line-height: 1.22 !important;
  }

  /* Only hide the original lower-layer card after the player-owned card is
     populated. The original remains the live source of truth for updates. */
  html.wavswap-player-identity-v1009-ready body nav-sidebar .current-track {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  html body player-controls #wavswap-player-identity-v1009 {
    width: 270px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body player-controls #wavswap-player-identity-v1009,
  html body player-controls #wavswap-player-identity-v1009 * {
    transition: none !important;
  }
}
