/* ============================================================
   B/C：首页、分类页、标签页、页脚
   ============================================================ */

/* 头部：统一压暗 + 隐藏素材右上角游戏水印 */
#content-inner.layout { flex: 0 0 auto; }

.hero-corner-mask {
  position: absolute;
  top: 0;
  right: 0;
  width: min(480px, 58%);
  height: min(220px, 52%);
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(100% 100% at 100% 0%,
    #0b1412 0%,
    rgba(11, 20, 18, .95) 45%,
    rgba(11, 20, 18, .55) 72%,
    transparent 90%);
}

#page-header > #nav {
  z-index: 90;
}

#page-header.not-home-page::after {
  background:
    radial-gradient(60% 46% at 100% 0%,
      rgba(7, 14, 12, .99) 0%,
      rgba(7, 14, 12, .96) 36%,
      rgba(7, 14, 12, .60) 64%,
      transparent 84%),
    linear-gradient(180deg,
      rgba(7, 14, 12, .58) 0%,
      rgba(7, 14, 12, .55) 48%,
      rgba(7, 14, 12, .80) 100%);
}

#page-header #site-title,
#page-header #site-subtitle,
#page-header #post-info,
#page-header #page-site-info h1 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, .80), 0 0 26px rgba(0, 0, 0, .45);
}

/* 文章 / 内页标题下面垫一层很淡的暗带，避免压在人物衣服上 */
#page-header.post-bg #post-info {
  padding-top: 18px;
  padding-bottom: 20px;
  background: linear-gradient(90deg,
    rgba(7, 14, 12, 0),
    rgba(7, 14, 12, .46) 15%,
    rgba(7, 14, 12, .46) 85%,
    rgba(7, 14, 12, 0));
}

#page-header.not-home-page #page-site-info {
  padding: 12px 0;
  background: linear-gradient(90deg,
    rgba(7, 14, 12, 0),
    rgba(7, 14, 12, .38) 18%,
    rgba(7, 14, 12, .38) 82%,
    rgba(7, 14, 12, 0));
}

#nav .site-page,
#nav .site-name {
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}

#menus .menus_item:last-child > .site-page.group,
#menus .menus_item:last-child > .site-page.group i {
  color: #d9b892;
}

/* ---------- 首屏：右对齐文字 + 四个入口 ---------- */
#page-header.full_page #site-info {
  top: 0;
  left: 53%;
  width: 47%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0 0 52px 18px;
  text-align: left;
}

#page-header.full_page .home-hero-copy {
  width: 100%;
  max-width: 540px;
}

#page-header.full_page #site-title {
  margin: 0;
  text-align: left;
  font-family: var(--hsp-serif);
  font-size: clamp(38px, 3.7vw, 54px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
}

#page-header.full_page #site-subtitle {
  margin-top: 8px;
  text-align: left;
  font-family: var(--hsp-serif);
  font-size: 1.08em;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .80);
}

.home-hero-intro {
  max-width: 440px;
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .60);
}

.home-hero-intro b {
  font-weight: 400;
  color: rgba(255, 255, 255, .92);
}

.home-entries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.home-entries a {
  display: block;
  padding: 14px 12px 0 0;
  border-right: 1px solid rgba(255, 255, 255, .10);
  transition: color .2s ease;
}

.home-entries a:last-child { border-right: 0; }
.home-entries .no {
  display: block;
  font-family: var(--hsp-mono);
  font-size: 9px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .34);
}
.home-entries .label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, .88);
}
.home-entries .meta {
  display: block;
  margin-top: 1px;
  font-family: var(--hsp-mono);
  font-size: 9px;
  color: rgba(255, 255, 255, .34);
}
.home-entries a:hover .label { color: var(--hsp-accent-2); }

/* ---------- 首页主栏 ---------- */
#content-inner.layout { align-items: flex-start; }

#home-main.home-main {
  width: 74%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 46px;
}

#home-main.nc {
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0;
  box-shadow: none !important;
  align-self: flex-start;
}

.home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.home-section-head h2 {
  margin: 6px 0 0;
  font-family: var(--hsp-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: #eef4f0;
}

.home-section-head p {
  margin: 7px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .42);
}

.home-section-head .eyebrow { color: rgba(255, 255, 255, .35); }

