@import url("book-geometry.css");
@import url("icons.css");

/* ==========================================================================
   Here I Stand — web rules
   Two reading layouts share one set of tokens:
     [data-layout="book"]   the open book, contents on the left leaf
     [data-layout="scroll"] a single parchment column (tablets, narrow windows)
   Theme is written to [data-theme] before first paint, seeded from the OS.
   ========================================================================== */

:root {
  --ink:        #2c2114;
  --ink-soft:   #61503a;
  --ink-faint:  #8a7659;
  --accent:     #8e2f1f;   /* sealing wax */
  --gold:       #96712a;
  --rule:       rgba(94, 70, 41, .26);
  --rule-strong:rgba(94, 70, 41, .45);
  --mark:       rgba(214, 168, 62, .42);

  --plaque:     rgba(28, 20, 12, .58);
  --plaque-ink: #e9dcc2;
  --plaque-brd: rgba(214, 190, 140, .28);

  --paper-veil: transparent;
  --book-dim:   none;
  --desk:       url("../img/desk-light.webp");
  --desk-veil:  rgba(28, 18, 8, .16);

  --gutter: clamp(10px, 1.6vmin, 26px);
  --radius: 3px;
}

[data-theme="night"] {
  --ink:        #2a2015;
  --ink-soft:   #5a4a35;
  --ink-faint:  #826f54;
  --rule:       rgba(80, 58, 33, .30);
  --mark:       rgba(196, 148, 46, .48);

  --plaque:     rgba(14, 10, 6, .66);
  --plaque-brd: rgba(206, 176, 122, .24);

  --book-dim:   brightness(.74) saturate(.94);
  --paper-veil: rgba(38, 24, 8, .12);
  --desk:       url("../img/desk-dark.webp");
  --desk-veil:  rgba(10, 6, 2, .34);
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: #17110a;
  -webkit-text-size-adjust: 100%;
}

/* In the book spread the two leaves scroll and the window must not; in the
   flat layout the window is the scroller, as usual. */
[data-layout="book"], [data-layout="book"] body { height: 100%; overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* --- the desk ----------------------------------------------------------- */

.desk {
  position: fixed; inset: 0; z-index: 0;
  background: #14100a var(--desk) center / cover no-repeat;
}
.desk::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 42%, transparent 30%, rgba(6,4,2,.55) 100%),
    var(--desk-veil);
}

/* --- floating controls -------------------------------------------------- */

.controls {
  position: fixed; z-index: 40;
  top: var(--gutter); right: var(--gutter);
  display: flex; gap: 6px;
}
.ctl {
  display: inline-flex; align-items: center; gap: .45em;
  font: 600 12px/1 "Cinzel", Georgia, serif;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--plaque-ink);
  background: var(--plaque);
  border: 1px solid var(--plaque-brd);
  border-radius: var(--radius);
  padding: .62em .8em;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .18s, border-color .18s, color .18s;
}
.ctl:hover { background: rgba(60, 42, 22, .8); border-color: rgba(226, 198, 140, .5); }
.ctl:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ctl-ico { font-size: 1.15em; line-height: 1; }
.ctl--nav { display: none; }

@media (max-width: 560px) {
  .ctl-lbl { display: none; }
  .ctl { padding: .6em .7em; }
}

/* ==========================================================================
   BOOK LAYOUT
   ========================================================================== */

.book {
  position: relative; z-index: 10;
  width: min(calc(100vw - var(--gutter) * 2),
             calc((100svh - var(--gutter) * 2) * var(--book-aspect)));
  aspect-ratio: var(--book-aspect);
}

[data-layout="book"] .book::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/book.webp") center / 100% 100% no-repeat;
  filter: var(--book-dim);
  border-radius: 6px;
}

[data-layout="book"] .page {
  position: absolute;
  container-type: size;
  overflow: hidden;
}
[data-layout="book"] .page::after {          /* candle-dimmed paper at night */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--paper-veil);
}
[data-layout="book"] .page--left  { left: var(--lp-x); top: var(--lp-y);
                                    width: var(--lp-w); height: var(--lp-h); }
