/* The Drawing Room — one visual language from intake to shelf.
   Tokens are the intake's (_tarot-intake.css); nothing here is a new colour except the
   gilt edge of the deck (concept B: the card-back gold pushed brighter so a deck reads
   as a thing) and a muted green and coral used only to mark what a link carries and
   what it leaves out (concept D). Only transform and opacity are animated. */
:root {
  --ink: #0a1018;
  --ink-soft: #111c29;
  --ink-raised: #172433;
  --ivory: #eee9da;
  --body: #c0c8c8;
  --muted: #87969a;
  --gold: #c4ab78;
  --gold-dim: #947f59;
  --gold-lit: #f0d69d;
  --hair: rgba(194, 180, 147, .24);
  --in: #9fbf9b;
  --out: #d69b8a;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: .05;
  --ratio: 1.625;
  /* the motion scale (the refinement pass; its twin is TR.MOTION in room.js): three
     durations and two easings for the whole room. fast: a control answering; mid: a line
     or panel arriving; slow: a composition changing. --ease settles what arrives,
     --ease-move carries what travels. The card's turn, the close's climax and the hand
     gestures' own physics are the deliberate exceptions (the pressed card's slow sink and
     spring, table.css .sc, belong to the turn). The table's light (ritual audit 5 #2) now
     travels by transform and opacity too (perf 2026-09-25, table.css .glow, .shade); the
     one part that cannot, the dusk's holes, is a quarter-size canvas redrawn only while a
     light travels (docs/adr/2026-09-25-tarot-light-composited.md). Everything else moves
     by transform and opacity only. */
  --t-fast: 180ms;
  --t-mid: 320ms;
  --t-slow: 560ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-move: cubic-bezier(.45, 0, .55, 1);
  --page: min(1380px, calc(100% - 96px));
  /* one deck (the visual finish, 2026-09-27; critique-final/1-design.md #3): every painted
     face wears the back's own frame, drawn in the back's geometry (art.js backSVG: the edge
     line, and the inner rule 7 units in on a 140 x 230 card, rounded 7 and 4), as fine gilt
     over the paper's margin. The strokes keep their pixel width at any size (non-scaling), so
     a 52px shelf card and a 236px turned card carry the same hairline. The painting is never
     touched; only its mount. */
  --mount: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 230' preserveAspectRatio='none'%3E%3Crect x='.5' y='.5' width='139' height='229' rx='7' fill='none' stroke='%239a8254' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3Crect x='7' y='7' width='126' height='216' rx='4' fill='none' stroke='%23a88f60' stroke-opacity='.72' stroke-width='.9' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --mount-edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 230' preserveAspectRatio='none'%3E%3Crect x='.5' y='.5' width='139' height='229' rx='7' fill='none' stroke='%239a8254' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  /* the paper under the room's lamp: a shade warmer and lower than the bright file, laid by
     multiply so the painting's own colour is kept (no grey film) */
  --paper-tint: linear-gradient(rgba(236, 212, 172, .36), rgba(236, 212, 172, .36));
  /* the lamp lowered on a card that is not being read: warmer and calmer, never grey. A
     multiply of lamp-amber, so ivory stays paper (measured on the paper: about 205,180,145,
     where the old navy film gave a neutral 123,124,119) */
  --lamp-low: rgb(184, 158, 124);
  color-scheme: dark;
  background: #080d15;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.tr {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ivory);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(ellipse 62% 42% at 76% 12%, rgba(42, 69, 80, .29), transparent 75%),
    radial-gradient(ellipse 40% 30% at 6% 38%, rgba(31, 47, 57, .32), transparent 80%),
    linear-gradient(115deg, #0b121c, #0b141e 48%, #080d15);
  background-color: #080d15;
  overflow-x: hidden;
}
.tr [hidden] { display: none !important; }
.tr :where(button, textarea, input) { font: inherit; color: inherit; }
.tr button { cursor: pointer; }
.tr button:disabled { cursor: not-allowed; opacity: .42; }
.tr a { color: inherit; }
.tr :focus-visible { outline: 2px solid var(--gold-lit); outline-offset: 4px; }
#main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tr-skip { position: absolute; z-index: 30; top: -100px; left: 24px; padding: 12px 18px; background: var(--ivory); color: var(--ink) !important; }
.tr-skip:focus { top: 12px; }
.noscript { text-align: center; color: #ffd5c3; }
.tr h1[tabindex="-1"]:focus, .tr h2[tabindex="-1"]:focus, .tr legend[tabindex="-1"]:focus, .tr p[tabindex="-1"]:focus { outline: none; }
.fine { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

/* ---------- buttons: the intake's three weights ---------- */
.tr button, .tr a, .tr label, .tr input { -webkit-tap-highlight-color: transparent; }
.primary {
  position: relative;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 49px; min-width: 190px; padding: 12px 18px;
  border: 1px solid #e9dfc9; border-radius: 0; background: #e9dfc9; color: #111923 !important;
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .11em; line-height: 1.3; text-transform: uppercase; text-align: left; text-decoration: none;
  transition: background var(--t-fast) ease, transform var(--t-fast) var(--ease), box-shadow var(--t-fast) ease;
}
.primary > span[aria-hidden] { font-size: 18px; font-weight: 400; line-height: 1; }
.primary::after { content: ""; position: absolute; left: -1px; right: -1px; top: 100%; height: 3px; }
.primary:hover:not(:disabled) { background: #fbf2df; box-shadow: 0 6px 26px rgba(218, 194, 146, .13); transform: translateY(-2px); }
.secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 47px; padding: 11px 18px; border: 1px solid rgba(201, 176, 128, .55); border-radius: 0; background: rgba(12, 20, 30, .4);
  color: var(--ivory); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: border-color var(--t-fast) ease, background var(--t-fast) ease;
}
.secondary:hover:not(:disabled) { border-color: var(--gold); background: rgba(196, 171, 120, .08); }
.quiet {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 4px; border: 0; background: transparent;
  color: var(--body); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-decoration: underline; text-decoration-color: rgba(188, 174, 143, .4); text-underline-offset: 5px;
  transition: color var(--t-fast) ease;
}
.quiet:hover { color: var(--ivory); }
.eyebrow { margin: 20px 0 22px; color: var(--gold); font-family: var(--mono); font-size: 10px; line-height: 1.5; letter-spacing: .28em; text-transform: uppercase; }
.eyebrow span { display: inline-block; margin-right: 10px; font-size: 14px; }
.lede { max-width: 44ch; margin: 26px 0 0; color: var(--body); font-size: 14px; line-height: 1.78; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 21px; }

/* ---------- the room grid ---------- */
.room {
  --table-h: 360px;
  display: grid;
  width: var(--page);
  margin: 0 auto;
  padding-top: 30px;
  column-gap: clamp(32px, 4.4vw, 72px);
}
.room > * { min-width: 0; }
.intro { grid-area: intro; }
.bar { grid-area: bar; }
.guide { grid-area: guide; }
.table { grid-area: table; }
.controls { grid-area: controls; }
.panel { grid-area: panel; }
.band { grid-area: band; }

.room[data-phase="intake"] {
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  grid-template-areas: "intro panel" "table panel" "band band";
  grid-template-rows: auto 1fr auto;
}
.room[data-phase="intake"] :is(.bar, .guide, .controls) { display: none; }
.room:not([data-phase="intake"]) :is(.intro, .panel, .band) { display: none; }
.room:is([data-phase="shuffle"], [data-phase="cut"], [data-phase="choose"]) {
  --table-h: clamp(400px, calc(100svh - 364px), 640px);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "bar" "guide" "table" "controls";
  padding-top: 8px;
}
.room:is([data-phase="reveal"], [data-phase="done"]) {
  --table-h: clamp(420px, calc(100svh - 330px), 700px);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "bar" "guide" "controls" "table";
  grid-template-rows: auto auto auto 1fr;
  padding-top: 8px;
}
.room:is([data-phase="reveal"], [data-phase="done"]) .controls { padding: 4px 0 0; }
.room[data-spread="deep"]:is([data-phase="reveal"], [data-phase="done"]) { --table-h: clamp(540px, calc(100svh - 300px), 780px); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ---------- intake ---------- */
.intro h1 { margin: 0; color: #f4eddf; font-family: var(--display); font-size: clamp(56px, 5.8vw, 84px); font-weight: 500; letter-spacing: -.052em; line-height: .86; text-wrap: balance; }
.intro h1 em { color: var(--gold); font-weight: 500; }
.intro .eyebrow { margin-top: 29px; margin-bottom: 27px; }
.panel {
  position: relative; align-self: start; margin: 0; padding: 27px clamp(22px, 2.9vw, 44px) 31px;
  border: 1px solid var(--hair);
  background: linear-gradient(135deg, rgba(37, 54, 65, .58), rgba(16, 26, 38, .8) 52%, rgba(14, 23, 33, .96)), var(--ink-soft);
  box-shadow: 0 26px 75px rgba(0, 0, 0, .18), inset 0 1px rgba(245, 230, 193, .035);
}
.panel::before, .panel::after { content: ""; position: absolute; width: 31px; height: 31px; border-color: rgba(201, 176, 128, .53); pointer-events: none; }
.panel::before { top: -1px; left: -1px; border-top: 1px solid; border-left: 1px solid; }
.panel::after { right: -1px; bottom: -1px; border-right: 1px solid; border-bottom: 1px solid; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.q-label { display: block; margin: 22px 0 9px; color: var(--gold); font-family: var(--mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.q-label span { color: var(--muted); font-size: 9.5px; letter-spacing: .04em; text-transform: none; }
textarea { display: block; width: 100%; min-height: 108px; padding: 16px 18px; resize: vertical; border: 1px solid rgba(205, 190, 158, .34); border-radius: 0; background: rgba(5, 12, 20, .46); color: #f2ede3; font-size: 16px; line-height: 1.55; }
textarea::placeholder { color: #7b898d; opacity: 1; }
textarea:focus { border-color: var(--gold); background: rgba(5, 12, 20, .68); }
.q-meta { display: flex; justify-content: space-between; gap: 16px; margin: 9px 0 16px; color: var(--muted); font-family: var(--mono); font-size: 10px; line-height: 1.5; }
.q-meta svg { width: 11px; height: 11px; margin-right: 6px; vertical-align: -1px; fill: none; stroke: currentColor; stroke-width: 1.3; }
#q-count { white-space: nowrap; }

/* question shaping: in the form's own flow, never over it */
.shape-opts { display: grid; gap: 8px; }
.shape-opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--hair); background: rgba(5, 12, 20, .4); color: var(--ivory); font-family: var(--display); font-size: 18px; line-height: 1.25; text-align: left; transition: border-color var(--t-fast), background var(--t-fast); }
.shape-opt:hover { border-color: rgba(211, 185, 136, .6); background: rgba(196, 171, 120, .07); }
.shape-opt b { flex: none; color: var(--gold); font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
.reworded { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 0; margin: 0 0 8px; color: var(--gold); font-family: var(--mono); font-size: 11px; }
.reworded:empty { display: none; }
.reworded .quiet { min-height: 40px; }
.review { margin: 16px 0 0; padding: 12px 0; border-block: 1px solid var(--hair); }
.review-label { color: var(--gold); font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; }
.review-q { margin: 6px 0 0; color: var(--ivory); font-family: var(--display); font-size: 21px; font-style: italic; line-height: 1.3; overflow-wrap: anywhere; }
.review-q.unspoken, .matter.unspoken, .guide-matter.unspoken { color: var(--muted); }
.suggest { margin: 14px 0 0; color: var(--body); font-size: 13px; line-height: 1.6; }
.suggest-k { display: block; margin-bottom: 3px; color: var(--gold); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.load-error { margin: 12px 0 0; color: #ffd5c3; font-size: 12.5px; }

/* one short band under the first screen (the refinement pass): Today's card, one line, and
   what the room keeps, folded */
.band { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px 40px; margin: 34px 0 0; padding: 20px 0 26px; border-top: 1px solid var(--hair); }
.band-cell { min-width: 0; }
.band-line { margin: 0; padding-top: 12px; color: var(--muted); font-family: var(--display); font-size: 17px; font-style: italic; line-height: 1.4; }
.band p { max-width: 42ch; margin: 0 0 8px; color: var(--body); font-size: 13px; line-height: 1.6; }
.band .fine { font-size: 12px; color: var(--muted); }
.daily { max-width: 26rem; }
.daily-turn { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--body); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-decoration: underline; text-decoration-color: rgba(188, 174, 143, .4); text-underline-offset: 5px; }
.daily-turn:hover { color: var(--ivory); }
.daily-turn .daily-back { width: 28px; height: auto; aspect-ratio: 240 / 390; border-radius: 2px; transition: transform var(--t-fast) var(--ease); }
.daily-turn:hover .daily-back { transform: translateY(-2px); }
.daily-k { display: block; margin-bottom: 2px; color: var(--gold); font-family: var(--mono); font-size: 9.5px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
.daily-body { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: start; }
.daily-back { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--back) center / 100% 100%; box-shadow: 0 1px 0 #b39a66, 0 2px 0 #7d6844, 0 10px 18px rgba(0, 0, 0, .4); }
.mini.daily-face { width: 56px; border-radius: 3px; }
.daily-name { margin: 0 0 4px; color: var(--ivory); font-family: var(--display); font-size: 22px; font-weight: 600; line-height: 1.1; }
.daily-name:focus { outline: none; }
.daily-gist { margin: 0 0 8px !important; color: var(--ivory) !important; font-family: var(--display); font-size: 17px !important; font-style: italic; line-height: 1.35 !important; }
.daily-carry span { display: block; color: var(--gold); font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; }
.rev-tag { color: var(--gold); font-family: var(--mono); font-size: 9.5px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- ritual chrome ---------- */
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-bottom: 6px; border-bottom: 1px solid var(--hair); }
.guide { padding: 16px 0 4px; text-align: center; }
.guide-matter { max-width: 60ch; margin: 0 auto 6px; overflow: hidden; color: var(--gold); font-family: var(--display); font-size: 17px; font-style: italic; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.room:is([data-phase="reveal"], [data-phase="done"]) .guide-matter { display: none; }
kbd { padding: 1px 6px; border: 1px solid var(--hair); border-radius: 3px; color: var(--gold); font-family: var(--mono); font-size: 10.5px; }
.controls { display: flex; justify-content: center; padding: 14px 0 24px; }
.ctl { display: none; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; }
.room[data-phase="shuffle"] .ctl[data-for="shuffle"],
.room[data-phase="cut"] .ctl[data-for="cut"],
.room[data-phase="choose"] .ctl[data-for="choose"],
.room[data-phase="reveal"] .ctl[data-for="reveal"],
.room[data-phase="done"] .ctl[data-for="done"] { display: flex; }

/* ---------- the table ---------- */
.table { position: relative; height: var(--table-h); overflow: hidden; isolation: isolate; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; outline: none; }
.table-deco { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; transition: opacity var(--t-slow) var(--ease-move); }
.room:is([data-phase="choose"], [data-phase="reveal"], [data-phase="done"]) .table-deco { opacity: .45; }
.objs { position: absolute; inset: 0; pointer-events: none; }
.obj { position: absolute; left: 50%; top: 50%; width: var(--w); height: calc(var(--w) * var(--ratio)); margin-left: calc(var(--w) / -2); margin-top: calc(var(--w) * var(--ratio) / -2); will-change: transform; transform-origin: 50% 50%; }
.obj .cb { position: absolute; inset: 0; border-radius: calc(var(--w) * var(--radius)); background: var(--back) center / 100% 100%; }
.obj .cb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, rgba(255, 240, 210, .12), transparent 38%, transparent 70%, rgba(0, 0, 0, .18)); }
.obj.deck { pointer-events: auto; cursor: grab; touch-action: none; }
.room.holding .obj.deck { cursor: grabbing; }
.room:not([data-phase="shuffle"]) .obj.deck { pointer-events: none; }
.obj.leaf .cb { box-shadow: 0 1px 0 #b39a66, 0 6px 14px rgba(0, 0, 0, .35); }

/* the edge (cut) */
.edge { position: absolute; left: 50%; top: 50%; width: var(--ew, 300px); height: var(--eh, 234px); margin-left: calc(var(--ew, 300px) / -2); margin-top: calc(var(--eh, 234px) / -2); opacity: 0; visibility: hidden; cursor: row-resize; touch-action: none; }
.edge.on { opacity: 1; visibility: visible; }
.edge:focus-visible { outline-offset: 10px; }
.edge-a, .edge-b { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(to bottom, #e2cc98 0, #c6ab72 calc(var(--eh) / 78 * .62), #6b5634 calc(var(--eh) / 78 * .62), #6b5634 calc(var(--eh) / 78)); will-change: transform; }
.edge-a { top: 0; height: var(--ah, 50%); border-top: 3px solid #1d3345; border-radius: 5px 5px 1px 1px; }
.edge-b { bottom: 0; height: calc(100% - var(--ah, 50%)); border-bottom: 3px solid #1d3345; border-radius: 1px 1px 5px 5px; box-shadow: 0 22px 34px rgba(0, 0, 0, .5); }

/* the fan */
.fan { position: absolute; inset: 0; visibility: hidden; opacity: 0; touch-action: pan-y; transition: opacity var(--t-mid) ease; }
.room[data-phase="choose"] .fan.on { visibility: visible; opacity: 1; }
.fan:focus-visible { outline: none; }
.fan-ring { position: absolute; left: 50%; top: var(--ring-y, 900px); width: 0; height: 0; will-change: transform; }
.fan-ring.ease { transition: transform var(--t-mid) var(--ease); }
.fcard { pointer-events: none; position: absolute; left: calc(var(--fw) / -2); top: calc(-1 * var(--R) - var(--fw) * var(--ratio) / 2); width: var(--fw); height: calc(var(--fw) * var(--ratio)); transform-origin: 50% calc(var(--R) + var(--fw) * var(--ratio) / 2); transform: rotate(var(--a, 0deg)); transition: transform .75s cubic-bezier(.22, .8, .24, 1) var(--d, 0ms); }
.fcard .lift { position: absolute; inset: 0; transition: transform var(--t-fast) var(--ease); pointer-events: none; }
.fcard .art { position: absolute; inset: 0; border-radius: calc(var(--fw) * var(--radius)); background: var(--back) center / 100% 100%; box-shadow: -1px 0 0 rgba(0, 0, 0, .4), -2px 1px 3px rgba(0, 0, 0, .16); }
.fcard.rev .art { transform: rotate(180deg); box-shadow: 1px 0 0 rgba(0, 0, 0, .4), 2px -1px 3px rgba(0, 0, 0, .16); }
.fcard.raised { z-index: 2; }
.fcard.raised .lift { transform: translateY(-19%); }
.fcard.raised .art { box-shadow: 0 10px 22px rgba(0, 0, 0, .45); }
.fcard.raised .art::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 1px rgba(240, 214, 157, .9), 0 0 18px rgba(240, 214, 157, .35); }
.fan:focus-visible .fcard.active .art::after { box-shadow: 0 0 0 2px var(--gold-lit), 0 0 18px rgba(240, 214, 157, .5); }

.flyer { position: fixed; z-index: 20; pointer-events: none; will-change: transform; }
.flyer .art { position: absolute; inset: 0; border-radius: calc(var(--w) * var(--radius)); background: var(--back) center / 100% 100%; }
.flyer .fs { position: absolute; inset: 4% 3%; border-radius: inherit; background: rgba(0, 0, 0, .5); filter: blur(12px); transform: translate(0, 18px); z-index: -1; }

/* the spread: a row of three, or the cross of five */
.spread { position: absolute; left: 0; right: 0; top: 0; transform: translate(var(--spread-dx, 0px), var(--spread-top, 16px)); display: grid; justify-content: center; gap: var(--gap); opacity: 0; visibility: hidden; transition: opacity var(--t-mid) ease; }
.room:is([data-phase="choose"], [data-phase="reveal"], [data-phase="done"]) .spread { opacity: 1; visibility: visible; }
.room[data-spread="sitting"] .spread { grid-template-columns: repeat(3, var(--sw)); }
.room[data-spread="deep"] .spread { grid-template-columns: repeat(3, var(--sw)); grid-template-areas: ". crown ." "ground crossing turn" ". root ."; }
.room[data-spread="deep"] .slot[data-pos="crown"] { grid-area: crown; }
.room[data-spread="deep"] .slot[data-pos="ground"] { grid-area: ground; }
.room[data-spread="deep"] .slot[data-pos="crossing"] { grid-area: crossing; }
.room[data-spread="deep"] .slot[data-pos="turn"] { grid-area: turn; }
.room[data-spread="deep"] .slot[data-pos="root"] { grid-area: root; }
.slot { justify-self: center; display: flex; flex-direction: column; align-items: center; width: var(--sw); transform-origin: 0 0; }
.place { position: relative; display: block; width: 100%; aspect-ratio: 240 / 390; padding: 0; border: 0; border-radius: calc(var(--sw) * var(--radius)); background: transparent; }
.place::before { content: ""; position: absolute; inset: 0; border: 1px dashed rgba(196, 171, 120, .38); border-radius: inherit; background: radial-gradient(ellipse at 50% 45%, rgba(196, 171, 120, .07), transparent 70%); transition: opacity var(--t-mid); }
.slot.next .place::before { border-color: rgba(240, 214, 157, .85); border-style: solid; box-shadow: 0 0 22px rgba(240, 214, 157, .18); }
.slot.filled .place::before { opacity: 0; }
/* a place is a disabled button until its card can be turned; it must not take the page's dimmed
   disabled look (round 5: `.tr button:disabled` outranked `.place:disabled`, so a placed card
   showed at 42% while choosing) */
.tr .place:disabled { cursor: default; opacity: 1; }
.place-roman { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(196, 171, 120, .5); font-family: var(--display); font-size: calc(var(--sw) * .22); font-style: italic; pointer-events: none; }
.slot.filled .place-roman { opacity: 0; }
.sc { position: absolute; inset: 0; perspective: 900px; opacity: 0; }
.slot.filled .sc { opacity: 1; }
.sc-shadow { position: absolute; inset: 5% 4% -3%; border-radius: inherit; background: rgba(0, 0, 0, .55); filter: blur(10px); transform: translateY(8px); }
.sc-rot { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform var(--t-fast) var(--ease); }
.slot.rev .sc-rot { transform: rotate(180deg); }
.flipper { position: absolute; inset: 0; transform-style: preserve-3d; }
.turned .flipper { transform: rotateY(180deg); }
.sc .back, .sc .face { position: absolute; inset: 0; overflow: hidden; border-radius: calc(var(--sw) * var(--radius)); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.sc .back { background: var(--back) center / 100% 100%; }
.sc .face { transform: rotateY(180deg); background: #0f1f2c; }
.sc .face svg { display: block; width: 100%; height: 100%; }
.sc .face::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 30% 18%, rgba(255, 244, 220, .08), transparent 60%); pointer-events: none; }
.glint { position: absolute; inset: -30% -60%; z-index: 1; background: linear-gradient(105deg, transparent 42%, rgba(255, 246, 225, .55) 50%, transparent 58%); opacity: 0; pointer-events: none; }
.place:not(:disabled) { cursor: pointer; }
.slot.filled .place:not(:disabled):hover .sc-rot { transform: translateY(-4px); }
.slot.rev.filled .place:not(:disabled):hover .sc-rot { transform: rotate(180deg) translateY(4px); }
.slot.turned .place:hover .sc-rot { transform: none; }
.slot.rev.turned .place:hover .sc-rot { transform: rotate(180deg); }
.slot-label { margin-top: 7px; color: var(--gold); font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; text-align: center; white-space: nowrap; }
.slot-name { max-width: calc(var(--sw) + var(--gap) + 20px); min-height: 1.2em; margin-top: 2px; color: var(--ivory); font-family: var(--display); font-size: 15px; font-weight: 600; line-height: 1.12; text-align: center; text-wrap: balance; opacity: 0; transition: opacity var(--t-mid) var(--t-fast); }
.slot-name i { display: block; color: var(--gold); font-family: var(--mono); font-size: 9px; font-style: normal; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.slot.turned .slot-name { opacity: 1; }
.room[data-phase="choose"] .slot-name { display: none; }
/* choosing a Deep Read on a narrow phone: the places are small, so the roman numeral names them */
.room.tiny-slots[data-phase="choose"] .slot-label { display: none; }
.room.tiny-slots .place-roman { font-size: calc(var(--sw) * .36); }


/* ---------- small faces ---------- */
.rd-name small, .lay-name small { color: var(--gold); font-family: var(--mono); font-size: 9.5px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
.mini { display: inline-block; width: 38px; aspect-ratio: 240 / 390; flex: none; vertical-align: middle; }
.mini svg, .lay-card svg, .rd-thumb svg, .fo-thumb svg { display: block; width: 100%; height: 100%; }
.mini.is-rev > *, .lay-card.is-rev > *, .rd-thumb.is-rev > *, .fo-thumb.is-rev > *, .daily-face.is-rev > * { transform: rotate(180deg); }
/* a supplied image (art.js): the same 240:390 box, cover, the card's rounded corners */
.art-img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.mini, .lay-card, .rd-thumb, .fo-thumb, .sc .face { overflow: hidden; }
.mini { border-radius: 3px; }
/* The card art on paper (2026-09-27, docs/adr/2026-09-27-final-tarot-art.md): each face is
   a watercolour on warm ivory paper, so a small face is drawn as a printed card lying under
   the room's lamp, not as a sticker on the navy: a fine warm rim with a paler bevel inside
   it, the lamp's fall-off toward the card's edges, and (per surface, below) a tight contact
   shadow with a softer one beneath. The rim and the fall-off are one overlay above the
   painting; a reversed card turns its painting (> *), never the overlay, so the light stays
   where the lamp is. The corners are 5% of the card's width at any size (5% / 3.077%). */
.lay-card, .rd-thumb, .fo-thumb, .row-cards .mini, .pat-rep .mini, .mini.daily-face, .t-card { position: relative; border-radius: 5% / 3.077%; isolation: isolate; }
/* the visual finish (2026-09-27, 1-design.md #3): the overlay is now the deck's mount, laid by
   multiply: the back's gilt frame (--mount), the paper a shade warmer and lower (--paper-tint),
   and the lamp's fall-off toward the edges. A card too small for the inner rule (under ~44px)
   keeps the gilt edge alone (--mount-edge). */
.lay-card::after, .rd-thumb::after, .fo-thumb::after, .row-cards .mini::after, .pat-rep .mini::after, .mini.daily-face::after, .room .t-today-face::after, .t-card::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; mix-blend-mode: multiply;
  background: var(--mount) 0 0 / 100% 100% no-repeat, radial-gradient(ellipse 150% 120% at 46% 34%, rgba(64, 44, 22, 0) 58%, rgba(64, 44, 22, .2)), var(--paper-tint);
  box-shadow: inset 0 0 0 2px rgba(255, 250, 238, .12);
}
.pat-rep .mini::after, .row-cards .mini::after { background: var(--mount-edge) 0 0 / 100% 100% no-repeat, radial-gradient(ellipse 150% 120% at 46% 34%, rgba(64, 44, 22, 0) 58%, rgba(64, 44, 22, .2)), var(--paper-tint); }

/* ---------- views: reading, page, shelf ---------- */
.view { width: var(--page); margin: 0 auto; padding: 8px 0 30px; }
.view-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-bottom: 6px; border-bottom: 1px solid var(--hair); }
.view-meta { color: var(--gold); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.view h1 { color: #f4eddf; font-family: var(--display); font-weight: 500; }

/* the shape of it */
.rd-shape { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-areas: "left cards"; gap: 0 clamp(32px, 5vw, 80px); align-items: start; padding: 26px 0 40px; border-bottom: 1px solid var(--hair); }
.rd-shape-left { grid-area: left; }
.rd-shape-text { grid-area: text; }
.rd-shape-cards { grid-area: cards; align-self: center; }
.rd-shape-more { grid-area: more; }
.rd-shape .eyebrow { margin: 10px 0 18px; }
.rd-shape h1 { margin: 0; font-size: clamp(40px, 4.4vw, 66px); letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
.rd-shared { max-width: 52ch; margin: 18px 0 0; padding-left: 14px; border-left: 2px solid var(--gold-dim); color: var(--body); font-size: 14px; line-height: 1.6; }
.rd-summary { max-width: 58ch; margin-top: 14px; }
.rd-summary p { margin: 0 0 8px; color: var(--body); font-size: 15px; line-height: 1.7; }
/* round 3: the question as the title, the line under it, the headline and the verse */
.rd-shape h1.rd-q { position: relative; max-width: 17ch; }
.rd-shape h1.rd-q.is-long { font-size: clamp(32px, 3.2vw, 46px); max-width: 24ch; line-height: 1.04; }
.rd-shape h1.is-q::before { content: "\201C"; position: absolute; right: 100%; padding-right: .06em; color: var(--gold-dim); }
.rd-shape h1.is-q::after { content: "\201D"; color: var(--gold-dim); }
.rd-under { max-width: 46ch; margin: 18px 0 0; color: var(--body); font-family: var(--display); font-size: 21px; font-style: italic; line-height: 1.4; text-wrap: pretty; }
.rd-headline { max-width: 30ch; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--hair); color: var(--ivory); font-family: var(--display); font-size: clamp(27px, 2.3vw, 34px); font-weight: 500; line-height: 1.16; letter-spacing: -.01em; text-wrap: balance; }
.rd-shape-more .rd-summary { margin-top: 14px; }
.rd-summary--later { max-width: 60ch; margin: 0 0 20px; }
.rd-gist { margin: 0 0 10px; color: var(--gold-lit); font-family: var(--display); font-size: 21px; font-style: italic; line-height: 1.3; }
.rd-lens { margin: 0 0 12px; color: var(--gold); font-family: var(--display); font-size: 18px; font-style: italic; line-height: 1.4; }
.rd-passage.is-guard { color: var(--body); font-style: italic; }

/* the cards in their places (reading, page) */
.lay { --lw: 150px; display: grid; justify-content: center; gap: 18px clamp(12px, 2vw, 26px); margin: 0; padding: 0; list-style: none; }
.lay--sitting { grid-template-columns: repeat(3, var(--lw)); }
.lay--deep { --lw: 112px; grid-template-columns: repeat(3, var(--lw)); grid-template-areas: ". crown ." "ground crossing turn" ". root ."; gap: 12px clamp(12px, 2vw, 22px); }
.lay--deep .lay-crown { grid-area: crown; } .lay--deep .lay-ground { grid-area: ground; } .lay--deep .lay-crossing { grid-area: crossing; } .lay--deep .lay-turn { grid-area: turn; } .lay--deep .lay-root { grid-area: root; }
.lay li { min-width: 0; text-align: center; }
.lay a, .lay li > span { display: flex; flex-direction: column; align-items: center; text-decoration: none; border-radius: 4px; }
.lay-card { display: block; width: 100%; aspect-ratio: 240 / 390; background: #efe7d6; box-shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 3px 7px rgba(0, 0, 0, .3), 0 18px 32px -8px rgba(0, 0, 0, .55); transition: transform var(--t-fast) var(--ease); }
.lay a:hover .lay-card { transform: translateY(-4px); }
.lay-pos { margin-top: 9px; color: var(--gold); font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.lay-name { margin-top: 2px; color: var(--ivory); font-family: var(--display); font-size: 16px; font-weight: 600; line-height: 1.15; text-wrap: balance; }
.lay-name small { display: block; }

/* ---------- the page: the cards beside the whole reading (2026-09-27) ----------
   A reread, the sample and a shared link (reading.js, .rd--page). On a wide screen the cards
   have the left column to themselves and stay in view, vertically centred, while the reading
   scrolls beside them, as the table's close does (table.css); the card whose passage is being
   read is lit and the others wait in half light (reading.js). The cards are as large as the
   column and the screen's height allow: a Sitting up to 210px wide, the cross up to 160px
   with the Crown's and the Root's names beside them. On a narrower screen the column is not
   shown and the cards sit between the question and the headline, as before. */
.rd-aside { display: none; }
@media (min-width: 1001px) {
  .rd--page .rd-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, clamp(29rem, 48vw, 38rem)); column-gap: clamp(40px, 5vw, 96px); align-items: start; }
  .rd--page .rd-main { min-width: 0; }
  .rd--page .rd-aside { position: sticky; top: 0; display: block; height: 100vh; height: 100svh; }
  .rd--page .rd-aside-in { position: relative; display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 28px 0; }
  .rd--page .rd-aside-in::before { content: ""; position: absolute; inset: 8% -6%; z-index: -1; background: radial-gradient(closest-side, rgba(240, 214, 157, .07), rgba(240, 214, 157, .025) 55%, rgba(240, 214, 157, 0)); pointer-events: none; }
  .rd--page .rd-shape { display: block; padding: 34px 0 40px; }
  .rd--page .rd-shape-cards { display: none; }
  .rd--page .rd-list { max-width: none; }
  .lay--aside { width: 100%; --gx: clamp(12px, 1.5vw, 22px); column-gap: var(--gx); }
  .lay--aside.lay--sitting { --lw: min(210px, calc((100% - 2 * var(--gx)) / 3), calc((100svh - 240px) / 1.625)); }
  .lay--aside.lay--deep { --lw: min(160px, calc((100% - 2 * var(--gx)) / 3), calc((100svh - 240px) / 4.875)); row-gap: 12px; }
  .lay--aside.lay--deep :is(.lay-crown, .lay-root) > * { position: relative; }
  .lay--aside.lay--deep :is(.lay-crown, .lay-root) :is(.lay-pos, .lay-name) { position: absolute; left: calc(100% + 14px); width: max-content; max-width: 170px; margin: 0; text-align: left; }
  .lay--aside.lay--deep :is(.lay-crown, .lay-root) .lay-pos { top: 4px; }
  .lay--aside.lay--deep :is(.lay-crown, .lay-root) .lay-name { top: 22px; }
  /* the card being read and the others (the visual finish, 1-design.md #2): no film. The
     lamp is lowered on the cards that wait (a multiply of lamp-amber: the paper stays paper,
     only warmer and calmer), and the card being read is lifted into the light */
  .lay--aside .lay-card::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: var(--lamp-low); mix-blend-mode: multiply; opacity: 0; transition: opacity var(--t-slow) ease; pointer-events: none; }
  .lay--aside.has-lit li:not(.is-lit) .lay-card::before { opacity: .5; }
  .lay--aside li :is(.lay-pos, .lay-name) { transition: opacity var(--t-slow) ease, color var(--t-slow) ease; }
  .lay--aside.has-lit li:not(.is-lit) :is(.lay-pos, .lay-name) { opacity: .62; }
  .lay--aside .lay-card { transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) ease; }
  .lay--aside li.is-lit .lay-card { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(240, 214, 157, .7), 0 0 34px rgba(240, 214, 157, .2), 0 2px 2px rgba(0, 0, 0, .45), 0 26px 40px -10px rgba(0, 0, 0, .6); }
  .lay--aside li.is-lit .lay-pos { color: var(--gold-lit); }
}

/* card by card */
.rd-block { padding: 36px 0; border-bottom: 1px solid var(--hair); }
.rd-block h2, .rd-take h2 { margin: 0 0 18px; color: var(--gold); font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; }
.rd-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.rd-block-head .quiet { min-height: 40px; }
.rd-list { max-width: 980px; margin: 0; padding: 0; list-style: none; }
.rd-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-areas: "thumb head" "thumb panel"; grid-template-rows: auto 1fr; gap: 0 clamp(24px, 3.4vw, 48px); padding: 26px 0; border-top: 1px solid var(--hair); scroll-margin-top: 16px; }
.rd-thumb { grid-area: thumb; display: block; width: 132px; aspect-ratio: 240 / 390; background: #efe7d6; box-shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 3px 7px rgba(0, 0, 0, .28), 0 14px 26px -6px rgba(0, 0, 0, .5); cursor: pointer; transition: transform var(--t-fast) var(--ease); }
.rd-thumb:hover { transform: translateY(-3px); }
.rd-card-h { grid-area: head; margin: 0; }
.rd-toggle { position: relative; display: flex; flex-direction: column; align-items: flex-start; width: 100%; min-height: 48px; padding: 2px 44px 2px 0; border: 0; background: transparent; text-align: left; }
.rd-pos { color: var(--gold); font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.rd-pos span { color: var(--muted); letter-spacing: .04em; text-transform: none; }
.rd-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 6px; color: var(--ivory); font-family: var(--display); font-size: clamp(28px, 2.6vw, 36px); font-weight: 500; line-height: 1.05; }
.chev { position: absolute; top: 14px; right: 8px; width: 12px; height: 12px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform var(--t-fast) var(--ease); }
.rd-toggle[aria-expanded="true"] .chev { transform: translateY(5px) rotate(-135deg); }
.rd-panel { grid-area: panel; max-width: 64ch; padding-top: 14px; }
.rd-card.is-open .rd-panel { animation: rise var(--t-mid) var(--ease) both; }
.rd-passage { margin: 0; color: #e6e1d3; font-family: var(--display); font-size: 21px; line-height: 1.55; text-wrap: pretty; }
.rd-bridge { margin: 14px 0 0; padding-left: 14px; border-left: 1px solid var(--gold-dim); color: var(--body); font-size: 14px; line-height: 1.65; }

/* the close: one quiet block to take with you */
.rd-take { max-width: 44rem; }
.rd-ask { max-width: 40ch; margin: 0; color: var(--ivory); font-family: var(--display); font-size: 23px; line-height: 1.4; text-wrap: pretty; }
.rd-take .rd-ask + .rd-ask { margin-top: 10px; }
.rd-take .rd-sit-q { margin-top: 18px; padding-left: 16px; border-left: 1px solid var(--gold-dim); }
.rd-note { margin-top: 14px; }
.rd-note textarea { min-height: 84px; }
.rd-sit-q { margin: 0; color: var(--ivory); font-family: var(--display); font-size: 26px; font-style: italic; line-height: 1.35; text-wrap: balance; }
.rd-closing { margin: 26px 0 0; color: var(--muted); font-family: var(--display); font-size: 18px; font-style: italic; text-align: center; }

/* keep it: one row of quiet actions; share and the plate open when tapped */
.rd-keep { padding: 22px 0 8px; }
.keep-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; }
.keep-state { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin: 0 auto 0 0; color: var(--body); font-size: 13.5px; }
.keep-tick { color: var(--in); }
.keep-private { display: flex; align-items: center; gap: 7px; margin: 6px 0 0; color: var(--muted); font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; }
.keep-private svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.keep-share { max-width: 40rem; margin-top: 14px; padding: 16px 0 4px; border-top: 1px solid var(--hair); animation: rise var(--t-mid) var(--ease) both; }
.keep-plate { margin-top: 14px; animation: rise var(--t-mid) var(--ease) both; }
.tile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 14px; }
.carries { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 11px; }
.carries li { display: inline-flex; align-items: center; gap: 7px; }
.carries .is-in { color: var(--in); }
.carries .is-in::before { content: "✓"; }
.carries .is-out { color: var(--out); text-decoration: line-through; text-decoration-color: rgba(214, 155, 138, .7); }
.carries .is-out::before { content: "✕"; text-decoration: none; display: inline-block; }
.link-field { margin-top: 12px; }
.link-field label { display: block; margin-bottom: 6px; color: var(--gold); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.link-field input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--hair); background: rgba(5, 12, 20, .5); color: var(--ivory); font-family: var(--mono); font-size: 12px; }
.undo-line { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin: 10px 0 0; color: var(--gold); font-family: var(--mono); font-size: 11px; }
.undo-line:empty { display: none; }
.undo-line .quiet { min-height: 40px; }
.plate-opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.pill { position: relative; display: inline-flex; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--hair); color: var(--body); font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; }
.pill input:checked + span { border-color: var(--gold); color: var(--ivory); background: rgba(196, 171, 120, .1); }
.pill input:focus-visible + span { outline: 2px solid var(--gold-lit); outline-offset: 2px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ivory); font-size: 13.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--gold); }
.check:has(input:disabled) { color: var(--muted); cursor: default; }
.plate-preview { display: flex; justify-content: center; margin-top: 14px; padding: 14px; border: 1px dashed var(--hair); background: rgba(5, 12, 20, .35); }
.plate-preview img { display: block; width: auto; max-width: 100%; height: auto; max-height: 440px; box-shadow: 0 16px 32px rgba(0, 0, 0, .4); }

/* ---------- the page to keep (folio) ---------- */
.fo-wrap .view-top { margin-bottom: 26px; }
.folio { position: relative; max-width: 1040px; margin: 0 auto; padding: clamp(28px, 6vw, 80px) clamp(20px, 7vw, 96px) clamp(36px, 6vw, 72px); border: 1px solid rgba(196, 171, 120, .38); outline: 1px solid rgba(196, 171, 120, .16); outline-offset: -10px; background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(42, 69, 80, .35), transparent 70%), linear-gradient(180deg, #13222f, #0d1824); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.folio::before, .folio::after { content: ""; position: absolute; width: 14px; height: 14px; background: var(--gold); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.folio::before { top: 18px; left: 18px; }
.folio::after { right: 18px; bottom: 18px; }
.fo-head { text-align: center; }
.fo-running { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: clamp(30px, 5vw, 54px); border-bottom: 1px solid var(--hair); color: var(--gold-dim); font: 400 10px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; text-align: left; }
.fo-kicker { margin: 0 0 16px; color: var(--gold); font: 400 11px/1.4 var(--mono); letter-spacing: .26em; text-transform: uppercase; }
.fo-title { max-width: 18ch; margin: 0 auto; color: #f6efe0; font: italic 500 clamp(38px, 5.4vw, 68px)/1.02 var(--display) !important; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: anywhere; }
.fo-title.is-silent { font-style: normal !important; }
.fo-note { max-width: 46ch; margin: 14px auto 0; color: var(--muted); font: italic 500 18px/1.45 var(--display); }
.fo-date { margin: 18px 0 0; color: var(--body); font: italic 500 19px/1.4 var(--display); }
.fo-roman { color: var(--gold); font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; }
.fo-plate { margin: clamp(30px, 5vw, 56px) 0 0; padding: clamp(22px, 4vw, 44px) 0 clamp(18px, 3vw, 26px); border-block: 1px solid var(--hair); background: radial-gradient(ellipse 55% 60% at 50% 45%, rgba(189, 148, 89, .08), transparent 70%); }
/* Plate I, sized for the paintings (2026-09-27): a Sitting at 204px, the cross at 150px */
.lay--plate.lay--sitting { --lw: min(204px, calc((100% - 56px) / 3)); gap: 18px 28px; }
.lay--plate.lay--deep { --lw: min(150px, calc((100% - 44px) / 3)); }
.fo-plate figcaption { margin-top: 22px; color: var(--muted); font: italic 500 16px/1.4 var(--display); text-align: center; }
.fo-plate figcaption span { margin-right: 8px; color: var(--gold); font: 400 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.fo-opening { max-width: 60ch; margin: clamp(28px, 4vw, 44px) auto 0; color: #dcd8cb; font: 500 20px/1.55 var(--display); text-align: center; text-wrap: pretty; }
.fo-leaf { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 0 clamp(28px, 5vw, 60px); padding: clamp(30px, 5vw, 50px) 0; border-bottom: 1px solid var(--hair); }
.fo-seat { margin: 0 0 8px; color: var(--gold); font: 400 10.5px/1.6 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.fo-seat em { color: var(--muted); font: italic 500 16px/1 var(--display); letter-spacing: 0; text-transform: none; }
.fo-num { display: inline-block; min-width: 2.4em; margin-right: 4px; padding: 2px 6px; border: 1px solid rgba(196, 171, 120, .4); text-align: center; }
.fo-leaf h2 { margin: 0 0 16px; color: #f4eddf; font: 500 clamp(30px, 3.4vw, 42px)/1.05 var(--display); }
.fo-leaf h2 small { margin-left: 8px; color: var(--muted); font: 400 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; vertical-align: 6px; }
.fo-drop { margin: 0; color: #e2ddd0; font: 500 20px/1.6 var(--display); text-wrap: pretty; }
.fo-drop::first-letter { float: left; margin: 6px 12px 0 0; padding: 4px 10px 2px; border: 1px solid rgba(196, 171, 120, .5); color: #e6d3ab; font: 600 52px/.9 var(--display); }
.fo-lens { margin: 0 0 12px; color: var(--gold); font: italic 500 17px/1.45 var(--display); }
.fo-bridge { margin: 16px 0 0; padding-left: 16px; border-left: 1px solid var(--gold-dim); color: var(--body); font: 500 17px/1.55 var(--display); }
.fo-margin { padding-left: 22px; border-left: 1px solid var(--hair); }
.fo-thumb { display: block; width: 132px; aspect-ratio: 240 / 390; background: #efe7d6; box-shadow: 0 1px 1px rgba(0, 0, 0, .45), 0 3px 7px rgba(0, 0, 0, .26), 0 14px 24px -6px rgba(0, 0, 0, .45); }
.fo-gist { margin: 14px 0 0; color: var(--gold); font: italic 500 16px/1.45 var(--display); }
.fo-colophon { max-width: 640px; margin: clamp(34px, 5vw, 56px) auto 0; text-align: center; }
.fo-ornament { width: 120px; margin: 0 auto 18px; color: var(--gold); }
.fo-colophon h2, .fo-colophon h3 { margin: 0 0 14px; color: var(--gold); font: 400 11px/1.4 var(--mono); letter-spacing: .26em; text-transform: uppercase; }
.fo-colophon h3 { margin-top: 28px; }
.fo-colophon p { margin: 0 0 10px; color: #dcd8cb; font: 500 20px/1.55 var(--display); text-wrap: pretty; }
.fo-colophon .fo-sit { font-style: italic; font-size: 23px; color: var(--ivory); }
.fo-colophon .fo-close { margin-top: 26px; color: var(--muted); font-style: italic; font-size: 18px; }
.fo-colophon .fo-mark { margin-top: 26px; color: var(--gold-dim); font: 400 10px/1.6 var(--mono); letter-spacing: .16em; text-transform: uppercase; }

/* ---------- the shelf ---------- */
.sh-head { padding: 22px 0 8px; }
.sh-head h1 { margin: 0; font-size: clamp(44px, 5vw, 68px); letter-spacing: -.035em; line-height: .95; }
.sh-head .eyebrow { margin: 10px 0 16px; }
.sh-head .lede { max-width: 62ch; margin-top: 16px; }
.notice { margin: 16px 0 0; padding: 12px 16px; border-left: 2px solid var(--out); background: rgba(214, 155, 138, .06); color: var(--body); font-size: 13.5px; line-height: 1.6; }
.sh-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); gap: 0 clamp(32px, 5vw, 72px); align-items: start; margin-top: 18px; }
.rows { margin: 0; padding: 0; list-style: none; }
/* perf hunt 8: a shelf with many readings (50, 200 …) used to lay out and paint every row
   at once. Rows off-screen skip layout, style and paint until they scroll near (the row
   still exists for text search, screen readers and Ctrl-F, unlike `content-visibility:
   hidden`); contain-intrinsic-size holds the scrollbar's size steady before a row is ever
   measured, and is only a rough guess (rows vary with question length and notes), not a
   claim of one true row height. */
.row { content-visibility: auto; contain-intrinsic-size: auto 172px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 18px 0; border-top: 1px solid var(--hair); }
.row-open { display: grid; gap: 6px; min-width: 0; text-decoration: none; }
.row-open:hover .row-q { color: #fff; }
.row-date { color: var(--gold); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.row-date b { margin-right: 8px; color: var(--ivory); font-weight: 500; }
.row-q { color: var(--ivory); font-family: var(--display); font-size: 22px; font-style: italic; line-height: 1.25; overflow-wrap: anywhere; }
.quiet-q { color: var(--muted); }
.row-cards { display: flex; gap: 8px; margin-top: 6px; }
/* the shelf shows the paintings (2026-09-27): 52px cards, each with its paper edge */
.row-cards .mini { width: 52px; box-shadow: 0 1px 1px rgba(0, 0, 0, .45), 0 4px 10px -2px rgba(0, 0, 0, .45); }
.pat-rep .mini { box-shadow: 0 1px 1px rgba(0, 0, 0, .45), 0 3px 8px -2px rgba(0, 0, 0, .4); }
/* Today's card, turned (the return screen's strip, threshold.js): large enough to see */
.room .t-today { grid-template-columns: 84px minmax(0, 1fr); }
.room .t-today-face.mini { position: relative; width: 84px; border-radius: 5% / 3.077%; box-shadow: 0 1px 1px rgba(0, 0, 0, .45), 0 3px 7px rgba(0, 0, 0, .26), 0 12px 22px -6px rgba(0, 0, 0, .45); }
.row-names { color: var(--body); font-size: 12.5px; line-height: 1.5; }
.row-head { color: var(--gold); font-family: var(--display); font-size: 16px; font-style: italic; }
.row-note { justify-self: start; padding: 2px 8px; border: 1px solid var(--hair); color: var(--muted); font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; }
.row-del { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 8px 10px; border: 1px solid transparent; background: transparent; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.row-del:hover { border-color: var(--hair); color: var(--ivory); }
.row-del svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.empty { color: var(--body); font-family: var(--display); font-size: 20px; font-style: italic; }
.patterns { padding: 20px 22px 22px; border: 1px solid var(--hair); background: linear-gradient(135deg, rgba(37, 54, 65, .38), rgba(14, 23, 33, .7)); }
.patterns h2 { margin: 0 0 12px; color: var(--ivory); font-family: var(--display); font-size: 26px; font-weight: 500; }
.patterns p { color: var(--body); font-size: 13.5px; line-height: 1.6; }
.pat-n { color: var(--muted) !important; font-family: var(--mono); font-size: 11px !important; }
.pat-n b { color: var(--ivory); font-weight: 500; }
.pat-h { margin: 18px 0 8px; color: var(--gold); font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.pat-rep { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pat-rep li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; color: var(--ivory); font-family: var(--display); font-size: 17px; }
.pat-rep .mini { width: 30px; }
.pat-rep b { color: var(--gold); font-family: var(--mono); font-size: 11px; font-weight: 400; }
.bars { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: 100px 1fr 26px; align-items: center; gap: 10px; color: var(--body); font-family: var(--mono); font-size: 10.5px; }
.bars-t { position: relative; height: 6px; overflow: hidden; background: rgba(196, 171, 120, .12); }
.bars-t span { position: absolute; inset: 0; background: var(--gold-dim); transform-origin: 0 50%; }
.bars-v { text-align: right; color: var(--ivory); }
.danger { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 30px; padding: 16px 0; border-top: 1px solid var(--hair); }
.danger p { margin: 0; color: var(--muted); font-size: 13px; }
.danger-btn { color: var(--out); text-decoration-color: rgba(214, 155, 138, .5); }
.danger-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.danger-yes { border-color: rgba(214, 155, 138, .7); color: #f3d3c9; }

/* ---------- footer ---------- */
.foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; width: var(--page); margin: 30px auto 0; padding: 18px 0 26px; border-top: 1px solid var(--hair); color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.foot p { margin: 0; text-align: center; }
.foot a { justify-self: end; display: inline-flex; align-items: center; min-height: 44px; color: var(--body); text-decoration: none; }
.foot a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- narrower screens ---------- */
@media (max-width: 1000px) {
  :root { --page: calc(100% - 48px); }
  .room[data-phase="intake"] { grid-template-columns: 1fr; grid-template-areas: "intro" "table" "panel" "band"; --table-h: 240px; }
  .room[data-phase="intake"] .intro h1 { font-size: clamp(50px, 9vw, 76px); }
  .room:is([data-phase="shuffle"], [data-phase="cut"], [data-phase="choose"], [data-phase="reveal"], [data-phase="done"]) {
    --table-h: clamp(400px, calc(100svh - 300px), 640px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "bar" "guide" "table" "controls";
    grid-template-rows: auto;
  }
  .rd-shape { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "cards" "more"; }
  .rd-shape-left { display: contents; }
  .rd-shape-cards { margin-top: 22px; }

  .sh-grid { grid-template-columns: 1fr; }
  .patterns { margin-top: 26px; }
}
@media (max-width: 899px) {
  .rd-shape h1.rd-q, .rd-shape h1.rd-q.is-long { max-width: none; }
  .rd-shape h1.is-q::before { position: static; padding: 0; }
  .rd-under { font-size: 18.5px; margin-top: 14px; }
  .rd-headline { max-width: none; margin-top: 22px; padding-top: 18px; font-size: 25px; }
  /* with no gist in the card header, the header must still clear the thumbnail (80px wide,
     130px tall since the card art: a painting needs that much to be seen) */
  .rd-card-h { min-height: 130px; }
  .rd-lens { font-size: 17px; }
  .rd-card { grid-template-columns: 80px minmax(0, 1fr); gap: 0 16px; padding: 16px 0; }
  .rd-thumb { width: 80px; box-shadow: 0 1px 1px rgba(0, 0, 0, .45), 0 3px 6px rgba(0, 0, 0, .26), 0 10px 18px -5px rgba(0, 0, 0, .45); }
  .rd-name { font-size: 26px; margin-top: 4px; }
  .rd-panel { grid-column: 1 / -1; padding-top: 14px; }
  .rd-passage { font-size: 19.5px; }
}
@media (max-width: 560px) {
  :root { --page: calc(100% - 32px); }
  .room { padding-top: 14px; }
  .room[data-phase="intake"] { --table-h: 150px; }
  .room:is([data-phase="shuffle"], [data-phase="cut"], [data-phase="choose"], [data-phase="reveal"], [data-phase="done"]) { --table-h: clamp(370px, calc(100svh - 336px), 600px); }
  .room:is([data-phase="shuffle"], [data-phase="cut"]) { --table-h: clamp(330px, calc(100svh - 400px), 560px); }
  .intro .eyebrow { margin: 10px 0 14px; }
  .room[data-phase="intake"] .intro h1 { font-size: clamp(44px, 13vw, 60px); line-height: .9; }
  .lede { margin-top: 14px; font-size: 13.5px; line-height: 1.6; }
  .panel { padding: 20px 16px 24px; }
  .actions .primary { width: 100%; }
  .actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .actions .quiet { justify-content: center; }
  .band { flex-direction: column; gap: 8px; margin-top: 26px; padding-top: 14px; }
  .band-line { padding-top: 0; font-size: 16px; }
  .bar { padding-bottom: 2px; }
  .bar .quiet { min-height: 40px; font-size: 10.5px; }
  .guide { padding-top: 10px; }
  .guide-matter { font-size: 15px; }
  .controls { padding: 10px 0 20px; }
  .ctl { gap: 8px 14px; }
  .ctl .primary, .ctl .secondary { min-width: 0; flex: 1 1 150px; }
  .slot-label { font-size: 8.5px; letter-spacing: .08em; }
  .slot-name { font-size: 13px; }
  .view-top .view-meta { font-size: 9.5px; letter-spacing: .08em; }
  .rd-shape { padding-top: 16px; }
  .rd-shape h1 { font-size: clamp(34px, 10vw, 46px); }
  .lay { --lw: min(104px, calc((100vw - 32px - 28px) / 3)); gap: 14px 14px; }
  .lay--deep { --lw: min(86px, calc((100vw - 32px - 24px) / 3)); gap: 8px 12px; }
  .lay-name { font-size: 14px; }
  .lay-pos { font-size: 8.5px; letter-spacing: .08em; }
  .rd-summary p { font-size: 14.5px; }
  /* the reading's first screen on a phone: the question, the cards, the headline and one
     short line above an 844px fold, in tighter type and spacing */
  .rd-shape { padding: 10px 0 28px; }
  .rd-shape .eyebrow { margin: 2px 0 8px; }
  .rd-shape h1 { font-size: clamp(29px, 8.4vw, 36px); line-height: 1.02; }
  .rd-shape h1.rd-q.is-long { font-size: clamp(24px, 6.6vw, 28px); line-height: 1.08; }
  .rd-under { margin-top: 8px; font-size: 16px; line-height: 1.34; }
  .rd-shared { margin-top: 10px; font-size: 13px; line-height: 1.5; }
  .rd-headline { margin-top: 14px; padding-top: 12px; font-size: 21.5px; line-height: 1.16; }
  .rd-summary p { margin-bottom: 0; font-size: 14px; line-height: 1.52; }
  .rd-sit-q { font-size: 21px; }
  .rd-ask { font-size: 20px; }
  .rd-gist { font-size: 19px; }
  .keep-row { gap: 0 22px; }
  .keep-state { flex-basis: 100%; }
  .folio { margin-inline: -8px; padding-inline: 18px; }
  .fo-running { font-size: 9px; letter-spacing: .1em; }
  .fo-leaf { grid-template-columns: 1fr; }
  .fo-margin { display: grid; grid-template-columns: 84px 1fr; gap: 0 16px; align-items: center; margin-top: 20px; padding: 14px 0 0; border-left: 0; border-top: 1px dashed var(--hair); }
  .fo-thumb { width: 84px; }
  .fo-gist { margin: 0; }
  .fo-date > span[aria-hidden] { display: none; }
  .fo-roman { display: block; margin-top: 6px; }
  .fo-drop { font-size: 18.5px; }
  .fo-colophon p { font-size: 18.5px; }
  .lay--plate.lay--sitting { --lw: min(112px, calc((100% - 28px) / 3)); gap: 14px; }
  .lay--plate.lay--deep { --lw: min(104px, calc((100% - 24px) / 3)); }
  .row-q { font-size: 20px; }
  .row-cards { gap: 6px; }
  .row-cards .mini { width: 46px; }
  .room .t-today { grid-template-columns: 72px minmax(0, 1fr); }
  .room .t-today-face.mini { width: 72px; }
  .bars li { grid-template-columns: 88px 1fr 22px; }
  .foot { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .foot a { justify-self: center; }
}
@media (max-width: 360px) {
  .bar .quiet { font-size: 10px; }
  .rd-toggle { padding-right: 34px; }
}

/* ---------- reduced motion: calm crossfades only ---------- */
.rm .fcard, .rm .fcard .lift, .rm .fan-ring.ease, .rm .sc-rot, .rm .lay-card, .rm .rd-thumb, .rm .daily-back, .rm .primary { transition: none !important; }
.rm .rd-card.is-open .rd-panel, .rm .keep-share, .rm .keep-plate { animation: fade var(--t-mid) ease both; }
@keyframes fade { from { opacity: 0; } }
.rm .sc { transition: opacity var(--t-mid) ease; }
.rm .sc .face { transform: none; opacity: 0; transition: opacity var(--t-slow) ease; }
.rm .sc .back { transition: opacity var(--t-slow) ease; }
.rm .turned .flipper { transform: none; }
.rm .turned .face { opacity: 1; }
.rm .turned .back { opacity: 0; }
.rm .fcard.raised .lift { transform: translateY(-10%); }
.rm .primary:hover:not(:disabled), .rm .lay a:hover .lay-card, .rm .rd-thumb:hover, .rm .daily-turn:hover .daily-back { transform: none; }
@media (forced-colors: active) {
  .fcard .art, .sc .back, .obj .cb, .daily-back { forced-color-adjust: none; }
  .place::before { border-color: CanvasText; }
  .panel, .patterns, textarea { border-color: CanvasText; }
}

/* ---------- print: the page on ivory ---------- */
@media print {
  @page { margin: 14mm; }
  body.tr { background: #f7f2e6 !important; color: #1a2330; }
  .br-room-header, .foot, .fo-noprint, .tr-skip, #room, #reading-view, #shelf-view, #announce { display: none !important; }
  #folio-view { display: block !important; width: auto; padding: 0; }
  .folio { max-width: none; padding: 10mm 12mm; border-color: #b39a68; outline-color: rgba(179, 154, 104, .4); background: #f7f2e6; box-shadow: none; color: #1a2330; }
  .fo-title, .fo-leaf h2, .fo-drop, .fo-colophon p, .fo-date, .fo-opening, .fo-bridge, .fo-note { color: #1a2330 !important; }
  .fo-running, .fo-kicker, .fo-seat, .fo-colophon h2, .fo-colophon h3, .fo-mark, .fo-roman, .fo-gist, .fo-lens, .lay-pos { color: #7a6337 !important; }
  .lay-name { color: #1a2330; }
  .fo-leaf, .fo-plate { break-inside: avoid; }
  .fo-drop::first-letter { color: #7a6337; border-color: #b39a68; }
}

/* ---------- lite: a device that cannot keep up (perf.js, the governor, sets html.lite) ----------
   Only decoration goes; every card, place, word and motion of the ritual stays. Priced with
   verify/perf.js at 390x844, CPU 4x (docs/design/tarot-perf-20260925/): without the warm
   pool (.glow, a full-stage screen blend) the compositor's draw time fell 59%; with the
   dusk's mask no longer following the light (a still, centred dusk) raster fell 53%; the
   fan's soft card shadows cost 22% of raster. The pinned band's backdrop blur sits behind
   a 96% opaque fill, so dropping it is invisible. Other stylesheets may add to this. */
.lite .glow, .lite .sink-glow { display: none; }
/* the still, centred dusk (62% x 58% at 50% 52%, k .3 inside 40%) is drawn by ritual.js
   drawHoles() into the dusk's canvas, once, instead of the holes that follow the light
   (perf owner 1: since the light went onto the compositor, .shade has no mask to replace) */
.lite .fcard .art { box-shadow: -1px 0 0 rgba(0, 0, 0, .4); }
.lite .fcard.rev .art { box-shadow: 1px 0 0 rgba(0, 0, 0, .4); }
.lite .pin { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- the summary: the reading's own sentence (2026-09-27) ----------
   bench/tarot-reading-quality PLAN.md §2 and 3-journey.md §10. The line under the headline
   is the summary, set as the most important words after the headline: the display serif,
   larger than the returned question and the ask, in ivory rather than body grey. #reading-view
   carries these past table.css (loaded later), which another builder owns.
   The beat: acts.js sets --rise-at to the moment the headline's last line has landed. The
   summary then waits a breath (300 ms after --rise-at, which itself falls about 0.4 s after the
   last word is seen: about 0.75 s in all), rises on its own over 900 ms, and the rest of the
   reading (card by card, to take with you, keep) follows at --rise-at + 1700 ms, once the
   summary has been read into, instead of all of it rising in one frame. Reduced
   motion: the same order as plain cross-fades, closer together. */
#reading-view .rd-sum { max-width: 34rem; }
#reading-view .rd-sum p { margin: 0; color: var(--ivory); font-family: var(--display); font-size: 23px; font-style: italic; font-weight: 500; line-height: 1.36; letter-spacing: 0; text-wrap: pretty; }
#reading-view .rd--table .rd-rise .rd-sum { max-width: 32rem; margin: 24px auto 0; text-align: inherit; }
#reading-view .rd-slow { max-width: 46ch; margin: 0 0 20px; color: var(--body); font-family: var(--display); font-size: 19px; font-style: italic; line-height: 1.4; text-wrap: pretty; }
#reading-view .rd-verdict-line { max-width: 46ch; margin: 0 0 16px; color: var(--body); font-family: var(--display); font-size: 18px; font-style: italic; line-height: 1.4; text-wrap: pretty; }
@media (min-width: 900px) {
  #reading-view .rd-sum p { font-size: 27px; line-height: 1.32; }
  #reading-view .rd--table .rd-rise .rd-sum { max-width: 36rem; margin-top: 30px; }
}
@media (min-width: 1100px) {
  body.on-table #reading-view .rd--table .rd-rise .rd-sum { margin-left: 0; margin-right: 0; }
}
@media (max-width: 560px) {
  #reading-view .rd-sum p { font-size: 19.5px; line-height: 1.34; }
  #reading-view .rd--table .rd-rise .rd-sum { max-width: none; margin-top: 16px; }
  #reading-view .rd-slow { font-size: 17px; }
  #reading-view .rd-verdict-line { font-size: 16.5px; }
}
#reading-view.rising .rd.rd--table .rd-rise { animation: rd-sum 900ms var(--ease) calc(var(--rise-at, 1.6s) + 300ms) both; }
#reading-view.rising .rd.rd--table > :not(.rd-shape) { animation-delay: calc(var(--rise-at, 1.6s) + 1700ms); }
@keyframes rd-sum { from { opacity: 0; transform: translateY(8px); } }
.rm #reading-view.rising .rd.rd--table .rd-rise { animation: fade 480ms ease calc(var(--rise-at, .3s) + 450ms) both; }
.rm #reading-view.rising .rd.rd--table > :not(.rd-shape) { animation: fade var(--t-slow) ease calc(var(--rise-at, .3s) + 1300ms) both; }

/* ==========================================================================================
   The visual finish (2026-09-27): bench/tarot-reading-quality/critique-final/1-design.md.
   What the design critic found, fixed without touching what the critic said must not change
   (the first screen, the sinking question, the acts and whispers, the fan, the flip, the wide
   close, the paintings, the opened passages, reduced motion, the keyboard).
   ========================================================================================== */

/* ---------- #9 one voice: the room's serif for everything the room says or offers ----------
   The mono stays for true metadata (the eyebrow, folio numbers, dates, the places' numerals);
   actions and every line the reader speaks are in the display italic, at 15-18px. */
.quiet { font-family: var(--display); font-size: 16px; font-style: italic; font-weight: 500; letter-spacing: .005em; text-underline-offset: 5px; }
#room .reply-echo .quiet { font-size: 15.5px; }
#room .reader-says { color: var(--ivory); font-family: var(--display); font-size: 19px; font-style: italic; font-weight: 500; line-height: 1.4; }
.rev-w { color: var(--gold); font-style: italic; font-weight: 500; }
.lay-name .rev-w { display: block; font-size: .94em; }
.lay-name .rev-c { display: none; }
.rd-summary p { font-family: var(--display); font-size: 19px; line-height: 1.5; }

/* ---------- #10 card by card: a verse when closed, the passage under its line when open ---------- */
.rd-block-head .quiet { min-height: 44px; }
.rd-name { display: block; }
.rd-pos span { color: var(--muted); font-family: var(--display); font-size: 15.5px; font-style: italic; font-weight: 500; letter-spacing: .005em; text-transform: none; }
.rd-pos span::before { content: "\2014\00a0"; }
.rd-card { grid-template-columns: 96px minmax(0, 1fr); padding: 24px 0 22px; }
.rd-thumb { width: 96px; }
.rd-panel { padding-top: 10px; }
.rd-panel .rd-gist { margin: 0; }
.rd-more { padding-top: 12px; }
.rd-card.is-open .rd-panel { animation: none; }
.rd-card.is-open .rd-more { animation: rise var(--t-mid) var(--ease) both; }
.rm .rd-card.is-open .rd-more { animation: fade var(--t-mid) ease both; }
/* where the cards are already in view beside the reading, the rows do not repeat them */
@media (min-width: 1001px) {
  .rd--page .rd-thumb { display: none; }
  .rd--page .rd-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "panel"; }
}
@media (min-width: 1100px) {
  body.on-table .rd--table .rd-thumb { display: none; }
  body.on-table .rd--table .rd-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "panel"; }
}
@media (max-width: 899px) {
  .rd-card { grid-template-columns: 60px minmax(0, 1fr); gap: 0 16px; padding: 18px 0 16px; }
  .rd-thumb { width: 60px; }
  .rd-card-h { min-height: 98px; }
  .rd-panel { padding-top: 8px; }
}

/* ---------- #4 the ending: the question to sit with, then a keepsake ---------- */
.rd-take { border-bottom: 0; }
.rd-end { max-width: 40rem; margin: 0 auto; padding: 44px 0 46px; border-top: 1px solid var(--hair); text-align: center; }
.rd-orn { display: block; width: 116px; height: 16px; margin: 0 auto 24px; color: var(--gold); }
.rd-end-k { margin: 0 0 18px; color: var(--gold); font: 400 10.5px/1.4 var(--mono); letter-spacing: .26em; text-transform: uppercase; }
.rd-end .rd-sit-q { max-width: 20ch; margin: 0 auto; color: #f6efe0; font-family: var(--display); font-size: clamp(30px, 2.9vw, 40px); font-style: italic; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.rd-end .rd-closing { max-width: 34ch; margin: 22px auto 0; color: var(--body); font-size: 19px; line-height: 1.45; }
.rd-end .rd-note { margin: 26px auto 0; }
.rd-end .rd-note > .quiet { color: var(--muted); }
.rd-end #rd-note-box { max-width: 32rem; margin: 0 auto; text-align: left; }
.rd-end #rd-note-box textarea { resize: none; font-family: var(--display); font-size: 19px; font-style: italic; }
.rd-end #rd-note-status { font-family: var(--display); font-size: 15px; font-style: italic; }

.rd-keep--own { padding: 28px 0 14px; border-top: 1px solid var(--hair); text-align: center; }
.rd-keep--own .keep-state { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 0 10px; margin: 0; color: var(--body); font-family: var(--display); font-size: 18px; font-style: italic; font-weight: 500; }
.rd-keep--own .keep-tick { color: var(--gold); font-style: normal; font-size: 13px; }
.rd-keep--own .keep-state .quiet { min-height: 44px; padding: 8px 2px; color: var(--muted); font-size: 15.5px; }
.rd-keep--own .undo-line { justify-content: center; font-family: var(--display); font-size: 16px; font-style: italic; }
.keep-doors { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 36px; margin-top: 10px; }
.keep-door { display: inline-flex; align-items: center; gap: 11px; min-height: 48px; padding: 6px 4px; border: 0; background: none; color: var(--ivory); font-family: var(--display); font-size: 21px; font-style: italic; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer; }
.keep-door svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.1; stroke-linejoin: round; }
.keep-door > span { padding-bottom: 3px; border-bottom: 1px solid rgba(196, 171, 120, .38); transition: border-color var(--t-fast) ease, color var(--t-fast) ease; }
.keep-door:hover > span, .keep-door[aria-expanded="true"] > span { border-color: var(--gold-lit); color: #fff8e8; }
.keep-share { max-width: 34rem; margin: 20px auto 0; padding: 26px 0 6px; border-top: 1px solid var(--hair); text-align: center; animation: rise var(--t-mid) var(--ease) both; }
.share-says { display: flex; justify-content: center; gap: 10px; max-width: 30rem; margin: 0 auto; color: var(--body); font-family: var(--display); font-size: 17px; font-style: italic; font-weight: 500; line-height: 1.45; text-align: left; text-wrap: pretty; }
.share-says svg { flex: none; width: 12px; height: 12px; margin-top: 6px; fill: none; stroke: var(--gold-dim); stroke-width: 1.3; }
.keep-plate { margin-top: 0; animation: none; }
.plate-opts { display: flex; justify-content: center; align-items: flex-end; gap: 22px; margin: 22px 0 18px; }
.plate-pick { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; min-width: 64px; min-height: 76px; padding: 4px 6px; color: var(--muted); font-family: var(--display); font-size: 16px; font-style: italic; font-weight: 500; cursor: pointer; }
.plate-pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.plate-glyph { display: block; border: 1px solid rgba(196, 171, 120, .42); background: linear-gradient(160deg, #15283a, #0b1622); box-shadow: inset 0 0 0 3px #0d1824, inset 0 0 0 4px rgba(196, 171, 120, .3); transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease; }
.plate-glyph--story { width: 28px; height: 50px; }
.plate-glyph--square { width: 42px; height: 42px; }
.plate-pick input:checked ~ .plate-glyph { border-color: var(--gold-lit); box-shadow: inset 0 0 0 3px #0d1824, inset 0 0 0 4px rgba(240, 214, 157, .55), 0 0 18px rgba(240, 214, 157, .22); }
.plate-pick input:checked ~ .plate-word { color: var(--ivory); }
.plate-pick input:focus-visible ~ .plate-glyph { outline: 2px solid var(--gold-lit); outline-offset: 4px; }
.plate-preview { display: flex; justify-content: center; margin: 0; padding: 4px 0 0; border: 0; background: none; }
.plate-preview img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(560px, 68vh); box-shadow: 0 2px 3px rgba(0, 0, 0, .45), 0 28px 56px -14px rgba(0, 0, 0, .75); }
.plate-preview[data-size="square"] img { max-height: min(440px, 60vh); }
.check.plate-q { justify-content: center; margin-top: 16px; color: var(--body); font-family: var(--display); font-size: 17px; font-style: italic; font-weight: 500; }
.check.plate-q input { appearance: none; -webkit-appearance: none; display: grid; place-items: center; flex: none; width: 17px; height: 17px; border: 1px solid rgba(196, 171, 120, .6); background: rgba(5, 12, 20, .5); }
.check.plate-q input::after { content: ""; width: 7px; height: 7px; background: var(--gold-lit); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transform: scale(0); transition: transform var(--t-fast) var(--ease); }
.check.plate-q input:checked::after { transform: none; }
.check.plate-q input:focus-visible { outline: 2px solid var(--gold-lit); outline-offset: 3px; }
.check.plate-q input:disabled { opacity: .45; }
.keep-share .fine { margin-top: 4px; font-family: var(--display); font-size: 15px; font-style: italic; }
.keep-share .fine:empty { display: none; }
.share-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 34px; margin-top: 10px; }
.keep-door--act { font-size: 19px; }
.keep-share .link-field { max-width: 30rem; margin: 12px auto 0; text-align: left; }
.rm .keep-share { animation: fade var(--t-mid) ease both; }
@media (max-width: 560px) {
  .rd-end { padding: 36px 0 38px; }
  .rd-end .rd-sit-q { font-size: 27px; }
  .keep-doors { flex-direction: column; align-items: center; gap: 0; }
  .keep-door { font-size: 20px; }
  .share-says { font-size: 16px; }
  .plate-preview img { max-height: 62vh; }
}

/* ---------- #7 the reread keeps the close's composition (reading.js page mode) ---------- */
#reading-view .rd--page .rd-shape { display: block; padding: 22px 0 40px; text-align: center; }
#reading-view .rd--page .rd-shape .eyebrow.is-thread { margin: 0 0 10px; color: var(--gold); font-family: var(--display); font-size: 16px; font-style: italic; letter-spacing: .02em; text-transform: none; }
#reading-view .rd--page .rd-shape h1.fin-q { position: static; max-width: 30ch; margin: 0 auto; color: var(--gold); font-family: var(--display); font-size: 18px; font-style: italic; font-weight: 500; letter-spacing: 0; line-height: 1.3; text-wrap: balance; }
#reading-view .rd--page .rd-shape h1.is-q::before { content: none; }
#reading-view .rd--page .rd-shape h1.fin-q::after { content: ""; display: block; width: 26px; height: 1px; margin: 14px auto 12px; background: var(--gold-dim); opacity: .7; }
#reading-view .rd--page .rd-shape .fin-h { max-width: 100%; margin: 0 auto; padding: 0; border: 0; color: #f6efe0; font-family: var(--display); font-size: 34px; font-style: normal; font-weight: 500; line-height: 1.06; letter-spacing: -.022em; text-wrap: balance; }
#reading-view .rd--page .rd-shape .fin-h.is-long { font-size: 29px; line-height: 1.08; }
#reading-view .rd--page .rd-shape h1.fin-h.is-q { font-style: italic; }
#reading-view .rd--page .rd-shape h1.fin-h::after { content: none; }
#reading-view .rd--page .rd-rise .rd-sum { max-width: 34rem; margin: 20px auto 0; }
#reading-view .rd--page .rd-shape-cards { margin: 6px 0 26px; }
#reading-view .rd--page .rd-shared { margin: 16px auto 0; text-align: left; }
@media (min-width: 1001px) {
  #reading-view .rd--page .rd-shape { display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - 64px); padding: 40px 0 48px; text-align: left; }
  #reading-view .rd--page .rd-shape h1.fin-q { max-width: 22em; margin: 0; font-size: 22px; }
  #reading-view .rd--page .rd-shape h1.fin-q::after { margin: 18px 0 16px; }
  #reading-view .rd--page .rd-shape .fin-h { max-width: 11em; margin: 0; font-size: 54px; line-height: 1.05; }
  #reading-view .rd--page .rd-shape .fin-h.is-long { max-width: 13em; font-size: 44px; }
  #reading-view .rd--page .rd-rise .rd-sum { max-width: 36rem; margin: 30px 0 0; }
  #reading-view .rd--page .rd-shared { margin-left: 0; }
}
@media (min-width: 561px) and (max-width: 1000px) {
  #reading-view .rd--page .rd-shape .fin-h { font-size: 44px; }
  #reading-view .rd--page .rd-shape .fin-h.is-long { font-size: 36px; }
}
/* a phone: the Sitting as the table laid it, two above one, the Turn's words beside it */
@media (max-width: 560px) {
  .lay--head.lay--sitting { --lw: min(112px, calc((100vw - 32px - 16px) / 3)); grid-template-columns: repeat(2, var(--lw)); gap: 14px 16px; }
  .lay--head.lay--sitting .lay-turn { grid-column: 1 / -1; justify-self: center; width: var(--lw); }
  .lay--head.lay--sitting .lay-turn > * { position: relative; }
  .lay--head.lay--sitting .lay-turn :is(.lay-pos, .lay-name) { position: absolute; left: calc(100% + 12px); width: max-content; max-width: calc(50vw - var(--lw) / 2 - 30px); margin: 0; text-align: left; white-space: normal; }
  .lay--head.lay--sitting .lay-turn .lay-pos { top: 2px; }
  .lay--head.lay--sitting .lay-turn .lay-name { top: 20px; }
}

/* ---------- #5 the page to keep leads with the headline (folio.js) ---------- */
.fo-q { max-width: 36ch; margin: 0 auto; color: var(--gold); font: italic 500 22px/1.3 var(--display); text-wrap: balance; overflow-wrap: anywhere; }
.fo-q::after { content: ""; display: block; width: 26px; height: 1px; margin: 16px auto 18px; background: var(--gold-dim); opacity: .7; }
.fo-title.is-head { max-width: 15ch; font: 500 clamp(40px, 5.2vw, 64px)/1.04 var(--display) !important; font-style: normal !important; letter-spacing: -.022em; }
.fo-aside { max-width: 44ch; margin: 24px auto 0; color: var(--muted); font: italic 500 17px/1.5 var(--display); }
/* drop caps: unboxed, three lines deep, set into the text (they were boxed like form fields,
   and the box split the word: "E ndurance") */
.fo-drop::first-letter { float: left; margin: 7px 6px 0 0; padding: 0; border: 0; color: #e6d3ab; font: 600 72px/.78 var(--display); }
@supports (initial-letter: 3) {
  .fo-drop::first-letter { float: none; initial-letter: 3; margin: 0 .06em 0 0; font-size: inherit; line-height: inherit; }
}
.fo-leaf h2 small { margin-left: 10px; color: var(--gold); font: italic 500 .52em/1 var(--display); letter-spacing: 0; text-transform: none; vertical-align: .12em; }
@media (max-width: 560px) {
  .folio { padding-top: 46px; }
  .folio::before { top: 16px; left: 16px; }
  .folio::after { right: 16px; bottom: 16px; }
  .fo-q { font-size: 18px; }
  .fo-q::after { margin: 12px auto 14px; }
  .fo-title.is-head { font-size: 34px !important; }
  .fo-drop::first-letter { font-size: 64px; }
}
@media print {
  .fo-q, .fo-aside { color: #7a6337 !important; }
  .fo-q::after { background: #b39a68; }
}

/* ---------- #7 a returning visitor: the room remembers with the cards (threshold.js greet) ----------
   The spread as it was left, small, in the lamp's pool; the question as a small line and the
   headline as they were at the close; the invitation as words and two ways on; the doors as a
   quiet row; what the room keeps behind one line. (threshold.css draws the rest of the
   threshold; these rules are more specific so the first screen's rules are untouched.) */
#room[data-phase="intake"][data-mode="return"] { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "kept"; }
#room[data-phase="intake"][data-mode="return"] .intro { width: 100%; }
.t-return { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-areas: "cards words"; column-gap: clamp(40px, 6vw, 110px); align-items: center; min-height: min(620px, calc(100svh - 250px)); padding: 6px 0 10px; }
.t-spread { grid-area: cards; position: relative; display: flex; justify-content: center; padding: 30px 0 22px; isolation: isolate; }
.t-spread::before { content: ""; position: absolute; inset: -8% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 236, 200, .11), rgba(240, 214, 157, .045) 52%, rgba(240, 214, 157, 0)); pointer-events: none; }
.t-words { grid-area: words; min-width: 0; }
.lay--return.lay--sitting { --lw: clamp(118px, 10.6vw, 172px); gap: 14px clamp(12px, 1.6vw, 22px); }
.lay--return.lay--deep { --lw: clamp(76px, 6.4vw, 96px); gap: 10px clamp(10px, 1.4vw, 18px); }
/* the Crown's and the Root's names beside them, as in the reading's column, so the cross is no
   taller than the words beside it and the ways on stay above the fold */
.lay--return.lay--deep :is(.lay-crown, .lay-root) > * { position: relative; }
.lay--return.lay--deep :is(.lay-crown, .lay-root) :is(.lay-pos, .lay-name) { position: absolute; left: calc(100% + 12px); width: max-content; max-width: 150px; margin: 0; text-align: left; }
.lay--return.lay--deep :is(.lay-crown, .lay-root) .lay-pos { top: 2px; }
.lay--return.lay--deep :is(.lay-crown, .lay-root) .lay-name { top: 19px; }
.t-return { padding: 0; }
.lay--return .lay-name { font-size: 15px; }
#room .t-return .eyebrow { margin: 0 0 14px; }
#room .t-return .t-asked { margin: 0 0 10px; }
#room .t-return h1.t-q.is-q { max-width: 26em; margin: 0; color: var(--gold); font-family: var(--display); font-size: 22px; font-style: italic; font-weight: 500; letter-spacing: 0; line-height: 1.3; text-wrap: balance; }
#room .t-return h1.t-q.is-q::after { content: ""; display: block; width: 26px; height: 1px; margin: 16px 0 14px; background: var(--gold-dim); opacity: .7; }
#room .t-return .t-head, #room .t-return h1.t-q:not(.is-q):not(.t-q--quiet) { max-width: 12em; margin: 0; color: #f6efe0; font-family: var(--display); font-size: clamp(38px, 3.6vw, 52px); font-style: normal; font-weight: 500; line-height: 1.05; letter-spacing: -.022em; text-wrap: balance; }
#room .t-return .t-sit { margin-top: 20px; }
#room .t-return .t-sit p { font-size: 21px; }
#room .t-invite { max-width: 34rem; margin: 24px 0 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--hair); background: none; }
#room .t-invite::before { content: none; }
#room .t-invite h2 { font-size: clamp(24px, 2vw, 29px); }
#room .t-invite p { max-width: 44ch; color: var(--body); font-family: var(--display); font-size: 18px; font-style: italic; font-weight: 500; line-height: 1.42; }
#room .t-invite-actions { gap: 8px 26px; }
#room[data-mode="return"] .kept { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--hair); }
#room .t-doors { display: flex; flex-wrap: wrap; gap: 6px 46px; }
#room .t-doors li { min-width: 0; }
#room .door { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; width: auto; height: auto; min-height: 56px; padding: 6px 2px; border: 0; background: none; }
#room .door:hover { background: none; }
#room .door > :first-child { grid-row: 1 / span 2; }
#room .door b { align-self: end; margin: 0; padding: 0; font-family: var(--display); font-size: 20px; font-style: italic; font-weight: 500; line-height: 1.15; }
#room .door b small { color: var(--gold); font-family: var(--display); font-size: 1em; font-style: italic; letter-spacing: 0; text-transform: none; }
#room .door > span:last-child { align-self: start; color: var(--muted); font-family: var(--display); font-size: 15px; font-style: italic; letter-spacing: 0; }
#room .door:hover b { text-decoration: underline; text-decoration-color: rgba(196, 171, 120, .5); text-underline-offset: 4px; }
#room .door-plus { width: 30px; height: 30px; font-size: 21px; }
#room .t-keeps--return { margin: 8px 0 0; }
#room .t-keeps--return > summary { display: flex; align-items: center; gap: 9px; min-height: 44px; margin: 0; color: var(--muted); font-family: var(--display); font-size: 15.5px; font-style: italic; letter-spacing: 0; text-decoration: none; }
#room .t-keeps--return > summary u { color: var(--body); text-decoration-color: rgba(188, 174, 143, .4); text-underline-offset: 4px; }
#room .t-keeps--return > summary svg { margin-top: 0; }
#room .t-keeps--return[open] > summary { color: var(--body); }
#room .t-keeps--return > p { max-width: 58ch; margin: 4px 0 0; color: var(--body); font-family: var(--display); font-size: 17px; line-height: 1.5; }
#room .t-keeps--return .check { font-family: var(--display); font-size: 17px; font-style: italic; }
@media (max-width: 1000px) {
  .t-return { grid-template-columns: minmax(0, 1fr); grid-template-areas: "cards" "words"; min-height: 0; }
}
@media (max-width: 560px) {
  .t-return { display: flex; flex-direction: column; padding: 0; }
  .t-words { display: contents; }
  #room .t-return .eyebrow { order: 1; margin: 4px 0 8px; }
  #room .t-return .t-asked { order: 1; margin: 0; }
  .t-spread { order: 2; padding: 8px 0 10px; }
  .t-return > .t-words > * { order: 3; }
  .lay--return.lay--sitting { --lw: 58px; gap: 10px 12px; }
  /* the cross would push the ways on below a phone's fold: the five lie in one row, in their order */
  .lay--return.lay--deep { --lw: 46px; grid-template-columns: repeat(5, var(--lw)); grid-template-areas: none; gap: 8px; }
  .lay--return.lay--deep li { grid-area: auto; }
  .lay--return :is(.lay-pos, .lay-name) { display: none; }
  #room .t-return h1.t-q.is-q { font-size: 18px; text-align: center; margin: 0 auto; }
  #room .t-return h1.t-q.is-q::after { margin: 10px auto 10px; }
  #room .t-return .t-head, #room .t-return h1.t-q:not(.is-q):not(.t-q--quiet) { max-width: none; font-size: 26px; line-height: 1.1; text-align: center; }
  #room .t-return .t-sit { max-width: none; margin-top: 14px; padding: 0; border: 0; text-align: center; }
  #room .t-return .t-sit p { font-size: 17px; }
  #room .t-invite { margin-top: 16px; padding-top: 12px; text-align: center; }
  #room .t-invite p { margin-left: auto; margin-right: auto; }
  #room .t-invite h2 { font-size: 21px; }
  #room .t-invite p { font-size: 15.5px; line-height: 1.38; }
  #room .t-invite-actions { gap: 0; margin-top: 8px; }
  #room[data-mode="return"] .kept { margin-top: 4px; padding-top: 8px; }
  #room .t-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  #room .door { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; justify-items: start; row-gap: 3px; min-height: 0; padding: 4px 2px; }
  #room .door > :first-child { grid-row: auto; }
  #room .door b { font-size: 17px; }
  #room .door > span:last-child { font-size: 13.5px; }
}

/* "reversed" everywhere else it is said (#9): a word in the name's voice, never a 9px label */
.tr .rev-tag, #room .f-then small, #reading-view .since-names small, .tr .daily-name .rev-tag { color: var(--gold); font-family: var(--display); font-size: .86em; font-style: italic; font-weight: 500; letter-spacing: 0; text-transform: none; }
/* one deck at every surface (#3): the small faces elsewhere (the pinned band, the check-in's
   last cards, the "Since" pairs, Today's card behind its door) carry the gilt edge too; they are
   too small for the inner rule */
.pin .mini-in, .since-pair .mini:not(.since-none), #room .f-then .mini, #room .door-card.mini:not(.door-back) { position: relative; isolation: isolate; }
.pin .mini-in::after, .since-pair .mini:not(.since-none)::after, #room .f-then .mini::after, #room .door-card.mini:not(.door-back)::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; mix-blend-mode: multiply;
  background: var(--mount-edge) 0 0 / 100% 100% no-repeat, var(--paper-tint);
}
/* the earlier card in a "Since" pair waits with the lamp lowered, as the waiting cards do (#2), not faded into the navy */
#reading-view .since-pair .since-old { opacity: .85; filter: sepia(.3) brightness(.76) saturate(.9); }