.home-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding-bottom: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, .52);
  transition: color .2s ease;
}
.home-arrow .long-arrow {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
}
.home-arrow .long-arrow::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.home-arrow:hover { color: var(--hsp-accent-2); }

.home-line-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.home-line-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 23px 23px 20px;
  border-radius: 14px;
  background: var(--hsp-paper);
  color: var(--hsp-ink);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .22);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.home-line-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px 170px at 100% 0%, rgba(63, 125, 110, .09), transparent 72%);
  pointer-events: none;
}
.home-line-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 54px rgba(0, 0, 0, .28);
}

.home-line-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.home-line-top .no {
  font-family: var(--hsp-mono);
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--hsp-accent);
}
.home-line-top .count {
  font-family: var(--hsp-mono);
  font-size: 9px;
  color: var(--hsp-muted-2);
}

.home-line-card h3 {
  position: relative;
  z-index: 1;
  margin: 13px 0 6px;
  font-family: var(--hsp-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}
.home-line-card h3 a { color: var(--hsp-ink); }
.home-line-card h3 a:hover { color: var(--hsp-accent); }

.home-line-card .desc {
  position: relative;
  z-index: 1;
  margin: 0;
  min-height: 44px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--hsp-muted);
}

.home-line-latest {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--hsp-line);
}
.home-line-latest .k {
  display: block;
  font-family: var(--hsp-mono);
  font-size: 8px;
  letter-spacing: .14em;
  color: var(--hsp-accent);
}
.home-line-latest a {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.6;
  color: var(--hsp-ink-2);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.home-line-latest a:hover { color: var(--hsp-accent); }

.home-meter {
  position: relative;
  z-index: 1;
  height: 2px;
  margin-top: 14px;
  background: var(--hsp-line);
}
.home-meter span {
  display: block;
  height: 100%;
  background: var(--hsp-accent);
}
.home-meter.is-muted { background: var(--hsp-accent-soft); }
.home-meter.is-muted span { background: rgba(143, 179, 168, .55); }
.home-meter-label {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--hsp-mono);
  font-size: 8px;
  color: var(--hsp-muted-2);
}

/* ---------- 首页时间流 ---------- */
.home-latest-card {
  border-radius: 14px;
  background: var(--hsp-paper);
  color: var(--hsp-ink);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .22);
  overflow: hidden;
}
.home-latest-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 23px 15px;
  border-bottom: 1px solid var(--hsp-line);
}
.home-latest-head h2 {
  margin: 0;
  font-family: var(--hsp-serif);
  font-size: 20px;
  font-weight: 600;
}
.home-latest-head p {
  margin: 3px 0 0;
  font-size: 10px;
  color: var(--hsp-muted-2);
}
.home-latest-head .eyebrow { color: var(--hsp-muted-2); }

.home-post-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 20px;
  gap: 16px;
  align-items: start;
  padding: 15px 23px;
  border-bottom: 1px solid var(--hsp-line);
  transition: background .2s ease;
}
.home-post-row:last-child { border-bottom: 0; }
.home-post-row:hover { background: #f6f3ea; }

.home-post-date {
  font-family: var(--hsp-mono);
  font-size: 9.5px;
  line-height: 1.9;
  color: var(--hsp-muted-2);
}
.home-post-date .series {
  display: block;
  margin-top: 1px;
  font-family: var(--hsp-sans);
  font-size: 8.5px;
  letter-spacing: .04em;
  color: var(--hsp-accent);
}

.home-post-main h3 {
  margin: 0 0 2px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--hsp-ink);
  transition: color .2s ease;
}
.home-post-row:hover .home-post-main h3 { color: var(--hsp-accent-deep); }
.home-post-desc {
  display: -webkit-box;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--hsp-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.home-post-arrow {
  align-self: center;
  font-size: 13px;
  color: var(--hsp-muted-2);
  transition: transform .2s ease, color .2s ease;
}
.home-post-row:hover .home-post-arrow {
  color: var(--hsp-accent);
  transform: translateX(3px);
}

/* ---------- 首页右栏 ---------- */
#aside-content { width: 26%; }

.home-rail {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 14px;
}

.home-rail .card-widget {
  margin: 0;
  padding: 19px;
  border-radius: 14px;
  background: var(--hsp-paper);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .22);
}