[data-layout="book"] .page--right { left: var(--rp-x); top: var(--rp-y);
                                    width: var(--rp-w); height: var(--rp-h); }

[data-layout="book"] .page-inner {
  height: 100%; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--rule-strong) transparent;
}
[data-layout="book"] .page--left  .page-inner {
  padding: 5.5% 8% 8% 8.5%;
  font-size: clamp(12px, 2.75cqw, 16.5px);
}
[data-layout="book"] .page--right .page-inner {
  padding: 5.5% 8.5% 9% 8%;
  font-size: clamp(13.5px, 2.95cqw, 21px);
}

[data-layout="book"] .page-inner::-webkit-scrollbar { width: 7px; }
[data-layout="book"] .page-inner::-webkit-scrollbar-thumb {
  background: var(--rule-strong); border-radius: 4px;
}

/* ==========================================================================
   SCROLL LAYOUT
   ========================================================================== */

[data-layout="scroll"] body { place-items: start center; }

[data-layout="scroll"] .book {
  width: min(100%, 78rem);
  aspect-ratio: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gutter);
  padding: calc(var(--gutter) + 44px) var(--gutter) var(--gutter);
  margin-inline: auto;
}
@media (min-width: 900px) {
  [data-layout="scroll"] .book { grid-template-columns: 19rem minmax(0, 1fr); }
  [data-layout="scroll"] .ctl--nav { display: none !important; }
}

[data-layout="scroll"] .page {
  background: #ddcfb2 url("../img/paper.jpg") top left / 780px repeat;
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .55), 0 0 0 1px rgba(60, 42, 20, .35);
  position: relative;
  font-size: clamp(15px, 1.05vw + .6rem, 19.5px);
}
[data-layout="scroll"] .page::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: var(--radius);
  background:
    linear-gradient(to right, rgba(92, 66, 34, .13), transparent 3.5rem,
                    transparent calc(100% - 3.5rem), rgba(92, 66, 34, .13)),
    var(--paper-veil);
}
[data-layout="scroll"] .page--left  { font-size: clamp(14px, .5vw + .7rem, 16px); }
[data-layout="scroll"] .page-inner  { padding: clamp(1.4rem, 3vw, 2.6rem); }
[data-layout="scroll"] .page--right .page-inner > * { max-width: 42em; margin-inline: auto; }

@media (min-width: 900px) {
  [data-layout="scroll"] .page--left { position: sticky; top: var(--gutter);
                                       max-height: calc(100svh - var(--gutter) * 2); }
  [data-layout="scroll"] .page--left .page-inner { height: 100%; overflow-y: auto; }
}

/* Off-canvas contents drawer below 900px */
@media (max-width: 899px) {
  [data-layout="scroll"] .ctl--nav { display: inline-flex; }
  [data-layout="scroll"] .page--left {
    position: fixed; z-index: 50; inset: 0 auto 0 0;
    width: min(22rem, 88vw);
    transform: translateX(-102%);
    transition: transform .26s ease;
    border-radius: 0;
    overflow: hidden;
  }
  [data-layout="scroll"] .page--left .page-inner { height: 100%; overflow-y: auto; }
  [data-nav="open"] [data-layout="scroll"] .page--left,
  [data-layout="scroll"][data-nav="open"] .page--left { transform: none; }
  [data-nav="open"] .scrim { opacity: 1; pointer-events: auto; }
}
html[data-nav="open"] .page--left { transform: none !important; }

