.abb-video-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: stretch;
  justify-content: stretch;
}

.abb-video-modal.is-open {
  display: block;
}

.abb-video-modal__overlay {
  position: fixed;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.85);
  inset: 0;
  -webkit-backdrop-filter: blur(0.5rem);
  backdrop-filter: blur(0.5rem);
}

.abb-video-modal__inner {
  position: fixed;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: #000;
  box-shadow: 0 0.75rem 2.125rem rgba(0, 0, 0, 0.4);
  inset: 2rem;
}

.abb-video-modal__player {
  width: 100%;
  height: 100%;
  background: #000;
}

.abb-video-modal__player .abb-video-player__media {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.abb-video-modal__close {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
  color: #000;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.abb-video-modal__close:hover, .abb-video-modal__close:focus {
  outline: none;
  background: #fff;
}

.abb-video-modal__close svg {
  width: 1.5rem;
  height: 1.5rem;
}

html:has(.abb-video-modal.is-open), body:has(.abb-video-modal.is-open) {
  overflow: hidden;
}