.home-rail .card-info { text-align: left; }
.home-rail .card-info .avatar-img {
  width: 62px;
  height: 62px;
  margin: 0 0 11px;
}
.home-rail .card-info .avatar-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.home-rail .author-info-name {
  font-family: var(--hsp-serif);
  font-size: 19px;
  font-weight: 600;
  text-align: left;
}
.home-rail .author-info-description {
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.8;
  color: var(--hsp-muted);
  text-align: left;
}
.home-rail .site-data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--hsp-line);
  text-align: left;
}
.home-rail .site-data a { display: block; padding: 0; }
.home-rail .site-data .headline {
  font-family: var(--hsp-mono);
  font-size: 8px;
  letter-spacing: .06em;
  color: var(--hsp-muted-2);
}
.home-rail .site-data .length-num {
  margin-top: 2px;
  font-family: var(--hsp-mono);
  font-size: 14px;
  color: var(--hsp-ink);
}
.home-rail #card-info-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--hsp-accent);
  color: #fff;
  font-size: 10.5px;
}
.home-rail #card-info-btn:hover { background: var(--hsp-accent-deep); }
.home-rail .card-info-social-icons {
  margin-top: 9px;
  text-align: left;
}
.home-rail .card-info-social-icons .social-icon {
  margin: 0 10px 0 0;
  font-size: 15px;
  color: var(--hsp-muted);
}

.home-rail .home-now {
  background:
    linear-gradient(135deg, rgba(63, 125, 110, .08), transparent 65%),
    var(--hsp-accent-soft);
  border: 1px solid rgba(63, 125, 110, .14);
}
.home-now .eyebrow { color: var(--hsp-accent); }
.home-now h3 {
  margin: 6px 0 4px;
  font-family: var(--hsp-serif);
  font-size: 18px;
  font-weight: 600;
}
.home-now-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--hsp-ink-2);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.home-now-link {
  display: inline-block;
  margin-top: 7px;
  font-size: 10px;
  color: var(--hsp-accent-deep);
}
.home-now-meter {
  height: 2px;
  margin-top: 13px;
  background: rgba(43, 93, 83, .14);
}
.home-now-meter span {
  display: block;
  height: 100%;
  background: var(--hsp-accent);
}
.home-now-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--hsp-mono);
  font-size: 8px;
  color: var(--hsp-accent-deep);
  opacity: .7;
}

.home-rail .home-letters {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 11px;
  align-items: start;
  background: var(--hsp-bronze-soft);
  border: 1px solid rgba(169, 124, 80, .16);
}
.home-letters img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: contain;
  padding: 3px;
  background: #fff;
  border: 1px solid rgba(169, 124, 80, .2);
}
.home-letters .eyebrow { color: var(--hsp-bronze); }
.home-letters h3 {
  margin: 4px 0 3px;
  font-family: var(--hsp-serif);
  font-size: 16px;
  font-weight: 600;
}
.home-letters p {
  margin: 0 0 6px;
  font-size: 9.5px;
  line-height: 1.7;
  color: #8b735c;
}
.home-letters a {
  display: block;
  font-size: 10px;
  line-height: 1.9;
  color: #7d5a38;
}
.home-letters a:hover { color: var(--hsp-bronze); }

.home-rail .home-index h3 {
  margin: 0 0 9px;
  font-family: var(--hsp-serif);
  font-size: 15px;
  font-weight: 600;
}
.home-index-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.home-index-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 9px;
  border: 1px solid var(--hsp-line);
  border-radius: 8px;
  font-size: 9.5px;
  color: var(--hsp-ink-2);
  transition: border-color .2s ease, color .2s ease;
}
.home-index-grid a:hover {
  border-color: var(--hsp-accent-2);
  color: var(--hsp-accent);
}

