/* HO v2 prototype · direction A: white, black, heavy sans, one yellow marker */
:root{--ink:#111;--mute:#555;--faint:#777;--line:#ddd;--mark:#ffd60a;--pad:56px;--num:"Helvetica Neue",Helvetica,Arial,sans-serif}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{background:#fff;color:var(--ink);font:16px/1.6 "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",-apple-system,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}img{display:block;max-width:100%}ul{list-style:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--mark);outline-offset:2px}
.top,.eras,.bn,.th,.ih,.cols,.places,.art,.ix,.foot{max-width:1240px;margin-left:auto;margin-right:auto}

.top{display:flex;align-items:stretch;gap:38px;padding:0 var(--pad);height:72px;border-bottom:4px solid var(--ink)}
.logo{display:flex;align-items:center;margin:14px 0}.logo img{height:32px;width:auto;display:block}
.top nav{display:flex;gap:30px;font-size:16px;font-weight:600;align-items:center}.top nav a{padding:3px 2px}
.top nav a.on,.top nav a:hover{background:var(--mark)}
.util{margin-left:auto;display:flex;gap:22px;align-items:center;font-size:13px;color:var(--mute)}.util .dim{color:#aaa}

.eras{display:flex;padding:0 var(--pad);border-bottom:1px solid var(--ink);overflow-x:auto;scrollbar-width:none}.eras::-webkit-scrollbar{display:none}
.eras a{flex:1 0 auto;padding:13px 14px 12px 0;font-size:15px;font-weight:600}
.eras small{display:block;font:400 11px var(--num);color:var(--faint);margin-top:1px}
.eras a.on b,.eras a:hover b{background:var(--mark);padding:0 3px;margin-left:-3px}

.kick{font-size:12px;font-weight:600;letter-spacing:.08em}.kick span{background:var(--mark);padding:2px 6px}
.yr{font:200 128px/.82 var(--num);letter-spacing:-.05em}

/* event banner: subject sits on the right of the image, title + facts go on its left */
.bn{padding:30px var(--pad);min-height:250px;display:grid;grid-template-columns:auto 1fr;gap:34px;align-items:center;border-bottom:1px solid var(--ink)}
.bn.has{background:linear-gradient(90deg,rgba(243,230,201,.9) 0,rgba(243,230,201,.72) 38%,rgba(243,230,201,0) 68%),var(--bn) right center/cover no-repeat #f0e2c4}
.bn h1{font-size:38px;line-height:1.28;font-weight:600;margin-top:10px;max-width:15em}
.bn.has>div{max-width:60%}
.bn .fx{margin-top:12px;font-size:13.5px;color:#222}.bn .fx b{font-weight:600;margin-right:8px}
.bn.home{min-height:230px}.bn.home h1 a:hover{background:var(--mark)}

.th{padding:36px var(--pad) 30px;border-bottom:1px solid var(--ink);display:grid;grid-template-columns:1fr auto;gap:40px;align-items:end}
.th h1{font-size:84px;line-height:1.05;font-weight:600;letter-spacing:.02em;margin-top:16px}.th h1.long{font-size:56px}
.th .sub{font-size:20px;margin-top:14px;color:#222;max-width:30em}.th .meta{font-size:14px;color:var(--mute);margin-top:14px}
.th .pic{width:150px;aspect-ratio:1;object-fit:cover}.th .pic.wide{width:300px;aspect-ratio:3/2}

.cols{display:grid;grid-template-columns:1.1fr 1.2fr 1fr;gap:44px;padding:30px var(--pad) 0}.cols.two{grid-template-columns:1fr 1fr}
h2{font-size:24px;font-weight:600;display:flex;justify-content:space-between;align-items:baseline;border-bottom:2px solid var(--ink);padding-bottom:8px}
h2 a{font-size:12px;font-weight:400;color:var(--mute)}h2 a:hover{color:var(--ink);background:var(--mark)}
.li{padding:12px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:2px 12px}
.li b{font-size:18px;font-weight:600}.li:hover b{background:var(--mark)}
.li i{font-style:normal;font-size:12px;color:var(--faint);align-self:center}
.li p{grid-column:1/-1;font-size:13.5px;line-height:1.65;color:var(--mute);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.li.ev{grid-template-columns:58px 1fr}.li.ev i{font:500 17px var(--num);color:var(--ink);align-self:start}.li.ev b{font-size:15.5px;font-weight:500;line-height:1.5}
.places{padding:30px var(--pad) 0}
.pg{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-top:14px}.pg.big{grid-template-columns:repeat(5,1fr);gap:22px 16px;margin:0}
.pg img,.pg em{aspect-ratio:1;object-fit:cover;width:100%;background:#eee;display:block}.pg.big img,.pg.big em{aspect-ratio:3/2}
.pg b{display:block;font-size:15px;font-weight:600;margin-top:8px}.pg a:hover b{background:var(--mark)}.pg span{font-size:12px;color:var(--mute);line-height:1.5;display:block}

.ih{padding:36px var(--pad) 26px;border-bottom:1px solid var(--ink)}.ih h1{font-size:64px;font-weight:600;line-height:1.1;margin-top:14px}.ih p{color:var(--mute);margin-top:10px;font-size:14px}
.ih input{margin-top:20px;width:min(560px,100%);font:inherit;font-size:18px;padding:12px 14px;border:2px solid var(--ink);border-radius:0;-webkit-appearance:none}
.ix{padding:8px var(--pad) 0}.ix section{padding-top:28px}
.names{display:grid;grid-template-columns:repeat(4,1fr);gap:0 28px}.names.wide{grid-template-columns:repeat(2,1fr)}
.names a{padding:10px 0;border-bottom:1px solid var(--line);display:flex;gap:10px;align-items:baseline;min-width:0}
.names b{font-size:17px;font-weight:600}.names a:hover b{background:var(--mark)}.names i{font-style:normal;font-size:12px;color:var(--faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.names .ev i{font:500 15px var(--num);color:var(--ink);flex:none;width:44px}.names .ev b,.names.wide b{font-size:15.5px;font-weight:500}
.ecs{display:grid;grid-template-columns:repeat(3,1fr);border-left:1px solid var(--ink);margin-top:28px}
.ec{border-right:1px solid var(--ink);border-bottom:1px solid var(--ink);border-top:1px solid var(--ink);margin-top:-1px;padding:20px 22px 22px}
.ec b{font-size:34px;font-weight:600;display:block}.ec small{font:400 14px var(--num);color:var(--mute)}.ec span{display:block;margin-top:14px;font-size:13px}.ec:hover b{background:var(--mark);display:inline-block}

.art{display:grid;grid-template-columns:180px minmax(0,680px) minmax(0,1fr);gap:50px;padding:0 var(--pad)}
.toc{padding-top:30px;font-size:13px}.toc ul{position:sticky;top:20px;max-height:calc(100vh - 40px);overflow:auto}
.toc a{display:grid;grid-template-columns:26px 1fr;padding:7px 0;color:var(--faint);line-height:1.45}.toc i{font:400 12px var(--num);padding-top:1px}
.toc a.on,.toc a:hover{color:var(--ink)}.toc a.on{font-weight:600}.toc a.on span{background:var(--mark)}
.depth{display:flex;margin-top:30px;font-size:14px;font-weight:600}.depth button{padding:8px 22px;border:2px solid var(--ink);margin-right:-2px}.depth .on{background:var(--ink);color:#fff}
.ov{margin-top:24px;border-left:6px solid var(--mark);padding-left:20px}.ov li{font-size:15.5px;line-height:1.8;padding:6px 0}
.sig{margin-top:26px;border-top:2px solid var(--ink);padding-top:10px}.sig h4{font-size:13px;font-weight:600;margin-bottom:6px}.sig p{font-size:15px;line-height:1.85;color:#222;margin-bottom:10px}
.body{padding-top:6px}.body>p:first-child{margin-top:26px}
.body h2{font-size:26px;border:0;padding:0;margin:44px 0 14px;display:flex;gap:14px;align-items:baseline;justify-content:flex-start;scroll-margin-top:16px}
.body h2 i{font:200 34px var(--num)}.body h2 em{font:400 13px var(--num);color:var(--faint);margin-left:auto}
.body p{font-size:17px;line-height:1.95;margin-bottom:18px;color:#1a1a1a}
.pn{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:50px;border-top:2px solid var(--ink);padding-top:14px}
.pn a{font-weight:600;font-size:16px}.pn small{display:block;font-weight:400;font-size:12px;color:var(--faint)}.pn .nx{text-align:right}.pn a:hover{background:var(--mark)}
.side{padding-top:30px;min-width:0}.side h4{font-size:13px;font-weight:600;border-bottom:2px solid var(--ink);padding-bottom:6px;margin-bottom:6px}
.side p{font-size:13.5px;line-height:1.8;color:#333;margin-bottom:10px}.side p:last-of-type{margin-bottom:24px}
.side ul{margin-bottom:24px}.side li a{display:block;font-size:14px;padding:8px 0;border-bottom:1px solid var(--line);line-height:1.45}.side li a:hover{background:var(--mark)}
.side li i{font:500 13px var(--num);margin-right:10px}

.foot{margin-top:50px;border-top:4px solid var(--ink);padding:12px var(--pad) 40px;font-size:12px;color:var(--mute);display:flex;gap:22px;flex-wrap:wrap}.foot .r{margin-left:auto}
.tab{display:none}

@media (max-width:1080px){.art{grid-template-columns:minmax(0,680px) 1fr;gap:36px}.toc{display:none}.pg{grid-template-columns:repeat(3,1fr)}.pg.big{grid-template-columns:repeat(3,1fr)}.names{grid-template-columns:repeat(3,1fr)}}
@media (max-width:760px){
:root{--pad:16px}
body{padding-bottom:64px}
.top{height:56px;border-bottom-width:3px;gap:0}.top nav{display:none}.logo{margin:11px 0}.logo img{height:24px}.util .dim{display:none}
.eras a{flex:none;padding:10px 16px 10px 0}.eras small{display:none}
.yr{display:none}
.bn,.bn.home{display:block;min-height:118px;padding:11px 0 12px var(--pad)}.bn.has{background-size:auto,auto 118px;background-position:0 0,right top}
.bn.has>div{max-width:226px}.bn h1{font-size:19px;line-height:1.3;margin-top:6px}.bn .fx{font-size:11px;margin-top:6px}.bn .fx b{margin-right:4px}
.th{grid-template-columns:1fr 84px;gap:14px;padding:18px var(--pad) 16px}.th.np{grid-template-columns:1fr}.th h1{font-size:44px;margin-top:10px}.th h1.long{font-size:30px}
.th .sub{font-size:15px;margin-top:8px}.th .meta{font-size:12.5px;margin-top:8px}.th .pic{width:84px}.th .pic.wide{width:84px;aspect-ratio:1}
.cols,.cols.two{display:block;padding-top:6px}.cols>div{padding-top:22px}h2{font-size:20px}.li b{font-size:17px}
.places{padding-top:26px}.pg,.pg.big{grid-template-columns:repeat(2,1fr);gap:16px 10px}
.ih{padding:20px var(--pad) 18px}.ih h1{font-size:40px;margin-top:10px}
.names{grid-template-columns:repeat(2,1fr);gap:0 16px}.names.wide{grid-template-columns:1fr}.names i{display:none}.names .ev i{display:block}
.ecs{grid-template-columns:repeat(2,1fr)}.ec{padding:14px 14px 16px}.ec b{font-size:26px}
.art{display:block}.depth{margin-top:16px}.depth button{padding:7px 18px}.ov{margin-top:16px}.ov li{font-size:15px}
.body h2{font-size:21px;margin:30px 0 10px}.body h2 i{font-size:26px}.body p{font-size:16.5px}
.side{border-top:2px solid var(--ink);margin-top:36px;padding-top:20px}
.foot{padding-bottom:20px}.foot .r{margin-left:0;width:100%}
.tab{display:flex;position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:3px solid var(--ink);font-size:12px;font-weight:600;padding-bottom:env(safe-area-inset-bottom);z-index:5}
.tab a{flex:1;text-align:center;padding:12px 0 14px;color:var(--faint)}.tab a.on{color:var(--ink)}.tab a.on span{background:var(--mark);padding:1px 5px}
}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

/* culture guide reading order */
.body ul.cards{margin:8px 0 24px}.body ul.cards li{padding:14px 0;border-top:1px solid var(--line)}.body ul.cards li b{font-size:18px}.body ul.cards li a:hover b{background:var(--mark)}.body ul.cards li p{margin:4px 0 0}
.ix h3{font-size:14px;color:var(--mute);margin:18px 0 6px}

/* ── relations (person page third tab) ── */
.body.rel .note{font-size:13px;color:var(--mute);margin:18px 0 6px}
.tl{margin-top:14px;position:relative}
.ax{position:relative;height:22px;margin-left:200px;border-bottom:1px solid var(--ink);font:400 11px var(--num);color:var(--faint)}
.ax span{position:absolute;bottom:4px;transform:translateX(-50%)}
.rg{margin:18px 0 2px}.rg span{background:var(--mark);font-size:12px;padding:1px 6px}
.rr{border-bottom:1px solid var(--line)}
.rr summary{display:grid;grid-template-columns:200px 1fr;align-items:center;min-height:38px;cursor:pointer;list-style:none}
.rr summary::-webkit-details-marker{display:none}
.rr[open] summary,.rr summary:hover{background:#fffbe0}
.who b{font-size:15px}.who i{font-style:normal;font-size:12px;color:var(--mute);margin-left:8px}
.trk{position:relative;height:14px}
.sg{position:absolute;top:0;height:14px;background:var(--ink)}
.sg.hostile,.sw.hostile{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M0 6L6 0' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E");border:1px solid var(--ink)}
.sg.ap{border-left:4px solid #fff}
.pt{position:absolute;top:0;width:14px;height:14px;margin-left:-7px;border-radius:50%;background:var(--ink)}
.pt.hostile{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M0 6L6 0' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E");border:1.5px solid var(--ink)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.rd{border:2px solid var(--ink);padding:14px 18px;margin:8px 0 14px;font-size:14px;line-height:1.8}
.rd ul{margin:8px 0}.rd li b{font:600 13px var(--num);margin-right:10px}
.rd .lk a,.pc .lk a{display:inline-block;margin:6px 18px 0 0;font-size:13px;font-weight:600;border-bottom:1.5px solid var(--ink)}
.rd .lk a:hover,.pc .lk a:hover{background:var(--mark)}
.lg{font-size:12px;color:var(--mute);margin-top:14px;display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}
.sw{display:inline-block;width:22px;height:10px;background:var(--ink);margin-right:-8px}

/* names in the text and their card */
.pn{font:inherit;color:inherit;padding:0;border-bottom:1.5px dashed var(--ink);cursor:pointer;line-height:inherit}
.pn:hover,.pn[aria-expanded=true]{background:var(--mark)}
.pc{position:absolute;z-index:20;width:300px;background:#fff;border:2px solid var(--ink);padding:14px 16px;font-size:13.5px;line-height:1.7}
.pc b{font-size:16px}.pc small{font:400 12px var(--num);color:var(--faint);margin-left:8px}
.pc .tag{display:block;width:max-content;background:var(--mark);font-size:12px;padding:0 6px;margin:4px 0 6px}
.pc .x{position:absolute;right:8px;top:4px;font-size:18px}
.cast li a{display:flex;justify-content:space-between;gap:10px}.cast li span{font-size:12px;color:var(--mute)}

/* where it happened, sides, route */
.loc{display:flex;gap:14px;align-items:flex-start;margin-bottom:24px}.loc svg{flex:0 0 84px}.loc b{display:block;font-size:14px}.loc span{font-size:12.5px;color:var(--mute);line-height:1.6}
.jm .land,.jc .land{fill:#ececec;stroke:var(--ink);stroke-width:.8}.jm .mk{fill:var(--mark);stroke:var(--ink);stroke-width:1.5}
.sides{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px}.sides h6{font-size:12px;margin-bottom:4px}.sides li{font-size:14px;padding:6px 0;border-bottom:1px solid var(--line)}
.route{margin:24px 0 32px}.route figcaption{display:flex;justify-content:space-between;gap:12px;border-bottom:2px solid var(--ink);padding-bottom:6px;margin-bottom:8px;font-size:13px}
.route figcaption span{color:var(--faint);font-size:12px;text-align:right}
.rm{width:100%;height:auto;border:2px solid var(--ink)}
.rm .sea{fill:#fff}.rm .land{fill:#f0f0f0;stroke:var(--ink);stroke-width:1}.rm .pref{fill:none;stroke:#aaa;stroke-width:.8;stroke-dasharray:4 4}
.rm .area{font-size:12px;fill:#999;letter-spacing:3px}
.rm .leg{stroke:var(--ink);stroke-width:2;fill:none}.rm .leg.dashed{stroke-dasharray:6 5;stroke-width:1.6}.rm marker path{fill:var(--ink)}
.rm .st circle{fill:#fff;stroke:var(--ink);stroke-width:2}.rm .st.key circle{fill:var(--mark)}
.rm .n{font:600 11px var(--num);text-anchor:middle}.rm .lb{font-size:13px;font-weight:600;paint-order:stroke;stroke:#fff;stroke-width:3px}
.steps{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin-top:10px}
.steps li{display:grid;grid-template-columns:26px 1fr;padding:8px 0;border-bottom:1px solid var(--line);font-size:14px}
.steps i{font:600 11px var(--num);width:20px;height:20px;border:1.5px solid var(--ink);border-radius:50%;display:flex;align-items:center;justify-content:center;grid-row:span 2}
.steps li.key i{background:var(--mark)}.steps span{font-size:12.5px;color:var(--mute)}
.route .note{font-size:12px;color:var(--faint);margin-top:8px}

/* places: national map + city panels */
.pm{display:grid;grid-template-columns:minmax(0,560px) 1fr;gap:48px;padding-bottom:60px}
.rgn{display:flex;flex-wrap:wrap;margin-bottom:16px}.rgn button{font-size:13px;font-weight:600;padding:6px 12px;border:2px solid var(--ink);margin:0 -2px -2px 0}.rgn .on{background:var(--ink);color:#fff}
.jc{width:100%;height:auto}.jc .cd circle{fill:var(--ink)}.jc .cd text{font-size:12px;font-weight:600;paint-order:stroke;stroke:#fff;stroke-width:3px}
.jc .cd.on circle,.jc .cd:hover circle{fill:var(--mark);stroke:var(--ink);stroke-width:1.5}.jc .cd.dim{opacity:.18}
.cp h2{font-size:24px;border-bottom:2px solid var(--ink);padding-bottom:6px;margin:0 0 6px}.cp h2 small{font-size:12px;font-weight:400;color:var(--mute);margin-left:10px}
.cp{margin-bottom:30px}.js .cp{display:none}.js .cp.on{display:block}
.li.pl{display:grid;grid-template-columns:72px 1fr;gap:2px 14px;align-items:center}.li.pl img{width:72px;height:54px;object-fit:cover;grid-row:span 2}.li.pl p{grid-column:2}

@media (max-width:760px){
.ax{margin-left:0}.rr summary{grid-template-columns:1fr;gap:4px;padding:6px 0}.trk{height:12px}
.pc{position:fixed;left:0;right:0;bottom:0;width:auto;border-width:2px 0 0;padding:16px 20px 28px}
.pm{grid-template-columns:1fr;gap:20px}.steps{grid-template-columns:1fr}
}
.body.rel p.lg{font-size:12px;line-height:1.6;margin-top:14px}.body.rel .rd p{font-size:14.5px;line-height:1.8;margin:0 0 6px}.body.rel p.note{font-size:13px;margin:16px 0 4px}
.body .pn{display:inline;width:auto;height:auto;margin:0;font-size:inherit;font-weight:inherit;background:none;border:0;border-bottom:1.5px dashed var(--ink)}.body .pn:hover,.body .pn[aria-expanded=true]{background:var(--mark)}
.li.pl.ni{grid-template-columns:1fr}.li.pl.ni p{grid-column:1}
.jc{--z:1}.jc .land{vector-effect:non-scaling-stroke}
.jc .cd circle{r:calc(var(--r) / var(--z))}
.jc .cd text{font-size:calc(12px / var(--z));stroke-width:calc(3px / var(--z))}
.jc .cd.sm text{display:none}.jc.zoom .cd.sm:not(.dim) text{display:inline}

/* account */
.save{float:right;margin-top:34px;font-size:13px;font-weight:600;border-bottom:1.5px solid var(--ink);padding:2px 0}.save.on{background:var(--mark)}
.acct-wrap{max-width:420px;padding-bottom:60px}
.acct label{display:block;margin-bottom:14px}.acct label span{display:block;font-size:13px;font-weight:600;margin-bottom:4px}
.acct input{width:100%;font:inherit;padding:10px 12px;border:2px solid var(--ink);background:#fff}
.acct button{font-weight:600;background:var(--ink);color:#fff;padding:10px 24px;margin-top:6px}
.acct .msg{margin-top:12px;font-size:14px}.free{margin:22px 0 10px;font-size:14px;line-height:1.8}
.acct-wrap a{border-bottom:1.5px solid var(--ink)}.acct-wrap p{margin:8px 0;font-size:14px}.note.pv{color:var(--faint);font-size:12px;margin-top:30px}
.my section{margin-bottom:36px}.my h2{font-size:20px;border-bottom:2px solid var(--ink);padding-bottom:6px;margin-bottom:8px}
.my .row{display:grid;grid-template-columns:1fr 200px;gap:6px 24px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.my .row small{display:block;font-size:12px;color:var(--mute)}.my .bar{height:6px;background:#eee}.my .bar i{display:block;height:6px;background:var(--ink)}
.my .er{display:grid;grid-template-columns:90px 1fr 1fr;gap:4px 20px;padding:8px 0;border-bottom:1px solid var(--line);font-size:14px}
@media (max-width:760px){.my .row{grid-template-columns:1fr}.my .er{grid-template-columns:70px 1fr 1fr}.save{margin-top:18px}}

/* cities, sites, lists, info */
.gd{display:inline-block;margin-left:8px;font-size:12px;font-weight:600;background:var(--mark);padding:0 6px}
.li.pl a b{font-size:16px}.li.pl a:hover b{background:var(--mark)}
.guidebox{display:block;border:2px solid var(--ink);padding:10px 16px;margin:30px 0 0}.guidebox small{display:block;font-size:12px;color:var(--mute)}.guidebox b{font-size:17px}.guidebox:hover{background:var(--mark)}
.body .today{font-size:15px;color:#333;border-left:4px solid var(--mark);padding-left:12px}.body .today b{display:block;font-size:12px;color:var(--mute)}
.body .lead{font-size:18px;line-height:1.9;margin-top:26px}
.toplist{max-width:860px}.toplist>p{font-size:16px;line-height:1.9;margin-bottom:20px}
.tl-item{display:grid;grid-template-columns:1fr 220px;gap:20px;padding:22px 0;border-top:2px solid var(--ink)}
.tl-item small{font:600 13px var(--num);color:var(--mute)}.tl-item h2{font-size:22px;margin:4px 0 8px}.tl-item h2 a:hover{background:var(--mark)}
.tl-item ul li{font-size:14.5px;line-height:1.8;margin-bottom:6px}.tl-item ul li b{display:block;font-size:12px}.tl-item img{width:220px;height:140px;object-fit:cover}
.info{max-width:760px;padding-bottom:60px}.info h2{font-size:20px;margin:28px 0 8px}.info p,.info li{font-size:16px;line-height:1.9;margin-bottom:10px}
@media (max-width:760px){.tl-item{grid-template-columns:1fr}.tl-item img{width:100%;height:auto}}
.li.pl i.no{font:600 11px var(--num);display:inline-flex;width:18px;height:18px;border:1.5px solid var(--ink);border-radius:50%;align-items:center;justify-content:center;margin-right:8px;font-style:normal;vertical-align:2px}
.ix.toplist .tl-item h2{font-size:22px;font-weight:700;color:var(--ink);border:0;padding:0;margin:4px 0 10px;display:block}
.lake{fill:#fff;stroke:var(--ink);stroke-width:.8;vector-effect:non-scaling-stroke}.river{fill:none;stroke:#9a9a9a;stroke-width:1;vector-effect:non-scaling-stroke}

/* event banners: overlay strength measured per image at build time; dark images get light type */
.bn.has{background:linear-gradient(90deg,rgba(var(--ov),.9) 0,rgba(var(--ov),var(--oa)) 38%,rgba(var(--ov),0) 68%),var(--bn) right center/cover no-repeat rgb(var(--ov))}
.bn.dark,.bn.dark h1,.bn.dark h1 a,.bn.dark .fx,.bn.dark .yr{color:#f7f1e4}
.bn.dark .fx b{color:#fff}
.bn.dark .kick span{background:var(--mark);color:#111}
.bn.dark h1 a:hover{background:var(--mark);color:#111}
@media (max-width:760px){.bn.has{background-size:auto,auto 118px;background-position:0 0,right top}}

/* culture long-form: glance, figures, fact cards (2026-11-11) */
.glance h4{font-size:13px;font-weight:600;margin-bottom:4px}.glance .dek{font-size:16px;line-height:1.75;font-weight:600;margin-bottom:4px}
.glance ul{list-style:none;padding:0}.glance li{position:relative;padding-left:16px}.glance li::before{content:"";position:absolute;left:0;top:17px;width:6px;height:6px;background:var(--ink)}
.th .pic.cv{height:auto;object-fit:contain;background:#fff}
.fg{margin:26px 0 30px}.fg .ft{font-size:13px;font-weight:600;border-bottom:2px solid var(--ink);padding-bottom:6px;margin-bottom:12px}
.fg img{display:block;max-width:100%;height:auto}.fg-single img{max-height:420px;width:auto;margin:0 auto}
.fg .fc{font-size:13px;line-height:1.6;color:var(--mute);margin-top:8px}.fg .cr{color:var(--faint);margin-left:8px}
.steps-row{list-style:none;padding:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr);gap:14px;overflow-x:auto;scroll-snap-type:x mandatory}
.steps-row li{scroll-snap-align:start;font-size:13px;line-height:1.55}.steps-row i{font:600 22px var(--num);display:block;margin-bottom:4px}
.steps-row img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff;border:1px solid var(--line);margin-bottom:6px}
.anno{display:grid;grid-template-columns:minmax(0,240px) 1fr;gap:20px;align-items:start}.anno ol{list-style:none;padding:0}
.anno li{display:grid;grid-template-columns:26px 1fr;padding:6px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.6}.anno li i{font:600 15px var(--num)}
.kc{margin:22px 0 28px;border:2px solid var(--ink);padding:14px 16px 12px;scroll-margin-top:16px}.kc:target{background:#fffbe0}
.kc small{display:inline-block;background:var(--mark);font-size:11.5px;font-weight:600;padding:1px 6px;margin-bottom:8px}
.kc b{display:block;font-size:17px;margin-bottom:4px}.kc p{font-size:14.5px;line-height:1.75;margin:0}.kc img{float:right;width:96px;height:auto;margin:0 0 6px 12px}
.kc .lnk{display:inline-block;font-size:12px;color:var(--faint);margin-top:8px;border-bottom:1px solid var(--line)}.kc .lnk:hover{color:var(--ink);background:var(--mark)}
@media (max-width:760px){
.steps-row{grid-auto-columns:62%;margin-right:calc(-1 * var(--pad))}
.anno{grid-template-columns:1fr}.anno img{max-width:220px}
}
.cvc{font-size:12.5px;line-height:1.6;color:var(--mute);border-top:1px solid var(--line);padding-top:10px;margin-top:40px}.cvc b{margin-right:8px;color:var(--ink)}.cvc .cr{color:var(--faint);margin-left:8px}
/* culture figures: sprite-sheet crops, 2-3 images side by side, credits under fact-card images */
.crop{display:block;position:relative;overflow:hidden;width:100%;background:#fff}
.crop img,.fg .crop img,.kc .crop img,.steps-row .crop img{position:absolute;display:block;max-width:none;max-height:none;margin:0;border:0;aspect-ratio:auto;float:none}
.fg-single .crop{width:min(100%,calc(420px * var(--ar)));margin:0 auto}
.steps-row .crop{border:1px solid var(--line);margin-bottom:6px}
.kc .crop{float:right;width:96px;margin:0 0 6px 12px}
.th .crop.pic{height:auto;flex:none;width:min(300px,calc(300px * var(--ar)))}
@media (max-width:760px){.th .crop.pic{width:min(84px,calc(84px * var(--ar)))}}
.multi{display:grid;gap:16px;align-items:start}.multi.n2{grid-template-columns:repeat(2,minmax(0,1fr))}.multi.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
.fg .fc,.kc .fc,.cvc{overflow-wrap:anywhere}
.fg-single .multi img{max-height:300px;width:auto;max-width:100%;margin:0 auto}.fg-single .multi .crop{width:min(100%,calc(300px * var(--ar)))}
/* a sprite-sheet cut inside a side-by-side figure: the row rule above must not clamp the positioned sheet (2026-11-16: the cut showed blank) */
span.crop>img{max-width:none!important;max-height:none!important;margin:0!important}
.kc>.fc{float:right;clear:right;font-size:11px;color:var(--faint);margin:-2px 0 6px 12px;max-width:96px;text-align:right}.kc .fc .cr{margin:0}
@media (max-width:760px){.multi.n3{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cr a{color:inherit;border-bottom:1px solid var(--line)}.cr a:hover{color:var(--ink);background:var(--mark)}
/* culture pages have no depth buttons, so on phones the floated Save button sat on the glance text */
@media (max-width:760px){.save+.glance{clear:right}}
/* banner facts: labelled on desktop; on phones a short "759 · 奈良 · 10 章" line that stays clear of the picture */
.bn .fx span+span{margin-left:1em}.bn .fx em{font-style:normal}
@media (max-width:760px){.bn .fx b,.bn .fx em{display:none}.bn .fx span+span{margin-left:.35em}.bn .fx span+span::before{content:"· ";margin-right:.1em}.bn .fx span{white-space:nowrap}}
/* annotated groups with several images: numbered grid, wraps instead of scrolling */
.anno-grid{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 14px}
.anno-grid li{font-size:13px;line-height:1.55}.anno-grid i{font:600 18px var(--num);display:block;margin-bottom:4px}
.anno-grid img{width:100%;aspect-ratio:1;object-fit:contain;background:#fff;border:1px solid var(--line);margin-bottom:6px}
.anno-grid .crop{border:1px solid var(--line);margin-bottom:6px}
@media (max-width:760px){.anno-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* code-drawn diagrams (culture-v2/<card>/diagrams.json): white ground, black lines, one yellow */
.dg h5{font-size:13px;font-weight:600;margin:0 0 8px}
.dg .mk{background:var(--mark)}
.dg-flow{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.dg-flow li{border:1.5px solid var(--ink);padding:8px 10px 10px;font-size:13px;line-height:1.5}
.dg-flow i{font:600 18px var(--num);display:block}.dg-flow b{display:block;font-size:14px;margin:2px 0}.dg-flow span{color:var(--mute)}
.dg-angles{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.dg-angles li{font-size:13px;line-height:1.5;text-align:center}.dg-angles svg{display:block;width:100%;max-width:150px;margin:0 auto 4px}
.dg-angles b{display:block;font-size:15px}.dg-angles span{color:var(--mute)}
.dg-plan{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:20px;align-items:start}.dg-plan svg{display:block;width:100%}
.dg-plan ol{list-style:none;padding:0}.dg-plan li{display:grid;grid-template-columns:24px 1fr;padding:5px 0;border-bottom:1px solid var(--line);font-size:13.5px;line-height:1.55}
.dg-plan li i{font:600 14px var(--num)}
.dg-cmp{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dg-cmp ol{padding-left:1.6em;margin:0}
.dg-cmp li{font-size:13.5px;line-height:1.55;padding:5px 6px;border-bottom:1px solid var(--line)}.dg-cmp li.mk{font-weight:600}
.dg-cmp h5{border-bottom:2px solid var(--ink);padding-bottom:6px}
.dg-waffle{display:grid;grid-template-columns:240px 1fr;gap:22px;align-items:center}
.dg-waffle .g{display:grid;grid-template-columns:repeat(10,1fr);gap:3px}.dg-waffle .g span{aspect-ratio:1;border:1px solid var(--ink)}
.dg-waffle ul{list-style:none;padding:0}.dg-waffle li{display:grid;grid-template-columns:18px 34px 1fr;align-items:center;gap:6px;font-size:14px;padding:4px 0;border-bottom:1px solid var(--line)}
.dg-waffle li span{width:14px;height:14px;border:1px solid var(--ink)}.dg-waffle li b{font:600 15px var(--num);text-align:right}
.dg-beats table{border-collapse:collapse;width:100%}.dg-beats th{font-size:12px;font-weight:600;writing-mode:vertical-rl;border-right:2px solid var(--ink);padding:0 6px;width:22px}
.dg-beats td{padding:5px 6px;border-bottom:1px solid var(--line);vertical-align:middle}.dg-beats .t{font-size:14px;white-space:nowrap}
.dg-beats .c span{display:inline-block;min-width:26px;padding:2px 3px;margin:1px;border:1px solid var(--ink);text-align:center;font-size:13px}.dg-beats .c span.x{background:var(--mark)}
.dg-beats .n{text-align:right;white-space:nowrap}.dg-beats .n b{font:600 17px var(--num)}.dg-beats .n small{color:var(--mute);font-size:12px}
.dg-pyr ol{list-style:none;padding:0;display:flex;flex-direction:column;align-items:center;gap:4px}
.dg-pyr li{border:1.5px solid var(--ink);text-align:center;padding:6px 4px;font-size:14px;line-height:1.3}.dg-pyr li b{margin-right:6px}.dg-pyr li span{color:var(--mute);font-size:12.5px}
.dg-pyr li.ln{width:100%;border:0;border-top:4px solid var(--mark);padding:2px 0 0;font-size:12.5px;font-weight:600}
.dg-pyr p{font-size:13px;color:var(--mute);margin-top:10px;line-height:1.6}.dg-pyr p b{color:var(--ink);margin-right:8px}
.dg-tl{position:relative;margin:4px 0 6px}.dg-tl .pts{list-style:none;padding:0;position:relative;height:96px;border-bottom:2px solid var(--ink)}
.dg-tl .pts li{position:absolute;left:var(--x);bottom:-7px;transform:translateX(-50%);text-align:center;font-size:12.5px;line-height:1.35;width:96px}
.dg-tl .pts i{display:block;width:12px;height:12px;border:2px solid var(--ink);background:#fff;border-radius:50%;margin:4px auto 0;order:9}
.dg-tl .pts li{display:flex;flex-direction:column}.dg-tl .pts strong{font:600 18px var(--num)}.dg-tl .pts b{font-weight:600}.dg-tl .pts span{color:var(--mute)}
.dg-tl .pts li.mk{background:none}.dg-tl .pts li.mk i{background:var(--mark)}.dg-tl .pts li.mk strong{background:var(--mark)}
.dg-tl .tk{position:relative;height:20px}.dg-tl .tk em{position:absolute;left:var(--x);transform:translateX(-50%);font-style:normal;font-size:11px;color:var(--faint);top:4px}
.dg-bars{margin-top:18px}.dg-bars ul{list-style:none;padding:0}.dg-bars li{display:grid;grid-template-columns:64px 1fr 130px;gap:10px;align-items:center;font-size:13.5px;padding:4px 0}
.dg-bars li.mk{background:none}.dg-bars .tr{display:block}.dg-bars .bar{display:block;height:14px;border:1.5px solid var(--ink);background:#fff}.dg-bars li.mk .bar{background:var(--mark)}
.dg-bars .bar.open{border-right:1.5px dashed var(--ink)}.dg-bars em{font-style:normal;color:var(--mute)}
@media (max-width:760px){
.dg-flow{grid-template-columns:1fr;gap:0}.dg-flow li{position:relative;margin-bottom:16px;display:grid;grid-template-columns:26px 1fr;column-gap:6px}.dg-flow li i{grid-row:span 2}
.dg-flow li:not(:last-child)::after{content:"↓";position:absolute;left:50%;bottom:-17px;font-size:13px;line-height:1}
.dg-angles{gap:6px}.dg-angles li{font-size:12px}
.dg-plan{grid-template-columns:1fr}
.dg-cmp{grid-template-columns:1fr}
.dg-waffle{grid-template-columns:1fr}.dg-waffle .g{max-width:240px}
.dg-beats .t{display:none}.dg-beats .c span{min-width:21px;padding:1px 2px;margin:1px 0;font-size:12px}.dg-beats th{padding:0 3px;width:16px}.dg-beats td{padding:5px 3px}.dg-beats .c{white-space:nowrap}
.dg-pyr li{min-width:10.5em}
.dg-tl .pts{height:auto;border:0;border-left:2px solid var(--ink);padding-left:16px}.dg-tl .pts li{position:relative;left:0;bottom:0;transform:none;width:auto;text-align:left;display:block;padding:4px 0}
.dg-tl .pts i{position:absolute;left:-24px;top:8px;margin:0}.dg-tl .pts li>*{margin-right:8px}.dg-tl .tk{display:none}
.dg-bars li{grid-template-columns:52px 1fr;}.dg-bars em{grid-column:2;font-size:12.5px;margin-top:-2px}
}
/* headers, design A "white ground" (user 2026-11-11): events and people. Overrides the older beige banner rules above. */
.bn,.bn.home{height:300px;min-height:0;padding:0 var(--pad);display:grid;grid-template-columns:auto 1fr;gap:34px;align-items:center;background:#fff;border-bottom:1px solid var(--ink)}
.bn.has{background:linear-gradient(90deg,#fff 0,#fff 44%,rgba(255,255,255,.55) 60%,rgba(255,255,255,0) 76%),var(--bn) right center/cover no-repeat #fff}
.bn.has.dk{background:linear-gradient(90deg,#fff 0,#fff 60%,rgba(255,255,255,.6) 66%,rgba(255,255,255,0) 76%),var(--bn) right center/cover no-repeat #fff}
.bn .bi{display:none}.bn.has>div{max-width:none}
.bn h1{font-size:40px;line-height:1.25;margin-top:12px;max-width:11em}.bn .fx{color:#111}
.bn:not(.has){height:auto;min-height:220px;padding-top:30px;padding-bottom:30px}
.ph{max-width:1240px;margin:0 auto;height:300px;padding-left:var(--pad);display:grid;grid-template-columns:minmax(0,1fr) 420px;align-items:center;border-bottom:1px solid var(--ink);overflow:hidden}
.ph h1{font-size:84px;line-height:1.05;font-weight:600;letter-spacing:.02em;margin-top:16px}.ph h1.long{font-size:56px}.ph .meta{font-size:14px;color:var(--mute);margin-top:14px}
.ph .im{height:300px;background:var(--i) var(--pp,center 18%)/cover no-repeat;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 42%);mask-image:linear-gradient(90deg,transparent 0,#000 42%)}
@media (max-width:760px){
.bn,.bn.home{display:block;height:auto;min-height:0;padding:0 0 14px;background:#fff}
.bn.has,.bn.has.dk{background:#fff}
.bn .bi{display:block;aspect-ratio:4/3;background:linear-gradient(0deg,#fff 0,rgba(255,255,255,0) 34%),var(--bn) right center/var(--bs,auto 100%) no-repeat #fff}
.bn .bt{padding:0 var(--pad);position:relative}.bn.has .bt{margin-top:-18px;max-width:none}
.bn:not(.has){padding:16px 0 14px}
.bn h1{font-size:24px;line-height:1.3;margin-top:8px;max-width:none}.bn .fx{font-size:12px;margin-top:8px}
.ph{display:flex;flex-direction:column-reverse;align-items:stretch;height:auto;padding:0}
.ph .im{height:300px;-webkit-mask-image:none;mask-image:none;background:linear-gradient(0deg,#fff 0,rgba(255,255,255,0) 40%),var(--i) var(--pp,center 12%)/cover no-repeat}
.ph .pht{padding:0 var(--pad) 16px;margin-top:-56px;position:relative}.ph h1{font-size:46px;margin-top:8px}.ph h1.long{font-size:32px}.ph .meta{font-size:13px;margin-top:6px}
}
/* overview lists (people, events) and culture "at a glance": one style — black square bullet, hanging indent, 1px divider (user 2026-11-11) */
ul.ov,.glance ul{list-style:none}
ul.ov>li,.glance li{position:relative;padding:9px 0 9px 18px;line-height:1.75;border-bottom:1px solid #ddd}
ul.ov>li:last-child,.glance li:last-child{border-bottom:0}
ul.ov>li::before,.glance li::before{content:"";position:absolute;left:0;top:calc(9px + .875em - 3px);width:6px;height:6px;background:var(--ink)}
/* diagrams, batch 2: three-column compare, vertical timelines, tables, numbered parts */
.dg-cmp.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
.dg-tl.vl .pts{height:auto;border:0;border-left:2px solid var(--ink);padding-left:16px}.dg-tl.vl .pts li{position:relative;left:0;bottom:0;transform:none;width:auto;text-align:left;display:block;padding:5px 0}
.dg-tl.vl .pts i{position:absolute;left:-24px;top:9px;margin:0}.dg-tl.vl .pts li>*{margin-right:8px}
.dg-tbl{overflow-x:auto}.dg-tbl table{border-collapse:collapse;width:100%;font-size:13.5px;line-height:1.55}
.dg-tbl th,.dg-tbl td{text-align:left;vertical-align:top;padding:7px 8px;border-bottom:1px solid var(--line)}
.dg-tbl thead th{border-bottom:2px solid var(--ink);font-size:12.5px;font-weight:600}.dg-tbl tbody th{font-weight:600;white-space:nowrap}
.dg-tbl .mk{background:var(--mark)}
.dg-parts{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
.dg-parts li{display:grid;grid-template-columns:26px 1fr;padding:7px 0;border-bottom:1px solid var(--line);font-size:13.5px;line-height:1.55}
.dg-parts i{font:600 15px var(--num);grid-row:span 2}.dg-parts b{font-weight:600}.dg-parts span{color:var(--mute)}
@media (max-width:760px){
.dg-cmp.n3{grid-template-columns:1fr}
.dg-parts{grid-template-columns:1fr}
.dg-tbl thead{display:none}.dg-tbl table,.dg-tbl tbody,.dg-tbl tr,.dg-tbl th,.dg-tbl td{display:block}
.dg-tbl tr{border:1.5px solid var(--ink);margin-bottom:10px;padding:4px 0}.dg-tbl tbody th{border-bottom:1px solid var(--line);white-space:normal}
.dg-tbl td{border:0;padding:3px 8px}.dg-tbl td::before{content:attr(data-h);display:block;font-size:11.5px;color:var(--faint)}
}
.dg-bars li{grid-template-columns:minmax(4em,max-content) minmax(80px,1fr) max-content}.dg-bars li b{max-width:13em}
@media (max-width:760px){.dg-bars li{grid-template-columns:1fr;gap:3px;padding:6px 0}.dg-bars em{grid-column:1;margin-top:0}}
.dg-bars ul{display:grid;grid-template-columns:minmax(3em,max-content) minmax(80px,1fr) max-content;gap:7px 12px;align-items:center}.dg-bars li{display:contents}
@media (max-width:760px){.dg-bars ul{display:block}.dg-bars li{display:grid;grid-template-columns:1fr;gap:3px;padding:6px 0}}
/* header icons, site menu, footer language link (user 2026-11-11) */
.top{position:relative}
.util{gap:2px;margin-left:auto}
.ic{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;background:none;border:0;padding:0;color:var(--ink);cursor:pointer}
.ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ic:hover,.ic:focus-visible,.ic[aria-expanded="true"]{background:var(--mark)}
.ic svg+svg{display:none}.ic[aria-expanded="true"] svg{display:none}.ic[aria-expanded="true"] svg+svg{display:block}
.mn{position:absolute;top:100%;right:var(--pad);margin-top:4px;width:300px;background:#fff;border:2px solid var(--ink);z-index:60;padding:10px 18px 14px}
.top .mn nav{display:block}
.mn ul{list-style:none;padding:0;margin:0}.mn-main a{display:block;padding:9px 0;font-size:17px;font-weight:600;border-bottom:1px solid var(--line)}
.mn-main a.on,.mn a:hover{background:var(--mark)}.mn-more{display:flex;flex-wrap:wrap;gap:4px 18px;padding-top:10px}.mn-more a{font-size:13px;color:var(--mute);padding:6px 0}
.foot .lang{font-weight:600;color:var(--ink)}.foot .lang:hover{background:var(--mark)}
@media (max-width:760px){
.util{gap:0}.ic{width:44px;height:44px}
.mn{left:0;right:0;width:auto;margin-top:0;border-width:0 0 2px;padding:6px var(--pad) 14px}
.foot .r{width:auto;flex:1 1 auto}
}
/* contact form (fields as on the old site) */
.cform{margin:22px 0 26px;border-top:2px solid var(--ink);padding-top:16px;max-width:560px}
.cform .cf{margin-bottom:16px}.cform label{display:block;font-weight:600;font-size:14px;margin-bottom:6px}.cform label span{font-weight:400;color:var(--mute);font-size:12.5px}
.cform input,.cform textarea{width:100%;font:inherit;font-size:16px;padding:10px 12px;border:1.5px solid var(--ink);border-radius:0;background:#fff;color:var(--ink)}
.cform input:focus,.cform textarea:focus{outline:3px solid var(--mark);outline-offset:0}
.cform .cf-hint{font-size:13px;color:var(--mute);margin:0 0 8px}.cform .cf-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.cform button{font:inherit;font-weight:600;font-size:15px;padding:10px 26px;border:2px solid var(--ink);background:var(--ink);color:#fff;cursor:pointer;min-height:44px}
.cform button:disabled{background:#fff;color:var(--faint);border-color:var(--line);cursor:not-allowed}
.cform #contact-status{font-size:14px;margin-top:10px;min-height:1.6em}.cform #contact-status.ok{background:var(--mark);display:inline-block;padding:2px 6px}
/* sticky header (user 2026-11-11): stays on top while reading; opaque white, above banners and pictures */
.top{position:sticky;top:0;z-index:100;background:#fff}
.top::before{content:"";position:absolute;top:0;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);background:#fff;z-index:-1}
html{overflow-x:clip}
html{scroll-padding-top:88px}
.body h2,.kc{scroll-margin-top:0}
.toc ul{top:92px;max-height:calc(100vh - 112px)}
@media (max-width:760px){
.top{height:52px}.logo{margin:10px 0}.logo img{height:22px}
html{scroll-padding-top:64px}
.mn{max-height:calc(100vh - 52px - 64px);overflow:auto}
}
/* culture hub (user 2026-11-11): Browse = masonry of mixed cards + "new batch"; Index = sticky theme chips + compact grids */
.cx-tabs{display:flex;gap:0;margin-top:20px}.cx-tabs a{padding:8px 22px;border:2px solid var(--ink);margin-right:-2px;font-weight:600;font-size:15px;min-height:44px;display:inline-flex;align-items:center}
.cx-tabs a.on{background:var(--mark)}.cx-tabs a:not(.on):hover{background:#f4f4f4}
.cx-bar{display:flex;justify-content:flex-end;margin:6px 0 14px}.cx-bar.end{justify-content:center;margin:22px 0 10px}
.cx-more{display:inline-flex;align-items:center;gap:8px;font:inherit;font-weight:600;font-size:15px;padding:9px 18px;min-height:44px;border:2px solid var(--ink);background:#fff;color:var(--ink);cursor:pointer}
.cx-more:hover{background:var(--mark)}.cx-more svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cx-feed{list-style:none;padding:0;columns:4 220px;column-gap:16px}
.cc{break-inside:avoid;margin:0 0 16px;border:1.5px solid var(--ink);background:#fff}
.cc a{display:block;padding:0 0 14px}.cc a:hover{background:#fffbe0}.cc a:hover b{background:var(--mark)}
.cc img{display:block;width:100%;height:auto;border-bottom:1.5px solid var(--ink);background:#fff}
.cc small{display:block;font-size:11.5px;font-weight:600;color:var(--mute);margin:12px 14px 4px;letter-spacing:.04em}
.cc b{display:inline;font-size:18px;line-height:1.35;font-weight:700;margin:0 14px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.cc b{display:block}.cc p{font-size:13.5px;line-height:1.65;color:#333;margin:6px 14px 0}
.cc.t a{padding:4px 0 18px}.cc.t b{font-size:23px;line-height:1.3}.cc.t small{margin-top:16px}.cc.t p{font-size:14.5px}
.cx-chips{position:sticky;top:72px;z-index:50;background:#fff;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;max-width:1240px;margin:0 auto;padding:10px var(--pad);border-bottom:1px solid var(--ink)}
.cx-chips::-webkit-scrollbar{display:none}
.cx-chips a{flex:none;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1.5px solid var(--ink);font-size:13.5px;font-weight:600;white-space:nowrap;min-height:36px}
.cx-chips a:hover,.cx-chips a.on{background:var(--mark)}.cx-chips i,.cx-g h2 i{font:400 12px var(--num);color:var(--mute);font-style:normal}
.cx-g{scroll-margin-top:62px;margin-top:26px}.cx-g h2{font-size:20px;font-weight:700;border-bottom:2px solid var(--ink);padding-bottom:6px;margin-bottom:12px;display:flex;gap:10px;align-items:baseline}
.cx-grid{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.cx-grid .cc{margin:0}.cx-grid .cc a{padding:2px 0 10px;height:100%}.cx-grid .cc small{display:none}.cx-grid .cc b{font-size:15.5px;margin:9px 12px 0}
.cx-grid .cc p{font-size:12.5px;line-height:1.55;margin:4px 12px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:1080px){.cx-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){
.cx-tabs a{flex:1;justify-content:center;padding:8px 10px}
.cx-feed{columns:2;column-gap:10px}.cc{margin-bottom:10px}
.cc small{margin:10px 10px 3px;font-size:10.5px}.cc b{font-size:15.5px;margin:0 10px}.cc p{font-size:12.5px;margin:5px 10px 0;line-height:1.55}
.cc.t b{font-size:19px}.cc.t p{font-size:13px}
.cx-chips{top:52px;padding:8px var(--pad)}
.cx-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cx-grid .cc b{font-size:14.5px;margin:8px 10px 0}.cx-grid .cc p{margin:3px 10px 0}
}
/* era bar (user 2026-11-11): same component on home, eras, people, events; spread from under the logo to under the My HO icon */
.eras{display:flex;justify-content:space-between;align-items:stretch;gap:8px;padding:0 calc(var(--pad) + 11px) 0 var(--pad);border-bottom:1px solid var(--ink);overflow-x:auto;scrollbar-width:none}
.eras a{flex:0 0 auto;display:grid;grid-template-columns:24px auto;grid-template-rows:auto auto;column-gap:7px;align-items:center;padding:12px 8px 11px;margin:0 -8px;font-size:15px;font-weight:600;line-height:1.25;border-bottom:3px solid transparent}
.eras a svg{grid-row:span 2;width:24px;height:24px;fill:none;stroke:var(--ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.eras a b{padding:0;margin:0;background:none}.eras small{display:block;font:400 11px var(--num);color:var(--faint);margin-top:2px;letter-spacing:.02em}
.eras a:hover{background:#f6f6f6}.eras a.on{background:var(--mark)}.eras a.on b,.eras a:hover b{background:none;padding:0;margin:0}
.eras a.on small{color:#555}
@media (max-width:760px){
.eras{justify-content:flex-start;gap:4px;padding:0 var(--pad)}
.eras a{padding:9px 10px;margin:0;column-gap:6px;font-size:14px}.eras small{display:none}.eras a svg{grid-row:auto;width:22px;height:22px}
.eras a{grid-template-columns:22px auto}
}
/* era card pages: people and events */
.pgrid,.egrid{list-style:none;padding:0;display:grid;gap:14px;margin-top:6px}
.pgrid{grid-template-columns:repeat(4,minmax(0,1fr))}.egrid{grid-template-columns:repeat(3,minmax(0,1fr))}
.pc2,.ec2{border:1.5px solid var(--ink);background:#fff}.pc2 a,.ec2 a{display:block;height:100%}.pc2 a:hover,.ec2 a:hover{background:#fffbe0}.pc2 a:hover b,.ec2 a:hover b{background:var(--mark)}
.pc2 img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;object-position:center 15%;border-bottom:1.5px solid var(--ink)}
.pc2 div,.ec2 div{padding:11px 13px 14px}.pc2 b,.ec2 b{display:inline;font-size:17px;font-weight:700;line-height:1.35}
.pc2 small{display:block;font-size:12px;color:var(--mute);margin-top:3px}.ec2 small{display:block;font:600 13px var(--num);margin-bottom:3px}
.pc2 p,.ec2 p{font-size:13px;line-height:1.6;color:#333;margin-top:6px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.ec2 .ei2{display:block;aspect-ratio:3/2;background-size:auto 100%;background-position:right center;background-repeat:no-repeat;border-bottom:1.5px solid var(--ink)}
.pc2.t div{padding-top:16px}.pc2.t b,.ec2.t b{font-size:20px}.ec2.t div{padding-top:16px}.ec2.t small{font-size:15px}
@media (max-width:1080px){.pgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.egrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.pgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.egrid{grid-template-columns:1fr;gap:12px}.pc2 b{font-size:15.5px}.pc2 div{padding:9px 10px 12px}.pc2 p{-webkit-line-clamp:3}}
.body.guide .gt{font-size:22px;margin:26px 0 6px;display:block}.body.guide .gl{margin-top:30px;font-size:14px}.body.guide .gl a{border-bottom:1.5px solid var(--ink)}.body.guide .gl a:hover{background:var(--mark)}
/* culture index, round 2: all theme chips visible (wrap) and aligned with the content; themes shown as card masonry */
.cx .cx-chips{position:static;max-width:none;margin:4px 0 6px;padding:0 0 14px;border-bottom:1px solid var(--line);flex-wrap:wrap;overflow:visible;gap:6px}
.cx .cx-chips a{min-height:34px;padding:5px 11px;font-size:13px}
.cx-g{scroll-margin-top:12px;margin-top:30px}.cx-g h2 a:first-child:hover{background:var(--mark)}
.cx-g h2 .cx-only{margin-left:auto;font-size:13px;font-weight:600;color:var(--mute)}.cx-g h2 .cx-only:hover{color:var(--ink);background:var(--mark)}
@media (max-width:760px){
.cx .cx-chips{flex-wrap:nowrap;overflow-x:auto;margin-right:calc(-1 * var(--pad));padding-right:var(--pad);
  -webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 44px),transparent);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 44px),transparent)}
.cx-g h2{flex-wrap:wrap}.cx-g h2 .cx-only{font-size:12.5px}
}
.cx .cx-chips{margin-right:11px}
.cx-g h2 a:first-child{font:inherit;color:inherit;margin:0;padding:0}
@media (max-width:760px){.cx .cx-chips{margin-right:calc(-1 * var(--pad))}}
/* script features (user 2026-11-11): progress bar, back to top, resume tip, phone contents, link preview, instant search, list filter, route map */
.rp{position:absolute;left:0;right:0;bottom:-4px;height:3px;background:var(--mark);transform-origin:0 50%;transform:scaleX(0);pointer-events:none}
.btop{position:fixed;right:24px;bottom:24px;z-index:80;width:44px;height:44px;border:2px solid var(--ink);background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.btop svg,.tocb svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.btop:hover{background:var(--mark)}
.resume{position:fixed;left:50%;transform:translateX(-50%);bottom:24px;z-index:85;display:flex;border:2px solid var(--ink);background:#fff;box-shadow:0 4px 0 rgba(0,0,0,.08)}
.resume button{font:inherit;font-size:14px;font-weight:600;background:none;border:0;padding:10px 14px;min-height:44px;cursor:pointer;color:var(--ink)}.resume .r-go:hover{background:var(--mark)}.resume .r-x{border-left:1.5px solid var(--ink);font-size:18px;padding:0 14px}
.tocb{display:none}.tocs{position:fixed;left:0;right:0;bottom:0;z-index:90;background:#fff;border-top:3px solid var(--ink);max-height:70vh;overflow:auto;padding:0 var(--pad) calc(16px + env(safe-area-inset-bottom))}
.tocs-h{display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:#fff;padding:12px 0 8px;border-bottom:1px solid var(--line)}.tocs-h button{font-size:22px;background:none;border:0;width:44px;height:44px;cursor:pointer}
.tocs ul{list-style:none;padding:0;margin:0}.tocs a{display:grid;grid-template-columns:30px 1fr;padding:10px 0;border-bottom:1px solid var(--line);font-size:15px}.tocs a i{font:400 13px var(--num);color:var(--faint)}.tocs a.on{background:var(--mark)}
.pk{position:absolute;z-index:95;width:300px;background:#fff;border:2px solid var(--ink);box-shadow:0 6px 0 rgba(0,0,0,.08);display:flex;gap:0;flex-direction:column}
.pk-i{display:block;height:120px;background-size:cover;background-position:center 20%;border-bottom:1.5px solid var(--ink)}.pk-i.wide{background-size:auto 100%;background-position:right center}
.pk div{padding:10px 14px 12px}.pk b{display:block;font-size:16px}.pk small{display:block;font-size:12px;color:var(--mute);margin-top:2px}.pk p{font-size:13px;line-height:1.6;margin-top:6px;color:#333}
.pk a{display:inline-block;margin-top:8px;font-size:13px;font-weight:600;border-bottom:1.5px solid var(--ink)}.pk a:hover{background:var(--mark)}
.pk-x{position:absolute;top:4px;right:4px;width:36px;height:36px;border:0;background:#fff;font-size:20px;cursor:pointer}
.sx{position:fixed;inset:0;z-index:200;background:rgba(17,17,17,.45);display:flex;justify-content:center;align-items:flex-start;padding:72px 16px 16px}.sx[hidden]{display:none}
html.sx-on{overflow:hidden}
.sx-p{width:min(680px,100%);max-height:calc(100vh - 100px);display:flex;flex-direction:column;background:#fff;border:2px solid var(--ink)}
.sx-in{display:flex;align-items:center;gap:8px;padding:6px 8px 6px 14px;border-bottom:2px solid var(--ink)}.sx-in svg{width:22px;height:22px;fill:none;stroke:var(--ink);stroke-width:1.6;flex:none}
.sx-in input{flex:1;font:inherit;font-size:18px;border:0;outline:0;padding:10px 4px;min-width:0;background:none}.sx-x{font:600 12px var(--num);border:1.5px solid var(--line);background:#fff;padding:6px 8px;cursor:pointer;color:var(--mute)}
.sx-r{overflow:auto;padding:4px 0}.sx-r section{padding:4px 14px 8px}.sx-r h3{font-size:12px;font-weight:600;color:var(--mute);margin:8px 0 2px;letter-spacing:.04em}
.sx-r a{display:flex;gap:10px;align-items:baseline;padding:8px 8px;border-bottom:1px solid var(--line)}.sx-r a b{font-size:15px}.sx-r a small{font-size:12px;color:var(--faint)}
.sx-r a[aria-selected="true"],.sx-r a:hover{background:var(--mark)}.sx-none{padding:18px 14px;color:var(--mute)}.sx-all{display:block;padding:10px 14px;border-top:1px solid var(--line);font-size:13px;color:var(--mute)}
.lf{margin:4px 0 16px;display:flex;gap:12px;align-items:center}.lf[hidden]{display:none}.lf input{flex:1;max-width:460px;font:inherit;font-size:15px;padding:9px 12px;border:1.5px solid var(--ink)}.lf input:focus{outline:3px solid var(--mark)}.lf-n{font-size:13px;color:var(--mute)}
.rm-w{position:relative}.rm-w svg.rm{touch-action:none;cursor:default}.rm-w svg.rm.drag{cursor:grabbing}
.rm-ui{position:absolute;right:8px;top:8px;display:flex;flex-direction:column;gap:4px}.rm-ui button{width:36px;height:36px;border:1.5px solid var(--ink);background:#fff;font-size:18px;cursor:pointer}.rm-ui button:hover{background:var(--mark)}
.rm .st{cursor:pointer}.rm .st.on circle{fill:var(--mark)}.rm .st:focus{outline:none}.rm .st:focus circle{stroke-width:3}
.rm-tip{position:absolute;left:8px;bottom:8px;right:52px;max-width:420px;background:#fff;border:2px solid var(--ink);padding:8px 36px 8px 12px;font-size:13px;line-height:1.55}.rm-tip b{display:block;font-size:14px}.rm-tip button{position:absolute;top:2px;right:2px;width:32px;height:32px;border:0;background:none;font-size:18px;cursor:pointer}
ol.steps li.on{background:var(--mark)}
@media (max-width:1080px){.tocb{display:flex;position:fixed;left:16px;bottom:24px;z-index:80;align-items:center;gap:6px;height:44px;padding:0 14px;border:2px solid var(--ink);background:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer}}
@media (max-width:760px){
.btop{right:16px;bottom:calc(76px + env(safe-area-inset-bottom))}.tocb{bottom:calc(76px + env(safe-area-inset-bottom))}
.resume{bottom:calc(132px + env(safe-area-inset-bottom));width:calc(100% - 32px);justify-content:space-between}
.pk{width:calc(100vw - 16px)}.sx{padding:56px 0 0}.sx-p{max-height:calc(100vh - 56px);border-width:2px 0 0}
.tocs{bottom:calc(64px + env(safe-area-inset-bottom));z-index:90}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.body a.pl{border-bottom:1px dotted var(--ink)}.body a.pl:hover{background:var(--mark);border-bottom-style:solid}
/* era bar, round 2: icon as tall as the two text lines (name + years), thin line kept by non-scaling stroke */
.eras a{grid-template-columns:auto auto;column-gap:8px;align-items:stretch}
.eras a b{font-size:15px;line-height:20px;align-self:end}.eras small{font-size:11px;line-height:14px;margin-top:2px;align-self:start}
.eras a svg{width:36px;height:36px;align-self:center;grid-row:span 2}
.eras a svg path{vector-effect:non-scaling-stroke;stroke-width:1.6px}
@media (max-width:1100px){.eras{gap:2px}.eras a{padding-left:6px;padding-right:6px;margin:0 -6px;column-gap:6px}.eras a svg{width:32px;height:32px}.eras a b{font-size:14px;line-height:18px}.eras small{font-size:10.5px;line-height:13px}}
@media (max-width:760px){.eras a svg{width:20px;height:20px;grid-row:auto}.eras a b{line-height:20px}.eras a{grid-template-columns:20px auto;align-items:center}}
.eras{gap:0}.eras a{padding:12px 6px 11px;margin:0 -6px;column-gap:7px}
.eras a svg{width:34px;height:34px}.eras a b{line-height:19px}.eras small{font-size:10.5px;line-height:13px}
@media (max-width:1240px){
.eras{justify-content:flex-start;gap:14px;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 48px),transparent);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 48px),transparent)}
.eras.end{-webkit-mask-image:none;mask-image:none}
.eras a svg{width:32px;height:32px}.eras a b{font-size:14px;line-height:18px}.eras small{line-height:12px}
}
@media (max-width:760px){.eras{gap:4px}.eras a svg{width:20px;height:20px}.eras a b{line-height:20px}}
/* era cards, round 2: smaller (people 6 / 4 / 3 across, events 4 / 3 / 2), two-line summaries */
.pgrid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.egrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.pc2 div,.ec2 div{padding:8px 10px 10px}.pc2 b,.ec2 b{font-size:14.5px;line-height:1.35}
.pc2 small{font-size:11px;line-height:1.45}.ec2 small{font-size:12px;margin-bottom:2px}
.pc2 p,.ec2 p{font-size:12px;line-height:1.55;margin-top:4px;-webkit-line-clamp:2}
.pc2.t b,.ec2.t b{font-size:16px}.ec2.t small{font-size:13px}
@media (max-width:1080px){.pgrid{grid-template-columns:repeat(4,minmax(0,1fr))}.egrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.pgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.egrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.pc2 b,.ec2 b{font-size:13px}.pc2 div,.ec2 div{padding:6px 7px 8px}.pc2 small{font-size:10.5px}.pc2 p,.ec2 p{font-size:11.5px}.pc2 p{display:none}}
/* section entry pages (people, events, places, culture): Browse / Index / Guides; card types */
.cc .m{display:block;font-style:normal;font-size:12px;color:var(--mute);margin:3px 14px 0}
.cc-e img{aspect-ratio:3/2;object-fit:cover;object-position:right center}
.cc-p img{aspect-ratio:1;object-fit:cover;object-position:center 15%}
.f-people{columns:6 160px;column-gap:12px}.f-people .cc{margin-bottom:12px}.f-people .cc b{font-size:15px;margin:0 10px}.f-people .cc small{margin:9px 10px 2px;font-size:10.5px}
.f-people .cc .m{margin:2px 10px 0;font-size:11px}.f-people .cc p{font-size:12px;margin:5px 10px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.f-people .cc a{padding-bottom:10px}
.f-events,.f-places{columns:4 210px;column-gap:14px}.f-events .cc b,.f-places .cc b{font-size:16px}.f-events .cc p,.f-places .cc p{font-size:13px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.era-h{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline;font-size:24px;font-weight:700;margin:18px 0 12px;border-bottom:2px solid var(--ink);padding-bottom:8px}
.era-h small{font:400 13px var(--num);color:var(--mute)}.era-h a{margin-left:auto;font-size:13px;font-weight:600;color:var(--mute)}.era-h a:hover{background:var(--mark);color:var(--ink)}
.cx-chips .cx-map{border-style:dashed;margin-left:auto}.cx-empty{padding:24px 0;color:var(--mute)}
@media (max-width:760px){.f-people{columns:3;column-gap:8px}.f-people .cc{margin-bottom:8px}.f-people .cc p{display:none}.f-people .cc b{font-size:13px;margin:0 7px}.f-people .cc small{margin:7px 7px 2px}.f-people .cc .m{margin:2px 7px 0;font-size:10px}
.f-events,.f-places{columns:2;column-gap:10px}.f-events .cc b,.f-places .cc b{font-size:14.5px}.cx-chips .cx-map{margin-left:0}}
/* full-width white behind the sticky header without widening the page (shadow is paint only, clipped to the header's height) */
.top::before{left:0;right:0;box-shadow:0 0 0 100vmax #fff;clip-path:inset(0 -100vmax)}
nav.pn{grid-template-columns:repeat(2,minmax(0,1fr))}nav.pn a{overflow-wrap:anywhere;min-width:0}
figure.route{min-width:0;max-width:100%}figure.route ol.steps li,figure.route .note{overflow-wrap:anywhere;min-width:0}figure.route ol.steps li>*{min-width:0}
/* era bar, round 3 (user 2026-11-11): text only again — name over years */
.eras a{display:block;padding:12px 8px 11px;margin:0 -8px}.eras a b{display:block;font-size:15px;line-height:20px}.eras small{display:block;font-size:11px;line-height:14px;margin-top:2px}
@media (max-width:1240px){.eras a{padding:12px 8px 11px;margin:0}.eras a b{font-size:14.5px}}
@media (max-width:760px){.eras a{padding:10px 10px}.eras a b{font-size:14px}}
@media (max-width:1240px) and (min-width:761px){.eras{justify-content:space-between;gap:10px;-webkit-mask-image:none;mask-image:none}.eras a{margin:0 -8px}}
.eras.scr:not(.end){-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 48px),transparent);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 48px),transparent)}
@media (max-width:760px){.eras{-webkit-mask-image:none;mask-image:none}}
/* guides = article lists, not cards (user 2026-11-11): number, title, one line, minutes · category; one column, reading width */
.gx{max-width:880px}
.gnav{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 10px}.gnav a{display:inline-flex;gap:6px;align-items:center;padding:5px 11px;border:1.5px solid var(--ink);font-size:13px;font-weight:600}.gnav a:hover{background:var(--mark)}.gnav i{font:400 12px var(--num);color:var(--mute);font-style:normal}
.gsec{margin-top:30px;scroll-margin-top:12px}.gsec h2{display:flex;gap:10px;align-items:baseline;font-size:20px;font-weight:700;border-bottom:2px solid var(--ink);padding-bottom:6px}.gsec h2 i,.gsec h3 i{font:400 12px var(--num);color:var(--mute);font-style:normal}
.gsec h3{display:flex;gap:8px;align-items:baseline;font-size:15px;font-weight:700;margin:22px 0 4px}
.glist{list-style:none;padding:0;margin:0}.glist li{border-bottom:1px solid var(--line)}
.glist a{display:grid;grid-template-columns:64px 1fr;gap:16px;align-items:start;padding:16px 0 16px 12px;margin-left:-12px;border-left:4px solid transparent}
.glist a:hover{border-left-color:var(--mark)}.glist a:hover b{box-shadow:inset 0 -6px 0 var(--mark)}
.glist i{font:200 38px/1 var(--num);color:#9a9a9a;letter-spacing:-.02em;font-style:normal;padding-top:2px}
.glist b{display:inline;font-size:17px;font-weight:700;line-height:1.45}
.glist p{font-size:14px;line-height:1.65;color:#333;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.glist small{display:block;font-size:12px;color:var(--faint);margin-top:4px}
.hglist{list-style:none;padding:0;margin:0}.hglist li{border-bottom:1px solid var(--line)}
.hglist a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 14px;padding:10px 0 10px 12px;margin-left:-12px;border-left:4px solid transparent}
.hglist a:hover{border-left-color:var(--mark)}.hglist a:hover b{box-shadow:inset 0 -5px 0 var(--mark)}
.hglist b{font-size:15px;font-weight:700;line-height:1.4}.hglist span{font-size:12.5px;color:var(--mute);white-space:nowrap}
.hglist p{grid-column:1 / -1;font-size:13px;line-height:1.6;color:#444;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:760px){.glist a{grid-template-columns:1fr;gap:2px;padding:14px 0 14px 10px;margin-left:-10px}.glist i{font-size:22px}.glist b{font-size:16px}.hglist a{padding-left:10px;margin-left:-10px}}
/* era bar on phones (user 2026-11-11): roomy items (>= 12px side padding, 44px tap height), never widens the page, edge fade while it can scroll */
@media (max-width:760px){
.eras{display:flex;justify-content:flex-start;gap:2px;padding:0 var(--pad);max-width:100vw;overflow-x:auto;overscroll-behavior-x:contain;scroll-padding-inline:var(--pad)}
.eras a{flex:0 0 auto;display:flex;align-items:center;min-height:44px;padding:0 12px;margin:0}
.eras a b{font-size:14.5px;line-height:1.2;white-space:nowrap}
.eras.scr:not(.end){-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 40px),transparent)}
}
/* layout fixes found by check_layout.py (2026-11-11) */
.cx-tabs a:last-child{margin-right:0}
@media (max-width:1240px) and (min-width:761px){.eras{gap:20px}}
@media (max-width:900px){.art{display:block}.art .side{margin-top:30px}}
.art>main,.art>aside{min-width:0}
@media (max-width:760px){.eras small{display:none}}
.ix.gx{max-width:1240px}.ix.gx>*,.gx>.gsec,.gx>.gnav{max-width:880px}
/* event banners at mid widths (761–1240px): keep the title on white — wider white field, text column limited to it */
@media (min-width:761px) and (max-width:1240px){
.bn.has,.bn.has.dk{padding-right:46%;grid-template-columns:auto minmax(0,1fr);gap:24px;
  background:linear-gradient(90deg,#fff 0,#fff 54%,rgba(255,255,255,.5) 64%,rgba(255,255,255,0) 76%),var(--bn) right center/cover no-repeat #fff}
.bn.has .yr{font-size:84px}.bn.has h1{font-size:30px;line-height:1.28;max-width:none}
}
@media (min-width:761px) and (max-width:1000px){.bn.has{grid-template-columns:minmax(0,1fr)}.bn.has .yr{display:none}.bn.has h1{font-size:28px}}
@media (min-width:1241px){.bn.has{padding-right:496px;grid-template-columns:auto minmax(0,1fr)}.bn.has.dk{padding-right:434px}.bn.has h1{max-width:none}}
.btop[hidden],.resume[hidden]{display:none}
.bn,.bn.home{height:auto;min-height:300px}
.bn.has h1.long{font-size:30px;line-height:1.28}
@media (min-width:761px) and (max-width:1240px){.bn.has h1.long{font-size:24px}}
@media (max-width:760px){.bn,.bn.home{min-height:0}.bn.has h1.long{font-size:20px}}
.top .logo{flex:none}
@media (min-width:761px) and (max-width:1080px){.top{gap:20px}.top>nav{gap:16px;font-size:15px}}
@media (min-width:761px) and (max-width:900px){.top>nav{gap:12px;font-size:14px}}
@media (min-width:761px) and (max-width:860px){.top>nav{display:none}}
.rr.off .who b{font-weight:600;color:#333}
.city-intro{margin:6px 0 22px}.city-intro p{font-size:16px;line-height:1.85;margin:0 0 12px}
/* culture and place header, design A like people/events (user 2026-11-11, sample on two pages first): photo flush right, ~44% wide, full height, left edge fades into white */
.ph.wd{grid-template-columns:minmax(0,1fr) 44%;gap:24px}
.ph.wd .im{display:block;width:100%;height:300px;object-fit:cover;object-position:center;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 34%);mask-image:linear-gradient(90deg,transparent 0,#000 34%)}
.ph.wd .sub{font-size:20px;margin-top:14px;color:#222;max-width:30em}
@media (min-width:761px) and (max-width:1000px){.ph.wd h1{font-size:60px}.ph.wd h1.long{font-size:42px}}
@media (max-width:760px){
.ph.wd{display:flex;flex-direction:column-reverse;gap:0}
.ph.wd .im{height:auto;aspect-ratio:4/3;-webkit-mask-image:linear-gradient(0deg,transparent 0,#000 16%);mask-image:linear-gradient(0deg,transparent 0,#000 16%)}
.ph.wd .pht{margin-top:-10px}.ph.wd .sub{font-size:15px;margin-top:8px}
}
/* very long titles (guides): smaller type; the header grows instead of clipping, picture stretches with it */
.ph.wd{height:auto;min-height:300px;align-items:stretch}.ph.wd .pht{align-self:center;padding:24px 0}
.ph.wd .im{height:100%;min-height:300px}
.ph.wd h1.xl{font-size:40px;line-height:1.2}
@media (min-width:761px) and (max-width:1000px){.ph.wd h1.xl{font-size:32px}}
@media (max-width:760px){.ph.wd .im{height:auto;min-height:0}.ph.wd .pht{padding:0 var(--pad) 16px}.ph.wd h1.xl{font-size:26px;line-height:1.3}}
/* design A photo header site-wide (culture, places, sites, cities, guides; user 2026-11-11): shorter, eased fade so dark photos do not leave a grey band on white */
.ph.wd .im{-webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.3) 7%,rgba(0,0,0,.78) 13%,#000 19%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.3) 7%,rgba(0,0,0,.78) 13%,#000 19%)}
.ph.wd .imc{display:flex;justify-content:flex-end;overflow:hidden;background:#fff}
.ph.wd .imc .crop{height:100%;width:auto;max-width:none!important;flex:none;aspect-ratio:var(--ar)}
@media (max-width:760px){
.ph.wd .im{-webkit-mask-image:linear-gradient(0deg,transparent 0,rgba(0,0,0,.4) 6%,#000 14%);mask-image:linear-gradient(0deg,transparent 0,rgba(0,0,0,.4) 6%,#000 14%)}
.ph.wd .imc{justify-content:center;aspect-ratio:4/3;height:auto}
}
nav.pn a{text-spacing-trim:space-all}  /* Chrome trims full-width bracket space and lets "）" overhang the column on phones */
/* portrait / square header pictures (ratio < 1.2): whole picture at header height on the right, faded left edge; phones: centred, 300px high */
.ph.wd .im.tall{width:auto;max-width:100%;justify-self:end;object-fit:contain}
@media (max-width:760px){.ph.wd .im.tall{aspect-ratio:auto;height:300px;max-width:100%;align-self:center;-webkit-mask-image:none;mask-image:none}}
/* tighter fade (user: dark photos must not leave a grey band) */
.ph.wd .im{-webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.18) 4%,rgba(0,0,0,.65) 8%,#000 12%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.18) 4%,rgba(0,0,0,.65) 8%,#000 12%)}
@media (max-width:760px){.ph.wd .pht{align-self:stretch}.ph.wd .im:not(.tall){-webkit-mask-image:linear-gradient(0deg,transparent 0,rgba(0,0,0,.4) 6%,#000 14%);mask-image:linear-gradient(0deg,transparent 0,rgba(0,0,0,.4) 6%,#000 14%)}}
.ecs{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width:760px){.ecs{grid-template-columns:repeat(2,minmax(0,1fr))}}
.rgn{padding-right:2px}  /* buttons overlap by -2px; keep the last one inside the bar */
/* full-text search (user 2026-11-11): header overlay snippets and the /search/ page */
.sx-r a>span{display:block;min-width:0}.sx-r a small{margin-left:8px}
.sx-s{display:block;font-style:normal;font-size:13px;line-height:1.6;color:#333;margin-top:3px;overflow-wrap:anywhere}.sx-s i{font-style:normal;font-weight:600;color:var(--mute);margin-right:6px}
.sx-r mark,.fts-res mark{background:var(--mark);color:inherit;padding:0 1px}
.sx-more{display:block;padding:10px 22px;font-size:13px;font-weight:600}.sx-more:hover{background:var(--mark)}
#ftsf{margin-top:20px}#ftsf input{width:min(640px,100%);font:inherit;font-size:18px;padding:12px 14px;border:2px solid var(--ink);border-radius:0;-webkit-appearance:none}
.fts-no{margin-top:16px;max-width:640px;line-height:1.8;color:#333}.fts-no a{border-bottom:1.5px solid var(--ink)}
.fts-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}.fts-chips:empty{display:none}
.fts-chips button{font-size:13px;font-weight:600;padding:6px 12px;border:1.5px solid var(--ink);min-height:36px}.fts-chips button.on{background:var(--mark)}.fts-chips i{font:400 12px var(--num);color:var(--mute);font-style:normal;margin-left:2px}
.fts-res{max-width:820px}.fts-g{margin:8px 0 28px}.fts-g h2{font-size:15px;font-weight:600;border-bottom:2px solid var(--ink);padding-bottom:6px;display:flex;justify-content:space-between}.fts-g h2 i{font:400 13px var(--num);color:var(--mute);font-style:normal}
.fts-g ol{list-style:none;padding:0;margin:0}.fts-g li{padding:12px 0;border-bottom:1px solid var(--line);min-width:0}
.fts-g li>a{display:inline}.fts-g li>a b{font-size:17px;font-weight:600}.fts-g li>a:hover b{background:var(--mark)}.fts-g li>a small{font-size:13px;color:var(--faint);margin-left:8px}
.fts-k{display:block;font-size:12px;color:var(--mute);margin-top:2px}
.fts-s{font-size:14.5px;line-height:1.75;color:#333;margin-top:6px;overflow-wrap:anywhere}.fts-s i{font-style:normal;font-weight:600;color:var(--mute);margin-right:8px}
.fts-none{padding:18px 0;color:var(--mute)}
/* route maps (user 2026-11-11): grouped stops and the close-up inset */
.rm .st.grp rect{fill:#fff;stroke:var(--ink);stroke-width:2}.rm .st.grp .n{font-size:11px}
.rm-in{margin:10px 0 4px;max-width:340px;border:1.5px solid var(--ink)}.rm-in p{font-size:12px;font-weight:600;padding:4px 8px;border-bottom:1.5px solid var(--ink);background:#fff}.rm-in p b{font:600 12px var(--num);margin-left:4px}
.rm-in svg{display:block;width:100%;height:auto}
.rm-in .rm{margin:0;border:0;display:block}
@media (max-width:760px){.rm-ui{position:static;flex-direction:row;justify-content:flex-end;margin-top:6px}.rm-ui button{width:44px;height:44px}}  /* phones: zoom buttons under the map, never over labels */
.body .rm-in p{margin:0;line-height:1.5}
.rm-m{display:none}@media (max-width:760px){.rm-d{display:none}.rm-m{display:block}}
.rm-m .rm-in{max-width:none}

/* == 文化重写会话 2026-11-11: save button in the article header ==
   Last row of the header title block; same look as the 逛逛/目录/导读 switch (2px black border, square). Not saved: white,
   hover yellow. Saved (.on, aria-pressed=true): yellow, filled bookmark. Hidden until site.js runs. */
.save{float:none;display:inline-flex;align-items:center;gap:8px;height:36px;margin:18px 0 0;padding:0 16px;border:2px solid var(--ink);border-radius:0;background:#fff;color:var(--ink);font:inherit;font-size:14px;font-weight:600;line-height:1;cursor:pointer;max-width:100%;white-space:nowrap}
.save[hidden]{display:none}
.save svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.save:hover,.save.on{background:var(--mark)}.save.on svg{fill:currentColor}
.save:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
@media (max-width:760px){.save{height:44px;margin-top:14px}}

/* == 文化重写会话 2026-11-11: floating contents / back-to-top buttons ==
   read.js toggles .fl-off (scrolling down) and [hidden] (near the top, footer on screen); both buttons move together. */
.btop,.tocb{transition:opacity .2s ease,transform .2s ease}
.btop.fl-off,.tocb.fl-off{opacity:0;transform:translateY(12px);pointer-events:none}
.tocb[hidden]{display:none}
@media (prefers-reduced-motion:reduce){.btop,.tocb{transition:none}}
/* city site maps (网站重建 2026-11-11): Japan locator under the map */
.cm-loc{display:inline-block;margin-top:6px;border:1.5px solid var(--ink);padding:3px;background:#fff;width:72px}.cm-loc svg{display:block;width:100%;height:auto}
/* map reference names (网站重建 2026-11-11): weaker than stop labels */
.rm .ref{font-size:11px;fill:#7a7a7a;font-weight:400;paint-order:stroke;stroke:#fff;stroke-width:2.5px}.rm .ref.sea,.rm .ref.lake{font-style:italic;letter-spacing:.2em;fill:#8c8c8c}
.rm .refd{fill:#8c8c8c}
.rm .river{stroke:#777;stroke-width:1.2}  /* rivers a little darker than prefecture lines (网站重建 2026-11-11) */

/* home hero rotation (进度检查会话 2026-11-11): people / culture headers shown on the home page link their title like the event one */
.ph.home h1 a{color:inherit;text-decoration:none}.ph.home h1 a:hover{background:var(--mark)}

/* phone era bar (进度检查会话 2026-11-11, user): no sideways scrolling — all eras visible in a 5-column grid (two rows) */
@media (max-width:760px){
nav.eras{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:4px var(--pad);overflow:visible;-webkit-mask-image:none!important;mask-image:none!important}
nav.eras a{min-height:40px;padding:0 2px;margin:0;justify-content:center;text-align:center}
nav.eras a b{font-size:clamp(10.5px,3.3vw,14px);white-space:nowrap}
}

/* phone: compact top of the section entry pages (进度检查会话 2026-11-11, user). Title and count on one line, no repeated
   kicker, lower switch; era names left-aligned in their grid columns. Phones only. */
@media (max-width:760px){
.ih.cx-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px;padding-top:14px;padding-bottom:12px}
.ih.cx-h .kick{display:none}
.ih.cx-h h1{font-size:30px;line-height:1.15;margin:0}
.ih.cx-h p{margin:0;font-size:13px;line-height:1.4}
.ih.cx-h .cx-tabs{flex:0 0 100%;margin-top:10px}
.ih.cx-h .cx-tabs a{min-height:38px;padding:4px 10px;font-size:14.5px}
nav.eras{padding:5px calc(var(--pad) - 6px)}
nav.eras a{min-height:32px;padding:0 6px;justify-content:flex-start;text-align:left}
}

/* phone era bar, second pass (进度检查会话 2026-11-11): columns as wide as their longest name (not five equal columns),
   spread across the row; names left-aligned within each column, so long English names no longer touch. */
@media (max-width:760px){
nav.eras{grid-template-columns:repeat(5,auto);justify-content:space-between;padding:5px calc(var(--pad) - 5px)}
nav.eras a{padding:0 5px}
}

/* link preview of an event (进度检查会话 2026-11-11, user): show the banner's right end where the subject is (about 640 of
   2400 px, like the phone header), not the right 1000 px with a blank left half. 2:1 box, banner 375% of the card width. */
.pk-i.wide{height:auto;aspect-ratio:2/1;background-size:375% auto;background-position:right center}
/* culture / place / guide previews: the whole 3:2 picture, not a 120 px strip cut from it */
.pk-i.k-culture,.pk-i.k-places,.pk-i.k-guides{height:auto;aspect-ratio:3/2;background-position:center}

/* phone: region / topic chips on the Index pages (进度检查会话 2026-11-11, user): wrap onto rows instead of scrolling
   sideways, slightly smaller; less empty space before the first section. Phones only. */
@media (max-width:760px){
.cx .cx-chips{flex-wrap:wrap;overflow:visible;margin:10px 0 0;padding:0 0 10px;gap:5px;-webkit-mask-image:none!important;mask-image:none!important}
.cx .cx-chips a{min-height:30px;padding:3px 8px;font-size:12.5px;gap:5px}
.cx .cx-chips i{font-size:11px}
.cx .cx-g{margin-top:14px}
}
/* folded chip row on phones (site.js adds .fold when there are 10+ chips): first chip, current chip and a toggle */
@media (max-width:760px){
.cx .cx-chips.fold:not(.open) a:not(.on):not(:first-child){display:none}
.cx .cx-chips .cx-more{min-height:30px;padding:3px 8px;font-size:12.5px;font-weight:600;line-height:1.2;font-family:inherit;border:1.5px dashed var(--ink);background:#fff;color:var(--ink);cursor:pointer;margin-left:auto}
.cx .cx-chips.open .cx-more{margin-left:0}
}

/* phone bottom bar: English labels in capitals (进度检查会话 2026-11-11, user) */
html[lang^="en"] .tab a span{text-transform:uppercase;letter-spacing:.04em;font-size:10.5px}
@media (max-width:350px){html[lang^="en"] .tab a span{font-size:9.5px;letter-spacing:.02em}html[lang^="en"] .tab a.on span{padding:1px 3px}}

/* line under the Quick / Classic switch (进度检查会话 2026-11-11, user): says what this mode shows below; flashes when the mode changes */
.depth-note{margin:10px 0 0;font-size:13.5px;line-height:1.5;color:var(--mute)}
.depth-note span{color:var(--ink);font-weight:600}
.depth-note a{margin-left:8px;border-bottom:1.5px solid var(--ink);color:var(--ink);font-weight:600;white-space:nowrap}.depth-note a:hover{background:var(--mark)}
.depth-note.fl span{animation:dnfl 1.1s ease-out}
@keyframes dnfl{0%,35%{background:var(--mark)}100%{background:transparent}}
@media (prefers-reduced-motion:reduce){.depth-note.fl span{animation:none}}

/* Save button in the Quick / Classic row, right end, same format as those buttons (进度检查会话 2026-11-11, user).
   site.js moves it there; saved = yellow with a filled bookmark (black fill stays for the chosen reading mode). */
.depth .save{margin:0 0 0 auto;height:auto;padding:8px 20px;border:2px solid var(--ink);font-size:14px;font-weight:600;line-height:inherit;gap:7px}
.depth .save svg{width:16px;height:16px}
.depth.only{justify-content:flex-end}
@media (max-width:760px){
.depth{flex-wrap:nowrap}
.depth button{padding:7px 12px}
.depth .save{height:auto;margin-top:0;padding:7px 12px}
}
@media (max-width:350px){.depth{font-size:13px}.depth button,.depth .save{padding:7px 9px}.depth .save{font-size:13px}}

/* left edge (进度检查会话 2026-11-11, user): the full-width rules under the header, era bar and page heads, and above the
   footer, started at the container edge while all text starts one gutter in. They now start where the text starts; on the
   right they still run to the container edge, flush with the header picture. Desktop / tablet only. */
@media (min-width:761px){
.top,.eras,.bn,.ph,.ih,.foot{border-image:linear-gradient(to right,transparent 0,transparent var(--pad),var(--ink) var(--pad),var(--ink) 100%) 1}
}

/* Save button without a frame (进度检查会话 2026-11-11, user: the boxed button was too loud). Icon + label only; saved = filled bookmark on a small yellow ground. */
.save,.depth .save{border:0;background:none;padding-left:6px;padding-right:6px}
.depth .save{padding-top:8px;padding-bottom:8px;margin-right:-6px}
.save:hover{background:none}.save:hover span{background:var(--mark)}
.save.on{background:none}.save.on span{background:var(--mark);padding:1px 4px;margin:0 -4px}
@media (max-width:760px){.depth .save{padding-left:6px;padding-right:6px}}
.depth .save.on{background:none;color:var(--ink)}
/* person chapters: events in this chapter (网站重建 2026-11-11) */
.body p.ch-ev{font-size:13.5px;line-height:1.75;margin:4px 0 30px;color:var(--ink)}.ch-ev span{color:var(--mute);margin-right:4px}
.ch-ev a{border-bottom:1px solid #bbb}.ch-ev a:hover{background:var(--mark)}.ch-ev a i{font:500 13px var(--num);font-style:normal;color:var(--mute)}
/* user 2026-11-11: the line under the switch keeps only the description, no jump link */
.depth-note a{display:none}
/* no negative margin on the frameless Save button: it made the row 6px wider than its box (check_layout) */
.depth .save{margin-right:0;padding-right:0}
@media (max-width:760px){.depth .save{padding-right:0}}

/* ---- era essays (进度检查会话 2026-11-12): teaser on era pages, plain essay pages, in-place reading panel ---- */
.ea-k{font:600 12px var(--num);letter-spacing:.08em;color:var(--ink)}.ea-k::before{content:"";display:inline-block;width:10px;height:10px;background:var(--mark);margin-right:8px}
.ec.ein span::after{content:" →"}.ec.off{color:var(--faint)}.ec.off b{color:var(--faint)}.ec.off small{color:var(--faint)}
.es{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:44px;padding:30px var(--pad) 32px;border-bottom:1px solid var(--ink)}
.es h2{font-size:30px;line-height:1.3;margin:12px 0 12px;border:0;padding:0;display:block}
.es-p{font-size:15.5px;line-height:1.85;color:#1a1a1a;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.es-go{display:inline-flex;align-items:baseline;gap:12px;margin-top:18px;padding:11px 18px;background:var(--ink);color:#fff;font-weight:600;font-size:15px}
.es-go small{font:400 12.5px var(--num);color:#ddd}.es-go:hover{background:var(--mark);color:var(--ink)}.es-go:hover small{color:var(--ink)}
.es-toc{list-style:none;margin:0;padding:0;border-top:1px solid var(--ink);align-self:start;display:grid;grid-template-columns:1fr 1fr;column-gap:28px}
.es-toc a{display:grid;grid-template-columns:30px 1fr;gap:8px;padding:8px 0;border-bottom:1px solid var(--line);font-size:14.5px;line-height:1.5}
.es-toc i{font:300 17px var(--num);font-style:normal;color:var(--mute)}.es-toc a:hover{background:var(--mark)}
.ea-page{padding:0 var(--pad) 40px;max-width:calc(720px + var(--pad)*2);margin:0 auto}.ea-back{margin:26px 0 0;font-size:14px}.ea-back a{border-bottom:1px solid var(--ink)}.ea-back a:hover{background:var(--mark)}
.era-art{padding-top:30px}.era-art h1{font-size:44px;font-weight:600;line-height:1.15;margin-top:12px}.ea-s{font-size:19px;line-height:1.6;color:var(--mute);margin-top:10px}
.era-art .body{padding-top:14px}
.er{position:fixed;inset:0;z-index:120;background:rgba(17,17,17,.55);display:flex;justify-content:center;align-items:stretch;padding:28px 20px}
.er-p{position:relative;background:#fff;border:2px solid var(--ink);width:min(860px,100%);display:flex;flex-direction:column;min-height:0}
.er-h{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px 10px 28px;border-bottom:1px solid var(--ink);flex:none}
.er-h span{font-size:13px;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.er-x{font:inherit;font-size:14px;font-weight:600;border:0;background:none;padding:10px 12px;min-height:44px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;color:var(--ink);white-space:nowrap}
.er-x:hover{background:var(--mark)}.er-x::after{content:"×";font:300 24px/1 var(--num)}
.er-b{overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:0 56px 48px;flex:1;min-height:0}
.er-b .era-art{max-width:680px;margin:0 auto}.er-b .er-end{max-width:680px;margin:30px auto 0;border-top:1px solid var(--ink);padding-top:16px}
html.er-on,html.er-on body{overflow:hidden}
@media (max-width:760px){
.es{display:block;padding:20px var(--pad) 22px}.es h2{font-size:22px;margin:10px 0 8px}.es-p{font-size:15px;-webkit-line-clamp:3}.es-go{margin-top:14px;display:flex;justify-content:space-between}
.es-toc{display:none}
.era-art{padding-top:20px}.era-art h1{font-size:30px}.ea-s{font-size:16.5px}
.er{padding:0}.er-p{border-width:0;width:100%}.er-h{padding:6px 6px 6px var(--pad)}.er-b{padding:0 var(--pad) 40px}
}
@media (min-width:761px) and (max-width:1000px){.es{grid-template-columns:1fr}.es-toc{margin-top:4px}}
/* glossary hints and glossary page (2026-11-12, gloss.py / js/gloss.js). The hint only gets a style once JS has run (.js);
   the card reuses the link-preview card (.pk). */
.js .gw{border-bottom:1px dotted #9a9a9a;cursor:help;border-radius:0}
.js .gw:hover,.js .gw[aria-expanded=true]{background:rgba(255,214,10,.45);border-bottom-color:var(--ink)}
.js .gw:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
.pk.gk div{padding:12px 44px 12px 14px}.pk.gk small{font-size:12px}.pk.gk p{font-size:13.5px;line-height:1.65}
html[lang^=en] .pk.gk p{font-family:'Source Serif 4',Georgia,serif;font-size:14.5px}
.ix.gs{max-width:1240px}.ix.gs>*{max-width:880px}
.gs-n{color:var(--mute);font-size:14px;line-height:1.7;margin:4px 0 14px}
.gs-nav{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0 0 6px;font-size:14px}.gs-nav a{border-bottom:1.5px solid transparent;padding:4px 0}.gs-nav a:hover{border-color:var(--ink)}
.gs-nav i,.gs section h2 i{font-style:normal;color:var(--mute);font-size:12px;margin-left:5px;font-weight:400}
.gs section h2{font-size:20px;margin:0 0 4px;padding-bottom:8px;border-bottom:2px solid var(--ink)}
.gs-e{padding:16px 0;border-bottom:1px solid #e3e3e3;scroll-margin-top:96px}.gs-e:target{background:linear-gradient(90deg,var(--mark) 0 4px,transparent 4px);padding-left:14px}
.gs-e h3{font-size:18px;font-weight:700;margin:0 0 6px;color:var(--ink)}.gs-e h3 small{font-weight:400;font-size:13px;color:var(--mute);margin-left:10px;white-space:normal}
.gs-e p{font-size:16px;line-height:1.75;margin:0 0 6px;overflow-wrap:anywhere}.gs-e .gs-r{font-size:14px;color:var(--mute)}.gs-e .gs-r a{color:var(--ink);border-bottom:1px solid var(--ink)}
html[lang^=en] .gs-e p,html[lang^=en] .gs-e h3{font-family:'Source Serif 4',Georgia,serif}
@media (max-width:760px){.gs-e{scroll-margin-top:68px}.gs-e h3 small{display:block;margin:2px 0 0}.gs-e p{font-size:15.5px}}
/* era teaser keeps to the page width on wide screens, rule aligned with the other sections (用户 2026-11-12) */
.es{max-width:1240px;margin-left:auto;margin-right:auto}
@media (min-width:761px){.es{border-image:linear-gradient(to right,transparent 0,transparent var(--pad),var(--ink) var(--pad),var(--ink) 100%) 1}}
/* header picture must never set the header's height (用户 2026-11-12: tall pictures made headers 500-700px high).
   The picture contributes 0 to the row and then fills it: the header is as high as its text needs, at least 300px. */
@media (min-width:761px){.ph.wd .im{height:0;min-height:100%}}
/* chapter titles with an italic work title (*Genji*): the title is one box, so it wraps as one line of text (用户 2026-11-12) */
.body h2>span{min-width:0}.body h2>span em{font:inherit;font-style:italic;color:inherit;margin:0}.es-toc a>span em{font-style:italic}
/* 2026-11-12: the wide-screen banner padding was 40% / 35% — percentages resolve against the window, not the 1240px banner, so on very wide windows the title column shrank to nothing. Now fixed px (40% / 35% of 1240). */

/* ---- directory-page overviews (进度检查 2026-11-12): era digests on people / events indexes, region digests on places index ---- */
.dg{max-width:780px;margin:12px 0 20px}.dg p{font-size:15.5px;line-height:1.9;margin:0 0 10px;color:#1a1a1a}
.dg a{border-bottom:1px solid var(--ink)}.dg a:hover{background:var(--mark)}
.dg .dg-more{margin-top:12px;font-size:14px}.dg .dg-more a{font-weight:600;border-bottom:1.5px solid var(--ink)}
.dg.rg{margin:20px 0 26px}.dg.rg h2{font-size:26px;border:0;padding:0;margin:0 0 10px;display:block}
.dg-all{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid var(--ink);border-left:1px solid var(--ink);margin:18px 0 26px}
.dg-all a{display:block;padding:14px 16px 16px;border-right:1px solid var(--ink);border-bottom:1px solid var(--ink)}
.dg-all b{display:block;font-size:17px;margin-bottom:6px}.dg-all span{display:block;font-size:13.5px;line-height:1.7;color:var(--mute)}
.dg-all a:hover b{background:var(--mark);display:inline-block}
@media (max-width:760px){.dg p{font-size:15px;line-height:1.85}.dg.rg h2{font-size:21px}.dg-all{grid-template-columns:1fr}.dg-all a{padding:12px 14px}}
.dg details{margin:0 0 6px}.dg summary{cursor:pointer;font-size:14px;font-weight:600;display:inline-block;border-bottom:1.5px solid var(--ink);list-style:none;margin-bottom:10px}
.dg summary::-webkit-details-marker{display:none}.dg summary::after{content:" ▾"}.dg details[open] summary{display:none}.dg summary:hover{background:var(--mark)}
/* 用户 2026-11-12: digests run the full page width; "read the full introduction" and "read on" are quiet buttons, not underlined links */
.dg{max-width:none}
.dg .dg-more{margin-top:14px}
.dg .dg-more a,.dg summary{display:inline-block;font-size:13.5px;font-weight:500;padding:7px 14px;border:1px solid var(--ink);border-bottom:1px solid var(--ink);background:#fff;color:var(--ink);line-height:1.4}
.dg .dg-more a:hover,.dg summary:hover{background:var(--mark)}
.dg summary{margin-bottom:12px}
/* places map: labels that found no free position are left out; region overview above the map, folded */
.jc .cd.nl text{display:none}.jc.zoom .cd.sm.nl:not(.dim) text{display:none}.jc .cd.dim text{display:none}
.mdg{margin:14px 0 6px}.mdg p{font-size:14.5px;line-height:1.8}
.mdg>p:first-child{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:8px}
.mdg:has(details[open])>p:first-child{display:block;margin-bottom:10px}
/* user 2026-11-12: "read on" and "read the full introduction" sit on one line while the digest is folded */
.dg:has(>details:not([open])){display:flex;flex-wrap:wrap;gap:0 10px;align-items:flex-start}
.dg:has(>details:not([open]))>p:first-child{flex:0 0 100%}
.dg:has(>details:not([open])) .dg-more{margin:0}
.dg:has(>details:not([open])) summary{margin-bottom:0}
/* hidden region overviews must stay hidden: the one-line button rule above set display:flex and showed all six (user 2026-11-12) */
.dg[hidden]{display:none!important}
.info ul.credits{font-size:14px;line-height:1.6;padding-left:1.1em}.info ul.credits li{overflow-wrap:anywhere;margin:0 0 8px}  /* sources page image credits (指令窗口 2026-11-12) */
/* places index: cities share rows, each spans as many columns as it has sites (指令窗口, user 2026-11-12) */
.cx-cities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 14px;grid-auto-flow:dense;align-items:start;margin-top:22px}
.cx-cities .cx-g{margin-top:0;min-width:0;grid-column:1/-1}.cx-cities .cx-g h2{min-width:0}.cx-cities .cx-g h2 a{overflow-wrap:anywhere}
.cx-cities .cx-g .cc{margin-bottom:14px}.cx-cities .cx-g .cc:last-child{margin-bottom:0}
.cx-cities .s1{grid-column:span 1}.cx-cities .s1 .cx-feed{columns:1}
.cx-cities .s2{grid-column:span 2}.cx-cities .s2 .cx-feed{columns:2}
.cx-cities .s3{grid-column:span 3}.cx-cities .s3 .cx-feed{columns:3}
.cx-cities .s4 .cx-feed{columns:4}
@media (max-width:1080px){.cx-cities{grid-template-columns:repeat(3,minmax(0,1fr))}.cx-cities .s3{grid-column:1/-1}.cx-cities .s4 .cx-feed{columns:3}}
@media (max-width:760px){.cx-cities{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 10px}.cx-cities .s2,.cx-cities .s3{grid-column:1/-1}.cx-cities .s3 .cx-feed,.cx-cities .s4 .cx-feed{columns:2}.cx-cities .cx-g h2{font-size:17px}}
/* places map: a city's sites as small cards, picture above the name, three to a row (指令窗口, user 2026-11-12) */
.cps .cp .li.pl{display:inline-block;vertical-align:top;position:relative;width:calc((100% - 20px)/3);margin:10px 10px 4px 0;padding:0;border:0}
.cps .cp .li.pl:nth-child(3n+1){margin-right:0}
.cps .cp .li.pl img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;margin-bottom:6px}
.cps .cp .li.pl a{display:block}.cps .cp .li.pl a::after{content:"";position:absolute;inset:0}
.cps .cp .li.pl a b{font-size:13.5px;line-height:1.4;font-weight:700;overflow-wrap:anywhere}.cps .cp .li.pl p:empty{display:none}
.cps .cp .li.pl.ni{border-top:2px solid var(--ink);padding-top:6px}

/* 返回机制 (2026-11-12): the label's Back button stays at the top on every width; below 1080px a floating copy joins the
   contents / back-to-top row once the reader scrolls. Header labels link to their section / era / theme / city; Back button.
   Look unchanged (yellow label); underline on hover; on touch screens each link's tap area is at least 44px tall. */
.kick a{color:inherit;text-decoration:none}.kick a:hover,.kick a:focus-visible{text-decoration:underline;text-underline-offset:2px}
@media (pointer:coarse){.kick a{position:relative}.kick a::after{content:'';position:absolute;left:-4px;right:-4px;top:50%;height:44px;transform:translateY(-50%)}}
.kick .bk{font:inherit;font-weight:600;letter-spacing:inherit;background:none;border:0;padding:2px 8px 2px 0;margin-right:6px;color:var(--ink);cursor:pointer}
.kick .bk:hover{text-decoration:underline}.kick .bk[hidden]{display:none}
html.has-bk .kick{display:flex;flex-wrap:wrap;align-items:center;row-gap:4px}   /* a long label moves under Back as a whole */
.kick .bk span{background:none;padding:0}.bn.dark .kick .bk span{background:none}
@media (pointer:coarse){.kick .bk{position:relative}.kick .bk::after{content:'';position:absolute;left:0;right:0;top:50%;height:44px;transform:translateY(-50%)}}
.bkf{display:none}
@media (max-width:1080px){
  .bkf{display:flex;position:fixed;left:16px;bottom:24px;z-index:80;width:44px;height:44px;border:2px solid var(--ink);background:#fff;align-items:center;justify-content:center;cursor:pointer;transition:opacity .2s ease,transform .2s ease}
  .bkf svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .bkf[hidden]{display:none}.bkf.fl-off{opacity:0;transform:translateY(12px);pointer-events:none}
  html.fl-bk .tocb{left:68px}
}
@media (max-width:760px){.bkf{bottom:calc(76px + env(safe-area-inset-bottom))}}
@media (prefers-reduced-motion:reduce){.bkf{transition:none}}
/* ===== account pages and My HO (指令窗口 2026-11-12; markup in account.py, behaviour in js/account.js) ===== */
.ac{padding-bottom:72px}.ac a{border-bottom:1.5px solid var(--ink)}.ac a:hover{background:var(--mark)}
.ac-2{display:grid;grid-template-columns:minmax(0,420px) minmax(0,380px);gap:72px;padding-top:34px;align-items:start}
.ac-panel{min-width:0}.ac fieldset{border:0;padding:0;margin:0;min-width:0}.ac fieldset:disabled{opacity:.55}
.ac-f{display:block;margin-bottom:16px}.ac-f>span:first-child{display:block;font-size:13px;font-weight:600;margin-bottom:5px}
.ac-in{display:flex;border:2px solid var(--ink);background:#fff}.ac-in:focus-within{outline:3px solid var(--mark);outline-offset:2px}
.ac-in input{flex:1;min-width:0;font:inherit;font-size:16px;padding:11px 12px;border:0;background:none;border-radius:0;-webkit-appearance:none;outline:0}.ac-in input[readonly]{color:var(--mute);background:#f6f6f6}
.ac-show{font-size:13px;font-weight:600;padding:0 14px;border-left:1px solid var(--line);color:var(--mute);min-width:56px}.ac-show:hover{color:var(--ink);background:var(--mark)}
.ac-f small{display:block;font-size:12px;color:var(--mute);margin-top:4px}
.ac .ac-b,.ac .ac-b2,.ac-g{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:0 26px;font:inherit;font-size:15px;font-weight:600;border:2px solid var(--ink);border-radius:0;cursor:pointer;text-decoration:none}
.ac .ac-b{background:var(--ink);color:#fff}.ac .ac-b:hover{background:var(--mark);color:var(--ink)}.ac .ac-b2,.ac-g{background:#fff;color:var(--ink)}.ac .ac-b2:hover,.ac-g:hover{background:var(--mark)}
.ac button:disabled{opacity:.5;cursor:default}.ac-form .ac-b{width:100%;margin-top:6px}.ac-g{width:100%}
.ac-or{display:flex;align-items:center;gap:14px;margin:20px 0;font-size:12px;color:var(--mute)}.ac-or::before,.ac-or::after{content:"";flex:1;border-top:1px solid var(--line)}
.ac-note{font-size:14px;line-height:1.75;color:var(--mute);margin:0 0 18px}
.ac-msg{margin:18px 0 0;padding:12px 14px;border-left:4px solid var(--ink);background:#f6f6f6;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.ac-msg.ok{border-left-color:var(--mark);background:#fffbe0}.ac-msg:focus{outline:0}
.ac-links{margin-top:26px;font-size:14px}.ac-links p{margin:9px 0}
.ac-why{border-top:4px solid var(--ink);padding-top:14px}.ac-why h2{font-size:15px;font-weight:700;margin-bottom:6px}.ac-why ol{list-style:none;padding:0;margin:0}
.ac-why li{display:grid;grid-template-columns:52px 1fr;gap:0 8px;padding:16px 0;border-bottom:1px solid var(--line)}.ac-why li i{grid-row:span 2;font:200 30px/1 var(--num);font-style:normal;color:var(--faint)}
.ac-why li b{font-size:16px}.ac-why li p{font-size:13.5px;line-height:1.7;color:var(--mute);margin-top:2px}.ac-free{font-size:13.5px;color:var(--mute);margin-top:16px}
.ac-set{max-width:820px}.ac-sec{display:grid;grid-template-columns:200px minmax(0,1fr);gap:8px 40px;padding:26px 0;border-bottom:1px solid var(--line)}.ix .ac-sec{padding-top:26px}
.ac-sec h2{font-size:17px;font-weight:700}.ac-sec p{font-size:14px;line-height:1.75;margin:0 0 12px}.ac-sec form{max-width:420px}.ac-sec .ac-b{width:auto}
.ac-row{display:flex;flex-wrap:wrap;gap:10px}.ac-dim{color:var(--mute)}.ac-st{font-weight:600}.ac-guest{padding:34px 0}.ac-guest p{margin-bottom:14px}
.my-acct{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 30px;margin-top:28px;padding:18px 22px;border:2px solid var(--ink)}
.my-acct b{font-size:18px}.my-acct p{font-size:13.5px;color:var(--mute);margin:2px 0 0;overflow-wrap:anywhere}.my-acts{display:flex;flex-wrap:wrap;gap:10px}.my-acts [hidden]{display:none}
.my-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--ink);margin-top:8px}
.my-st{padding:26px 0 20px}.my-st+.my-st{border-left:1px solid var(--line);padding-left:26px}.my-st b{display:block;font:200 64px/1 var(--num)}.my-st span{font-size:13px;font-weight:600;color:var(--mute)}
.my-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 56px}
.ix .my-sec{padding-top:38px}.my-sec h2{font-size:20px;font-weight:700;border-bottom:2px solid var(--ink);padding-bottom:6px;display:flex;align-items:baseline;gap:10px}
.my-sec h2 i{font:400 12px var(--num);font-style:normal;color:var(--mute)}.my-sub{font-size:13px;color:var(--mute);margin:8px 0 0}
.my-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.ac .my-row a{border:0;display:block;min-width:0}.ac .my-row a:hover{background:none}.my-row a:hover b{background:var(--mark)}
.my-row small{display:block;font-size:11.5px;font-weight:600;color:var(--faint);letter-spacing:.04em}.my-row b{font-size:16px;line-height:1.45}.my-row a span{display:block;font-size:12.5px;color:var(--mute);margin-top:2px}
.my-bar{display:block;width:120px;height:4px;background:#e8e8e8}.my-bar i{display:block;height:4px;background:var(--ink)}
.my-x{width:36px;height:36px;font-size:20px;line-height:1;color:var(--faint)}.my-x:hover{color:var(--ink);background:var(--mark)}
.my-none{font-size:14px;color:var(--mute);padding:16px 0;line-height:1.75}
.my-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 2px}.my-tabs button{font-size:13px;font-weight:600;padding:5px 12px;border:1.5px solid var(--ink);min-height:32px}.my-tabs button.on,.my-tabs button:hover{background:var(--mark)}
.my-eras{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 40px;margin-top:6px}
.ac .my-era{display:block;padding:14px 0;border:0;border-bottom:1px solid var(--line)}.ac .my-era:hover{background:none}.my-era:hover b{background:var(--mark)}.my-era b{font-size:16px}
.my-era span{display:grid;grid-template-columns:44px minmax(0,1fr) 62px;gap:10px;align-items:center;font-size:12px;color:var(--mute);margin-top:6px}.my-era em{font-style:normal}.my-era u{text-decoration:none;text-align:right;font-family:var(--num)}.my-era .my-bar{width:auto}
@media (max-width:900px){.ac-2{grid-template-columns:minmax(0,420px);gap:44px}.my-grid{grid-template-columns:minmax(0,1fr)}.my-eras{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.ac-sec{grid-template-columns:minmax(0,1fr)}}
@media (max-width:760px){.ac-2{padding-top:22px}.my-acct{padding:16px}.my-st b{font-size:44px}.my-st+.my-st{padding-left:14px}.my-eras{grid-template-columns:minmax(0,1fr)}.my-bar{width:72px}.ac .ac-b,.ac .ac-b2{padding:0 18px}.my-x{width:44px;height:44px}.my-tabs button{min-height:36px}}
.ac [hidden]{display:none!important}
.ac-sec h2{border:0;padding:0;align-self:start}
/* read marks, "want to go", era complete (指令窗口 2026-11-12, user) */
.rd-t{display:inline-block;margin-left:6px;padding:0 4px;font:700 11px/16px var(--num);font-style:normal;background:var(--mark);color:var(--ink);vertical-align:2px}
.depth .save.wish{margin-left:auto;margin-right:2px}.depth .save.wish+.save{margin-left:0}
@media (max-width:520px){.depth .save.wish span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.depth .save.wish{padding-left:8px;padding-right:8px}}
.my-wish{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,340px);gap:0 56px;align-items:start}.my-wish>div:only-child,.my-wish>[data-wish]:has(.my-none){grid-column:1/-1}
.my-city h3{font-size:13px;font-weight:700;color:var(--mute);margin:18px 0 0;padding-bottom:4px}.my-city h3 a{border:0}
.my-n{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:8px;border:1.5px solid var(--ink);border-radius:50%;font:600 11px var(--num);font-style:normal;vertical-align:2px}
.my-map{margin-top:16px}.my-map .wm{display:block;width:100%;height:auto}.wm circle{fill:var(--mark);stroke:var(--ink);stroke-width:1.5}.wm text{font:600 10px var(--num);text-anchor:middle;fill:var(--ink)}
.my-tag{margin-left:8px;padding:1px 6px;font-size:11px;font-weight:700;font-style:normal;background:var(--mark)}
@media (max-width:900px){.my-wish{grid-template-columns:minmax(0,1fr)}.my-map{max-width:340px}}
.rd-t{flex:0 0 auto;justify-self:start;width:auto;max-width:max-content;white-space:nowrap}
/* header pictures for era essays (指令窗口 2026-11-12) */
.ea-img{display:block;width:100%;max-width:560px;height:auto;margin:22px 0 4px}.er-b .ea-img{margin-left:auto;margin-right:auto}
.es-img{display:block;width:100%;max-width:360px;height:auto;margin:0 0 14px -8px}
@media (max-width:760px){.es-img{display:none}.ea-img{margin-top:16px}}
/* read mark made smaller and quieter (user 2026-11-12): a small grey tick, no yellow ground */
.rd-t{background:none;color:var(--faint);padding:0;margin-left:6px;font:400 12px/1 var(--num);vertical-align:1px;letter-spacing:0}
b>.rd-t.rd-t,a .rd-t.rd-t{font:400 12px/1 var(--num)!important;color:var(--faint)!important;background:none!important;padding:0!important;margin:0 0 0 6px!important;width:auto!important;height:auto!important;border:0!important;display:inline!important;vertical-align:1px}
/* "want to go" map no longer shares .jc with the places map (it broke site.js on My HO, 2026-11-12) */
.wm .land{fill:#ececec;stroke:var(--ink);stroke-width:.8;vector-effect:non-scaling-stroke}
/* 404 page (指令窗口 2026-11-12, user) */
.nf{padding-bottom:72px}.nf h2,.nf-l{max-width:900px}.nf-a{display:flex;flex-wrap:wrap;gap:10px;margin:30px 0 8px}
.nf-b,.nf-b2{display:inline-flex;align-items:center;min-height:46px;padding:0 26px;font-size:15px;font-weight:600;border:2px solid var(--ink)}.nf-b{background:var(--ink);color:#fff}.nf-b:hover,.nf-b2:hover{background:var(--mark);color:var(--ink)}
.nf h2{font-size:20px;font-weight:700;border-bottom:2px solid var(--ink);padding-bottom:6px;margin-top:38px}.nf-l{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}
.nf-l a{display:flex;align-items:baseline;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}.nf-l b{font-size:18px;white-space:nowrap}.nf-l span{font-size:13.5px;color:var(--mute)}.nf-l a:hover b{background:var(--mark)}
@media (max-width:760px){.nf-l{grid-template-columns:minmax(0,1fr)}.nf-a{margin-top:22px}}
.pv-an section{padding-top:0}.ho-analytics-settings{margin-top:14px}

/* v5.1 (用户 2026-11-12) — era page: picture right of the title block; the essay block below no longer carries it */
.ih.eh{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:22px;padding-bottom:18px}
.ih.eh .eh-t{min-width:0}
.eh-img{display:block;height:220px;width:auto;aspect-ratio:3/2;object-fit:contain;flex:none;margin:-6px -8px -6px 0}
@media (max-width:1000px){.eh-img{height:170px}}
@media (max-width:760px){.ih.eh{display:block}.eh-img{display:none}}
/* v5.1 — places: List / Map switch (same family as Browse / Index / Guides, one size smaller; current = yellow) */
.cx-row{display:flex;align-items:flex-start;gap:12px}
.cx-row>.cx-chips{flex:1 1 auto;min-width:0}
.lmt{display:flex;flex:none;margin-left:auto}
.lmt a{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:4px 12px;border:2px solid var(--ink);margin-right:-2px;font-size:13.5px;font-weight:600;white-space:nowrap;background:#fff}
.lmt a:last-child{margin-right:0}.lmt a.on{background:var(--mark)}.lmt a:not(.on):hover{background:#f4f4f4}
.lmt svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.map-row{justify-content:space-between;margin-bottom:16px}.map-row .rgn{margin-bottom:0}
@media (max-width:760px){.cx-row{flex-direction:column-reverse;gap:8px}.lmt{margin-left:0}.map-row{flex-direction:column;align-items:flex-start}.map-row .lmt{order:-1}}

/* Home People / Events / Culture (用户 2026-11-12): equal columns, 6 rows of one fixed height, square picture right */
.cols.hcols{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}
.hcols h2 a{white-space:nowrap;margin-left:12px}
.hl{display:grid;grid-template-columns:minmax(0,1fr)}
.hr{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:16px;align-items:center;height:132px;padding:12px 0;border-bottom:1px solid var(--line);box-sizing:border-box;overflow:hidden}
.hr .ht{display:flex;flex-direction:column;min-width:0;align-self:start}
.hr small{font-size:12px;line-height:18px;color:var(--faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hr b{font-size:16px;font-weight:600;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hr:hover b{background:var(--mark)}
.hr .hd{font-size:13px;line-height:1.55;color:var(--mute);margin-top:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hr img{display:block;width:88px;height:88px;object-fit:cover;object-position:center}
.hr.p img{object-position:center 15%}.hr.e img{object-position:right center}
@media (max-width:1100px) and (min-width:761px){.cols.hcols{display:block}.hcols>div+div{margin-top:30px}.hl{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px}}
@media (max-width:760px){.hr{grid-template-columns:minmax(0,1fr) 68px;gap:12px;height:122px;padding:10px 0}.hr img{width:68px;height:68px}.hr b{font-size:15px}.hr .hd{font-size:12.5px;line-height:1.5;margin-top:2px}.hr small{font-size:11.5px;line-height:17px}}
/* phones, English (指令窗口, user 2026-11-12): the seven footer links sit on one line (Privacy no longer drops to the next), the copyright line and
   the language switch share the line below; bottom tab labels a little larger */
@media (max-width:760px){
html[lang^="en"] .foot{justify-content:space-between;column-gap:6px;row-gap:14px;font-size:11.5px;letter-spacing:-.01em}
html[lang^="en"] .foot .r{flex:1 1 auto;width:auto;margin-left:0;letter-spacing:0}html[lang^="en"] .foot .lang{letter-spacing:0}
html[lang^="en"] .tab a span{font-size:11.5px;letter-spacing:.01em}html[lang^="en"] .tab a.on span{padding:1px 3px}
}
@media (max-width:350px){html[lang^="en"] .foot{font-size:10.5px;column-gap:3px}html[lang^="en"] .tab a span{font-size:10px;letter-spacing:0}html[lang^="en"] .tab a.on span{padding:1px 2px}}
/* places index: main-city tiles, region city list, two-line city summaries (user 2026-11-12) */
.cx-top,.cx-cl{margin:16px 0 4px}.cx-top h2,.cx-cl h2{font-size:12.5px;font-weight:600;color:var(--mute);letter-spacing:.06em;margin:0 0 8px}
.cx-top div{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.cx-top a{display:block;min-width:0}.cx-top img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;background:var(--line);margin-bottom:7px}
.cx-top b{display:inline;font-size:16px;font-weight:700}.cx-top i{display:block;font:400 12px var(--num);color:var(--mute);font-style:normal;margin-top:1px}.cx-top a:hover b{background:var(--mark)}
.cx-cl div{display:flex;flex-wrap:wrap;gap:4px 18px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.cx-cl a{font-size:15px;font-weight:600;white-space:nowrap;padding:3px 0}.cx-cl a i{font:400 12px var(--num);color:var(--mute);font-style:normal;margin-left:5px}.cx-cl a:hover{background:var(--mark)}
.cx-cities .cx-g h2{margin-bottom:8px}.cx-cities .cx-g h2 .cx-only{white-space:nowrap}
.cx-cd{font-size:13.5px;line-height:1.65;color:var(--mute);margin:0 0 12px;min-height:3.3em}.cx-cd a{display:flex;align-items:flex-end;gap:6px}.cx-cd span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-width:0}.cx-cd b{display:none;flex:none;font-weight:400;color:var(--ink)}
.cx-cd a{color:inherit}.cx-cd a:hover{color:var(--ink)}
@media (max-width:1080px){.cx-cities .s1 h2 .cx-only{display:none}.cx-cities .s1 .cx-cd b{display:block}}
@media (max-width:760px){.cx-top div{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}.cx-top b{font-size:14.5px}.cx-cl div{gap:2px 14px}.cx-cl a{font-size:14px}
.cx-cities .cx-g h2 .cx-only{display:none}.cx-cd b{display:block}.cx-cd{font-size:12.5px;line-height:1.6;min-height:3.2em;margin-bottom:10px}}
/* phone home page: no era strip under the header, the bottom tab already has Eras (user 2026-11-12) */
@media (max-width:760px){.eras.eras-home{display:none}}
.cx-cities .s4 .cx-cd{min-height:0}
/* phones: region menu under the region buttons (user 2026-11-13); desktop keeps the city line */
.cx-rms{display:none}
@media (max-width:760px){
.cx.rm-on .cx-cl{display:none}.cx.rm-on .cx-rms{display:block}
.cx-rm{border:1.5px solid var(--ink);margin:2px 0 14px;background:#fff}
.cx-rm-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:11px 12px 10px;border-bottom:1.5px solid var(--ink);background:var(--mark)}
.cx-rm-h b{font-size:13.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}html[lang^="zh"] .cx-rm-h b{font-size:16px;letter-spacing:.04em}
.cx-rm-h i{font:400 12.5px var(--num);font-style:normal;white-space:nowrap}
.cx-rm div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;padding:4px 12px 6px}
.cx-rm div a{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:9px 0;font-size:15px;border-bottom:1px solid var(--line);min-width:0}
.cx-rm div a i{font:400 12px var(--num);color:var(--mute);font-style:normal}
.cx .cx-chips a[aria-expanded="true"]{background:var(--ink);color:#fff}.cx .cx-chips a[aria-expanded="true"] i{color:#ddd}
}
/* home page: Guides section, four pictured guides, one per category (user 2026-11-13) */
.hgd{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-top:14px}
.hgd a{display:block;min-width:0}.hgd img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border:1px solid var(--line);background:#fff}
.hgd small{display:block;font-size:12px;color:var(--mute);margin-top:10px;letter-spacing:.04em}.hgd b{display:block;font-size:17px;font-weight:600;line-height:1.4;margin-top:3px}.hgd a:hover b{background:var(--mark);display:inline}
.hgd span{font-size:13px;color:var(--mute);line-height:1.6;margin-top:5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
@media (max-width:1080px){.hgd{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}}
@media (max-width:760px){.hgd{gap:18px 10px}.hgd b{font-size:15px}.hgd span{font-size:12px}}
/* guides pages redesigned (user 2026-11-13): HO Essentials band, pictured cards, compact rows, HO Guides by region */
.ix.gx.gx2>*,.gx.gx2>.gsec,.gx.gx2>.gnav{max-width:none}
.gcards{list-style:none;padding:0;margin:16px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px}.gcards.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.gcards a{display:block}.gcards img,.gcards em{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border:1px solid var(--line);background:#fff}.gcards em{background:#f4f4f4}
.gcards div{position:relative;padding-top:10px}.gcards small{display:block;font-size:12px;color:var(--mute);letter-spacing:.03em}
.gcards b{display:inline;font-size:17px;font-weight:700;line-height:1.45}.gcards a:hover b{background:var(--mark)}
.gcards p{font-size:13.5px;line-height:1.65;color:#444;margin-top:5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.gcards.g4 b{font-size:16px}.gcards.g4 p{-webkit-line-clamp:2;font-size:13px}
.ge{border:2px solid var(--ink);padding:22px 24px 26px;margin-top:8px}.ge-h{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 28px;align-items:baseline}
.ge-h h2{font-size:24px;font-weight:700;background:var(--mark);padding:2px 8px;justify-self:start}.ge-h p{font-size:14.5px;line-height:1.7;color:#333;max-width:640px}
.ge-c{counter-reset:none}.ge-c div{padding-left:46px}.ge-c i{position:absolute;left:0;top:8px;font:200 34px/1 var(--num);color:#8a8a8a;font-style:normal;letter-spacing:-.02em}
.gcat{margin-top:44px}.gcat h2 a{margin-left:auto;font-size:13px;font-weight:600;color:var(--mute);white-space:nowrap}.gcat h2 a:hover{color:var(--ink);background:var(--mark)}
.ge-ptr{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:baseline;border:1.5px solid var(--ink);padding:12px 16px;margin-top:8px}
.ge-ptr b{font-size:15px;font-weight:700;background:var(--mark);padding:1px 6px;white-space:nowrap}.ge-ptr span{font-size:14px;color:#333;line-height:1.6}.ge-ptr i{font-style:normal}.ge-ptr:hover{background:#fafafa}
.gho-e{margin-top:22px}.gho-p{font-size:14px;color:#444;margin:10px 0 2px}
.gsub{margin-top:30px}.gsub h3{font-size:16px;border-bottom:1px solid var(--ink);padding-bottom:5px;margin:0}
.grow{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px}.grow li{border-bottom:1px solid var(--line)}
.grow a{display:block;padding:12px 0 12px 12px;margin-left:-12px;border-left:4px solid transparent}.grow a:hover{border-left-color:var(--mark)}.grow a:hover b{box-shadow:inset 0 -5px 0 var(--mark)}
.grow b{font-size:15.5px;font-weight:700;line-height:1.45}.grow p{font-size:13px;line-height:1.6;color:#444;margin-top:2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hglist.hg2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px}.gho .gnav{margin-top:12px}.gho .gsub{scroll-margin-top:70px}
@media (max-width:1080px){.gcards,.gcards.g4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.gcards,.gcards.g4{gap:20px 12px}.gcards b,.gcards.g4 b{font-size:15px}.gcards p,.gcards.g4 p{font-size:12.5px;-webkit-line-clamp:2}
.ge{padding:16px 14px 18px;margin-left:-4px;margin-right:-4px}.ge-h{grid-template-columns:1fr}.ge-h h2{font-size:20px}.ge-c div{padding-left:0}.ge-c i{position:static;display:block;font-size:24px;margin-bottom:2px}
.ge-ptr{grid-template-columns:minmax(0,1fr) auto;gap:4px 10px}.ge-ptr b{justify-self:start}.ge-ptr span{grid-column:1;font-size:13px}.ge-ptr i{grid-row:1/3;grid-column:2;align-self:center}
.grow,.hglist.hg2{grid-template-columns:1fr}.gcat{margin-top:34px}}
.gx.gx2{max-width:none}
.ix.gx.gx2{max-width:1240px}
/* guides pages, second pass (user 2026-11-13): sub-section tabs, block headings, placeholder tile, home pointer bar */
.gtab{margin:0 0 14px}.gtab a{font-size:14px;padding:7px 13px}.gblk{margin-top:26px;scroll-margin-top:76px}.gblk h2{font-size:22px}.gcat,.ge{scroll-margin-top:76px}
.gx2>.ge-ptr{margin-top:0}
.gcards em.gph{display:flex;align-items:center;justify-content:center;background:#faf6e4;border:1px solid var(--line)}.gcards em.gph span{font-size:26px;font-weight:700;letter-spacing:.2em;color:#b9a646;font-style:normal;text-indent:.2em}
.hm-ge{padding:14px 0 16px var(--pad);max-width:1240px;margin:0 auto}.hm-ge .ge-ptr{margin-top:0}.hm-m{display:none}
@media (max-width:760px){.gtab{flex-wrap:wrap}.gtab a{font-size:13px;padding:5px 10px}.gblk h2{font-size:19px}.gcards em.gph span{font-size:18px}.hm-ge{padding-top:10px}}
@media (max-width:760px){.hm-d{display:none}.hm-m{display:block;padding:16px var(--pad) 4px}}
/* read tick in HO yellow (user 2026-11-13) */
.rd-t{color:var(--mark);font-weight:700}b>.rd-t.rd-t,a .rd-t.rd-t{color:var(--mark)!important;font:700 13px/1 var(--num)!important}
/* phones, culture themes: one selector row, the theme list opens under it in two columns (user 2026-11-13) */
.cx-sel{display:none}
@media (max-width:760px){
.cx-sel{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:baseline;gap:10px;width:100%;margin:12px 0 0;padding:11px 12px;border:1.5px solid var(--ink);background:#fff;color:var(--ink);font-family:inherit;text-align:left;cursor:pointer}
.cx-sel small{font-size:12px;color:var(--mute);letter-spacing:.06em}.cx-sel b{font-size:16px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cx-sel i{font:400 12.5px var(--num);color:var(--mute);font-style:normal}
.cx-sel span{font-size:12px;transition:transform .15s}.cx-sel.open{background:var(--mark)}.cx-sel.open span{transform:rotate(180deg)}
.cx .cx-chips.drop{display:none;margin:0 0 6px;padding:2px 12px 6px;border:1.5px solid var(--ink);border-top:0;gap:0}
.cx .cx-chips.drop.open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px}
.cx .cx-chips.drop a{border:0;border-bottom:1px solid var(--line);padding:10px 0;min-height:0;font-size:14.5px;font-weight:500;justify-content:space-between;white-space:normal;gap:8px;background:none}
.cx .cx-chips.drop a.on{font-weight:700;box-shadow:inset 3px 0 0 var(--mark);padding-left:8px;background:none}
}
/* phones, Chinese: larger bottom tab labels (user 2026-11-13) */
@media (max-width:760px){html[lang^="zh"] .tab a span{font-size:15px;letter-spacing:.04em}html[lang^="zh"] .tab a{padding:11px 0 13px}}
/* period overviews on People / Events (user 2026-11-13): "This period in brief" beside the period name, Expand / Close, bold links without underline */
.h2l{display:inline-flex;align-items:baseline;gap:22px;min-width:0;flex-wrap:wrap;row-gap:4px}
a.pb{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--ink);white-space:nowrap;letter-spacing:0}
a.pb i{flex:none;width:11px;height:11px;background:var(--mark);display:block}a.pb:hover{background:var(--mark)}a.pb:hover i{background:var(--ink)}
.era-h a.pb{margin-left:8px;color:var(--ink);font-size:14px}
.dg a{border-bottom:0;font-weight:700;color:var(--ink)}.dg a:hover{background:var(--mark)}
.dg details{display:flex;flex-direction:column}.dg details>summary{order:9;align-self:flex-start;margin:2px 0 6px}
.dg details[open] summary{display:inline-block}.dg summary .c,.dg details[open] summary .o{display:none}.dg details[open] summary .c{display:inline}
.dg summary::after{content:" ▾"}.dg details[open] summary::after{content:" ▴"}
.dg:has(>details:not([open])){display:block}
/* Places, All Japan: the sites of a city beyond the first four open in place */
.cx-rest{margin-top:14px}.cx-rest>summary{display:inline-block;cursor:pointer;list-style:none;font-size:13.5px;font-weight:600;padding:7px 14px;border:1px solid var(--ink);background:#fff}
.cx-rest>summary::-webkit-details-marker{display:none}.cx-rest>summary:hover{background:var(--mark)}.cx-rest>summary::after{content:" ▾"}.cx-rest[open]>summary::after{content:" ▴"}
.cx-rest summary .c,.cx-rest[open] summary .o{display:none}.cx-rest[open] summary .c{display:inline}
.cx-rest{display:flex;flex-direction:column}.cx-rest>summary{order:9;align-self:flex-start;margin-top:14px}.cx-rest:not([open])>summary{margin-top:0}
@media (max-width:760px){.h2l{gap:14px}a.pb{font-size:13px}}
.era-h a.pb{margin-left:auto}
/* old provinces map page (user 2026-11-14) */
.pvx{max-width:1240px}.pv-lead{max-width:860px;font-size:16px;line-height:1.9;margin:6px 0 16px}.pv-note{max-width:860px;font-size:13.5px;line-height:1.75;color:#444;margin:10px 0 0}
.pv-lg{list-style:none;padding:0;margin:0 0 10px;display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13.5px;font-weight:600}.pv-lg i,.pv-c h2 i{display:inline-block;width:14px;height:14px;border:1px solid var(--ink);margin-right:7px;vertical-align:-2px}
.pv-w{border:2px solid var(--ink);overflow:hidden;position:relative}.pv{display:block;width:100%;height:auto}.pv .sea{fill:#fff}.pv .land{fill:#ededed;stroke:#999;stroke-width:.6}
.pv-p{stroke:var(--ink);stroke-width:.7;stroke-linejoin:round}.pv a:hover .pv-p,.pv a:focus .pv-p{fill:var(--mark)}.pv-n{font-size:11.5px;font-weight:600;text-anchor:middle;fill:var(--ink);paint-order:stroke;stroke:#fff;stroke-width:2.6px;stroke-linejoin:round;pointer-events:none}
.pv-in .pv-n{font-size:15px}.pv-f{margin:26px 0 0;max-width:620px}.pv-f figcaption{font-size:14px;font-weight:700;border-bottom:2px solid var(--ink);padding-bottom:6px;margin-bottom:10px}.pv-f .pv{border:2px solid var(--ink)}
.c-kinai{fill:#ffe37a;background:#ffe37a}.c-tokaido{fill:#cfe2f3;background:#cfe2f3}.c-tosando{fill:#dcebc8;background:#dcebc8}.c-hokurikudo{fill:#e6daf0;background:#e6daf0}
.c-sanindo{fill:#f3dcc6;background:#f3dcc6}.c-sanyodo{fill:#f7d4d7;background:#f7d4d7}.c-nankaido{fill:#cfeae2;background:#cfeae2}.c-saikaido{fill:#ebe7c4;background:#ebe7c4}
.pv-t{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 36px;margin-top:30px}.pv-c h2{font-size:19px;display:block;border-bottom:2px solid var(--ink);padding-bottom:6px;margin-top:22px}.pv-c h2 small{font:400 12.5px var(--num);color:var(--mute);margin-left:10px}
.pv-c table{width:100%;border-collapse:collapse}.pv-c tr{border-bottom:1px solid var(--line)}.pv-c th{text-align:left;font-size:16px;font-weight:700;padding:8px 10px 8px 0;white-space:nowrap;vertical-align:top;width:5.5em}
html[lang^="en"] .pv-c th{width:8.5em}.pv-c td{font-size:13.5px;line-height:1.6;padding:9px 0;vertical-align:top;color:#333}.pv-c td.j{white-space:nowrap;color:var(--mute);padding-right:14px;width:1%}
.pv-c tr:target{background:var(--mark)}.pv-c tr{scroll-margin-top:90px}.pv-credit{font-size:12.5px;line-height:1.7;color:var(--mute);margin:26px 0 0;max-width:860px}
@media (max-width:760px){.pv-t{grid-template-columns:1fr}.pv-lead{font-size:15px}.pv-c td.j{white-space:normal}}
.pv-ptr{margin:0 0 16px}.cx .pv-ptr{margin:0 0 6px}
/* power maps page (user 2026-11-14) */
.pm-s{margin-top:34px;scroll-margin-top:76px}.pm-s h2{font-size:24px}.pm-s .pv-lead{margin-top:12px}.pw-x{fill:#fafafa;background:#fafafa}
.w-1{fill:#ffd400;background:#ffd400}.w-2{fill:#9cc5e8;background:#9cc5e8}.w-3{fill:#e58e8e;background:#e58e8e}.w-4{fill:#a9d18e;background:#a9d18e}.w-5{fill:#c9b3e0;background:#c9b3e0}
.w-6{fill:#f4b183;background:#f4b183}.w-7{fill:#8fd3c8;background:#8fd3c8}.w-8{fill:#d6c36a;background:#d6c36a}.w-9{fill:#f2a7c8;background:#f2a7c8}.w-10{fill:#b7b7e8;background:#b7b7e8}
.w-11{fill:#c5a57a;background:#c5a57a}.w-12{fill:#8fb8a0;background:#8fb8a0}.w-13{fill:#e8d5a0;background:#e8d5a0}.w-14{fill:#a8c8d8;background:#a8c8d8}.w-15{fill:#d9a0a0;background:#d9a0a0}
.dm-p{stroke:#fff;stroke-width:.35;stroke-linejoin:round}.d-other{fill:#e4e4e4;background:#e4e4e4}.d-bakufu{fill:#9a9a9a;background:#9a9a9a}
.d-satsuma{fill:#d94a4a;background:#d94a4a}.d-choshu{fill:#e8843c;background:#e8843c}.d-tosa{fill:#f0b429;background:#f0b429}.d-hizen{fill:#c96aa8;background:#c96aa8}
.d-aizu{fill:#1f4e9c;background:#1f4e9c}.d-shonai{fill:#3f86c8;background:#3f86c8}.d-alliance{fill:#9cc5e8;background:#9cc5e8}
.pm-mx{margin-top:22px;max-width:860px}.pm-mx h3{font-size:16px;border-bottom:2px solid var(--ink);padding-bottom:6px}.pm-mx table{columns:2}.pm-mx tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px}.pm-mx tr{display:grid;grid-template-columns:5.5em 1fr}
html[lang^="en"] .pm-mx tr{grid-template-columns:8.5em 1fr}.gtab a i:empty{display:none}
@media (max-width:760px){.pm-mx tbody{grid-template-columns:1fr}.pm-s h2{font-size:20px}}
.pv-to{margin-top:30px}
/* reference maps box: top of the right-hand column of event / person / place pages, beside the places map, on the Sengoku and Bakumatsu period pages (user 2026-11-14) */
.tb{border:1.5px solid var(--ink);padding:10px 12px 4px;margin:0 0 22px}.tb h4{font-size:12px;font-weight:600;color:var(--mute);letter-spacing:.06em;border:0;padding:0;margin:0 0 4px}
.tb a{display:grid;grid-template-columns:11px minmax(0,1fr);column-gap:8px;align-items:baseline;padding:7px 0;border-top:1px solid var(--line)}.tb a i{width:11px;height:11px;background:var(--mark);display:block;align-self:center;grid-row:1}
.tb a b{font-size:14.5px;font-weight:700}.tb a span{grid-column:2;font-size:12px;color:var(--mute);line-height:1.5}.tb a:hover b{background:var(--mark)}
.cps .tb{margin-bottom:14px}.era-tb{padding-top:18px}.era-tb .tb{margin:0;display:grid;grid-template-columns:auto repeat(2,minmax(0,1fr));column-gap:28px;align-items:center;padding:8px 14px}.era-tb .tb h4{margin:0}.era-tb .tb a{border-top:0}
@media (max-width:760px){.era-tb .tb{display:block;padding:10px 12px 4px}.era-tb .tb h4{margin-bottom:4px}.era-tb .tb a{border-top:1px solid var(--line)}}
.cc img.crop{aspect-ratio:3/2;height:auto;object-fit:cover}
.w-16{fill:#b9d9a0;background:#b9d9a0}.d-shinpan{fill:#d94a4a;background:#d94a4a}.d-fudai{fill:#f0b429;background:#f0b429}.d-tozama{fill:#6aa6d8;background:#6aa6d8}
.pv-pt{fill:#fff;stroke:var(--ink);stroke-width:1.6}.pv-pt.key{fill:var(--mark)}.pv-pl{font-size:13.5px;font-weight:700;fill:var(--ink);paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
.pv-area{font-size:30px;font-weight:700;letter-spacing:.3em;text-anchor:middle;fill:#9a9a9a;paint-order:stroke;stroke:#fff;stroke-width:4px}html[lang^="en"] .pv-area{font-size:22px;letter-spacing:.12em}.pv .pv-ld{fill:#f1f1f1;stroke:#777;stroke-width:.8}
.pv .pv-in{stroke:var(--ink);stroke-width:2}
/* map zoom (user 2026-11-14): whole map first; fingers on touch screens, buttons on desktop */
.pv-z{position:absolute;right:10px;bottom:10px;display:flex;flex-direction:column;gap:6px}.pv-z button{width:38px;height:38px;border:2px solid var(--ink);background:#fff;font:700 20px/1 var(--num);color:var(--ink);cursor:pointer;padding:0}
.pv-z button.zr{font-size:11.5px;white-space:nowrap;letter-spacing:0}.pv-z button:hover{background:var(--mark)}.pv-z button:disabled{opacity:.35;cursor:default;background:#fff}.pv-w.zoomed .pv{cursor:grab}.pv-w.drag .pv{cursor:grabbing}
.pv-hint{display:none;font-size:12.5px;color:var(--mute);margin:6px 0 0}
@media (hover:none) and (pointer:coarse){.pv-z .zb{display:none}.pv-z button.zr{width:auto;padding:0 10px;font-size:13px}.pv-z button.zr:disabled{display:none}.pv-hint{display:block}}
.era-tb.in{padding:4px 0 18px}

/* Reading pages (用户 2026-11-15, tried on the Honnoji page, then site-wide): the right sidebar runs to the header's right edge (no right padding on the grid) */
@media (min-width:901px){.art{padding-right:0}}

/* Right sidebar (用户 2026-11-15): a title that wraps keeps its second line indented, so the year stays alone on the left */
.side li a:has(>i){display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;align-items:baseline}.side li a:has(>i)>i{margin-right:0}
/* 两方人物: one line under every name (the row's own line); people with an HO page in bold, others in the normal weight */
.sides li a{display:inline;padding:0;border-bottom:0;font-weight:600}.sides li{font-weight:400}
/* old province card (user 2026-11-15): heading in bold, period in italics, then year | holder in two columns */
.gk .gk-h{margin:8px 0 10px;font-size:12.5px;line-height:1.55}.gk .gk-h>b{display:block;font-size:13px;font-weight:700;margin-bottom:2px}.gk .gk-h>i{display:block;font-style:italic;color:var(--mute);margin-top:6px}
.gk .gk-h dl{display:grid;grid-template-columns:4.6em minmax(0,1fr);column-gap:8px;margin:0}.gk .gk-h dt{font-family:var(--num);font-weight:600;white-space:nowrap}.gk .gk-h dd{margin:0}
html[lang^="en"] .gk .gk-h dl{grid-template-columns:5.4em minmax(0,1fr)}
.pk.gk div.gk-h{padding:0}.pk.gk.gk-pv{width:470px;max-width:calc(100vw - 16px);max-height:calc(100vh - 90px);overflow-y:auto}
html[lang^="en"] .pk.gk.gk-pv{width:520px}
/* animated march, a sample on one page (user 2026-11-15) */
.mr{margin:0 0 8px}.mr-tabs{display:inline-flex;border:2px solid var(--ink);margin:2px 0 10px}.mr-tabs button{border:0;background:#fff;font-size:13px;font-weight:600;line-height:1;font-family:inherit;padding:9px 16px;cursor:pointer;color:var(--ink)}
.mr-tabs button+button{border-left:2px solid var(--ink)}.mr-tabs button[aria-selected="true"]{background:var(--ink);color:#fff}
.mr-svg{display:block}.mr-svg .land,.mr-svg .pref,.mr-svg .lake,.mr-svg .river,.mr-tr{vector-effect:non-scaling-stroke}
.mr-tr{fill:none;stroke:var(--ink);stroke-width:2.6;stroke-linejoin:round;stroke-linecap:round}.mr-cur{fill:var(--mark);stroke:var(--ink)}
.mr-st circle{fill:#fff;stroke:var(--ink);stroke-width:1.6}.mr-st.on circle{fill:var(--ink)}.mr-st text{font-size:13px;font-weight:700;fill:var(--ink);paint-order:stroke;stroke:#fff;stroke-width:3.5px;stroke-linejoin:round}
.mr-c{display:grid;grid-template-columns:auto auto auto auto minmax(0,1fr);gap:8px;align-items:start;border:2px solid var(--ink);border-top:0;padding:10px 12px}
.mr-b{border:2px solid var(--ink);background:#fff;font-size:13px;font-weight:600;line-height:1;font-family:inherit;height:36px;padding:0 12px;cursor:pointer;color:var(--ink);white-space:nowrap}.mr-b:hover{background:var(--mark)}.mr-b:disabled{opacity:.35;cursor:default;background:#fff}
.mr-prev,.mr-next{width:36px;padding:0;font-size:18px}.mr-k{font:600 12px/36px var(--num);color:var(--mute);white-space:nowrap}
.mr-t{min-height:66px;padding-left:6px}.mr-t b{font-size:15px;display:inline-flex;align-items:center;gap:8px}.mr-t b i{font:600 11px var(--num);font-style:normal;width:20px;height:20px;border:1.5px solid var(--ink);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--mark)}
.mr-t span{font-size:12.5px;color:var(--mute);margin-left:10px}.mr-t p{font-size:13.5px;line-height:1.6;margin:3px 0 0}.mr-t small{color:var(--mute);font-size:12px}
@media (max-width:760px){.mr-c{grid-template-columns:auto auto auto minmax(0,1fr)}.mr-t{grid-column:1/-1;padding-left:0;min-height:88px}}
.mr-pv{fill:none;stroke:#aaa;stroke-width:.8;stroke-dasharray:4 4;vector-effect:non-scaling-stroke}.mr-ref{font-size:12px;fill:#888;letter-spacing:2px;text-anchor:middle;paint-order:stroke;stroke:#f0f0f0;stroke-width:3px}
.mr-st text.mr-old{font-size:11.5px;font-weight:600;fill:#555}.mr-l[data-far="1"] .mr-old{display:none}
.mr-tr.mr-q{stroke-dasharray:6 5;stroke-width:2}
/* route animations pages (user 2026-11-15): cards with the picture of the route above the event name */
.rgrid{list-style:none;padding:0;margin:14px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.rc a{display:block;border:2px solid var(--ink);background:#fff;height:100%}
.rc img{display:block;width:100%;height:auto;border-bottom:2px solid var(--ink);background:#fff}.rc div{padding:9px 11px 12px}.rc small{display:block;font:600 11.5px var(--num);color:var(--mute);margin-bottom:3px}
.rc b{font-size:15px;line-height:1.4;display:block}.rc a:hover b{background:var(--mark)}
@media (max-width:1080px){.rgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:760px){.rgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rc b{font-size:14px}}
.era-tb .tb{grid-template-columns:auto;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
@media (max-width:760px){.era-tb .tb{display:block}}
figure.route{scroll-margin-top:80px}

/* culture text (user 2026-11-16): people, events and places HO covers are bold links */
main[data-id^="culture_"] .body a.pl{font-weight:700}

/* People in Brief (/glossary/people/, 2026-11-16): period sections, category sub-heads and category buttons */
.pnb section>h2 small{font-weight:400;font-size:13px;color:var(--mute);margin-left:10px}
.pnb>section{margin-top:34px}.pnb .pn-g{margin-top:18px}
.pnb .pn-h{font-size:14px;font-weight:700;margin:0;padding:6px 10px;background:#f2f2f2;color:var(--ink)}.pnb .pn-h i{font-style:normal;font-weight:400;color:var(--mute);font-size:12px;margin-left:6px}
.pnb .pn-t{font-size:13.5px;color:var(--mute);margin:0 0 4px}
.pn-c{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 14px}
.pn-c button{font:inherit;font-size:13.5px;padding:5px 11px;border:1px solid var(--ink);background:#fff;color:var(--ink);cursor:pointer;line-height:1.4}
.pn-c button i{font-style:normal;color:var(--mute);font-size:12px;margin-left:5px}.pn-c button.on{background:var(--mark);font-weight:600}.pn-c button:hover{background:var(--mark)}
.gx2>.pn-ptr{margin:0 0 22px}
@media (max-width:760px){.pn-c button{font-size:13px;padding:4px 9px}}

/* culture illustrations, part 3 (2026-11-19): rows of two to four pictures that belong together (types side by side; steps use .steps-row) */
.multi.n4{grid-template-columns:repeat(4,minmax(0,1fr))}
.fg-set .multi img{max-height:none;width:100%;height:auto;border:1px solid var(--line)}
.fg-set .multi .fc{margin-top:6px;text-align:left}
@media (max-width:760px){.multi.n4{grid-template-columns:repeat(2,minmax(0,1fr))}.fg-set .multi{gap:12px}}

/* home-screen suggestion (site.js, user 2026-11-21) */
.a2hs{position:fixed;inset:auto 0 0 0;margin:auto auto 24px;width:min(420px,calc(100vw - 32px));max-height:85vh;overflow:auto;background:#fff;color:var(--ink);border:3px solid var(--ink);border-radius:0;padding:26px 24px 22px;box-shadow:8px 8px 0 var(--mark)}
.a2hs::backdrop{background:rgba(17,17,17,.45)}
.a2hs h2{display:inline-block;font-size:22px;line-height:1.35;margin:0 28px 10px 0;padding:10px 0 0;border:0;border-top:5px solid var(--mark)}
.a2hs p{margin:0 0 20px;color:var(--mute);font-size:15px;line-height:1.7}
.a2hs ol{margin:0 0 20px;padding-left:1.4em;list-style:decimal;font-size:15px;line-height:1.6}.a2hs li+li{margin-top:8px}
.a2hs-x{position:absolute;top:6px;right:8px;width:44px;height:44px;font-size:26px;line-height:1}
.a2hs-b{display:flex;flex-wrap:wrap;gap:12px}
.a2hs-b button{min-height:44px;padding:8px 20px;border:3px solid var(--ink);font-weight:600}
.a2hs-go{background:var(--ink);color:#fff}.a2hs-go:hover{background:var(--mark);color:var(--ink)}
.a2hs [hidden]{display:none}
@media (max-width:760px){.a2hs{margin:auto auto calc(16px + env(safe-area-inset-bottom));box-shadow:6px 6px 0 var(--mark)}}
/* == culture deep-dive pages (2026-11-24, deep.py): row of small cards under the glance block, cards at chapter ends,
   "深读：" line on a covered fact card, list of the hub's deep pages under prev / next, main-article box in the sidebar == */
.dd-strip{margin-top:26px;min-width:0}
.dd-strip h4,.dd-more h4{font-size:13px;font-weight:600;border-bottom:2px solid var(--ink);padding-bottom:6px;margin-bottom:12px}
.dd-strip ul{list-style:none;display:flex;gap:12px;overflow-x:auto;margin:0;padding:0 0 10px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.dd-strip li{flex:0 0 132px;scroll-snap-align:start}.dd-strip a{display:block}
.dd-strip img,.dd-strip .dd-ni{display:block;width:132px;height:88px;object-fit:cover;background:#f2f2f2}
.dd-strip b{display:block;font-size:13.5px;font-weight:600;line-height:1.4;margin-top:6px;overflow-wrap:anywhere}.dd-strip a:hover b{background:var(--mark)}
.dd-cards{display:grid;gap:12px;margin:22px 0 30px}
.dd-card{display:grid;grid-template-columns:132px minmax(0,1fr);gap:14px;align-items:start;border:2px solid var(--ink);padding:12px}.dd-card:hover{background:#fffbe0}
.dd-card img,.dd-card .dd-ni{display:block;width:132px;height:88px;object-fit:cover;background:#f2f2f2}
.dd-card small{display:inline-block;background:var(--mark);font-size:11.5px;font-weight:600;padding:1px 6px;margin-bottom:6px}
.dd-card b{display:block;font-size:17px;line-height:1.35;overflow-wrap:anywhere}
.dd-card em,.dd-more em{font-style:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dd-card em{font-size:14px;line-height:1.65;color:#333;margin-top:4px}
.dd-card i{display:block;font-style:normal;font-size:12px;color:var(--faint);margin-top:6px}
.kc .kc-dd{display:table;font-size:13.5px;font-weight:600;line-height:1.5;margin-top:8px;border-bottom:1.5px solid var(--ink)}.kc .kc-dd:hover{background:var(--mark)}
.dd-more{margin-top:34px}.dd-more ul{list-style:none;margin:0;padding:0}
.dd-more li a{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.dd-more img,.dd-more .dd-ni{display:block;width:96px;height:64px;object-fit:cover;background:#f2f2f2}
.dd-more b{font-size:16px;line-height:1.45;overflow-wrap:anywhere}.dd-more em{font-size:13.5px;line-height:1.6;color:var(--mute);margin-top:2px}
.dd-more li.on b,.dd-more li a:hover b{background:var(--mark)}
.dd-more .dd-back a{display:block;padding:14px 0}
.side .dd-main{margin:0 0 24px}.side li a.on{font-weight:600;background:var(--mark)}
@media (max-width:760px){.dd-card{grid-template-columns:96px minmax(0,1fr);gap:12px;padding:10px}.dd-card img,.dd-card .dd-ni{width:96px;height:64px}.dd-card b{font-size:16px}
.dd-more li a{grid-template-columns:80px minmax(0,1fr);gap:12px}.dd-more img,.dd-more .dd-ni{width:80px;height:54px}}
@media (max-width:900px){.side .dd-main,.side .dd-main+h4,.side .dd-main+h4+ul{display:none}}   /* phones: the list right above (.dd-more) already shows these */
/* == promo covers (2026-11-24, promo.py): a small cover floated beside 历史意义 or the lead, text wraps around it; a click opens the carousel viewer or the video player (js/promo.js) == */
.pr-fl{float:right;width:132px;margin:4px 0 12px 22px;display:flex;flex-direction:column;gap:10px}
.sig{display:flow-root}.sig .pr-fl{margin-top:2px}
.body>.pr-fl~h2:not(.gt){clear:both}
.pr-f{position:relative;display:block;border:1px solid var(--line);background:#fff;line-height:0}
.pr-f img{display:block;width:100%;height:auto;object-fit:cover}.pr-fv img{aspect-ratio:9/16}.pr-fc img{aspect-ratio:3/4}
.pr-f i{position:absolute;left:6px;bottom:6px;width:30px;height:30px;border-radius:50%;background:#fff;border:2px solid var(--ink)}
.pr-f i::after{content:"";position:absolute;left:10px;top:7px;border-style:solid;border-width:6px 0 6px 9px;border-color:transparent transparent transparent var(--ink)}
.pr-f:hover,.pr-f:focus-visible{border-color:var(--ink);outline:2px solid var(--mark)}.pr-f:hover i,.pr-f:focus-visible i{background:var(--mark)}
.pr-f span{position:absolute;right:6px;bottom:6px;background:var(--ink);color:#fff;font:500 11.5px/1.5 var(--num);padding:0 5px}
.prv:focus{outline:0}.prv{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:rgba(17,17,17,.94);color:#fff;overflow:hidden}
.prv::backdrop{background:rgba(17,17,17,.94)}
.prv button{position:absolute;width:48px;height:48px;border:0;background:rgba(17,17,17,.6);color:#fff;font:300 30px/1 var(--num);cursor:pointer;z-index:2}
.prv button:hover,.prv button:focus-visible{background:var(--mark);color:var(--ink);outline:0}
.prv .x{right:8px;top:2px}
.prv .sc,.prv .vf{display:none}
.prv-l .sc{display:block;position:absolute;inset:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:52px 0 40px;outline:0}
.prv-l .sc img{display:block;width:min(100% - 24px,560px);height:auto;margin:0 auto;background:#fff}
.prv-v .vf{display:block;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);height:min(calc(100% - 96px),820px);aspect-ratio:9/16;max-width:calc(100% - 24px);background:#000}
.prv-v .vf iframe{display:block;width:100%;height:100%;border:0}
@media (max-width:760px){.pr-fl{width:104px;margin-left:14px}
.prv-l .sc{padding-top:50px}.prv-l .sc img{width:100%}
.prv-v .vf{height:auto;width:calc(100% - 16px);max-height:calc(100% - 72px)}}
