/* Jetons de couleur de cette page : déclarés dans site.css (thème centralisé). */
/* ------------------------------------------- page Le Christ dans l'Écriture
   (christ.html, assets/js/christ.js). Uniquement des jetons de site.css ;
   les teintes du plan de Jérusalem sont des mélanges de ces jetons. */

.christ-page { padding-block: 2rem 4rem; }
.christ-back { font-size: .88rem; margin-bottom: var(--s3); }
.christ-back a { text-decoration: none; }

/* Sommaire : une grille de liens numérotés, deux colonnes sur téléphone. */
.christ-toc { margin: 0 0 var(--s6); }
.christ-toc ol {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(8.75rem, 1fr));
}
.christ-toc a {
  display: flex; align-items: center; gap: var(--s2); min-height: var(--tap);
  padding: var(--s2) var(--s3); border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9rem; line-height: 1.3;
}
.christ-toc a:hover { border-color: var(--accent); color: var(--accent); }
.christ-toc span {
  display: inline-grid; place-items: center; flex: none; width: 1.6rem; height: 1.6rem;
  border-radius: 50%; background: var(--bg-alt); color: var(--orange-ink); font-weight: 700; font-size: .8rem;
}

.christ-section { margin-top: var(--s7); scroll-margin-top: var(--s4); }
.christ-section > h2 { padding-top: var(--s4); border-top: 1px solid var(--border); }
.christ-lead { color: var(--ink-soft); max-width: 46rem; }
.christ-small { font-size: .84rem; color: var(--ink-faint); max-width: 46rem; }
.christ-h3 { font-size: 1.15rem; margin: var(--s6) 0 var(--s3); scroll-margin-top: var(--s4); }
.christ-callout {
  background: var(--bg-alt); border-radius: var(--radius); padding: var(--s4) var(--s5);
  max-width: 50rem; margin-top: var(--s5);
}
.christ-callout .christ-h3 { margin-top: 0; }
.christ-callout p:last-child { margin-bottom: 0; }
.christ-button {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: .5rem 1rem;
  border-radius: var(--radius-btn); background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none;
}
.christ-button:hover { color: var(--accent-ink); opacity: .9; }
.christ-more { font-size: .82rem; margin-left: var(--s2); }

/* Les illustrations trop larges pour un téléphone défilent dans leur cadre. */
.christ-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.christ-scroll svg { display: block; width: 100%; height: auto; }

.christ-filters { margin: var(--s4) 0 var(--s5); }
.christ-filters .chip { min-height: var(--tap); }

/* ------------------------------------------------------- les portraits */

.gospel-quad { margin: 0 0 var(--s6); }
.gospel-quad figcaption {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint);
  margin-bottom: var(--s2);
}
.gospel-quad-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.gospel-cell {
  display: grid; gap: var(--s1); align-content: start;
  padding: var(--s4); border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); border-top: 4px solid var(--g-evangiles);
  color: var(--ink); text-decoration: none; font-size: .9rem;
}
.gospel-cell:hover { border-color: var(--g-evangiles); color: var(--ink); }
.gospel-name { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--g-evangiles); font-weight: 700; }
.gospel-cell strong { font-family: var(--font-read); font-size: 1.15rem; line-height: 1.25; }
.gospel-public { color: var(--ink-soft); }
.gospel-key { font-family: var(--font-read); font-style: italic; }
.gospel-key-ref { font-style: normal; font-family: var(--font-ui); font-size: .8rem; color: var(--blue-ink); white-space: nowrap; }
.gospel-image { font-size: .82rem; color: var(--ink-faint); }

