.epitaph-consent-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.45);
  backdrop-filter: blur(2px);
  z-index: 99997;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.epitaph-consent-backdrop.is-visible {
  display: block;
  opacity: 1;
}
.epitaph-consent {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: calc(100% - 32px);
  max-width: 560px;
  background: #FFFFFF;
  color: #1a1a1a;
  border: 1px solid rgba(184, 160, 104, 0.30);
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(26, 26, 26, 0.35), 0 10px 30px -12px rgba(184, 160, 104, 0.22);
  padding: 28px 28px 24px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  z-index: 99998;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.epitaph-consent.is-visible {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.epitaph-consent__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.epitaph-consent__text {
  color: #4a4a4a;
  font-weight: 300;
  margin: 0;
}
.epitaph-consent__text strong {
  color: #1a1a1a;
  font-weight: 600;
}
.epitaph-consent__text a {
  color: #B8A068;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.epitaph-consent__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.epitaph-consent__btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.18s, background 0.18s, border-color 0.18s, color 0.18s;
}
.epitaph-consent__btn--accept {
  background: #B8A068;
  color: #FFFFFF;
}
.epitaph-consent__btn--accept:hover {
  background: #9A8555;
}
.epitaph-consent__btn--reject {
  background: transparent;
  color: #4a4a4a;
  border-color: rgba(184, 160, 104, 0.35);
}
.epitaph-consent__btn--reject:hover {
  background: rgba(184, 160, 104, 0.08);
  color: #1a1a1a;
}
@media (max-width: 520px) {
  .epitaph-consent { padding: 22px 20px; }
  .epitaph-consent__inner { gap: 16px; }
  .epitaph-consent__actions { width: 100%; }
  .epitaph-consent__btn { flex: 1; padding: 12px; }
}