/* ---------- 页脚 ---------- */
#footer {
  padding: 0;
  background: transparent;
}
#footer-wrap {
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, .5) !important;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 56px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 0 24px;
}
.footer-about h4,
.footer-col h4 {
  margin: 0 0 11px;
  font-family: var(--hsp-serif);
  font-size: 15px;
  font-weight: 600;
  color: #e7efea;
}
.footer-about .quote {
  margin: 0;
  font-family: var(--hsp-serif);
  font-size: 19px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .7);
}
.footer-about .quote-src {
  margin: 8px 0 0;
  font-size: 10px;
  color: rgba(255, 255, 255, .3);
}
.footer-col a {
  display: block;
  padding: 3px 0;
  font-size: 11px;
  color: rgba(255, 255, 255, .45);
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--hsp-accent-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 17px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-family: var(--hsp-mono);
  font-size: 9px;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .28);
}

/* ---------- 分类页 / 标签页公共 ---------- */
#content-inner.layout.hide-aside { max-width: 1180px; }

#body-wrap.type-categories #page,
#body-wrap.type-tags #page {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  align-self: stretch;
}

.map-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 0 68px;
}

.map-lead {
  margin: 0 0 26px;
  text-align: center;
}
.map-lead .eyebrow { color: rgba(255, 255, 255, .32); }
.map-lead p {
  max-width: 690px;
  margin: 8px auto 0;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .45);
}

.map-section { margin-bottom: 42px; }
.map-section .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 17px;
}
.map-section .section-head h2 {
  margin: 6px 0 0;
  font-family: var(--hsp-serif);
  font-size: 24px;
  font-weight: 600;
  color: #eef4f0;
}
.map-section .section-head p {
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
}
.map-section .section-head .eyebrow { color: rgba(255, 255, 255, .32); }
.arrow-link.light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding-bottom: 3px;
  font-size: 11px;
  color: rgba(255, 255, 255, .45);
}
.arrow-link.light .long-arrow {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 1px;
  background: currentColor;
}
.arrow-link.light .long-arrow::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ---------- 分类页 ---------- */
.composition {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 38px;
  padding: 22px 26px;
  border-radius: 14px;
  background: var(--hsp-paper);
  color: var(--hsp-ink);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .22);
}
.composition h2 {
  margin: 0;
  font-family: var(--hsp-serif);
  font-size: 19px;
  font-weight: 600;
}
.composition p {
  margin: 4px 0 0;
  font-size: 10px;
  line-height: 1.7;
  color: var(--hsp-muted-2);
}
.comp-bar {
  display: flex;
  height: 7px;
  margin: 13px 0 9px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--hsp-line);
}
.comp-bar span { display: block; height: 100%; }
.comp-bar .c-main { background: var(--hsp-accent); }
.comp-bar .c-dir { background: var(--hsp-accent-2); }
.comp-bar .c-arch { background: #d8d3c4; }
.comp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 9px;
  color: var(--hsp-muted);
}
.comp-legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  vertical-align: 1px;
}
.comp-legend .m { background: var(--hsp-accent); }
.comp-legend .d { background: var(--hsp-accent-2); }
.comp-legend .a { background: #d8d3c4; }

.dirs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.dir-card {
  position: relative;
  display: block;
  padding: 17px 17px 14px;
  border-radius: 13px;
  background: var(--hsp-paper);
  color: var(--hsp-ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
  transition: transform .2s ease;
}
.dir-card:hover { transform: translateY(-2px); }
.dir-card .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--hsp-mono);
  font-size: 8px;
  letter-spacing: .05em;
  color: var(--hsp-muted-2);
}
.dir-card .top .sub {
  font-family: var(--hsp-sans);
  font-size: 8px;
  color: var(--hsp-bronze);
}
.dir-card h3 {
  margin: 10px 0 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hsp-ink);
}
.dir-card .count {
  font-family: var(--hsp-serif);
  font-size: 28px;
  line-height: 1.2;
  color: var(--hsp-accent-deep);
}
.dir-card .tags {
  margin-top: 6px;
  font-size: 8.5px;
  line-height: 1.7;
  color: var(--hsp-muted);
}
.dir-card.life {
  background: var(--hsp-bronze-soft);
}
.dir-card.life .count { color: var(--hsp-bronze); }
.dir-card.life .tags { color: #8b735c; }

.archive {
  display: grid;
  grid-template-columns: .95fr 2fr;
  gap: 30px;
  padding: 26px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3efe3, #faf7ee);
  border: 1px solid var(--hsp-line);
  color: var(--hsp-ink);
}
.archive .label {
  font-family: var(--hsp-mono);
  font-size: 8px;
  letter-spacing: .16em;
  color: var(--hsp-bronze);
}
.archive h2 {
  margin: 7px 0 5px;
  font-family: var(--hsp-serif);
  font-size: 22px;
  font-weight: 600;
}
.archive p {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.8;
  color: var(--hsp-muted);
}
.reading-now {
  margin: 12px 0 10px;
  padding: 10px 12px;
  border-left: 2px solid var(--hsp-bronze);
  background: rgba(255, 255, 255, .55);
}
.reading-kicker {
  font-family: var(--hsp-mono);
  font-size: 8px;
  letter-spacing: .12em;
  color: var(--hsp-bronze);
}
.reading-title {
  margin: 4px 0 0;
  font-family: var(--hsp-serif);
  font-size: 15px;
  color: var(--hsp-ink);
}
.archive-rows { display: grid; }
.archive-row {
  display: grid;
  grid-template-columns: 64px 1fr 20px;
  gap: 14px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(28, 43, 39, .08);
}
.archive-row:last-child { border-bottom: 0; }
.archive-row .n {
  font-family: var(--hsp-serif);
  font-size: 23px;
  color: var(--hsp-ink-2);
}
.archive-row .name {
  font-size: 11.5px;
  color: var(--hsp-ink-2);
}
.archive-row .name small {
  display: block;
  margin-top: 2px;
  font-size: 8.5px;
  color: var(--hsp-muted-2);
}
.archive-row .go { color: var(--hsp-muted-2); }

/* ---------- 标签页 ---------- */
.tag-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  padding: 14px 18px;
  border-radius: 13px;
  background: var(--hsp-paper);
  color: var(--hsp-ink);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .22);
}
.tag-search svg { flex: none; color: var(--hsp-muted-2); }
.tag-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--hsp-ink);
  font-size: 12.5px;
}
.tag-search input::placeholder { color: var(--hsp-muted-2); }
.tag-search .hint {
  flex: none;
  font-family: var(--hsp-mono);
  font-size: 8.5px;
  color: var(--hsp-muted-2);
}

