/* ==================================================================
   纸与铁 · 拾光日报
   宋体、宣纸、朱印，配一点构成主义的红与黑。
   ================================================================== */

@font-face {
  font-family: "Latin Serif";
  src: local("Times New Roman"), local("TimesNewRoman");
  unicode-range: U+0000-007F;
  font-display: swap;
}

:root {
  --bg: #f3efe5;
  --bg-2: #eae4d6;
  --panel: #f8f4ea;
  --ink: #1a1916;
  --ink-2: #3b3832;
  --muted: #6f675a;
  --faint: #8a8070;
  --line: #d6ccbc;
  --line-2: #e4dccd;
  --red: #a83424;
  --red-2: #c04a35;
  --steel: #5f6662;
  --radius: 0px;
  --latin: "Latin Serif", "Times New Roman", Times, Georgia, serif;
  --serif: var(--latin), "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --sans: var(--latin), "Helvetica Neue", "Arial", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: var(--latin), "IBM Plex Mono", "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

[data-theme="dark"] {
  --bg: #151412;
  --bg-2: #1d1b17;
  --panel: #1a1814;
  --ink: #e9e3d5;
  --ink-2: #cbc3b2;
  --muted: #a99e89;
  --faint: #948a76;
  --line: #302c25;
  --line-2: #24211b;
  --red: #d15c45;
  --red-2: #e07a60;
  --steel: #8a918c;
}

* { box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
.site-main { min-height: 0; }
::selection { background: var(--red); color: #fff; }
a { color: inherit; }
img { max-width: 100%; border-radius: 0; }
code, pre, kbd, samp, .codeblock, .prose code { font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace; }
.post-cover img,
.sheet-photo img,
.lead-figure img,
.story-img img,
.rail-plate img { border-radius: 0; }

/* ---------------- 顶栏 ---------------- */
.site-head {
  background: var(--bg);
  border-bottom: 1px solid var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.head-inner {
  width: calc(100% - 64px);
  max-width: 1180px;
  height: 64px;
  gap: 32px;
}
.page-home .head-inner { max-width: 1280px; }
.page-home .foot-inner { max-width: 1280px; }
.brand {
  gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.brand-seal {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--bg);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0;
}
.brand-sub {
  margin-left: 2px;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--faint);
}
.nav {
  gap: 30px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.nav a { padding: 4px 0; border: 0; position: relative; }
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); font-weight: 600; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -25px;
  height: 2px;
  background: var(--red);
}
.icon-btn {
  width: 30px;
  height: 30px;
  border: 1px solid transparent;
  border-radius: 0;
}
.icon-btn:hover { border-color: var(--ink); background: transparent; color: var(--ink); }

/* ---------------- 基础按钮与标签 ---------------- */
.btn {
  border-radius: 0;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 8px 15px;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-2); border-color: var(--red-2); color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 10px; }
.link-btn { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.link-btn:hover { color: var(--red); text-decoration-color: var(--red); }
.tag { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.tag:hover { color: var(--red); }
.tag-chip {
  border-radius: 0;
  border: 1px solid var(--line);
  background: transparent;
  padding: 3px 8px;
  font-size: 11px;
}
.tag-chip:hover { border-color: var(--ink); color: var(--ink); background: transparent; }
.cat-chip {
  border-radius: 0;
  background: none;
  padding: 0;
  color: var(--red);
  font-size: 9px;
  letter-spacing: 0.12em;
}
.cat-chip .ic { display: none; }

/* ---------------- 页面宽度 ---------------- */
.wrap {
  width: calc(100% - 64px);
  max-width: 1180px;
}
.wrap.narrow { max-width: 720px; }
.sheet-wrap {
  width: calc(100% - 64px);
  max-width: 1180px;
  margin-inline: auto;
}
.post-wrap { width: calc(100% - 64px); max-width: 860px; }
.post-wrap.has-toc { width: calc(100% - 64px); max-width: 1080px; }
.photo-wall-wrap {
  width: calc(100% - 64px);
  max-width: 1180px;
  margin-inline: auto;
}
.page-shell {
  width: calc(100% - 64px);
  max-width: 1180px;
  margin-inline: auto;
}

/* ---------------- 头版 ---------------- */
.front {
  width: calc(100% - 64px);
  max-width: 1280px;
  margin-inline: auto;
  padding: 26px 0 0;
}
.front-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.front-meta .meta:nth-child(2) { margin-left: auto; }
.edition {
  padding: 3px 8px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.06em;
}
.front-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 32px 0 20px;
}
.front-name { display: flex; align-items: center; gap: 20px; min-width: 0; }
.seal {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: upright;
}
.front-title h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 7.2vw, 112px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0.04em;
}
.front-ear {
  flex: 0 1 300px;
  min-width: 240px;
  padding-left: 24px;
  border-left: 1px solid var(--ink);
}
.ear-kicker {
  margin: 0 0 9px;
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--red);
}
.ear-kicker span { color: var(--faint); margin: 0 3px; }
.front-ear blockquote { margin: 0; }
.front-ear blockquote p {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}
.front-ear cite {
  font-family: var(--latin);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--faint);
}
.front-index {
  display: flex;
  align-items: baseline;
  gap: 28px;
  padding: 10px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.front-index a:hover { color: var(--ink); }
.front-index em {
  margin-left: 5px;
  font-family: var(--latin);
  font-style: normal;
  font-size: 9px;
  color: var(--faint);
}
.front-all { margin-left: auto; color: var(--red); }
.front-all span { margin-left: 3px; }

.front-body {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: 30px;
}
.feed-column { min-width: 0; }
.essay-column {
  min-width: 0;
  position: sticky;
  top: 88px;
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.line-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.line-label {
  position: relative;
  padding-left: 13px;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.18em;
}
.line-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background: var(--red);
}
.line-meta {
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.social-feed { border-top: 1px solid var(--line); }
.social-post {
  padding: 16px 0 15px;
  border-bottom: 1px solid var(--line);
}
.social-head { display: flex; align-items: center; gap: 10px; }
.social-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--bg);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1;
}
.social-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; }
.social-who strong { font-family: var(--serif); font-size: 14px; font-weight: 600; }
.social-who span { font-family: var(--latin); font-size: 10px; color: var(--faint); }
.social-who i { font-style: normal; color: var(--line); }
.social-title {
  margin: 11px 0 5px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
}
.social-title a:hover { color: var(--red); }
.social-text {
  margin: 0;
  max-width: 46em;
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
}
.social-media {
  display: grid;
  grid-template-columns: repeat(3, 104px);
  gap: 8px;
  margin-top: 11px;
}
.social-media a { display: block; overflow: hidden; }
.social-media img {
  display: block;
  width: 104px;
  height: 104px;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.4s ease;
}
.social-media a:hover img { transform: scale(1.03); }
.social-media.count-1 { grid-template-columns: 180px; }
.social-media.count-1 img { width: 180px; height: 120px; }
.social-media.count-2 { grid-template-columns: repeat(2, 104px); }
.social-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 14px;
  margin-top: 9px;
  font-family: var(--latin);
  font-size: 9.5px;
  color: var(--faint);
}
.social-foot a { color: var(--red); }
.social-tags { letter-spacing: 0.02em; }

