
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: #15171a; background: #f6f7f8; }
a { color: inherit; }
.page { width: min(1040px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 64px; }
.site-header { margin-bottom: 24px; }
.site-header h1 { margin: 0 0 6px; font-size: 30px; letter-spacing: 0; }
.site-header p { margin: 0; color: #5f6872; }
.section-block { margin-top: 28px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.section-heading h2, .about-site h2 { margin: 0; font-size: 20px; letter-spacing: 0; }
.section-heading a, .data-links a { color: #40556d; font-size: 14px; text-decoration: none; border-bottom: 1px solid #c6d0da; }
.feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; align-items: start; }
.paper-card { display: block; overflow: hidden; text-decoration: none; background: #fff; border: 1px solid #e2e5e8; border-radius: 8px; box-shadow: 0 8px 24px rgba(20, 30, 40, 0.06); }
.paper-cover { width: 100%; aspect-ratio: 3 / 4; background: #101820; overflow: hidden; }
.paper-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.paper-card-body { padding: 14px 14px 16px; }
.paper-card h2 { margin: 0 0 8px; font-size: 17px; line-height: 1.42; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.paper-card p { margin: 0 0 10px; color: #39424e; line-height: 1.55; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.paper-card span { color: #7c8794; font-size: 13px; }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.topic-card { display: block; min-height: 132px; padding: 15px; text-decoration: none; background: #fff; border: 1px solid #e2e5e8; border-radius: 8px; }
.topic-card strong { display: block; font-size: 16px; margin-bottom: 5px; }
.topic-card span { display: inline-block; margin-bottom: 10px; color: #66717d; font-size: 13px; }
.topic-card p { margin: 0; color: #39424e; line-height: 1.6; font-size: 14px; }
.about-site { padding: 18px; background: #fff; border: 1px solid #e2e5e8; border-radius: 8px; }
.about-site p { max-width: 760px; color: #39424e; line-height: 1.75; }
.data-links { display: flex; flex-wrap: wrap; gap: 12px; }
.back { display: inline-block; margin-bottom: 18px; color: #40556d; text-decoration: none; }
.post { padding: 22px; background: #fff; border: 1px solid #e2e5e8; border-radius: 8px; }
.post-cover { margin: 0 0 22px; }
.post-cover img { width: 100%; height: auto; border: 1px solid #e2e5e8; border-radius: 6px; }
.post h1 { margin: 0 0 18px; font-size: 28px; line-height: 1.35; letter-spacing: 0; }
.post h2 { margin: 30px 0 10px; font-size: 20px; line-height: 1.4; letter-spacing: 0; }
.post p { margin: 0 0 13px; line-height: 1.78; color: #262c33; }
.post figure { margin: 18px 0; }
.post img { width: 100%; height: auto; border: 1px solid #e2e5e8; border-radius: 6px; }
.post-appendix { margin-top: 34px; padding-top: 10px; border-top: 1px solid #e2e5e8; }
.post-appendix ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.post-appendix li { padding: 10px 12px; background: #f8fafb; border: 1px solid #e7ebef; border-radius: 6px; }
.post-appendix a { color: #274f7a; text-decoration: none; }
.post-appendix li span { color: #262c33; }
.post-appendix li em { margin-left: 8px; color: #818b96; font-style: normal; font-size: 13px; }
.related-list li { display: grid; gap: 4px; }
.related-title { font-weight: 650; }
.related-meta { color: #7c8794; font-size: 13px; }
.related-list p { margin: 0; color: #39424e; font-size: 14px; line-height: 1.65; }
.bottom-back { margin: 8px 0 0; }
.topic-page { padding: 22px; background: #fff; border: 1px solid #e2e5e8; border-radius: 8px; }
.topic-page h1 { margin: 0 0 8px; font-size: 28px; letter-spacing: 0; }
.topic-page > p { margin: 0 0 18px; color: #5f6872; line-height: 1.65; }
.topic-paper-list { display: grid; gap: 10px; }
.topic-paper-row { display: grid; gap: 5px; padding: 13px; border: 1px solid #e2e5e8; border-radius: 6px; text-decoration: none; }
.topic-paper-row strong { line-height: 1.45; }
.topic-paper-row span { color: #39424e; line-height: 1.55; }
.topic-paper-row em, .empty-state { color: #7c8794; font-style: normal; }
@media (max-width: 560px) {
  .section-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .feed { grid-template-columns: 1fr; gap: 18px; }
  .post { padding: 16px; }
  .post h1 { font-size: 23px; }
}
