:root{--paper:#f6f4ee;--ink:#232a25;--muted:#73776e;--line:#d2d4c8;--accent:#737d43}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Times New Roman",SimHei,"黑体",sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:6px}header,main,footer{max-width:1320px;margin:auto;padding:0 56px}header{height:110px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-family:Georgia,serif;font-size:28px;font-weight:bold;letter-spacing:-1px}.brand span{font-family:serif;font-size:13px;margin-left:12px;letter-spacing:1px}nav{display:flex;gap:38px;font-size:14px}.edition,.eyebrow{font-size:11px;letter-spacing:2px}.edition{color:var(--muted)}.intro{padding:64px 0 48px}.eyebrow{color:var(--muted)}h1{font-family:"Times New Roman","Songti SC",SimSun,serif;font-size:clamp(42px,5.3vw,72px);font-weight:500;letter-spacing:3px;line-height:1.35;margin:28px 0 30px}h1 span{color:var(--accent)}.intro-bottom{display:flex;justify-content:space-between;align-items:end}.intro p,.description,.about p,.explore p{font-size:14px;line-height:2;color:var(--muted);margin:0}.text-link{display:inline-flex;gap:40px;border-bottom:1px solid var(--ink);padding-bottom:10px;font-size:13px}.text-link span{font-size:19px}.feature{border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);padding:30px 0;display:grid;grid-template-columns:1.25fr 1fr;gap:48px}.feature-image{background:#e7e8de;min-height:490px;position:relative;display:flex;align-items:center;padding:32px}.feature-image img{width:100%;max-height:460px;object-fit:contain;mix-blend-mode:multiply}.feature-image>span{position:absolute;bottom:16px;left:24px;font-size:10px;letter-spacing:2px}.feature-copy{padding:8px 12px 0 0}.feature-copy .eyebrow{display:flex;justify-content:space-between;font-size:10px}.category{margin-top:35px;font-size:12px;color:var(--accent)}h2{font-family:SimSun,serif;font-weight:500}.feature h2{font-size:46px;line-height:1.3;margin:20px 0}em{font-style:normal;color:var(--accent)}.feature .text-link{margin-top:22px}.meta{border-top:1px solid var(--line);margin-top:28px;padding-top:15px;font-size:16px;color:var(--muted);display:flex;justify-content:space-between;letter-spacing:1px}.journal{padding-top:72px}.section-heading{display:flex;align-items:center;justify-content:space-between}.section-heading h2{font-size:29px;margin:0}.section-heading small{font:10px Arial;margin-left:20px;letter-spacing:2px;color:var(--muted)}.section-heading>span{font-size:12px;color:var(--muted)}.filters{display:flex;gap:24px;border-bottom:1px solid var(--line);padding:30px 0 15px}.filters button{background:none;border:0;padding:7px 0;color:var(--muted);font:13px inherit;cursor:pointer}.filters .active{color:var(--ink);box-shadow:0 2px var(--ink)}sup{font-size:9px}.article{display:grid;grid-template-columns:70px 1fr 115px 24px;gap:24px;align-items:center;padding:30px 0;border-bottom:1px solid var(--line)}.number{font:italic 24px Georgia;color:#929584}.article h3{font-family:SimSun,serif;font-size:23px;font-weight:500;margin:10px 0}.article p{font-size:14px;color:var(--muted);line-height:1.8;margin:0}.article time{font-size:17px;color:var(--muted)}.tag{font-size:17px;color:var(--accent);letter-spacing:1px}.explore{display:grid;grid-template-columns:1fr 1fr;gap:60px;padding:65px 40px;margin:70px 0;background:#e9ebdf}.explore h2{font-size:36px;line-height:1.4;margin:16px 0}.explore-links>a{display:flex;align-items:center;gap:25px;border-bottom:1px solid #c5cabb;padding:22px 0}.explore-links>a>span{font:italic 15px Georgia;color:var(--muted)}.explore h3{font-family:SimSun,serif;font-weight:500;font-size:24px;margin:0 0 8px}.explore-links b{margin-left:auto;font-weight:normal;font-size:24px}.about{display:grid;grid-template-columns:130px 1fr 120px;gap:40px;align-items:center;padding:5px 0 65px}.about img{width:130px;height:160px;object-fit:cover;filter:grayscale(1)}.about h2{font-size:30px;margin:17px 0}.about p{max-width:580px}.about .text-link{margin-top:20px}.about-note{font-family:SimSun,serif;color:var(--accent);font-size:18px;line-height:2}footer{border-top:1px solid var(--line);min-height:110px;display:flex;justify-content:space-between;align-items:center}footer>span,footer>a:last-child{font-size:18px;color:var(--muted)}@media(max-width:760px){header,main,footer{padding-left:22px;padding-right:22px}header{height:80px}.edition{display:none}.brand{font-size:23px}.brand span{display:none}nav{gap:20px}.intro{padding-top:40px}h1{font-size:40px;letter-spacing:0}.intro-bottom{align-items:start;gap:25px}.intro p{font-size:12px}.text-link{gap:15px;white-space:nowrap}.feature{grid-template-columns:1fr;gap:20px}.feature-image{min-height:300px;padding:20px}.feature-image img{max-height:340px}.feature h2{font-size:40px}.feature h2 br{display:none}.category{margin-top:25px}.section-heading small,.section-heading>span{display:none}.article{grid-template-columns:30px 1fr 15px;gap:14px}.article time{display:none}.article h3{font-size:20px;line-height:1.5}.explore{grid-template-columns:1fr;padding:30px 22px;gap:15px;margin:45px 0}.about{grid-template-columns:75px 1fr;gap:20px}.about img{width:75px;height:100px}.about-note{display:none}.about h2{font-size:24px}.about .eyebrow{font-size:8px}footer{gap:15px}footer>span{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
:root { color-scheme: light; }
.about img { filter: none !important; mix-blend-mode: normal; }
.journal-motto { margin-top: 28px !important; padding-top: 20px; border-top: 1px solid var(--line); font-family: FangSong, STFangsong, 'FangSong_GB2312', serif; font-weight: 700; font-size: 14px !important; }

/* VOL.0 · 冷灰蓝技术卷：沿用同一杂志结构，切换为制图纸配色。 */
body.journal-volume-0 {
  --paper: #edf1f3;
  --ink: #24313a;
  --muted: #6f7c83;
  --line: #c8d0d4;
  --accent: #607987;
}

body.journal-volume-0 .feature-image {
  background-color: #dce5e9;
  background-image:
    linear-gradient(rgba(96, 121, 135, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 121, 135, .12) 1px, transparent 1px);
  background-size: 24px 24px;
}

body.journal-volume-0 .feature-image img {
  filter: saturate(.72) contrast(1.04);
  mix-blend-mode: multiply;
}

body.journal-volume-0 .explore {
  background: #e1e8eb;
}
.article[hidden], [hidden] { display: none !important; }
.filters { flex-wrap: wrap; }
.pagination { justify-content: center; gap: 20px; padding: 24px 0; }
@media (max-width: 1000px) { .edition { display: none; } nav { gap: 18px; } }
@media (max-width: 540px) { header { height: auto; min-height: 95px; flex-wrap: wrap; gap: 18px; padding-top: 20px; padding-bottom: 18px; } header nav { flex-wrap: wrap; gap: 14px; font-size: 12px; } }

.article-date {
  text-align: right;
}

.article-date time {
  display: block;
}

.article-date .journal-issue {
  display: block;
  margin-top: 7px;
  color: var(--accent);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .02em;
}

@media (min-width: 761px) {
  .article {
    grid-template-columns: 70px minmax(0, 1fr) 190px 24px;
  }
}

@media (max-width: 760px) {
  .article-date { display: none; }
}

/* 年度内容更新热力图 */
.activity {
  padding-top: 64px;
}

.heatmap-card {
  margin-top: 28px;
  padding: 28px 30px 24px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.heatmap-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.heatmap-summary div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.heatmap-summary strong {
  font: 500 38px Georgia, serif;
  color: var(--accent);
}

.heatmap-summary span,
.heatmap-summary p,
.heatmap-legend {
  color: var(--muted);
  font-size: 12px;
}

.heatmap-summary p {
  margin: 0;
  letter-spacing: .04em;
}

.heatmap-scroll {
  overflow-x: auto;
  padding: 2px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.heatmap-scroll:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 6px;
}

.heatmap-months {
  display: grid;
  grid-template-columns: repeat(53, 12px);
  gap: 4px;
  width: max-content;
  margin-left: 30px;
  min-height: 18px;
  color: var(--muted);
  font-size: 10px;
}

.heatmap-months span {
  white-space: nowrap;
}

.heatmap-body {
  display: flex;
  gap: 8px;
  width: max-content;
}

.heatmap-weekdays {
  display: grid;
  grid-template-rows: repeat(3, 28px);
  width: 22px;
  padding-top: 13px;
  color: var(--muted);
  font-size: 9px;
}

.heatmap-grid {
  display: grid;
  grid-template-rows: repeat(7, 12px);
  grid-auto-flow: column;
  grid-auto-columns: 12px;
  gap: 4px;
}

.heatmap-cell {
  display: block;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(35, 42, 37, .08);
  background: #e5e5dc;
}

.heatmap-cell.level-1 { background: #d9ddc3; }
.heatmap-cell.level-2 { background: #b8c08b; }
.heatmap-cell.level-3 { background: #929d5d; }
.heatmap-cell.level-4 { background: var(--accent); }

.heatmap-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 12px;
}

.heatmap-legend .heatmap-cell {
  display: inline-block;
}

@media (max-width: 760px) {
  .activity { padding-top: 45px; }
  .heatmap-card { padding: 22px 0 18px; }
  .heatmap-summary { align-items: start; flex-direction: column; gap: 6px; }
  .heatmap-summary strong { font-size: 32px; }
  .heatmap-legend { justify-content: flex-start; }
}

.edition:hover { color: var(--accent); }

/* VOL.2 · 学习资料：朱红色油墨与浅暖纸张。 */
body.journal-volume-2 { --paper:#fbf5f2; --ink:#382826; --muted:#806a65; --line:#e2cac4; --accent:#b73535; }
body.journal-volume-2 .explore, body.journal-volume-2 .feature-image { background:#f2e2dd; }
body.journal-volume-2 .volume-empty { margin-top:24px; padding:40px 24px; border:1px solid var(--line); border-top:3px solid var(--accent); background:#fffaf8; }
body.journal-volume-2 .volume-empty h3 { font-family:SimSun,serif; font-size:26px; font-weight:500; color:var(--accent); }
body.journal-volume-2 .volume-empty p { color:var(--muted); line-height:1.8; }

body.journal-volume-2 .heatmap-cell.level-1 { background:#f3d5d5; }
body.journal-volume-2 .heatmap-cell.level-2 { background:#e79b9b; }
body.journal-volume-2 .heatmap-cell.level-3 { background:#ce5555; }
body.journal-volume-2 .heatmap-cell.level-4 { background:#a52c32; }
