/* =============================================================
   THE PROFILE / HUB (?dev=profile)

   Two zones on a near-black archive ground:
   PROFILE — neutral identity above the full-width pale Shelf boundary.
   SHELF — the reading and crown lead, followed by the open ledger sections.

   Colour law: "crown + hairline ink" — the crown SVG is the ONE gold object; the hairline
   section rules/spines stay as low-alpha warm ink; saturated gold is pulled off wayfinding
   (doors, tabs, labels, CTAs, the '+') to warm-grey. Focus ring stays gold (canon). NO pure
   white. Violet reserved for commerce — the one paid register (the Rings "read for someone").
============================================================= */

.pf {
  --pf-gold: #a2864a;          /* muted antique gold — dimmed from #c9a35c (too bright) */
  --pf-gold-lit: #c0a05d;
  --pf-cream: #e9e5dc;
  --pf-cream-display: #dcd6c9;
  --pf-crown: #e0dacd;
  --pf-room: #0a0b0d;
  --pf-tab-bg: #0c0d11;                       /* folder-tab chip — one hair above the floor */
  --pf-line: rgba(201, 163, 92, 0.13);
  --pf-line-soft: rgba(201, 163, 92, 0.07);
  --pf-line-cut: rgba(201, 163, 92, 0.22);    /* section spine + top-rule start */
  --pf-body: #b1ada4;
  --pf-meta: #9c9790;
  --pf-ghost: #96918a;
  /* BR-S384: was commented "defined, unused here" while four rules below consume it
     and vaultHTML() emits pf-paid on every visit. Violet marks a door that leads
     somewhere paid — a warning, not a sale. Prices themselves live in the room. */
  --pf-violet: #8a6fb0;                        /* commerce register — the paid-door mark */
  --pf-violet-lit: #a487c8;
  --pf-violet-line: rgba(138, 111, 176, 0.4);
  --pf-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --pf-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  /* BR-S388 — THE MONO LADDER. This register was 8 sizes (8 / 8.5 / 9 / 9.5 / 10 /
     10.5 / 11, plus a stray 15) across TWELVE trackings (.04–.28em) over 30 rules —
     not a scale, just every value anyone ever needed. Differences that small carry no
     rank, so they are pure noise, and every element added as the page fills invented a
     ninth value because there was no ladder to snap to. The named failure:
     `.pf-friend__crown` (9px/.12em) and `.pf-friend__vis` (10px/.08em) are adjacent
     siblings in one <a> — same family, case and colour, 1px and .04em apart — and
     BR-S180 removed the gap that used to hide it.

     THREE STEPS, and the tracking belongs to the step because small caps need more
     air the smaller they get:
       micro  the quietest keys and chips
       label  section labels, row keys — the bulk of the page
       meta   the readable step: links, spines, the handle

     MONO THAT IS A SENTENCE is not in the ladder's tracking: prose set at .2em is
     unreadable. It takes a step's SIZE and one shared prose tracking, so it still
     snaps to the ladder without being typeset as a label. */
  --pf-mono-micro: 8.5px;   --pf-mono-micro-trk: .2em;
  --pf-mono-label: 9.5px;   --pf-mono-label-trk: .16em;
  --pf-mono-meta:  10.5px;  --pf-mono-meta-trk:  .1em;
  --pf-mono-prose-trk: .04em;
  --pf-ui: system-ui, -apple-system, "Segoe UI", sans-serif;

  position: fixed; inset: 0; z-index: 30;
  overflow-y: auto; overflow-x: hidden;
  background: radial-gradient(120% 66% at 50% 0%, #15110b 0%, #0a0b0d 56%, #070607 100%);
  color: var(--pf-body); font-family: var(--pf-ui); -webkit-font-smoothing: antialiased;
}
.pf *, .pf *::before, .pf *::after { box-sizing: border-box; }
.pf :focus-visible { outline: 2px solid var(--pf-gold-lit); outline-offset: 3px; }
.pf-defs { position: absolute; }

/* ---------- masthead — room doors (above the surface box) ---------- */
.pf-top {
  position: sticky; top: 0; z-index: 14;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 17px clamp(16px, 4vw, 46px) 13px;
  background: linear-gradient(to bottom, rgba(10,11,13,.98), rgba(10,11,13,.55) 72%, rgba(10,11,13,0));
  backdrop-filter: blur(2px);
}
.pf-wordmark { display: inline-flex; align-items: baseline; gap: 9px; text-decoration: none; font-family: var(--pf-serif); font-weight: 600; font-size: 20px; letter-spacing: .015em; color: var(--pf-cream-display); transition: color .18s; }
.pf-wordmark__mark { color: var(--pf-gold); font-size: 12px; transform: translateY(-1px); }
.pf-wordmark:hover, .pf-wordmark:focus-visible { color: var(--pf-crown); outline: none; }

/* ---------- shell ---------- */
/* Shared shelf edges; paragraphs retain their own comfortable reading measure. */
.pf-wrap { width: min(1120px, 92vw); margin: 0 auto; padding: clamp(14px, 3vh, 30px) 0 80px; }

/* ---------- profile space above the full-width shelf boundary ---------- */
.pf-surface, .pf-shelfreading {
  position: relative; isolation: isolate; text-align: left;
  left: 50%; transform: translateX(-50%);
  width: min(1120px, 92vw);
}
.pf-surface {
  min-height: clamp(200px, 28vh, 300px);
  display: flex; align-items: center;
  margin: 0; padding: 32px 0 40px;
}
.pf-surface > .pf-id { padding-left: 0; min-width: 0; gap: 20px; }
.pf-surface .pf-id__av {
  width: 64px; height: 64px; font-size: 28px;
  border-color: rgba(233, 229, 220, .22); background: rgba(233, 229, 220, .025);
}
.pf-surface .pf-id__bearer { margin: 0; font-size: clamp(30px, 4vw, 44px); }
.pf-surface .pf-id__txt { min-width: 0; overflow-wrap: anywhere; }
.pf-shelfreading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  grid-template-areas: "reading crown";
  align-items: center; column-gap: clamp(32px, 5vw, 80px);
  margin: 0; padding: 12px 0 38px;
}
.pf-shelfreading > .pf-crownname { grid-area: reading; margin: 0; padding-left: 0; min-width: 0; }
.pf-shelfreading > .pf-crownstage { grid-area: crown; margin: 0; padding: 0; min-width: 0; }
.pf-shelfreading .pf-id__name { overflow-wrap: anywhere; }
@media (max-width: 800px) {
  .pf-surface { min-height: 180px; padding: 24px 0 40px; }
  .pf-shelfreading {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "reading" "crown";
    padding: 8px 0 28px;
  }
  .pf-shelfreading > .pf-crownstage { margin-top: 32px; }
}