.essay-list { border-top: 1px solid var(--line); }
.essay-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.essay-meta {
  margin: 0 0 5px;
  font-family: var(--latin);
  font-size: 9.5px;
  color: var(--faint);
}
.essay-meta span { color: var(--red); margin-right: 8px; }
.essay-item h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
}
.essay-item.is-lead h3 { font-size: 28px; line-height: 1.3; }
.essay-item h3 a:hover { color: var(--red); }
.essay-item p {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}
.essay-more { font-family: var(--latin); font-size: 9.5px; color: var(--red); }
.front-empty-line { font-family: var(--serif); color: var(--faint); padding: 20px 0; }

.front-shelf {
  margin-top: 44px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
}
.front-shelf .home-books {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  border-top: 0;
}
.home-books {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.home-books li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 14px;
}
.home-book-kind { font-family: var(--latin); font-size: 9px; color: var(--faint); }
.home-books a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-books a:hover { color: var(--red); }
.home-books em { font-family: var(--latin); font-style: normal; font-size: 9px; color: var(--faint); }

.front-deep {
  margin-top: 38px;
  padding-top: 14px;
  border-top: 2px solid var(--red);
}
.deep-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 16px;
}
.deep-item {
  min-width: 0;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}
.deep-item:first-child { padding-left: 0; border-left: 0; }
.deep-no {
  display: block;
  margin-bottom: 7px;
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--red);
}
.deep-item h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.deep-item p {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.deep-speed {
  margin: 2px 0 7px !important;
  font-family: var(--serif) !important;
  font-size: 32px !important;
  line-height: 1 !important;
  color: var(--ink) !important;
  letter-spacing: -0.02em;
}
.deep-speed small { font-family: var(--latin); font-size: 9px; letter-spacing: 0.04em; color: var(--muted); }
.deep-data {
  display: block;
  margin-top: 3px;
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--faint);
}
.deep-note {
  margin: 18px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--latin);
  font-size: 9.5px;
  line-height: 1.8;
  color: var(--faint);
}
.front-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin-top: 32px;
  padding: 12px 0 30px;
  border-top: 1px solid var(--ink);
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--faint);
}
.front-print {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--red);
  font-family: var(--latin);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.front-print:hover { text-decoration: underline; text-underline-offset: 3px; }
