/* Bitcoin Years readability floor (2026-11-18): text at least 12px and touch targets at least 40px where the
   mobile/desktop audit found them smaller. Loaded on every page by tools/gen/design.py (v2 and nav-only pages).
   Every rule is scoped to one page by its body class and starts with "html body" so it outranks the page's own CSS.
   Dense number grids (the price heat map) keep their own size by design. */

/* shared menu: group headings in the phone menu */
html body .v2h .nvmg p{font-size:12px}

/* /prices/: range buttons (the month heat map keeps its own small digits: a 12-column grid on a phone) */
html body.v2-p-prices .pr-seg button{min-width:40px;min-height:40px}

/* /network/: labels under the charts, notes, range buttons */
html body.v2-p-network .ntw .eyebrow,html body.v2-p-network .ntw .notes li,html body.v2-p-network .ntw .cardhead .sub,
html body.v2-p-network .ntw .chartfoot span,html body.v2-p-network .ntw .ranges button{font-size:12px}
html body.v2-p-network .ntw .cardhead .pill{font-size:11px}
html body.v2-p-network .ntw .ranges button{min-height:40px}

/* /crashes/: story kicker and fact labels */
html body.v2-p-crashes .story .kick span,html body.v2-p-crashes .story .facts small,html body.v2-p-crashes .story .dn small,
html body.v2-p-crashes .cmp th{font-size:12px}

/* /satoshi-activity/: kind tags in the record list */
html body.v2-p-satoshi-activity .sc-list .tag{font-size:12px}

/* /glossary/: category under each term, letter rail */
html body.v2-p-glossary .gt h3 span{font-size:12px}
html body.v2-p-glossary .gl-rail a{min-width:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center}

/* /bitcoin-mining-history/: citations, dates, table heads */
html body.v2-p-bitcoin-mining-history .ch-body a.cite,html body.v2-p-bitcoin-mining-history .kd time,
html body.v2-p-bitcoin-mining-history .iss th{font-size:12px}

/* /archive/: the "#" link of each record */
html body.v2-p-archive .rec .meta a.anchor{min-width:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;margin:-8px 0}

/* /proof-of-history/: field labels and bytes of the block headers */
html body.v2n-p-proof-of-history .ph-ex .f small,html body.v2n-p-proof-of-history .ph-ex .f code{font-size:12px}

/* /sleeping-giants/ */
html body.v2n-p-sleeping-giants .b small,html body.v2n-p-sleeping-giants .sh .kicker,html body.v2n-p-sleeping-giants .legend span,
html body.v2n-p-sleeping-giants .stat small,html body.v2n-p-sleeping-giants .pstats small,html body.v2n-p-sleeping-giants .peaks small,
html body.v2n-p-sleeping-giants .why .n{font-size:12px}

/* /memorial */
html body.v2n-p-memorial .tl-n small,html body.v2n-p-memorial .ax span,html body.v2n-p-memorial .tick-in span,
html body.v2n-p-memorial .ex span,html body.v2n-p-memorial .reveal p.d{font-size:12px}

/* second pass (same audit) */
html body .v2h .v2b{min-height:40px}
html body.v2-p-network .ntw .event time,html body.v2-p-network .ntw .event p,html body.v2-p-network .ntw .metric label,
html body.v2-p-network .ntw .metric small,html body.v2-p-network .ntw .section-head p,html body.v2-p-network .ntw .tip-facts dt,
html body.v2-p-network .ntw .epoch label{font-size:12px}
html body.v2-p-bitcoin-mining-history .mm-out small,html body.v2-p-bitcoin-mining-history .mm-hash small,
html body.v2-p-bitcoin-mining-history .on em{font-size:12px}
html body.v2-p-glossary .gl-tod small{font-size:12px}
html body.v2n-p-sleeping-giants .pex small,html body.v2n-p-sleeping-giants .pex code,html body.v2n-p-sleeping-giants .pex .st,
html body.v2n-p-sleeping-giants .sc .tag,html body.v2n-p-sleeping-giants .vnow small,html body.v2n-p-sleeping-giants .pax span,
html body.v2n-p-sleeping-giants .row span{font-size:12px}
html body.v2n-p-memorial .stats span,html body.v2n-p-memorial .reveal .role,html body.v2n-p-memorial .levels b,
html body.v2n-p-memorial .links a{font-size:12px}

/* /archive/ and /cypherpunk-archive/: their filter bars stuck at the very top, under the shared navigation */
html body.v2-p-archive .tools,html body.v2n-p-cypherpunk-archive .tools{top:58px}

/* very small phones (320px): stop the last few elements from pushing the page sideways */
@media (max-width:359px){
html body .bars .b span{font-size:9.5px;letter-spacing:-.02em}
html body.v2n-p-memorial .tick-in{grid-template-columns:repeat(3,minmax(0,1fr))}
html body.v2-p-prices .pr-ctl{flex-wrap:wrap}
html body.v2-p-prices .pr-tw{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
html body.v2-p-archive .tools .search,html body.v2n-p-cypherpunk-archive .tools .search{flex-wrap:wrap}
html body.v2-p-archive .search span.shown{white-space:normal}
html body.v2-p-bitcoin-whitepaper ol.refs a,html body.v2-p-bitcoin-whitepaper ol.refs li{overflow-wrap:anywhere}
html body.v2-p-every-block .find{flex-basis:100%;min-width:0}
html body.v2-p-explore .at-hero>*{min-width:0}
html body.v2-p-world-map .wm-table{display:block;overflow-x:auto;max-width:100%}
html body.v2n-p-quantum .ql-chart{overflow:hidden}
html body.v2n-p-bitcoin-time-machine .tm-acts{flex-wrap:wrap}
html body.v2n-p-bitcoin-time-machine .tm-dock{max-width:100vw;box-sizing:border-box;flex-wrap:wrap}
}

/* phone menu: two columns that may shrink, so long labels wrap instead of pushing past the screen edge */
html body.v2 .nvmp,html body.v2n .nvmp{grid-template-columns:repeat(2,minmax(0,1fr))}
html body.v2 .nvmg a,html body.v2n .nvmg a{overflow-wrap:anywhere}