.scrim {
  position: fixed; inset: 0; z-index: 45; background: rgba(8, 5, 2, .6);
  opacity: 0; pointer-events: none; transition: opacity .26s;
}
html[data-nav="open"] .scrim { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   LEFT LEAF — brand, search, contents
   ========================================================================== */

.brand {
  display: block; text-decoration: none; color: inherit;
  text-align: center; padding-bottom: .9em;
  border-bottom: 1px solid var(--rule);
}
.brand-sub {
  display: block; font: 600 .72em/1 "Cinzel", serif;
  letter-spacing: .26em; text-transform: uppercase; color: var(--ink-faint);
}
.brand-main {
  display: block; font: 700 1.62em/1.1 "Cinzel", serif;
  letter-spacing: .04em; margin: .22em 0 .18em; color: var(--ink);
}
.brand-note {
  display: block; font-size: .78em; font-style: italic; color: var(--ink-soft);
}
.brand:hover .brand-main { color: var(--accent); }

.search { position: relative; margin: 1.1em 0 .5em; }
.search input {
  width: 100%; font: 400 1em/1.3 "EB Garamond", Georgia, serif;
  color: var(--ink);
  background: rgba(255, 251, 240, .42);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: .5em 2em .5em .7em;
  -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: var(--ink-faint); font-style: italic; }
.search input:focus {
  outline: none; border-color: var(--gold);
  background: rgba(255, 252, 244, .7);
  box-shadow: 0 0 0 3px rgba(150, 113, 42, .18);
}
.search input::-webkit-search-cancel-button { display: none; }
.search-clear {
  position: absolute; right: .3em; top: 50%; transform: translateY(-50%);
  border: 0; background: none; cursor: pointer; font-size: 1.3em; line-height: 1;
  color: var(--ink-faint); padding: 0 .3em;
}
.search-clear:hover { color: var(--accent); }
.search-hint {
  margin: .4em 0 0; font-size: .74em; color: var(--ink-faint); text-align: right;
}
.search-hint kbd {
  font: inherit; border: 1px solid var(--rule); border-radius: 3px;
  padding: 0 .35em; background: rgba(255, 250, 238, .5);
}

/* --- results ------------------------------------------------------------ */

.results { margin-top: .4em; }
.results-count {
  font: 600 .72em/1 "Cinzel", serif; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-faint);
  padding-bottom: .6em; border-bottom: 1px solid var(--rule); margin: 0 0 .5em;
}
.result {
  display: block; text-decoration: none; color: inherit;
  padding: .55em .6em; border-radius: var(--radius);
  border-bottom: 1px solid var(--rule);
}
.result:hover, .result:focus-visible {
  background: rgba(255, 248, 228, .55); outline: none;
}
.result-where {
  display: block; font: 600 .68em/1.2 "Cinzel", serif;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
}
.result-title { display: block; font-weight: 600; margin: .1em 0 .15em; }
.result-snip { display: block; font-size: .86em; color: var(--ink-soft); line-height: 1.45; }
.result mark, .rules mark {
  background: var(--mark); color: inherit; border-radius: 2px; padding: 0 .1em;
}
.results-empty { font-style: italic; color: var(--ink-soft); padding: .6em 0; }

/* --- contents ----------------------------------------------------------- */

.toc-list, .toc-sub { list-style: none; margin: 0; padding: 0; }
.toc-list { margin-top: .9em; }
.toc-list > li { border-bottom: 1px solid var(--rule); }
.toc-list > li:last-child { border-bottom: 0; }

.toc details > summary {
  list-style: none; display: flex; align-items: baseline; cursor: pointer;
}
.toc details > summary::-webkit-details-marker { display: none; }
.toc-twist {
  margin-left: auto; padding: .5em .1em .5em .5em; color: var(--ink-faint);
  flex: none; align-self: center;
}
.toc-twist::before { content: "+"; font: 600 1em/1 "Cinzel", serif; }
.toc details[open] .toc-twist::before { content: "–"; }

