/* Source Serif 4 (variable, wght 200–900), self-hosted, Latin + Latin Extended only. OFL 1.1, see fonts/OFL.txt.
   Loaded on English pages only (user 2026-11-11). Files from @fontsource-variable/source-serif-4 5.3.1. */
@font-face{font-family:"Source Serif 4";font-style:normal;font-display:swap;font-weight:200 900;src:url(/fonts/source-serif-4-latin-wght-normal.woff2) format("woff2-variations"),url(/fonts/source-serif-4-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Source Serif 4";font-style:normal;font-display:swap;font-weight:200 900;src:url(/fonts/source-serif-4-latin-ext-wght-normal.woff2) format("woff2-variations"),url(/fonts/source-serif-4-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Source Serif 4";font-style:italic;font-display:swap;font-weight:200 900;src:url(/fonts/source-serif-4-latin-wght-italic.woff2) format("woff2-variations"),url(/fonts/source-serif-4-latin-wght-italic.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Source Serif 4";font-style:italic;font-display:swap;font-weight:200 900;src:url(/fonts/source-serif-4-latin-ext-wght-italic.woff2) format("woff2-variations"),url(/fonts/source-serif-4-latin-ext-wght-italic.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
html[lang=en]{--serif:"Source Serif 4",Georgia,"Times New Roman","Hiragino Sans","Hiragino Kaku Gothic ProN","PingFang SC","Noto Sans CJK JP","Yu Gothic",serif;
 --sans:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",-apple-system,sans-serif}
html[lang=en] body{font-family:var(--serif)}
/* interface stays sans, same as the Chinese site: header, tab bar, era bar, tags, view switches, buttons, forms, filters, footer, contents, maps, diagrams, meta lines */
html[lang=en] :is(header.top,nav.tab,.eras,.kick,.cx-tabs,.cx-chips,.cx-bar,.cx-more,.depth,button,input,textarea,select,.foot,.lf,.gnav,.util,.sx,.resume,.tocb,.tocs,.btop,.save,.rgn,.toc,nav.pn,.side,.fx,.meta,.cc em,.cc .x,.mapbox,.rm-w,.rm-ui,.rm-tip,.cform,.acct,.guidebox small,[class^="dg"],[class*=" dg"],.steps-row,.anno,.anno-grid,.castbox,.rr,.ax,.tk){font-family:var(--sans)}
html[lang=en] :is(h1,h2,h3){font-weight:700}
html[lang=en] .body p{font-size:18px;line-height:1.8}
html[lang=en] :is(.ov li,.glance li,.glance .dek,.sig p){line-height:1.7}
@media (max-width:760px){html[lang=en] .body p{font-size:17.5px;line-height:1.75}}
/* small meta in cards and lists (era label, dates, read time, list numbers) stays sans like the tags */
html[lang=en] :is(.cc,.pc2,.ec2,.glist,.hglist,.li,.names,.tl-item) :is(small,em.m){font-family:var(--sans)}
@media (max-width:760px){html[lang=en] .ec b{font-size:22px}}  /* serif era names (Bakumatsu, Kamakura) are wider than the sans ones */
html[lang=en] :is(.fts-chips,.fts-k,.fts-g h2,.sx-r h3,.sx-more){font-family:var(--sans)}
html[lang=en] .rm-in p{font-family:var(--sans)}
html[lang=en] :is(svg.rm,figure.route .steps){font-family:var(--sans)}   /* all map text sans, close-ups included */
html[lang=en] .body .rm-in p{font-size:12px;line-height:1.5}   /* the article's 18px body size must not reach the close-up caption */
html[lang=en] .ch-ev{font-family:var(--sans)}
/* account pages and My HO are interface, not reading text (指令窗口 2026-11-12) */
html[lang=en] .ac,html[lang=en] .ac :is(h2,b,p,a,span,small,label,li){font-family:var(--sans)}
html[lang=en] .nf,html[lang=en] .nf :is(h2,b,span,a){font-family:var(--sans)}
