.lfb-player-gate {
  position: relative;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3200 / 1539;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 190, 92, .28), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(139, 71, 164, .38), transparent 42%),
    linear-gradient(145deg, #22162a, #351b36 55%, #17121e);
}

.lfb-player-gate--alt {
  border-color: rgba(150, 211, 117, .22) !important;
  background:
    radial-gradient(circle at 76% 22%, rgba(126, 201, 88, .3), transparent 35%),
    radial-gradient(circle at 20% 82%, rgba(44, 113, 79, .38), transparent 42%),
    linear-gradient(145deg, #101d18, #183023 58%, #0c1512) !important;
}

.lfb-player-gate--alt > .lfb-player-gate__button {
  border-color: rgba(255, 255, 255, .62) !important;
  color: #102016;
  background: #79cc4b !important;
}

.lfb-player-gate--alt > .lfb-player-gate__button::before { color: #102016; }
.lfb-player-gate--alt > .lfb-player-gate__button:hover,
.lfb-player-gate--alt > .lfb-player-gate__button:focus-visible { background: #98df70 !important; }
.lfb-player-gate--alt > .lfb-player-gate__button[disabled] { background: transparent !important; }
.lfb-player-gate--alt > .lfb-player-gate__button[disabled]::before { background: #79cc4b; }

.lfb-player-gate iframe,
.lfb-player-gate video-player {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  border: 0;
}

.lfb-player-gate > .lfb-player-gate__button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  box-sizing: border-box;
  width: 68px !important;
  min-width: 68px !important;
  max-width: 68px !important;
  height: 68px !important;
  min-height: 68px !important;
  padding: 0 !important;
  border: 2px solid rgba(255, 255, 255, .55) !important;
  border-radius: 50% !important;
  color: #251524;
  background: #f4bd63 !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .42);
  cursor: pointer;
  font-size: 0 !important;
  line-height: 1 !important;
  transform: translate(-50%, -50%);
}

.lfb-player-gate__button::before {
  display: block;
  margin-left: 4px;
  color: #251524;
  content: '▶';
  font: 700 26px/1 Arial, sans-serif;
}

.lfb-player-gate__button:hover,
.lfb-player-gate__button:focus-visible { background: #ffd07f !important; }
.lfb-player-gate__button:focus-visible { outline: 3px solid rgba(255,255,255,.75); outline-offset: 3px; }
.lfb-player-gate > .lfb-player-gate__button[disabled] { border: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none; cursor: wait; }
.lfb-player-gate__button[disabled]::before { width: 30px; height: 30px; margin: 0 auto; border: 0; border-radius: 50%; background: #f4bd63; content: ''; animation: lfb-pulse .8s ease-in-out infinite alternate; }
.lfb-player-gate__button[disabled]::after { position: absolute; top: calc(50% + 27px); left: 50%; width: max-content; color: rgba(255,255,255,.82); content: 'Загрузка контента'; font: 500 12px/1.3 Arial,sans-serif; letter-spacing: .02em; white-space: nowrap; transform: translateX(-50%); }
.lfb-player-gate.is-loaded .lfb-player-gate__button { display: none; }

@keyframes lfb-pulse {
  from { opacity: .55; transform: scale(.62); }
  to { opacity: 1; transform: scale(1.18); }
}

@media (max-width: 600px) {
  .lfb-player-gate { height: 260px !important; aspect-ratio: auto; border-radius: 9px; }
  .lfb-player-gate > .lfb-player-gate__button { width: 58px !important; min-width: 58px !important; max-width: 58px !important; height: 58px !important; min-height: 58px !important; }
}
