/* ABC-front-lower.css: the Journal front page below the Moon (ABC-front.html): the one look for the lower page,
   The Almanac chapter and the sign-off. Installed 28 September 2026 from layout C of the lower-page board, the layout
   the user picked (docs/design/journal-front-below-moon-plan-20260928.md). Loaded after every other stylesheet.
   Part 1 is the board's shared look (front-below-common.css) and part 2 the Almanac (front-below-C.css), with the same
   rules in the same order as on the board, so the page renders as the board's layout C; only comments differ. The
   board's files keep serving the board and are not loaded here. */

/* ======================== Part 1: the one look ======================== */

/* Part 1, the one look for the Journal's lower page (the board's front-below-common.css, which the board's layouts
   share). Loaded after every existing stylesheet. It styles only new
   fb-* classes and the name tool's shared markup inside .fb-name; nothing here reaches the Moon block, the lead band
   or the contents row.
   Source of every value: the Moon section (ABC-moon.css): ground #0e1118, the silver text steps #f0f1ee / #bbc0c9 /
   #a6adb9, the pale gold #ead58f (12.96:1 on the ground), 600-weight Cormorant headings, Inter small print.
   Plan: docs/design/journal-front-below-moon-plan-20260928.md, "Across the whole lower page". */

/* ---------- 1. tokens ---------- */
:root {
  --fb-ground: #0e1118;       /* the Moon's ground */
  --fb-raised: #161b24;       /* the one raised tone: panels, the card, the dial plate (the culture mat's colour) */
  --fb-ink-1: #f0f1ee;        /* 16.66:1 on the ground, 15.23:1 raised */
  --fb-ink-2: #bbc0c9;        /* 10.34:1, 9.45:1 */
  --fb-ink-3: #a6adb9;        /*  8.36:1, 7.65:1 */
  --fb-accent: #ead58f;       /* links and marks: 12.96:1, 11.85:1 */
  --fb-focus: #ead58f;
  --fb-rule: #383e49;         /* hairlines inside a section */
  --fb-rule-2: #444c59;       /* the heading line (the Tonight heading's #444c59) and rings */
  --fb-link-line: rgba(234, 213, 143, .45);
  --fb-button-ink: #0e1118;   /* on the accent: 12.96:1 */
  --fb-measure: 34em;         /* reading lines of about 60 characters in the book face */
}
/* The pale interval (the turning year and the sign-off): the recorded "muted pearl grey", one grey for both, with the
   faint text and the focus outline fixed. Measured: ink-1 9.69:1, ink-2 7.53:1, ink-3 6.17:1, mark 5.89:1, focus 10.07:1
   (the old runs were 4.13, 4.18 and 4.47; the old outlines 1.12 and 1.22). Remove fb-band--pearl from a section to put
   it on the dark ground; the plan's question 3 decides. */
.fb-band--pearl {
  --fb-ground: #b9bec1;
  --fb-raised: #c7cbcd;
  --fb-ink-1: #10161e;
  --fb-ink-2: #232c37;
  --fb-ink-3: #2f3a46;
  --fb-accent: #10161e;       /* links on the grey are ink with a line; the gold would fail here */
  --fb-mark: #4a3a0c;
  --fb-focus: #0e1118;
  --fb-rule: #9aa2a9;
  --fb-rule-2: #6b7680;
  --fb-link-line: rgba(16, 22, 30, .5);
}

/* ---------- 2. surfaces, width and rhythm ---------- */
.fb-band { background: var(--fb-ground); color: var(--fb-ink-1); padding-block: 80px; scroll-margin-top: 24px; }
/* two dark sections in a row are parted by a hairline; a change of ground needs none */
.fb-band:not(.fb-band--pearl) + .fb-band:not(.fb-band--pearl) { border-top: 1px solid var(--fb-rule); }
.fb-band :focus-visible, .fb-almanac :focus-visible, .fb-method :focus-visible { outline: 2px solid var(--fb-focus); outline-offset: 3px; }
@media (max-width: 699px) { .fb-band { padding-block: 40px; } }

/* ---------- 3. the section heading, in two sizes (modelled on the Tonight heading) ----------
   The title on the left, a date or one link on the right, a hairline under a chapter heading. One weight (600), one
   small-label style, always above the title. A sub-section (inside a chapter) has a hairline above instead, as
   "The Moon in culture" does. */
.fb-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; padding-bottom: 20px; margin-bottom: 40px; border-bottom: 1px solid var(--fb-rule-2); }
.fb-head__main { min-width: 0; }
.fb-label { margin: 0 0 10px; font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fb-ink-3); }
.fb-title { margin: 0; font: 600 clamp(40px, 4.4vw, 56px)/1.05 var(--serif); letter-spacing: -.015em; color: var(--fb-ink-1); text-wrap: balance; }
.fb-head--sub { border-bottom: 0; padding-bottom: 0; margin-bottom: 28px; }
.fb-head--sub .fb-title { font-size: clamp(30px, 2.6vw, 34px); line-height: 1.12; letter-spacing: 0; }
.fb-head__aside { flex: none; }
@media (max-width: 699px) {
  .fb-head { gap: 10px 24px; padding-bottom: 16px; margin-bottom: 24px; }
  .fb-title { font-size: 36px; }
  .fb-head--sub .fb-title { font-size: 30px; }
}

/* ---------- 4. type (minimums: spaced capitals 12px, notes 13px, reading text 18-19px in the book face) ---------- */
.fb-lede { margin: 0 0 24px; max-width: var(--fb-measure); font: 400 19px/1.55 var(--serif); color: var(--fb-ink-2); text-wrap: pretty; }
.fb-note { margin: 16px 0 0; max-width: 60ch; font: 400 13px/1.6 var(--sans); color: var(--fb-ink-3); text-wrap: pretty; }
@media (max-width: 699px) { .fb-lede { font-size: 18px; } }

/* ---------- 5. links, doors and the one button ----------
   A link says what it opens; a straight arrow for links inside the site, tied to its last word by a no-break space. */
