/* Static speraindeo.net pages (tools/build_static_site.py). Loaded after the reader's
   app.css, fasting.css and national.css; only adds what the static pages need. */

/* Without JavaScript, follow the system theme (app.css keys light colours on data-theme). */
@media (prefers-color-scheme: light) {
  html:not([data-theme]) { color-scheme: light; --bg: oklch(96.5% .012 75); --surface: oklch(94% .012 75); --raised: oklch(98% .012 75);
    --text: oklch(31.4% .025 45); --muted: oklch(47.6% .02 55); --faint: oklch(51.7% .018 60); --line: oklch(92% .012 75);
    --edge: oklch(88% .012 75); --gold: oklch(52% .14 65); --accent: oklch(38% .12 18); --chequy: oklch(52% .21 27); }
}

.static-site .wordmark span { white-space: nowrap; }
.static-site .desktop-nav { margin-left: auto; }

/* Month: title between the arrows, as on molitvenik.app/kalendar. */
.static-month .month-heading { margin-top: 32px; align-items: center; }
.static-month .month-title { text-align: center; }
.static-month .month-title h1 { font: 500 52px/1.05 var(--serif); margin: 0; letter-spacing: .005em; }
.static-month .month-arrow { white-space: nowrap; min-height: 44px; min-width: 44px; }
.static-month .month-arrow.next { justify-content: flex-end; }
.static-month .month-arrow[aria-disabled] { visibility: hidden; }
.static-month .day-link { color: inherit; }
.static-month .day-link:hover .feast-name { color: var(--gold); }
.static-month .day-action .today-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; }
.static-month .day-row.is-today { scroll-margin: 24px 0 120px; }
.calendar-legend h2 { font: 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-right: 5px; }

/* Day */
.static-day .day-navigation a { color: var(--muted); }
.static-day .day-navigation a[href]:hover { color: var(--gold); }
.static-day .day-month-link { gap: 7px; color: var(--text); }
.static-day .day-heading .eyebrow { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.static-day .day-heading .eyebrow time { font: inherit; color: inherit; }
.static-day .day-heading.is-sunday:not(.is-obligation) h1 { color: var(--gold); }
.static-day .day-full-name { max-width: 560px; margin: 0 auto 10px; color: var(--muted); font: italic 400 15px/1.5 var(--body-serif); }
.static-day .day-latin-name { max-width: 560px; margin: -2px auto 12px; color: var(--muted); font: italic 400 16px/1.45 var(--body-serif); }
.static-day .day-rank { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 6px; font-size: 13px; }
.static-day .day-rank .liturgical-dot { width: 10px; height: 10px; margin: 0 2px 0 0; }
.static-day .day-discipline { margin: 28px auto 0; text-align: center; }
.static-day .day-discipline h2, .static-about h2 { font: 10px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.static-day .day-discipline p { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 10px; }
.static-day .day-back, .static-about .day-back { text-align: center; margin-top: 18px; }
.today-label[data-today] { margin-left: 2px; }
.day-heading .today-label { border: 1px solid color-mix(in oklab, var(--gold) 45%, transparent); border-radius: 4px; padding: 0 6px; font-weight: 600; }

/* About */
.static-about .calendar-intro { text-align: center; }
.static-about .about-section { margin-top: 30px; font-size: 15px; line-height: 1.65; }
.static-about .about-section > p + p { margin-top: 12px; }
.static-about .about-section h2 { margin-bottom: 12px; }
.static-about .about-sources { margin: 0; }
.static-about .about-sources dt { font: 600 17px/1.4 var(--body-serif); margin-top: 18px; }
.static-about .about-sources dd { margin: 4px 0 0; color: var(--text); }
.static-about a:not(.back-link) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, var(--text) 35%, transparent); }
.static-about .about-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 13px; color: var(--muted); }
.static-about .about-legend li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.static-about .about-legend-colors > span { display: inline-flex; align-items: center; }
.static-about .about-abbreviations { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 24px; margin: 0; font-size: 13px; }
.static-about .about-abbreviations div { display: flex; gap: 10px; }
.static-about .about-abbreviations dt { flex: 0 0 92px; font-weight: 600; }
.static-about .about-abbreviations dd { margin: 0; color: var(--muted); }
.static-about .about-section.about-small { font-size: 12px; color: var(--muted); }
.static-about .about-devotions { margin-top: 22px; }
.static-about .about-devotions h3 { font: 600 17px/1.4 var(--body-serif); color: var(--gold); }
.static-about .about-devotions-note { margin-top: 2px; font-size: 13px; color: var(--muted); }
.static-about .about-devotions ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.static-about .about-devotions li { display: grid; grid-template-columns: 112px 1fr; gap: 12px; font: 16px/1.45 var(--body-serif); }
.static-about .about-devotions-date { font: 13px/1.9 var(--sans); color: var(--muted); }
@media (max-width: 700px) { .static-about .about-devotions li { grid-template-columns: 96px 1fr; font-size: 15px; } }

