:root { color-scheme: light; --ink: #34302a; --muted: #666b66; --line: #dfe5df; --green: #315c48; --rose: #a25444; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.8 -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif; letter-spacing: 0; }
a { color: var(--green); text-underline-offset: 4px; overflow-wrap: anywhere; }
a:hover { color: var(--rose); }
a:focus-visible, summary:focus-visible { outline: 3px solid #a25444; outline-offset: 4px; }
header { border-bottom: 1px solid var(--line); }
.topbar { max-width: 1060px; margin: auto; min-height: 68px; padding: 14px 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.brand { color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 30px; height: 30px; }
nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
main { max-width: 960px; margin: auto; padding: 36px 24px 60px; }
.eyebrow { color: var(--rose); font-size: 13px; font-weight: 700; margin: 0 0 8px; }
h1 { font-size: 34px; line-height: 1.35; margin: 0 0 18px; overflow-wrap: anywhere; }
h2 { font-size: 23px; line-height: 1.5; margin: 36px 0 16px; }
h3 { font-size: 18px; line-height: 1.6; margin: 0 0 6px; }
p { margin: 12px 0; }
.muted, figcaption { color: var(--muted); font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin: 22px 0 8px; }
.download { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border-radius: 6px; background: var(--green); color: #fff; font-weight: 600; text-decoration: none; }
.download:hover { background: #244d3a; color: #fff; }
.previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 8px; }
.previews figure { margin: 0; min-width: 0; }
.previews img { width: 100%; height: 210px; display: block; object-fit: contain; background: #f2f5f3; }
.previews figcaption { margin-top: 6px; font-size: 12px; }
section { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 2px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin: 24px 0; }
.facts div { border-left: 3px solid #8caa98; padding-left: 14px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.series { list-style: none; padding: 0; counter-reset: parts; }
.series li { counter-increment: parts; display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.series li::before { content: "0" counter(parts); font: 20px/1.6 Georgia, serif; color: var(--rose); }
.series p { margin: 2px 0; }
.status { font-size: 13px; color: var(--muted); }
details { padding: 12px 0; }
summary { cursor: pointer; font-weight: 600; }
.hash { font: 12px/1.7 Consolas, monospace; overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--line); padding: 24px; font-size: 13px; color: var(--muted); text-align: center; }
.document { max-width: 880px; }
.document h1 { font-size: 29px; }
.document h2 { padding-top: 12px; border-top: 1px solid var(--line); }
.document ul, .document ol { padding-left: 24px; }
.document li { margin: 8px 0; }
code { font-family: Consolas, "SFMono-Regular", monospace; overflow-wrap: anywhere; font-size: .9em; }
pre { border: 1px solid var(--line); background: #f4f6f5; padding: 18px; border-radius: 6px; overflow-x: auto; max-width: 100%; line-height: 1.65; }
pre code { overflow-wrap: normal; font-size: 13px; }
blockquote { margin: 20px 0; padding: 2px 18px; border-left: 3px solid #8caa98; background: #f5f8f6; }
table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; font-size: 14px; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; min-width: 100px; }
th { background: #f4f6f5; }
.document img { max-width: 100%; height: auto; }
@media (max-width: 600px) {
  .topbar { padding: 12px 18px; }
  nav { gap: 14px; }
  main { padding: 26px 18px 40px; }
  h1 { font-size: 28px; }
  .document h1 { font-size: 25px; }
  h2 { font-size: 21px; }
  .facts { grid-template-columns: 1fr; gap: 12px; }
  .previews { gap: 8px; }
  .previews img { height: 135px; }
  .actions { align-items: stretch; }
  .download { width: 100%; }
}
