.ofmux-embed .ofmux-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #101114;
  color: #fff;
}
.ofmux-embed .ofmux-player-frame mux-player {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: inherit;
}
.ofmux-embed .ofmux-player-loading,
.ofmux-embed .ofmux-player-error {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
}
.ofmux-embed .ofmux-player-loading { z-index: 2; pointer-events: none; }
.ofmux-embed .ofmux-player-error .ofmux-error { color: #fff; margin: 0; }
.ofmux-embed .ofmux-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #ffffff35;
  border-top-color: #fff;
  border-radius: 50%;
  animation: ofmux-spin .8s linear infinite;
}
.ofmux-embed .ofmux-loading-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@keyframes ofmux-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ofmux-embed .ofmux-spinner { animation: none; } }
