html.start-defense-modal-open,
body.start-defense-modal-open {
  overflow: hidden;
  height: 100%;
}

body.start-defense-modal-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.start-defense-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
}

.start-defense-modal.is-open {
  display: block;
}

.start-defense-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 18, 0.82);
}

.start-defense-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100vw - 48px));
  max-height: calc(100vh - 120px);
  margin: 72px auto 24px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #dbc08b;
  box-shadow: 0 28px 64px rgba(9, 19, 34, 0.48);
  overflow: hidden;
}

.start-defense-modal__close {
  position: absolute;
  top: 12px;
  right: 24px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid #a6782f;
  border-radius: 50%;
  background: #ffffff;
  color: #a6782f;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.12);
}

.start-defense-modal__close:hover,
.start-defense-modal__close:focus {
  background: #ffffff;
  border-color: #a6782f;
}

.start-defense-modal__frame {
  display: block;
  width: 100%;
  height: min(820px, calc(100vh - 120px));
  border: 0;
}

@media (max-width: 991px) {
  .start-defense-modal {
    display: none !important;
  }
}