/* identity — a quiet LEFT header, name starting at the section column edge */
.pf-id { display: flex; align-items: center; gap: 14px; padding-left: 23px; }
.pf-id__av { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--pf-line); display: grid; place-items: center; font-family: var(--pf-serif); font-weight: 600; font-size: 21px; color: var(--pf-gold); flex: none; background: rgba(162,134,74,.06); }
.pf-id__txt { display: flex; flex-direction: column; }
/* the identity name — white, with a black oil/ink edge rippling around the letters */
.pf-id__name { font-family: var(--pf-serif); font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.05; letter-spacing: .012em; color: #f4f3ef; filter: url(#pfOil); }
@media (prefers-reduced-motion: reduce) { .pf-id__name { filter: none; } }
.pf-id__handle { font-family: var(--pf-mono); font-size: var(--pf-mono-meta); letter-spacing: var(--pf-mono-prose-trk); color: var(--pf-meta); margin-top: 4px; }
.pf-id__born { color: var(--pf-ghost); letter-spacing: .1em; }

/* the Crown — the reading button (staged centrally by .pf-crownstage, see below) */
.pf-crownbtn { display: inline-flex; flex: none; background: none; border: 1px solid transparent; border-radius: 12px; padding: 8px; cursor: pointer; transition: border-color .18s, background .18s; }
.pf-crownbtn:hover, .pf-crownbtn:focus-visible { border-color: var(--pf-line); background: rgba(162,134,74,.035); outline: none; }
.pf-crown-svg { width: clamp(104px, 17vw, 148px); height: auto; filter: drop-shadow(0 8px 12px rgba(0,0,0,.18)); }
.pf-crownbtn:hover .pf-crown-svg { filter: drop-shadow(0 8px 12px rgba(0,0,0,.24)); }
.pf-crown-empty { width: clamp(140px, 24vw, 180px); aspect-ratio: 1 / .62; display: grid; place-items: center; border: 1px dashed var(--pf-violet-line); border-radius: 4px; color: var(--pf-violet-lit); font-family: var(--pf-mono); font-size: var(--pf-mono-label); letter-spacing: var(--pf-mono-label-trk); text-transform: uppercase; text-align: center; line-height: 1.9; padding: 12px; }
/* the reading's provenance line under the crown */
.pf-prov { font-family: var(--pf-serif); font-style: italic; font-size: 14.5px; color: var(--pf-meta); margin: 0; max-width: 40ch; line-height: 1.5; }
.pf-openreading--lg { padding: 10px 22px; font-size: 10.5px; letter-spacing: .18em; border: 1px solid var(--pf-line-cut); border-radius: 999px; }
.pf-openreading--lg:hover, .pf-openreading--lg:focus-visible { border-color: var(--pf-gold); }

/* PAID register — violet, the one commerce colour; every control that leads to paid content */
.pf-openreading.pf-paid { color: var(--pf-violet-lit); border-color: var(--pf-violet-line); }
.pf-openreading.pf-paid:hover, .pf-openreading.pf-paid:focus-visible { border-color: var(--pf-violet); color: #bda6e4; }
.pf-crownbtn--empty:hover, .pf-crownbtn--empty:focus-visible { border-color: transparent; background: rgba(138,111,176,.06); }
.pf-mini--add.pf-paid { color: var(--pf-violet-lit); border-color: var(--pf-violet-line); }
.pf-mini--add.pf-paid:hover, .pf-mini--add.pf-paid:focus-visible { border-color: var(--pf-violet); color: #bda6e4; }
.pf-mini--add.pf-paid .pf-mini__plus, .pf-mini--add.pf-paid .pf-mini__n { color: var(--pf-violet-lit); }

/* ---------- THE REFERRAL BAR ----------
   BR-S387: this was headed "shared in-body door bar — every door speaks one language",
   which invites an editor to change it believing every door follows. All seven uses
   are inside referralHTML(). The rooms use `.pf-roomdoor`; that is the shared one. */
.pf-doorbar {
  display: flex; align-items: center; gap: 16px; width: 100%; text-decoration: none; text-align: left; cursor: pointer;
  border: 1px solid var(--pf-line); border-radius: 6px; padding: 16px 20px;
  background: linear-gradient(180deg, rgba(233,229,220,.014), transparent 60%);
  transition: border-color .18s, background .18s;
}
.pf-doorbar:hover, .pf-doorbar:focus-visible { border-color: var(--pf-gold); background: rgba(201,163,92,.05); outline: none; }
.pf-doorbar--referral { margin-top: clamp(32px, 5.5vh, 52px); }
.pf-doorbar__seal { width: 34px; height: 34px; color: var(--pf-gold); flex: none; }
.pf-doorbar__txt { flex: 1; }
/* BR-S387 — ONE DOOR LEVEL. This was 21px/600 against room doors at 18px/400 and the
   identity chip at 19px/600: the loudest door label on the page belonged to the one
   door that goes nowhere. referralHTML() says "not open yet" and its handler answers
   "(Mocked.)". Worse in the empty state, where the crowned name is gated off entirely
   — "Share Blue Room" was then the biggest door label a new visitor saw, on their own
   profile. Doors now all speak at 18px/400; the step above is reserved for identity. */
.pf-doorbar__t { font-family: var(--pf-serif); font-weight: 400; font-size: 18px; color: var(--pf-cream-display); line-height: 1.1; display: block; }
.pf-doorbar__s { font-family: var(--pf-mono); font-size: var(--pf-mono-label); letter-spacing: var(--pf-mono-prose-trk); color: var(--pf-meta); margin-top: 5px; display: block; }
.pf-doorbar__arr { margin-left: auto; color: var(--pf-gold); font-size: 18px; transition: transform .18s; }
.pf-doorbar:hover .pf-doorbar__arr, .pf-doorbar:focus-visible .pf-doorbar__arr { transform: translateX(3px); }

/* open-this-reading (free, gold). The redraw door it used to sit beside was removed on
   11 Sep 2026: there is no second purchase of your own crown. */
.pf-openreading { background: none; border: 0; cursor: pointer; padding: 6px 2px; text-decoration: none; font-family: var(--pf-mono); font-size: var(--pf-mono-meta); font-weight: 500; letter-spacing: var(--pf-mono-meta-trk); text-transform: uppercase; color: var(--pf-gold); border-bottom: 1px solid var(--pf-line); transition: color .18s, border-color .18s; }
.pf-openreading:hover, .pf-openreading:focus-visible { color: var(--pf-gold-lit); border-color: var(--pf-gold); outline: none; }

/* ---------- UNDERGROUND — sections as open L-bracket ledger panels ---------- */
.pf-sec {
  position: relative; margin: 38px 0 0; padding: 26px 0 0;
  border-top: 1px solid rgba(233,229,220,.14);
}
.pf-sec__h {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin: 0 0 14px; font-family: var(--pf-mono); font-size: 11px;
  font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-meta);
}
.pf-sec__note { font-size: 10px; font-weight: 400; letter-spacing: .06em; color: var(--pf-meta); }
.pf-lede { font-family: var(--pf-serif); font-size: 18px; line-height: 1.5; color: var(--pf-body); max-width: 56ch; margin: 0 0 22px; }
/* BR-S384: Minted is the one section that renders a lede with NO body, so its 20px
   bottom margin had nothing to push against and nothing to collapse into — .pf-sec's
   left padding blocks collapse — and the section closed 20px lower than every other.
   The emptiest section looked like the one with its content clipped out. This covers
   every future conditionally-empty section too. */
.pf-lede:last-child { margin-bottom: 0; }

/* BR-S382 — the Vault's "read for someone" control and, when they exist, ring
   mini-crowns beside it. Was headed "Rings (§3.4)", a name this section has not had
   since BR-S372 and a spec paragraph that no longer describes it. */
/* BR-S374 — `gap` is an INTER-item rule; it does nothing to this box's own top
   edge, so the dashed add-box stacked its border straight onto the Rings row's
   hairline — the one place on the page where two drawn edges met with no air.
   12px is the vault rows' own padding unit, so the box breathes like a row. */
.pf-family { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.pf-mini { flex: 0 0 auto; width: 144px; border: 1px solid var(--pf-line-soft); border-radius: 4px; padding: 16px 12px 14px; text-align: center; background: rgba(233,229,220,.018); }
.pf-mini__label { font-family: var(--pf-serif); font-size: 16px; color: var(--pf-cream); margin: 5px 0 0; line-height: 1.25; }
.pf-mini__n { font-family: var(--pf-mono); font-size: var(--pf-mono-meta); letter-spacing: var(--pf-mono-prose-trk); color: var(--pf-meta); margin: 6px 0 0; }
.pf-mini--add { min-height: 128px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--pf-ghost); cursor: pointer; border-style: dashed; background: none; }
.pf-mini--add:hover, .pf-mini--add:focus-visible { color: var(--pf-gold-lit); border-color: var(--pf-gold); outline: none; }
.pf-mini__plus { font-size: 20px; line-height: 1; color: var(--pf-gold); }
.pf-mini--add .pf-mini__label { color: inherit; }
.pf-mini--add .pf-mini__n { color: var(--pf-ghost); }

/* "Read for someone" → the family-tree relation picker (paid, violet) */
.pf-mini--add-wrap { position: relative; width: 144px; flex: 0 0 auto; display: flex; }
.pf-mini--add-wrap .pf-mini--add { width: 100%; }
.pf-relmenu { position: absolute; left: 0; top: calc(100% + 8px); z-index: 20; width: 264px; padding: 13px; background: #131117; border: 1px solid var(--pf-violet-line); border-radius: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.55); }
.pf-relmenu[hidden] { display: none; }
.pf-relmenu__h { font-family: var(--pf-mono); font-size: var(--pf-mono-label); letter-spacing: var(--pf-mono-label-trk); text-transform: uppercase; color: var(--pf-meta); margin: 0 0 11px; }
.pf-relmenu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pf-relopt { text-align: left; background: none; border: 1px solid var(--pf-line); border-radius: 5px; padding: 9px 12px; cursor: pointer; font-family: var(--pf-serif); font-size: 15px; color: var(--pf-cream); transition: border-color .15s, background .15s, color .15s; }
.pf-relopt:hover, .pf-relopt:focus-visible { border-color: var(--pf-violet); color: var(--pf-violet-lit); background: rgba(138,111,176,.08); outline: none; }

/* BR-S382 — THE MINTED REGISTER, not the Vault. This comment said "the vault" and
   headed a class only `mintedHTML()` consumes; the real Vault is `.pf-vaultbox` /
   `.pf-vaultrow` 500 lines down. An editor told to style the Vault greps `vault`,
   hits this first, and edits the ADJACENT section — a mistake that looks plausible on
   screen. Renamed so `pf-vault*` belongs to one thing. */
.pf-minted { display: grid; grid-template-columns: 1fr; gap: 16px; }
.pf-cards { display: flex; gap: 14px; overflow-x: auto; padding: 2px 2px 10px; }
.pf-card { position: relative; flex: 0 0 auto; width: 134px; aspect-ratio: 3 / 4.3; border: 1px solid var(--pf-line); border-radius: 9px; overflow: hidden; display: flex; flex-direction: column; text-align: left; cursor: pointer; background: linear-gradient(180deg, #101217, #0b0c10); transition: border-color .18s, transform .08s, box-shadow .22s; }
.pf-card:hover, .pf-card:focus-visible { border-color: var(--pf-gold); box-shadow: 0 12px 30px rgba(0,0,0,.45); outline: none; }
.pf-card:active { transform: translateY(1px); }
/* the art plate — where the mint image sits; ghosted seal placeholder for now */
.pf-card__art { flex: 1; display: grid; place-items: center; border-bottom: 1px solid var(--pf-line-soft); background: radial-gradient(120% 80% at 50% 22%, rgba(162,134,74,.12), rgba(10,11,13,0) 68%), linear-gradient(158deg, rgba(162,134,74,.07), rgba(10,11,13,0) 60%); }
.pf-card__art svg { width: 32px; height: 32px; color: var(--pf-gold); opacity: .32; }
.pf-card:hover .pf-card__art svg { opacity: .5; }
.pf-card__cap { padding: 9px 11px 11px; }
.pf-card__k { display: block; font-family: var(--pf-mono); font-size: var(--pf-mono-micro); letter-spacing: var(--pf-mono-micro-trk); text-transform: uppercase; color: var(--pf-ghost); }
.pf-card__n { display: block; font-family: var(--pf-serif); font-size: 15px; color: var(--pf-cream); line-height: 1.15; margin-top: 3px; }

/* showcase — choosable slots: feature a reading result or a minted card */
.pf-show { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.pf-slotwrap { position: relative; }
.pf-slot { width: 100%; min-height: 120px; display: flex; flex-direction: column; cursor: pointer; border-radius: 6px; padding: 16px 14px; transition: border-color .18s, background .18s, color .18s; }
.pf-slot--empty { align-items: center; justify-content: center; gap: 7px; text-align: center; border: 1px dashed var(--pf-line); background: rgba(233,229,220,.012); color: var(--pf-ghost); }
.pf-slot--empty:hover, .pf-slot--empty:focus-visible { border-color: var(--pf-gold); color: var(--pf-gold-lit); outline: none; }
.pf-slot__plus { font-size: 22px; line-height: 1; color: var(--pf-gold); }
.pf-slot__hint { font-family: var(--pf-mono); font-size: var(--pf-mono-label); letter-spacing: var(--pf-mono-label-trk); text-transform: uppercase; line-height: 1.7; }
.pf-slot--filled { border: 1px solid var(--pf-line); background: rgba(233,229,220,.02); }
.pf-slot--filled:hover, .pf-slot--filled:focus-visible { border-color: var(--pf-gold); outline: none; }
.pf-slot__kind { font-family: var(--pf-mono); font-size: var(--pf-mono-micro); letter-spacing: var(--pf-mono-micro-trk); text-transform: uppercase; color: var(--pf-gold); }
.pf-slot__t { font-family: var(--pf-serif); font-size: 19px; color: var(--pf-cream); line-height: 1.15; margin-top: 4px; text-align: left; }
.pf-slot__change { font-family: var(--pf-mono); font-size: var(--pf-mono-micro); letter-spacing: var(--pf-mono-micro-trk); text-transform: uppercase; color: var(--pf-meta); margin-top: auto; padding-top: 12px; }

/* the pick menu — choose a reading result or a minted card */
.pf-pickmenu { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; padding: 13px; background: #131117; border: 1px solid var(--pf-line); border-radius: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.55); }
.pf-pickmenu[hidden] { display: none; }
.pf-pickmenu__h { font-family: var(--pf-mono); font-size: var(--pf-mono-label); letter-spacing: var(--pf-mono-label-trk); text-transform: uppercase; color: var(--pf-meta); margin: 0 0 9px; }
.pf-pickmenu__grid + .pf-pickmenu__h { margin-top: 14px; }
/* BR-S386 — the way back out of a filled slot. Deliberately the quietest thing in the
   menu and set apart by a rule: it is not a fourth option to feature, it is the
   undo. It only exists on a slot that has something in it. */
.pf-pickclear {
  display: block; width: 100%; margin-top: 12px; padding-top: 11px;
  border: 0; border-top: 1px solid var(--pf-line-soft); background: none;
  text-align: left; cursor: pointer;
  font-family: var(--pf-serif); font-style: italic; font-size: 14.5px; color: var(--pf-ghost);
  transition: color .15s;
}
.pf-pickclear:hover, .pf-pickclear:focus-visible { color: var(--pf-cream); }
.pf-pickmenu__grid { display: flex; flex-direction: column; gap: 5px; }
.pf-pickopt { display: flex; align-items: baseline; gap: 10px; text-align: left; background: none; border: 1px solid var(--pf-line-soft); border-radius: 5px; padding: 8px 11px; cursor: pointer; transition: border-color .15s, background .15s; }
.pf-pickopt:hover, .pf-pickopt:focus-visible { border-color: var(--pf-gold); background: rgba(201,163,92,.06); outline: none; }
.pf-pickopt__k { font-family: var(--pf-mono); font-size: var(--pf-mono-micro); letter-spacing: var(--pf-mono-micro-trk); text-transform: uppercase; color: var(--pf-gold); flex: none; min-width: 64px; }
.pf-pickopt__n { font-family: var(--pf-serif); font-size: 15px; color: var(--pf-cream); }
.pf-pickempty { font-family: var(--pf-mono); font-size: var(--pf-mono-label); letter-spacing: var(--pf-mono-prose-trk); color: var(--pf-ghost); margin: 0; line-height: 1.6; }

/* friends */
.pf-friends { display: flex; flex-direction: column; }
.pf-friend { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--pf-line-soft); text-decoration: none; color: inherit; }
.pf-friend:last-of-type { border-bottom: 0; }
/* BR-S386 — the page's only inert clickable rows. `.pf-roomdoor` lifts a background
   and brightens its name; the lede here promises "Open a friend to see their profile"
   and the row gave no sign it could be opened. Matched to the room door, minus its
   arrow, which these do not have. Note: NO `outline: none` — the neighbours carry it
   and should not; focus is handled page-wide at .pf :focus-visible. */
.pf-friend { transition: background .18s ease; }
.pf-friend:hover, .pf-friend:focus-visible { background: rgba(233, 229, 220, .02); }
.pf-friend:hover .pf-friend__n, .pf-friend:focus-visible .pf-friend__n { color: var(--pf-cream-display); }
.pf-friend__av { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--pf-line); display: grid; place-items: center; font-family: var(--pf-serif); font-size: 16px; color: var(--pf-gold); flex: none; }
.pf-friend__n { font-family: var(--pf-serif); font-size: 18px; color: var(--pf-cream); flex: 1; }
.pf-friend__crown { font-family: var(--pf-mono); font-size: var(--pf-mono-label); letter-spacing: var(--pf-mono-label-trk); text-transform: uppercase; color: var(--pf-meta); }
.pf-friend__vis { font-family: var(--pf-mono); font-size: var(--pf-mono-micro); letter-spacing: var(--pf-mono-micro-trk); text-transform: uppercase; color: var(--pf-meta); }
.pf-addfriend { margin: 16px 0 0; background: none; border: 1px solid var(--pf-line); border-radius: 3px; padding: 9px 16px; cursor: pointer; font-family: var(--pf-mono); font-size: var(--pf-mono-label); letter-spacing: var(--pf-mono-label-trk); text-transform: uppercase; color: var(--pf-meta); transition: border-color .18s, color .18s; }
.pf-addfriend:hover, .pf-addfriend:focus-visible { border-color: var(--pf-gold); color: var(--pf-gold-lit); outline: none; }

/* footer — bedrock */
.pf-foot { margin: clamp(44px, 8vh, 72px) 0 0; padding-top: 24px; border-top: 1px solid var(--pf-line-soft); font-family: var(--pf-mono); font-size: var(--pf-mono-label); letter-spacing: var(--pf-mono-prose-trk); color: var(--pf-ghost); line-height: 1.9; text-align: center; }

/* ============================================================
   BR-S180 EASY BATCH — append-only overrides (leaves the praised
   section rules + crown untouched; specificity keeps the paid violet).
   1) the assembled name as hero  2) gold law "crown + hairline ink"
   3) intimate 620px column  4) ground grain  5) friends-row fix
   6) small-text contrast lift
============================================================ */

/* 1 — the assembled name is the artifact: the largest type, oil-edge treatment.
   The bearer's real name + the spine that composed it drop to quiet provenance. */
.pf-id__name { font-size: clamp(30px, 4.6vw, 46px); margin: 0; }
.pf-id__bearer { font-family: var(--pf-serif); font-weight: 600; font-size: 19px; line-height: 1.12; color: var(--pf-cream-display); }
.pf-crownname { padding-left: 23px; margin: clamp(14px, 2.6vh, 22px) 0 0; }
.pf-crownname__spine { font-family: var(--pf-mono); font-size: var(--pf-mono-meta); letter-spacing: var(--pf-mono-meta-trk); text-transform: uppercase; color: var(--pf-meta); margin: 9px 0 0; }
/* BR-S396 — the one line saying what a reading contains (§10 Q9). Serif, because it is
   a sentence and not a label; below the spine, because the spine is THIS reading and
   this is what a reading IS. In the empty state it is the only description of the
   thing on offer, so it stands alone with its own air above. */
.pf-what { font-family: var(--pf-serif); font-size: 16px; font-style: italic; line-height: 1.55; color: var(--pf-meta); margin: 11px 0 0; max-width: 52ch; }
.pf-crownname--empty { margin-top: clamp(18px, 3vh, 30px); }

/* 2 — gold law: saturated gold pulled off wayfinding → warm-grey.
   Crown SVG, hairline section rules, and the focus ring KEEP their gold. */
.pf-wordmark__mark,
.pf-doorbar__seal, .pf-doorbar__arr,
.pf-sec__h,
.pf-openreading,
.pf-mini__plus, .pf-slot__plus, .pf-slot__kind,
.pf-pickopt__k,
.pf-friend__av { color: var(--pf-meta); }
.pf-id__av { color: var(--pf-cream-display); }
.pf-openreading:hover, .pf-openreading:focus-visible,
.pf-mini--add:hover, .pf-mini--add:focus-visible,
.pf-slot--empty:hover, .pf-slot--empty:focus-visible,
.pf-addfriend:hover, .pf-addfriend:focus-visible { color: var(--pf-cream-display); }
.pf-doorbar:hover, .pf-doorbar:focus-visible,
.pf-openreading--lg:hover, .pf-openreading--lg:focus-visible,
.pf-slot--empty:hover, .pf-slot--empty:focus-visible,
.pf-slot--filled:hover, .pf-slot--filled:focus-visible,
.pf-pickopt:hover, .pf-pickopt:focus-visible,
.pf-mini--add:hover, .pf-mini--add:focus-visible,
.pf-addfriend:hover, .pf-addfriend:focus-visible,
.pf-card:hover, .pf-card:focus-visible { border-color: var(--pf-line-cut); }
.pf-doorbar:hover, .pf-doorbar:focus-visible,
.pf-pickopt:hover, .pf-pickopt:focus-visible { background: rgba(233, 229, 220, .03); }

/* 3 + 4 — intimate column, and a fine static grain on the ground (rendered once,
   under content, kills banding + gives the void a paper tooth). Not animated. */
.pf-wrap { position: relative; z-index: 1; }   /* BR-S392: width lives once, at the definition */
.pf::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: .05; mix-blend-mode: soft-light;
}

/* 5 — friends row: the crown-epithet rides beside the name instead of the far edge */
.pf-friend__n { flex: 0 1 auto; }

/* 6 — lift instructive small text off the dim ghost tier */
.pf-slot__hint { color: var(--pf-meta); }
.pf-foot { color: var(--pf-meta); }

/* ============================================================
   BR-S181 — the crown gets its own centered band: a single-object
   museum display (warm pool of light + lit-object shadow stack),
   enlarged, generous air above/below, caption below, nothing beside.
============================================================ */
.pf-crownstage {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  /* BR-S374 — the bottom clamp moved to `.pf-shelfline`'s top margin. It was
     collapsing through the surface onto the line anyway; now the line declares
     the gap it actually renders. The crownstage is always the last child here
     (both the crowned and the empty branch), so nothing else loses air. */
  margin: clamp(40px, 8vh, 88px) 0 0;
  padding: clamp(24px, 5vh, 52px) 0 0;
}
/* the pool of light — warm, fades fully to transparent (no box edge, no halation) */
.pf-crownstage::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: min(440px, 96%); height: 330px;
  background: radial-gradient(ellipse at center, rgba(201, 163, 92, .11) 0%, rgba(201, 163, 92, .045) 38%, transparent 68%);
}
/* enlarged centerpiece + lit-object shadow stack (contact + warm glow + soft halo) */
.pf-crownstage .pf-crown-svg {
  width: clamp(160px, 24vw, 210px);
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.18));
}
.pf-crownstage .pf-crownbtn:hover .pf-crown-svg,
.pf-crownstage .pf-crownbtn:focus-visible .pf-crown-svg {
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.24));
}
/* caption below the crown, centered — nothing sits beside the object */
.pf-crownstage__cap { margin-top: clamp(16px, 2.6vh, 26px); }
.pf-crownstage__cap .pf-prov { max-width: 42ch; margin: 0 auto; text-align: center; }
.pf-crownstage__cap .pf-openreading { display: inline-block; margin-top: 14px; }

