.mobile-hero-play {
  display: none;
}

@media (max-width: 768px) {
  .mobile-hero-play {
    position: absolute;
    top: 116px;
    right: 18px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 52px;
    padding: 0.45rem 1.1rem 0.45rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    background: rgba(9, 25, 42, 0.78);
    color: #fff;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
    cursor: pointer;
    transform: none;
    transition: background 160ms ease, opacity 160ms ease, transform 160ms ease;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
  }

  .mobile-hero-play:active {
    transform: scale(0.97);
  }

  .mobile-hero-play:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
  }

  .mobile-hero-play:disabled {
    cursor: wait;
  }

  .mobile-hero-play__icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 50%;
    background: #1760c6;
  }

  .mobile-hero-play__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
  }

  [data-mobile-hero="loading"] .mobile-hero-play__icon {
    border: 3px solid rgba(255, 255, 255, 0.42);
    border-top-color: #fff;
    background: transparent;
    animation: mobile-hero-spin 0.8s linear infinite;
  }

  [data-mobile-hero="loading"] .mobile-hero-play__icon svg {
    display: none;
  }

  [data-mobile-hero="playing"] .mobile-hero-play {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  [data-mobile-hero="error"] .mobile-hero-play {
    background: rgba(132, 24, 24, 0.88);
  }
}

@keyframes mobile-hero-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-hero-play {
    transition: none;
  }

  [data-mobile-hero="loading"] .mobile-hero-play__icon {
    animation-duration: 1.4s;
  }
}