.static-redirect .static-404-links { display: flex; justify-content: center; gap: 24px; }
.static-redirect .empty-state h1 { color: var(--text); margin: 6px 0 14px; }

@media (max-width: 700px) {
  .static-site .header-inner { justify-content: center; }
  .static-month .month-heading { margin: 22px 0 16px; }
  .static-month .month-title h1 { font-size: 40px; }
  /* app.css hides the neighbouring month names on phones; show them small, so the arrows say where they go. */
  .static-month .month-arrow { gap: 4px; font-size: 10px; letter-spacing: .08em; }
  .static-month .month-arrow span { display: inline; }
  .static-day .day-navigation { font-size: 12px; }
  .static-day .day-navigation a:not(.day-month-link) span { display: none; }
  .static-day .day-navigation a { min-width: 44px; min-height: 44px; }
  .static-day .day-navigation a:last-child { justify-content: flex-end; }
  .static-about .about-section { font-size: 14px; }
}

/* The black dot (Good Friday, Requiem) needs a visible ring on dark grounds. */
html[data-theme=dark] .liturgical-dot.color-black { box-shadow: 0 0 0 1px var(--muted); }
@media (prefers-color-scheme: dark) { html:not([data-theme]) .liturgical-dot.color-black { box-shadow: 0 0 0 1px var(--muted); } }

/* Commemorations as one line: "Spomen: A; B" (user 2026-11-17: separate fragments read as one phrase). */
.static-site .commemoration-line { font-family: var(--body-serif); font-style: italic; color: var(--muted); }
.static-site .commemoration-label { font: normal 10px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin-right: 2px; }

/* Spera themes (docs/superpowers/specs/2026-11-17-speraindeo-polish-design.md, addendum 2).
   The page takes the liturgical colour: a day page its own day's, other pages today's (data-colour on <html>).
   Dark: a tinted ground in that colour at "Whisper" strength over neutral dark, with faint grain.
   Light: a wash of the colour from the top at "Subtle" strength on a neutral off-white (not the Kalež sand).
   Each theme sets --obligation itself (national.css resolves var(--gold) once on :root). Without JavaScript
   the system setting decides and non-day pages stay white/gold. */