/* ============================================================
   BR-S182 — "The Rooms": the hub's doors block (a labelled door per
   room + deadpan descriptor), plus incised (letterpress) dividers.
============================================================ */
.pf-rooms { display: flex; flex-direction: column; }
.pf-roomdoor {
  display: flex; align-items: baseline; gap: 14px; padding: 13px 2px;
  text-decoration: none; color: inherit; cursor: pointer;
  border-bottom: 1px solid var(--pf-line-soft);
  box-shadow: 0 1px 0 rgba(224, 218, 205, .025);   /* incised lip — a groove, not a drawn line */
  transition: background .18s;
}
.pf-roomdoor:last-of-type { border-bottom: 0; box-shadow: none; }
.pf-roomdoor:hover, .pf-roomdoor:focus-visible { background: rgba(233, 229, 220, .02); outline: none; }
.pf-roomdoor__n { font-family: var(--pf-serif); font-size: 18px; color: var(--pf-cream); flex: none; }
.pf-roomdoor:hover .pf-roomdoor__n, .pf-roomdoor:focus-visible .pf-roomdoor__n { color: var(--pf-cream-display); }
.pf-roomdoor__d { font-family: var(--pf-mono); font-size: var(--pf-mono-label); letter-spacing: var(--pf-mono-label-trk); text-transform: uppercase; color: var(--pf-meta); }
.pf-roomdoor__arr { margin-left: auto; color: var(--pf-meta); font-size: 15px; transition: transform .18s; }
.pf-roomdoor:hover .pf-roomdoor__arr, .pf-roomdoor:focus-visible .pf-roomdoor__arr { transform: translateX(3px); }

/* incised dividers elsewhere — a whisper of highlight below the hairline = a cut groove */
.pf-friend { box-shadow: 0 1px 0 rgba(224, 218, 205, .022); }
.pf-friend:last-of-type { box-shadow: none; }

/* ============================================================
   BR-S184 ELEVATION — "one lamp, one room": the crown lights the
   whole column with a warm falloff, and its pool breathes; plus the
   dated museum label, last contrast lifts, and a high-contrast opt-out.
============================================================ */

/* the room lamp — one soft warm pool anchored at the crown, falling off down
   the column so the ledger sits in residual warmth then recedes to archive-dark.
   Sits above the ground + grain, below content. */
.pf-shelf::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw;
  transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(130% 52% at 50% 15%, rgba(201, 163, 92, .065) 0%, rgba(201, 163, 92, .02) 42%, transparent 70%);
}