.author { margin-bottom: var(--s7); scroll-margin-top: var(--s4); }
.author[hidden] { display: none; }
.author-head {
  border-left: 4px solid currentColor; padding: var(--s1) 0 var(--s1) var(--s4);
  margin-bottom: var(--s4); max-width: 50rem;
}
.author-head > * { color: var(--ink); }
.author-group { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); margin-bottom: var(--s1); }
.author-head h3 { font-family: var(--font-read); font-size: 1.75rem; margin-bottom: var(--s2); }
.author-head h3 span { display: block; font-family: var(--font-ui); font-size: .95rem; font-weight: 600; color: var(--ink-soft); margin-top: var(--s1); }
.author-angle { font-size: 1rem; }
.author-key { font-family: var(--font-read); font-style: italic; }
.author-key > span:first-child {
  font-family: var(--font-ui); font-style: normal; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .07em; color: var(--ink-faint); margin-right: var(--s2);
}
.author-key .book-refs { font-style: normal; font-family: var(--font-ui); }
.author-note { margin: 0 0 var(--s3); max-width: 50rem; }
.author-note summary {
  cursor: pointer; min-height: var(--tap); display: flex; align-items: center;
  color: var(--blue-ink); font-size: .9rem; font-weight: 600;
}
.author-note p { font-size: .9rem; color: var(--ink-soft); margin-top: var(--s1); }
.author-links { font-size: .88rem; margin-bottom: 0; }

.facet-title {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft);
  margin: var(--s5) 0 var(--s3);
}
.portrait-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.portrait {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  border-top: 3px solid currentColor; padding: var(--s4); min-width: 0;
}
.portrait > * { color: var(--ink); }
.portrait h4 { font-family: var(--font-read); font-size: 1.08rem; line-height: 1.3; margin-bottom: var(--s2); }
.portrait p { font-size: .92rem; margin-bottom: var(--s2); }
.portrait p:last-child { margin-bottom: 0; }
.portrait-refs { line-height: 1.9; }
.portrait-refs em, .vision-refs em {
  font-style: normal; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-faint); margin: 0 var(--s1) 0 var(--s2);
}
.portrait-echo {
  border-top: 1px dashed var(--border-strong); padding-top: var(--s2); line-height: 1.9;
}
.portrait-echo > span:first-child {
  display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint);
}

/* Apocalypse 1 : la vision trait par trait. */
.vision { margin: 0 0 var(--s5); max-width: 56rem; }
.vision figcaption { font-weight: 700; margin-bottom: var(--s3); }
.vision-list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.vision-list li {
  display: grid; gap: var(--s1) var(--s4); grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) minmax(0, 15rem);
  align-items: baseline; padding: var(--s3) var(--s4); background: var(--surface); font-size: .92rem;
}
.vision-list strong { font-family: var(--font-read); }
.vision-list span { color: var(--ink-soft); }
@media (max-width: 760px) {
  .vision-list li { grid-template-columns: minmax(0, 1fr); }
}

/* Jean chapitre par chapitre : 21 cases numérotées. */
.jn-gallery { margin-top: var(--s6); scroll-margin-top: var(--s4); }
.jn-chapters {
  list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3);
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
}
.jn-chapters li {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--s3); align-items: start;
  padding: var(--s3); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.jn-num {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius-sm);
  background: var(--g-evangiles); color: var(--plan-ink);
  font-family: var(--font-read); font-size: 1.45rem; font-weight: 700;
}
.jn-chapters strong { font-family: var(--font-read); font-size: 1.02rem; line-height: 1.3; }
.jn-chapters p { font-size: .88rem; margin: var(--s1) 0 0; color: var(--ink-soft); }
.jn-range { margin-left: var(--s1); opacity: .8; }

/* -------------------------------------------- le Sermon sur la montagne */

.sermon-figure { margin: var(--s5) 0; }
.sermon-figure .christ-scroll svg { min-width: 36rem; }
.sermon-figure figcaption { font-size: .82rem; color: var(--ink-faint); margin-top: var(--s2); max-width: 46rem; }
.sermon-bar .bar-frame { fill: var(--border-strong); }
.sermon-bar .bar-cell { transition: opacity var(--fast) var(--ease); }
.sermon-bar a:hover .bar-cell, .sermon-bar a:focus-visible .bar-cell { opacity: .78; }
.sermon-bar .bar-num { fill: var(--plan-ink); font: 700 20px var(--font-ui); text-anchor: middle; pointer-events: none; }
.sermon-bar .bar-brace { fill: none; stroke: var(--ink-faint); stroke-width: 1.5; }
.sermon-bar .bar-part { font: 700 19px var(--font-ui); text-anchor: middle; fill: currentColor; }
.sermon-bar .bar-arc { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: 6 5; }
.sermon-bar .bar-arc-label { font: italic 17px var(--font-read); text-anchor: middle; fill: var(--orange-ink); }
.sermon-bar .bar-tick { font: 15px var(--font-ui); fill: var(--ink-faint); }
.plan-fill-0 { fill: var(--plan-0); }
.plan-fill-1 { fill: var(--plan-1); }
.plan-fill-2 { fill: var(--plan-2); }
.plan-text-0 { color: var(--plan-0); fill: var(--plan-0); }
.plan-text-1 { color: var(--plan-1); fill: var(--plan-1); }
.plan-text-2 { color: var(--plan-2); fill: var(--plan-2); }