.toc-ch {
  display: flex; gap: .5em; align-items: baseline;
  text-decoration: none; color: var(--ink);
  padding: .5em .1em; flex: 1 1 auto;
  font: 600 .96em/1.25 "Cinzel", serif; letter-spacing: .015em;
}
.toc-ch.is-leaf { padding-left: 0; }
/* Cinzel's "1" is a Roman numeral I, so figures come from the text face. */
.toc-num, .h-num, .chapter-eyebrow, .rules td.num, .rules td.secref {
  font-family: "EB Garamond", Georgia, serif;
  font-variant-numeric: lining-nums tabular-nums;
}
.toc-num {
  flex: none; min-width: 2.1em; color: var(--gold); font-weight: 600;
}
.toc-ch:hover .toc-title, .toc-sub a:hover .toc-title { color: var(--accent); }
.toc-list > li.is-current > details > summary .toc-ch { color: var(--accent); }
.toc-list > li.is-current { background: rgba(255, 248, 230, .34); }

.toc-sub { padding: 0 0 .5em .2em; }
.toc-sub a {
  display: flex; gap: .5em; align-items: baseline;
  text-decoration: none; color: var(--ink-soft);
  padding: .26em .1em .26em 0; font-size: .94em; line-height: 1.3;
}
.toc-sub a.is-active { color: var(--accent); font-weight: 600; }
.toc-sub .toc-num { min-width: 2.6em; font-size: .9em; }

/* ==========================================================================
   RIGHT LEAF — the rules
   ========================================================================== */

.rules { line-height: 1.52; hyphens: auto; }
.rules > *:first-child { margin-top: 0; }

.chapter-head {
  text-align: center; margin: 0 0 1.6em;
  padding-bottom: 1em; border-bottom: 1px solid var(--rule);
}
.chapter-eyebrow {
  margin: 0; font: 600 .74em/1 "Cinzel", serif;
  letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
}
.chapter-title {
  margin: .35em 0 0; font: 700 1.95em/1.12 "Cinzel", serif;
  letter-spacing: .01em; color: var(--ink);
}

.rules h2, .rules h3 { position: relative; scroll-margin-top: .6em; }

.rules h2 {
  display: flex; gap: .55em; align-items: baseline;
  font: 600 1.3em/1.22 "Cinzel", serif;
  margin: 1.9em 0 .55em; padding-top: .5em;
  border-top: 1px solid var(--rule);
  color: var(--ink);
}
.rules h2 .h-num { color: var(--accent); flex: none; font-variant-numeric: tabular-nums; }

.rules h3 {
  font: 600 1.02em/1.3 "Cinzel", serif; letter-spacing: .03em;
  margin: 1.5em 0 .4em; color: var(--ink-soft);
}

.anchor {
  margin-left: .4em; color: var(--ink-faint); text-decoration: none;
  opacity: 0; transition: opacity .15s; font-size: .8em;
}
h2:hover .anchor, h3:hover .anchor, .anchor:focus-visible { opacity: 1; }