.fb-link, .fb-door {
  color: var(--fb-accent); font: 500 14px/1.5 var(--sans); text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: var(--fb-link-line); text-underline-offset: 5px;
}
.fb-link:hover, .fb-door:hover { text-decoration-color: currentColor; }
/* inline-block, not flex: flex would drop the spaces around the day's number and push the arrow away from its word */
.fb-door { display: inline-block; padding-block: 11px; }
.fb-door-line { margin: 2px 0 0; }
.fb-button {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: var(--r);
  background: var(--fb-accent); color: var(--fb-button-ink); font: 600 15px/1.2 var(--sans); text-decoration: none;
}
.fb-button:hover { background: #f3e3ab; }
.fb-band .fb-button:focus-visible { outline-offset: 4px; }

/* ---------- 6. the one fold-open marker: the +/- ring (the personal sections' ring, 26px) ---------- */
.fb-ring { position: relative; flex: none; display: inline-block; width: 26px; height: 26px; border: 1px solid var(--fb-rule-2); border-radius: 50%; color: var(--fb-accent); }
.fb-ring::before, .fb-ring::after { content: ''; position: absolute; left: 8px; top: 12px; width: 8px; height: 1px; background: currentColor; }
.fb-ring::after { transform: rotate(90deg); }
details[open] > summary .fb-ring::after { display: none; }
.fb-fold > summary, .fb-method > summary, .fb-name .jpn-extended > summary {
  display: flex; align-items: center; gap: 14px; list-style: none; cursor: pointer; min-height: 44px;
}
.fb-fold > summary::-webkit-details-marker, .fb-method > summary::-webkit-details-marker, .fb-name .jpn-extended > summary::-webkit-details-marker { display: none; }
.fb-fold > summary { width: fit-content; font: 500 14px/1.5 var(--sans); color: var(--fb-accent); }
.fb-fold > summary:hover .fb-ring, .fb-method > summary:hover .fb-ring, .fb-name .jpn-extended > summary:hover .fb-ring { border-color: var(--fb-accent); }

/* ---------- 7. one story-link component (the Library's pieces) ---------- */
.fb-story { display: grid; gap: 6px; align-content: start; color: var(--fb-ink-1); text-decoration: none; max-width: 36em; }
.fb-story__art { display: block; margin-bottom: 14px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--fb-raised); }
.fb-story__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fb-story__art--thumb img, .fb-story__art--svg img, .fb-story__art--photo img { object-fit: contain; }
.fb-story__label { margin: 0; }
.fb-story__title { font: 600 28px/1.18 var(--serif); color: var(--fb-ink-1); text-wrap: balance; text-decoration: underline 1px transparent; text-underline-offset: 5px; }
.fb-story:hover .fb-story__title { text-decoration-color: currentColor; }
.fb-story__deck { font: 400 18px/1.5 var(--serif); color: var(--fb-ink-2); text-wrap: pretty; }
.fb-story--text { padding-left: 18px; border-left: 2px solid var(--fb-rule-2); }
.fb-story .nobr { white-space: nowrap; }
@media (max-width: 699px) { .fb-story__title { font-size: 24px; } .fb-story__art { aspect-ratio: 16 / 9; margin-bottom: 10px; } }

/* ---------- 8. Tonight's Almanac: the card and the date's number ---------- */
.fb-almanac { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--fb-rule); color: var(--fb-ink-1); }
.fb-almanac__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.fb-almanac__day { grid-column: 1 / 8; display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 40px; align-items: start; }
.fb-number { grid-column: 8 / -1; min-width: 0; }
.fb-reading { min-width: 0; max-width: var(--fb-measure); }
.fb-reading__name { margin: 0; font: 600 clamp(32px, 3vw, 40px)/1.1 var(--serif); color: var(--fb-ink-1); text-wrap: balance; }
.fb-reading__teaser { margin: 12px 0 0; font: 400 19px/1.55 var(--serif); color: var(--fb-ink-2); text-wrap: pretty; }
.fb-reading__more { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--fb-rule); }
.fb-reading__keywords { margin: 0 0 12px; font: 500 13px/1.6 var(--sans); letter-spacing: .02em; color: var(--fb-accent); }
.fb-reading__meaning, .fb-reading__full { margin: 0; font: 400 19px/1.55 var(--serif); color: var(--fb-ink-1); text-wrap: pretty; }
.fb-reading__full { margin-top: 6px; color: var(--fb-ink-2); }
.fb-reading .fb-fold { margin-top: 10px; }
.fb-reading .fb-note { margin-top: 20px; }
/* the card: a button with two sides. Face down it shows the house mark; pressed, it turns to its face (numeral, suit
   mark, name) and the meaning opens beside it. The inner frame is drawn by a pseudo-element, so the focus outline
   (on the button itself) is never covered. */