.sermon-frame {
  max-width: 50rem; padding: var(--s3) var(--s4); border-radius: var(--radius-sm);
  background: var(--bg-alt); font-size: .94rem; margin: var(--s4) 0;
}
.sermon-frame p { margin: 0; }
.sermon-part { scroll-margin-top: var(--s4); }
.sermon-part > .christ-h3 { margin-bottom: var(--s1); }
.sermon-span { font-family: var(--font-ui); font-size: .82rem; font-weight: 500; color: var(--ink-faint); margin-left: var(--s2); white-space: nowrap; }
.sermon-part-lead { color: var(--ink-soft); max-width: 46rem; }
.sermon-section {
  border-left: 2px solid var(--border); padding: var(--s1) 0 var(--s2) var(--s4);
  margin: 0 0 var(--s4) var(--s3); scroll-margin-top: var(--s4); max-width: 60rem;
}
.sermon-section h4 { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2); font-size: 1.02rem; margin-bottom: var(--s1); }
.sermon-section h4 .sermon-span { margin-left: 0; }
.sermon-num {
  display: inline-grid; place-items: center; min-width: 1.7rem; height: 1.7rem; padding: 0 .3rem;
  border-radius: var(--radius-sm); color: var(--plan-ink); font-size: .82rem; font-weight: 700;
  margin-left: calc(-1 * var(--s4) - 1.85rem / 2 - 1px);
}
.sermon-section > p { max-width: 46rem; margin-bottom: var(--s2); }
.sermon-lc { font-size: .88rem; line-height: 1.9; }
.sermon-lc > span:first-child, .anti-label {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); margin-right: var(--s2);
}

