
:root {
  --mark-muted: color-mix(in srgb, var(--fg) 28%, var(--bg));
  --mark-faint: color-mix(in srgb, var(--fg) 14%, var(--bg));
  --mark-half: color-mix(in srgb, var(--fg) 55%, var(--bg));
  --rule-solid: color-mix(in srgb, var(--fg) 18%, var(--bg));
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:where(select, summary, .minis, .table-scroll):focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }


.band.fx-intro { display: block; border-top: 0; padding-top: clamp(1rem, 4vw, 3rem); }
.fx-intro-body { max-width: 46rem; margin-left: calc(11rem + clamp(1.5rem, 4vw, 3rem)); }
.fx-intro .kicker { margin-bottom: 0.9rem; }
.fx-title { font-size: clamp(1.75rem, 4.2vw, 3rem); letter-spacing: -0.04em; line-height: 1.06; text-wrap: balance; }
.fx-dek { margin-top: 1.1rem; max-width: 42rem; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.55; text-wrap: pretty; }
.fx-byline { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }
.fx-byline a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--rule); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.fx-byline a:hover { text-decoration-color: var(--fg); }
.fx-def { margin-top: 0.9rem; max-width: 42rem; font-size: 0.98rem; color: var(--muted); text-wrap: pretty; }
.fx-jump { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; margin-top: 1.4rem; font-size: 0.9rem; color: var(--muted); }
.fx-jump a, .fx-short a, .game-take a {
  color: var(--fg); text-decoration: underline; text-decoration-color: var(--rule);
  text-decoration-thickness: 1px; text-underline-offset: 0.2em;
}
.fx-jump a:hover, .fx-short a:hover, .game-take a:hover { text-decoration-color: var(--fg); }


