.korebe-video-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 3, 4, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: korebe-modal-fade .2s ease-out;
}

.korebe-video-modal__panel {
  position: relative;
  width: min(1100px, 100%);
  background: #080809;
  border: 1px solid rgba(234, 227, 216, 0.18);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.72);
}

.korebe-video-modal__frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.korebe-video-modal__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.korebe-video-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(234, 227, 216, 0.45);
  border-radius: 50%;
  color: #f4eee5;
  background: rgba(11, 11, 12, 0.9);
  font: 300 30px/1 Arial, sans-serif;
  cursor: pointer;
}

.korebe-video-modal__close:hover,
.korebe-video-modal__close:focus-visible {
  border-color: #8c2f39;
  background: #8c2f39;
  outline: none;
}

@keyframes korebe-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 600px) {
  .korebe-video-modal {
    padding: 16px;
  }

  .korebe-video-modal__close {
    top: -46px;
  }
}