.rules p { margin: 0 0 .85em; }
.rules em { font-style: italic; }
.rules strong { font-weight: 600; color: #1f1710; }

.rules ul, .rules ol { margin: 0 0 .9em; padding-left: 1.3em; }
.rules li { margin: 0 0 .38em; }
.rules ul { list-style: none; padding-left: 1.1em; }
.rules ul > li { position: relative; }
.rules ul > li::before {
  content: "◆"; position: absolute; left: -1.1em; top: .06em;
  font-size: .62em; color: var(--gold);
}
.rules ul ul > li::before { content: "◇"; }
.rules ul ul { margin-top: .38em; padding-left: 1.2em; }
.rules ol > li::marker { color: var(--gold); font-weight: 600; }

/* cross references */
.xref {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px dotted rgba(142, 47, 31, .5);
  white-space: nowrap;
}
.xref:hover { border-bottom-style: solid; background: rgba(142, 47, 31, .07); }
.xref:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

:target, .is-flash { animation: flash 1.6s ease-out; }
@keyframes flash {
  0%, 30% { background: rgba(214, 168, 62, .38); }
  100%    { background: transparent; }
}

/* --- plates ------------------------------------------------------------- */

figure.plate { margin: 1.2em auto; text-align: center; }
figure.plate img {
  max-width: 100%; height: auto; cursor: zoom-in;
  /* The plates are scans on white paper; multiply drops that white into the
     parchment instead of pasting a bright rectangle onto it. */
  mix-blend-mode: multiply;
  transition: transform .18s, filter .18s;
}
figure.plate img:hover { transform: translateY(-2px) scale(1.012);
                         filter: drop-shadow(0 6px 12px rgba(48, 32, 12, .3)); }
.plate-row {
  display: flex; flex-wrap: wrap; gap: .8em; justify-content: center;
  margin: 1.2em 0;
}
.plate-row figure.plate { margin: 0; flex: 0 1 auto; max-width: 46%; }

/* --- tables ------------------------------------------------------------- */

.table-wrap { overflow-x: auto; margin: 1.1em 0 1.3em; scrollbar-width: thin; }
.rules table {
  border-collapse: collapse; width: 100%; font-size: .9em; line-height: 1.32;
}
/* Wide reference tables have to fit a book column, so they step down in size
   as the column count grows; anything left over scrolls inside .table-wrap. */
.table-wrap.cols-5 table { font-size: .82em; }
.table-wrap.cols-6 table { font-size: .78em; }
.table-wrap.cols-7 table { font-size: .72em; }
.table-wrap.cols-8 table,
.table-wrap.cols-9 table { font-size: .66em; }
.table-wrap.cols-7 th, .table-wrap.cols-7 td,
.table-wrap.cols-8 th, .table-wrap.cols-8 td,
.table-wrap.cols-9 th, .table-wrap.cols-9 td { padding: .3em .34em; }
.table-wrap {
  background:
    linear-gradient(to right, rgba(120,92,48,.16), transparent 14px) left / 100% 100%,
    linear-gradient(to left,  rgba(120,92,48,.16), transparent 14px) right / 100% 100%;
  background-repeat: no-repeat;
}
.rules th, .rules td {
  border: 1px solid var(--rule); padding: .38em .55em; text-align: left;
  vertical-align: top;
}
.rules thead th {
  font: 600 .82em/1.25 "Cinzel", serif; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-soft);
  background: rgba(120, 92, 48, .12);
}
.rules tbody tr:nth-child(even) { background: rgba(120, 92, 48, .055); }
.rules td.num, .rules td.na, .rules td.secref {
  text-align: center; font-variant-numeric: tabular-nums;
}
.rules td.na { color: var(--ink-faint); }

/* --- chapter pager ------------------------------------------------------ */

