/* Regal Overlay Alert (global) */
:root{
  --hosh-gold: rgba(242,211,106,.92);
  --hosh-border: rgba(160, 140, 90, 0.35);
  --hosh-ink: rgba(12, 10, 8, 0.98);
  --hosh-ink2: rgba(26, 20, 14, 0.98);
  --hosh-text: rgba(234,243,255,.92);
}

.hosh-alert-overlay{
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 18px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}

.hosh-alert-overlay[data-open="true"]{ display:flex; }

.hosh-alert{
  width: min(520px, 100%);
  border-radius: 18px;
  border: 1px solid var(--hosh-border);
  background: linear-gradient(180deg, var(--hosh-ink2), var(--hosh-ink));
  color: var(--hosh-text);

  box-shadow: 0 22px 80px rgba(0,0,0,0.65);
  overflow: hidden;
}

.hosh-alert__header{
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(160, 140, 90, 0.22);
}

.hosh-alert__sigil{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  box-shadow:
    0 0 0 2px rgba(242,211,106,.55),
    0 10px 20px rgba(0,0,0,0.4);
  display: grid;
  place-items: center;
  color: var(--hosh-gold);
  font-weight: 800;
}

.hosh-alert__title{
  font-weight: 800;
  letter-spacing: 0.3px;
}

.hosh-alert__body{
  padding: 16px;
  line-height: 1.45;
  font-size: 16px;
}

.hosh-alert__actions{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(160, 140, 90, 0.16);
}

.hosh-alert__btn{
  appearance: none;
  border: 1px solid rgba(242,211,106,.45);
  background: rgba(242,211,106,.14);
  color: var(--hosh-text);
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 750;
  cursor: pointer;

  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.hosh-alert__btn:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(242,211,106,.22), inset 0 1px 0 rgba(255,255,255,0.08);
  border-color: rgba(242,211,106,.7);
}

.hosh-alert__btn--primary{
  background: rgba(242,211,106,.22);
}

.hosh-alert__btn--ghost{
  border-color: rgba(160, 140, 90, 0.25);
  background: rgba(0,0,0,0.18);
}
