:root {
  --bg: #FAF8F3;
  --surface: #FFFFFF;
  --surface-soft: #F3EFE7;
  --ink: #1D1C1A;
  --muted: #6B6862;
  --faint: #9C988F;
  --line: #E4DFD4;
  --accent: #A0472B;
  --accent-soft: #F5E7DE;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(250, 248, 243, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
}
.brand { font-size: 15px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
#brand-domain { color: var(--faint); font-family: var(--mono); font-size: 12px; margin-left: 6px; }
.nav { display: flex; gap: 26px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  padding: 20px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.hero { position: relative; padding: 120px 0 130px; }
.eyebrow, .kicker, .mini-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 26px;
}
.hero-title {
  font-size: clamp(44px, 7.2vw, 86px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.01em;
  margin: 0 0 28px;
  white-space: pre-line;
}
.hero-lede {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 26px;
  white-space: pre-line;
}
.role-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 40px; }
.role-list li {
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  background: var(--surface);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: 999px;
  transition: transform .2s, background .2s;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
.hero-mark {
  position: absolute;
  right: 0;
  top: 110px;
  font-family: var(--mono);
  font-size: clamp(60px, 11vw, 130px);
  line-height: .95;
  color: rgba(29, 28, 26, .045);
  letter-spacing: -.05em;
  pointer-events: none;
  user-select: none;
}

/* 首屏人像：左文右图两栏对齐；无人像时自动回退为原来的单栏 + 大字母水印 */
.hero.has-portrait {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  column-gap: 56px;
  align-items: center;
  padding: 92px 0 100px;
}
.hero-copy { min-width: 0; }
.hero-visual { margin: 0; }
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(29, 28, 26, .10);
}
@media (min-width: 901px) {
  .hero.has-portrait .hero-title { font-size: clamp(40px, 5.2vw, 68px); }
  .hero.has-portrait .hero-lede { max-width: 520px; }
  /* 人像整体下沉，顶部明显低于 HELLO 行形成错落；transform 只影响视觉，不动栅格 */
  .hero.has-portrait { padding-bottom: 124px; }
  .hero.has-portrait .hero-visual { transform: translateY(64px); }
}
@media (max-width: 900px) {
  .hero.has-portrait { grid-template-columns: 1fr; row-gap: 36px; padding: 72px 0 80px; }
  .hero-visual { width: min(100%, 300px); margin-inline: auto; }
}
@media (max-width: 600px) {
  .hero.has-portrait { row-gap: 30px; }
  .hero-visual { width: min(100%, 260px); }
}

.section { padding: 90px 0; border-top: 1px solid var(--line); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 56px;
}
.section-title {
  font-size: clamp(32px, 4.8vw, 56px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0;
  white-space: pre-line;
  flex: 1 1 420px;
}
.section-intro {
  flex: 0 1 340px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
  white-space: pre-line;
}
.section-intro:empty { display: none; }
@media (min-width: 601px) {
  #about-intro { flex-basis: 380px; }
}
.muted { color: var(--muted); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.stat-item { background: var(--surface); padding: 30px 26px 28px; }
.stat-value { font-size: 34px; font-weight: 400; line-height: 1.2; color: var(--accent); margin: 0 0 12px; }
.stat-label { font-size: 14px; margin: 0 0 4px; }
.stat-note { font-size: 12px; color: var(--faint); margin: 0; }
.long-intro {
  margin: 44px 0 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 2;
  white-space: pre-line;
}

.book-list { display: grid; gap: 20px; }
.book-card {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 36px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  transition: border-color .2s, transform .2s;
}
.book-card:hover { border-color: #CFC6B6; transform: translateY(-2px); }
.book-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 3px 7px 7px 3px;
  background: #8E432C;
  color: #FFF7EE;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 14px 16px 24px;
  overflow: hidden;
  box-shadow: inset 7px 0 0 rgba(0, 0, 0, .16);
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover-text { text-align: center; font-size: 17px; line-height: 1.5; letter-spacing: .08em; }
.book-cover-hint { display: block; font-size: 10px; letter-spacing: .08em; opacity: .65; margin-top: 12px; }
.book-meta { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .04em; margin: 0 0 12px; }
.book-card h3 { font-size: 26px; font-weight: 400; margin: 0 0 6px; }
.book-sub { color: var(--faint); font-size: 13px; margin: 0 0 14px; }
.book-desc { color: var(--muted); font-size: 15px; line-height: 1.85; margin: 0; max-width: 560px; }
.book-action { align-self: center; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  white-space: nowrap;
}
.text-link:hover { color: var(--ink); }
.text-link.is-empty { color: var(--faint); border-bottom-style: dashed; pointer-events: none; }

.wechat-grid { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; }
/* 左栏两张卡片与右侧文章列表等高：只压缩左卡，右卡留白不变 */
.wechat-cards { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.wechat-card, .wechat-side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
}
.wechat-card { padding: 24px 30px; }
.wechat-card .mini-label { margin-bottom: 14px; }
.wechat-card h3 { font-size: 26px; font-weight: 400; margin: 0 0 4px; }
.wechat-card .muted { font-size: 13px; margin: 0 0 22px; }
.qr-box {
  width: 150px;
  height: 150px;
  border: 1px dashed #CFC6B6;
  border-radius: 10px;
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.7;
  padding: 16px;
  margin: 0 auto;
}
.qr-box.has-qr { border-style: solid; border-color: var(--line); background: #fff; padding: 0; overflow: hidden; }
.qr-box img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.qr-trigger { display: block; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.qr-trigger img { display: block; transition: opacity .2s; }
.qr-trigger:hover img { opacity: .85; }
.qr-hint { text-align: center; font-size: 12px; color: var(--faint); margin: 10px 0 0; }
.qr-note { text-align: center; font-size: 12px; line-height: 1.7; color: var(--muted); margin: 5px 0 0; }
.wechat-card h3.no-sub { margin-bottom: 22px; }
.wechat-overview {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.list-label { margin: 28px 0 16px; }
.article-list { list-style: none; padding: 0; margin: 0; }
.article-list li { border-bottom: 1px solid var(--line); }
.article-list li:last-child { border-bottom: 0; }
.article-list a, .article-list li.is-empty > span { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; font-size: 15px; }
.article-list a { transition: color .2s; }
.article-list a:hover { color: var(--accent); }
.article-num { font-family: var(--mono); font-size: 11px; color: var(--faint); flex: none; }
.article-tag { font-family: var(--mono); font-size: 11px; color: var(--faint); white-space: nowrap; flex: none; }
.article-title { flex: 1; }
.article-arrow { font-size: 12px; color: var(--faint); flex: none; }
.article-list li.is-empty > span { color: var(--faint); pointer-events: none; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.filter-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
/* 个人专栏固定三列，避免宽屏自动多出空列；窄屏改单列，不出现 2+1 孤卡 */
#columns-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { #columns-list { grid-template-columns: 1fr; } }
.info-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.info-card:hover { border-color: #CFC6B6; transform: translateY(-2px); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.chip {
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 11px;
  font-family: var(--mono);
  letter-spacing: .03em;
}
.chip-quiet { background: var(--surface-soft); color: var(--faint); }
.info-card h3 { font-size: 21px; font-weight: 400; line-height: 1.5; margin: 0 0 10px; }
.card-summary { color: var(--muted); font-size: 14px; line-height: 1.85; margin: 0 0 18px; flex: 1; }
.card-howto { font-size: 12px; line-height: 1.75; color: var(--faint); margin: 0 0 16px; padding-left: 10px; border-left: 2px solid var(--line); }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12px; color: var(--faint); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.card-outline { list-style: none; padding: 0; margin: 0; font-size: 13px; color: var(--muted); }
.card-outline li { padding-left: 16px; position: relative; line-height: 1.9; }
.card-outline li::before { content: ""; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .55; }
.card-foot { margin-top: 20px; }
.is-placeholder { border-style: dashed; }
.is-placeholder h3, .is-placeholder .card-summary { color: var(--muted); }

.site-footer { background: var(--ink); color: #F2EFE8; padding: 90px 0 32px; margin-top: 60px; }
.footer-line { font-size: clamp(28px, 4vw, 44px); font-weight: 400; line-height: 1.4; margin: 0 0 12px; white-space: pre-line; }
.footer-note { color: #A8A39A; font-size: 14px; margin: 0 0 40px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 60px; }
.footer-links a {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  transition: background .2s, color .2s;
}
.footer-links a:hover { background: #F2EFE8; color: var(--ink); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 24px;
  font-size: 12px;
  color: #8F8B83;
}
.footer-legal { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.footer-record {
  font-size: 12px;
  color: #7E7A72;
  letter-spacing: .2px;
}
.footer-record a {
  color: #A8A39A;
  text-decoration: none;
  transition: color .2s;
}
.footer-record a:hover { color: #E6E1D6; }
/* 两个备案号之间只用留白分隔，不加圆点 */
.footer-record-sep { margin: 0 10px; }

@media (max-width: 860px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .wechat-grid { grid-template-columns: 1fr; }
  .book-card { grid-template-columns: 110px 1fr; gap: 22px; }
  .book-action { grid-column: 1 / -1; align-self: start; }
  .hero-mark { display: none; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  body { font-size: 15px; }
  .site-header .header-inner { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 12px; }
  .nav { width: 100%; gap: 20px; }
  .nav a { padding: 12px 0 14px; font-size: 12px; }
  .hero { padding: 72px 0 80px; }
  .hero-lede { font-size: 16px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .section-intro { flex-basis: 100%; }
  .stat-item { padding: 22px 18px; }
  .stat-value { font-size: 27px; }
  .book-card { grid-template-columns: 1fr; padding: 22px; }
  .book-cover { width: 120px; }
  .wechat-card, .wechat-side, .info-card { padding: 22px; }
  .qr-box { width: 150px; height: 150px; }
  .article-tag { display: none; }
  .article-list a { gap: 10px; }
  .card-grid, .book-list { grid-template-columns: 1fr; }
  .site-footer { padding: 64px 0 28px; }
}

/* 图书区块：主图、详情、图册、馆藏 */
.book-card.book-feature {
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  padding: 34px;
}
.book-main-photo {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--surface-soft);
  overflow: hidden;
  cursor: zoom-in;
}
.book-main-photo img { width: 100%; height: 100%; object-fit: contain; }
.zoom-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: #fff;
  background: rgba(29, 28, 26, .72);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s;
}
.book-main-photo:hover .zoom-hint { opacity: 1; }
.book-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
  font-size: 13px;
  cursor: default;
}
.book-info { min-width: 0; }
.book-info h3 { font-size: 32px; }
.book-info h3.book-title-long { font-size: clamp(21px, 2vw, 26px); letter-spacing: -.01em; }
@media (max-width: 600px) { .book-info h3.book-title-long { font-size: 23px; } }
.book-info .book-desc { max-width: none; }
.book-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.book-highlight { font-size: 12px; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 5px 10px; }
.book-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.book-bottom { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.book-bottom-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.book-bottom-top { align-items: stretch; }
.rating-badge { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; background: var(--bg); }
.rating-score { font-size: 32px; color: var(--accent); line-height: 1; }
.rating-meta { font-size: 11px; color: var(--muted); line-height: 1.5; }
.book-links { display: flex; flex-wrap: wrap; gap: 16px; }
.book-buy-inline { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 0; }
.book-shop-qr-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.book-shop-qr { display: block; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; cursor: zoom-in; }
.book-shop-qr img { display: block; width: 200px; height: auto; }
.book-shop-qr-hint { font-size: 11px; color: var(--faint); }
@media (max-width: 600px) {
  .book-bottom-top { flex-wrap: nowrap; gap: 12px; }
  .book-bottom-top .rating-badge { flex-shrink: 0; }
  .book-shop-qr-wrap { min-width: 0; }
  .book-shop-qr img { width: 140px; max-width: 100%; }
  .rating-badge { padding: 8px 14px; }
  .book-bottom-foot { gap: 10px; }
}
.book-extra { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 30px 34px 26px; }
.gallery-label { margin-bottom: 18px; }
.book-gallery { display: block; }
.gallery-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.gallery-row + .gallery-row { margin-top: 18px; }
.gallery-row-wide .gallery-item img { aspect-ratio: 4 / 3; }
.gallery-row-tall .gallery-item img { aspect-ratio: 3 / 4; }
.gallery-item { margin: 0; min-width: 0; }
.gallery-item button {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-item img { width: 100%; height: auto; display: block; object-fit: cover; transition: transform .25s; }
.gallery-item button:hover img { transform: scale(1.04); }
.gallery-item figcaption { font-size: 12px; color: var(--muted); margin-top: 9px; }
.library-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--surface-soft);
  border-radius: 10px;
}
.library-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--accent); }
.library-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.library-tag { font-size: 12px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.library-note { font-size: 12px; color: var(--muted); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(24, 23, 21, .94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 24px;
}
.lightbox img { max-width: min(92vw, 1000px); max-height: 78vh; object-fit: contain; border-radius: 6px; }
.lightbox-caption { color: #E8E4DC; font-size: 13px; margin: 0; }
.lightbox-close { position: absolute; top: 20px; right: 26px; border: 0; background: transparent; color: #fff; font-size: 32px; line-height: 1; }

@media (max-width: 860px) {
  .book-card.book-feature { grid-template-columns: 240px 1fr; gap: 28px; padding: 26px; }
  .book-info h3 { font-size: 27px; }
}
@media (max-width: 600px) {
  .book-card.book-feature { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .book-main-photo { max-width: 260px; margin-inline: auto; }
  .book-info h3 { font-size: 26px; }
  .book-extra { padding: 22px; }
  .gallery-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .gallery-row + .gallery-row { margin-top: 14px; }
  .gallery-item figcaption { font-size: 10px; line-height: 1.5; }
  .library-strip { padding: 14px; }
}

/* 榜单记录 */
.honor-section-label { margin: 30px 0 16px; }
.honor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.honor-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; padding: 18px; background: var(--bg); }
.honor-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.honor-value { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.35; color: var(--accent); }
.honor-tag { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.honor-desc { flex: 1; font-size: 13px; line-height: 1.8; color: var(--muted); margin: 12px 0 16px; }
.honor-shot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-align: left;
  cursor: zoom-in;
}
.honor-shot img { width: 44px; height: 56px; object-fit: cover; border-radius: 4px; }
.honor-shot span { font-size: 12px; color: var(--accent); white-space: nowrap; }
@media (max-width: 600px) {
  .honor-grid { grid-template-columns: 1fr; }
  .honor-section-label { margin: 26px 0 14px; }
}

/* 扫码购买 */
.buy-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px 34px; }
.buy-card .mini-label { margin-bottom: 8px; }
.buy-note { font-size: 12px; color: var(--faint); margin: 0 0 20px; }
.buy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.buy-item {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: var(--bg);
}
.buy-shot {
  flex: 0 0 100px;
  width: 100px;
  height: 220px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #102547;
  overflow: hidden;
  cursor: zoom-in;
}
.buy-shot img { width: 100%; height: 100%; object-fit: contain; }
.buy-info { min-width: 0; }
.buy-info h4 { font-size: 15px; font-weight: 500; margin: 0 0 8px; }
.buy-info p { font-size: 12px; line-height: 1.75; color: var(--muted); margin: 0 0 12px; }
.buy-qr-hint { font-size: 11px; color: var(--accent); }
@media (max-width: 600px) {
  .buy-card { padding: 22px; }
  .buy-grid { grid-template-columns: 1fr; }
  .buy-shot { flex-basis: 84px; width: 84px; height: 186px; }
}

/* 培训课程清单 */
.course-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
}
.course-stat { display: flex; flex-direction: column; gap: 4px; background: var(--surface); padding: 22px 24px; }
.course-stat-value { font-size: 30px; line-height: 1.2; color: var(--accent); }
.course-stat-label { font-size: 14px; }
.course-stat-note { font-size: 11px; color: var(--faint); }
.course-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.course-row {
  display: grid;
  grid-template-columns: 64px 1fr 96px;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.course-row:last-child { border-bottom: 0; }
.course-row:hover { background: var(--bg); }
.course-num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.course-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; min-width: 0; }
.course-name { font-size: 16px; }
.course-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.course-tag { font-size: 11px; color: var(--muted); background: var(--surface-soft); border-radius: 999px; padding: 3px 10px; }
.course-duration { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; }
.course-note { font-size: 12px; color: var(--faint); margin: 16px 0 0; }
@media (max-width: 600px) {
  .course-stats { grid-template-columns: 1fr 1fr; }
  .course-stats .course-stat:last-child { grid-column: 1 / -1; }
  .course-stat { padding: 18px; }
  .course-stat-value { font-size: 25px; }
  .course-row { grid-template-columns: 40px 1fr; gap: 10px; padding: 16px; }
  .course-name { font-size: 15px; }
  .course-duration { grid-column: 2; text-align: left; }
}

/* ===== 「我的AI作品」独立页 ===== */
.nav a.is-current { color: var(--ink); border-bottom-color: var(--accent); }

.ai-hero { padding: 92px 0 76px; }
.ai-hero .kicker { margin-bottom: 22px; }
.ai-hero .hero-title { font-size: clamp(38px, 5.6vw, 66px); margin-bottom: 22px; }
.ai-hero .hero-lede { max-width: 720px; margin-bottom: 26px; }
.ai-jumps { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 22px; }
.ai-jumps a {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  background: var(--surface);
  transition: color .2s, border-color .2s;
}
.ai-jumps a:hover { color: var(--accent); border-color: var(--accent); }
.ai-note { font-size: 13px; color: var(--faint); margin: 0; }

.ai-group { padding: 72px 0; }
.ai-group-head { margin-bottom: 34px; }
.ai-group-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 28px; }
.ai-group .section-title { flex: 0 0 auto; }
.ai-group .section-intro { flex: 0 1 auto; max-width: 78ch; }
.ai-group .kicker { margin-bottom: 10px; }
.ai-group .section-title { font-size: clamp(28px, 3.4vw, 40px); }
.ai-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ai-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.ai-card:hover { border-color: #CFC6B6; transform: translateY(-2px); }
.ai-cover {
  width: 100%;
  height: 176px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.ai-cover::before, .ai-cover::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(29, 28, 26, .10);
  pointer-events: none;
}
.ai-cover::before { width: 220px; height: 220px; right: -64px; top: -78px; }
.ai-cover::after { width: 130px; height: 130px; left: -40px; bottom: -66px; }
.ai-cover--warm { background: linear-gradient(135deg, #F5E7DE, #FBF6F1); }
.ai-cover--cool { background: linear-gradient(135deg, #E7EDEF, #F7FAFA); }
.ai-cover--green { background: linear-gradient(135deg, #E9EFE5, #F8FAF6); }
.ai-cover-img { display: block; padding: 0; cursor: zoom-in; }
.ai-cover-img::before, .ai-cover-img::after { display: none; }
.ai-cover-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .25s; }
.ai-cover-img:hover img { opacity: .94; transform: scale(1.025); }
/* 纸色作品图：底色与画面纸色一致，手机上缩到整幅可见时接缝看不出来 */
.ai-cover--plate { background: #FAF3E8; }
a.ai-cover { cursor: pointer; }
a.ai-cover:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.ai-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.ai-card-body h3 { font-size: 21px; font-weight: 400; line-height: 1.5; margin: 0 0 10px; text-wrap: balance; }
.ai-card .card-summary { flex: 1; }
.ai-card .card-summary:has(+ .card-howto) { flex: 0 0 auto; }
.ai-card .card-howto { flex: 1; }
.ai-card .card-meta { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.ai-card .card-foot { margin-top: 18px; }

/* 单张重点卡片：整行铺开，封面在左 */
.ai-card--wide { grid-column: 1 / -1; flex-direction: row; }
.ai-card--wide .ai-cover { width: 300px; flex: 0 0 300px; height: auto; min-height: 220px; }
.ai-card--wide .ai-card-body { padding: 30px 34px 30px; }
.ai-card--wide .ai-card-body h3 { font-size: 24px; }

/* 重点案例卡片：整行铺开，封面在上（深色作品图更醒目） */
.ai-card--feature { grid-column: 1 / -1; }
.ai-card--feature .ai-cover { height: 292px; background: #171D1E; }
.ai-card--feature .ai-cover-img img { object-fit: cover; }
.ai-card--feature .ai-card-body { padding: 26px 30px 30px; }
.ai-card--feature .ai-card-body h3 { font-size: 24px; }
.ai-card--feature .card-summary { max-width: 78ch; }

@media (max-width: 760px) {
  .ai-hero { padding: 64px 0 56px; }
  .ai-group { padding: 56px 0; }
  .ai-grid { grid-template-columns: 1fr; }
  .ai-card-body h3 { font-size: 19px; }
  .ai-card--wide { flex-direction: column; }
  .ai-card--wide .ai-cover { width: 100%; flex: none; height: 176px; min-height: 0; }
  .ai-card--wide .ai-card-body { padding: 24px 26px 26px; }
  .ai-card--wide .ai-card-body h3 { font-size: 21px; }
  .ai-card--feature .ai-cover { height: 190px; }
  .ai-card--feature .ai-card-body { padding: 24px 24px 26px; }
  .ai-card--feature .ai-card-body h3 { font-size: 20px; }
  .ai-cover--plate { height: 132px; }
  .ai-cover--plate img { object-fit: contain; }
  .ai-group-line { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ai-group .section-intro { max-width: none; }
}

/* ============ 个人专栏页（columns.html） ============ */
/* 内容少，让页脚贴到视口底部，避免大屏下页脚下方露一截背景色 */
.page-cols { min-height: 100vh; display: flex; flex-direction: column; }
.page-cols main { flex: 1 0 auto; }
.cols-body { padding-bottom: 104px; }
@media (max-width: 760px) {
  .cols-body { padding-bottom: 72px; }
}

/* ============ 作品案例页（ai-work-*.html） ============ */
.case-hero { padding: 76px 0 48px; }
.case-hero .hero-title { font-size: clamp(34px, 4.8vw, 58px); margin-bottom: 20px; }
.case-hero .hero-lede { max-width: 640px; font-size: 17px; }
.case-meta {
  display: flex; flex-wrap: wrap; gap: 14px 44px;
  list-style: none; margin: 34px 0 0; padding: 20px 0 0;
  border-top: 1px solid var(--line);
}
.case-meta li { font-size: 15px; color: var(--ink); }
.case-meta span {
  display: block; font-size: 11px; letter-spacing: .12em;
  color: var(--faint); text-transform: uppercase; margin-bottom: 2px;
}
.case-hero-actions { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 26px; }

.case-block { padding: 56px 0; border-top: 1px solid var(--line); }
.case-block:first-of-type { border-top: 0; }
.case-block .section-title { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 8px; }
.case-block .section-intro { max-width: 62ch; margin-bottom: 30px; }
.case-prose { max-width: 68ch; }
.case-prose p { margin: 0 0 18px; color: var(--ink); }
.case-prose p:last-child { margin-bottom: 0; }
.case-prose em { font-style: normal; border-bottom: 1px solid var(--accent); padding-bottom: 1px; }

/* 「为什么做这一套」：正文两栏，右栏是「目标」标注块，避免右侧大片留白 */
.case-split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 26px 56px;
  align-items: start;
  margin-top: 22px;
}
.case-split .case-prose { max-width: none; }
.case-goal {
  background: var(--surface-soft);
  border-left: 2px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 22px 26px 24px 24px;
}
.case-goal-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  color: var(--faint); text-transform: uppercase; margin: 0 0 14px;
}
.case-goal ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.case-goal li {
  position: relative; padding-left: 17px;
  font-size: 16px; line-height: 1.8; color: var(--ink);
}
.case-goal li::before {
  content: ""; position: absolute; left: 0; top: .78em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.case-goal b { font-weight: 500; }

/* 单段说明需要通栏时用：去掉 68ch 上限，让文字左右都顶到容器边 */
.case-prose--wide { max-width: none; }
.case-prose--wide p { font-size: 16.5px; line-height: 1.9; text-wrap: pretty; }

.case-points {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 40px; list-style: none; padding: 0; margin: 0;
}
.case-points li { border-left: 2px solid var(--line); padding: 2px 0 2px 16px; }
.case-points b { display: block; font-weight: 500; margin-bottom: 4px; }
.case-points p { margin: 0; font-size: 15px; color: var(--muted); }

.case-parts { list-style: none; padding: 0; margin: 0; counter-reset: part; }
.case-parts li {
  display: flex; align-items: baseline; gap: 18px;
  padding: 16px 0; border-top: 1px solid var(--line);
}
.case-parts li:last-child { border-bottom: 1px solid var(--line); }
.case-parts .pnum { font-family: var(--mono); font-size: 13px; color: var(--accent); flex: 0 0 auto; }
.case-parts .ptitle { font-size: 16px; }
.case-parts .pdesc { font-size: 14px; color: var(--muted); }
.case-parts .prng { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--faint); flex: 0 0 auto; }

.case-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; }
.case-shot { margin: 0; }
.case-shot button {
  display: block; width: 100%; padding: 0; cursor: zoom-in;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  background: var(--surface); transition: border-color .2s, transform .2s;
}
.case-shot button:hover { border-color: #CFC6B6; transform: translateY(-2px); }
.case-shot img { width: 100%; height: auto; display: block; }
.case-shot figcaption {
  margin-top: 10px; font-size: 13px; color: var(--muted);
  display: flex; gap: 10px; align-items: baseline;
}
.case-shot .pno { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.case-foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 40px; }

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.28);
  color: #fff; font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: rgba(0,0,0,.5); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-count {
  position: absolute; top: 26px; left: 26px;
  font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.7);
}

@media (max-width: 760px) {
  .case-hero { padding: 56px 0 36px; }
  .case-meta { gap: 12px 28px; }
  .case-points { grid-template-columns: 1fr; gap: 18px; }
  .case-split { grid-template-columns: 1fr; gap: 24px; margin-top: 18px; }
  .case-goal { padding: 18px 20px 20px; }
  .case-prose--wide p { font-size: 16px; }
  .case-parts li { flex-wrap: wrap; gap: 6px 14px; }
  .case-parts .prng { margin-left: 0; }
  .case-gallery { grid-template-columns: 1fr; gap: 22px; }
  .case-block { padding: 44px 0; }
}

/* 长中文标题只在语义处换行 */
.nb { white-space: nowrap; }

/* 窄屏：两个备案号仍排在同一个行内，只收紧字号与间距；
   号码本身不拆行，万一极窄机型放不下，整块落到下一行而不是被裁掉 */
@media (max-width: 600px) {
  .footer-record { font-size: 11.5px; letter-spacing: 0; }
  .footer-record a { white-space: nowrap; }
  .footer-record-sep { margin: 0 6px; }
}