/* the crown's pool breathes — a candle-slow swell, never a pulse (motion-safe) */
@keyframes pfBreath { 0%, 100% { opacity: .82; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .pf-crownstage::before { animation: pfBreath 12s ease-in-out infinite; }
}

/* the dated museum label under the crown — the second thing worth pausing on */
.pf-crownstage__filed {
  font-family: var(--pf-mono); font-size: var(--pf-mono-label); letter-spacing: var(--pf-mono-label-trk); text-transform: uppercase;
  color: var(--pf-meta); margin: 10px 0 0;
}

/* contrast — lift the last small labels off the dim ghost tier */
.pf-sec__note, .pf-card__k { color: var(--pf-meta); }

/* honour high-contrast mode — drop the animated ink rim on the name */
@media (prefers-contrast: more) { .pf-id__name { filter: none; } }

/* ============================================================
   BR-S185 — THE SHELF ported into the profile's museum language.
   Vault-specific .pf-* additions only; the rest reuses profile classes
   (.pf-wrap / .pf-sec / .pf-crownstage__cap / .pf-prov / .pf-openreading).
============================================================ */
.pf-back { display: inline-block; margin: 0 0 clamp(16px, 3.5vh, 30px); font-family: var(--pf-mono); font-size: var(--pf-mono-meta); letter-spacing: var(--pf-mono-meta-trk); text-transform: uppercase; color: var(--pf-meta); text-decoration: none; transition: color .18s; }
.pf-back:hover, .pf-back:focus-visible { color: var(--pf-cream-display); outline: none; }
/* BR-S307: the same control seated in the sticky masthead — no block margin, so it
   sits on the wordmark's baseline row instead of pushing the header open. */
.pf-back--top { margin: 0; }

.pf-vaulthead { text-align: center; }
.pf-vaulteyebrow { font-family: var(--pf-mono); font-size: var(--pf-mono-label); letter-spacing: var(--pf-mono-label-trk); text-transform: uppercase; color: var(--pf-meta); }
.pf-vaulttitle { font-family: var(--pf-serif); font-weight: 600; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.05; letter-spacing: .01em; color: var(--pf-cream-display); margin: 8px 0 0; }
.pf-vaultintro { font-family: var(--pf-serif); font-size: 15px; color: var(--pf-body); margin: 12px 0 0; }

/* the mint enshrined in a light pool — the crownstage form, sized for a portrait card */
.pf-vaultstage {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin: clamp(30px, 6vh, 64px) 0 clamp(38px, 8vh, 78px); padding: clamp(20px, 4vh, 42px) 0 0;
}
.pf-vaultstage::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 44%; transform: translate(-50%, -50%);
  width: min(460px, 100%); height: 110%;
  background: radial-gradient(ellipse 62% 54% at 50% 42%, rgba(201, 163, 92, .10) 0%, rgba(201, 163, 92, .04) 40%, transparent 70%);
}
@media (prefers-reduced-motion: no-preference) { .pf-vaultstage::before { animation: pfBreath 12s ease-in-out infinite; } }

/* BR-S265 — SCALE THE CARD, DO NOT SQUEEZE IT.
   This was `max-width: min(340px, 86vw)` on a card that declares `--card-w: 500px`
   (the room-crown tier). A max-width only narrows the BOX: every fixed-px piece of
   chrome inside keeps its 500px-crown size, so the card rendered 340 wide while its
   title stayed 32px and .card__plate kept 26px of padding — measured live. The card
   read wrong-proportioned rather than smaller, which is the "wrong dimension" as
   reported.
   styles.css already states the rule this broke, on .msample__card: "Render the card
   at a known-good natural width, then scale the whole artifact down proportionally
   with zoom so it keeps the room card's exact proportions (a width-only squeeze
   distorts the fixed chrome)." So: same instrument here. 500 x 0.68 = 340 rendered,
   identical footprint to before, correct proportions inside it.
   zoom (not transform:scale) deliberately — it collapses the layout box, so the
   surrounding composition and the gold vitrine brackets still measure the real
   rendered size and need no compensation. */
.pf-vaultcard { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; }
.pf-vaultcard__inner { position: relative; z-index: 1; width: 500px; zoom: 0.68; }
/* narrow: keep the same proportions, just less of them (86vw at 500px natural) */
@media (max-width: 620px) { .pf-vaultcard__inner { zoom: 0.52; } }
@media (max-width: 420px) { .pf-vaultcard__inner { zoom: 0.44; } }
/* faint gold vitrine brackets — the one retained museum motif */
.pf-vcrop { position: absolute; width: 14px; height: 14px; border: 1px solid var(--pf-line-cut); z-index: 2; pointer-events: none; }
.pf-vcrop--tl { top: -9px; left: -9px; border-right: 0; border-bottom: 0; }
.pf-vcrop--tr { top: -9px; right: -9px; border-left: 0; border-bottom: 0; }
.pf-vcrop--bl { bottom: -9px; left: -9px; border-right: 0; border-top: 0; }
.pf-vcrop--br { bottom: -9px; right: -9px; border-left: 0; border-top: 0; }

/* the quiet access micro-stack — no box, no header tab */
.pf-access { display: flex; flex-direction: column; align-items: center; gap: 5px; margin: 16px 0 0; }
.pf-access__qr { width: 88px; height: 88px; color: var(--pf-meta); opacity: .85; }
.pf-access__qr svg { width: 100%; height: 100%; display: block; }
.pf-access__id { font-family: var(--pf-mono); font-size: var(--pf-mono-meta); letter-spacing: var(--pf-mono-prose-trk); color: var(--pf-meta); }
.pf-access__cta { font-family: var(--pf-mono); font-size: var(--pf-mono-micro); letter-spacing: var(--pf-mono-micro-trk); text-transform: uppercase; color: var(--pf-ghost); }

/* SAVED MINTS — the profile's friend-row idiom */
.pf-mintlist { display: flex; flex-direction: column; }
.pf-mintrow { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 2px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--pf-line-soft); box-shadow: 0 1px 0 rgba(224, 218, 205, .022); color: inherit; cursor: default; }
.pf-mintrow:last-of-type { border-bottom: 0; box-shadow: none; }
.pf-mintrow--sel { cursor: pointer; }
.pf-mintrow--sel::before { content: ""; position: absolute; left: -6px; top: 24%; bottom: 24%; width: 2px; background: var(--pf-gold); border-radius: 1px; }
.pf-mintrow--sel:focus-visible { outline: 2px solid var(--pf-gold-lit); outline-offset: 3px; }
.pf-mintrow--cue { opacity: .6; }
.pf-mintrow--empty { opacity: .5; }
.pf-mintrow__thumb { width: 34px; height: 34px; border-radius: 5px; overflow: hidden; flex: none; border: 1px solid var(--pf-line); display: grid; place-items: center; background: rgba(233, 229, 220, .02); }
.pf-mintrow__thumb img, .pf-mintrow__img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* BR-S388: the one mono size deliberately OUTSIDE the ladder, and the only 15px in the
   register. It sets a single placeholder glyph inside an empty thumbnail box — a mark
   sized to its box, not type carrying rank — so snapping it to `meta` would shrink a
   drawn element to make a type scale tidy. Named here so it reads as a decision. */
.pf-mintrow__thumb--empty { border-style: dashed; color: var(--pf-ghost); font-family: var(--pf-mono); font-size: 15px; }
.pf-mintrow__n { font-family: var(--pf-serif); font-size: 17px; color: var(--pf-cream); flex: 0 1 auto; }
.pf-mintrow__id { font-family: var(--pf-mono); font-size: var(--pf-mono-label); letter-spacing: var(--pf-mono-label-trk); text-transform: uppercase; color: var(--pf-meta); margin-left: auto; }

/* ============================================================
   BR-S189 — THE DRAWING ROOM (?dev=drawing-room): the tarot room —
   the free single-card PULL, the free 3-card SITTING, the paid 5-card
   DEEP READ; positions + orientation, filing stamp, binding, hallmark, credo.
============================================================ */
.dr-fineprint { font-family: var(--pf-mono); font-size: 9.5px; letter-spacing: .06em; color: var(--pf-ghost); line-height: 1.7; margin: 14px auto 0; max-width: 48ch; }
/* BR-S530 — THE STANDING LINE. Deliberately the SECOND-largest type on the page, under the
   h1 (clamp(30px, 4.6vw, 46px)) and above the door names (20px serif): it is the room's one
   claim about what tarot does here, and it was previously set as fine print. The floor is
   21px so it still outranks a door name on a phone, where both stop scaling.
   `--pf-cream` not `--pf-cream-display` — it is read, not displayed; the h1 keeps the
   brighter ink so the hierarchy survives even where the sizes converge. */
.dr-standing { font-family: var(--pf-serif); font-size: clamp(21px, 2.4vw, 25px); line-height: 1.42; letter-spacing: .005em; color: var(--pf-cream); margin: 18px auto 0; max-width: 42ch; }
.dr-stage { margin: clamp(28px, 5vh, 54px) 0 0; }
.dr-loading { font-family: var(--pf-mono); font-size: 11px; letter-spacing: .1em; color: var(--pf-meta); text-align: center; }

/* the flip card (shared by pull + spread) */
.dr-cardbtn { background: none; border: 0; padding: 0; cursor: pointer; perspective: 1200px; }
/* BR-S317: a turned card keeps its button so the DOM identity the ceremony depends on
   survives the turn — but it is no longer a control, and it must stop offering itself
   as one. Still focusable on purpose: removing it from the tab order mid-reading would
   move the ground under a keyboard reader who has just turned it. */
.dr-cardbtn[aria-disabled="true"] { cursor: default; }
.dr-cardbtn:focus-visible { outline: 2px solid var(--pf-gold-lit); outline-offset: 6px; border-radius: 12px; }
.dr-card { position: relative; width: clamp(170px, 38vw, 210px); aspect-ratio: 120 / 190; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.4, 0, .2, 1); margin: 0 auto; }
.dr-card.is-revealed { transform: rotateY(180deg); }
/* BR-S306 — THE DECK IS PARCHMENT. The builder chose white, so the room that actually
   deals the cards follows its own sample: M2 showed parchment while /tarot/ dealt dark
   ones, which is the incoherence a first visitor meets between the shelf and the counter.
   Values are tarot-v2's, unchanged — --parchment, --card-ink #1c150d, accent copper #c98a5e.
   The BACK stays dark: a deck is dark-backed and light-faced, and the flip is the whole
   ceremony. Only the FRONT turns. */