.front-empty { padding: 70px 0; max-width: 760px; margin-inline: auto; }
.front-empty h2 { font-family: var(--serif); font-size: 38px; font-weight: 500; }

/* ---------------- 时间流 / 分类 ---------------- */
.section-page {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 48px;
  padding: 44px 0 20px;
  align-items: start;
}
.section-page.no-rail { display: block; max-width: 900px; }
.section-rail { position: sticky; top: 88px; }
.rail-kicker {
  margin: 0 0 12px;
  padding-top: 10px;
  border-top: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--red);
}
.section-nav { display: flex; flex-direction: column; }
.section-nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.section-nav a:hover { color: var(--ink); }
.section-nav a.is-active {
  margin-left: -13px;
  padding-left: 11px;
  border-left: 2px solid var(--red);
  color: var(--ink);
}
.section-nav em { font-family: var(--mono); font-style: normal; font-size: 8px; color: var(--faint); }
.section-folio {
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.section-main { min-width: 0; }
.section-head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink);
}
.section-head .section-folio { margin: 0 0 8px; color: var(--red); }
.section-head h1 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.06em;
}
.section-head p:last-child {
  margin: 0;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--muted);
}
.sheet-lead {
  padding: 26px 0 24px;
  border-bottom: 1px solid var(--line);
}
.sheet-lead h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 500;
  line-height: 1.25;
}
.sheet-lead h2 a:hover { color: var(--red); }
.sheet-deck {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
  max-width: 48em;
}
.sheet-photo { margin: 16px 0 10px; }
.sheet-photo img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  filter: saturate(0.9);
}
.sheet-meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  color: var(--faint);
}
.sheet-briefs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  border-bottom: 1px solid var(--line);
}
.sheet-brief {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.sheet-brief:nth-child(-n + 2) { border-top: 0; }
.sheet-brief.has-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 16px;
}
.sheet-brief h3 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
}
.sheet-brief h3 a:hover { color: var(--red); }
.sheet-brief p {
  margin: 0;
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}
.sheet-brief-thumb { display: block; overflow: hidden; align-self: start; }
.sheet-brief-thumb img {
  display: block;
  width: 112px;
  height: 84px;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.4s ease;
}
.sheet-brief-thumb:hover img { transform: scale(1.03); }
.sheet-index { padding: 24px 0 0; }
.sheet-index h2 {
  display: flex;
  justify-content: space-between;
  margin: 0 0 4px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.sheet-index h2 span { font-family: var(--mono); color: var(--faint); }
.sheet-index ul { list-style: none; margin: 0; padding: 0; }
.sheet-index li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--serif);
  font-size: 12.5px;
}
.sheet-index time { font-family: var(--mono); font-size: 8px; color: var(--faint); }
.sheet-index a:hover { color: var(--red); }
.sheet-cat { font-family: var(--mono); font-size: 7.5px; color: var(--faint); }
.section-empty { padding: 60px 0; }
.section-empty h2 { font-family: var(--serif); font-size: 30px; font-weight: 500; }

/* 分页 */
.pager {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}
.pager-btn,
.pager-num {
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--muted);
}
.pager-btn:hover,
.pager-num:hover { border-color: var(--ink); color: var(--ink); }
.pager-num.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------------- 文章 ---------------- */
.page-post { background: var(--bg); }
.post { padding-top: 42px; }
.post-head { max-width: 46em; }
.post-kicker {
  display: flex;
  gap: 8px;
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--red);
}
.post-kicker span { color: var(--faint); }
.post-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 50px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0.01em;
}
.post-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 20px 0 0;
  padding: 8px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.post-cover { margin: 26px 0 0; border-radius: 0; overflow: hidden; }
