:root {color-scheme:light;--ink:#20231f;--muted:#687260;--line:#e2e4de;--paper:#fafbf8;--green:#345749;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
* {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding-top:28px}
body {margin:0;background:var(--paper);color:var(--ink);-webkit-font-smoothing:antialiased}
a {color:inherit;text-decoration:none}
button,input {font:inherit}
button,a,input {-webkit-tap-highlight-color:transparent}
button {cursor:pointer;color:inherit}
button:focus-visible,a:focus-visible,input:focus-visible {outline:2px solid var(--green);outline-offset:5px}
.shell {max-width:1240px;margin:0 auto;padding-left:32px;padding-right:32px}
.header {height:96px;display:flex;align-items:center;justify-content:space-between;gap:40px}
.brand {display:flex;align-items:center;gap:11px;font-size:24px;font-weight:650;letter-spacing:-1px}
.brand-dot {color:#6c8271}
.header nav {display:flex;gap:30px;font-size:14px}
.header nav a {padding:8px 0}
.header nav span {color:var(--muted)}
.hero {padding-top:70px;padding-bottom:65px}
.hero h1 {font-size:clamp(38px,5.1vw,64px);letter-spacing:-2px;line-height:1.3;font-weight:540;margin:0}
.sites-section {padding-top:32px;padding-bottom:65px;border-top:1px solid var(--line)}
.section-heading {display:flex;align-items:center;justify-content:space-between;gap:16px}
.section-heading h2 {font-size:24px;font-weight:530;letter-spacing:-.6px;margin:0}
.result-count {color:var(--muted);font-size:13px;margin:0}
.toolbar {margin:24px 0 28px;display:flex;gap:18px;align-items:center;justify-content:space-between}
.filters {display:flex;gap:6px}
.filters button {border:0;background:transparent;color:var(--muted);padding:10px 15px;border-radius:99px;font-size:13px;white-space:nowrap}
.filters button[aria-pressed=true] {background:#20261f;color:#fff}
.site-search {display:flex;align-items:center;gap:9px;border-bottom:1px solid #d7dcd1;padding:8px 0;width:220px}
.site-search:focus-within {border-color:var(--green);box-shadow:0 1px 0 var(--green)}
.site-search svg {width:17px;height:17px;fill:none;stroke:#88917f;stroke-width:1.5;flex:none}
.site-search input {border:0;outline:0!important;width:100%;min-width:0;background:transparent;font-size:14px;color:var(--ink)}
.site-search input::placeholder {color:#808a78}
.site-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.site-card {min-width:0}
.site-cover {position:relative;display:block;overflow:hidden;border-radius:17px;height:247px}
.cover-downloads {background:#eeeae2}
.cover-search {background:#e5ece5}
.site-cover:before {content:"";position:absolute;inset:0;background-image:radial-gradient(#83907d33 .6px,transparent .6px);background-size:14px 14px;opacity:.5}
.cover-arrow {position:absolute;right:18px;top:16px;width:32px;height:32px;border-radius:50%;background:#ffffff90;display:grid;place-items:center;font-size:21px;transition:transform .2s;z-index:1}
.site-cover:hover .cover-arrow {transform:translate(2px,-2px)}
.cover-art{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.file-back,.file-front{position:absolute;width:104px;height:133px;background:#fff;border:1px solid #deddd7;border-radius:9px;box-shadow:0 12px 30px #544f3e12}.file-back{transform:translate(-32px,-5px) rotate(-13deg);background:#f9f8f3}.file-back span{position:absolute;left:14px;top:19px;font-size:11px;color:#a5a69a;letter-spacing:1px}.file-front{transform:translate(25px,10px) rotate(8deg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.file-front svg{width:36px;height:36px;fill:none;stroke:#4f5a4b;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.file-front strong{font-size:11px;letter-spacing:2px;font-weight:500;color:#777d70}.paper-back,.paper-front{position:absolute;width:145px;height:157px;border-radius:9px;background:#f1f6ef;border:1px solid #d4ded2;box-shadow:0 12px 30px #30503b10}.paper-back{transform:translate(26px,-4px) rotate(10deg)}.paper-front{transform:translate(-12px,5px) rotate(-5deg);padding:17px 19px;background:#fbfdf8}.paper-symbol{font-family:Georgia,serif;font-size:33px;line-height:1;color:#345747;margin:0 0 16px}.paper-symbol span{font-family:Arial,sans-serif;font-size:20px;vertical-align:7px;margin-left:4px}.paper-line{height:3px;background:#d8e3d2;border-radius:3px;width:85%;margin-top:8px}.paper-line.long{width:100%;background:#a6b79d}.paper-line.short{width:62%}
.card-heading {margin-top:22px}
.card-heading h3 {font-size:22px;font-weight:540;letter-spacing:-.5px;margin:0}
.site-title:hover {text-decoration:underline;text-underline-offset:5px}
.site-description {font-size:15px;line-height:1.8;color:var(--muted);margin:10px 0 0}
.footer {display:flex;align-items:center;gap:25px;padding-top:26px;padding-bottom:30px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}
.footer .brand {font-size:21px;color:var(--ink);gap:0}
.footer>span {margin-left:auto}
.empty-state {text-align:center;padding:65px 15px}
.empty-state h3 {font-size:20px;font-weight:500}
.empty-state p {font-size:14px;color:var(--muted)}
.empty-state button {border:1px solid var(--line);background:white;border-radius:99px;padding:11px 20px;font-size:14px}
.sr-only,.skip-link:not(:focus) {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.skip-link:focus {position:fixed;top:10px;left:10px;z-index:10;background:white;padding:12px}
@media(max-width:850px) {
  .header {gap:30px}
  .hero {padding-top:50px;padding-bottom:55px}
  .site-cover {height:220px}
  .site-grid {gap:24px}
}
/* 窄屏按单列展示入口，搜索和筛选使用完整宽度，避免挤压触控区域。 */
@media(max-width:600px) {
  .shell {padding-left:22px;padding-right:22px}
  .header {height:80px;gap:15px}
  .brand {font-size:22px}
  .brand img {width:29px;height:29px}
  .header nav {gap:17px;font-size:13px}
  .header nav a:first-child {display:none}
  .hero {padding-top:39px;padding-bottom:43px}
  .hero h1 {font-size:36px;letter-spacing:-1.6px;line-height:1.35}
  .sites-section {padding-top:26px;padding-bottom:42px}
  .section-heading h2 {font-size:22px}
  .toolbar {gap:18px;flex-direction:column;align-items:stretch;margin:22px 0}
  .filters {gap:2px}
  .filters button {padding:10px 12px;font-size:12px}
  .site-search {width:100%;padding-bottom:11px}
  .site-grid {grid-template-columns:minmax(0,1fr);gap:34px}
  .site-cover {height:225px;border-radius:14px}
  .card-heading {margin-top:18px}
  .card-heading h3 {font-size:21px}
  .site-description {font-size:14px;margin-top:8px}
  .footer {gap:12px;padding-top:22px;padding-bottom:26px;font-size:11px}
  .footer>a:last-child {display:none}
}
@media(max-width:360px) {
  .header {gap:12px}
  .header .brand {font-size:20px;gap:9px}
  .header .brand img {width:27px;height:27px}
  .header nav {font-size:12px;gap:12px}
  .hero h1 {font-size:32px}
}
@media(prefers-reduced-motion:reduce) {html {scroll-behavior:auto}* {transition:none!important}}