.dr-cardface { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 12px; background: linear-gradient(180deg, #111319, #0c0d11); }
.dr-cardface--front { background: linear-gradient(165deg, #efe9db, #dcd4c2); border: 1px solid rgba(20, 14, 8, .35); }
.dr-cardface--front { transform: rotateY(180deg); box-shadow: 0 14px 34px rgba(0, 0, 0, .5), 0 0 30px rgba(201, 163, 92, .10); }
.dr-plate { width: 100%; height: 100%; display: block; }

/* ── BR-S316 — THE REAL FACE, THIRD INSTANCE. ─────────────────────────────────
   The front is no longer an engraved plate re-tinted for parchment; it is the same
   TYPOGRAPHIC face M1/M2's sample card has carried since BR-S289, which was itself
   reproduced from tarot-v2 band for band. Values below are that spec, translated
   only in their token names (--pf-* here, --font-* there) — the sizes, letter
   spacings, inks and the 26x1 rule are unchanged, so the three instances cannot
   drift apart by anybody editing one of them.
   The four re-tint overrides that used to point the SVG's gold and grey at
   parchment went with the SVG, along with .dr-plate--rev (the art no longer spins;
   the orientation line speaks) and .dr-cardface__name (the name is IN the face now
   — a caption under a card that already says its name read as a label on a label). */
.dr-face {
  position: absolute; inset: 0; border-radius: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding: 14px 12px; text-align: center; color: #1c150d;
}
.dr-face__head { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.dr-face__meta { font-family: var(--pf-mono); font-weight: 600; font-size: 11px; letter-spacing: .12em; color: #5c503c; white-space: nowrap; }
.dr-face__glyph { font-family: var(--pf-serif); font-weight: 700; font-size: 13px; line-height: 1; color: #c98a5e; }
.dr-face__name { margin: auto 0 0; font-family: var(--pf-serif); font-weight: 600; font-size: 20px; line-height: 1.05; color: #1c150d; }
.dr-face__name.is-long { font-size: 17px; }   /* 13+ characters, per tarot-v2's own is-long threshold */
.dr-face__div { width: 26px; height: 1px; background: rgba(28, 21, 13, .35); margin: 8px 0; }
.dr-face__orient { margin: 0 0 auto; font-family: var(--pf-mono); font-weight: 600; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: #6a5c45; }
.dr-face__gloss { display: block; margin-top: 3px; font-size: 8px; letter-spacing: .1em; text-transform: none; font-style: italic; color: #8a7a60; }
.dr-tick { position: absolute; width: 10px; height: 10px; border-color: rgba(28, 21, 13, .5); }
.dr-tick--tl { left: 9px; top: 9px; border-left: 1.5px solid; border-top: 1.5px solid; }
.dr-tick--br { right: 9px; bottom: 9px; border-right: 1.5px solid; border-bottom: 1.5px solid; }
/* the spread deals smaller cards than the pull, so the face steps down with them */
.dr-spread .dr-face { padding: 10px 9px; }
.dr-spread .dr-face__meta { font-size: 8.5px; letter-spacing: .1em; }
.dr-spread .dr-face__glyph { font-size: 11px; }
.dr-spread .dr-face__name { font-size: 15px; }
.dr-spread .dr-face__name.is-long { font-size: 13px; }
.dr-spread .dr-face__orient { font-size: 8px; }
.dr-spread .dr-face__gloss { font-size: 7.5px; }
.dr-spread .dr-tick { width: 8px; height: 8px; }
.dr-spread .dr-tick--tl { left: 7px; top: 7px; }
.dr-spread .dr-tick--br { right: 7px; bottom: 7px; }
/* BR-S316 — the element goes when the card cannot hold it. At 375px the spread
   deals 96px cards and "PENTACLES · EARTH" wrapped to two lines in the header row —
   which no bounding-box check catches, because wrapped text still fits its box.
   The suit alone is the part that identifies the card; the element is the part a
   small card can afford to lose. Majors are already short enough to keep whole. */
@media (max-width: 620px) {
  .dr-spread .dr-face__el { display: none; }
}
.dr-draw__cue { font-family: var(--pf-mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--pf-meta); text-align: center; }

/* ---- landing: the free pull + the reading doors ---- */
.dr-landing { display: flex; flex-direction: column; align-items: center; gap: clamp(34px, 7vh, 66px); }
/* BR-S321: the .dr-pull block was removed with the pull itself — the free draw now
   lives on M2's hero, where a visitor meets it before opening this door. Its
   card-left / words-right arrangement went with it; see .menu__draw in styles.css. */
.dr-tiers { width: 100%; display: flex; flex-direction: column; gap: 12px; }
/* BR-S530: `.dr-tiers__label` deleted with the label itself — the standing line above the
   doors does that work now, and a mono caption reading "kept at its own link" directly over
   a price was the room's one over-claim. */
/* BR-S530 — THE SUBS WRAP. The row was `align-items: baseline` with no wrap, which was
   survivable while the subs were seven words. Each door now carries a full sentence naming
   its axis, so name + meta hold line one and the sentence takes its own line beneath. */
.dr-tier { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; padding: 16px 18px; text-decoration: none; color: inherit; cursor: pointer; border: 1px solid var(--pf-line); border-radius: 7px; background: linear-gradient(180deg, rgba(233, 229, 220, .014), transparent 60%); transition: border-color .18s, background .18s; }
.dr-tier:hover, .dr-tier:focus-visible { border-color: var(--pf-line-cut); background: rgba(233, 229, 220, .03); outline: none; }
.dr-tier__n { font-family: var(--pf-serif); font-size: 20px; color: var(--pf-cream); flex: none; }
.dr-tier__cards { font-family: var(--pf-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-meta); }
.dr-tier__sub { font-family: var(--pf-serif); font-style: italic; font-size: 14px; line-height: 1.5; color: var(--pf-meta); flex: 1 1 100%; }
.dr-tier__arr { margin-left: auto; color: var(--pf-meta); font-size: 15px; transition: transform .18s; }
.dr-tier:hover .dr-tier__arr, .dr-tier:focus-visible .dr-tier__arr { transform: translateX(3px); }
.dr-tier--paid { border-color: var(--pf-violet-line); }
.dr-tier--paid:hover, .dr-tier--paid:focus-visible { border-color: var(--pf-violet); background: rgba(138, 111, 176, .06); }
.dr-tier--paid .dr-tier__cards, .dr-tier--paid .dr-tier__arr { color: var(--pf-violet-lit); }

/* ---- intake ---- */
.dr-intake { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.dr-intake__which { font-family: var(--pf-mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--pf-gold); opacity: .85; margin: 0; }
.dr-field { display: block; width: min(420px, 100%); text-align: left; }
.dr-field__label { display: block; font-family: var(--pf-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--pf-meta); margin: 0 0 8px; }
.dr-field__opt { color: var(--pf-ghost); }
.dr-field__in { width: 100%; background: rgba(233, 229, 220, .02); border: 0; border-bottom: 1px solid var(--pf-line); border-radius: 0; padding: 9px 2px; font-family: var(--pf-serif); font-style: italic; font-size: 17px; color: var(--pf-cream); }
.dr-field__in::placeholder { color: var(--pf-ghost); font-style: italic; }
.dr-field__in:focus { outline: none; border-bottom-color: var(--pf-gold); }
.dr-cut { background: none; border: 1px solid var(--pf-line-cut); border-radius: 999px; padding: 12px 30px; cursor: pointer; font-family: var(--pf-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--pf-cream-display); transition: border-color .2s, color .2s; }
.dr-cut:hover, .dr-cut:focus-visible { border-color: var(--pf-gold); color: var(--pf-gold-lit); outline: none; }
/* PAID cut — the mock settle (BR-S190): violet price on the button (pf-paid register); on press it settles violet→gold, then the cut runs */
.dr-cut--paid { border-color: var(--pf-violet-line); color: var(--pf-violet-lit); }
.dr-cut--paid:hover, .dr-cut--paid:focus-visible { border-color: var(--pf-violet); color: #bda6e4; }
.dr-cut--paid.is-settled, .dr-cut--paid.is-settled:hover { border-color: var(--pf-gold); color: var(--pf-gold-lit); transition: border-color .45s ease, color .45s ease; cursor: default; }
.dr-mocknote { font-family: var(--pf-mono); font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--pf-ghost); margin: 0; }
.dr-cut__note { font-family: var(--pf-serif); font-style: italic; font-size: 14px; color: var(--pf-meta); margin: 0; }
.dr-intake__back { font-family: var(--pf-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--pf-meta); text-decoration: none; margin-top: 6px; }
.dr-intake__back:hover, .dr-intake__back:focus-visible { color: var(--pf-cream-display); outline: none; }

/* ---- the reading: the spread + per-card reads + the filed close ---- */
/* BR-S318: .dr-reading removed — .dr-flow is the reading's container now and carries
   the identical declaration. Nothing in the shipped tree applies the old class. */
/* BR-S317: the tail became a real element so it can be re-rendered on its own without
   touching the card subtree. display:contents keeps it out of the layout entirely — its
   children stay direct flex items of .dr-reading, so the gap, centring and .dr-filed's
   own width all behave exactly as they did when they were siblings. */
.dr-tail { display: contents; }
/* BR-S318: the flow shell replaces .dr-reading as the reading's container and inherits
   its layout exactly; the intake and reads regions are contents-transparent for the same
   reason the tail is — they are regions to refill, not boxes to lay out. */
.dr-flow { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; width: 100%; }
/* .dr-intake and .dr-reads KEEP their own flex layout — .dr-intake carries a 16px gap
   that is not the flow's 22px, and making either contents-transparent would hand its
   children the wrong rhythm. They only need to survive being emptied, and an emptied
   flex box still claims a gap it no longer earns, so it stands down when it holds
   nothing. (.dr-tail is different: its children were always siblings of the reading.) */
.dr-intake:empty, .dr-reads:empty { display: none; }

/* ── BR-S318 — THE DECK. ──────────────────────────────────────────────────────
   Seven layers, offset and alternately tilted, each a shade darker than the one above,
   with the printed back on top and a soft pool of light beneath. Sizes follow the
   spread's own card so the pile and the cards it deals are visibly the same object.
   It sits inside the ceremony subtree, so the riffle, the cut and the deal all act on
   these exact nodes rather than rebuilding them. */
.dr-ceremony { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; }
.dr-deck { position: relative; width: clamp(112px, 24vw, 150px); aspect-ratio: 120 / 190; margin: 4px auto 2px; }
.dr-deck__glow {
  position: absolute; left: 50%; top: 50%; width: 300%; height: 220%;
  transform: translate(-50%, -50%); pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(150, 112, 74, .09), transparent 66%);
}
.dr-deck__body, .dr-deck__top { position: absolute; inset: 0; }
.dr-deck__layer {
  position: absolute; inset: 0; border-radius: 12px;
  border: 1px solid rgba(10, 8, 5, .55);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
}
.dr-deck__top { z-index: 8; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #111319, #0c0d11); border: 1px solid rgba(10, 8, 5, .55); box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.dr-deck__top .dr-plate { width: 100%; height: 100%; }
/* ── BR-S319 — THE RIFFLE. ────────────────────────────────────────────────────
   Two animations over the same 820ms, and the difference between them is the effect:
   the STACK jitters through six stops with a slight vertical squash (scaleY .965-.99),
   while the TOP card flicks harder, further and out of step (up to 17px and 8deg). One
   curve on both and the pile reads as a single block wobbling; offset like this it
   reads as many cards moving against each other.
   Keyframes and easing are tarot-v2's verbatim. This is a feel that was tuned once,
   and re-tuning it by eye in a preview pane that cannot run it would be vandalism.
   `both` fill so the pile is left exactly where it started — the deck a reader cuts is
   the deck they were shown. */
.dr-deck.is-riffling .dr-deck__body { animation: drRiffle .8s cubic-bezier(.3, .7, .2, 1) both; }
.dr-deck.is-riffling .dr-deck__top { animation: drRifTop .8s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes drRiffle {
  0%   { transform: translate(0, 0) rotate(0) scaleY(1); }
  12%  { transform: translate(-11px, 6px) rotate(-4deg) scaleY(.965); }
  28%  { transform: translate(9px, -5px) rotate(3deg) scaleY(.98); }
  44%  { transform: translate(-7px, 4px) rotate(-3deg) scaleY(.97); }
  60%  { transform: translate(11px, -6px) rotate(4deg) scaleY(.985); }
  78%  { transform: translate(-5px, 3px) rotate(-2deg) scaleY(.99); }
  100% { transform: translate(0, 0) rotate(0) scaleY(1); }
}
@keyframes drRifTop {
  0%   { transform: translate(0, 0) rotate(0); }
  12%  { transform: translate(-17px, -13px) rotate(-8deg); }
  40%  { transform: translate(14px, -9px) rotate(7deg); }
  68%  { transform: translate(-9px, -5px) rotate(-4deg); }
  100% { transform: translate(0, 0) rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .dr-deck.is-riffling .dr-deck__body, .dr-deck.is-riffling .dr-deck__top { animation: none; }
}
/* the escape stays visible through the mix and stops being operable — an exit that
   vanishes mid-ceremony is worse than one that waits 820ms */
.dr-ceremony[data-dr-phase="shuffling"] ~ .dr-intake .dr-intake__back { pointer-events: none; opacity: .45; }

/* the pile is the thing you are about to cut; once the cards are down it has done its
   job and leaves, rather than sitting beside the reading as a second deck. */
.dr-ceremony[data-dr-phase="dealt"] .dr-deck,
.dr-ceremony[data-dr-phase="revealing"] .dr-deck,
.dr-ceremony[data-dr-phase="complete"] .dr-deck { display: none; }
.dr-reading__matter { font-family: var(--pf-serif); font-style: italic; font-size: 15px; color: var(--pf-meta); margin: 0; }
.dr-spread { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 14px; }
.dr-slot { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dr-slot__pos { font-family: var(--pf-mono); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; color: var(--pf-meta); }
.dr-slot.is-shown .dr-slot__pos { color: var(--pf-gold); opacity: .85; }
.dr-spread .dr-card { width: clamp(96px, 21vw, 132px); }
.dr-spread--5 .dr-card { width: clamp(80px, 16vw, 110px); }
/* BR-S316: .dr-spread .dr-cardface__name removed with the caption it sized — the
   spread's face steps down through the .dr-spread .dr-face__* rules above instead. */
.dr-reads { display: flex; flex-direction: column; gap: 22px; width: 100%; max-width: 48ch; }
.dr-read { text-align: left; }
.dr-read__pos { font-family: var(--pf-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--pf-gold); margin: 0; }
.dr-read__posn { color: var(--pf-meta); }
.dr-read__name { font-family: var(--pf-serif); font-weight: 600; font-size: 22px; color: var(--pf-cream-display); line-height: 1.1; margin: 5px 0 0; }
.dr-read__orient { font-family: var(--pf-mono); font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--pf-meta); margin-left: 10px; vertical-align: middle; }
.dr-read__mean { font-family: var(--pf-serif); font-size: 15.5px; line-height: 1.6; color: var(--pf-body); margin: 8px 0 0; }
.dr-read__frame { font-family: var(--pf-serif); font-style: italic; font-size: 14px; color: var(--pf-meta); margin: 0; max-width: 46ch; }

.dr-filed { display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(460px, 100%); margin-top: 6px; padding-top: 24px; border-top: 1px solid var(--pf-line-soft); box-shadow: 0 1px 0 rgba(224, 218, 205, .02); }
.dr-binding { font-family: var(--pf-serif); font-size: 17px; line-height: 1.55; color: var(--pf-cream); margin: 0; max-width: 46ch; }

/* ═══ BR-S528 — A SITTING, ALREADY CUT ════════════════════════════════════════════
   The worked example below the doors. Built entirely from tokens that already exist:
   it borrows the reading's own type ramp (.dr-read__*, .dr-binding above) so the
   specimen is set in the product's voice rather than a voice invented for the page.

   ★ NO NEW BORDERED CONTAINER, ANYWHERE. A box around prose claims it as a feature,
   and two boxes side by side is a pricing grid whatever the opacity. Everything here
   is text on the ambient ground; the only surfaces in this room stay the card faces.

   ★ THE FLOOR BEFORE THE THRESHOLD IS DELIBERATE and is the one gap that reads as a
   change of ground. .dr-landing's own gap is clamp(34px,7vh,66px); this is roughly
   double it. Not a full empty screen — on a page that has never scrolled, a screen of
   nothing reads as the end of the page rather than as an invitation. */
.dr-sample {
  width: 100%;
  max-width: 46ch;                      /* the reading's own measure, so the specimen sets like the product */
  margin-top: clamp(56px, 12vh, 120px); /* the threshold gap — see the note above */
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 26px;
}
/* the cut, drawn once. The room already says the deck is cut by a hand, so the mark
   stands for that and for nothing decorative. --pf-line-cut is the token already
   carrying "a cut" elsewhere in this sheet. */
.dr-thresh {
  align-self: stretch;
  height: 1px; border: 0; margin: 0 0 6px;
  background: linear-gradient(to right, transparent 0%, var(--pf-line-cut) 18%, var(--pf-line-cut) 74%, transparent 100%);
}
.dr-sample__intro {
  font-family: var(--pf-serif); font-style: italic; font-size: 14px;
  color: var(--pf-meta); margin: 0;
}
.dr-sample__eyebrow {
  font-family: var(--pf-mono); font-size: 9px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--pf-gold); margin: 0;
}
/* the matter, in the asker's own voice — quoted, so it reads as somebody's sentence
   rather than as a heading the room wrote */
.dr-sample__q {
  font-family: var(--pf-serif); font-style: italic; font-size: 17px; line-height: 1.5;
  color: var(--pf-cream-display); margin: 0;
}
.dr-sample .dr-read { margin: 0; }
.dr-sample__after {
  font-family: var(--pf-serif); font-size: 15px; line-height: 1.62;
  color: var(--pf-body); margin: 0;
}
/* BR-S530: the two closing paragraphs are ONE piece of continuous prose, so they sit at a
   paragraph's distance from each other rather than at the section's 26px station gap — which
   would read as two separate claims instead of one explanation. */
.dr-sample__close { display: flex; flex-direction: column; gap: 13px; }
/* the last line is the room disqualifying some visitors. It is set apart and in the reading
   voice because it is the only sentence in the section addressed to the reader's own case. */
.dr-sample__last {
  font-family: var(--pf-serif); font-style: italic; font-size: 16px; line-height: 1.55;
  color: var(--pf-cream); margin: 0;
}

/* ── BR-S530 — S3, "THE SEAT ASKS" ──────────────────────────────────────────────
   A station, not a feature: same measure as the sample, same ambient ground, and NO
   bordered container — the only surfaces in this room stay the card faces. The station
   opens on a soft rule rather than the cut hairline, because the cut is drawn once and
   means the cut; a second one of those would spend the mark's meaning on a paragraph
   break. Later gaps are about half the threshold's, per the page's rhythm. */
.dr-station {
  width: 100%; max-width: 46ch;
  margin-top: clamp(30px, 6vh, 58px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
}
.dr-rule { align-self: stretch; height: 1px; border: 0; margin: 0 0 4px; background: var(--pf-line-soft); }
.dr-seatlab { align-self: stretch; display: flex; flex-direction: column; gap: 14px; }
.dr-seatlab__tabs { display: flex; gap: 8px; }
/* a real control: real button, inherited :focus-visible ring, no cursor games */
.dr-seatlab__tab {
  background: none; border: 1px solid var(--pf-line); border-radius: 999px;
  padding: 7px 15px; cursor: pointer;
  font-family: var(--pf-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pf-meta); transition: border-color .18s, color .18s;
}
.dr-seatlab__tab:hover { border-color: var(--pf-line-cut); color: var(--pf-cream); }
.dr-seatlab__tab.is-on { border-color: var(--pf-gold); color: var(--pf-gold-lit); }
/* BR-S532 — measured at 100×27 on a phone, against a 44px minimum. The desktop pill is the
   right size for a mouse and too small for a thumb, so the target grows only where the
   pointer is coarse rather than making every screen carry the phone's ergonomics. */
@media (pointer: coarse) {
  .dr-seatlab__tab { min-height: 44px; padding: 12px 18px; }
}
/* both panels ship in the DOM; the toggle is a class flip, so there is no motion to
   suppress under prefers-reduced-motion and no second render path to keep in step */
.dr-seatlab[data-seat="ground"] [data-seat-for="crossing"],
.dr-seatlab[data-seat="crossing"] [data-seat-for="ground"] { display: none; }
.dr-seatlab__seat { display: flex; flex-direction: column; gap: 8px; }
.dr-seatlab__bridge {
  font-family: var(--pf-serif); font-style: italic; font-size: 15px; line-height: 1.55;
  color: var(--pf-cream); margin: 0;
}
/* the entry is the proof — it must look identical to the paragraph in the walk above,
   so it takes .dr-read__mean unmodified and this rule only kills the inherited margin */
.dr-seatlab__entry { margin: 0; }
@media (max-width: 620px) {
  .dr-station { gap: 17px; margin-top: clamp(26px, 5vh, 44px); }
}
@media (max-width: 620px) {
  .dr-sample { gap: 22px; margin-top: clamp(40px, 9vh, 72px); }
  .dr-sample__q { font-size: 16px; }
}
.dr-stamp { display: flex; align-items: center; gap: 10px; }
.dr-hallmark { width: 22px; height: 22px; color: var(--pf-meta); flex: none; }
.dr-filed__line { font-family: var(--pf-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-meta); margin: 0; }
.dr-credo { font-family: var(--pf-mono); font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--pf-ghost); margin: 0; }

/* sr-only live region (screen-reader announcements) */
.dr-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { .dr-card { transition: none; } }

@media (max-width: 620px) {
  .pf-top { gap: 10px 14px; }
  .pf-mini { width: calc(50% - 7px); }
  .pf-show { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pf * { transition: none !important; }
}

/* BR-S372 — THE SHELF LINE, and the Vault drawer beneath it.
   Above the line is who you are. Everything below it is your Shelf, and the
   division is carried by one rule and one quiet word rather than a heading —
   a heading would make the Shelf a section among sections, and it is not: it is
   the second half of the page. */
/* The boundary spans the room; the shelf contents retain their reading width.
   Padding owns the gap so child margins cannot move the divider. */
.pf-shelf { position: relative; isolation: isolate; z-index: 1; display: flow-root; padding-top: 32px; }
.pf-shelf::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 100vw; height: 1px;
  transform: translateX(-50%); background: rgba(233, 229, 220, .3);
  pointer-events: none;
}
.pf-shelfline { display: flex; align-items: center; justify-content: center;
  margin: 0 0 24px; }
.pf-shelfline + .pf-sec { margin-top: 0; }
.pf-shelfline__rule { display: none; }
/* BR-S384 — YOUR SHELF is a label, not the gold object. It was `--pf-gold-lit`, the
   only statically gold text left after the gold-law block demoted nine classes to
   `--pf-meta` — brighter than `--pf-gold`, and otherwise the FOCUS-RING colour, so a
   static element wore focus permanently. Both this file and the JS call it "one quiet
   word" while the paint made it the loudest word on the page, sitting directly under
   the crown the header calls the ONE gold object. The rule carries the division; the
   word only has to name it. */
.pf-shelfline__lab {
  font-family: var(--pf-mono);
  font-size: var(--pf-mono-label); font-weight: 500; letter-spacing: var(--pf-mono-label-trk); text-transform: uppercase;
  color: var(--pf-meta); white-space: nowrap;
}
/* the Vault is a drawer, not a display: two rows, ruled, quiet. Its name is
   never advertised — nothing links here, and the word appears once.

   BR-S382 — THIS BLOCK NOW SPEAKS THE FILE'S OWN VOCABULARY. It was written with
   five raw literals and two raw rgba()s, plus `var(--font-mono, …)` where the rest
   of the file says `--pf-mono`. Measured, the literals were not even on the ramp:
   #8c867b L*56.1 and #7c766c L*49.9 sat BELOW --pf-ghost L*60.4, and #c8c4bb L*79.2
   was a fourth cream. The palette exists so a colour can be retuned in one place —
   three passes have done exactly that — and values invisible to that mechanism are
   how the sub-AA grey of BR-S374 got in. Every one now resolves through a token. */
.pf-vaultbox { border: 1px solid var(--pf-line); border-radius: 3px; padding: 2px 16px 14px; }
.pf-vaultrow { display: flex; gap: 18px; align-items: baseline; padding: 12px 0;
  border-bottom: 1px solid var(--pf-line-soft); }
.pf-vaultrow__k { flex: 0 0 74px; font-family: var(--pf-mono); font-size: var(--pf-mono-label);
  font-weight: 500; letter-spacing: var(--pf-mono-label-trk); text-transform: uppercase; color: var(--pf-meta); }
.pf-vaultrow__v { font-family: var(--pf-serif); font-size: 17px; color: var(--pf-body); }
/* BR-S387: "and 2 others" is a count, not a name — it stands off the crowned name it
   follows rather than reading as part of it. */
.pf-vaultrow__and { font-style: italic; color: var(--pf-ghost); }
/* BR-S374 — the empty state was the page's ONLY sub-AA text: #7c766c at 17px is
   4.37:1 bare, 4.15:1 under the lamp. It renders "None borne yet." — the first
   sentence a new visitor reads here. The ghost tier (6.29:1) is the floor
   nothing on this page goes below; the italic still carries the "not yet". */
.pf-vaultrow--empty .pf-vaultrow__v { color: var(--pf-ghost, #96918a); font-style: italic; }

/* Crown motion follows the Settings override as well as the device preference. */
html[data-motion="reduced"] .pf-crownstage::before { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html[data-motion="full"] .pf-crownstage::before { animation: pfBreath 12s ease-in-out infinite; }
}

/* September 10: one featured reading, a compact collection and a personal arrangement. */
.pf-eyebrow { display: block; margin: 0 0 12px; font: 10px/1.5 var(--pf-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--pf-meta); }
.pf-shelfreading .pf-id__name { margin: 0; font-size: clamp(32px, 3.8vw, 46px); line-height: 1.12; }
.pf-shelfreading .pf-what { max-width: 45ch; margin-top: 18px; font-size: 18px; }
.pf-shelfreading .pf-prov { margin-top: 12px; font-size: 16px; }
.pf-primary { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; padding: 8px 0; font-size: 11px; color: var(--pf-cream-display); }
.pf-recorddetails { margin-top: 14px; font: 10px/1.7 var(--pf-mono); color: var(--pf-meta); }
.pf-recorddetails summary { width: fit-content; cursor: pointer; padding: 6px 0; }
.pf-recorddetails p { margin: 4px 0 0; }
.pf-crownrest { opacity: .22; filter: grayscale(1); }
.pf-collection { border-top: 1px solid rgba(233,229,220,.10); }
.pf-collection__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.pf-collection__foot p { margin: 0; font: italic 17px/1.5 var(--pf-serif); color: var(--pf-meta); }
.pf-collection__add { position: relative; flex: none; }
/* BR-S800 — what stands where "Read for someone" stands for a crown owner. It INHERITS
   the foot's own italic serif from `.pf-collection__foot p` above and is left to: the
   two halves of that row should read as one sentence and its answer, and a second
   register there would look like a different kind of thing. Confirmed by reading the
   rendered page, not assumed — an earlier version of this rule set a mono face that
   `.pf-collection__foot p` outranks, so it never applied. What is set here is only what
   this element actually needs: it must not stretch, and it wraps to the right edge
   opposite its row-mate. Never the violet that marks a door onto a purchase — this is a
   state, not a door. */
.pf-collection__locked { flex: none; margin: 0; max-width: 34ch; text-align: right; }
.pf-textlink { background: none; border: 0; padding: 10px 0; min-height: 44px; cursor: pointer; color: var(--pf-meta); font: 11px/1.5 var(--pf-mono); }
.pf-textlink.pf-paid { color: var(--pf-violet-lit); }
.pf-collection__add .pf-relmenu { left: auto; right: 0; }
.pf-keptlist { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 24px; padding: 24px 0; }
.pf-kept { display: flex; align-items: center; gap: 20px; text-align: left; background: none; border: 0; color: var(--pf-body); padding: 12px 0; min-width: 0; }
button.pf-kept { cursor: pointer; }
.pf-kept__crown { width: 72px; flex: none; }
/* A held Birth Reading that is neither your crown nor a ring keeps its place in the row without
   claiming to be either object (docs/adr/2026-09-11-one-crown-at-a-time.md). The spacer is the
   crown's width so the column still reads as a column; it draws nothing. */
.pf-kept__unplaced { width: 72px; flex: none; align-self: stretch; min-height: 44px; }
.pf-kept .pf-eyebrow { margin-bottom: 4px; }
.pf-kept__name { display: block; font: 23px/1.2 var(--pf-serif); overflow-wrap: anywhere; }
.pf-kept__ring { display: block; width: 72px; height: 72px; flex: none; }
.pf-show { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 12px 28px; }
.pf-show .pf-slotwrap:first-child:not(.pf-slotwrap--invite) { grid-row: span 2; }
.pf-show .pf-slot { min-height: 130px; border: 0; border-radius: 0; background: rgba(233,229,220,.025); padding: 22px 26px; text-align: left; }
.pf-show .pf-slotwrap:first-child:not(.pf-slotwrap--invite) .pf-slot { height: 100%; min-height: 272px; justify-content: center; background: radial-gradient(ellipse at 10% 90%,rgba(233,229,220,.07),transparent 75%),rgba(233,229,220,.02); }
.pf-show .pf-slot__kind { font-size: 10px; color: var(--pf-meta); }
.pf-show .pf-slot__t { font-size: 29px; margin-top: 10px; color: var(--pf-cream-display); overflow-wrap: anywhere; }
.pf-show .pf-slotwrap:first-child:not(.pf-slotwrap--invite) .pf-slot__t { font-size: clamp(38px,4.6vw,58px); }
.pf-show .pf-slot__change { font-size: 10px; letter-spacing: .06em; opacity: 0; margin-top: 12px; padding-top: 0; }
.pf-show .pf-slot:hover .pf-slot__change, .pf-show .pf-slot:focus-visible .pf-slot__change { opacity: 1; }
.pf-show button.pf-slot:hover { background-color: rgba(233,229,220,.045); }
.pf-show .pf-slot--empty { min-height: 64px; padding: 16px 0; align-items: flex-start; background: none; }
.pf-show .pf-slotwrap--invite { align-self: end; }
.pf-slotwrap:has(.pf-pickmenu:not([hidden])) { z-index: 5; }
.pf-show .pf-pickopt { min-height: 40px; }
.pf-rooms { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.pf-roomdoor { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 14px; padding: 8px 0 10px; min-height: 44px; border: 0; box-shadow: none; }
.pf-roomdoor__n { font-size: 18px; }
.pf-roomdoor__d { grid-column: 1; grid-row: 2; font-size: 10px; text-transform: none; letter-spacing: .025em; line-height: 1.5; }
.pf-roomdoor__arr { grid-column: 2; grid-row: 1; }
.pf-foot { margin-top: 28px; padding-top: 20px; text-align: left; line-height: 1.8; }
@media (hover: none) { .pf-show .pf-slot__change { opacity: 1; } }
@media (max-width: 800px) {
  .pf-shelfreading { grid-template-columns: minmax(0,1fr) 150px; grid-template-areas: "reading crown"; gap: 24px; }
  .pf-shelfreading > .pf-crownstage { margin: 0; }
  .pf-crownstage .pf-crown-svg { max-width: 140px; }
  .pf-rooms { grid-template-columns: 1fr; gap: 0; }
  .pf-roomdoor { padding: 10px 0; border-bottom: 1px solid rgba(233,229,220,.08); }
}
@media (max-width: 540px) {
  .pf-shelfreading { grid-template-columns: 1fr; grid-template-areas: "reading" "crown"; }
  .pf-shelfreading > .pf-crownstage { padding-top: 8px; }
  .pf-collection__foot { align-items: flex-start; flex-direction: column; gap: 4px; }
  .pf-collection__add .pf-relmenu { left: 0; right: auto; max-width: 86vw; }
  /* BR-S800 — the foot stacks and left-aligns here, so the locked note follows it
     rather than hanging right off a column edge. */
  .pf-collection__locked { text-align: left; max-width: none; }
  .pf-show { grid-template-columns: 1fr; gap: 12px; }
  .pf-show .pf-slotwrap:first-child:not(.pf-slotwrap--invite) { grid-row: auto; }
  .pf-show .pf-slotwrap:first-child:not(.pf-slotwrap--invite) .pf-slot { min-height: 200px; }
  .pf-show .pf-slot { min-height: 126px; padding: 20px; }
  .pf-sec { margin-top: 26px; }
}

/* Editing remains discoverable and visible when navigating by keyboard. */
.pf-primary:focus-visible, .pf-show .pf-slot:focus-visible,
.pf-roomdoor:focus-visible, .pf-textlink:focus-visible {
  outline: 2px solid var(--pf-gold-lit); outline-offset: 3px;
}

/* Room navigation closes the page at a smaller scale than the collection. */
.pf-foot > .pf-sec { margin-top: 0; padding-top: 0; border: 0; }
.pf-foot .pf-sec__h { font-size: 10px; margin-bottom: 10px; }

/* Owner-only preview controls stay separate from the visitor's public content. */
.pf-surface { gap: 24px; flex-wrap: wrap; }
.pf-owner-actions { margin-left: auto; }
.pf-owner-actions .pf-textlink { color: var(--pf-meta); border-bottom: 1px solid rgba(233,229,220,.16); }
.pf-visitor-preview {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0; color: var(--pf-body); background: var(--pf-room);
  overflow: hidden; font-family: var(--pf-ui);
}
.pf-visitor-preview[open] { display: flex; flex-direction: column; }
.pf-visitor-preview::backdrop { background: var(--pf-room); }
.pf-visitor-toolbar { flex: none; border-bottom: 1px solid rgba(233,229,220,.16); background: #141415; }
.pf-visitor-controls { display: flex; align-items: center; gap: 24px; width: min(1120px,92vw); margin: auto; padding: 12px 0; }
.pf-visitor-title { font: 11px/1.5 var(--pf-mono); letter-spacing: .08em; color: var(--pf-cream-display); }
.pf-visitor-choice { display: flex; align-items: center; gap: 12px; margin-left: auto; color: var(--pf-meta); font: 10px/1.5 var(--pf-mono); }
.pf-visitor-choice select {
  min-height: 44px; max-width: 100%; padding: 8px 30px 8px 12px; color: var(--pf-cream-display);
  background: #1c1c1e; border: 1px solid rgba(233,229,220,.22); border-radius: 3px; font: 11px/1.5 var(--pf-mono);
}
.pf-visitor-done { min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--pf-cream-display); cursor: pointer; font: 11px/1.5 var(--pf-mono); }
.pf-visitor-done:focus-visible, .pf-visitor-choice select:focus-visible { outline: 2px solid var(--pf-gold-lit); outline-offset: 3px; }
.pf-visitor-page { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; background: radial-gradient(120% 66% at 50% 0%, #15110b 0%, #0a0b0d 56%, #070607 100%); }
.pf-visitor-wrap { min-height: calc(100% - 65px); }
.pf-public-results { position: relative; padding-top: 32px; }
.pf-public-results::before { content: ''; position: absolute; top: 0; left: 50%; width: 100vw; height: 1px; transform: translateX(-50%); background: rgba(233,229,220,.3); }
.pf-public-results .pf-sec__h { margin-bottom: 24px; }
.pf-show .pf-slot--public { cursor: default; }
.pf-show .pf-slot--public .pf-slot__t { margin-bottom: 0; font-weight: 500; line-height: 1.15; }
@media (max-width: 700px) {
  .pf-visitor-controls { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; }
  .pf-visitor-choice { grid-row: 2; grid-column: 1 / -1; margin: 0; justify-content: space-between; }
  .pf-visitor-choice select { min-width: 0; flex: 1; }
  .pf-visitor-done { font-size: 10px; }
}
@media (max-width: 540px) {
  .pf-owner-actions { margin-left: 84px; }
  .pf-surface { align-content: center; gap: 12px; }
}

/* Friends: owner-only local design preview, independent of reading ownership. */
.pf-owner-actions { display:flex; gap:20px; flex-wrap:wrap; }
.pf-friends { inset:0; margin:0 0 0 auto; width:420px; max-width:100%; height:100dvh; max-height:100dvh; padding:0; border:0; border-left:1px solid rgba(233,229,220,.16); color:var(--pf-cream); background:#101113; font:14px/1.55 var(--pf-ui); overflow:hidden; }
.pf-friends[open] { display:flex; flex-direction:column; }
.pf-friends::backdrop { background:rgba(0,0,0,.54); }
.pf-friends *, .pf-friends *::before, .pf-friends *::after { box-sizing:border-box; }
.pf-friends button { min-height:44px; padding:10px 12px; border:1px solid rgba(233,229,220,.22); border-radius:3px; background:transparent; color:var(--pf-cream); font:13px/1.45 var(--pf-mono); cursor:pointer; }
.pf-friends button:hover { background:rgba(233,229,220,.055); }
.pf-friends button:disabled { opacity:.5; cursor:wait; }
.pf-friends button:focus-visible, .pf-friends input:focus-visible, .pf-friends select:focus-visible, .pf-friends summary:focus-visible { outline:2px solid var(--pf-gold-lit); outline-offset:3px; }
.pf-friends button.pf-friends-primary { background:var(--pf-cream-display); color:var(--pf-room); border-color:var(--pf-cream-display); }
.pf-friends .pf-friends-header { flex:none; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px 16px; border-bottom:1px solid rgba(233,229,220,.13); }
.pf-friends h2 { margin:0; font:500 32px/1.2 var(--pf-serif); color:var(--pf-cream); }
.pf-friends h3 { margin:22px 0 16px; font:500 28px/1.2 var(--pf-serif); color:var(--pf-cream); }
.pf-friends-header button { border:0; padding-right:0; }
.pf-friends-body { flex:1; min-height:0; overflow-y:auto; padding:18px 24px 26px; overscroll-behavior:contain; scrollbar-gutter:stable; }
.pf-friends-preview { font:12px/1.65 var(--pf-mono); color:var(--pf-meta); }
.pf-friends-preview summary { cursor:pointer; min-height:36px; padding:6px 0; }
.pf-friends-preview p { margin:8px 0 14px; }
.pf-friends-preview label { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:10px 0; }
.pf-friends select { min-width:0; max-width:230px; min-height:44px; padding:8px; background:#191b1e; color:var(--pf-cream); border:1px solid rgba(233,229,220,.22); border-radius:3px; font:13px var(--pf-mono); }
.pf-friends-tabs { display:flex; gap:24px; border-bottom:1px solid rgba(233,229,220,.18); margin:8px 0 24px; }
.pf-friends-tabs button { padding:12px 0; border:0; border-bottom:2px solid transparent; border-radius:0; color:var(--pf-meta); }
.pf-friends-tabs button[aria-pressed="true"] { border-bottom-color:var(--pf-cream-display); color:var(--pf-cream); }
.pf-friends-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; font:12px/1.5 var(--pf-mono); color:var(--pf-meta); margin-bottom:10px; }
.pf-friends-row { border-bottom:1px solid rgba(233,229,220,.12); padding:8px 0; }
.pf-friends-rowline { display:flex; align-items:center; gap:8px; }
.pf-friends-person { display:flex; align-items:center; gap:12px; min-width:0; padding:14px 0; text-align:left; }
.pf-friends button.pf-friends-person { flex:1; width:100%; border:0; border-radius:0; padding:12px 0; }
.pf-friends-avatar { display:grid; place-items:center; flex:0 0 40px; width:40px; height:40px; border:1px solid rgba(233,229,220,.24); border-radius:50%; color:var(--pf-cream-display); font:500 23px/1 var(--pf-serif); }
.pf-friends-identity { min-width:0; display:flex; flex-direction:column; gap:3px; }
.pf-friends-name { font:500 23px/1.2 var(--pf-serif); color:var(--pf-cream); overflow-wrap:anywhere; }
.pf-friends-id { font:13px/1.6 var(--pf-mono); color:var(--pf-body); overflow-wrap:anywhere; user-select:text; }
.pf-friends-id > span { white-space:nowrap; }
.pf-friends-more { flex:none; width:44px; border:0!important; font-size:20px!important; }
.pf-friends-rowactions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:4px 0 12px; }
.pf-friends-rowactions p { width:100%; margin:8px 0; }
.pf-friends-empty { padding:36px 0; }
.pf-friends-empty h3 { margin:0 0 10px; font-size:27px; }
.pf-friends-empty p, .pf-friends-muted { color:var(--pf-body); }
.pf-friends h3.pf-friends-label { margin:26px 0 10px; font:13px/1.5 var(--pf-mono); color:var(--pf-meta); }
.pf-friends-footer { border-top:1px solid rgba(233,229,220,.18); margin-top:42px; padding-top:18px; }
.pf-friends-footer label { font:12px/1.5 var(--pf-mono); color:var(--pf-meta); }
.pf-friends-footer > div { display:flex; align-items:center; gap:8px; margin:8px 0 12px; }
.pf-friends input:not([type="checkbox"]) { display:block; min-width:0; width:100%; border:1px solid rgba(233,229,220,.24); border-radius:3px; background:#17191c; color:var(--pf-cream); padding:12px; font:16px/1.5 var(--pf-mono); }
.pf-friends input[readonly] { flex:1; background:transparent; border:0; padding:8px 0; font-size:13px; }
.pf-friends form { margin:20px 0; }
.pf-friends form label { display:block; margin-bottom:8px; font:13px/1.5 var(--pf-mono); }
.pf-friends form button { margin:10px 0 4px; }
.pf-friends-error { color:#f2b7a5; margin:10px 0 0; }
.pf-friends-error:empty { display:none; }
.pf-friends-status { flex:none; margin:0; padding:14px 24px; border-top:1px solid rgba(233,229,220,.16); background:#17191c; font:13px/1.6 var(--pf-mono); color:var(--pf-cream); }
.pf-friends-status:empty { padding:0; border:0; }
.pf-friends-pending { margin:0 0 20px; padding:16px 0; border-top:1px solid rgba(233,229,220,.22); }
.pf-friends-switch { display:flex; align-items:center; gap:12px; min-height:44px; }
.pf-friends-switch input { width:20px; height:20px; accent-color:var(--pf-cream-display); }
.pf-friends-public { margin:24px 0; }
.pf-friends-public > .pf-friends-person { margin-bottom:24px; }
.pf-friends-results { border-top:1px solid rgba(233,229,220,.3); }
.pf-friends-results article { padding:20px 0; }
.pf-friends-results article > span { font:12px/1.5 var(--pf-mono); color:var(--pf-meta); }
.pf-friends-results h3 { margin:8px 0 0; }
@media(max-width:600px) {
  .pf-friends { width:100%; max-width:none; border:0; }
  .pf-friends .pf-friends-header { padding:calc(16px + env(safe-area-inset-top)) 20px 12px; }
  .pf-friends-body { padding:14px 20px calc(22px + env(safe-area-inset-bottom)); }
  .pf-friends-status { padding:12px 20px calc(12px + env(safe-area-inset-bottom)); }
  .pf-friends-status:empty { padding:0; }
}

/* Session profile editor shares the established Friends dialog geometry. */
.pf-owner-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; }
.pf-id__txt { min-width:0; }
.pf-id__bearer, .pf-id__handle { overflow-wrap:anywhere; }
.pf-id__av.pf-tone-stone { background:#292a29; color:#f2ede3; }
.pf-id__av.pf-tone-blue { background:#263e50; color:#e3f0fc; }
.pf-id__av.pf-tone-sage { background:#344437; color:#e3efdf; }
.pf-id__av.pf-tone-rose { background:#503339; color:#fae4e8; }
.pf-profile-editor .pf-profile-fields { display:grid; gap:10px; }
.pf-profile-editor .pf-profile-fields > label { margin:12px 0 0; }
.pf-profile-editor .pf-profile-fields p { margin:0 0 12px; }
.pf-profile-editor select { min-width:0; max-width:100%; min-height:44px; border:1px solid #666; border-radius:3px; background:#17191c; color:var(--pf-cream); padding:8px; font:16px/1.5 var(--pf-ui); }
.pf-profile-editor input[readonly] { border:1px solid rgba(233,229,220,.2); padding:10px; font-size:14px; }
.pf-profile-avatar { display:grid; grid-template-columns:64px minmax(0,1fr); gap:6px 16px; align-items:center; margin:12px 0; }
.pf-profile-avatar .pf-id__av { grid-row:span 2; margin:0; width:64px; height:64px; font-size:24px; }
.pf-profile-editor .pf-friends-switch { display:flex; margin:0; gap:12px; }
.pf-profile-editor .pf-friends-switch input { flex:none; width:20px; height:20px; margin:0; padding:0; }
.pf-profile-editor input[type=radio] { accent-color:var(--pf-cream-display); }
.pf-public-picker { min-width:0; border:0; border-top:1px solid rgba(233,229,220,.2); margin:18px 0 0; padding:16px 0 0; }
.pf-public-picker legend { padding-right:10px; font:13px/1.6 var(--pf-mono); }
.pf-public-picker .pf-friends-switch { padding:12px 0; align-items:center; }
.pf-public-picker strong { display:block; font:22px/1.4 var(--pf-serif); }
.pf-profile-apply { display:flex; flex-wrap:wrap; gap:10px; border-top:1px solid rgba(233,229,220,.2); padding-top:18px; margin-top:24px; }
.pf-editor-visitor { margin-top:30px; }
.pf-editor-visitor .pf-surface { left:auto; transform:none; width:100%; min-height:0; padding:0 0 24px; }
.pf-editor-visitor .pf-id { gap:14px; }
.pf-editor-visitor .pf-id__bearer { font-size:28px; }
.pf-editor-visitor .pf-show { grid-template-columns:1fr; }
.pf-editor-visitor .pf-show .pf-slotwrap .pf-slot { min-height:120px; padding:18px; }

.pf-editor-visitor .pf-show .pf-slotwrap:first-child .pf-slot { min-height:120px; }
.pf-editor-visitor .pf-show .pf-slotwrap:first-child .pf-slot__t { font-size:29px; }
.pf-profile-editor .pf-editor-visitor .pf-sec__h { font:13px/1.6 var(--pf-mono); margin-bottom:18px; }
.pf-editor-visitor .pf-public-results::before { left:0; width:100%; transform:none; }