.tag-groups {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 24px 26px;
  border-radius: 14px;
  background: var(--hsp-paper);
  color: var(--hsp-ink);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .22);
}
.tag-group {
  padding: 0 16px;
  border-right: 1px solid var(--hsp-line);
}
.tag-group:first-child { padding-left: 0; }
.tag-group:last-child { padding-right: 0; border-right: 0; }
.tag-group h3 {
  margin: 0 0 8px;
  font-family: var(--hsp-serif);
  font-size: 14px;
  font-weight: 600;
}
.tag-group h3 span {
  display: block;
  margin-top: 2px;
  font-family: var(--hsp-mono);
  font-size: 7.5px;
  letter-spacing: .1em;
  color: var(--hsp-muted-2);
}
.tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(28, 43, 39, .09);
  font-size: 10.5px;
  color: var(--hsp-ink-2);
}
.tag-row:last-child { border-bottom: 0; }
.tag-row > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tag-row b {
  flex: none;
  font-family: var(--hsp-mono);
  font-size: 8px;
  font-weight: 400;
  color: var(--hsp-muted-2);
}
.tag-row:hover { color: var(--hsp-accent); }

.all-tags {
  margin-top: 26px;
  padding: 24px 26px;
  border-radius: 14px;
  background: var(--hsp-paper);
  color: var(--hsp-ink);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .22);
}
.all-tags-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--hsp-line);
}
.all-tags-head h2 {
  margin: 0;
  font-family: var(--hsp-serif);
  font-size: 20px;
  font-weight: 600;
}
.all-tags-head h2 .total {
  margin-left: 5px;
  font-family: var(--hsp-mono);
  font-size: 9px;
  font-weight: 400;
  color: var(--hsp-muted-2);
}
.all-tags-head p {
  margin: 4px 0 0;
  font-size: 9.5px;
  color: var(--hsp-muted-2);
}
.all-tags-head p b { color: var(--hsp-bronze); font-weight: 500; }
.all-tags-head .sort {
  font-family: var(--hsp-mono);
  font-size: 8px;
  color: var(--hsp-muted-2);
}
.tag-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 24px;
  margin-top: 7px;
}
.tag-list .tag-row { padding: 5px 0; font-size: 9.5px; }
.all-tags-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
  padding-top: 13px;
  border-top: 1px solid var(--hsp-line);
}
.all-tags-foot > span {
  font-size: 9px;
  color: var(--hsp-muted-2);
}
.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 7px 11px;
  border: 1px solid var(--hsp-line);
  border-radius: 8px;
  font-size: 9px;
  color: var(--hsp-ink-2);
  transition: border-color .2s ease, color .2s ease;
}
.ghost-btn:hover { border-color: var(--hsp-accent-2); color: var(--hsp-accent); }