html[data-brand=spera], html[data-brand=spera][data-theme=dark] { color-scheme: dark; --bg: oklch(19% .005 80); --surface: oklch(22% .005 80); --raised: oklch(24.5% .005 80);
  --line: oklch(28% .005 80); --edge: oklch(33% .006 80); --text: #e9e3d6; --muted: #a9aaa6; --faint: #94958f;
  --gold: #f6ba55; --accent: #f6ba55; --obligation: #f6ba55; }
html[data-brand=spera][data-theme=light] { color-scheme: light; --bg: oklch(97.5% .003 95); --surface: oklch(95% .004 95); --raised: oklch(99% .002 95);
  --line: oklch(91% .004 95); --edge: oklch(87% .005 95); --text: oklch(27% .01 60); --muted: oklch(46% .012 60);
  --faint: oklch(52% .01 60); --gold: oklch(46% .12 62); --accent: oklch(46% .12 62); --obligation: oklch(46% .12 62); }
@media (prefers-color-scheme: light) {
  html[data-brand=spera]:not([data-theme]) { color-scheme: light; --bg: oklch(97.5% .003 95); --surface: oklch(95% .004 95); --raised: oklch(99% .002 95);
  --line: oklch(91% .004 95); --edge: oklch(87% .005 95); --text: oklch(27% .01 60); --muted: oklch(46% .012 60);
  --faint: oklch(52% .01 60); --gold: oklch(46% .12 62); --accent: oklch(46% .12 62); --obligation: oklch(46% .12 62); }
}
html[data-brand=spera] { background: var(--bg); scroll-padding-top: 0; /* app.css keeps 85px for a sticky header; this one scrolls away. */ }
html[data-brand=spera] body { background: transparent; }

/* The liturgical colour: --hue, and its strength per theme (--cd dark, --cl light; --dl shifts light lightness).
   Balanced by review: red a deeper crimson ("rich crimson" in light), violet more purple, green quieter in light. */
html[data-brand=spera] { --hue: 75; --cd: .024; --cl: .043; --dl: 0%; }
html[data-colour=violet] { --hue: 312; --cd: .036; --cl: .065; }
html[data-colour=red] { --hue: 9; --cd: .042; --cl: .072; --dl: -11%; }
html[data-colour=green] { --hue: 160; --cd: .026; --cl: .033; }
html[data-colour=rose] { --hue: 350; --cd: .028; --cl: .05; }
html[data-colour=black] { --hue: 0; --cd: 0; --cl: 0; }

/* Fixed layers (not background-attachment, which iOS ignores): the list scrolls over them. */
html[data-brand=spera] body::before, html[data-brand=spera] body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; }
html[data-brand=spera] body::before { background:
  radial-gradient(ellipse 95% 80% at 50% 30%, oklch(26% var(--cd) var(--hue)) 0%, oklch(18.5% calc(var(--cd) * .75) var(--hue)) 55%, oklch(9.5% calc(var(--cd) * .4) var(--hue)) 100%); }