.beatitudes {
  list-style: none; margin: var(--s3) 0; padding: 0; display: grid; gap: var(--s3);
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}
.beatitudes li {
  position: relative; padding: var(--s3) var(--s3) var(--s3) 3.1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.beat-num {
  position: absolute; left: var(--s3); top: var(--s3);
  display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%;
  border: 2px solid var(--plan-0); color: var(--plan-0); font-weight: 700; font-size: .85rem;
}
.beatitudes p { margin: 0 0 var(--s1); font-size: .9rem; }
.beat-who { font-family: var(--font-read); font-weight: 700; font-size: 1rem !important; }
.beat-promise { font-family: var(--font-read); font-style: italic; }
.beat-sense { color: var(--ink-soft); }

.antitheses { margin: var(--s3) 0; display: grid; gap: var(--s2); }
.anti-head { display: none; }
.anti-row {
  display: grid; gap: var(--s1) var(--s4); padding: var(--s3) var(--s4);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.anti-row p { margin: 0; font-size: .92rem; }
.anti-theme { font-weight: 700; }
.anti-theme > span:first-child {
  display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-right: var(--s2);
  border-radius: 50%; background: var(--plan-1); color: var(--plan-ink); font-size: .78rem;
}
.anti-theme .book-refs { font-weight: 400; }
.anti-heard { color: var(--ink-soft); }
.anti-label { display: block; }
.anti-but { font-family: var(--font-read); }
.anti-but .sermon-lc { display: block; font-family: var(--font-ui); }
.anti-note { font-size: .84rem !important; color: var(--ink-faint); }
@media (min-width: 860px) {
  .anti-head {
    display: grid; grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s4);
    padding: 0 var(--s4); font-size: .78rem; color: var(--ink-faint); font-style: italic;
  }
  .anti-head::before { content: ""; }
  .anti-row { grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; }
  .anti-row .anti-label { display: none; }
  .anti-note { grid-column: 2 / -1; }
}

.prayer {
  margin: var(--s3) 0; padding: var(--s4); border-radius: var(--radius);
  background: var(--bg-alt); max-width: 60rem; scroll-margin-top: var(--s4);
}
.prayer h5 { font-size: 1rem; margin: 0 0 var(--s2); }
.prayer > p { font-size: .92rem; }
.prayer-groups { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.prayer-group { background: var(--surface); border-radius: var(--radius-sm); padding: var(--s3); }
.prayer-group-title { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); margin-bottom: var(--s2); }
.prayer-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.prayer-group li { font-size: .9rem; }
.prayer-group li strong { font-family: var(--font-read); }
.prayer-group li > span { display: block; color: var(--ink-soft); }

.sermon-readings { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 0; }
.sermon-readings > div { padding: var(--s3) var(--s4); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.sermon-readings dt { font-weight: 700; margin-bottom: var(--s1); }
.sermon-readings dd { margin: 0; font-size: .9rem; color: var(--ink-soft); }

.jer-layout { display: grid; gap: var(--s5); align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) {
  .jer-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .jer-steps .christ-h3 { margin-top: 0; }
}
.jer-figure { margin: 0; }
.jer-scroll { border: 1px solid var(--border); border-radius: var(--radius); }
.jer-svg { min-width: 30rem; }
.jer-figure figcaption, .cross-figure figcaption { font-size: .82rem; color: var(--ink-faint); margin-top: var(--s2); }
.jer-legend { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); margin-bottom: var(--s2); color: var(--ink-soft); }
.jer-legend i { display: inline-block; vertical-align: middle; width: 1.6rem; height: 0; margin-right: var(--s2); }
.lg-route { border-top: 3px solid var(--orange); }
.lg-wall { border-top: 3px solid var(--ink-soft); }
.lg-wall2 { border-top: 3px dashed var(--ink-soft); }
.lg-via { border-top: 2px dotted var(--plan-3); }

.jer-ground { fill: var(--surface); }
.jer-valley { fill: none; stroke: color-mix(in srgb, var(--blue) 13%, transparent); stroke-width: 70; stroke-linecap: round; stroke-linejoin: round; }
.jer-valley-line { fill: none; stroke: color-mix(in srgb, var(--blue) 45%, transparent); stroke-width: 3; stroke-dasharray: 14 10; }
.jer-contour { fill: none; stroke: var(--border-strong); stroke-width: 2.5; stroke-dasharray: 2 10; stroke-linecap: round; }
.jer-wall { fill: none; stroke: var(--ink-soft); stroke-width: 9; stroke-linejoin: round; stroke-linecap: round; }
.jer-wall2 { fill: none; stroke: var(--ink-soft); stroke-width: 7; stroke-dasharray: 22 14; }
.jer-temple { fill: color-mix(in srgb, var(--orange) 16%, var(--surface)); stroke: var(--orange-ink); stroke-width: 5; }
.jer-court { fill: color-mix(in srgb, var(--orange) 28%, var(--surface)); }
.jer-naos { fill: var(--orange-ink); }
.jer-stoa { fill: color-mix(in srgb, var(--orange) 45%, var(--surface)); }
.jer-build { fill: color-mix(in srgb, var(--ink-soft) 30%, var(--surface)); stroke: var(--ink-soft); stroke-width: 3; }
.jer-pool { fill: color-mix(in srgb, var(--blue) 40%, var(--surface)); stroke: var(--blue); stroke-width: 3; }
.jer-via { fill: none; stroke: var(--plan-3); stroke-width: 5; stroke-dasharray: 3 12; stroke-linecap: round; }
.jer-route { fill: none; stroke: var(--orange); stroke-width: 9; stroke-linecap: round; opacity: .9; }
.jer-arrow { fill: var(--orange); }
.jer-arrow-ink { fill: var(--ink-soft); }
.jer-out { stroke: var(--ink-soft); stroke-width: 6; }
.jer-ref-dot { fill: var(--ink-faint); }

.jer-label {
  font-family: var(--font-ui); font-size: 34px; fill: var(--ink);
  paint-order: stroke; stroke: var(--surface); stroke-width: 9px; stroke-linejoin: round;
}
.jer-place { font-weight: 700; }
.jer-small, .jer-label-ref { font-size: 28px; fill: var(--ink-soft); }
.jer-quartier { font-size: 30px; font-style: italic; fill: var(--ink-soft); text-anchor: middle; letter-spacing: .04em; }
.jer-vallee { font-size: 30px; font-style: italic; fill: color-mix(in srgb, var(--blue) 80%, var(--ink)); text-anchor: middle; }
.jer-mur { font-size: 26px; fill: var(--ink-soft); text-anchor: middle; }

.jer-dot { stroke: var(--surface); stroke-width: 5; }
.jer-cross { stroke: var(--surface); stroke-width: 4; }
.st-atteste { fill: var(--st-atteste); }
.st-probable { fill: var(--st-probable); }
.st-tradition { fill: var(--st-tradition); }
.st-debattu { fill: var(--st-debattu); }
.st-improbable { fill: var(--st-improbable); }
.jer-mark { cursor: pointer; }
.jer-mark:hover .jer-dot, .jer-mark.is-lit .jer-dot,
.jer-mark:hover .jer-cross, .jer-mark.is-lit .jer-cross { stroke: var(--ink); stroke-width: 6; }
.jer-svg polygon.is-lit { stroke: var(--ink); stroke-width: 8; }
.jer-badge rect { fill: var(--orange-solid); }
.jer-badge text { fill: var(--plan-ink); font: 700 30px var(--font-ui); text-anchor: middle; }
.jer-scale path, .jer-north path { stroke: var(--ink); stroke-width: 4; fill: none; }
.jer-north path { fill: var(--ink); stroke: none; }
.jer-scale text, .jer-north text { font: 28px var(--font-ui); fill: var(--ink); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.step {
  display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: var(--s3);
  padding: var(--s3); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  scroll-margin-top: var(--s4);
}
.step-num {
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--orange-solid); color: var(--plan-ink); font-weight: 700;
}
.step h4 { font-size: 1rem; margin: 0 0 var(--s1); }
.step p { font-size: .9rem; margin: 0 0 var(--s2); }
.step-when { font-size: .78rem !important; color: var(--ink-faint); margin-bottom: var(--s1) !important; }
.step-gospels { display: grid; gap: var(--s1) var(--s3); grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.step-gospels > div { display: flex; gap: var(--s2); align-items: baseline; min-width: 0; }
.step-gospels dt { font-size: .72rem; font-weight: 700; color: var(--ink-faint); width: 1.4rem; flex: none; }
.step-gospels dd { margin: 0; min-width: 0; }
.step-none { color: var(--ink-faint); }

.jer-status { margin-bottom: var(--s3); }
.jer-status .tag, .place-card .tag { gap: var(--s2); }
.tag i { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; background: currentColor; }
.tag.st-atteste i { background: var(--st-atteste); }
.tag.st-probable i { background: var(--st-probable); }
.tag.st-tradition i { background: var(--st-tradition); }
.tag.st-debattu i { background: var(--st-debattu); }
.tag.st-improbable i { background: var(--st-improbable); }
.place-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.place-card {
  padding: var(--s4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  scroll-margin-top: var(--s4);
}
.place-card:target { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.place-card h4 { font-size: 1rem; margin-bottom: var(--s2); }
.place-card p { font-size: .9rem; margin-bottom: var(--s2); }
.place-card p:last-child { margin-bottom: 0; }

/* --------------------------------------------- la journée de la croix */

.cross-figure { margin: var(--s5) 0; }
.cross-figure .christ-scroll { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.cross-svg { min-width: 62rem; }
.lg-dot-full, .lg-dot-empty, .lg-word { width: .8rem !important; height: .8rem !important; border-radius: 50%; }
.lg-dot-full { background: var(--ink); }
.lg-dot-empty { border: 2px solid var(--ink-soft); }
.lg-word { background: var(--plan-3); }

.fr-night { fill: var(--bg-alt); }
.fr-dark { fill: color-mix(in srgb, var(--ink) 9%, transparent); }
.fr-watch { fill: color-mix(in srgb, var(--blue) 16%, var(--surface)); }
.fr-hour { fill: color-mix(in srgb, var(--orange) 12%, var(--surface)); }
.fr-hour.is-strong { fill: color-mix(in srgb, var(--orange) 30%, var(--surface)); }
.fr-band-text { font: 13px var(--font-ui); fill: var(--ink-soft); text-anchor: middle; }
.fr-band-text.is-strong { font-weight: 700; fill: var(--ink); }
.fr-sup { font-size: 9px; }
.fr-caption { font: 12px var(--font-ui); fill: var(--ink-faint); }
.fr-clock { font: 13px var(--font-ui); fill: var(--ink-soft); text-anchor: middle; }
.fr-axis { stroke: var(--ink); stroke-width: 2; }
.fr-tick { stroke: var(--ink-faint); stroke-width: 1; }
.fr-tick.is-major { stroke: var(--ink); stroke-width: 1.5; }
.fr-sunset { stroke: var(--orange); stroke-width: 2; stroke-dasharray: 5 4; }
.fr-sunset-text { font: italic 12px var(--font-ui); fill: var(--orange-ink); }
.fr-six-arc { fill: none; stroke: var(--plan-3); stroke-width: 1.8; stroke-dasharray: 4 3; }
.fr-six { font: 700 12px var(--font-ui); fill: var(--plan-3); text-anchor: middle; }
.fr-six-label { font: italic 12px var(--font-ui); fill: var(--plan-3); text-anchor: middle; }
.fr-word { fill: var(--plan-3); }
.fr-word-num { font: 700 13px var(--font-ui); fill: var(--plan-ink); text-anchor: middle; pointer-events: none; }
.fr-word-leader { stroke: var(--plan-3); stroke-width: 1.2; }
.fr-ev-stem { stroke: var(--border-strong); stroke-width: 1; }
.fr-ev-span { fill: color-mix(in srgb, var(--ink-soft) 25%, transparent); }
.fr-ev-dot { stroke: var(--ink); stroke-width: 2; }
.fr-ev.is-text .fr-ev-dot { fill: var(--ink); }
.fr-ev.is-order .fr-ev-dot { fill: var(--surface); stroke: var(--ink-soft); }
.fr-ev-text { font: 15px var(--font-ui); fill: var(--ink); }
.fr-ev.is-order .fr-ev-text { fill: var(--ink-soft); }

.cross-cols { display: grid; gap: var(--s4); align-items: start; }
@media (min-width: 900px) { .cross-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.cross-box { padding: var(--s4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); scroll-margin-top: var(--s4); }
.cross-box .christ-h3 { margin-top: 0; }
.cross-box p, .cross-box li, .cross-box dd { font-size: .9rem; }
.cross-question { border-left: 4px solid var(--plan-3); }
.hours-list { margin: 0; display: grid; gap: var(--s3); }
.hours-list dt { font-weight: 700; font-size: .92rem; }
.hours-list dd { margin: 0; color: var(--ink-soft); }
.hypotheses { margin: 0; padding-left: 1.2rem; display: grid; gap: var(--s2); }

.words { list-style: none; margin: 0 0 var(--s3); padding: 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.words li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: var(--s3); padding: var(--s3); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.word-num { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--plan-3); color: var(--plan-ink); font-weight: 700; }
.word-text { font-family: var(--font-read); font-size: 1.02rem; margin-bottom: var(--s1); }
.word-to { font-size: .86rem; color: var(--ink-soft); margin-bottom: 0; }
.words .christ-small { margin: var(--s1) 0 0; }

.cross-events { list-style: none; margin: 0; padding: 0; max-width: 56rem; }
.cross-events li {
  display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: var(--s3);
  padding: var(--s2) 0; border-bottom: 1px solid var(--border); font-size: .9rem;
}
.ev-time { font-variant-numeric: tabular-nums; color: var(--ink-soft); white-space: nowrap; }
.cross-events li.is-order .ev-time::before { content: "≈ "; }
.cross-events q { font-family: var(--font-read); font-style: italic; color: var(--ink-soft); quotes: "« " " »"; }
@media (max-width: 520px) {
  .cross-events li { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .christ-callout { padding: var(--s4); }
}

/* Indication de défilement : seulement quand le dessin est plus large que l'écran. */
.christ-swipe { display: none; }
@media (max-width: 760px) { .christ-swipe { display: inline; font-style: italic; } }
