/* Shared shell for editorial and cultural pages. Matches the homepage palette. */
:root{--paper:#eee9dd;--paper-light:#f6f2e9;--ink:#293d35;--muted:#71776a;--red:#a14735;--line:#cecdbb;--green:#253f36;--serif:'Noto Serif SC','Songti SC',STSong,serif;--sans:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}
.site-header-common{width:min(1240px,calc(100% - 100px));margin:auto;min-height:112px;display:flex;align-items:center;justify-content:space-between;gap:30px;border-bottom:1px solid var(--line);padding:18px 0;color:var(--ink);font-family:var(--serif)}.site-header-common nav{display:flex;gap:30px;font-size:14px}.site-header-common nav a,.site-header-home{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;color:inherit}.site-header-home{font-size:12px;color:var(--muted)}
.site-footer-common{flex-basis:100%;border-top:1px solid var(--line);padding-top:20px;color:var(--muted);font:12px/1.8 var(--sans)}.site-footer-common nav{display:flex;flex-wrap:wrap;gap:12px 22px}.site-footer-common a{color:inherit;text-decoration:none}.site-footer-common button{border:0;background:none;color:inherit;font:inherit;padding:0;cursor:pointer}
@media(max-width:900px){.site-header-common{width:calc(100% - 48px);gap:20px}.site-header-common nav{gap:20px}.site-header-home{display:none}}
@media(max-width:600px){.site-header-common{width:calc(100% - 40px);padding:12px 0;min-height:94px;gap:12px}.site-header-common nav{gap:0;display:grid;grid-template-columns:repeat(3,auto);column-gap:14px;row-gap:0;font-size:12px}.site-header-common nav a{min-height:30px}}
/* Shared utility entries (language and display) are mounted by page-actions. */
html body .site-header-common{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;gap:20px}
.site-header-common nav{justify-content:center}.site-header-common>.display-header-control{width:44px;min-width:44px;height:44px;border:0;background:transparent;color:var(--muted)}.site-header-common>.display-header-control svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5}
@media(max-width:900px){html body .site-header-common{grid-template-columns:auto minmax(0,1fr) auto auto;gap:14px}.site-header-common nav{gap:16px}}
@media(max-width:600px){html body .site-header-common{grid-template-columns:auto minmax(0,1fr) 52px;grid-template-rows:38px 32px;gap:0 10px;min-height:96px}.site-header-common>.yinian-brand{grid-column:1;grid-row:1/3}.site-header-common>nav{grid-column:2;grid-row:1/3;column-gap:10px;font-size:11px;grid-template-columns:repeat(2,auto)}.site-header-common>.display-header-control{grid-column:3;grid-row:1;justify-self:center;height:38px}.site-header-common>.script-language{grid-column:3;grid-row:2;justify-self:center;gap:0;margin:0}.site-header-common>.script-language button{min-width:25px;padding:4px;font-size:11px}}
@media(max-width:600px){.site-header-common>nav{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:7px;font-size:10.5px}.site-header-common>nav a{white-space:nowrap;justify-content:center;min-height:30px}}