html[data-brand=spera] body::after { opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E"); }
html[data-brand=spera][data-theme=light] body::before { background:
  linear-gradient(180deg, oklch(calc(90% + var(--dl)) calc(var(--cl) * 1.1) var(--hue) / .67) 0%, oklch(calc(94% + var(--dl)) calc(var(--cl) * .5) var(--hue) / .7) 36%, transparent 75%), var(--bg); }
@media (prefers-color-scheme: light) {
  html[data-brand=spera]:not([data-theme]) body::before { background:
  linear-gradient(180deg, oklch(calc(90% + var(--dl)) calc(var(--cl) * 1.1) var(--hue) / .67) 0%, oklch(calc(94% + var(--dl)) calc(var(--cl) * .5) var(--hue) / .7) 36%, transparent 75%), var(--bg); }
}
html[data-brand=spera][data-theme=light] body::after { display: none; }
@media (prefers-color-scheme: light) {
  html[data-brand=spera]:not([data-theme]) body::after { display: none; }
}

/* Header: no colour bar, no background, no hairline; it scrolls away with the page. */
html[data-brand=spera] .site-header { position: static; background: transparent; border-bottom-color: transparent; }

/* Glass: the month list, the day's commemorations, the legend and the note sit on a frosted sheet. */
.static-month .day-list, .static-day .day-commemorations, .static-day .day-devotions, .static-month .calendar-legend, .static-month .calendar-note { border-radius: 22px; background: linear-gradient(160deg, #ffffff12, #ffffff05 45%, #ffffff0a); border: 1px solid #ffffff1c;
  box-shadow: inset 0 1px 0 #ffffff2a, 0 24px 60px #0005; -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); }
.static-month .day-list { margin: 0 -14px; padding: 4px 14px; border-radius: 24px; }
.static-month .day-row:last-child { border-bottom: 0; }
.static-month .calendar-legend, .static-month .calendar-note { margin-top: 16px; padding: 14px 16px; }
html[data-brand=spera][data-theme=light] .static-month .day-list, html[data-brand=spera][data-theme=light] .static-day .day-commemorations, html[data-brand=spera][data-theme=light] .static-day .day-devotions, html[data-brand=spera][data-theme=light] .static-month .calendar-legend, html[data-brand=spera][data-theme=light] .static-month .calendar-note { background: linear-gradient(160deg, #ffffffb8, #ffffff70 45%, #ffffff94); border-color: #ffffffe0;
  box-shadow: inset 0 1px 0 #fff, 0 20px 50px oklch(35% .02 60 / .1); }
@media (prefers-color-scheme: light) {
  html[data-brand=spera]:not([data-theme]) .static-month .day-list, html[data-brand=spera]:not([data-theme]) .static-day .day-commemorations, html[data-brand=spera]:not([data-theme]) .static-day .day-devotions, html[data-brand=spera]:not([data-theme]) .static-month .calendar-legend, html[data-brand=spera]:not([data-theme]) .static-month .calendar-note { background: linear-gradient(160deg, #ffffffb8, #ffffff70 45%, #ffffff94); border-color: #ffffffe0;
  box-shadow: inset 0 1px 0 #fff, 0 20px 50px oklch(35% .02 60 / .1); }
}
html[data-brand=spera] .site-header .desktop-nav a { color: var(--muted); }
html[data-brand=spera] .site-header .desktop-nav a[aria-current], html[data-brand=spera] .site-header .desktop-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
html[data-brand=spera] .mobile-nav { background: linear-gradient(160deg, #ffffff1a, #ffffff08), color-mix(in oklab, var(--bg) 55%, transparent);
  border-color: #ffffff26; box-shadow: inset 0 1px 0 #ffffff38, 0 8px 30px #0005; -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); }
html[data-brand=spera][data-theme=light] .mobile-nav { background: linear-gradient(160deg, #ffffffc8, #ffffff88); border-color: #ffffffe8; box-shadow: inset 0 1px 0 #fff, 0 8px 30px oklch(35% .02 60 / .13); }
@media (prefers-color-scheme: light) {
  html[data-brand=spera]:not([data-theme]) .mobile-nav { background: linear-gradient(160deg, #ffffffc8, #ffffff88); border-color: #ffffffe8; box-shadow: inset 0 1px 0 #fff, 0 8px 30px oklch(35% .02 60 / .13); }
}
html[data-brand=spera] .day-row.is-today { background: color-mix(in oklab, var(--gold) 8%, transparent); }
/* Two logos, switched by the theme (a chosen theme can differ from the system one): gold on dark, bronze on linen. */
.brand-logo img { display: block; height: 40px; width: auto; }
.brand-logo .logo-bronze, html[data-theme=light] .brand-logo .logo-gold { display: none; }
html[data-theme=light] .brand-logo .logo-bronze { display: block; }
@media (prefers-color-scheme: light) {
  html:not([data-theme]) .brand-logo .logo-gold { display: none; }
  html:not([data-theme]) .brand-logo .logo-bronze { display: block; }
}
@media (max-width: 700px) { .brand-logo img { height: 34px; } }

/* Colour dots need a firm ring on both grounds (a white dot on linen, a green dot on green-charcoal). */
html[data-brand=spera] .liturgical-dot { box-shadow: 0 0 0 1.5px color-mix(in oklab, var(--text) 45%, transparent); }
html[data-brand=spera] .footer-cross { color: var(--gold); }

/* Saint titles after the name ("papa i priznavatelj") in the muted colour (static-site/names.html). */
.static-site .feast-title { color: var(--muted); font-weight: 400; }

/* Holy day of obligation (not a Sunday): church icon in the marker column, legend and day label. */
.obligation-marker { display: inline-flex; align-items: center; color: var(--obligation); }
.day-action .obligation-marker svg { width: 20px; height: 20px; }
.legend-obligation-marker { display: inline-flex; align-items: center; gap: 6px; }
.obligation-tag .obligation-marker { margin-right: 5px; vertical-align: -3px; }
.static-about .about-legend .obligation-marker svg { width: 18px; height: 18px; }

/* Text size (Postavke). The reader's CSS sizes text in px, so the content is scaled as a whole. */
html[data-text-size=small] main { zoom: .92; }
html[data-text-size=large] main { zoom: 1.12; }

/* Postavke button: third item of the phone bar, icon in the desktop header. Hidden until the script runs. */
[data-settings-open][hidden] { display: none !important; }
.settings-open { appearance: none; background: none; border: 0; font: inherit; color: var(--muted); cursor: pointer; }
.mobile-nav .settings-open { display: flex; flex: 1; align-items: center; justify-content: center; flex-direction: column; gap: 3px;
  min-height: 46px; border-radius: 19px; font-size: 8px; letter-spacing: .02em; }
.desktop-nav .settings-open { display: flex; align-items: center; gap: 6px; font-size: 12px; border-bottom: 2px solid transparent; padding-top: 2px; }
.settings-open:hover, .settings-open[aria-expanded=true] { color: var(--gold); }

/* Postavke panel: a bottom sheet on phones, a small card under the header on wider screens. */
.settings-panel { position: fixed; inset: 0; z-index: 60; }
.settings-panel[hidden] { display: none; }
.settings-backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / .45); }
.settings-sheet { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 440px); color: var(--text);
  background: linear-gradient(160deg, #ffffff14, #ffffff05), color-mix(in oklab, var(--raised) 82%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--edge); border-bottom: 0; border-radius: 22px 22px 0 0;
  padding: 16px 20px calc(24px + env(safe-area-inset-bottom)); box-shadow: 0 -12px 40px rgb(0 0 0 / .35); }
@media (min-width: 701px) {
  .settings-sheet { top: 64px; bottom: auto; left: auto; right: max(24px, calc(50% - 526px)); transform: none; width: 340px;
    border-bottom: 1px solid var(--edge); border-radius: 16px; padding-bottom: 20px; }
}
.settings-head { display: flex; align-items: center; justify-content: space-between; }
.settings-head h2 { font: 500 22px/1.2 var(--serif); }
.settings-close { appearance: none; background: none; border: 0; color: var(--muted); cursor: pointer; display: inline-flex;
  align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-right: -10px; border-radius: 50%; }
.settings-label { margin: 14px 0 8px; font: 10px/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.settings-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border: 1px solid var(--edge);
  border-radius: 14px; background: var(--surface); }
.settings-seg button { appearance: none; border: 0; background: transparent; color: var(--muted); font: 12px var(--sans); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 56px; border-radius: 10px; }
.settings-seg button[aria-pressed=true] { background: var(--raised); color: var(--gold); box-shadow: 0 1px 4px rgb(0 0 0 / .14); }
.settings-seg button:focus-visible, .settings-close:focus-visible, .settings-open:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.size-a { font: 500 18px/1 var(--serif); }
/* Za pobožnost: one switch per category (on = shown). */
.settings-toggles { display: grid; gap: 2px; padding: 4px; border: 1px solid var(--edge); border-radius: 14px; background: var(--surface); }
.settings-toggles button { appearance: none; border: 0; background: transparent; color: var(--text); font: 14px var(--sans); cursor: pointer;
  display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 10px; border-radius: 10px; text-align: left; }
.settings-toggles button[aria-pressed=false] { color: var(--muted); }
.settings-toggles button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.toggle-mark { flex: none; position: relative; width: 34px; height: 20px; border-radius: 10px; background: var(--edge); transition: background .15s; }
.toggle-mark::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--raised); box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .15s; }
.settings-toggles button[aria-pressed=true] .toggle-mark { background: var(--gold); }
.settings-toggles button[aria-pressed=true] .toggle-mark::after { transform: translateX(14px); }
@media (prefers-reduced-motion: reduce) { .toggle-mark, .toggle-mark::after { transition: none; } }
.size-a.size-small { font-size: 14px; }
.size-a.size-large { font-size: 23px; }

/* Month rows (user 2026-11-19): a ribbon at the row's left edge in the liturgical colour replaces the
   dot; two lines — the name, then the Spomen, or the day's Latin name when there is no Spomen. */
.static-month .day-row { position: relative; }
.static-month .day-row::before { content: ""; position: absolute; left: -10px; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--lc); }
.static-month .day-row.is-today::before { left: 2px; }
.lc-white { --lc: oklch(80% .12 85); }  /* white vestments: a gold ribbon */
/* Dark values are lifted so each ribbon stays visible on the dark glass (black would vanish). */
.lc-red { --lc: oklch(58% .19 15); }
.lc-green { --lc: oklch(60% .13 152); }
.lc-violet { --lc: oklch(60% .16 312); }
.lc-rose { --lc: oklch(68% .12 348); }
.lc-black { --lc: oklch(62% .01 50); }
html[data-theme=light] .lc-white { --lc: oklch(72% .14 80); }
html[data-theme=light] .lc-red { --lc: oklch(48% .18 12); }
html[data-theme=light] .lc-violet { --lc: oklch(52% .16 312); }
html[data-theme=light] .lc-black { --lc: oklch(35% .01 50); }
@media (prefers-color-scheme: light) {
  html:not([data-theme]) .lc-white { --lc: oklch(72% .14 80); }
  html:not([data-theme]) .lc-red { --lc: oklch(48% .18 12); }
  html:not([data-theme]) .lc-violet { --lc: oklch(52% .16 312); }
  html:not([data-theme]) .lc-black { --lc: oklch(35% .01 50); }
}
.ribbon-swatch { display: inline-block; width: 3px; height: 14px; margin-right: 8px; border-radius: 2px; vertical-align: -2px; background: var(--lc); }
.static-month .day-link { grid-template-columns: 40px 44px minmax(0, 1fr) auto; grid-template-rows: auto auto; row-gap: 2px; }
.static-month .weekday { grid-row: 1; grid-column: 1; }
.static-month .day-number { grid-row: 1; grid-column: 2; }
.static-month .observance { grid-row: 1 / span 2; grid-column: 3; }
.static-month .day-action { grid-row: 1 / span 2; grid-column: 4; }
@media (max-width: 700px) {
  .static-month .day-link { grid-template-columns: 30px 28px minmax(0, 1fr) auto; column-gap: 10px; }
}

/* Line 2 without a Spomen: the day's Latin name (user 2026-11-19). */
.static-month .latin-line { display: block; font: italic 400 14px/1.45 var(--body-serif); color: var(--muted); }
@media (max-width: 700px) { .static-month .latin-line { font-size: 13px; } }

/* Muted text on the light red wash: the wash is darkest there, so muted text is a step darker (4.8:1, not 4.4:1). */
html[data-colour=red][data-theme=light] { --muted: oklch(44% .012 60); --faint: oklch(48% .01 60); }
@media (prefers-color-scheme: light) {
  html[data-colour=red]:not([data-theme]) { --muted: oklch(44% .012 60); --faint: oklch(48% .01 60); }
}

/* Devotional notes (saints, blesseds, Marian days): beside the liturgy, never part of it.
   Day page: their own glass card under the commemorations. Month rows: one extra line each. */
.static-day .day-devotions { margin: 16px auto 0; text-align: center; padding: 16px 22px; border-radius: 16px; width: fit-content; max-width: 100%; }
.static-day .day-devotions > span { font: 10px var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.static-day .day-devotions p { font: 19px/1.4 var(--serif); margin-top: 7px; }
.static-site .devotion-label { display: block; font: 600 10px/1.6 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.static-day .devotion-note { display: block; margin-top: 10px; font: italic 13px/1.4 var(--body-serif); color: var(--muted); }
.static-month .devotion-line { display: block; flex-basis: 100%; font: italic 400 14px/1.45 var(--body-serif); color: var(--muted); }
.static-month .devotion-line .commemoration-label { color: var(--gold); font-style: normal; }
@media (max-width: 700px) { .static-month .devotion-line { font-size: 13px; } }
