.bokov-video-player {
  --bvp-accent: var(--accent, #ff4a1c);
  --bvp-accent-soft: rgba(255, 74, 28, 0.34);
  --bvp-progress: 0%;
  --bvp-buffer: 0%;
  --bvp-thumb-size: 8px;
  --bvp-panel-bottom: 16px;
  --bvp-panel-height: 58px;
  --bvp-timeline-panel-gap: 0px;
  --bvp-glass: rgba(18, 20, 20, 0.58);
  --bvp-glass-strong: rgba(255, 255, 255, 0.2);
  --bvp-text: rgba(255, 255, 255, 0.94);
  --bvp-muted: rgba(255, 255, 255, 0.68);
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius, 28px);
  background: #070807;
  color: var(--bvp-text);
  isolation: isolate;
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.22);
  contain: layout paint;
}

.bokov-video-player:focus {
  outline: 2px solid rgba(255, 74, 28, 0.78);
  outline-offset: 4px;
}

.bvp-media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #070807;
}

.bvp-stage-shadow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 26%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.32), transparent 40%);
  opacity: 0.72;
  transition: opacity 220ms ease;
}

.bokov-video-player.is-playing:not(.is-controls-visible) .bvp-stage-shadow {
  opacity: 0.28;
}

.bvp-tap-zone {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.bvp-center-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.05)),
    rgba(12, 14, 14, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    0 22px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px) saturate(150%);
  transform: translate3d(-50%, -50%, 0) scale(1);
  opacity: 1;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.bokov-video-player.is-playing .bvp-center-mark {
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.86);
}

.bvp-center-mark svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.bvp-skip-flash {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  min-width: 74px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(12, 14, 14, 0.48);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -50%, 0) scale(0.94);
  transition: opacity 150ms ease, transform 150ms ease;
  backdrop-filter: blur(16px) saturate(145%);
}

.bvp-skip-flash.is-left {
  left: 22%;
}

.bvp-skip-flash.is-right {
  right: 22%;
}

.bvp-skip-flash.is-visible {
  opacity: 1;
  transform: translate3d(0, -50%, 0) scale(1);
}

.bvp-timeline {
  position: absolute;
  left: clamp(12px, 4%, 28px);
  right: clamp(12px, 4%, 28px);
  bottom: 12px;
  z-index: 6;
  height: 20px;
  display: flex;
  align-items: center;
  transition: bottom 260ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 180ms ease;
}

.bokov-video-player.is-controls-visible .bvp-timeline {
  bottom: calc(var(--bvp-panel-bottom) + var(--bvp-panel-height) + var(--bvp-timeline-panel-gap));
}

.bvp-timeline::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: 1;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bvp-accent) 0 var(--bvp-progress), rgba(255, 255, 255, 0.3) var(--bvp-progress) 100%);
  transform: translateY(-50%);
}

.bvp-timeline::after {
  position: absolute;
  left: var(--bvp-progress);
  top: 50%;
  z-index: 2;
  width: var(--bvp-thumb-size);
  height: var(--bvp-thumb-size);
  content: "";
  border-radius: 999px;
  background: var(--bvp-accent);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.bvp-range {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 20px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.bvp-range:focus,
.bvp-range:focus-visible {
  border: 0;
  outline: 0;
  box-shadow: none;
}

.bvp-range::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 20px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.bvp-range::-moz-range-track {
  height: 20px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.bvp-range::-moz-focus-outer {
  border: 0;
}

.bvp-range::-webkit-slider-thumb {
  width: 22px;
  height: 20px;
  margin-top: 0;
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  opacity: 0;
}

.bvp-range::-moz-range-thumb {
  width: 22px;
  height: 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  opacity: 0;
}

.bvp-glass-panel {
  position: absolute;
  left: 50%;
  bottom: var(--bvp-panel-bottom);
  z-index: 5;
  display: flex;
  width: min(calc(100% - 28px), 570px);
  min-height: var(--bvp-panel-height);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    var(--bvp-glass);
  box-shadow:
    inset 0 1px 0 var(--bvp-glass-strong),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 26px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px) saturate(170%);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, calc(100% + 46px), 0);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 200ms ease;
}

.bokov-video-player.is-controls-visible .bvp-glass-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0);
}

.bvp-control-cluster {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.bvp-control-main {
  justify-content: center;
  flex: 1 1 auto;
}

.bvp-control-edge {
  flex: 0 0 auto;
}

.bvp-time {
  min-width: 82px;
  color: var(--bvp-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.bvp-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  min-width: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.bvp-button:hover,
.bvp-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.bvp-button:focus-visible {
  outline: 2px solid rgba(255, 74, 28, 0.86);
  outline-offset: 2px;
}

.bvp-button:active {
  transform: translateY(0) scale(0.96);
}

.bvp-button svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.bvp-button.is-primary {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.1);
}

.bvp-button.is-primary svg {
  width: 22px;
  height: 22px;
}

.bokov-video-player.is-muted .bvp-mute-off,
.bokov-video-player:not(.is-muted) .bvp-mute-on,
.bokov-video-player.is-playing .bvp-icon-play,
.bokov-video-player:not(.is-playing) .bvp-icon-pause {
  display: none;
}

.bokov-video-player.is-buffering::after {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 7;
  width: 42px;
  height: 42px;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 74, 28, 0.9);
  border-radius: 999px;
  transform: translate3d(-50%, -50%, 0);
  animation: bvp-spin 780ms linear infinite;
}

.bokov-video-player.is-ended .bvp-center-mark {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.bokov-video-empty {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  border-radius: var(--radius, 28px);
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-video-frame {
  margin-bottom: 22px;
}

.article-inline-video .article-video-frame,
.article-video-preview .compact-native-video-frame {
  margin-bottom: 0;
}

.feed-video-frame {
  margin: 0;
}

.native-video-card-title {
  max-width: 10em;
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: 48px;
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

.video-admin-preview .video-preview,
.compact-native-video-frame .video-preview {
  position: relative;
}

@keyframes bvp-spin {
  to {
    transform: translate3d(-50%, -50%, 0) rotate(360deg);
  }
}

@media (max-width: 620px) {
  .bokov-video-player {
    --bvp-panel-height: 54px;
    --bvp-timeline-panel-gap: 0px;
  }

  .bvp-glass-panel {
    width: calc(100% - 20px);
    gap: 6px;
    padding: 7px 8px;
    border-radius: 16px;
  }
  .bvp-control-cluster {
    gap: 5px;
  }

  .bvp-button {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .bvp-button.is-primary {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .bvp-time {
    display: none;
  }

  .native-video-card-title {
    font-size: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bokov-video-player *,
  .bokov-video-player *::before,
  .bokov-video-player *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
