/* Marchenholm — age-gate.css : 18+ modal, affiliate banner, compliance row, RG block. */

/* 18+ Age gate modal */
.mh-age-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(26, 29, 34, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mh-age-gate[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
}
.mh-age-gate__dialog {
  background: var(--c-paper);
  border: 1px solid var(--c-ink);
  border-radius: var(--r-md);
  padding: 48px;
  max-width: 520px;
  width: 100%;
}
.mh-age-gate__wordmark {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink);
  text-decoration: underline;
  text-decoration-color: var(--c-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.mh-age-gate__rule {
  height: 1px;
  background: var(--c-ink);
  margin: var(--space-item) 0;
}
.mh-age-gate__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--c-ink);
  line-height: 1.3;
  margin-bottom: 16px;
}
.mh-age-gate__body {
  font-size: var(--f-body-s);
  color: var(--c-ink);
  margin-bottom: var(--space-item);
  line-height: 1.55;
}
.mh-age-gate__actions {
  display: flex;
  gap: var(--space-item);
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-item);
}
.mh-age-gate__deny {
  font-family: var(--f-body);
  font-size: var(--f-body-s);
  color: var(--c-ink-muted);
  border-bottom: 1px solid transparent;
}
.mh-age-gate__deny:hover { color: var(--c-accent); border-bottom-color: var(--c-accent); }
.mh-age-gate__footnote {
  font-family: var(--f-mono);
  font-size: var(--f-label);
  color: var(--c-stone);
  line-height: 1.5;
}
.mh-age-gate__footnote a { color: var(--c-stone); border-bottom: 1px solid var(--c-stone); }
.mh-age-gate__footnote a:hover { color: var(--c-accent); border-bottom-color: var(--c-accent); }

/* Affiliate disclosure banner (persistent top) */
.mh-affiliate-banner {
  background: var(--c-paper-alt);
  border-bottom: 1px solid var(--c-ink);
  padding: 10px var(--gutter);
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: var(--f-caption);
  color: var(--c-ink);
  line-height: 1.4;
}
.mh-affiliate-banner[hidden] { display: none !important; }
.mh-affiliate-banner p { flex-grow: 1; max-width: none; }
.mh-affiliate-banner a { color: var(--c-accent); border-bottom: 1px solid transparent; }
.mh-affiliate-banner a:hover { border-bottom-color: var(--c-accent); }

/* RG block (cobalt-stroked, centred, narrow) */
.mh-rg-block {
  background: var(--c-paper);
  padding: var(--space-block) 0;
}
.mh-rg-block__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 28px;
  border: 1px solid var(--c-accent);
  border-radius: var(--r-md);
  text-align: left;
}
.mh-rg-block__inner p { font-size: var(--f-body-s); color: var(--c-ink); line-height: 1.55; max-width: none; }
.mh-rg-block__inner strong { color: var(--c-ink); font-weight: 600; }
.mh-rg-block__inner a { color: var(--c-accent); border-bottom: 1px solid transparent; }
.mh-rg-block__inner a:hover { border-bottom-color: var(--c-accent); }

/* Sparkline mini chart placeholder (Section 4 home audit) */
.mh-spark {
  font-family: var(--f-mono);
  font-size: var(--f-caption);
  color: var(--c-ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--c-stone);
}
.mh-spark strong { font-weight: 600; color: var(--c-ink); }
.mh-spark em { font-style: normal; color: var(--c-ink-muted); }