.fx-short { list-style: none; counter-reset: short; margin: 1.25rem 0 0; padding: 0; max-width: var(--measure); }
.fx-short li { counter-increment: short; position: relative; padding: 0.9rem 0 0.9rem 2.25rem; border-top: 1px solid var(--rule); text-wrap: pretty; }
.fx-short li::before { content: counter(short); position: absolute; left: 0; top: 0.95rem; font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.fx-short strong { font-weight: 600; }



.band.fx-band { grid-template-columns: minmax(0, 11rem) minmax(0, 54rem); }
.band-tag { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.fx-body { min-width: 0; }
.fx-h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance; }
.fx-h3 { margin: 2.75rem 0 0; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.fx-lede { margin-top: 0.75rem; max-width: var(--measure); color: var(--muted); text-wrap: pretty; }
.fx-para { margin-top: 1.25rem; max-width: var(--measure); text-wrap: pretty; }
.fx-foot, .fx-caption { margin-top: 0.75rem; max-width: var(--measure); font-size: 0.82rem; line-height: 1.55; color: var(--muted); text-wrap: pretty; }


.game { margin-top: 1.5rem; }
.game-status {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-bottom: 0.6rem; border-bottom: 1px solid var(--rule);
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.game-q { margin-top: 1rem; font-size: 1.05rem; font-weight: 500; }
.choices {
  margin-top: 0.9rem;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.75rem; align-items: stretch;
}
.choice-or { align-self: center; font-size: 0.85rem; color: var(--muted); }
.choice {
  display: flex; flex-direction: column; align-items: stretch; gap: 0.3rem;
  min-height: 6.5rem; padding: 1rem 1.1rem;
  font: inherit; color: var(--fg); text-align: left;
  background: var(--field); border: 1px solid var(--rule); border-radius: 14px;
  cursor: pointer;
  transition: border-color 120ms ease;
}
.choice:hover:not(:disabled) { border-color: var(--fg); }
.choice:disabled { cursor: default; opacity: 1; color: var(--fg); }
.choice[data-result="more"] { border-color: var(--fg); }
.choice[data-result="less"] .choice-label { color: var(--muted); }
.choice-label { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.choice-ref { font-size: 0.82rem; color: var(--muted); }
.choice-reveal { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.6rem; }
.choice-line { display: flex; align-items: center; gap: 0.5rem; }
.choice-bar { flex: none; height: 12px; color: var(--mark-muted); transform-origin: left center; animation: fx-grow 450ms cubic-bezier(.2,.7,.2,1) both; }
.choice[data-result="more"] .choice-bar { color: var(--fg); }
.choice-count { font-weight: 600; font-variant-numeric: tabular-nums; }
.choice-tag { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.choice[data-result="more"] .choice-tag { color: var(--fg); }
.game-feedback { margin-top: 1rem; max-width: var(--measure); min-height: 1.65em; text-wrap: pretty; }
.game-actions { margin-top: 0.9rem; }
.game-final { margin-top: 1rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; letter-spacing: -0.03em; }
.game-final:focus { outline: none; }
.game-take { margin: 0 0 1.4rem; max-width: var(--measure); text-wrap: pretty; }
.game-log { list-style: none; margin: 1rem 0 1.4rem; padding: 0; max-width: 44rem; }
.game-log li {
  display: grid; grid-template-columns: 4.25rem minmax(0, 1fr) auto; gap: 0.75rem; align-items: baseline;
  padding: 0.55rem 0; border-top: 1px solid var(--rule); font-size: 0.92rem; line-height: 1.45;
}
.log-year { color: var(--muted); font-variant-numeric: tabular-nums; }
.log-mark { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

@keyframes fx-grow { from { transform: scaleX(0); } to { transform: none; } }


.rank-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.rank-label { margin-left: 0.25rem; }
.step {
  width: 2.75rem; height: 2.75rem; flex: none;
  font: inherit; font-size: 1.05rem; color: var(--fg);
  background: transparent; border: 1px solid var(--rule); border-radius: 50%;
  cursor: pointer; transition: border-color 120ms ease;
}
.step:hover:not(:disabled) { border-color: var(--fg); }
.step:disabled { opacity: 0.35; cursor: default; }
.select { position: relative; display: inline-block; }
.select select {
  appearance: none; -webkit-appearance: none;
  min-height: 2.75rem; padding: 0.5rem 2.2rem 0.5rem 0.85rem;
  font: inherit; font-size: 1rem; font-variant-numeric: tabular-nums; color: var(--fg);
  background: var(--field); border: 1px solid var(--rule); border-radius: 10px;
  cursor: pointer;
}
.select select:hover { border-color: color-mix(in srgb, var(--fg) 28%, transparent); }
.select::after {
  content: ""; position: absolute; right: 0.95rem; top: 50%;
  width: 0.4rem; height: 0.4rem; margin-top: -0.3rem;
  border-right: 1.5px solid var(--fg); border-bottom: 1.5px solid var(--fg);
  transform: rotate(45deg); pointer-events: none;
}
.rank-summary { margin-top: 0.9rem; font-size: 0.92rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.rank-method { margin-top: 0.5rem; max-width: var(--measure); padding-left: 0.75rem; border-left: 2px solid var(--fg); font-size: 0.85rem; line-height: 1.5; }

.rank-wrap { position: relative; margin-top: 1rem; }
.rank { list-style: none; margin: 0; padding: 0; }
.rk { border-top: 1px solid var(--rule); }
.rk:last-child { border-bottom: 1px solid var(--rule); }
.rk-btn {
  display: grid; grid-template-columns: 1.75rem minmax(0, 1fr) 1.25rem; gap: 0.5rem;
  width: 100%; padding: 0.7rem 0;
  font: inherit; color: inherit; text-align: left;
  background: none; border: 0; cursor: pointer;
}
.rk-n { padding-top: 0.1rem; font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.rk-main { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.rk-label { font-size: 0.98rem; font-weight: 500; line-height: 1.3; }
.rk-line { display: flex; align-items: center; gap: 0.5rem; }
.rk-bar { flex: none; height: 10px; color: var(--mark-muted); transform-origin: left center; transition: color 120ms ease; }
.rk[data-active] .rk-bar { color: var(--fg); }
.rk-count { font-size: 0.85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.rk-meta { font-size: 0.78rem; line-height: 1.45; color: var(--muted); }
.rk-cites { margin: 0; padding: 0 1.75rem 0.7rem 2.25rem; }
.rk:has(> .rk-cites) > .rk-btn { padding-bottom: 0.3rem; }

.fx-body a.cite {
  color: inherit; text-decoration: underline; text-decoration-color: var(--rule);
  text-decoration-thickness: 1px; text-underline-offset: 0.2em;
  transition: color 120ms ease, text-decoration-color 120ms ease;
}
.fx-body a.cite:hover { color: var(--fg); text-decoration-color: currentColor; }
.fx-body a.cite.cell-ref { color: var(--muted); }
.rk-toggle { position: relative; justify-self: end; width: 0.75rem; height: 0.75rem; margin-top: 0.35rem; }
.rk-toggle::before, .rk-toggle::after { content: ""; position: absolute; background: var(--muted); transition: transform 160ms ease; }
.rk-toggle::before { left: 0; right: 0; top: calc(50% - 0.75px); height: 1.5px; }
.rk-toggle::after { top: 0; bottom: 0; left: calc(50% - 0.75px); width: 1.5px; }
.rk-btn[aria-expanded="true"] .rk-toggle::after { transform: scaleY(0); }
.rk-btn:hover .rk-toggle::before, .rk-btn:hover .rk-toggle::after { background: var(--fg); }
.rk-panel { padding: 0 1.75rem 1rem 2.25rem; }
.rk-kicker { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.rk-quote { margin: 0.45rem 0 0; padding-left: 0.85rem; border-left: 2px solid var(--fg); }
.rk-quote p { font-size: 0.95rem; line-height: 1.55; text-wrap: pretty; }
.rk-facts, .rk-gloss { margin-top: 0.6rem; font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.rank-card { display: none; }
@media (min-width: 72rem) {
  .rank-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: 2rem; align-items: start; }
  .rank-card:not([hidden]) {
    display: block; grid-column: 2; grid-row: 1;
    padding: 0.7rem 0 0.7rem 1rem; border-left: 1px solid var(--fg);
    font-size: 0.88rem; line-height: 1.5;
  }
}
.rank-card-ref { margin-top: 0.3rem; font-size: 0.8rem; color: var(--muted); }
.rank-card-quote { margin-top: 0.4rem; text-wrap: pretty; }
.rank-card .rk-gloss { font-size: 0.8rem; }


.bump-fig { margin: 1.5rem 0 0; }
.readout { min-height: 3.3em; max-width: var(--measure); font-size: 0.88rem; line-height: 1.6; text-wrap: pretty; }
.bump { margin-top: 0.5rem; }
.bump-svg, .mini-svg { display: block; overflow: visible; }
.bump-shade rect { fill: color-mix(in srgb, var(--fg) 5%, var(--bg)); }
.bump-shade text { font-size: 10px; letter-spacing: 0.04em; fill: var(--muted); }
.bump-axis text { font-size: 11px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.bump-path { fill: none; stroke: var(--mark-muted); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; transition: stroke 120ms ease; }
.bump-dot { fill: var(--mark-muted); stroke: var(--bg); stroke-width: 2; }
.bump-line.is-key .bump-path { stroke: var(--fg); stroke-width: 2.5; }
.bump-line.is-key .bump-dot { fill: var(--fg); }
.bump-line[data-active] .bump-path { stroke: var(--fg); stroke-width: 2.5; }
.bump-line[data-active] .bump-dot { fill: var(--fg); }
.bump[data-focus] .bump-line:not([data-active]):not(.is-key) .bump-path { stroke: var(--mark-faint); }
.bump[data-focus] .bump-line:not([data-active]):not(.is-key) .bump-dot { fill: var(--mark-faint); }
.bump[data-focus="other"] .bump-line.is-key .bump-path { stroke: var(--mark-half); }
.bump[data-focus="other"] .bump-line.is-key .bump-dot { fill: var(--mark-half); }
.bump-hit { fill: none; stroke: transparent; stroke-width: 14; pointer-events: stroke; }
.bump-dot-hit { fill: transparent; pointer-events: all; }
.bump-line:not(.is-key) { cursor: pointer; }
.bump-line.is-key .bump-hit, .bump-line.is-key .bump-dot-hit { display: none; }
.bump-labels text {
  font-size: 12px; font-weight: 600; fill: var(--fg);
  paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round;
}

.bump-keys { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.1rem; }
.key {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.1rem;
  padding: 0.3rem 0.75rem;
  font: inherit; font-size: 0.8rem; line-height: 1.3; color: var(--muted); text-align: left;
  background: none; border: 1px solid var(--rule); border-radius: 999px;
  cursor: pointer; transition: color 120ms ease, border-color 120ms ease;
}
.key:hover, .key[aria-pressed="true"] { color: var(--fg); border-color: var(--fg); }
.key.is-key { color: var(--fg); }
.key-swatch { flex: none; width: 14px; height: 2px; border-radius: 1px; background: var(--mark-muted); }
.key.is-key .key-swatch, .key[aria-pressed="true"] .key-swatch, .key:hover .key-swatch { background: var(--fg); }


.fx-table { margin-top: 1rem; }
.fx-table summary { width: fit-content; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.fx-table summary:hover, .fx-table[open] summary { color: var(--fg); }
.table-scroll { margin-top: 0.75rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fx-grid { border-collapse: collapse; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.fx-grid caption { caption-side: top; max-width: var(--measure); padding-bottom: 0.6rem; text-align: left; color: var(--muted); line-height: 1.5; }
.fx-grid th, .fx-grid td { padding: 0.32rem 0.45rem; border-bottom: 1px solid var(--rule); text-align: right; white-space: nowrap; }
.fx-grid thead th { font-weight: 500; color: var(--muted); }
.fx-grid thead th:first-child, .fx-grid tbody th { text-align: left; }
.fx-grid tbody th { position: sticky; left: 0; z-index: 1; min-width: 12rem; white-space: normal; font-weight: 500; background: var(--bg); }
.fx-years tbody th { min-width: 0; }
.cell-ref { display: block; font-size: 0.72rem; font-weight: 400; color: var(--muted); }
.fx-grid .is-top { font-weight: 600; }

.yr-scroll { margin-top: 1.25rem; }
.yr-grid { width: 100%; max-width: 40rem; }
.yr-grid tbody th { min-width: 0; white-space: normal; }
.yr-grid thead th { vertical-align: bottom; }
.yr-sofar { display: block; font-size: 0.72rem; }
.yr-cell { display: inline-flex; align-items: center; justify-content: flex-end; gap: 0.4rem; }
.yr-bar { display: block; height: 8px; border-radius: 2px; background: var(--mark-muted); transform-origin: left center; }
.yr-grid .is-key th, .yr-grid .is-key td { font-weight: 600; }
.yr-grid .is-key .yr-bar { background: var(--fg); }
.yr-bar[data-n="0"] { width: 0; }
.yr-bar[data-n="1"] { width: 0.25rem; }
.yr-bar[data-n="2"] { width: 0.5rem; }
.yr-bar[data-n="3"] { width: 0.75rem; }
.yr-bar[data-n="4"] { width: 1rem; }
.yr-bar[data-n="5"] { width: 1.25rem; }
.yr-bar[data-n="6"] { width: 1.5rem; }
.yr-bar[data-n="7"] { width: 1.75rem; }
.yr-bar[data-n="8"] { width: 2rem; }
.yr-grid .yr-total th, .yr-grid .yr-total td { border-top: 1px solid var(--rule-solid); }
.yr-grid .yr-all th, .yr-grid .yr-all td { color: var(--muted); }
@media (max-width: 46rem) {
  .yr-grid th, .yr-grid td { padding: 0.32rem 0.25rem; }
  .yr-grid thead th:first-child, .yr-grid tbody th { padding-left: 0; }
  .yr-bar { display: none; }
}


.minis { margin-top: 1rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.75rem; }
.minis .readout { grid-column: 1 / -1; }
.mini { margin: 0; min-width: 0; }
.mini figcaption { margin-bottom: 0.25rem; font-size: 0.78rem; color: var(--muted); }
.mini-base { stroke: var(--rule-solid); stroke-width: 1; }
.mini-col { fill: var(--mark-muted); }
.mini-col.is-zero { fill: var(--rule-solid); }
.mini-col[data-active] { fill: var(--fg); }
.mini-line { fill: none; stroke: var(--fg); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.mini-dot { fill: var(--fg); stroke: var(--bg); stroke-width: 2; }
.mini-value {
  font-size: 11px; font-weight: 600; fill: var(--fg); font-variant-numeric: tabular-nums;
  paint-order: stroke; stroke: var(--bg); stroke-width: 3px; stroke-linejoin: round;
}
.mini-tick { font-size: 10.5px; fill: var(--muted); font-variant-numeric: tabular-nums; }


.wl-count { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.4rem 1.5rem; align-items: center; margin-top: 1.4rem; }
.wl-num { font-size: clamp(3.5rem, 9vw, 5.5rem); font-weight: 600; letter-spacing: -0.05em; line-height: 0.9; }
.wl-num-text { max-width: var(--measure); text-wrap: pretty; }
.wl-topics, .wl-clauses { margin-top: 1rem; max-width: 44rem; }
.wl-btn { grid-template-columns: minmax(0, 1fr) 1.25rem; }
.wl-topics .rk-panel { padding: 0 1.75rem 1.1rem 0; }
.wl-kicker-gap { margin-top: 1rem; }
.wl-reqs, .wl-mini { list-style: none; margin: 0.4rem 0 0; padding: 0; font-size: 0.85rem; line-height: 1.45; }
.wl-reqs li, .wl-mini li { display: grid; gap: 0.75rem; padding: 0.35rem 0; border-top: 1px solid var(--rule); }
.wl-reqs li { grid-template-columns: 8.75rem minmax(0, 1fr) auto; }
.wl-mini li { grid-template-columns: 6.5rem minmax(0, 1fr); }
.wl-cite, .wl-date { font-variant-numeric: tabular-nums; }
.wl-read li { padding: 0.6rem 0; }
.wl-what { margin-top: 0.15rem; }
.wl-read .rk-quote { margin-top: 0.4rem; }
.wl-read .rk-quote p { font-size: 0.85rem; line-height: 1.5; color: var(--muted); }
.wl-read .rk-facts { margin-top: 0.4rem; font-size: 0.8rem; }
.wl-cite { white-space: nowrap; }
.wl-name, .wl-date { color: var(--muted); }
.wl-n { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wl-mini a, .wl-company { color: var(--fg); text-decoration: underline; text-decoration-color: var(--rule); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.wl-mini a:hover, .wl-company:hover { text-decoration-color: var(--fg); }
.wl-clause { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0.5rem; padding: 0.65rem 0; }
.wl-clause-n { padding-top: 0.05rem; font-size: 0.9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.wl-singles { max-width: 44rem; padding-top: 0.9rem; }
.wl-singles ul { list-style: none; margin: 0.45rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.3rem 1.5rem; font-size: 0.85rem; line-height: 1.45; color: var(--muted); }
.wl-singles li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0.5rem; }
.wl-singles .wl-clause-n { font-size: 0.85rem; color: var(--fg); }
.wl-list { list-style: none; margin: 0.75rem 0 0; padding: 0; max-width: 46rem; }
.wl-letter { padding: 0.75rem 0; border-top: 1px solid var(--rule); }
.wl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.8rem; font-size: 0.78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.wl-tag { padding: 0 0.45rem; border: 1px solid var(--fg); border-radius: 999px; font-size: 0.64rem; font-weight: 500; letter-spacing: 0.12em; color: var(--fg); }
.wl-company { display: inline-block; margin-top: 0.2rem; font-weight: 500; line-height: 1.35; }
.wl-cites { margin-top: 0.15rem; font-size: 0.82rem; color: var(--muted); text-wrap: pretty; }
.fx-prose > .fx-h3 { margin-top: 2.25rem; }
.fx-prose > .fx-h2 + .fx-h3 { margin-top: 1.25rem; }


.fx-prose > p { margin-top: 1rem; max-width: var(--measure); text-wrap: pretty; }
.fx-notes { margin: 1.1rem 0 0; padding-left: 1.1rem; max-width: var(--measure); }
.fx-notes li { padding-left: 0.2rem; text-wrap: pretty; }
.fx-notes li + li { margin-top: 0.55rem; }
.fx-source { font-size: 0.92rem; color: var(--muted); }
.fx-source a { overflow-wrap: anywhere; }
.fx-downloads { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; margin-top: 1.4rem !important; }

.site-foot .foot-body { align-items: flex-start; }
.site-foot p.foot-from { display: block; max-width: 40rem; }


@media (max-width: 60rem) {
  .band.fx-band { grid-template-columns: minmax(0, 1fr); }
  .fx-intro-body { margin-left: 0; }
}

@media (max-width: 46rem) {
  .choices { grid-template-columns: minmax(0, 1fr); }
  .choice-or { justify-self: center; }
  .choice { min-height: 0; }
  .minis { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .rk-panel { padding-right: 0; }
  .rk-cites { padding-right: 0; }
  .wl-count { grid-template-columns: minmax(0, 1fr); }
  .wl-topics .rk-panel { padding-right: 0; }
  .wl-reqs li { grid-template-columns: minmax(0, 1fr) auto; gap: 0.1rem 0.75rem; }
  .wl-reqs .wl-name { grid-column: 1 / -1; grid-row: 2; }
  .wl-singles ul { grid-template-columns: minmax(0, 1fr); }
  .wl-read li { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
  .bump-keys { gap: 0.35rem; }
  .key { min-height: 2rem; padding: 0.25rem 0.6rem; font-size: 0.76rem; }
  .game-log li { grid-template-columns: 3.75rem minmax(0, 1fr); }
  .log-mark { grid-column: 2; }
}


.fx-motion .fx-wait .rk-bar { opacity: 0; }
.fx-motion .fx-wait .yr-bar { opacity: 0; }
.fx-motion .minis.fx-wait :is(.mini-col, .mini-line, .mini-dot) { opacity: 0; }
.mini-col { transform-box: fill-box; transform-origin: 50% 100%; }


.replay, .play {
  display: inline-flex; align-items: center; gap: 0.5rem; flex: none; min-height: 2.1rem;
  padding: 0.3rem 0.85rem 0.3rem 0.75rem;
  font: inherit; font-size: 0.8rem; line-height: 1.3; color: var(--muted); white-space: nowrap;
  background: none; border: 1px solid var(--rule); border-radius: 999px;
  cursor: pointer; transition: color 120ms ease, border-color 120ms ease;
}
.play { min-height: 2.75rem; margin-left: 0.35rem; font-size: 0.88rem; color: var(--fg); }
.replay:hover, .play:hover, .play[data-playing] { color: var(--fg); border-color: var(--fg); }
.replay::before, .play-icon {
  content: ""; flex: none; width: 0.55rem; height: 0.65rem;
  background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.play[data-playing] .play-icon { clip-path: none; background: linear-gradient(to right, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.fig-top, .wl-time-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem 1rem; }
.fig-top .readout, .wl-time-top .readout { flex: 1 1 auto; }


.wl-time { margin: 1.6rem 0 0; max-width: 46rem; }
.wl-strip { margin-top: 0.3rem; }
.wl-svg { display: block; overflow: visible; }
.wl-base, .wl-tick { stroke: var(--rule-solid); stroke-width: 1; }
.wl-month { font-size: 10.5px; fill: var(--muted); }
.wl-rule line { stroke: var(--fg); stroke-width: 1; stroke-dasharray: 2 3; }
.wl-rule text { font-size: 10.5px; font-weight: 500; fill: var(--fg); }
.wl-mark { fill: var(--bg); stroke: var(--mark-half); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.wl-dot.is-qmsr .wl-mark { fill: var(--fg); stroke: none; }
.wl-ring { fill: none; stroke: var(--fg); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; pointer-events: none; }
.wl-hit { fill: transparent; pointer-events: all; cursor: pointer; }
.wl-dot:hover .wl-mark { stroke: var(--fg); }
.wl-dot.is-out { visibility: hidden; }
.wl-head line { stroke: var(--fg); stroke-width: 1; }
.wl-head text, .bump-head text {
  font-size: 11px; font-weight: 600; fill: var(--fg); font-variant-numeric: tabular-nums;
  paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round;
}

.bump-head line { stroke: var(--fg); stroke-width: 1; stroke-dasharray: 2 3; }


@media (max-width: 46rem) {
  .play { margin-left: 0; }
  .fig-top, .wl-time-top { flex-direction: column-reverse; }
  .wl-ticker { min-height: 4.9em; }
}

@media (prefers-reduced-motion: reduce) {
  .choice-bar { animation: none; }
  .rk-bar, .bump-path, .rk-toggle::before, .rk-toggle::after, .key, .step, .choice,
  .replay, .play, .fx-body a.cite { transition: none; }
}

@media print {
  .game, .rank-controls, .bump-keys, .fx-table summary, .replay { display: none !important; }
  .fx-motion .fx-wait .rk-bar, .fx-motion .minis.fx-wait :is(.mini-col, .mini-line, .mini-dot) { opacity: 1 !important; }
  .fx-motion .fx-wait .rk-bar, .fx-motion .fx-wait .rk-count, .fx-motion .minis.fx-wait * { opacity: 1 !important; }
  .fx-motion .fx-wait .yr-bar { opacity: 1 !important; }
}
