.player-loading {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 12px;
  background: radial-gradient(ellipse at 50% 35%, #443974, #312e61 48%, #24264a);
  color: #fff;
  font-family: system-ui, sans-serif;
  text-align: center;
}
.player-loading[hidden], .player-loading button[hidden] { display: none; }
.player-loading p { margin: 0; font-size: 15px; font-weight: 650; }
.player-loading-progress {
  width: clamp(96px, 32vw, 144px);
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: #ffffff35;
}
.player-loading-progress::before {
  content: '';
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9ebde7, #d5ebff);
  animation: player-loading-slide 1.2s ease-in-out infinite alternate;
}
@keyframes player-loading-slide { to { transform: translateX(122%); } }
@media (prefers-reduced-motion: reduce) {
  .player-loading-progress::before { width: 100%; animation: none; }
}
.player-loading button {
  min-height: 44px;
  padding: 5px 14px;
  border: 1px solid #cbb8df;
  border-radius: 8px;
  background: #e8e6f8;
  color: #332e62;
  font: 700 14px system-ui;
  cursor: pointer;
}
