/* Dream Companion Guide — minimal, text-first styling. No images by design. */
:root {
  --ink: #1c1c1e;
  --muted: #5a5a5e;
  --accent: #6b4fd8;
  --line: #ddd;
  --box-bg: #f6f4ff;
  --warn-bg: #fff7e0;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
a { color: var(--accent); }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; padding-top: 14px; padding-bottom: 10px; }
.site-title { font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.site-header nav ul, .site-footer nav ul { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; flex-wrap: wrap; }
.age-bar { background: #111; color: #f2f2f2; text-align: center; font-size: 0.85rem; padding: 6px 12px; }

main { padding: 24px 0 40px; }
h1 { font-size: 1.9rem; line-height: 1.25; }
h2 { margin-top: 2em; }

.disclosure-box { background: var(--box-bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; font-size: 0.92rem; margin: 16px 0; }
.disclosure-box p { margin: 4px 0; }
.disclosure-box .age-line { color: var(--muted); }

.draft-banner { background: var(--warn-bg); border: 1px solid #e3c766; border-radius: 8px; padding: 12px 16px; }
.article-meta { color: var(--muted); font-size: 0.9rem; }

.post-list { list-style: none; padding: 0; }
.post-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.post-list p { margin: 4px 0 0; color: var(--muted); }

a.aff-link { font-weight: 600; }
a.aff-pending { border-bottom: 2px dashed #e3c766; }
.aff-unknown { background: #ffe1e1; padding: 0 4px; }

.site-footer { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 0.9rem; color: var(--muted); }
.site-footer .copyright { margin-top: 16px; }

.age-gate { position: fixed; inset: 0; background: rgba(0,0,0,0.72); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; }
.age-gate[hidden] { display: none; }
.age-gate-box { background: #fff; color: var(--ink); max-width: 440px; border-radius: 12px; padding: 24px; }
.age-gate-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.age-gate-actions button { background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 10px 16px; font-size: 1rem; cursor: pointer; }
.age-gate-exit { color: var(--muted); }

table { border-collapse: collapse; width: 100%; margin: 16px 0; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
