.bvi-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f7f4;
  color: #fff;
  transition: opacity .55s ease;
}
.bvi-overlay.bvi-closing {
  opacity: 0;
  pointer-events: none;
}
.bvi-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8f7f4;
}
.bvi-button {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(220, 199, 149, .8);
  border-radius: 3px;
  padding: 10px 16px;
  background: rgba(73, 23, 37, .92);
  color: #fff;
  font: 600 15px/1.2 Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.bvi-button:hover, .bvi-button:focus-visible {
  background: #70293e;
  border-color: #e4cb8e;
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.bvi-skip { top: max(18px, env(safe-area-inset-top)); right: max(18px, env(safe-area-inset-right)); }
.bvi-sound { bottom: max(18px, env(safe-area-inset-bottom)); right: max(18px, env(safe-area-inset-right)); }
.bvi-play { left: 50%; top: 50%; transform: translate(-50%, -50%); }
@media (max-width: 767px) {
  .bvi-mobile-source .bvi-video { object-fit: cover; }
}
@media (max-width: 600px) {
  .bvi-button { padding: 10px 12px; font-size: 14px; }
}