.post-cover img { display: block; width: 100%; border-radius: 0; filter: saturate(0.9); }
.post-gallery-item { border-radius: 0; }
.prose {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.98;
  color: var(--ink-2);
}
.prose p { margin: 0 0 1.1em; }
.prose h2 {
  margin: 2em 0 0.8em;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
}
.prose h3 { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.prose h2::before { display: none; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 2px 0 2px 18px;
  border-left: 2px solid var(--red);
  color: var(--ink-2);
  font-style: normal;
}
.prose code { border-radius: 0; background: var(--bg-2); }
.prose img { border-radius: 0; filter: saturate(0.92); }
.prose table { font-size: 13px; }
.prose th { border-bottom: 1px solid var(--ink); }
.prose td { border-bottom: 1px solid var(--line-2); }
.post-end {
  margin: 30px 0 0;
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.5em;
  color: var(--red);
}
.post-foot {
  margin-top: 32px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
}
.post-tags .tag-chip { border: 0; padding: 2px 0; margin-right: 10px; color: var(--muted); }
.post-tags .tag-chip:hover { color: var(--red); }
.post-colophon {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.post-colophon span { margin: 0 4px; }
.toc { border-left: 1px solid var(--line); }
.toc-title {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--red);
}
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a {
  display: block;
  padding: 4px 0 4px 10px;
  border-left: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}
.toc a:hover, .toc a.is-active { border-left-color: var(--red); color: var(--ink); }
.post-adjacent { margin-top: 40px; border-top: 1px solid var(--line); }
.adjacent-label { font-family: var(--mono); font-size: 8px; letter-spacing: 0.06em; color: var(--faint); }
.adjacent-title { font-family: var(--serif); font-size: 14px; }
.section-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}
.related { margin-top: 40px; border-top: 1px solid var(--ink); }
.related-cat { font-family: var(--mono); font-size: 8px; color: var(--faint); }
.related-title { font-family: var(--serif); }
.comments { margin-top: 40px; border-top: 1px solid var(--ink); }
.comment-form input,
.comment-form textarea {
  border-radius: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--ink); }
.comment-form label > span { font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; }
.comment-item { border-bottom: 1px solid var(--line-2); }
.comment-author { font-family: var(--serif); font-size: 14px; }
.codeblock { border-radius: 0; border: 1px solid var(--line); background: var(--bg-2); }
.codeblock figcaption {
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}
.codeblock code { background: none; border: 0; }

/* ---------------- 归档 / 标签 / 搜索 / 书架 / 人物 ---------------- */
.page-head {
  padding: 44px 0 20px;
  border-bottom: 1px solid var(--ink);
}
.page-kicker {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--red);
}
.page-title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.05em;
}
.page-desc { margin: 0; font-family: var(--serif); font-size: 13px; color: var(--muted); }
.custom-page { max-width: 860px; padding: 42px 0 20px; }
.custom-prose { margin-top: 24px; }
.year-tabs { display: flex; gap: 18px; margin: 18px 0 0; border-bottom: 1px solid var(--line); }
.year-tabs a {
  padding: 7px 0;
  border: 0;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
}
.year-tabs a.is-active { color: var(--red); border-bottom: 2px solid var(--red); }
.archive-month {
  margin: 28px 0 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
}
.archive-item { border-bottom: 1px solid var(--line-2); }
.archive-cat { font-family: var(--mono); font-size: 8px; color: var(--faint); }
.tag-cloud { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 18px; margin-top: 24px; }
.tag-cloud .tag-chip {
  border: 0;
  padding: 3px 0;
  font-family: var(--serif);
  font-size: 13.5px;
  color: var(--ink-2);
}
.tag-cloud .tag-chip span {
  margin-left: 5px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--faint);
}
.tag-cloud .tag-chip:hover { color: var(--red); }
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}
.pill {
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 11.5px;
  color: var(--muted);
}
.pill:hover { color: var(--ink); background: none; }
.pill.is-active { color: var(--ink); border-bottom: 2px solid var(--red); background: none; }
.pill-num { margin-left: 5px; font-family: var(--mono); font-size: 8px; color: var(--faint); }
.search-page-form { display: flex; gap: 12px; margin-top: 16px; }
.search-page-form input {
  flex: 1;
  border-radius: 0;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  padding: 10px 12px;
}
.search-page-form input:focus { border-color: var(--red); outline: none; }
.search-feed .entry-cover { display: none; }
.kind-tabs { display: flex; gap: 24px; margin-top: 18px; border-bottom: 1px solid var(--line); }
.kind-tab {
  padding: 7px 0;
  border: 0;
  border-radius: 0;
  font-size: 12px;
  color: var(--muted);
}
.kind-tab .ic { display: none; }
.kind-tab.is-active { color: var(--red); border-bottom: 2px solid var(--red); }
.anime-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.anime-cover { border: 0; border-radius: 0; }
.anime-title { font-family: var(--serif); font-size: 15px; font-weight: 500; }
.anime-sub { font-family: var(--mono); font-size: 8px; }
.anime-badge, .anime-score { border-radius: 0; }
.anime-note { font-family: var(--serif); }
.anime-card:hover .anime-cover img { transform: none; filter: saturate(0.94); }
.about-head { padding: 44px 0 20px; border-bottom: 1px solid var(--ink); }
.about-avatar { border-radius: 0; border: 0; filter: grayscale(1); }
.about-prose { font-family: var(--serif); }
.about-stats { border-top: 1px solid var(--line); }
.about-stats strong { font-family: var(--serif); font-weight: 500; }
.about-links a { border-radius: 0; }

