/* Merriweather and Figtree, self-hosted. SIL Open Font License 1.1 (see assets/fonts/LICENSE-*.txt). */
@font-face{font-family:"Merriweather";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/merriweather-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Merriweather";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/merriweather-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Merriweather";font-style:italic;font-weight:400;font-display:swap;src:url(../fonts/merriweather-latin-ext-400-italic.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Merriweather";font-style:italic;font-weight:400;font-display:swap;src:url(../fonts/merriweather-latin-400-italic.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Merriweather";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/merriweather-latin-ext-700-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Merriweather";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/merriweather-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Merriweather";font-style:italic;font-weight:700;font-display:swap;src:url(../fonts/merriweather-latin-ext-700-italic.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Merriweather";font-style:italic;font-weight:700;font-display:swap;src:url(../fonts/merriweather-latin-700-italic.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Figtree";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/figtree-latin-ext-700-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Figtree";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/figtree-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Figtree";font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/figtree-latin-ext-800-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Figtree";font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/figtree-latin-800-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Narcissism Center
   Two typefaces (Merriweather for reading, Figtree for titles and labels, since v29), black on white, one colour: narcissus yellow.
   Mobile first. Pills are things you press; everything else is square. */

:root {
  --paper: #ffffff;
  --ink: #000000;
  --soft: #5c5c5c;
  --line: #e3e3e3;
  --narcissus: #ffd21f;
  --petal: #fff8d6;
  --pool: #f4f5f5;

  --wrap: 74rem;
  --measure: 41rem;
  --gutter: 1.25rem;

  --s-1: 0.875rem;
  --s0: 1.0625rem;
  --s1: 1.25rem;
  --s2: 1.5rem;
  --s3: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --s4: clamp(2.25rem, 1.15rem + 5.4vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: var(--s0);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--narcissus); }

/* visually hidden, still read aloud and copied */
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999rem; top: 0; background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; z-index: 20; }
.skip:focus { left: 0; }
.site-header:focus { outline: none; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* The highlighter: links fill with yellow from the baseline up. */
.t, .prose a, .hl {
  background-image: linear-gradient(var(--narcissus), var(--narcissus));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0;
  transition: background-size 0.16s ease-out;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
a:hover .t, .prose a:hover, a.hl:hover { background-size: 100% 100%; }

/* ---------- Type ---------- */
.display { font-size: var(--s4); font-weight: 300; line-height: 1.04; letter-spacing: -0.028em; max-width: 13.5em; text-wrap: balance; }
.page-title { font-size: var(--s3); font-weight: 300; line-height: 1.12; letter-spacing: -0.02em; max-width: 24ch; }
.h2 { font-size: var(--s2); font-weight: 400; line-height: 1.2; letter-spacing: -0.012em; }
.h3 { font-size: var(--s1); font-weight: 500; line-height: 1.3; }
.lead { font-size: var(--s1); line-height: 1.5; max-width: 34rem; }
.soft { color: var(--soft); }
.small { font-size: var(--s-1); }

/* ---------- Buttons and chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: 0 1.15rem;
  border: 1px solid var(--ink); border-radius: 999px;
  background: none; color: var(--ink);
  font-size: 0.9375rem; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color 0.16s ease-out, color 0.16s ease-out;
}
.btn:hover { background: var(--narcissus); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--narcissus); color: var(--ink); }
.btn[aria-disabled="true"] { border-color: var(--line); color: var(--soft); cursor: default; background: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.chip {
  display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1rem;
  border: 1px solid var(--ink); border-radius: 999px; background: var(--paper);
  font-size: 1rem; text-decoration: none; cursor: pointer;
}
.chip:hover, .chip[aria-current="true"] { background: var(--ink); color: var(--paper); }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; }
.tags a { display: inline-block; padding: 0.2rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--s-1); text-decoration: none; }
.tags a:hover { background: var(--narcissus); border-color: var(--narcissus); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 0.6rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; margin-right: auto; font-weight: 500; font-size: 1.0625rem; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.brand img { width: 2rem; height: 2rem; flex: none; }
.utility { display: none; }
.bar .btn { min-height: 2.5rem; padding: 0 0.95rem; }

.main-nav { border-top: 1px solid var(--line); }
.js .main-nav { display: none; }
.js .main-nav.is-open { display: block; }
.main-nav ul { list-style: none; }
.main-nav a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: var(--s2); font-weight: 300; letter-spacing: -0.01em; text-decoration: none; }
.main-nav .menu-extra a { font-size: var(--s0); font-weight: 400; }
.main-nav .wrap { padding-block: 0.5rem 1.5rem; }
.main-nav a[aria-current] .t, .utility a[aria-current] .t { background-size: 100% 38%; }

@media (max-width: 24.4rem) {
  .bar { gap: 0.4rem; }
  .site-header .brand { gap: 0.4rem; font-size: 0.97rem; }
  .site-header .brand img { width: 1.7rem; height: 1.7rem; }
  .bar .btn { padding: 0 0.7rem; font-size: 0.8125rem; }
}
@media (max-width: 21.4rem) {
  .site-header .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (min-width: 66rem) {
  :root { --gutter: 2.5rem; }
  .menu-toggle { display: none; }
  .utility { display: flex; gap: 1.4rem; margin-right: 0.8rem; font-size: var(--s-1); }
  .utility a { text-decoration: none; }
  .js .main-nav, .main-nav { display: block; }
  .main-nav .wrap { padding-block: 0; }
  .main-nav ul { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: clamp(0.6rem, 1.3vw, 1.5rem); }
  .main-nav a { padding: 0.8rem 0; border: 0; font-size: 0.9875rem; font-weight: 400; letter-spacing: 0; white-space: nowrap; }
  .main-nav .menu-extra { display: none; }
}
@media (min-width: 40rem) and (max-width: 65.99rem) { :root { --gutter: 2rem; } }

/* ---------- Home ---------- */
.hero { padding-block: 3rem 2.5rem; }
.reflection { height: 0.92em; margin-top: 0.02em; overflow: hidden; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent 82%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent 82%); }
.reflection span { display: block; transform: scaleY(-1); }
.hero-grid { display: grid; gap: 2.5rem; margin-top: 1.25rem; }
.hero-grid .lead { margin-bottom: 1.5rem; }
.hero-art { display: none; }
@media (min-width: 66rem) {
  .hero { padding-block: 5.5rem 4rem; }
  .hero-grid { grid-template-columns: 5fr 6fr; gap: 5rem; align-items: start; margin-top: 2rem; }
  .hero-art { display: block; margin-top: 3.25rem; max-width: 27rem; }
  .hero-art .figure { margin: 0; }
}

.band { padding-block: 3.5rem; }
.band + .band { border-top: 1px solid var(--line); }
.band-petal { background: var(--petal); border: 0 !important; }
.band-ink { background: var(--ink); color: var(--paper); border: 0 !important; }
.band-ink .soft { color: #bdbdbd; }
.band-ink .btn { border-color: var(--paper); color: var(--paper); }
.band-ink .btn:hover { background: var(--narcissus); border-color: var(--narcissus); color: var(--ink); }
.band-head { display: grid; gap: 0.5rem; margin-bottom: 1.75rem; }
.band-head p { max-width: 36rem; }
@media (min-width: 66rem) { .band { padding-block: 5.5rem; } .split { display: grid; grid-template-columns: 4fr 8fr; gap: 4rem; } .split .band-head { align-content: start; } }

.quote { font-size: var(--s3); font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; max-width: 24ch; margin-bottom: 1.5rem; }

.finder-panels { margin-top: 1.75rem; }
.finder-panel { padding-top: 0.25rem; }
.finder-panel + .finder-panel { margin-top: 2rem; }
.js .finder-panel + .finder-panel { margin-top: 0; }

/* ---------- Rows: the index ---------- */
.rows { list-style: none; border-top: 1px solid var(--ink); }
.rows > li { border-bottom: 1px solid var(--line); }
.rows:empty { border: 0; }
.rows a { display: grid; gap: 0.2rem; padding: 1rem 0; text-decoration: none; }
.rows .t { font-size: var(--s1); line-height: 1.35; justify-self: start; }
.rows .d { color: var(--soft); font-size: 0.9875rem; max-width: 44rem; }
.rows .m { color: var(--soft); font-size: var(--s-1); }
.rows-lg .t { font-size: var(--s2); font-weight: 300; letter-spacing: -0.012em; }
.band-ink .rows { border-top-color: var(--paper); }
.band-ink .rows > li { border-bottom-color: #3a3a3a; }
.band-ink .rows a:hover .t { color: var(--ink); }
@media (min-width: 48rem) {
  .rows a.has-m { grid-template-columns: 1fr auto; column-gap: 2rem; align-items: baseline; }
  .rows a.has-m .d { grid-column: 1; }
  .rows a.has-m .m { grid-column: 2; grid-row: 1; white-space: nowrap; }
  .cols-2 { columns: 2; column-gap: 4rem; }
  .cols-2 > li { break-inside: avoid; }
}

.group + .group { margin-top: 3.5rem; }
.group > .h2 { margin-bottom: 1rem; }
/* Room between blocks in section pages (v27). Rows of chips or buttons and plain h3 headings had no margin of their own
   (the reset sets them to 0), so the next block, often a list with its top rule, touched them. :where keeps these
   weaker than any component's own margins. */
:where(.section-body, .group) > :where(.chips-row, .btn-row):not(:last-child) { margin-bottom: 2rem; }
:where(.group) > h3 { margin: 2.75rem 0 0.75rem; }

/* ---------- Page head ---------- */
.crumbs { padding-top: 1.5rem; font-size: var(--s-1); color: var(--soft); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head { padding-block: 1.75rem 2.25rem; display: grid; gap: 1rem; }
.page-head .lead { color: var(--soft); }
.meta-line { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.kind { font-size: var(--s-1); font-weight: 500; }
.kind span { display: inline-block; padding: 0.15rem 0.6rem; background: var(--narcissus); border-radius: 999px; }
@media (min-width: 66rem) { .page-head { padding-block: 3rem 3.5rem; } .crumbs { padding-top: 2rem; } }

.section-body { padding-bottom: 2rem; }

/* ---------- Article ---------- */
.article-grid { display: grid; gap: 2.5rem; }
.article-main { min-width: 0; max-width: var(--measure); }
.figure { margin-bottom: 2rem; background: var(--pool); }
.figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.figure figcaption { padding: 0.5rem 0 0; background: var(--paper); font-size: var(--s-1); color: var(--soft); }
/* The standard article furniture: Highlights, then Contents, above the text. */
.box-title { font-size: 1em; font-weight: 600; margin-bottom: 0.6rem; }
.highlights { background: var(--petal); padding: 1.25rem 1.35rem 1.4rem; margin-bottom: 1rem; }
.highlights ul { padding-left: 1.1rem; }
.highlights li + li { margin-top: 0.45rem; }
.contents { border: 1px solid var(--line); padding: 1.1rem 1.35rem 1.25rem; margin-bottom: 2.5rem; }
.contents ol { list-style: none; display: grid; gap: 0.4rem; }
.contents .sub { padding-left: 1.1rem; font-size: 0.9375rem; }
.contents a { text-decoration: none; }
.contents a:hover { text-decoration: underline; }
.article-main > .highlights:last-child, .article-main > .contents:last-child { margin-bottom: 0; }
.note { border: 1px solid var(--ink); padding: 1rem 1.25rem; margin-bottom: 2rem; font-size: 0.9875rem; }
.note strong { font-weight: 600; }

.prose > * + * { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0 !important; }
.prose h2 { font-size: var(--s2); font-weight: 400; line-height: 1.2; letter-spacing: -0.012em; margin-top: 2.4em; scroll-margin-top: 1.5rem; }
.prose h3 { font-size: var(--s1); font-weight: 500; line-height: 1.3; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.4em; }
.prose h4 { font-size: var(--s0); font-weight: 600; line-height: 1.35; margin-top: 1.8em; }
.prose h2 strong, .prose h3 strong, .prose h4 strong { font-weight: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose hr + h2, .prose hr + h3 { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { scroll-margin-top: 1.5rem; }
.prose blockquote { margin: 1.6em 0; padding-left: 1.1rem; border-left: 3px solid var(--narcissus); font-size: var(--s1); font-weight: 300; }

.block { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--ink); }
.block > .h2 { margin-bottom: 0.75rem; }
.block .rows { border-top: 0; }
.evidence { display: inline-block; margin-bottom: 0.75rem; padding: 0.15rem 0.6rem; border: 1px solid var(--ink); border-radius: 999px; font-size: var(--s-1); font-weight: 500; }
.details { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.25rem; font-size: 0.9875rem; }
.details dt { color: var(--soft); }
.helpful { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.helpful p { margin-right: 0.5rem; }

/* Articles use the full width of the page: no side column. On wide screens the text is set a size larger so lines stay readable. */
@media (min-width: 66rem) {
  .article-grid .article-main, .section-body > .article-main { max-width: none; }
  .article-main .prose, .article-main .highlights, .article-main .contents, .article-main .quiz, .article-main .quiz-result, .article-main .refs { font-size: 1.125rem; }
  .article-main .prose .references, .article-main .prose table { font-size: 0.9375rem; }
  /* quiz questions: the answer buttons sit on the same line as the question */
  .article-main .quiz-item legend { float: left; width: calc(100% - 20rem); padding-top: 0.6rem; }
  .article-main .quiz-opts { margin: 0; justify-content: flex-end; flex-wrap: nowrap; }
  /* the wide picture is shown as a band, so the Highlights stay near the top of the screen */
  .article-main > .figure-photo img { max-height: 26rem; object-fit: cover; }
}

.player { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--ink); margin-bottom: 2rem; }
.player .dot { width: 2.75rem; height: 2.75rem; flex: none; border-radius: 50%; background: var(--narcissus); }
.player p { font-size: 0.9875rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1rem 0; font-size: var(--s1); line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 300; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover span { background-size: 100% 100%; }
.faq .a { padding: 0 0 1.25rem; max-width: var(--measure); color: var(--soft); }

/* ---------- Search ---------- */
.search-form { display: flex; gap: 0.6rem; max-width: 40rem; margin-bottom: 0.75rem; }
.search-form input { flex: 1; min-width: 0; min-height: 3rem; padding: 0 1rem; border: 1px solid var(--ink); border-radius: 999px; font: inherit; background: var(--paper); color: var(--ink); }
.search-count { color: var(--soft); font-size: var(--s-1); margin-bottom: 1.5rem; min-height: 1.4rem; }

/* ---------- Sitemap ---------- */
.sitemap h2 { margin: 2.75rem 0 0.75rem; }
.sitemap h3 { margin: 1.5rem 0 0.4rem; color: var(--soft); font-size: var(--s0); font-weight: 500; }
.sitemap ul { list-style: none; }
.sitemap li { padding: 0.28rem 0; }
.sitemap a { text-decoration: none; }
@media (min-width: 48rem) { .sitemap ul { columns: 2; column-gap: 3rem; } .sitemap li { break-inside: avoid; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: 5rem; border-top: 1px solid var(--ink); padding-block: 3rem 2rem; font-size: 0.9875rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 1.5rem; }
.footer-grid h2 { font-size: var(--s-1); font-weight: 500; color: var(--soft); margin-bottom: 0.7rem; }
.footer-grid ul { list-style: none; display: grid; gap: 0.45rem; }
.footer-grid a { text-decoration: none; }
.footer-about { grid-column: 1 / -1; max-width: 26rem; }
.footer-about .brand { margin-bottom: 0.8rem; }
.footer-about p { color: var(--soft); font-size: var(--s-1); }
.legal-line { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--s-1); }
.legal-line a { text-decoration: underline; }
@media (min-width: 66rem) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr; gap: 2.5rem; } .footer-about { grid-column: auto; } }

/* ---------- Published pages ---------- */
.figure-photo img { aspect-ratio: auto; }
.byline a { color: var(--ink); text-decoration: underline; }
.byline a:hover { background: var(--narcissus); }

.embed-audio { margin-bottom: 2rem; border: 1px solid var(--ink); }
.embed-audio iframe { display: block; width: 100%; border: 0; }
.video { position: relative; margin-bottom: 2rem; background: var(--ink); aspect-ratio: 16 / 9; }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.video-play span { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; background: var(--narcissus); color: var(--ink); font-size: 1rem; font-weight: 500; }
.video-play span::before { content: ""; border-left: 0.75rem solid var(--ink); border-block: 0.45rem solid transparent; }
.video-play:hover span { background: var(--paper); }
.pod { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.5rem 2rem; margin-bottom: 3rem; }
.pod-art { width: 11rem; margin: 0; }
.video-link { margin: -1.25rem 0 2rem; }
.note.local-only { margin: -0.75rem 0 1.75rem; }
.cards { list-style: none; display: grid; gap: 2rem; border-top: 1px solid var(--ink); padding-top: 1.5rem; }
.cards a { display: grid; gap: 0.5rem; text-decoration: none; }
.cards img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 0.35rem; background: var(--pool); }
.cards .t { justify-self: start; font-size: var(--s1); line-height: 1.35; }
.cards .m { color: var(--soft); font-size: var(--s-1); }
@media (min-width: 48rem) { .cards { grid-template-columns: repeat(auto-fill, minmax(18rem, 22rem)); } }
.follow { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin-top: 1rem; list-style: none; font-size: var(--s-1); }

/* ---------- Quizzes ---------- */
.quiz { margin-top: 1rem; }
.quiz-key { position: sticky; top: 0; z-index: 2; display: flex; list-style: none; background: var(--paper); border-block: 1px solid var(--ink); }
.quiz-key li { flex: 1 1 0; min-width: 0; padding: 0.5rem 0.2rem 0.55rem; text-align: center; font-size: 0.75rem; line-height: 1.25; color: var(--soft); hyphens: auto; overflow-wrap: anywhere; }
.quiz-key li + li { border-left: 1px solid var(--line); }
.quiz-key strong { display: block; font-size: var(--s0); font-weight: 500; color: var(--ink); }
.quiz-items { list-style: none; }
.quiz-item { padding: 1.25rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 6rem; }
.quiz-item fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.quiz-item legend { display: flex; gap: 0.6rem; padding: 0; line-height: 1.45; }
.quiz-item .n { flex: none; align-self: flex-start; min-width: 1.75rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.quiz-item.is-missing .n { color: var(--ink); font-weight: 600; background: var(--narcissus); text-align: center; border-radius: 999px; }
.quiz-opts { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.8rem 0 0 2.35rem; }
.quiz-opts label { position: relative; display: block; cursor: pointer; }
.quiz-opts input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.quiz-opts span { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--ink); border-radius: 999px; font-weight: 500; transition: background-color 0.16s ease-out, color 0.16s ease-out; }
.quiz-opts label:hover span { background: var(--narcissus); }
.quiz-opts input:checked + span { background: var(--ink); color: var(--paper); }
.quiz-opts input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--narcissus); }
@media (max-width: 24.4rem) { .quiz-opts { margin-left: 0; gap: 0.3rem; } .quiz-opts span { width: 2.5rem; height: 2.5rem; } .quiz-key li { font-size: 0.6875rem; padding-inline: 0.1rem; } }
.quiz-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 2rem; }
.quiz-missing { flex-basis: 100%; font-weight: 500; }
.quiz-missing:empty { display: none; }

.quiz-result { margin-top: 3rem; scroll-margin-top: 1rem; }
.qr-card { padding: 1.75rem 0; border-top: 1px solid var(--ink); }
.qr-head { font-size: var(--s0); font-weight: 500; color: var(--soft); }
.qr-head a { color: var(--ink); }
.qr-big { margin-top: 0.6rem; font-size: clamp(3.25rem, 2.2rem + 5vw, 4.75rem); font-weight: 300; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.qr-big .of, .qr-pair .of { font-size: var(--s1); font-weight: 400; letter-spacing: 0; color: var(--soft); }
.qr-label { margin-top: 0.9rem; font-size: var(--s1); font-weight: 500; line-height: 1.35; }
.qr-label span { background: var(--narcissus); padding: 0.08em 0.3em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.qr-desc { margin-top: 0.5rem; color: var(--soft); }
.q-bar { height: 0.5rem; margin-top: 1rem; background: var(--line); }
.q-bar span { display: block; height: 100%; background: var(--ink); }
.qr-ticks { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 0.45rem; font-size: 0.75rem; color: var(--soft); }
.qr-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.qr-pair .l { font-size: var(--s-1); font-weight: 500; color: var(--soft); }
.qr-pair .v { margin-top: 0.2rem; font-size: var(--s3); font-weight: 300; line-height: 1.1; font-variant-numeric: tabular-nums; }
.qr-pair .q-bar { margin-top: 0.6rem; }
.qr-pair .s { margin-top: 0.4rem; font-size: 0.8125rem; color: var(--soft); }
.qr-pair .s + .s { margin-top: 0.1rem; font-style: italic; }
.qr-title { font-size: var(--s1); font-weight: 500; line-height: 1.3; margin-bottom: 0.5rem; }
.qr-list { list-style: none; }
.qr-list li { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; align-items: baseline; padding: 0.9rem 0; }
.qr-list li + li { border-top: 1px solid var(--line); }
.qr-list .l { font-weight: 500; }
.qr-list .r { color: var(--soft); font-size: var(--s-1); white-space: nowrap; }
.qr-list .r.v { color: var(--ink); font-size: var(--s0); font-weight: 500; font-variant-numeric: tabular-nums; }
.qr-list .d, .qr-list .q-bar { grid-column: 1 / -1; }
.qr-list .q-bar { margin-top: 0.35rem; }
.qr-list .d { color: var(--soft); font-size: 0.9375rem; }
.qr-list li.band { display: block; }
.qr-list li.band .r { margin-left: 0.35rem; }
.qr-list li.band .d { display: block; margin-top: 0.25rem; }
.qr-list li[aria-current] { background: var(--petal); box-shadow: inset 4px 0 0 var(--narcissus); border-top-color: transparent; margin-inline: -0.85rem; padding-inline: 0.85rem; }
.qr-list li[aria-current] + li { border-top-color: transparent; }
.qr-list li[aria-current] .d { color: var(--ink); }
.qr-note, .qr-important { margin: 1.5rem 0 0; }
.qr-important { background: var(--petal); }
.qr-help { margin: 0.75rem 0 1.75rem; }
.q-actions { margin-top: 2rem; }
.q-hint { margin-top: 0.75rem; }
.refs { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--ink); }
.refs .h3 { margin-bottom: 0.6rem; scroll-margin-top: 1.5rem; }
.refs ul { list-style: none; display: grid; gap: 0.8rem; font-size: 0.9375rem; color: var(--soft); }
.refs a { overflow-wrap: anywhere; }
.privacy-line { margin-top: 1.5rem; }
.print-only { display: none; }

/* Articles from the owner's Word files: standfirst, boxes, tables, references */
.standfirst { font-size: var(--s1); font-weight: 300; line-height: 1.45; max-width: 46rem; margin-top: 0.9rem; }
.page-head .standfirst + .meta-line { margin-top: 1rem; }
@media (max-width: 39.99rem) { .standfirst { font-size: 1.125rem; } }
.prose .box { background: var(--pool); border-left: 3px solid var(--ink); padding: 1.15rem 1.35rem 1.3rem; margin: 2em 0; }
.prose .box-practice { border-left-color: var(--narcissus); }
.prose .box > * + * { margin-top: 0.75em; }
.prose .box .box-title { font-size: 1em; font-weight: 600; margin-bottom: 0; }
.prose .box ol, .prose .box ul { padding-left: 1.3rem; }
.prose .box .together { border-top: 1px solid var(--line); padding-top: 0.85em; margin-top: 1.1em; }
.prose .box .together strong { display: block; font-size: 1em; font-weight: 600; margin-bottom: 0.2rem; }
.prose .table-wrap { overflow-x: auto; margin: 2em 0; }
.prose .table-wrap:focus-visible { box-shadow: none; outline-offset: 4px; }
.prose table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: var(--s-1); line-height: 1.45; }
.prose caption { text-align: left; font-size: var(--s0); font-weight: 600; padding-bottom: 0.6rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.55rem 0.75rem 0.55rem 0; border-bottom: 1px solid var(--line); }
.prose thead th { font-weight: 600; border-bottom: 2px solid var(--ink); }
.prose tbody th { font-weight: 500; }
.prose .references { font-size: var(--s-1); line-height: 1.5; color: #2b2b2b; }
.prose .references > * + * { margin-top: 0.65em; }
.prose .references p { padding-left: 1.6em; text-indent: -1.6em; }
.prose .references ol { padding-left: 1.8rem; }
.prose .references a, .prose .box a { overflow-wrap: anywhere; }
@media (min-width: 40rem) { .contents-long ol { display: block; columns: 2; column-gap: 2.5rem; } .contents-long li { break-inside: avoid; margin-bottom: 0.4rem; } }
@media (min-width: 66rem) { .contents-long ol { columns: 3; } }
@media print { .prose .table-wrap { overflow: visible; } .prose table { min-width: 0; } .prose .box { break-inside: avoid; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .rail, .helpful, .reflection, .q-actions, .quiz-submit { display: none !important; }
  body { font-size: 11pt; }
  .quiz-key { position: static; }
  .q-bar, .q-bar span, .qr-list li[aria-current], .qr-label span, .qr-important { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .qr-card, .qr-pair, .qr-list li { break-inside: avoid; }
  /* "Save results as PDF": print the results, their title and the references, and nothing else. */
  html.print-results .crumbs, html.print-results .page-head, html.print-results .article-main > :not(.pr-keep) { display: none !important; }
  html.print-results .print-only { display: block; margin-bottom: 1.5rem; text-align: center; }
  html.print-results .print-title { font-size: 16pt; font-weight: 500; margin-bottom: 0.3rem; }
  html.print-results .quiz-result { margin-top: 0; }
  html.print-results [data-site-addition] { display: none !important; }
}

/* ---------- v12: the library (paired articles, programs, the path, diagrams, clinician citations) ---------- */
.pair-note { margin: 0 0 1.25rem; padding: 0.7rem 1rem; background: var(--pool); font-size: var(--s-1); }
.pair-note span { font-weight: 600; margin-right: 0.4rem; }
.lead-note { max-width: var(--measure); margin-bottom: 2.5rem; }
.group-note { max-width: var(--measure); margin: -0.25rem 0 1rem; }
.group-note a, .lead-note a, .path-d a, .finder a { text-decoration: underline; }
.band-pool { background: var(--pool); border: 0 !important; }
.path { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--ink); border: 1px solid var(--ink); counter-reset: path; }
.path > li { background: var(--paper); padding: 1.25rem 1.35rem 1.45rem; counter-increment: path; }
.path > li:nth-child(2) { background: var(--petal); }
.path-k { font-size: var(--s-1); font-weight: 600; }
.path-k::before { content: counter(path) ". "; }
.path-t { font-size: var(--s1); font-weight: 500; line-height: 1.25; margin: 0.35rem 0 0.55rem; }
.path-d { color: #2b2b2b; }
.path-foot { margin-top: 0.9rem; max-width: var(--measure); }
@media (min-width: 52rem) { .path { grid-template-columns: repeat(3, 1fr); } }
.figure-diagram { background: none; margin: 2.2em 0; }
.figure-diagram img { aspect-ratio: auto; object-fit: contain; height: auto; border: 1px solid var(--line); background: var(--paper); }
.figure-diagram figcaption { padding: 0 0 0.6rem; background: none; font-size: var(--s0); font-weight: 600; color: var(--ink); }
.figure-diagram a { display: block; }
.prose .box-takeaways { background: var(--petal); border-left-color: var(--narcissus); }
/* 039: the counter-satire boxes are small and quiet; the light prayers are verse, one line per row. */
.prose .box-aside { padding: 0.7rem 1.1rem 0.75rem; margin: 1.1em 0 1.6em; font-size: var(--s-1); }
.prose .box-verse > p:not(.box-title) { margin-top: 0.15em; }
.prose .box-verse .box-title { margin-bottom: 0.45em; }
.prose a.cite { text-decoration: none; background-image: none; border-bottom: 1px dotted var(--soft); }
.prose a.cite:hover { background: var(--narcissus); }
.prose .references p:target { background: var(--petal); outline: 0.35rem solid var(--petal); }
.prose h5 { font-size: var(--s0); font-weight: 600; line-height: 1.35; margin-top: 1.6em; }
.prose h4, .prose h5 { scroll-margin-top: 1.5rem; }
.finder-h { margin: 2.2rem 0 0.25rem; }
.finder-item { padding: 0.9rem 0 1rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.finder-t { font-weight: 500; }
.finder-t .soft { margin-left: 0.5rem; white-space: nowrap; }
.finder-item ul { margin: 0.45rem 0 0; padding-left: 1.1rem; font-size: var(--s-1); line-height: 1.5; }
.finder-item li + li { margin-top: 0.2rem; }
@media (min-width: 66rem) { .finder-item { display: grid; grid-template-columns: 4fr 8fr; gap: 2rem; } .finder-item ul { margin-top: 0.15rem; } }
@media print { .pair-note, .path { break-inside: avoid; } }
.prose-program blockquote { font-size: inherit; font-weight: 400; margin: 1.1em 0 1.4em; padding: 0.1rem 0 0.1rem 1.1rem; }
.prose-program blockquote > * + * { margin-top: 0.7em; }
.prose-program blockquote strong { font-weight: 600; }
.prose-program h3 { margin-top: 3em; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.prose-program h4 { margin-top: 1.5em; }

/* Topics: the tag cloud, the chosen-topics bar and the tags under an article's byline */
.article-tags { margin-top: 0.75rem; }
.topics .tag-cloud { display: grid; gap: 1.75rem; margin-bottom: 2.5rem; }
.tag-family-t { font-size: var(--s-1); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted, #6b7072); margin: 0 0 0.6rem; font-weight: 600; }
.cloud { list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.9rem; padding: 0; margin: 0; }
.cloud-tag { text-decoration: none; line-height: 1.25; border-radius: 0.4rem; padding: 0.1rem 0.35rem; }
.cloud-tag .n { font-size: 0.6em; opacity: 0.6; vertical-align: super; }
.cloud-tag:hover { background: var(--narcissus); }
.cloud-tag[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.topic-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1rem; margin-bottom: 1rem; border: 1px solid var(--line); border-radius: 0.6rem; position: sticky; top: 0.5rem; background: var(--paper); z-index: 2; }
.topic-bar-t { margin: 0; font-weight: 600; }
.topic-list li[hidden] { display: none; }
/* Topics (v22): the model's traits and defenses, each heading split into its groups */
.tag-family-model { display: grid; gap: 0.9rem; }
.tag-group { padding-left: 0.9rem; border-left: 3px solid var(--line); }
.tag-group-t { margin: 0 0 0.35rem; font-size: 1.05rem; }
.group-tag { font-weight: 700; }
.tag-rung { margin: 0.45rem 0 0.2rem; padding-left: 0.35rem; font-size: var(--s-1); color: var(--muted, #6b7072); }
.detail-cloud { gap: 0.15rem 0.5rem; }
.detail-tag { font-size: 0.95rem; }
.topic-bar .btn[hidden] { display: none; }
.topic-bar-b { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }
/* Back to top (every page) */
.to-top { position: fixed; right: clamp(0.75rem, 2vw, 1.5rem); bottom: clamp(0.75rem, 2vw, 1.5rem); z-index: 20; padding: 0.55rem 0.95rem; border: 1px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: var(--s-1); font-weight: 600; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.12); }
.to-top:hover, .to-top:focus-visible { background: var(--narcissus); border-color: var(--narcissus); }
.to-top[hidden] { display: none; }
@media print { .to-top { display: none; } }
/* Box titles (v24): every box's title is at least the size of the text inside it (owner's rule, November 25, 2026). */
/* Topics under the byline (v24): a "Topics" label above the tag buttons */
.article-topics { margin-top: 1rem; }
.article-topics-t { font-size: var(--s0); font-weight: 600; margin: 0 0 0.5rem; }
.article-topics .article-tags { margin-top: 0; }
.article-topics .tags a { font-size: 0.9375rem; padding: 0.25rem 0.75rem; }

/* Dark mode (v27, owner's request of November 25, 2026). The button sits at the right end of the header, next to
   Search on wide screens and next to Menu on phones. It follows the device setting until the reader chooses; the
   choice is remembered on that browser. The yellow stays the same; text on yellow stays black. */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; flex: none; }
.theme-toggle:hover { background: var(--narcissus); border-color: var(--narcissus); }
.theme-toggle svg { width: 1.15rem; height: 1.15rem; }
.theme-toggle .sun { display: none; }
@media (max-width: 24.4rem) { .theme-toggle { width: 2.25rem; height: 2.25rem; } }
@media print { .theme-toggle { display: none; } }
html[data-theme="dark"] { --paper: #141414; --ink: #ededed; --soft: #a8a8a8; --line: #2f2f2f; --petal: #2a250f; --pool: #1d1e1e; --muted: #9aa0a2; color-scheme: dark; }
html[data-theme="dark"] .brand img, html[data-theme="dark"] .footer-about .brand img { filter: invert(1); }
html[data-theme="dark"] .btn:hover, html[data-theme="dark"] .btn-ink:hover, html[data-theme="dark"] .tags a:hover, html[data-theme="dark"] .kind span, html[data-theme="dark"] .byline a:hover, html[data-theme="dark"] .video-play span, html[data-theme="dark"] .quiz-item.is-missing .n, html[data-theme="dark"] .quiz-opts label:hover span, html[data-theme="dark"] .qr-label span, html[data-theme="dark"] .prose a.cite:hover, html[data-theme="dark"] .cloud-tag:hover, html[data-theme="dark"] .to-top:hover, html[data-theme="dark"] .to-top:focus-visible, html[data-theme="dark"] .theme-toggle:hover, html[data-theme="dark"] .band-ink .btn:hover { color: #000; }
html[data-theme="dark"] .band-ink { background: #000; color: #ededed; }
html[data-theme="dark"] .band-ink .btn { border-color: #ededed; color: #ededed; }
html[data-theme="dark"] .band-ink .rows { border-top-color: #ededed; }
html[data-theme="dark"] .skip, html[data-theme="dark"] .btn-ink, html[data-theme="dark"] .chip:hover, html[data-theme="dark"] .chip[aria-current="true"], html[data-theme="dark"] .quiz-opts input:checked + span { color: #141414; }
html[data-theme="dark"] .prose .references, html[data-theme="dark"] .path-d { color: #cfcfcf; }
html[data-theme="dark"] .to-top { box-shadow: 0 2px 10px rgba(0,0,0,0.6); }
html[data-theme="dark"] .theme-toggle .sun { display: block; }
html[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
html:not([data-theme="light"]) { --paper: #141414; --ink: #ededed; --soft: #a8a8a8; --line: #2f2f2f; --petal: #2a250f; --pool: #1d1e1e; --muted: #9aa0a2; color-scheme: dark; }
html:not([data-theme="light"]) .brand img, html:not([data-theme="light"]) .footer-about .brand img { filter: invert(1); }
html:not([data-theme="light"]) .btn:hover, html:not([data-theme="light"]) .btn-ink:hover, html:not([data-theme="light"]) .tags a:hover, html:not([data-theme="light"]) .kind span, html:not([data-theme="light"]) .byline a:hover, html:not([data-theme="light"]) .video-play span, html:not([data-theme="light"]) .quiz-item.is-missing .n, html:not([data-theme="light"]) .quiz-opts label:hover span, html:not([data-theme="light"]) .qr-label span, html:not([data-theme="light"]) .prose a.cite:hover, html:not([data-theme="light"]) .cloud-tag:hover, html:not([data-theme="light"]) .to-top:hover, html:not([data-theme="light"]) .to-top:focus-visible, html:not([data-theme="light"]) .theme-toggle:hover, html:not([data-theme="light"]) .band-ink .btn:hover { color: #000; }
html:not([data-theme="light"]) .band-ink { background: #000; color: #ededed; }
html:not([data-theme="light"]) .band-ink .btn { border-color: #ededed; color: #ededed; }
html:not([data-theme="light"]) .band-ink .rows { border-top-color: #ededed; }
html:not([data-theme="light"]) .skip, html:not([data-theme="light"]) .btn-ink, html:not([data-theme="light"]) .chip:hover, html:not([data-theme="light"]) .chip[aria-current="true"], html:not([data-theme="light"]) .quiz-opts input:checked + span { color: #141414; }
html:not([data-theme="light"]) .prose .references, html:not([data-theme="light"]) .path-d { color: #cfcfcf; }
html:not([data-theme="light"]) .to-top { box-shadow: 0 2px 10px rgba(0,0,0,0.6); }
html:not([data-theme="light"]) .theme-toggle .sun { display: block; }
html:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}
@media print { html[data-theme="dark"], html:not([data-theme="light"]) { --paper: #fff; --ink: #000; --soft: #5c5c5c; --line: #e3e3e3; } }

/* ---- v29: the Verywell-style reading (owner's choice, November 25, 2026, from the approved samples) ----
   Colours unchanged. Related Articles keep their text list (no pictures, no boxes) and take the new fonts and spacing. */
:root { --serif: "Merriweather", Georgia, serif; --sans: "Figtree", "Helvetica Neue", Arial, sans-serif; --column: 36.25rem; }
/* 1. Font: body in Merriweather 16px / 1.5; titles, headings, the menu and labels in a bold sans */
body { font-family: var(--serif); font-size: 1rem; line-height: 1.5; }
.display, .page-title, .h2, .h3, .prose h2, .prose h3, .prose h4, .box-title, .brand, .btn, .main-nav a, .utility a, .faq summary, .rows .t, .cards .t, .quote, .qr-title, .week-t { font-family: var(--sans); }
.display, .page-title { font-weight: 800; letter-spacing: 0; line-height: 1.2; }
.h2, .prose h2 { font-weight: 800; letter-spacing: 0; line-height: 1.2; font-size: 1.8125rem; }
.h3, .prose h3, .week-t { font-weight: 800; line-height: 1.2; font-size: 1.4375rem; }
.prose h4 { font-weight: 800; line-height: 1.2; font-size: 1.125rem; }
@media (min-width: 50em) { .h2, .prose h2 { font-size: 2.25rem; } }
.standfirst { font-family: var(--serif); font-weight: 400; font-size: 1.125rem; line-height: 1.5; }
.rows .t { font-weight: 800; }
.main-nav a { font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.75rem; }
@media (min-width: 66rem) { .main-nav ul { flex-wrap: nowrap; column-gap: 0.75rem; } }
@media (max-width: 65.99rem) { .main-nav a { font-size: 1rem; } }
@media (min-width: 66rem) and (max-width: 74.99rem) { .main-nav a { letter-spacing: 0.01em; font-size: 0.6875rem; } .main-nav ul { column-gap: 0.5rem; } }
.utility a { font-weight: 700; }
/* 3. Spacing: 1rem after every paragraph and list item; headings 3rem above and 1rem below */
.prose > * + * { margin-top: 0; }
.prose > p, .prose > ul, .prose > ol, .prose > .box, .prose > figure, .prose > .table-wrap, .prose > blockquote { margin-bottom: 1rem; }
.prose li { margin-bottom: 1rem; }
.prose li + li { margin-top: 0; }
.prose h2, .prose h3 { margin-top: 3rem; margin-bottom: 1rem; }
.prose h4 { margin-top: 2rem; margin-bottom: 0.75rem; }
.prose .box { margin: 2rem 0; }
@media (min-width: 66rem) { .article-main .prose, .article-main .highlights, .article-main .contents, .article-main .refs { font-size: 1rem; } }
/* 2. The header stays at the top while you scroll; on a computer only the sections menu stays, the top bar scrolls away */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.15); border-bottom: 0; }
html { scroll-padding-top: 8.5rem; }
.prose h2, .prose h3, .prose h4 { scroll-margin-top: 8.5rem; }
@media (min-width: 66rem) { .site-header { top: -4rem; } html { scroll-padding-top: 4.5rem; } .prose h2, .prose h3, .prose h4 { scroll-margin-top: 4.5rem; } }
/* 4. Margins: an article reads in one centred column of about 74 characters a line (owner's choice: the medium margin) */
.is-article .crumbs, .is-article .page-head, .is-article .article-grid { max-width: calc(var(--column) + 2 * var(--gutter)); }
.is-article .article-main, .is-article .article-grid .article-main { max-width: var(--column); }
.is-article .page-head .page-title, .is-article .standfirst { max-width: none; }
@media (min-width: 40rem) { .is-article .contents-long ol { columns: 2; } }
/* Becoming Healthy: each program a subsection, its 30 days under their weeks */
.week-t { margin: 2rem 0 0.75rem; }
.program-group .rows-lg + .week-t { margin-top: 2.25rem; }
#the-30-days .week-t { font-size: 1.125rem; margin-top: 1.75rem; }

/* v30: the Find Actions by Trait tip (owner's choice, option 5), the program overview's day list above the references,
   and a short highlight on the part of Becoming Healthy a link opens (existing colors only). */
.action-tip { border-top: 1px solid var(--line); padding-top: 0.75rem; margin-top: 1.25rem; font-size: var(--s-1); color: var(--soft); }
.action-tip a { color: inherit; text-decoration: underline; }
.path-foot + .action-tip { margin-top: 1rem; }
.days-block { margin: 3rem 0; }
.days-block > .h2 { margin-bottom: 1rem; scroll-margin-top: 8.5rem; }
.group[id] { scroll-margin-top: 8.5rem; }
@media (min-width: 66rem) { .group[id], .days-block > .h2 { scroll-margin-top: 4.5rem; } }
@keyframes nc-landed { 0%, 35% { background: var(--petal); box-shadow: 0 0 0 1rem var(--petal), inset 4px 0 0 var(--narcissus); } 100% { background: transparent; box-shadow: 0 0 0 1rem transparent, inset 4px 0 0 transparent; } }
.group:target { animation: nc-landed 2.6s ease-out 0.3s both; }
@media (prefers-reduced-motion: reduce) { .group:target { animation: none; box-shadow: inset 4px 0 0 var(--narcissus); padding-left: 1rem; } }
/* v32: the visit-statistics opt-out switch in Terms 5(c) */
.stats-optout { padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 8px; }
.stats-optout label { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; font-weight: 600; }
.stats-optout input { width: 1.15rem; height: 1.15rem; accent-color: currentColor; }
.stats-optout-note { display: block; margin-top: .35rem; font-size: var(--s-1); }
.stats-optout-note:empty { display: none; }
/* v32: the box at the very bottom of About and Services, each pointing to the other (existing colors only) */
.page-box { background: var(--petal); padding: 1.25rem 1.35rem 1.4rem; margin-top: 3rem; }
.page-box p + p { margin-top: 0.6rem; }
.page-box .btn { margin-top: 0.4rem; }
/* v33: infographics (owner's request, November 28, 2026). One picture per idea, the site's own colors, a PNG version below. */
.ig-wrap { max-width: 62rem; margin: 0 auto; }
.ig-card { background: var(--paper); border: 1px solid var(--line); padding: 2.25rem 2.5rem 1.5rem; }
.ig-card, .ig-card p, .ig-card li, .ig-card td { font-size: 0.95rem; line-height: 1.5; }
.ig-kicker { font-family: var(--sans); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); margin: 0 0 0.8rem; }
.ig-kicker .pngonly { text-transform: none; letter-spacing: 0; font-weight: 400; }
.ig-card .ig-h1 { font-family: var(--sans); font-weight: 800; font-size: 2rem; line-height: 1.15; margin: 0.2rem 0 0.4rem; }
.ig-stand { color: var(--soft); max-width: 44rem; margin: 0 0 1.4rem; }
.pngonly { display: none; }
.forpng .pngonly { display: inline; }
.forpng p.pngonly { display: block; }
.ig-card h2, .ig-card h3, .ig-lab, .ig-card .big { font-family: var(--sans); font-weight: 800; line-height: 1.15; }
.ig-card h2 { font-size: 1.3rem; margin: 0 0 0.5rem; }
.ig-card h3 { font-size: 1rem; margin: 0 0 0.5rem; }
.ig-lab { display: block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); margin: 0.6rem 0 0.25rem; }
.ig-card .big { font-size: 1.6rem; display: block; line-height: 1.1; margin-bottom: 0.4rem; }
.ig-card ul, .ig-card ol { padding-left: 1.2rem; margin: 0; }
.ig-card li { margin: 0.2rem 0; }
.ig-card ul.plain { list-style: none; padding: 0; }
.ig-card ul.plain li { padding: 0.35rem 0; border-top: 1px solid var(--line); }
.ig-card ul.plain li:first-child { border-top: 0; }
.ig-grid { display: grid; gap: 0.75rem; margin-top: 1rem; }
.ig-grid.c2 { grid-template-columns: repeat(2, 1fr); } .ig-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.ig-grid.c4 { grid-template-columns: repeat(4, 1fr); } .ig-grid.c5 { grid-template-columns: repeat(5, 1fr); }
.ig-box { background: var(--pool); padding: 0.9rem 1rem; }
.ig-box.petal { background: var(--petal); } .ig-box.line { background: var(--paper); border: 2px solid var(--ink); }
.ig-box.sun { background: var(--narcissus); } .ig-box.center { text-align: center; }
.ig-box .ico { display: block; width: 56px; height: 56px; margin: 0 auto 0.5rem; }
.ig-box .ico.left { margin: 0 0 0.4rem; }
.ig-note { background: var(--petal); padding: 0.9rem 1.2rem; margin-top: 1.1rem; }
.ig-note .ig-lab { font-size: 0.95rem; letter-spacing: 0; text-transform: none; color: var(--ink); margin: 0 0 0.2rem; }
.ig-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.ig-table th { font-family: var(--sans); font-weight: 800; text-align: left; padding: 0.5rem 0.6rem; border-bottom: 2px solid var(--ink); }
.ig-table td { padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.ig-table td:first-child { font-family: var(--sans); font-weight: 800; }
.ig-table.tint tr:nth-child(even) td { background: var(--pool); }
.ig-fig { display: block; width: 100%; height: auto; margin: 0.25rem 0 0.5rem; }
.ig-fig text { font-family: var(--sans); font-weight: 800; }
.ig-fig .serif { font-family: var(--serif); font-weight: 400; }
.ig-foot { border-top: 2px solid var(--ink); margin-top: 1.4rem; padding-top: 0.75rem; font-family: var(--sans); font-size: 0.84rem; color: var(--soft); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.ig-foot b { color: var(--ink); }
.ig-foot .logo a { color: var(--ink); font-weight: 800; font-size: 1.05rem; text-decoration: underline; text-decoration-color: var(--narcissus); text-underline-offset: 3px; }
.ig-foot a { color: var(--ink); }
.ig-pic { background: var(--paper); border: 1px solid var(--line); padding: 1.4rem 2.5rem 1.6rem; margin-top: 1.25rem; }
.ig-pic h2 { font-size: 1.25rem; margin: 0 0 1rem; }
.ig-pic img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.ig-pic .btns { display: flex; justify-content: center; margin-top: 1.1rem; }
.ig-more { margin-top: 1.5rem; }
body.forpng { background: var(--pool); margin: 0; padding: 24px; }
.forpng .ig-card { width: 960px; }
@media (max-width: 760px) { .ig-card { padding: 1.4rem 1.1rem 1rem; } .ig-grid.c2, .ig-grid.c3, .ig-grid.c4, .ig-grid.c5 { grid-template-columns: 1fr 1fr; } .ig-card .ig-h1 { font-size: 1.5rem; } .ig-pic { padding: 1rem 1.1rem 1.2rem; } }
@media (max-width: 480px) { .ig-grid.c2, .ig-grid.c3, .ig-grid.c4, .ig-grid.c5 { grid-template-columns: 1fr; } }
@media print { .ig-pic { display: none; } }

/* ---------- v35: the main menu's dropdowns (owner's request, November 29, 2026) ----------
   Each section with subsections lists them under its name. Phone and tablet: an arrow button beside the name opens the
   list inside the menu. Computer: the list drops down on hover or keyboard focus, and the arrow opens it on a click.
   Existing colors only; text on yellow stays black. */
.main-nav .has-sub { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.main-nav .has-sub > a { grid-column: 1; }
.sub-toggle { grid-column: 2; align-self: stretch; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; min-height: 2.75rem; margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; }
.sub-toggle::before { content: ""; width: 0.5rem; height: 0.5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.15rem) rotate(45deg); transition: transform 0.15s; }
.has-sub.is-open > .sub-toggle::before { transform: translateY(0.15rem) rotate(-135deg); }
.main-nav .sub { display: none; grid-column: 1 / -1; list-style: none; padding: 0.25rem 0 0.75rem 1rem; border-bottom: 1px solid var(--line); }
.main-nav .has-sub.is-open > .sub { display: block; }
.main-nav .sub a { padding: 0.5rem 0; border: 0; font-family: var(--sans); font-weight: 700; font-size: 0.9375rem; text-transform: none; letter-spacing: 0; white-space: normal; }
.main-nav .sub a:hover { text-decoration: underline; text-decoration-color: var(--narcissus); text-decoration-thickness: 3px; text-underline-offset: 3px; }
html { scroll-padding-top: 5rem; }
@media (min-width: 66rem) {
  .main-nav .has-sub { position: relative; display: flex; align-items: center; gap: 0.15rem; }
  .sub-toggle { align-self: center; width: 1.1rem; min-height: 0; height: 2rem; border: 0; }
  .sub-toggle::before { width: 0.36rem; height: 0.36rem; border-width: 0 1.5px 1.5px 0; }
  .main-nav .sub { display: none; position: absolute; top: 100%; left: -1rem; z-index: 50; min-width: 15.5rem; max-width: 20rem; padding: 0.5rem 0; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.15); }
  .main-nav .has-sub:last-child .sub { left: auto; right: -1rem; }
  .main-nav .has-sub:hover > .sub, .main-nav .has-sub:focus-within > .sub, .main-nav .has-sub.is-open > .sub { display: block; }
  .main-nav .has-sub:hover > .sub-toggle::before, .main-nav .has-sub:focus-within > .sub-toggle::before { transform: translateY(0.1rem) rotate(-135deg); }
  .main-nav .sub a { padding: 0.45rem 1rem; font-size: 0.875rem; white-space: normal; }
  .main-nav .sub a:hover, .main-nav .sub a:focus-visible { background: var(--narcissus); color: #000; text-decoration: none; }
  html { scroll-padding-top: 4.5rem; }
}
@media print { .main-nav .sub, .sub-toggle { display: none !important; } }
/* v35: the FAQ answers are the Library's own text (several paragraphs and a "Read more" line). */
.faq .a p + p { margin-top: 1rem; }
.faq .a p { max-width: var(--measure); }

/* ---------- v37: picture cards and 16:9 article pictures (owner, December 1, 2026: option 3 of the previews) ---------- */
.rows.cards { display: grid; grid-template-columns: 1fr; gap: 2rem 1.75rem; border-top: 0; margin-top: .75rem; }
.rows.cards > li { border-bottom: 0; min-width: 0; }
.rows.cards a { display: flex; flex-direction: column; padding: 0; gap: 0; }
.rows.cards .pic { display: block; order: -2; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 1rem; background: var(--pool); }
.rows.cards .pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.rows.cards .pic-ig img { object-position: top; }
.rows.cards a:hover .pic img { transform: scale(1.03); }
.rows.cards .pic.none { background: linear-gradient(135deg, var(--petal), var(--narcissus)); }
.rows.cards .k { display: block; margin-bottom: .6rem; font-family: var(--sans); font-weight: 800; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.rows.cards .t, .rows-lg.cards .t { font-family: var(--sans); font-weight: 800; font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; }
.rows.cards .d { margin-top: .5rem; font-size: 1rem; line-height: 1.55; }
.rows.cards .m { display: none; }
.rows.cards a.has-m { display: flex; }
.article-main > .figure-art img, .is-article .article-main > .figure-art img { max-height: none; aspect-ratio: 16 / 9; }
.article-main > .figure-art { background: none; }
@media (min-width: 48rem) {
  .rows.cards { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
  #related .rows.cards { gap: 2.25rem 1.75rem; }
  #related .rows.cards .t { font-size: 1.25rem; }
  #related .rows.cards .d { font-size: .9375rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (min-width: 64rem) {
  #related { position: relative; width: min(70rem, calc(100vw - 4rem)); left: 50%; transform: translateX(-50%); }
  #related .rows.cards { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- v38: compact cards on the home page and the section pages (owner, December 1, 2026: option 2 of the compact
   previews, "no short excerpt under the title"): the picture on the left, the label and the title on the right; one
   column on phones, two from 48rem, three on the section pages from 64rem. Related Articles keep the v37 cards. ---------- */
.rows.cards.compact { grid-template-columns: 1fr; gap: 1.25rem 1.75rem; }
.rows.cards.compact a, .rows.cards.compact a.has-m { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 1rem; row-gap: .2rem; align-items: start; }
.rows.cards.compact .pic { grid-column: 1; grid-row: 1 / span 2; width: 100%; margin: 0; }
.rows.cards.compact .k { grid-column: 2; grid-row: 1; margin: .1rem 0 0; font-size: .6875rem; }
.rows.cards.compact .t, .rows-lg.cards.compact .t { grid-column: 2; grid-row: 2; font-size: 1rem; line-height: 1.3; letter-spacing: 0; }
.rows.cards.compact .k + .t { grid-row: 2; }
.rows.cards.compact a > .t:nth-child(2) { grid-row: 1 / span 2; }
@media (min-width: 48rem) {
  .rows.cards.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.75rem; }
  .rows.cards.compact a, .rows.cards.compact a.has-m { grid-template-columns: 9.5rem minmax(0, 1fr); }
}
@media (min-width: 64rem) {
  .section-body .rows.cards.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- v38: In This Section, the guide at the top of every section page (owner, December 1, 2026) ---------- */
.sec-guide { margin: .25rem 0 3.5rem; padding: 1.25rem 1.25rem 1rem; background: var(--petal); border-left: 4px solid var(--narcissus); }
.sec-guide-h { margin: 0 0 .75rem; font-family: var(--sans); font-weight: 800; font-size: 1.125rem; line-height: 1.2; }
.sec-guide ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 1.5rem; }
.sec-guide a { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; color: inherit; text-decoration: none; }
.sec-guide .n { flex: none; display: inline-grid; place-items: center; width: 1.875rem; height: 1.875rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--sans); font-weight: 800; font-size: .75rem; font-variant-numeric: tabular-nums; transition: background .2s, color .2s; }
.sec-guide .g { font-family: var(--sans); font-weight: 800; font-size: 1rem; line-height: 1.3; }
.sec-guide a:hover .n, .sec-guide a:focus-visible .n { background: var(--narcissus); color: #000; }
.sec-guide a:hover .g { text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 30rem) { .sec-guide ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .sec-guide { padding: 1.5rem 1.75rem 1.25rem; } .sec-guide ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* v39: Related topics under the chosen topic on the Topics page */
.topic-rel { margin: 0 0 1.25rem; font-family: var(--sans); font-size: 0.9375rem; line-height: 1.6; }
/* the chosen-topic bar stays just under the site's header, not behind it (the header is 4rem tall on phones and
   tablets; on a computer only its 2.8rem menu stays) */
.topic-bar { top: 4.5rem; }
@media (min-width: 66rem) { .topic-bar { top: 3.3rem; } }
.topic-rel[hidden] { display: none; }
.topic-rel-t { font-weight: 800; margin-right: 0.25rem; }

/* ---------- v40: links inside the text in Deep Blue (owner, December 1, 2026: option A of the three colours). The thin,
   soft underline stays, so a link never depends on colour alone; on hover the site's yellow highlight with black text. */
:root { --link: #2A5DA8; }
html[data-theme="dark"] { --link: #8FB4F0; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) { --link: #8FB4F0; } }
.prose a:not(.cite) { color: var(--link); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em;
  text-decoration-color: var(--link); text-decoration-color: color-mix(in srgb, var(--link) 45%, transparent); }
.prose a:not(.cite):hover, .prose a:not(.cite):focus-visible { color: #000; text-decoration-color: currentColor; }

/* ---------- v43: Coming Episodes on the Podcast and Videos pages (owner, December 2, 2026): the pieces still to be
   published, under their sections and subsections, each heading followed by "(Coming Soon)", as cards that cannot be
   pressed until the owner publishes them. ---------- */
.soon-h { margin: 2.5rem 0 .25rem; }
.group > .h2 + .soon-h { margin-top: 1rem; }
.soon-h .soon-tag { font-weight: 500; color: var(--soft); white-space: nowrap; }
.rows.cards .off { display: flex; flex-direction: column; padding: 0; gap: 0; cursor: default; }
.rows.cards.compact .off { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 1rem; row-gap: .2rem; align-items: start; }
.rows.cards.compact .off > .t:nth-child(2) { grid-row: 1 / span 2; }
@media (min-width: 48rem) { .rows.cards.compact .off { grid-template-columns: 9.5rem minmax(0, 1fr); } }

/* ---- v44: Sharing is caring and the r/narcissism card under every article (owner, December 2, 2026: Option 8, the
   Reddit logo on the left of its two lines, the card made smaller; "apply this to all"). shareBlock() in build_site.js.
   The logos are Bootstrap Icons (MIT, assets/icons/LICENSE-bootstrap-icons.txt), in each platform's colour. ---- */
.share-box { --share-edge: #d6d6d6; margin: 2.5rem 0 0; padding: 1.25rem; background: var(--pool); }
.share-box p { margin: 0; }
.share-box a { text-decoration: none; }
.share-h { margin: 0 0 0.875rem; font-family: var(--sans); font-weight: 800; font-size: 1.25rem; line-height: 1.2; }
.share-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.share-list li { margin: 0; }
.share-btn { display: inline-flex; align-items: center; gap: 0.4375rem; min-height: 2.25rem; padding: 0 0.8125rem 0 0.6875rem; border: 1.5px solid var(--share-edge); border-radius: 999px; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 700; font-size: 0.90625rem; line-height: 1; cursor: pointer; }
.share-i { flex: none; width: 1rem; height: 1rem; }
.share-reddit .share-i { color: #ff4500; }
.share-facebook .share-i { color: #0866ff; }
.share-linkedin .share-i { color: #0a66c2; }
.share-whatsapp .share-i { color: #1a9e4f; }
.share-envelope-fill .share-i { color: var(--soft); }
.share-btn:hover, .share-btn:focus-visible, .share-copy.is-copied { background: var(--narcissus); border-color: #000; color: #000; }
.share-btn:hover .share-i, .share-btn:focus-visible .share-i { color: #000; }
.share-card { margin-top: 1rem; padding: 0.875rem 1rem 1rem; border: 1px solid var(--line); border-top: 4px solid #d93a00; border-radius: 0.625rem; background: var(--paper); }
.share-card-top { display: flex; align-items: center; gap: 0.75rem; }
.share-rl { display: inline-flex; flex: none; width: 2.625rem; height: 2.625rem; border-radius: 50%; background: #fff; color: #ff4500; }
.share-rl-i { width: 100%; height: 100%; }
.share-name { font-family: var(--sans); font-weight: 800; font-size: 1.0625rem; line-height: 1.2; }
.share-q { margin-top: 0.125rem !important; font-size: 0.875rem; line-height: 1.35; }
.share-card-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.share-go, .share-post { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 0.9375rem; border: 1.5px solid; border-radius: 999px; font-family: var(--sans); font-weight: 800; font-size: 0.875rem; line-height: 1; }
.share-go { border-color: #d93a00; background: #d93a00; color: #fff; }
.share-post { border-color: var(--ink); color: var(--ink); }
.share-go:hover, .share-go:focus-visible, .share-post:hover, .share-post:focus-visible { border-color: #000; background: var(--narcissus); color: #000; }
html[data-theme="dark"] .share-box { --share-edge: #3a3a3a; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .share-box { --share-edge: #3a3a3a; } }
@media print { .share-box { display: none; } }

/* ---- v45: Raf Adel's photo on About, centred above "Hi, I'm Raf" (owner, December 4, 2026); shown only, not a link ---- */
.about-photo { margin: 0.5rem auto 1.75rem; width: 15rem; max-width: 70%; }
.about-photo img { display: block; width: 100%; height: auto; border-radius: 50%; }

/* ---- v45: the eleven new quizzes (owner, December 4, 2026) ---- */
.qr-ticks.at { position: relative; display: block; height: 1.15rem; }
.qr-ticks.at > span:not(.vh) { position: absolute; top: 0; white-space: nowrap; }
@media (max-width: 30rem) { .qr-ticks.at .w { display: none; } }
.qr-note { margin: 0 0 0.9rem; color: var(--soft); font-size: 0.9375rem; }
.quiz-pair { display: grid; gap: 0.45rem; margin: 0.8rem 0 0 2.35rem; }
.quiz-pair label { position: relative; display: block; cursor: pointer; }
.quiz-pair input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.quiz-pair span { display: block; padding: 0.6rem 0.85rem; border: 1px solid var(--ink); border-radius: 0.6rem; line-height: 1.45; transition: background-color 0.16s ease-out, color 0.16s ease-out; }
.quiz-pair strong { margin-right: 0.45rem; font-weight: 700; }
.quiz-pair label:hover span { background: var(--narcissus); color: #000; }
.quiz-pair input:checked + span { background: var(--ink); color: var(--paper); }
.quiz-pair input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--narcissus); }
@media (max-width: 24.4rem) { .quiz-pair { margin-left: 0; } }
.finder-art { max-width: 36.25rem; margin: 0 0 2rem; }
/* Quiz nudges (owner, December 4, 2026): a light line after the first mention of a quiz, with a direct link */
.prose .quiz-nudge { font-size: 0.95em; color: var(--soft, inherit); margin-top: -0.35rem; }
.prose li .quiz-nudge { display: block; margin-top: 0.25rem; }
.prose .quiz-nudge a { font-weight: 600; }
.ig-nudge { margin: 1rem 0 0; } .ig-nudge .quiz-nudge { margin-top: 0; }
/* v45, owner, December 4, 2026 (proposal 4): Right Now I Feel smaller, its buttons off-white, and under them the sentence
   about someone else with dashed buttons */
:root { --chip-off: #FBF9F4; }
html[data-theme="dark"] { --chip-off: var(--paper); }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) { --chip-off: var(--paper); } }
[data-finder] .band-head .h2 { font-size: 1.45rem; }
[data-finder] .band-head { margin-bottom: 1rem; }
[data-finder] .chip:not(:hover):not([aria-current="true"]) { background: var(--chip-off); }
.feel-other { margin-top: 2.4rem; }
.feel-other-label { font: 600 0.8rem/1.3 Figtree, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); margin: 0 0 0.6rem; }
.feel-other-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.6rem; }
.feel-other-row .chips { display: contents; }
.feel-other-lead { font: 800 1.05rem/1.3 Figtree, sans-serif; margin-right: 0.3rem; }
.chip.chip-other { border-style: dashed; }
.start-other { margin: 1rem 0 1.5rem; color: var(--soft); }