.pager {
  display: flex; justify-content: space-between; gap: 1em;
  margin-top: 2.4em; padding-top: 1em; border-top: 1px solid var(--rule);
  font-size: .9em;
}
.pager-link { text-decoration: none; color: var(--ink-soft); max-width: 46%; }
.pager-next { text-align: right; margin-left: auto; }
.pager-dir {
  display: block; font: 600 .74em/1 "Cinzel", serif;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.pager-name { display: block; margin-top: .2em; font-weight: 600; }
.pager-link:hover .pager-name { color: var(--accent); }

/* --- cover -------------------------------------------------------------- */

body[data-chapter="cover"] .rules { text-align: center; }
body[data-chapter="cover"] .rules p { margin-bottom: 1em; }
body[data-chapter="cover"] .rules figure.plate img { cursor: zoom-in; }

/* --- lightbox ----------------------------------------------------------- */

.lightbox {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  background: rgba(8, 5, 2, .88); padding: 4vmin; backdrop-filter: blur(3px);
}
.lightbox img {
  max-width: 100%; max-height: 92svh; border-radius: 3px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .7);
  image-rendering: auto;
}
.lightbox-close {
  position: absolute; top: 2vmin; right: 2vmin;
  font: 400 30px/1 "EB Garamond", serif; color: #e9dcc2;
  background: rgba(28, 20, 12, .6); border: 1px solid var(--plaque-brd);
  border-radius: var(--radius); width: 46px; height: 46px; cursor: pointer;
}
.lightbox-close:hover { color: #fff; background: rgba(70, 48, 24, .8); }

/* --- motion ------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition: none !important; }
}

/* --- print -------------------------------------------------------------- */

@media print {
  .desk, .controls, .page--left, .pager, .lightbox, .search { display: none !important; }
  body { display: block; overflow: visible; background: #fff; }
  .book { width: auto; aspect-ratio: auto; }
  .page { position: static !important; background: none !important;
          box-shadow: none !important; width: auto !important; height: auto !important; }
  .page-inner { padding: 0 !important; font-size: 11pt !important; overflow: visible !important; }
  .rules h2, .rules h3 { break-after: avoid; }
  .rules table, figure.plate { break-inside: avoid; }
  .xref { color: inherit; border: 0; }
}

/* ==========================================================================
   Icons — alpha masks painted with the current ink colour, so they follow
   the theme instead of being pasted-on artwork.
   ========================================================================== */

/* mask-image, mask-size and each icon's mask-position come from icons.css,
   which is generated from the sprite so the URL resolves against the
   stylesheet rather than the page. */
.icon {
  display: inline-block; flex: none;
  width: 1em; height: 1em;
  background-color: currentColor;
}

.icon--toc {
  width: 1.5em; height: 1.5em;
  margin-right: .1em;
  color: var(--ink-soft);
  opacity: .72;
  align-self: center;
  transition: opacity .18s, color .18s;
}
.toc-ch:hover .icon--toc { opacity: 1; color: var(--accent); }
.toc-list > li.is-current .icon--toc { opacity: 1; color: var(--accent); }

.icon--chapter {
  display: block; margin: 0 auto .5em;
  width: 3.1em; height: 3.1em;
  color: var(--ink-soft);
  opacity: .85;
}

.icon--power {
  width: 1.5em; height: 1.5em;
  color: var(--accent);
  align-self: center;
  margin-right: .1em;
}

/* ==========================================================================
   Colour swatches in the map-colour tables
   ========================================================================== */

.swatch {
  display: inline-block; vertical-align: -.12em;
  width: 1em; height: 1em; margin-right: .5em;
  background: var(--sw);
  border: 1px solid rgba(50, 34, 16, .5);
  border-radius: 2px;
}
.swatch--ring { box-shadow: inset 0 0 0 .27em var(--sw2); }
.swatch-name { white-space: nowrap; }

/* ==========================================================================
   Sequence of Play — a phase list with leader dots, as it is printed
   ========================================================================== */

.sop { list-style: none; margin: 1.2em 0 1.4em; padding: 0; counter-reset: none; }
.sop-phase { margin: 0 0 .85em; }
.sop-phase:last-child { margin-bottom: 0; }

.sop-line { display: flex; align-items: baseline; gap: .4em; margin: 0; }

.sop-title {
  font: 600 1em/1.3 "Cinzel", Georgia, serif;
  padding-bottom: .12em;
}
.sop-num {
  flex: none; min-width: 1.5em;
  color: var(--accent); font-weight: 600;
  font-family: "EB Garamond", Georgia, serif;
  font-variant-numeric: lining-nums tabular-nums;
}
.sop-text { flex: 0 1 auto; }

.sop-steps { list-style: none; margin: .1em 0 0; padding: 0 0 0 1.9em; }
.sop-steps > li { margin: .1em 0; line-height: 1.4; }
.rules .sop-steps > li::before { content: none; }
.sop-step.is-segment { font-weight: 600; margin-top: .4em; }

.sop-dots {
  flex: 1 1 auto; min-width: 1.5em;
  align-self: center;
  border-bottom: 1px dotted var(--rule-strong);
  transform: translateY(-.1em);
}
.sop-sec {
  flex: none;
  font-variant-numeric: lining-nums tabular-nums;
  min-width: 2.2em; text-align: right;
}
.sop-sec:empty { display: none; }
