.holthin-dialog {
  border: 1px solid #b9ac99;
  padding: 0;
  width: max-content;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  background: #eeeae0;
  color: #302d28;
  box-shadow: 0 25px 100px #0008;
}

.holthin-dialog::backdrop {
  background: rgba(12,11,9,.82);
  backdrop-filter: blur(5px);
}

:where(.holthin-dialog-panel) {
  position: relative;
  padding: 20px 64px 20px 20px;
}

.holthin-dialog-dismiss {
  display: contents;
}

.holthin-dialog-close {
  position: absolute;
  z-index: 5;
  right: 12px;
  top: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b9ac99;
  border-radius: 50%;
  background: #eeeae0;
  color: #302d28;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.holthin-dialog-close > span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.holthin-dialog-close svg {
  width: 22px;
  height: 22px;
}

.holthin-dialog button:focus-visible {
  outline: 2px solid #b18c58;
  outline-offset: 4px;
}

@media (hover: hover) {
  .holthin-dialog .holthin-dialog-close:hover {
    background: #dfd5c5;
    border-color: #b18c58;
  }
}

.holthin-dialog .holthin-dialog-close:active {
  background: #302d28;
  border-color: #302d28;
  color: #eeeae0;
  transition-duration: 0s;
}

@media (max-width: 700px) {
  .holthin-dialog {
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .holthin-dialog-close {
    top: 7px;
    right: 10px;
    width: 33px;
    height: 33px;
  }
}