/* ---------------- 相册 ---------------- */
.album-wall {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 15vw, 230px);
  gap: 24px;
  padding: 8px 0 24px;
}
.album-card {
  display: block;
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--bg-2);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.75, 0.25, 1);
  will-change: transform;
}
.album-card:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.album-card:nth-child(2) { grid-column: span 5; }
.album-card:nth-child(3) { grid-column: span 5; }
.album-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
  transition: transform 0.55s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.album-card:hover {
  transform: translateY(-6px) rotate(-0.35deg);
  box-shadow: 8px 11px 0 color-mix(in srgb, var(--ink) 12%, transparent);
  z-index: 2;
}
.album-card:nth-child(even):hover { transform: translateY(-6px) rotate(0.35deg); }
.album-card:hover img { transform: scale(1.03); }
.album-card:active {
  transform: translateY(-1px) rotate(0deg);
  box-shadow: 2px 3px 0 color-mix(in srgb, var(--ink) 14%, transparent);
}
.album-tile-empty { display: block; width: 100%; aspect-ratio: 4 / 3; }

/* ---------------- 页脚 ---------------- */
.site-foot {
  margin-top: 64px;
  border-top: 1px solid var(--ink);
}
.foot-inner {
  width: calc(100% - 64px);
  max-width: 1180px;
  padding: 22px 0 34px;
  align-items: flex-start;
}
.foot-title {
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.12em;
}
.foot-title span {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.foot-text { font-family: var(--sans); font-size: 9.5px; color: var(--faint); }
.foot-orbit { display: inline-block; margin: 0; font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.14em; color: var(--faint); }
.foot-orbit:hover { color: var(--red); }
.foot-links { font-family: var(--mono); font-size: 8px; letter-spacing: 0.05em; gap: 16px; }
.foot-links a:hover { color: var(--red); }

/* 搜索框 */
.search-dialog { border-radius: 0; border: 1px solid var(--ink); }
.search-form input { border-radius: 0; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1200px) {
  .front-title { gap: 28px; }
}

@media (max-width: 1000px) {
  .front-body { grid-template-columns: 1fr; gap: 30px; }
  .essay-column {
    position: static;
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--ink);
  }
  .section-page { display: block; }
  .section-rail {
    position: static;
    margin-bottom: 26px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .rail-kicker { display: none; }
  .section-nav { flex-direction: row; flex-wrap: wrap; gap: 0 18px; }
  .section-nav a { border-bottom: 0; padding: 7px 0; }
  .section-nav a.is-active {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    border-bottom: 2px solid var(--red);
  }
  .section-folio { display: none; }
  .section-page { padding-top: 32px; }
  .deep-grid { grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .deep-item {
    padding: 16px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .deep-item:nth-child(-n + 2) { border-top: 0; }
}

@media (max-width: 820px) {
  .album-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 16px; }
  .album-card:nth-child(n) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .anime-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .head-inner { width: calc(100% - 32px); height: 56px; gap: 16px; }
  .brand { font-size: 17px; letter-spacing: 0.08em; }
  .brand-sub { display: none; }
  .nav { gap: 15px; font-size: 11.5px; }
  .nav a.is-active::after { bottom: -22px; }
  .front,
  .page-shell,
  .wrap,
  .sheet-wrap,
  .post-wrap,
  .photo-wall-wrap,
  .foot-inner { width: calc(100% - 36px); }
  .front { padding-top: 18px; }
  .front-meta { flex-wrap: wrap; gap: 6px 12px; font-size: 9.5px; }
  .front-meta .meta:nth-child(2) { margin-left: 0; }
  .front-title { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 0 16px; }
  .front-name { gap: 14px; }
  .seal { width: 40px; height: 40px; font-size: 11px; }
  .front-title h1 { font-size: clamp(48px, 12vw, 68px); }
  .front-ear {
    flex: none;
    width: 100%;
    min-width: 0;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--ink);
  }
  .front-ear blockquote p { font-size: 15px; }
  .front-index { flex-wrap: wrap; gap: 8px 18px; font-size: 11.5px; }
  .front-all { margin-left: 0; }
  .front-body { padding-top: 24px; gap: 26px; }
  .social-title { font-size: 18px; }
  .social-text { font-size: 14px; }
  .social-media { grid-template-columns: repeat(3, 96px); }
  .social-media img { width: 96px; height: 96px; }
  .social-media.count-1 { grid-template-columns: 160px; }
  .social-media.count-1 img { width: 160px; height: 107px; }
  .social-media.count-2 { grid-template-columns: repeat(2, 96px); }
  .essay-item.is-lead h3 { font-size: 24px; }
  .front-shelf .home-books { grid-template-columns: 1fr; }
  .home-books li { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 8px; }
  .deep-grid { grid-template-columns: 1fr; gap: 0; }
  .deep-item { padding: 14px 0; border-top: 1px solid var(--line); }
  .deep-item:first-child { border-top: 0; }
  .front-foot { padding-bottom: 22px; }
  .section-page { padding-top: 24px; }
  .section-head h1 { font-size: 40px; }
  .section-head { padding-bottom: 16px; }
  .sheet-lead h2 { font-size: 28px; }
  .sheet-briefs { grid-template-columns: 1fr; }
  .sheet-brief:nth-child(2) { border-top: 1px solid var(--line); }
  .sheet-brief.has-media { grid-template-columns: minmax(0, 1fr) 92px; }
  .sheet-brief-thumb img { width: 92px; height: 70px; }
  .sheet-index li { grid-template-columns: 44px minmax(0, 1fr); }
  .sheet-index .sheet-cat { display: none; }
  .post { padding-top: 30px; }
  .post-title { font-size: 30px; }
  .prose { font-size: 16px; line-height: 1.95; }
  .anime-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-inner { gap: 14px; }
}

@media (max-width: 420px) {
  .brand { font-size: 16px; }
  .nav { gap: 11px; font-size: 10.5px; }
  .nav a { padding: 4px 0; }
  .front-index { gap: 7px 14px; }
  .deep-speed { font-size: 30px !important; }
  .album-wall { grid-template-columns: 1fr; }
}

@media print {
  .site-head, .site-foot, .front-print, .search-dialog { display: none !important; }
  body { background: #fff; }
  .front { width: 100%; }
}

/* 小字统一提亮、放大一档 */
.brand-sub,
.rail-kicker,
.section-folio,
.section-nav em,
.sheet-meta,
.post-kicker,
.post-byline,
.post-colophon,
.page-kicker,
.archive-cat,
.year-tabs a,
.tag-cloud .tag-chip span,
.pager,
.kind-tab .tag,
.anime-sub,
.anime-badge,
.anime-score,
.foot-orbit,
.foot-links,
.foot-text,
.sheet-index time,
.sheet-cat,
.home-notes time,
.home-notes a,
.home-book-kind,
.home-books em,
.deep-data,
.deep-note,
.front-foot,
.social-foot,
.essay-meta,
.line-meta,
.front-meta,
.front-index em { font-size: 10px; line-height: 1.7; }



