:root { color-scheme: light; --paper:#f5f1e8; --ink:#282a22; --muted:#5c5e50; --rule:#c9c6b7; --accent:#315c3f; }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:"Source Sans 3","Noto Sans CJK SC","Microsoft YaHei",sans-serif; text-rendering:optimizeLegibility; }
a { color:inherit; text-underline-offset:.2em; }
a:hover { color:var(--accent); }
a:focus-visible,input:focus-visible,summary:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.frame { width:min(69rem,100% - clamp(2rem,9vw,8rem)); margin-inline:auto; }
.masthead { border-bottom:1px solid var(--rule); }
.masthead .frame { display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:4.25rem; }
.wordmark { font:600 1.55rem/1 "Baskervville",Georgia,serif; text-decoration:none; letter-spacing:-.035em; }
.archive { font-size:.86rem; color:var(--accent); white-space:nowrap; }
.intro { display:grid; grid-template-columns:1fr auto; align-items:end; gap:2rem; padding-block:clamp(3.4rem,9vw,7rem) clamp(2.3rem,5vw,3.8rem); border-bottom:2px solid var(--ink); }
h1 { margin:0; font:600 clamp(3rem,8vw,6rem)/1.13 "Noto Serif CJK SC","Songti SC",serif; letter-spacing:.04em; }
.intro p { max-width:31rem; line-height:1.8; color:var(--muted); margin:1rem 0 0; }
.edition { display:grid; grid-template-columns:auto auto; gap:.4rem 1rem; margin:0; padding:0 0 .2rem 1.3rem; border-left:1px solid var(--rule); font-size:.85rem; white-space:nowrap; }
.edition dt { color:var(--muted); }
.edition dd { margin:0; font-variant-numeric:tabular-nums; }
.list-head { display:flex; justify-content:space-between; align-items:center; gap:.8rem 1.75rem; padding-block:1.65rem 1.2rem; border-bottom:1px solid var(--rule); }
.list-head h2 { font-size:1.13rem; margin:0; white-space:nowrap; }
.list-head label { display:flex; align-items:center; gap:.7rem; font-size:.82rem; color:var(--muted); }
.list-head input { min-width:0; width:min(19rem,42vw); padding:.6rem .75rem; border:1px solid #8d8e80; border-radius:.22rem; color:var(--ink); background:#faf8f0; font:inherit; }
.paper { display:grid; grid-template-columns:9.75rem minmax(0,1fr); gap:.8rem 1.45rem; padding-block:1.55rem; border-bottom:1px solid var(--rule); }
.meta { color:var(--muted); display:grid; align-content:start; gap:.36rem; font-size:.83rem; }
.meta time { font-variant-numeric:tabular-nums; }
.topic { color:var(--accent); overflow-wrap:anywhere; }
h3 { font:600 clamp(1.25rem,2.5vw,1.75rem)/1.24 "Baskervville",Georgia,"Noto Serif CJK SC",serif; margin:0; overflow-wrap:anywhere; }
h3 a { text-decoration:none; }
h3 a:hover { text-decoration:underline; }
.authors { color:var(--muted); margin:.45rem 0 0; line-height:1.5; font-size:.88rem; overflow-wrap:anywhere; }
details { margin-top:.9rem; font-size:.9rem; }
summary { color:var(--accent); cursor:pointer; width:fit-content; }
.abstract { color:var(--muted); overflow-wrap:anywhere; max-width:64ch; line-height:1.65; margin:.55rem 0 0; }
footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.75rem; padding-block:1.4rem 2.5rem; color:var(--muted); font-size:.84rem; }
#none { min-height:5rem; margin:1.5rem 0; color:var(--muted); }
[hidden] { display:none!important; }
.visually-hidden { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:620px) {
 .intro,.paper { grid-template-columns:1fr; }
 .intro { gap:1.25rem; }
 .edition { grid-template-columns:auto 1fr; width:max-content; padding:.15rem 0 .15rem .75rem; }
 .list-head { flex-wrap:wrap; }
 .list-head label { flex-wrap:wrap; width:100%; }
 .list-head input { flex:1; width:auto; }
 .meta { display:flex; flex-wrap:wrap; gap:.25rem 1rem; }
}