.fb-card-col { display: flex; justify-content: center; }
.fb-card { position: relative; display: block; width: 100%; max-width: 232px; aspect-ratio: 7 / 11; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; perspective: 1400px; border-radius: 10px; }
.fb-card:disabled { cursor: wait; }
.fb-card:focus-visible { outline: 2px solid var(--fb-focus); outline-offset: 5px; }
.fb-card__turn { position: relative; display: grid; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.fb-card[aria-expanded="true"] .fb-card__turn { transform: rotateY(180deg); }
.fb-card__side {
  grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 28px 18px; border: 1px solid #aeb6c1; border-radius: 10px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: radial-gradient(ellipse at 50% 35%, #273040, var(--fb-raised) 72%); box-shadow: 0 18px 34px -14px #000a;
}
.fb-card__side::before { content: ''; position: absolute; inset: 9px; border: 1px solid #58616e; border-radius: 6px; pointer-events: none; }
.fb-card__face { transform: rotateY(180deg); justify-content: space-between; padding-block: 30px 24px; }
.fb-card__emblem { width: 76px; height: 76px; fill: none; stroke: #cfd5dd; stroke-width: 1.6; opacity: .9; }
.fb-card__action { font: 500 17px/1.35 var(--serif); color: var(--fb-accent); text-align: center; }
/* balanced, so "One card for this date" never leaves "date" alone on a line (FIXES.md, E7) */
.fb-card__note, .fb-card__action { text-wrap: balance; }
.fb-card__note { font: 400 13px/1.4 var(--sans); color: var(--fb-ink-2); text-align: center; }
.fb-card__numeral { font: 600 26px/1 var(--serif); letter-spacing: .08em; color: var(--fb-ink-1); font-variant-numeric: lining-nums; }
.fb-card__mark { font: 400 84px/1 Georgia, 'Segoe UI Symbol', serif; color: #d9dee5; text-shadow: 0 0 22px #d3e1ff30; font-variant-emoji: text; }
.fb-card__name { font: 600 22px/1.15 var(--serif); color: var(--fb-ink-1); text-align: center; text-wrap: balance; }
.fb-card__face .fb-card__action { font: 400 13px/1.4 var(--sans); color: var(--fb-ink-2); }
.fb-card:disabled .fb-card__side { opacity: .7; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .fb-card:not(:disabled):hover .fb-card__side { border-color: #d7dde5; }
}
@media (prefers-reduced-motion: reduce) { .fb-card__turn { transition: none; } }
/* the date's number: the numeral, its working, the prompt, the door */
.fb-number__label { margin-bottom: 8px; }
.fb-number__value { margin: 0; font: 600 72px/1 var(--serif); color: var(--fb-ink-1); font-variant-numeric: lining-nums; }
.fb-number__working { margin: 14px 0 0; font: 400 14px/1.6 var(--sans); color: var(--fb-ink-3); font-variant-numeric: tabular-nums; }
.fb-number__working:empty { display: none; }
.fb-number__prompt { margin: 14px 0 0; max-width: var(--fb-measure); font: 400 19px/1.55 var(--serif); color: var(--fb-ink-1); text-wrap: pretty; }
@media (max-width: 1099px) {
  .fb-almanac, .fb-method { max-width: 640px; margin-inline: auto; }
  .fb-almanac__grid { display: block; }
  .fb-almanac__day { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; }
  .fb-number { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--fb-rule); }
}
@media (max-width: 699px) {
  .fb-almanac { margin-top: 36px; padding-top: 28px; }
  .fb-almanac__day { grid-template-columns: 1fr; gap: 24px; }
  .fb-card { max-width: 160px; }
  .fb-card__emblem { width: 60px; height: 60px; }
  .fb-card__mark { font-size: 64px; }
  .fb-card__name { font-size: 20px; }
  .fb-reading__name { font-size: 32px; }
  .fb-reading__teaser, .fb-reading__meaning, .fb-reading__full, .fb-number__prompt { font-size: 18px; }
  .fb-number__value { font-size: 60px; }
}

/* ---------- 9. the closing row: how the Moon and the almanac are worked out ---------- */
.fb-method { margin-top: 48px; border-block: 1px solid var(--fb-rule); color: var(--fb-ink-2); }
.fb-method > summary { justify-content: space-between; padding: 18px 0; }
.fb-method__title { margin: 0; font: 600 22px/1.25 var(--serif); color: var(--fb-ink-1); }
.fb-method__body { padding: 8px 0 28px; }
.fb-method__part { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 18px 0; border-top: 1px solid var(--fb-rule); }
.fb-method__part:first-child { border-top: 0; }
.fb-method__part h4 { grid-column: 1 / 5; margin: 0; font: 600 12px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fb-ink-3); }
/* larger text in shorter lines (FIXES.md, E11): 16px and a 31em measure, about 60-70 characters a line. The old cap,
   68ch, was about 90 characters in this face, because "ch" is a digit's width. */
.fb-method__text { grid-column: 5 / -1; }
.fb-method__text p { max-width: 31em; margin: 0 0 12px; font: 400 16px/1.65 var(--sans); color: var(--fb-ink-2); text-wrap: pretty; }
.fb-method__text p:last-child { margin-bottom: 0; }
.fb-method__moon:has(> [data-moon-method][hidden]) { display: none; }
@media (max-width: 1099px) {
  .fb-method__part { display: block; }
  .fb-method__part h4 { margin-bottom: 8px; }
}

/* ---------- 10. the turning year ---------- */
.fb-year__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.fb-now { grid-column: 1 / 8; margin: 0; padding: 0; list-style: none; }
.fb-year__story { grid-column: 9 / -1; }
.fb-year__grid:has(> .fb-year__story[hidden]) .fb-now { grid-column: 1 / 9; }
.fb-now__row { padding: 18px 0 20px; border-top: 1px solid var(--fb-rule); }
.fb-now__row:first-child { border-top: 0; padding-top: 0; }
.fb-now__row--dial { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.fb-now__text { min-width: 0; }
.fb-now__value { margin: 0; font: 600 28px/1.15 var(--serif); color: var(--fb-ink-1); text-wrap: balance; }
.fb-now__detail { margin: 6px 0 0; font: 400 15px/1.55 var(--sans); color: var(--fb-ink-2); text-wrap: pretty; }
.fb-now .fb-door-line { margin-top: 4px; }
.fb-dial { flex: none; display: block; width: 104px; height: 104px; }
.fb-dial svg { display: block; width: 100%; height: 100%; }
/* the dial keeps its own dark plate on either ground, as the old solar-term dial did */
.fb-dial__plate { fill: #161b24; stroke: #444c59; stroke-width: 1; }
.fb-dial__ring { fill: none; stroke: #444c59; stroke-width: 1; }
.fb-dial__tick { stroke: #8a93a0; stroke-width: 1.4; stroke-linecap: round; }
.fb-dial__now { stroke: #ead58f; stroke-width: 3.2; stroke-linecap: round; }
.fb-dial__sun { fill: #ead58f; }
.fb-dial__n { fill: #e1e6ec; font: 600 24px/1 var(--serif); }
.fb-band--pearl .fb-label, .fb-band--pearl .fb-reading__keywords { color: var(--fb-ink-3); }
/* the two columns hold down to 900px (tablet keeps the story beside the rows); below that one column of 640px at most */
@media (max-width: 899px) {
  .fb-now, .fb-year__grid:has(> .fb-year__story[hidden]) .fb-now { grid-column: 1 / -1; max-width: 640px; }
  .fb-year__story { grid-column: 1 / -1; margin-top: 28px; max-width: 560px; }
}
@media (max-width: 699px) {
  .fb-now__row { padding: 14px 0 16px; }
  .fb-now__row:first-child { padding-top: 0; }
  .fb-now__value { font-size: 24px; }
  .fb-dial { width: 84px; height: 84px; }
}

/* ---------- 11. Coming up: one line per date ---------- */
.fb-coming__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.fb-coming__list { grid-column: 1 / 8; }
.fb-coming__story { grid-column: 9 / -1; }
.fb-coming__grid:has(> .fb-coming__story[hidden]) .fb-coming__list { grid-column: 1 / 9; }
.fb-dates { margin: 0; padding: 0; list-style: none; }
.fb-date { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; align-items: start; padding: 16px 0; border-top: 1px solid var(--fb-rule); }
.fb-date:first-child { border-top: 0; padding-top: 0; }
/* dates the way the seven nights write them: a small weekday, the numeral in the book face, then the month */
.fb-date__when { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.fb-date__wd, .fb-date__mon { font: 500 12px/1.2 var(--sans); color: var(--fb-ink-2); white-space: nowrap; }
.fb-date__mon { color: var(--fb-ink-3); }
.fb-date__num { font: 600 28px/1 var(--serif); color: var(--fb-ink-1); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.fb-date__what { min-width: 0; }
.fb-date__name { margin: 0; font: 600 22px/1.25 var(--serif); color: var(--fb-ink-1); }
.fb-date__line { margin: 4px 0 0; font: 400 15px/1.55 var(--sans); color: var(--fb-ink-2); text-wrap: pretty; }
.fb-date--sky .fb-date__name::before { content: ''; display: inline-block; width: 7px; height: 7px; margin: 0 10px 0 0; border-radius: 50%; background: var(--fb-accent); vertical-align: .2em; }
.fb-date--empty { display: block; }
.fb-dates__note { margin-top: 20px; }
@media (max-width: 899px) {
  .fb-coming__list, .fb-coming__grid:has(> .fb-coming__story[hidden]) .fb-coming__list { grid-column: 1 / -1; max-width: 640px; }
  .fb-coming__story { grid-column: 1 / -1; margin-top: 36px; }
}
@media (max-width: 699px) {
  .fb-date { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
  .fb-date__num { font-size: 24px; }
  .fb-date__name { font-size: 20px; }
}

/* ---------- 12. your name, in numbers (the shared calculator, framed in the one look) ---------- */
.fb-name {
  /* the calculator's own tokens (numbers.css), set to the one look */
  --paper: var(--fb-raised); --ink: var(--fb-ink-1); --body: var(--fb-ink-2); --muted: var(--fb-ink-3);
  --gold: #ead58f; --gold-strong: #ead58f; --line: #383e49; --line-strong: #505864;
}
.fb-name .jpn-desk { border: 0; border-radius: 0; padding: 0; background: none; }
.fb-name .jpn-intro .fb-lede { margin-bottom: 8px; }
.fb-name .jpn-calculator { max-width: 880px; }
.fb-name .jpn-widget .nn { color: var(--fb-ink-1); }
.fb-name .jpn-widget .nn-field { max-width: 560px; }
.fb-name .jpn-widget .nn-field input { border-radius: var(--r); background: var(--fb-raised); border-color: #505864; color: var(--fb-ink-1); }
.fb-name .jpn-widget .nn-field input::placeholder { color: var(--fb-ink-3); font-size: 15px; }
.fb-name .jpn-widget .nn-clear, .fb-name .jpn-widget .nn-mode span { border-radius: var(--r); }
.fb-name .jpn-widget .nn-mode input:checked + span { color: var(--fb-ink-1); background: rgba(234, 213, 143, .10); }
.fb-name .jpn-widget .nn-mode legend, .fb-name .jpn-widget .nn-form > label, .fb-name .jpn-widget .nn-date label { font: 600 12px/1.4 var(--sans); letter-spacing: .14em; color: var(--fb-ink-3); }
.fb-name .jpn-widget .nn .small, .fb-name .jpn-status, .fb-name .jpn-selector-head p, .fb-name .jpn-placement-note { font: 400 13px/1.6 var(--sans); color: var(--fb-ink-3); }
.fb-name .jpn-widget .nn .eyebrow, .fb-name .jpn-widget .nn-card-label, .fb-name .jpn-widget .nn-portrait i, .fb-name .jpn-widget .nn-turn h4, .fb-name .jpn-widget .nn-question span { font-size: 12px; letter-spacing: .14em; }
.fb-name .jpn-widget .nn .eyebrow, .fb-name .jpn-widget .nn-turn h4, .fb-name .jpn-widget .nn-portrait i { color: var(--fb-accent); }
.fb-name .jpn-widget .nn-examples, .fb-name .jpn-widget .nn-examples button { font-size: 14px; }
.fb-name .jpn-widget .nn-examples button { color: var(--fb-ink-1); border-bottom-color: rgba(234, 213, 143, .45); }
.fb-name .jpn-widget .nn-word-src { font-size: 13px; }
.fb-name .jpn-widget .nn-word-sum, .fb-name .jpn-widget .nn-message, .fb-name .jpn-widget .nn-card-theme, .fb-name .jpn-widget .nn-cell-theme, .fb-name .jpn-widget .nn-scene { color: var(--fb-ink-1); }
.fb-name .jpn-widget .nn-tile { --tone: var(--fb-ink-3); border-radius: var(--r); border-color: #505864; }
.fb-name .jpn-widget .nn-tile b, .fb-name .jpn-widget .nn-card-n, .fb-name .jpn-widget .nn-portrait span, .fb-name .jpn-widget .nn-cell b, .fb-name .jpn-widget .nn-question, .fb-name .jpn-widget .nn-grid-lead { color: var(--fb-ink-1) !important; }
.fb-name .jpn-widget .nn-tile i { font-size: 12px; }
.fb-name .jpn-widget .nn-step-title span { font-size: 12px; color: var(--fb-accent); border-color: var(--fb-rule-2); }
.fb-name .jpn-widget .nn h2 { font: 600 clamp(26px, 2.4vw, 30px)/1.2 var(--serif); color: var(--fb-ink-1); }
.fb-name .jpn-widget .nn-card, .fb-name .jpn-widget .nn-pair-card, .fb-name .jpn-widget .nn-cell { border-radius: var(--r); background: var(--fb-raised); }
.fb-name .jpn-widget .nn-portrait { border-color: var(--fb-rule-2); background: radial-gradient(circle at 50% 38%, #222a36, var(--fb-raised) 72%); }
.fb-name .jpn-widget .nn-cell-count, .fb-name .jpn-widget .nn-card-name { font-size: 13px; }
/* the number's circle: its word at the 12px minimum needs a little less spacing, and a wider circle on the phone */
.fb-name .jpn-widget .nn-portrait i { letter-spacing: .06em; }
@media (max-width: 600px) { .fb-name .jpn-widget .nn-portrait { width: 120px; } .fb-name .jpn-widget .nn-portrait span { font-size: 52px; } }
.fb-name .jpn-widget .nn a { color: var(--fb-accent); }
.fb-name .jpn-widget .nn-more { border-radius: var(--r); }
.fb-name .jpn-choice { border-radius: 0; }
.fb-name .jpn-choice[aria-pressed="true"] { background: rgba(234, 213, 143, .06); border-bottom-color: var(--fb-accent); color: var(--fb-accent); }
.fb-name .jpn-choice-sub { color: var(--fb-ink-3); font-size: 13px; }
.fb-name .jpn-details { border-color: var(--fb-rule-2); border-radius: var(--r); background: var(--fb-raised); }
.fb-name .jpn-details > summary { color: var(--fb-ink-1); }
.fb-name .jpn-extended { margin-top: 24px; border-top: 1px solid var(--fb-rule); }
.fb-name .jpn-extended > summary { width: fit-content; color: var(--fb-accent); font: 500 14px/1.5 var(--sans); }
/* ABC-personal-numbers.css sets every span in this summary in the book face and turns it when open (its old '+') */
.fb-name .jpn-extended > summary > span:not(.fb-ring) { font: inherit; }
.fb-name .jpn-extended[open] > summary span { transform: none; }
.fb-name .jpn-extended p { max-width: 68ch; font: 400 13px/1.7 var(--sans); color: var(--fb-ink-2); }
.fb-name .jpn-widget .nn-field input:focus, .fb-name .jpn-widget .nn-date input:focus { outline: 2px solid var(--fb-focus); outline-offset: 2px; }
.fb-name .jpn-choice:focus-visible, .fb-name .jpn-extended > summary:focus-visible { outline: 2px solid var(--fb-focus); outline-offset: 4px; }
/* the page's one Birth Reading invitation, after the name tool */
.fb-invite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--fb-rule-2); }
.fb-invite__line { margin: 0; max-width: 30em; font: 500 24px/1.35 var(--serif); color: var(--fb-ink-1); text-wrap: balance; }
.fb-invite__act { margin: 0; }
@media (max-width: 699px) { .fb-invite { margin-top: 28px; padding-top: 24px; } .fb-invite__line { font-size: 21px; } }

/* ---------- 13. the sign-off ---------- */
.journal-night .fb-colophon {
  background: var(--fb-ground); color: var(--fb-ink-1); padding-block: 80px;
  --ink: var(--fb-ink-1); --ink-2: var(--fb-ink-2); --rule: var(--fb-rule); --rule-2: var(--fb-rule-2); --accent: var(--fb-ink-1);
}
.journal-night .fb-colophon .colophon__text { color: var(--fb-ink-2); }
.journal-night .fb-colophon .btn--outline { color: var(--fb-ink-1); border-color: var(--fb-rule-2); }
.journal-night .fb-colophon .btn--outline:hover { border-color: var(--fb-ink-1); }
.journal-night .fb-colophon :focus-visible { outline: 2px solid var(--fb-focus); outline-offset: 3px; }
@media (max-width: 699px) { .journal-night .fb-colophon { padding-block: 40px; } }

/* ---------- 14. forced colours ---------- */
@media (forced-colors: active) {
  .fb-ring { border-color: ButtonText; }
  .fb-ring::before, .fb-ring::after { background: ButtonText; }
  .fb-card__side { border-color: ButtonText; forced-color-adjust: none; }
  .fb-head, .fb-now__row, .fb-date, .fb-method, .fb-method__part, .fb-invite, .fb-almanac { border-color: CanvasText; }
  .fb-dial { forced-color-adjust: none; }
  .fb-date--sky .fb-date__name::before { background: CanvasText; }
}

/* ======================== Part 2: The Almanac ======================== */

/* Part 2, The Almanac: layout C, "One almanac page" (docs/design/journal-front-below-moon-plan-20260928.md, section 4 C;
   the board's front-below-C.css). Loaded after part 1. It styles the fbc-* classes and the shared fb-* parts only inside .fbc, the
   Almanac chapter; nothing here reaches the Moon, the culture section, the lead band, the contents row or the sign-off.
   After the reviews (FIXES.md): the closing row "How the Moon and the almanac are worked out" ends The Almanac (E5,
   section 9); on the phone the card stands above its words, as in A and B (E7); a solar term's line says what it marks,
   so on the phone it runs under the name like a festival's (E4).
   The idea: a printed almanac's page for the date. The chapter heading is Tonight's own (the same class), the date on the
   right. Under it, on desktop, a spread: the day on the left (the card, the date's number, then the name tool as a small
   instrument); the turning year on the right, where what is true now heads one dated list, every row on the same
   columns as the seven nights write dates, with the Now cell framed as the seven nights frame tonight.
   Colours are the one look's (part 1's tokens) plus the seven nights' own tonight mark, #e9d471
   (ABC-moon.css --moon-mark), for the Now cell only.
   Update, 28 September (the user's two requests after picking C; below-moon-install/UPDATE-C.md):
   - the card is the real card: the Drawing Room's own back turning over to the card's painting from the final art edition
     (section 3), in the paintings' own shape, 960 x 1560; the words that were on the old card sit under it;
   - the turning year is one row across the chapter on desktop, the Now date leading four columns in the form of layout
     A's "Coming up" days: a small label, the value in the book face, a hairline, then the detail and doors, with thin
     rules between the columns (section 4). Under it the day and Coming up (still one list by month) sit side by side,
     the name tool under the day. On the phone the order is unchanged: the day, the year, the dates, the name. */

.fbc { --fbc-mark: #e9d471; --fbc-date-col: 88px; --fbc-col-gap: 24px; --fbc-name-col: 212px; --fbc-card: 168px; --fbc-side: 48px;
  padding-block: 64px 96px; }

/* ---------- 1. the chapter heading: Tonight's (.journal-day__heading), with the Almanac's date on the right ---------- */
.fbc-head { margin-bottom: 44px; }
/* Tonight ends on the culture section (the closing row now ends The Almanac); the chapter break is space, not a
   full-width line */
.journal-night .journal-day:has(+ .fbc) { border-bottom-color: transparent; }
.fbc-head h2 { color: var(--fb-ink-1); }
/* the preview line (?date=) stands under the heading's rule by the heading's own padding above the rule (24px; 16px on the
   phone): the heading keeps 30px under its rule (24px on the phone; ABC-day-strip.css), so the line is pulled up by the
   difference. Fix round 1, 29 September 2026: it was -28px, which put it on the rule on the phone. */
.fbc-preview { margin: -6px 0 32px; font: 400 13px/1.5 var(--sans); color: var(--fb-ink-3); }

/* ---------- 2. the spread: the turning year across the top, then the day | Coming up, the name tool under the day ----------
   Source order is the day, the year, the dates, the name (the phone's order and the reading order); the grid areas put
   the year above both pages and the name under the day on desktop, beside the calendar. A hairline stands between the
   two pages. */
.fbc-spread {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto 1fr;
  grid-template-areas: "year year" "day coming" "name coming";
}
/* the turning year runs across the chapter above the two pages (its source place is after the day: the phone's order) */
.fbc-year { grid-area: year; min-width: 0; margin-bottom: 56px; padding-bottom: 52px; border-bottom: 1px solid var(--fb-rule); }
.fbc-day { grid-area: day; min-width: 0; padding-right: var(--fbc-side); }
.fbc-coming { grid-area: coming; min-width: 0; padding-left: var(--fbc-side); border-left: 1px solid var(--fb-rule); }
.fbc-name { grid-area: name; min-width: 0; padding-right: var(--fbc-side); margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--fb-rule); }

/* column heads: the small label, then the title at the sub-section size */
.fbc-colhead { margin-bottom: 30px; }
.fbc-colhead .fb-label { margin-bottom: 8px; }
.fbc-colhead__title, .fbc-name .fb-title { margin: 0; font: 600 clamp(30px, 2.6vw, 34px)/1.12 var(--serif); letter-spacing: 0; color: var(--fb-ink-1); }

/* ---------- 3. the day: the card beside its reading ----------
   .fb-reading gives its children to the grid, so on the phone the note, the door and the opened meaning can run under
   the card while the name and the first line stay beside it. */
.fbc-card {
  display: grid; grid-template-columns: var(--fbc-card) minmax(0, 1fr); column-gap: 28px; align-items: start;
  grid-template-areas: "card label" "card name" "card teaser" "card more" "card note" "card door";
  grid-template-rows: auto auto auto auto auto 1fr;
}
.fbc .fb-reading { display: contents; }
.fbc-card > .fb-card-col { grid-area: card; justify-content: flex-start; }
.fbc-card .fb-reading > .fb-label { grid-area: label; margin-bottom: 8px; }
.fbc-card .fb-reading__name { grid-area: name; font-size: 34px; }
.fbc-card .fb-reading__teaser { grid-area: teaser; font-size: 18px; }
.fbc-card .fb-reading__more { grid-area: more; }
.fbc-card [data-almanac-rhythm] { grid-area: note; margin-top: 16px; }
.fbc-card .fb-reading > .fb-door-line { grid-area: door; }
.fbc .fb-card { max-width: var(--fbc-card); }
.fbc .fb-reading__keywords, .fbc .fb-door { text-wrap: balance; }
/* the card itself (ABC-almanac.js): the Drawing Room's own back (_tarot-intake.html's drawn back, which the
   final art edition keeps), turning over to the card's painting (the final art edition's face, 960 x 1560, shown in its
   own shape and never cropped). The words that were printed on the old card ("Uncover the meaning", "Hide the meaning")
   are one line under it, inside the button, so the focus outline takes both. */
.fbc .fb-card { aspect-ratio: auto; border-radius: 0; }
.fbc .fb-card__turn { height: auto; aspect-ratio: 960 / 1560; }
.fbc .fb-card__side { padding: 0; gap: 0; border: 0; border-radius: 9px; overflow: hidden; background: none; box-shadow: 0 18px 34px -14px #000c; }
.fbc .fb-card__side::before { content: none; }
.fbc-deck__back-art { display: block; width: 100%; height: 100%; }
/* the painting's own paper (#faf7ef, measured at the faces' corners) while it arrives; its name if it cannot */
.fbc .fbc-deck__face { justify-content: center; background: #faf7ef; }
.fbc-deck__art { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.fbc-deck__name { padding: 0 14px; font: 600 20px/1.2 var(--serif); color: #2a2418; text-align: center; text-wrap: balance; }
.fbc-deck__art[hidden], .fbc-deck__name[hidden] { display: none; }
.fbc-deck__label { display: block; margin-top: 14px; font: 500 17px/1.35 var(--serif); color: var(--fb-accent); text-align: center; text-wrap: balance; }
.fbc .fb-card:disabled .fbc-deck__label { color: var(--fb-ink-3); }
@media (hover: hover) {
  .fbc .fb-card:not(:disabled):hover .fbc-deck__back { box-shadow: 0 0 0 1px #ad986e, 0 18px 34px -14px #000c; }
}
/* once the card is turned, its meaning runs under the card at the column's full measure, not in the narrow lane beside it
   (ABC-almanac.js sets data-revealed on [data-almanac]) */
.fbc[data-revealed="true"] .fbc-card {
  grid-template-areas: "card label" "card name" "card teaser" "card ." "more more" "note note" "door door";
  grid-template-rows: auto auto auto 1fr auto auto auto;
}
.fbc[data-revealed="true"] .fbc-card .fb-reading__more { margin-top: 28px; }

/* the date's number: the numeral under the card, on the same axis; its words beside it */
.fbc-number {
  display: grid; grid-template-columns: var(--fbc-card) minmax(0, 1fr); column-gap: 28px; align-items: start;
  grid-template-areas: "num label" "num working" "num prompt" "num door"; grid-template-rows: auto auto auto 1fr;
  margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--fb-rule);
}
.fbc-number .fb-number__label { grid-area: label; margin-bottom: 6px; }
.fbc-number .fb-number__value { grid-area: num; justify-self: center; margin-top: -6px; font-size: 104px; line-height: .9; }
.fbc-number .fb-number__working { grid-area: working; margin-top: 2px; }
/* each step of the working stays whole on its line (ABC-journal-flow.js wraps the steps) */
.fbc-step { white-space: nowrap; }
/* Fix round 1, 29 September 2026: a whole eight-digit sum is about 227px wide at 14px, wider than the working column under
   about 344px (320px: 212px), so the page scrolled sideways. Under 400px a sum may break once, before its total ("2 + 8 + ...
   + 6" / "= 29,"), never between its digits (ABC-journal-flow.js keepSteps wraps the two parts). From 400px up each sum
   stays whole, as before. */
.fbc-step__part { white-space: nowrap; }
@media (max-width: 399px) { .fbc-sum { white-space: normal; } }
.fbc-number .fb-number__prompt { grid-area: prompt; font-size: 18px; }
.fbc-number > .fb-door-line { grid-area: door; }

/* ---------- 4. the turning year: one row, the Now date leading four columns ----------
   Layout A's "Coming up" days (front-below-A.css section 3), set for the year's four facts: each column is a small label,
   the value in the book face, a hairline, then the detail and its doors; a thin rule stands between the columns, in the
   middle of the gap. The four columns share their rows (subgrid), so the hairlines stand level whatever a value's length.
   The Now cell (framed as the seven nights frame tonight) and the solar-term dial lead the row. */
.fbc { --fbc-row-gap: 48px; }
.fbc-yearhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; padding-bottom: 22px; margin-bottom: 32px; border-bottom: 1px solid var(--fb-rule); }
.fbc-yearhead .fbc-colhead { margin-bottom: 0; }
.fbc-yearhead .fbc-library { margin: 0; flex: none; }
.fbc-now { display: grid; grid-template-columns: var(--fbc-date-col) minmax(0, 1fr); column-gap: var(--fbc-row-gap); align-items: start; }
.fbc-now__when { display: flex; flex-direction: column; align-items: flex-start; }
.fbc-now__label { margin: 0 0 10px; font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--fbc-mark); }
/* the Now cell, framed as the seven nights frame tonight */
.fbc-now__cell { width: 64px; align-items: center; padding: 10px 0 9px; border: 1px solid var(--fbc-mark); border-radius: var(--r); }
.fbc-now__cell .fb-date__wd { color: var(--fb-ink-1); font-weight: 600; }
.fbc-now__cell .fb-date__num { font-size: 26px; }
.fbc-now__cell .fb-date__mon { color: var(--fb-ink-2); }
/* the solar-term dial under it: where the Sun stands in the year's 24 steps */
.fbc-now__dial { width: 64px; height: 64px; margin-top: 16px; }
.fbc .fbc-now__list { grid-column: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; column-gap: var(--fbc-row-gap); row-gap: 0; max-width: none; }
.fbc-now__list .fb-now__row { position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; min-width: 0; padding: 0; border-top: 0; }
.fbc-now__list .fb-now__row::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(var(--fbc-row-gap) / -2); border-left: 1px solid var(--fb-rule); }
.fbc-now__kind { margin: 0 0 10px; font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fb-ink-3); }
.fbc-now__list .fb-now__value { margin: 0; padding-bottom: 18px; font-size: 30px; line-height: 1.12; }
.fbc-now__body { min-width: 0; padding-top: 16px; border-top: 1px solid var(--fb-rule); }
.fbc-now__list .fb-now__detail { margin: 0; }
.fbc-now__list .fb-door-line { margin: 0; }
.fbc-now__list .fb-door { padding-block: 8px 2px; }

/* Coming up: the page beside the day, one dated list by month (unchanged), under the column's own head */
.fbc-dates .fb-date { grid-template-columns: var(--fbc-date-col) minmax(0, 1fr); column-gap: var(--fbc-col-gap); align-items: baseline; padding: 12px 0 13px; }
.fbc-dates .fb-date:first-child { border-top: 1px solid var(--fb-rule); padding-top: 12px; }
/* the month's name over its first row */
.fbc-dates .fb-date[data-month]::before {
  content: attr(data-month); grid-column: 1 / -1; padding: 16px 0 10px;
  font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fb-ink-2);
}
.fbc-dates .fb-date[data-month] { padding-top: 6px; }
/* the date in one line, weekday then numeral; the month is the label above */
.fbc-dates .fb-date__when { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 0; }
.fbc-dates .fb-date__wd { min-width: 2.2em; }
.fbc-dates .fb-date__num { font-size: 24px; }
.fbc-dates .fb-date__mon { display: none; }
.fbc-dates .fb-date__what { display: grid; grid-template-columns: var(--fbc-name-col) minmax(0, 1fr); column-gap: var(--fbc-col-gap); align-items: baseline; }
.fbc-dates .fb-date__name { font-size: 21px; line-height: 1.25; }
.fbc-dates .fb-date__line { margin: 0; font-size: 15px; }
/* a solar term's name runs to what it marks on a dotted leader, as an almanac's table does (wide screens only) */
.fbc-dates .fb-date--term .fb-date__name { display: flex; align-items: baseline; gap: 10px; }
.fbc-dates .fb-date--term .fb-date__name::after { content: ''; flex: 1 1 24px; min-width: 24px; margin-right: -14px; border-bottom: 1px dotted var(--fb-rule-2); transform: translateY(-4px); }
.fbc-dates .fb-date--term .fb-date__line { color: var(--fb-ink-3); }
.fbc-dates .fb-date--empty { display: block; }
/* the group note and the one story, on the names' column (the one Library link heads the turning year) */
.fbc .fb-dates__note, .fbc-story { margin-left: calc(var(--fbc-date-col) + var(--fbc-col-gap)); }
.fbc .fb-dates__note { margin-top: 18px; }
.fbc-story { margin-top: 32px; }
.fbc-story[hidden] { display: none; }
.fbc-story .fb-story__title { font-size: 26px; }
.fbc-story .fb-story__deck { font-size: 17px; }

/* ---------- 5. the name tool: a small instrument under the day, beside the calendar ---------- */
.fbc-name .fb-head { display: block; padding-bottom: 0; margin-bottom: 14px; border-bottom: 0; }
.fbc-name .fb-head .fb-label { margin-bottom: 8px; }
.fbc-name .jpn-intro .fb-lede { margin-bottom: 6px; font-size: 18px; }
.fbc-name .jpn-extended { margin-top: 20px; }
.fbc-name .jpn-widget .nn h3, .fbc-name .jpn-widget .nn-scene { text-wrap: balance; }
.fbc-name .jpn-widget .nn .small { text-wrap: pretty; }
.fbc-invite { margin-top: 36px; padding-top: 28px; border-top-color: var(--fb-rule); }
.fbc-invite .fb-invite__line { font-size: 22px; }

/* ---------- 6. a smaller desktop (900-1099px): the same spread, narrower ---------- */
@media (max-width: 1099px) {
  .fbc { --fbc-side: 32px; --fbc-card: 140px; --fbc-date-col: 72px; --fbc-col-gap: 18px; --fbc-name-col: 196px; --fbc-row-gap: 32px; }
  .fbc-card, .fbc-number { column-gap: 20px; }
  .fbc-card .fb-reading__name { font-size: 30px; }
  .fbc-number .fb-number__value { font-size: 84px; }
  .fbc-deck__label { font-size: 16px; }
  .fbc-now__list .fb-now__value { font-size: 26px; }
  /* the number keeps a narrower numeral column here, so its working has room for a whole sum */
  .fbc-number { grid-template-columns: 96px minmax(0, 1fr); }
  .fbc-number .fb-number__value { justify-self: start; }
  .fbc-dates .fb-date--term .fb-date__name::after { min-width: 12px; }
  .fbc-dates .fb-date__name { font-size: 20px; }
}

/* ---------- 7. one column (under 900px): the day, the year, the name, in that order ---------- */
@media (max-width: 899px) {
  .fbc-spread { display: block; max-width: 680px; }
  .fbc-day, .fbc-name { padding-right: 0; }
  .fbc-year, .fbc-coming, .fbc-name { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--fb-rule-2); }
  .fbc-year { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
  .fbc-coming { padding-left: 0; border-left: 0; }
}
/* a tablet: the Now date beside the four facts in two columns of two */
@media (min-width: 700px) and (max-width: 899px) {
  .fbc .fbc-now__list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto auto auto auto; }
  .fbc-now__list .fb-now__row:nth-child(n+3) { padding-top: 32px; }
  .fbc-now__list .fb-now__row:nth-child(n+3)::before { top: 32px; }
}

/* ---------- 8. the phone ---------- */
@media (max-width: 699px) {
  .fbc { --fbc-card: 160px; --fbc-date-col: 60px; --fbc-col-gap: 14px; padding-block: 40px 56px; }
  .fbc-head { margin-bottom: 28px; }
  .fbc-preview { margin-top: -8px; }
  .fbc-colhead { margin-bottom: 20px; }
  .fbc-colhead__title, .fbc-name .fb-title { font-size: 30px; }
  .fbc-year, .fbc-coming, .fbc-name { margin-top: 40px; padding-top: 28px; }
  /* the card above its words, centred and at A's and B's phone size (160px; part 1, section 8, sizes its
     face), so its back and its name are never squeezed (FIXES.md, E7) */
  .fbc-card, .fbc[data-revealed="true"] .fbc-card {
    grid-template-columns: minmax(0, 1fr); column-gap: 0; grid-template-rows: none;
    grid-template-areas: "card" "label" "name" "teaser" "more" "note" "door";
  }
  .fbc-card > .fb-card-col { justify-content: center; margin-bottom: 24px; }
  .fbc .fb-card { max-width: var(--fbc-card); }
  .fbc-card .fb-reading > .fb-label { margin-bottom: 6px; }
  .fbc-card .fb-reading__name { font-size: 27px; }
  .fbc-card .fb-reading__teaser { margin-top: 8px; font-size: 17px; line-height: 1.5; }
  .fbc-card .fb-reading__more { margin-top: 18px; }
  .fbc-card [data-almanac-rhythm] { margin-top: 14px; }
  /* the number: a narrow numeral column, so the working line keeps its sum on one line */
  .fbc-number { grid-template-columns: 62px minmax(0, 1fr); column-gap: 14px; margin-top: 32px; padding-top: 26px; }
  .fbc-number .fb-number__value { justify-self: start; font-size: 64px; margin-top: 0; }
  .fbc-number .fb-number__prompt { font-size: 17px; }
  /* the turning year stacks: the Library link under the title, then the Now date beside the four facts, each its small
     label over its value and detail, a hairline between them (the columns' rules and subgrid are for wider screens) */
  .fbc-yearhead { gap: 6px 24px; padding-bottom: 16px; margin-bottom: 20px; }
  .fbc-now { column-gap: var(--fbc-col-gap); }
  .fbc-now__cell { width: 56px; }
  .fbc-now__cell .fb-date__num { font-size: 22px; }
  .fbc-now__dial { width: 56px; height: 56px; margin-top: 14px; }
  .fbc .fbc-now__list { display: block; }
  .fbc-now__list .fb-now__row { display: block; padding: 12px 0 13px; border-top: 1px solid var(--fb-rule); }
  .fbc-now__list .fb-now__row:first-child { padding-top: 0; border-top: 0; }
  .fbc-now__list .fb-now__row::before { content: none; }
  .fbc-now__kind { margin-bottom: 4px; }
  .fbc-now__list .fb-now__value { padding-bottom: 0; font-size: 21px; }
  .fbc-now__body { padding-top: 0; border-top: 0; }
  .fbc-now__list .fb-now__detail { margin-top: 3px; font-size: 14px; }
  .fbc-now__list .fb-door { padding-block: 9px 0; font-size: 14px; }
  /* the list: date | name over what it marks; a solar term as a festival, its line under its name, no leader */
  .fbc-dates .fb-date { padding: 10px 0 11px; }
  .fbc-dates .fb-date[data-month] { padding-top: 2px; }
  .fbc-dates .fb-date[data-month]::before { padding: 12px 0 8px; }
  .fbc-dates .fb-date__what { display: block; }
  .fbc-dates .fb-date__when { column-gap: 6px; }
  .fbc-dates .fb-date__wd { min-width: 0; }
  .fbc-dates .fb-date__num { font-size: 21px; }
  .fbc-dates .fb-date__name { font-size: 19px; }
  .fbc-dates .fb-date__line { margin-top: 3px; font-size: 14px; }
  .fbc-dates .fb-date--term .fb-date__name { display: block; }
  .fbc-dates .fb-date--term .fb-date__name::after { content: none; }
  .fbc .fb-dates__note, .fbc-story { margin-left: 0; }
  .fbc-story { margin-top: 24px; }
  .fbc-story .fb-story__title { font-size: 24px; }
  .fbc-invite { margin-top: 28px; padding-top: 22px; }
  .fbc-invite .fb-invite__line { font-size: 21px; }
}

/* ---------- 9. the closing row, at the end of The Almanac (FIXES.md, E5) ----------
   It runs the spread's full width on its left edge, not part 1's centred 640px, which was set for the
   row under Tonight's Almanac; in one column it takes the spread's 680px. */
.fbc > .wrap > .fb-method { max-width: none; margin-inline: 0; margin-top: 64px; }
@media (max-width: 899px) { .fbc > .wrap > .fb-method { max-width: 680px; margin-top: 48px; } }

/* ---------- 10. forced colours ---------- */
@media (forced-colors: active) {
  .fbc-year, .fbc-name, .fbc-number, .fbc-coming, .fbc-dates .fb-date, .fbc-yearhead, .fbc-now__body, .fbc-now__list .fb-now__row { border-color: CanvasText; }
  .fbc-now__list .fb-now__row::before { border-color: CanvasText; }
  .fbc .fb-card__side { border: 1px solid ButtonText; }
  .fbc-now__cell { border-color: Highlight; }
  .fbc-dates .fb-date--term .fb-date__name::after { border-color: CanvasText; }
}

/* 7 October 2026: the date could not be worked out (a data script failed; ABC.js and ABC-journal-flow.js set
   data-date-state). Nothing dated is left showing as if it were today: in the opening the pill keeps only its words
   ("Date unavailable"), and the season name, the day's seals, the full-moon line and the band's own list go; in The
   Almanac the Now cell goes and the turning year's one plain line spans the row. The story and the headings stay. */
.band--lead[data-date-state="unavailable"] :is(.edition, .pill__moon, .seals, .hang__moon, .coming) { display: none; }
.fbc[data-date-state="unavailable"] .fbc-now { display: block; }
.fbc[data-date-state="unavailable"] .fbc-now__when { display: none; }
.fbc .fbc-now__list .fbc-now__failed { display: block; grid-column: 1 / -1; grid-row: auto; }
.fbc .fbc-now__list .fbc-now__failed::before { content: none; }
.fbc-now__failed .fb-now__detail { max-width: 40em; }
