/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.player-cover {
  max-width: 354px;
}

/* Share stays at the right on older apps. Follow the chevron's actual
 * visibility so capability discovery updates both positions together. */
[data-audio-player-target="minimizeButton"]:not(.hidden) ~ .player-share-button {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 390px) and (max-height: 700px) {
  .player-cover {
    max-width: 276px;
  }
}

@media (max-width: 390px) and (max-height: 670px) {
  .player-cover {
    max-width: 252px;
  }
}
