:root{
  --paper:#f9f1e3;--ink:#35251b;--muted:#6c594b;--line:#d9c8b2;
  --accent:#834121;--serif:"Songti SC","Noto Serif CJK SC","Noto Serif SC",SimSun,Georgia,serif;
  font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",Inter,system-ui,sans-serif;
}
.mast,footer{background:#211510;color:#f8ecda;border-color:#634731}
.mast .wordmark{gap:.65rem;color:#f4d9a8}
.mast .wordmark img{width:2.375rem;height:2.375rem;display:block}
.mast .wordmark b,.foot-inner .footer-brand{font-family:var(--serif);letter-spacing:.04em;font-weight:600}
.mast nav a,.find-link{color:#eddecb;font-weight:500}
.mast nav a:hover,.find-link:hover,.foot-inner a:hover{color:#ffdc9d}
.find-link{border-color:#8e7052}
.mast :focus-visible,footer :focus-visible{outline-color:#f6d69c}
.library{padding-top:clamp(2.7rem,5.3vw,4.6rem)}
.section-title{align-items:center}
.section-title h1{font-family:var(--serif);font-size:clamp(2.6rem,4.8vw,4rem);line-height:1.22;letter-spacing:.015em;font-weight:600}
.library-intro{margin:.5rem 0 0;color:#6d5645;font-size:1.05rem}
.search-box,.filters button{background:#fffaf1;border-color:#bdab93}
.search-box{border-radius:5px;min-height:44px}.search-box input{color:var(--ink)}
.filters button{padding:.4rem .95rem;min-height:40px}
.filters [aria-pressed="true"]{background:#513320;border-color:#513320;color:#fff5e5}
.tools{border-top:1px solid #cba77c;margin:1.8rem 0 1.05rem;padding-top:1.05rem}
.skill{background:#fffaf0;border-color:#cfbca4;box-shadow:0 2px 4px #48270c09}
.skill:target{border-color:#995d27;outline-color:#b779414f}
.skill h3,.guide h2,.feature h2{font-family:var(--serif);font-weight:600;letter-spacing:.006em}
.skill h3{font-size:1.6rem}
.card-main .cat {font-size:.8125rem}
.card-main .version,.card-meta span:last-child{font-size:.8125rem}
.skill summary{min-height:32px;display:flex;align-items:center;color:#704021}
.download{min-height:44px;border-color:#a47e52;color:#53331c}
.download:hover{background:#513320;border-color:#513320;color:#fff5e5}
.thumb-writing{background:#d7d9bf}.thumb-review{background:#e5c5ab}.thumb-md{background:#decbba}.thumb-qr{background:#d8dbb6}.thumb-csv{background:#c9d0bb}
.md-under{background:#b99a80;box-shadow:3px 4px 0 #836957}.csv-under{background:#8f9b7d;box-shadow:3px 3px 0 #66755d}
.feature{margin:3.5rem 0;background:#332219;color:#fff2dc;border-color:#7a5539;border-radius:12px}
.feature h2{font-size:clamp(2.2rem,3.8vw,3.55rem);line-height:1.19;margin:1rem 0 .85rem}
.feature h2 em{font-style:normal;color:#f0c78a}
.feature-copy>p{color:#e1d0bb}.feature .issue{color:#e4bf91}
.issue span:first-child{background:#573a23;color:#f4cf96}.issue i{background:#bd9c71}
.btn-dark{color:#322216;background:#f0c587}.btn-dark:hover{background:#fbd9a5}
.feature-secondary:hover{color:#f6d3a3}
.feature a:focus-visible{outline-color:#ffe3ad;outline-offset:-4px}
.guide{margin-top:0}.guide h2{font-size:clamp(1.7rem,2.6vw,2.35rem)}
.foot-inner .footer-brand{margin-right:auto;text-decoration:none;font-size:1.05rem}
@media(max-width:760px){
  .mast .wordmark img{width:2rem;height:2rem}
  .tools{margin-top:1.3rem}
  .feature {margin:2.5rem 0}
}
@media(max-width:570px){
  .mast-inner{flex-wrap:nowrap}
  .mast .wordmark{gap:.45rem}
  .mast nav{gap:1rem}.mast nav a{font-size:.925rem}
  .mast .article-nav{display:none}
  .section-title{gap:1rem}
  .filters button{padding:.36rem .7rem;min-height:39px}
  .library{padding-top:2.1rem}
  .tools{margin-top:1.1rem}
  .feature h2{font-size:2.25rem}
}
