.site-error-modal {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(460px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 28px;
  border: 1px solid #b8bccc;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, #f0f2f6);
  color: #202432;
  box-shadow: 0 24px 70px #0005;
  font:
    16px/1.5 system-ui,
    sans-serif;
  text-align: center;
}
.site-error-modal::backdrop {
  background: #101322a6;
  backdrop-filter: blur(8px);
}
.site-error-modal h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}
.site-error-modal p {
  margin: 0 0 20px;
  overflow-wrap: anywhere;
}
.site-error-modal .site-error-hint {
  font-size: 0.85rem;
  color: #555d70;
}
.site-error-modal button {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid #444f78;
  border-radius: 12px;
  background: #303b65;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.site-error-modal button + button {
  background: transparent;
  color: #303b65;
}
.site-error-modal button:focus-visible {
  outline: 3px solid #808ed1;
  outline-offset: 3px;
}
