/* batsy stats block. Link this stylesheet next to the block (see stats.html).
   Colours are the site palette: obsidian surface, chrome numbers, cherry accents. */
.batsy-stats {
  --bs-bg: #0b0e1a; --bs-tile: #101629; --bs-line: rgba(197, 203, 216, 0.15);
  --bs-title: #e5e8f0; --bs-number: #e5e8f0; --bs-text: #c5cbd8; --bs-muted: #9aa1b6; --bs-accent: #c42e50;
  box-sizing: border-box; max-width: 56rem; margin: 0 auto; padding: 1.5rem;
  color: var(--bs-text); background: linear-gradient(180deg, #11172b, var(--bs-bg) 60%);
  border: 1px solid var(--bs-line); border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(7, 8, 13, 0.7), 0 24px 60px -28px rgba(37, 62, 131, 0.8), 0 18px 40px -30px rgba(196, 46, 80, 0.45);
  font: 1rem/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.batsy-stats h2 { margin: 0 0 1.1rem; font: 400 1.5rem/1.2 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; color: var(--bs-title); }
.batsy-stats dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1px; margin: 0; background: var(--bs-line); border: 1px solid var(--bs-line); border-radius: 4px; overflow: hidden; }
.batsy-stats dl > div { position: relative; padding: 1rem; background: var(--bs-tile); }
.batsy-stats dl > div::before { content: ""; position: absolute; left: 1rem; top: 0; width: 18px; height: 1px; background: var(--bs-accent); }
.batsy-stats dt { font: 500 0.72rem/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bs-muted); }
.batsy-stats dd { margin: 0.45rem 0 0; font-size: 2rem; font-weight: 600; line-height: 1.15; color: var(--bs-number); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.batsy-stats dd small { display: block; margin-top: 0.3rem; font-size: 0.85rem; font-weight: 400; color: var(--bs-muted); }
.batsy-stats a { color: var(--bs-number); text-decoration-color: var(--bs-accent); }
.batsy-stats a:focus-visible { outline: 2px solid var(--bs-accent); outline-offset: 2px; border-radius: 2px; }
.batsy-stats .batsy-stats-foot { margin: 1rem 0 0; font-size: 0.88rem; color: var(--bs-muted); }
.batsy-stats .batsy-stats-note:empty { display: none; }
.batsy-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
