.support-reminder[hidden] {
  display: none;
}

/* The reminder supersedes the legacy home-only circulation dialog. */
#circulationDialog {
  display: none !important;
}

.support-reminder {
  align-items: center;
  background: rgba(10, 8, 5, 0.72);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 10010;
}

.support-reminder__dialog {
  background: hsl(28 18% 9%);
  border: 1px solid hsla(38, 30%, 94%, 0.2);
  border-radius: 18px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.58);
  color: hsl(38 30% 94%);
  max-width: 560px;
  padding: 32px;
  position: relative;
  width: min(100%, 560px);
}

.support-reminder__eyebrow {
  color: hsl(45 96% 58%);
  font: 700 0.72rem/1.2 Inter, sans-serif;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.support-reminder h2 {
  color: hsl(38 30% 94%);
  font: 600 clamp(1.7rem, 4vw, 2.45rem)/1.08 Lora, Georgia, serif;
  letter-spacing: -0.025em;
  margin: 0 32px 14px 0;
}

.support-reminder p {
  color: hsla(38, 30%, 94%, 0.8);
  font: 400 1rem/1.58 Inter, sans-serif;
  margin: 0;
}

.support-reminder__pix-label {
  color: hsl(45 96% 58%) !important;
  font: 700 0.72rem/1.2 Inter, sans-serif !important;
  letter-spacing: 0.12em;
  margin-top: 20px !important;
  text-transform: uppercase;
}

.support-reminder__pix {
  align-items: center;
  background: hsla(38, 30%, 94%, 0.07);
  border: 1px solid hsla(38, 30%, 94%, 0.18);
  border-radius: 10px;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-top: 8px;
  padding: 6px;
}

.support-reminder__pix code {
  color: hsl(38 30% 94%);
  font: 600 0.86rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  padding: 8px;
}

.support-reminder__copy {
  background: hsl(45 96% 58%);
  border: 0;
  border-radius: 7px;
  color: hsl(28 30% 10%);
  cursor: pointer;
  font: 800 0.8rem/1 Inter, sans-serif;
  padding: 10px 12px;
}

.support-reminder__note {
  color: hsla(38, 30%, 94%, 0.58) !important;
  font-size: 0.78rem !important;
  margin-top: 10px !important;
}

.support-reminder__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.support-reminder__primary,
.support-reminder__secondary,
.support-reminder__close {
  cursor: pointer;
  font: 700 0.92rem/1.2 Inter, sans-serif;
}

.support-reminder__primary {
  background: hsl(45 96% 58%);
  border: 1px solid hsl(45 96% 58%);
  border-radius: 8px;
  color: hsl(28 30% 10%);
  padding: 12px 16px;
  text-decoration: none;
}

.support-reminder__secondary {
  background: transparent;
  border: 0;
  color: hsl(38 30% 94%);
  padding: 12px 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-reminder__close {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: hsl(38 30% 94%);
  font-size: 1.5rem;
  line-height: 1;
  padding: 6px 9px;
  position: absolute;
  right: 14px;
  top: 14px;
}

.support-reminder :is(a, button):focus-visible {
  outline: 3px solid hsl(45 96% 58%);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .support-reminder { padding: 12px; }
  .support-reminder__dialog { border-radius: 14px; padding: 26px 22px 22px; }
  .support-reminder__actions { align-items: stretch; flex-direction: column; }
  .support-reminder__primary, .support-reminder__secondary { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .support-reminder { scroll-behavior: auto; }
}
