body.is-modal-open {
  overflow: hidden;
}

.dolbom-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}
.dolbom-modal[hidden] {
  display: none;
}
.dolbom-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.dolbom-modal__dialog {
  position: relative;
  width: min(100%, 70rem);
  max-height: min(80vh, 68rem);
  padding: 2rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.dolbom-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  margin-bottom: 1.8rem;
}
.dolbom-modal__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
}
.dolbom-modal__close {
  height: 45px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: #666;
  font-size: 1.4rem;
}
.dolbom-modal__close .icon-svg {
  font-size: 1.2rem;
  margin-left: 0.5rem;
}
.dolbom-modal__close:focus-visible {
  color: #e8485a;
  outline: 2px solid rgba(232, 72, 90, 0.35);
  outline-offset: 2px;
  border-radius: 0.6rem;
}
@media (hover: hover) and (pointer: fine) {
  .dolbom-modal__close:hover {
    color: #e8485a;
  }
}
.dolbom-modal__body {
  max-height: calc(min(80vh, 68rem) - 9.2rem);
  overflow-y: auto;
  color: #333;
  font-size: 1.4rem;
  line-height: 1.6;
  word-break: keep-all;
}
.dolbom-modal__body p + p {
  margin-top: 0.6rem;
}
@media screen and (max-width: 767px) {
  .dolbom-modal {
    padding: 2rem;
  }
  .dolbom-modal__dialog {
    width: 100%;
    max-height: 78vh;
    padding: 2rem;
  }
  .dolbom-modal__body {
    max-height: calc(78vh - 8.4rem);
  }
}
@media screen and (min-width: 768px) {
  .dolbom-modal__dialog {
    padding: 3rem;
  }
}