.tag-note {
  display: grid;
  grid-template-columns: .9fr 2fr;
  gap: 28px;
  margin-top: 26px;
  padding: 24px 26px;
  border-radius: 14px;
  background: var(--hsp-bronze-soft);
  border: 1px solid rgba(169, 124, 80, .16);
  color: var(--hsp-ink);
}
.tag-note .label {
  font-family: var(--hsp-mono);
  font-size: 8px;
  letter-spacing: .16em;
  color: var(--hsp-bronze);
}
.tag-note h2 {
  margin: 7px 0 0;
  font-family: var(--hsp-serif);
  font-size: 21px;
  font-weight: 600;
}
.tag-note ol {
  margin: 0;
  padding-left: 16px;
  font-size: 10.5px;
  line-height: 2;
  color: #6f5a45;
}
.tag-note ol b { color: var(--hsp-ink-2); font-weight: 500; }

/* ---------- 关于页 ---------- */
#body-wrap.type-about #page {
  width: 100% !important;
  max-width: 1180px;
  padding: 50px 40px;
}
#body-wrap.type-about #article-container {
  max-width: 760px;
  margin: 0 auto;
}
#body-wrap.type-about #article-container img {
  display: block;
  width: 160px;
  height: 160px;
  max-width: 160px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  #home-main.home-main { width: 72%; }
  .home-line-card { min-height: 300px; }
  .dirs { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  #page-header.full_page #site-info {
    left: 0;
    width: 100%;
    padding: 0 20px 38px;
  }
  #page-header.full_page .home-hero-copy { max-width: none; }
  #page-header.full_page #site-title { font-size: 40px; }
  #home-main.home-main { width: 100%; }
  .home-line-grid { grid-template-columns: 1fr 1fr; }
  #aside-content { width: 100%; }
  .home-rail {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .home-rail .card-info { grid-row: span 2; }
  .composition { grid-template-columns: 1fr; gap: 12px; }
  .dirs { grid-template-columns: repeat(2, 1fr); }
  .archive { grid-template-columns: 1fr; gap: 16px; }
  .tag-groups { grid-template-columns: repeat(2, 1fr); padding: 20px; }
  .tag-group {
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--hsp-line);
  }
  .tag-group:nth-child(2n) { padding-left: 20px; }
  .tag-group:last-child { border-bottom: 0; }
  .tag-list { grid-template-columns: repeat(2, 1fr); }
  .tag-note { grid-template-columns: 1fr; gap: 10px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  #page-header.full_page #site-title { font-size: 36px; }
  #page-header.full_page #site-subtitle { font-size: 1em; }
  .home-entries { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .home-entries a:nth-child(2n) { border-right: 0; }
  .home-line-grid { grid-template-columns: 1fr; }
  .home-line-card { min-height: 270px; }
  .home-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .home-section-head h2 { font-size: 24px; }
  .home-post-row { grid-template-columns: 1fr 18px; gap: 6px 10px; padding: 13px 17px; }
  .home-post-date { grid-column: 1 / -1; }
  .home-post-date .series { display: inline; margin-left: 7px; }
  .home-rail { grid-template-columns: 1fr; }
  .home-rail .card-info { grid-row: auto; }
  .map-wrap { padding: 32px 0 50px; }
  .map-section .section-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .dirs { grid-template-columns: 1fr; }
  .tag-groups { grid-template-columns: 1fr; }
  .tag-group:nth-child(2n) { padding-left: 0; }
  .tag-list { grid-template-columns: 1fr; }
  .all-tags, .tag-groups, .tag-note, .composition, .archive, .tag-search {
    padding-left: 18px;
    padding-right: 18px;
  }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; padding-left: 18px; padding-right: 18px; }
}
