/* v3 海报墙：瑞士国际主义海报 —— 巨型字、几何色块、网格对齐；每个栏目是一张会动的海报。 */
:root {
  --paper: #f1ede4; --black: #141414; --red: #e8431f; --navy: #193564; --gold: #c99a2e; --steel: #80A9CA;
  --sans: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --hei: "PingFang SC", "Heiti SC", "Microsoft YaHei", sans-serif;
  --it: "Iowan Old Style", "Times New Roman", serif;
  --mono: "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--black); font: 15px/1.6 var(--sans); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.top { display: flex; justify-content: space-between; padding: 18px 28px; font: 12px var(--mono); letter-spacing: .08em; border-bottom: 2px solid var(--black); }
.hero { position: relative; padding: 20px 28px 0; border-bottom: 2px solid var(--black); }
.hero h1 { margin: 6px 0 0; padding-right: 180px; font: 900 clamp(44px, 6.4vw, 100px)/1.15 var(--hei); letter-spacing: -.02em; }
.hero h1 span { color: var(--red); }
.hero h1 .bh { color: inherit; }
.hero .meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 18px 0 22px; border-top: 2px solid var(--black); margin-top: 18px; }
.meta b { display: block; font: 11px var(--mono); letter-spacing: .1em; color: #666; font-weight: 400; }
.meta i { font: italic 22px var(--it); }
.sticker { position: absolute; right: 28px; top: 28px; width: 150px; height: 150px; border-radius: 50%; background: var(--red); color: var(--paper);
  display: grid; place-items: center; text-align: center; font: 700 15px/1.3 var(--hei); animation: rot 14s linear infinite; }
.sticker svg { position: absolute; inset: 0; }
@keyframes rot { to { rotate: 360deg; } }
.marquee { overflow: hidden; border-bottom: 2px solid var(--black); background: var(--black); color: var(--paper); }
.marquee div { display: flex; gap: 40px; width: max-content; padding: 10px 0; font: 700 22px var(--hei); animation: mq 30s linear infinite; }
.marquee em { font: italic 400 24px var(--it); color: var(--gold); }
@keyframes mq { to { transform: translateX(-50%); } }

.wall { display: grid; grid-template-columns: repeat(3, 1fr); }
.poster { position: relative; aspect-ratio: 3 / 4.2; border-right: 2px solid var(--black); border-bottom: 2px solid var(--black); overflow: hidden; padding: 18px; display: flex; flex-direction: column; }
.poster:nth-child(3n) { border-right: 0; }
.poster .n { font: 900 120px/.8 var(--hei); letter-spacing: -.05em; position: relative; z-index: 2; }
.poster h2 { font: 900 34px/1.1 var(--hei); margin: auto 0 6px; position: relative; z-index: 2; }
.poster h2 em { display: block; font: italic 400 20px var(--it); }
.poster .bot { display: flex; justify-content: space-between; font: 11px var(--mono); letter-spacing: .08em; position: relative; z-index: 2; border-top: 1.5px solid currentColor; padding-top: 8px; }
.shape { position: absolute; transition: transform .6s cubic-bezier(.3,1.5,.5,1); }
.poster:hover .shape { transform: var(--h); }
.poster:hover .n { color: var(--paper); }
.p2:hover .n, .p5:hover .n { color: var(--red); } /* 米色底的卡片悬停时数字变橙红，否则会和底色融为一体 */

.p1 { background: var(--red); color: var(--black); }
.p1 .s1 { width: 90%; aspect-ratio: 1; border-radius: 50%; background: var(--black); right: -30%; top: 22%; --h: translate(-24%, -6%) scale(1.06); }
.p2 { background: var(--paper); }
.p2 .s1 { left: 10%; right: 10%; top: 28%; height: 34%; background: repeating-linear-gradient(90deg, var(--navy) 0 18px, transparent 18px 30px); --h: scaleX(.6); }
.p3 { background: var(--gold); }
.p3 .bookart { position: absolute; left: 10%; right: 10%; top: 20%; width: 80%; height: auto; }
.p3 .bookart .open { transition: transform .5s cubic-bezier(.3,1.5,.5,1); transform-origin: 150px 140px; }
.p3 .bookart .ribbon { transition: transform .5s cubic-bezier(.3,1.5,.5,1); }
.p3:hover .bookart .open { transform: translateY(-14px) rotate(-3deg); }
.p3:hover .bookart .ribbon { transform: translateY(10px); }
.p4 { background: var(--navy); color: var(--paper); }
.p4 svg { position: absolute; inset: 18% 0 24%; width: 100%; height: 58%; }
.p4 .line { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1s ease; }
.p4:hover .line { stroke-dashoffset: 0; }
.p5 { background: var(--paper); }
.p5 .s1 { left: 10%; top: 31%; width: 56%; height: 44%; background: var(--steel); transform: rotate(-8deg); --h: rotate(-14deg) translate(-6%, 3%); }
.p5 .s2 { left: 26%; top: 26%; width: 56%; height: 48%; border: 2px solid var(--black); background-color: var(--paper);
  background-image: linear-gradient(var(--navy), var(--navy)), repeating-linear-gradient(180deg, var(--navy) 0 5px, transparent 5px 19px);
  background-size: 46% 12px, 66% 52%; background-position: 12% 13%, 12% 78%; background-repeat: no-repeat; --h: translate(4%, -4%); }
.p5 .s3 { left: 70%; top: 21%; width: 9%; height: 24%; background: var(--red); --h: translateY(-22%); }
.p6 { background: var(--black); color: var(--paper); }
.p6 .s1 { left: 0; right: 0; top: 30%; height: 40%; background: conic-gradient(from 270deg at 50% 100%, var(--gold) 0 90deg, transparent 90deg 270deg, var(--gold) 270deg); clip-path: polygon(0 100%, 50% 0, 100% 100%); --h: scaleY(1.3); transform-origin: bottom; }
.p7 { background: var(--steel); }
.p7 .s1 { left: 18%; top: 26%; border-left: 120px solid var(--black); border-top: 75px solid transparent; border-bottom: 75px solid transparent; width: 0; height: 0; --h: translateX(30px) scale(1.15); }
.p8 { background: var(--navy); color: var(--paper); border-right: 0 !important; }
.p8 .ava { position: absolute; right: 9%; top: 6%; width: 36%; aspect-ratio: 1; border-radius: 50%; z-index: 1; transition: transform .25s; }
.p8 .ava::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red); translate: -14px 12px; }
.p8 .ava::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; background: conic-gradient(var(--gold) 0 33%, var(--steel) 0 66%, var(--paper) 0); z-index: -0; mask: radial-gradient(closest-side, transparent calc(100% - 8px), #000 calc(100% - 7px)); }
.p8 .ava img { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; border: 4px solid var(--navy); }
.p8:hover .ava { transform: translate(-6px, -6px); }
.p8:hover .n { color: var(--gold); }
.p8 h2 { margin-top: 0; }
.p8 h2 em { color: var(--gold); }
.p8-facts { position: relative; z-index: 2; margin: auto 0 18px; display: grid; gap: 0; width: 100%; }
.p8-facts div { display: grid; grid-template-columns: 70px 1fr; align-items: baseline; padding: 8px 0; border-top: 1.5px solid rgba(241,237,228,.35); }
.p8-facts div:last-child { border-bottom: 1.5px solid rgba(241,237,228,.35); }
.p8-facts dt { font: 11px var(--mono); letter-spacing: .1em; color: var(--steel); }
.p8-facts dd { margin: 0; font: 900 19px/1.3 var(--hei); }
.p8-facts small { display: block; font: 11px var(--mono); letter-spacing: .06em; opacity: .65; font-weight: 400; margin-top: 2px; }

.foot { display: flex; justify-content: space-between; padding: 22px 28px 40px; font: 12px var(--mono); }
@media (max-width: 900px) {
  .wall { grid-template-columns: repeat(2, 1fr); }
  .p8 { grid-column: span 2; aspect-ratio: auto; }
  .p8-facts { margin: 56px 0 18px; }
  .wall .poster:nth-last-child(2):nth-child(odd) { grid-column: span 2; aspect-ratio: auto; min-height: 240px; border-right: 0; }
  .poster:nth-child(3n) { border-right: 2px solid var(--black); }
  .poster:nth-child(2n) { border-right: 0; }
  .poster .n { font-size: 80px; } .poster h2 { font-size: 24px; }
  .hero .meta { grid-template-columns: repeat(2, 1fr); }
  .sticker { width: 96px; height: 96px; font-size: 11px; top: 12px; }
}

/* —— 内页共用 —— */
.top a:hover { color: var(--red); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav a.cur { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.sec-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 0 36px; padding: 28px 28px 30px;
  border-bottom: 2px solid var(--black); background: var(--c-bg); color: var(--c-fg); min-height: 460px; }
.sec-hero .big { font: 900 clamp(150px, 26vw, 380px)/.78 var(--hei); letter-spacing: -.06em; position: relative; z-index: 2; }
.sec-hero .txt { align-self: end; position: relative; z-index: 2; max-width: 640px; }
.sec-hero h1 { margin: 0; font: 900 clamp(48px, 7vw, 104px)/1 var(--hei); letter-spacing: -.02em; }
.sec-hero h1 em { display: block; font: italic 400 clamp(24px, 3vw, 40px) var(--it); margin-top: 8px; }
.sec-hero p { font: 500 20px/1.6 var(--hei); margin: 18px 0 0; }
.sec-hero .deco { position: absolute; right: 28px; top: 24px; height: min(calc(100% - 50px), 420px); width: auto; aspect-ratio: 1; z-index: 1; overflow: visible; }
@media (min-width: 901px) { .sec-hero { padding-right: 470px; } }
.dC-t { transform-box: view-box; transform-origin: 20px 20px; animation: dC-turn 10s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes dC-turn { 0% { rotate: 0deg; } 9%, 25% { rotate: 90deg; } 34%, 50% { rotate: 180deg; } 59%, 75% { rotate: 270deg; } 84%, 100% { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .dC-t { animation: none; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 2px solid var(--black); }
.stats div { padding: 14px 28px; border-right: 2px solid var(--black); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font: 11px var(--mono); letter-spacing: .1em; color: #666; font-weight: 400; }
.stats strong { font: 900 40px/1.1 var(--hei); }
.works { display: grid; grid-template-columns: repeat(3, 1fr); }
.work { border-right: 2px solid var(--black); border-bottom: 2px solid var(--black); padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: background .25s; }
.work:nth-child(3n) { border-right: 0; }
.work:hover { background: #e8e3d7; }
.frame { position: relative; aspect-ratio: 4 / 3; background: var(--c-bg); color: var(--c-fg); overflow: hidden; display: grid; place-items: center; }
.frame .k { position: absolute; left: 12px; top: 6px; font: 900 72px/1 var(--hei); letter-spacing: -.04em; opacity: .9; }
.frame .hole { font: 12px var(--mono); letter-spacing: .1em; border: 1.5px solid currentColor; padding: 5px 10px; }
.frame i { position: absolute; right: -14%; bottom: -24%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--c-acc); transition: transform .5s cubic-bezier(.3,1.5,.5,1); }
.frame.shot { background: var(--paper); border: 2px solid var(--black); }
.frame.shot img { width: 100%; height: 100%; object-fit: cover; object-position: left center; transition: transform .5s; transform-origin: left center; }
.work:hover .frame.shot img { transform: scale(1.04); }
.work:hover .frame i { transform: translate(-20%, -16%); }
.work h3 { margin: 4px 0 0; font: 900 24px/1.25 var(--hei); }
.meta2 { display: flex; justify-content: space-between; align-items: center; font: 11px var(--mono); letter-spacing: .08em; border-top: 1.5px solid var(--black); padding-top: 8px; margin-top: auto; }
.tag { padding: 2px 8px; background: var(--black); color: var(--paper); }
.tag.ask { background: var(--red); }
.tag.live { background: var(--navy); }
.cover.real { padding: 12px; background: var(--navy); display: grid; place-items: center; }
.cover.real img { width: 100%; height: auto; display: block; border: 2px solid var(--paper); rotate: -2deg; }
/* 书籍：书封 */
.works.books { grid-template-columns: repeat(4, 1fr); }
.works.books .work:nth-child(3n) { border-right: 2px solid var(--black); }
.works.books .work:nth-child(4n) { border-right: 0; }
.cover { position: relative; aspect-ratio: 3 / 4.2; padding: 16px 14px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 6px 6px 0 var(--black); border: 2px solid var(--black); transition: transform .35s cubic-bezier(.3,1.5,.5,1); overflow: hidden; }
.work:hover .cover { transform: rotate(-3deg) translateY(-6px); }
.cover .ct { font: 900 22px/1.2 var(--hei); position: relative; z-index: 2; }
.cover .ca { font: 11px var(--mono); letter-spacing: .1em; position: relative; z-index: 2; }
.cover .band { position: absolute; left: 0; right: 0; top: 46%; height: 18%; z-index: 1; }
.cover.c0 { background: var(--red); } .cover.c0 .band { background: var(--black); }
.cover.c1 { background: var(--navy); color: var(--paper); } .cover.c1 .band { background: var(--gold); }
.cover.c2 { background: var(--paper); } .cover.c2 .band { background: repeating-linear-gradient(90deg, var(--navy) 0 10px, transparent 10px 16px); }
.cover.c3 { background: var(--gold); } .cover.c3 .band { background: var(--paper); }
.cover.c4 { background: var(--steel); } .cover.c4 .band { background: var(--black); height: 4%; top: 60%; }
.cover.c5 { background: var(--black); color: var(--paper); } .cover.c5 .band { background: var(--red); border-radius: 50%; width: 40%; left: 30%; height: auto; aspect-ratio: 1; top: 38%; }
.next { display: flex; justify-content: space-between; align-items: baseline; padding: 30px 28px; border-bottom: 2px solid var(--black); }
.next b { font: 11px var(--mono); letter-spacing: .1em; font-weight: 400; }
.next strong { font: 900 clamp(36px, 6vw, 80px)/1 var(--hei); letter-spacing: -.02em; }
.next:hover strong { color: var(--red); }
/* 书籍栏目：已上线的书并排大书封 */
.works.books-duo { grid-template-columns: repeat(2, 1fr); }
.works.books-duo.trio { grid-template-columns: repeat(3, 1fr); }
.trio .book:nth-child(3n) { border-right: 0; }
.trio .book-cv { padding: 22px 20px; }
.trio .book-cv img { max-width: none; box-shadow: 7px 7px 0 var(--black); }
.trio .book-tx { padding: 18px 20px 22px; gap: 8px; }
.trio .book-tx h3 { font-size: 24px; }
.trio .book-tx p { font-size: 14px; line-height: 1.7; }
.trio .book-tx li { font-size: 11px; padding: 2px 7px; }
.trio .book-tx .go { padding: 8px 14px; font-size: 14px; }
.book { display: flex; flex-direction: column; border-right: 2px solid var(--black); border-bottom: 2px solid var(--black); }
.book:last-child { border-right: 0; }
.book-cv { padding: 28px 32px; display: grid; place-items: center; border-bottom: 2px solid var(--black); }
.book-cv.c0 { background: var(--navy); } .book-cv.c1 { background: var(--red); }
.book-cv.shot.c0 { background: var(--gold); } .book-cv.shot.c1 { background: var(--steel); }
.book-cv.shot img { rotate: 0deg; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.book-cv.shot.c2 { background: var(--red); }
.book-cv.shot.c3 { background: var(--navy); } .book-cv.shot.c4 { background: var(--gold); }
.book-cv img { width: 100%; max-width: 560px; display: block; border: 2px solid var(--black); box-shadow: 10px 10px 0 var(--black); rotate: -2deg; transition: rotate .4s, transform .4s; }
.book:hover .book-cv img { rotate: 0deg; transform: translateY(-6px); }
.book-tx { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.book-tx .ca { font: 11px var(--mono); letter-spacing: .1em; color: #666; }
.book-tx h3 { margin: 0; font: 900 28px/1.2 var(--hei); }
.book-tx p { margin: 0; font-size: 15px; line-height: 1.7; }
.book-tx .book-note { font: italic 14px/1.7 var(--it), var(--hei); color: #6a5a3a; border-left: 3px solid var(--red); padding-left: 12px; }
.book-tx ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.book-tx li { font: 11px var(--mono); border: 1.5px solid var(--black); padding: 2px 8px; }
.book-tx .go { margin-top: auto; align-self: flex-start; background: var(--black); color: var(--paper); padding: 9px 15px; font: 900 15px var(--hei); transition: transform .15s, box-shadow .15s; }
.book:hover .go { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--red); }

/* 论文栏目：书目列表 */
.works.papers { display: block; position: relative; }
.paper { display: grid; grid-template-columns: 160px 1fr; gap: 28px; padding: 28px; border-bottom: 2px solid var(--black); align-items: start; transition: background .2s; }
.paper:hover { background: #e8e3d7; }
.p-year { font: 900 64px/0.9 var(--hei); letter-spacing: -.04em; color: var(--red); }
.p-body h3 { margin: 0 0 8px; font: 900 26px/1.35 var(--hei); }
.p-au { margin: 0; font-size: 16px; }
.p-au b { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.p-jn { margin: 4px 0 10px; font-size: 15px; color: #444; }
.p-jn i { font-style: normal; font-weight: 700; color: var(--black); }
.paper details { border-top: 1.5px solid var(--black); padding-top: 8px; }
.paper summary { cursor: pointer; font: 12px var(--mono); letter-spacing: .1em; list-style: none; }
.paper summary::before { content: "+ "; color: var(--red); }
.paper details[open] summary::before { content: "− "; }
.paper details p { margin: 8px 0 0; font-size: 15px; line-height: 1.85; }
.p-kw { font: 12px var(--mono) !important; color: #666; letter-spacing: .04em; }
.p-act { display: flex; flex-direction: column; gap: 8px; }
.pb { padding: 9px 12px; border: 2px solid var(--black); background: var(--black); color: var(--paper); font: 900 14px var(--hei); cursor: pointer; text-align: left; transition: transform .15s, box-shadow .15s; }
.pb.alt { background: var(--paper); color: var(--black); }
.pb:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--red); }
.p-group { margin: 0; padding: 26px 28px 12px; display: flex; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--black); font: 900 clamp(30px, 3.6vw, 46px)/1 var(--hei); }
.p-group .p-gt { margin: 0; font: inherit; letter-spacing: 0; width: auto; }
.p-group small { font: 900 .5em var(--hei); color: var(--red); white-space: nowrap; }
.p-group em { font: italic 400 .5em var(--it); color: var(--red); }
.p-group span { margin-left: auto; font: 12px var(--mono); letter-spacing: .08em; }
.paper.wp { grid-template-columns: 170px 1fr; }
.p-cover img { width: 100%; display: block; border: 2px solid var(--black); box-shadow: 6px 6px 0 var(--black); transition: transform .3s; background: #fff; }
@media (max-width: 1200px) { .paper.card { grid-template-columns: 150px minmax(0, 1fr); } .p-hl { grid-column: 2; border-left: 0; border-top: 2px solid var(--black); padding: 14px 0 0; } }
a.p-cover:hover img { transform: translate(-3px, -3px) rotate(-1deg); }
.paper.card { grid-template-columns: 180px minmax(0, 1fr) 280px; gap: 36px; padding: 32px 28px; }
.p-body { min-width: 0; }
.p-hl { border-left: 2px solid var(--black); padding-left: 24px; align-self: stretch; display: flex; flex-direction: column; }
.p-hl strong { font: 900 54px/1 var(--hei); letter-spacing: -.03em; color: var(--red); }
.p-hl span { margin-top: 8px; font: 12px var(--mono); letter-spacing: .08em; color: var(--black); }
.p-hl p { margin: 14px 0 0; font-size: 15px; line-height: 1.75; color: #333; }
.p-abs { margin: 10px 0 0; font-size: 15px; line-height: 1.9; border-top: 1.5px solid var(--black); padding-top: 10px; }
.p-dl { margin: 8px 0 0; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.p-dl a { font: 900 15px var(--hei); color: var(--red); border-bottom: 2px solid var(--red); }
.p-dl a:hover { color: var(--black); border-color: var(--black); }
.p-dl span { font: 11px var(--mono); color: #666; letter-spacing: .04em; }
.p-full { display: flex; gap: 14px; align-items: center; margin: 10px 0 2px; }
.p-full img { width: 70px; display: block; border: 1.5px solid var(--black); box-shadow: 3px 3px 0 var(--black); }
.p-note { margin: 12px 0 0; font-size: 15px; line-height: 1.7; color: #6a5a3a; border-left: 3px solid var(--red); padding-left: 12px; }
.p-num { margin: 0 0 6px; font: 12px var(--mono); letter-spacing: .1em; color: var(--red); }
.p-size { font: 11px var(--mono); color: #666; letter-spacing: .04em; }
.p-mini img { width: 96px; display: block; border: 2px solid var(--black); box-shadow: 4px 4px 0 var(--black); margin-bottom: 4px; }
.toast { position: fixed; left: 50%; bottom: 32px; translate: -50% 20px; background: var(--black); color: var(--paper); padding: 10px 18px; font: 900 15px var(--hei); opacity: 0; transition: opacity .2s, translate .2s; pointer-events: none; z-index: 9; }
.toast.on { opacity: 1; translate: -50% 0; }

/* 关于我 */
.ab { display: grid; grid-template-columns: minmax(300px, .6fr) 1.3fr; border-bottom: 2px solid var(--black); }
.ab-l { border-right: 2px solid var(--black); padding: 28px; display: grid; place-items: center; background: var(--red); }
.ab-ava { width: min(340px, 80%); aspect-ratio: 1; border-radius: 50%; border: 3px dashed var(--black); background: var(--paper); display: grid; place-items: center; font: 13px var(--mono); }
.ab-r { padding: 28px; }
.ab-mark { width: min(300px, 70%); height: auto; display: block; }
.ab-l:has(.ab-ring) { padding: 40px 28px; background: var(--red); display: grid; place-items: center; }
.ab-ring { position: relative; width: min(360px, 76%); aspect-ratio: 1; }
.ab-ring::before { content: ""; position: absolute; inset: -16px; border-radius: 50%; background: conic-gradient(var(--navy) 0 33%, var(--gold) 0 66%, var(--steel) 0); }
.ab-round { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 6px solid var(--red); }
.badge.b-frm { background: var(--navy); color: var(--paper); }
.badge.b-frm small { color: var(--gold) !important; opacity: 1 !important; }
.badge.b-gai { background: var(--gold); color: var(--navy); }
.badge.b-gai small { color: var(--black) !important; opacity: .85 !important; }
.ab-l:has(.ab-photo) { padding: 0; background: var(--paper); position: relative; min-height: 420px; overflow: hidden; }
.ab-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.ab-one { margin: 0 0 22px; font: 900 clamp(22px, 2.3vw, 32px)/1.45 var(--hei); }
.badge { display: inline-flex; flex-direction: column; gap: 2px; margin: 0 10px 10px 0; padding: 8px 14px; border: 2px solid var(--black); background: var(--paper); font: 900 17px var(--hei); }
.badge small { font: 11px var(--mono); letter-spacing: .06em; color: #666; font-weight: 400; }
.now { list-style: none; margin: 0; padding: 0; }
.now li { padding: 4px 0; }
.now li::before { content: "→ "; color: var(--red); font-weight: 900; }
.now a { border-bottom: 1.5px solid transparent; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 4px 0; font-size: 16px; }
.tl li b { font: 13px var(--mono); letter-spacing: .04em; padding-top: 3px; }
.tl li:first-child span { font-weight: 900; }
.ab-one { letter-spacing: .04em; }
.xhs { font-weight: 900; }   /* 2026-11-09 用户要求去掉下划线 */
.xhs:hover { color: var(--red); }
.now a:hover { border-color: var(--red); }
.facts { display: grid; grid-template-columns: 120px 1fr; margin: 0; }
.facts dt, .facts dd { margin: 0; padding: 14px 0; border-bottom: 1.5px solid var(--black); font-size: 18px; }
.facts dt { font: 11px var(--mono); letter-spacing: .1em; padding-top: 19px; }
.facts .p { color: #8b877e; font-style: italic; }
.idx { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 2px solid var(--black); }
.idx a { padding: 16px 14px; border-right: 2px solid var(--black); font: 900 18px/1.25 var(--hei); min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; }
.idx a:last-child { border-right: 0; }
.idx a span { font: 900 40px/1 var(--hei); }
.idx a:hover { background: var(--black); color: var(--paper); }

@media (max-width: 900px) {
  .top { flex-direction: column; gap: 8px; padding: 14px 16px; }
  .hero, .sec-hero, .next, .ab-r { padding-left: 16px; padding-right: 16px; }
  .sec-hero { grid-template-columns: 1fr; min-height: 0; }
  .sec-hero .big { font-size: 140px; }
  .sec-hero .deco { top: 14px; right: 12px; height: auto; width: 46%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div { padding: 12px 16px; } .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 2px solid var(--black); }
  .works, .works.books { grid-template-columns: 1fr; }
  .works.books { grid-template-columns: repeat(2, 1fr); }
  .work, .work:nth-child(3n) { border-right: 0; }
  .works.books .work:nth-child(odd) { border-right: 2px solid var(--black); }
  .works.books .work:nth-child(even), .works.books .work:nth-child(4n) { border-right: 0; }
  .cover .ct { font-size: 17px; }
  .ab { grid-template-columns: 1fr; } .ab-l { border-right: 0; border-bottom: 2px solid var(--black); }
  .facts { grid-template-columns: 84px 1fr; }
  .idx { grid-template-columns: repeat(2, 1fr); }
  .idx a { border-bottom: 2px solid var(--black); min-height: 90px; }
  .idx a:nth-child(2n) { border-right: 0; }
  .hero h1 { font-size: 34px; padding-right: 92px; }
  .sticker { width: 84px; height: 84px; right: 12px; top: 14px; font-size: 10px; }
  .poster .shape, .poster svg:not(.bookart) { scale: .55; transform-origin: 85% 35%; }
  .p3 .bookart { left: 30%; width: 62%; top: 16%; }
  .poster .n { font-size: 64px; }
  .p4 svg { scale: 1; inset: 22% 0 40%; height: 38%; }
  .poster h2 { font-size: 20px; } .poster h2 em { font-size: 15px; }
  .sec-hero .deco { top: 14px; right: 12px; height: auto; width: 46%; }
  .cover .band { top: 34%; }

  .p7 .s1 { top: 4%; left: 34%; }
  .p5 .s1 { top: 16%; } .p5 .s2 { top: 10%; } .p5 .s3 { top: 6%; }
  .works.books-duo, .works.books-duo.trio { grid-template-columns: 1fr; }
  .book { border-right: 0; }
  .book-cv { padding: 22px 18px; }
  .book-tx { padding: 18px 16px 22px; }
  .book-tx h3 { font-size: 26px; }
  .stats div { border-bottom: 0 !important; border-right: 2px solid var(--black) !important; padding: 10px 12px; }
  .stats div:last-child { border-right: 0 !important; }
  .stats strong { font-size: 24px; white-space: nowrap; }
  .p8 .ava { width: 104px; right: 22px; top: 26px; translate: 0; }
  .p8 .ava::before { translate: -10px 8px; }
  .p8-facts { width: 100%; max-width: 520px; margin: 56px 0 18px; }
  .p8-facts dd { font-size: 17px; }
  .p8 { min-height: 220px; }
  .paper { grid-template-columns: 1fr; gap: 10px; padding: 20px 16px; }
  .p-year { font-size: 40px; }
  .p-body h3 { font-size: 21px; }
  .p-act { flex-direction: row; flex-wrap: wrap; }
  .paper.wp { grid-template-columns: 1fr; }
  .p-cover img { width: 130px; }
  .p-group { padding: 20px 16px 10px; flex-wrap: wrap; }
  .p-group span { margin-left: 0; width: 100%; }
  .paper.card { grid-template-columns: 1fr; gap: 14px; padding: 20px 16px; }
  .p-hl { grid-column: auto; }
  .p-hl strong { font-size: 40px; }
}

/* 论文卡片的要点栏：窄屏时移到摘要下方（放在文件末尾，保证覆盖基础样式）*/
@media (max-width: 1200px) {
  .paper.card { grid-template-columns: 150px minmax(0, 1fr); }
  .p-hl { grid-column: 2; border-left: 0; border-top: 2px solid var(--black); padding: 14px 0 0; }
}
@media (max-width: 900px) {
  .paper.card { grid-template-columns: 1fr; }
  .p-hl { grid-column: auto; }
  .tl li { grid-template-columns: 1fr; gap: 0; padding: 6px 0; }
  .ab-l:has(.ab-photo) { min-height: 0; aspect-ratio: 1; }
  .ab-ring { width: 76%; max-width: 280px; }
  .ab-l:has(.ab-ring) { padding: 34px 16px; }
}

/* 首页作品墙 · 方案 B（2026-11-05 用户选定）：电脑端三列矮宽横版卡 */
@media (min-width: 901px) {
.poster { aspect-ratio: 16 / 9.5; padding: 16px 18px; }
.poster .n { font-size: 64px; }
.poster h2 { font-size: 24px; } .poster h2 em { font-size: 15px; }
.poster .shape, .poster svg:not(.bookart) { scale: .5; transform-origin: 92% 30%; }
.p3 .bookart { left: 48%; width: 46%; top: 6%; }
.p4 svg { scale: .55; transform-origin: 95% 20%; inset: 0; height: 100%; }
.p5 .s1, .p5 .s2, .p5 .s3 { scale: .7; transform-origin: 96% 0%; } .p5 .s1 { top: 26%; left: 18%; } .p5 .s2 { top: 20%; left: 34%; } .p5 .s3 { top: 15%; left: 78%; }
.p7 .s1 { left: 62%; top: 10%; scale: .7; }
.p2 .s1 { left: 50%; right: 6%; top: 8%; height: 46%; scale: 1; }
.p8 .ava { width: 30%; right: 6%; top: 8%; }
.p8 .ava::before { translate: -8px 7px; } .p8 .ava::after { inset: -7px; }
.p8 .n { font-size: 48px; }
.p8-facts { width: 62%; margin: 12px 0 6px; }
.p8-facts div { padding: 3px 0; grid-template-columns: 60px 1fr; } .p8-facts dd { font-size: 13px; } .p8-facts dt { font-size: 9px; }
.p8 h2 { font-size: 22px; margin-top: auto; } .p8 h2 em { display: inline; margin-left: 8px; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .poster { aspect-ratio: 5 / 4; }
  .p8 .ava { width: 24%; }
  .p8-facts { width: 72%; }
}


/* —— 首页下半部分：各栏目精选（2026-11-06 第二版）—— 每个栏目单独一块，块间留白；卡片以图为主、只留一行标题 */
.feat-bar { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 28px; background: var(--black); color: var(--paper); font: 700 18px var(--hei); }
.feat-bar em { font: italic 400 19px var(--it); color: var(--gold); margin-left: 6px; }
.feat-bar span:last-child { font: 11px var(--mono); letter-spacing: .08em; opacity: .7; font-weight: 400; }
.feat { padding: 0 28px 24px; }
.fs { padding: 56px 0 8px; }
.fs + .fs { border-top: 2px solid var(--black); margin-top: 48px; }
.fh { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.fh .n { font: 900 44px/.8 var(--hei); letter-spacing: -.05em; color: var(--acc); }
.fh h2 { margin: 0; font: 900 26px/1.2 var(--hei); }
.fh h2 em { margin-left: 10px; font: italic 400 17px var(--it); color: #777; }
.fh .all { margin-left: auto; font: 12px var(--mono); letter-spacing: .06em; padding: 6px 12px; border: 1.5px solid var(--black); white-space: nowrap; transition: background .2s, color .2s; }
.fh .all:hover { background: var(--black); color: var(--paper); }
.fg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 26px; }
.fs-papers .fg { grid-template-columns: repeat(6, 1fr); gap: 32px 22px; }
.fs-courses .fg, .fs-books .fg, .fs-tools .fg, .fs-video .fg { grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }   /* 两行四列（用户 2026-11-06 指定） */
.fs-books .fc h3 { font-size: 14px; }
.fc { display: block; min-width: 0; }
.fc-im { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 2px solid var(--black); background: #e4ded2; transition: transform .25s, box-shadow .25s; }
.fs-books .fc-im { aspect-ratio: 1.414; background: #fff; }
.fs-tools .fc-im { aspect-ratio: 16 / 10; }
.fs-papers .fc-im { aspect-ratio: 595 / 842; background: #fff; }
.fc-im img, .fc-im video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-im.fit { background: #fff; } .fc-im.fit img, .fc-im.fit video { object-fit: contain; padding: 6px; }   /* 顶刊复现、动图：整图显示，不裁剪 */
.fs-papers .fc-im img { object-position: top; }
.fc:hover .fc-im { transform: translate(-4px, -4px); box-shadow: 6px 6px 0 var(--acc); }
.tag2 { position: absolute; left: 0; top: 0; background: var(--black); color: var(--paper); font: 10px var(--mono); letter-spacing: .06em; padding: 4px 8px; }
.fc h3 { margin: 10px 0 0; font: 700 15px/1.4 var(--hei); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-papers .fc h3 { font-size: 13.5px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fc:hover h3 { color: var(--red); }
.fmore { aspect-ratio: 16 / 10; border: 2px dashed var(--black); display: flex; flex-direction: column; justify-content: space-between; padding: 18px; font: 700 17px/1.5 var(--hei); }
.fmore b { font: 12px var(--mono); letter-spacing: .06em; }
.fmore:hover { background: var(--black); color: var(--paper); border-style: solid; }
.fwall { margin-top: 26px; overflow: hidden; border-top: 2px solid var(--black); border-bottom: 2px solid var(--black); padding: 18px 0; }
.fwall-track { display: flex; gap: 18px; width: max-content; animation: fwall 90s linear infinite; }
.fwall-track:hover { animation-play-state: paused; }
.fwall-track + .fwall-track { margin-top: 18px; }
.fwall-track.rev { animation-direction: reverse; animation-duration: 100s; }   /* 第二条反向 */
@keyframes fwall { to { transform: translateX(calc(-50% - 9px)); } }
.fwall a { flex: none; border: 2px solid var(--black); background: #fff; transition: transform .25s, box-shadow .25s; }
.fwall img { height: 220px; width: auto; display: block; }
.fwall a:hover { transform: translate(-4px, -4px); box-shadow: 6px 6px 0 var(--acc); }
@media (prefers-reduced-motion: reduce) { .fwall { overflow-x: auto; } .fwall-track { animation: none; } }
@media (max-width: 900px) {
  .feat-bar { padding: 10px 16px; font-size: 16px; } .feat-bar span:last-child { display: none; }
  .feat { padding: 0 16px 16px; }
  .fs { padding: 36px 0 4px; } .fs + .fs { margin-top: 32px; }
  .fh { flex-wrap: wrap; gap: 6px 10px; margin-bottom: 16px; }
  .fh .n { font-size: 34px; } .fh h2 { font-size: 20px; } .fh h2 em { font-size: 14px; margin-left: 6px; }
  .fh .all { margin-left: 0; width: 100%; text-align: center; order: 3; }
  .fg { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .fs-papers .fg { grid-template-columns: repeat(3, 1fr); gap: 20px 12px; }
  .fs-courses .fg, .fs-books .fg, .fs-tools .fg, .fs-video .fg { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .fc h3 { font-size: 13px; margin-top: 7px; }
  .tag2 { font-size: 9px; padding: 3px 6px; letter-spacing: .02em; }
  .fs-papers .fc h3 { font-size: 12px; }
  .fmore { font-size: 14px; padding: 12px; }
  .fwall { margin-top: 18px; padding: 12px 0; } .fwall-track { gap: 10px; animation-duration: 70s; } .fwall-track + .fwall-track { margin-top: 10px; } .fwall-track.rev { animation-duration: 80s; } .fwall img { height: 130px; }
  @keyframes fwall { to { transform: translateX(calc(-50% - 5px)); } }
}


/* —— 量化栏目（2026-11-06）：黑底海报 + 赭金 K 线；首页精选块与工具同为一行四张 —— */
.p9 { background: var(--black); color: var(--paper); }
.p9 .n { color: var(--gold); }
.p9 svg.candle { position: absolute; inset: 14% 4% 30% 30%; width: 66%; height: 56%; }
.p9 .line { stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1s ease; }
.p9:hover .line { stroke-dashoffset: 0; }
.p9:hover .n { color: var(--paper); }
.p9 .bot { border-top-color: var(--paper); }
.fs-quant .fg { grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.fs-quant .fc-im { aspect-ratio: 16 / 10; background: #f0efec; }
@media (min-width: 901px) { .p9 svg.candle { scale: 1; inset: 6% 3% 34% 46%; width: 50%; height: 56%; } }
@media (max-width: 900px) { .fs-quant .fg { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; } .p9 svg.candle { scale: 1; inset: 10% 4% 40% 40%; width: 56%; height: 46%; } }
/* 七张卡（六个栏目 + 关于我）：电脑端改为四列两行，关于我占两格（2026-11-06 加入量化后） */
@media (min-width: 901px) {
  .wall { grid-template-columns: repeat(4, 1fr); }
  .wall .poster { border-right: 2px solid var(--black); }
  .wall .poster:nth-child(4n), .wall .poster:last-child { border-right: 0; }
  .wall .p8 { grid-column: span 2; aspect-ratio: auto; }
  .wall .p8 .ava { width: 21%; right: 5%; top: 12%; }
  .wall .p8-facts { width: 66%; }
  .poster .n { font-size: 56px; }
  .poster h2 { font-size: 22px; }
}

/* 论文栏目页：从首页论文卡跳转过来时定位并短暂高亮该篇（2026-11-06） */
.paper.card { scroll-margin-top: 24px; transition: background-color .6s, box-shadow .6s; }
.paper.card.hit { background-color: #fff6e0; box-shadow: inset 6px 0 0 var(--red); }

/* 首页课程块：课件封面两条滚动带（2026-11-06），比画廊略高，左上角标章节 */
.fcroll { margin-top: 0; }
.fcroll a { position: relative; }
.fcroll img { height: 210px; }
.fcroll .fwall-track { animation-duration: 70s; } .fcroll .fwall-track.rev { animation-duration: 80s; }
@media (max-width: 900px) { .fcroll img { height: 120px; } .fcroll .fwall-track { animation-duration: 50s; } .fcroll .fwall-track.rev { animation-duration: 58s; } }


/* —— 随感栏目（2026-11-06）：橙红底海报 + 斜放稿纸；首页精选为纯文字卡，栏目页为文章目录 —— */
.p10 { background: var(--red); color: var(--black); }
.p10 svg.note { position: absolute; inset: 12% 2% 30% 34%; width: 64%; height: 58%; }
.p10 .sheet, .p10 .pen { transition: transform .5s cubic-bezier(.3,1.5,.5,1); transform-box: fill-box; transform-origin: center; }
.p10:hover .sheet { transform: rotate(3deg); }
.p10:hover .pen { transform: translate(-10px, 6px) rotate(-6deg); }
.p10 .ink { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset .9s ease; }
.p10:hover .ink { stroke-dashoffset: 0; }
.p10:hover .n { color: var(--paper); }
@media (min-width: 901px) { .p10 svg.note { scale: 1; inset: 4% 3% 34% 50%; width: 47%; height: 60%; } }
@media (max-width: 900px) { .p10 svg.note { scale: 1; inset: 8% 4% 40% 42%; width: 54%; height: 48%; } }
.fs-notes .fg { grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.fn { display: flex; flex-direction: column; gap: 8px; min-height: 210px; padding: 18px; border: 2px solid var(--black); background: #fff; transition: transform .25s, box-shadow .25s; }
.fn:hover { transform: translate(-4px, -4px); box-shadow: 6px 6px 0 var(--acc); }
.fn.ph { border-style: dashed; background: transparent; }
.fn-d { font: 11px var(--mono); letter-spacing: .08em; color: var(--red); }
.fn h3 { margin: 0; font: 900 18px/1.45 var(--hei); }
.fn p { margin: 0; font-size: 14px; line-height: 1.7; color: #555; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fn b { margin-top: auto; font: 12px var(--mono); letter-spacing: .06em; }
.fs-notes .fmore { aspect-ratio: auto; min-height: 210px; }
.works.notes { display: block; }
.note-row { display: grid; grid-template-columns: 90px 120px 1fr; gap: 24px; align-items: baseline; padding: 26px 28px; border-bottom: 2px solid var(--black); transition: background .2s; }
.note-row:hover { background: #fff; }
.note-row.ph { background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(20,20,20,.04) 14px 28px); }
.nr-no { font: 900 44px/.9 var(--hei); color: var(--red); letter-spacing: -.04em; }
.nr-d { font: 12px var(--mono); letter-spacing: .08em; }
.nr-t h3 { margin: 0; font: 900 24px/1.4 var(--hei); }
.nr-t p { margin: 6px 0 0; font-size: 15px; color: #555; }
.note-row:hover .nr-t h3 { color: var(--red); }
.note-more { padding: 22px 28px; font: 13px var(--mono); letter-spacing: .06em; color: #777; border-bottom: 2px solid var(--black); }
@media (max-width: 900px) {
  .fs-notes .fg { grid-template-columns: 1fr; gap: 14px; }
  .fn, .fs-notes .fmore { min-height: 0; } .fs-notes .fmore { flex-direction: row; align-items: baseline; }
  .note-row { grid-template-columns: 52px 1fr; gap: 4px 14px; padding: 18px 16px; }
  .nr-no { font-size: 30px; grid-row: span 2; } .nr-t h3 { font-size: 18px; }
  .note-more { padding: 16px; }
}
/* 首页顶部八张卡 · 方案 C（2026-11-06 用户选定）：杂志式拼贴。五列两行，关于我竖版占左侧两行，课程占两格，八张卡正好填满 */
@media (min-width: 901px) {
  .wall { grid-template-columns: repeat(5, 1fr); grid-auto-rows: clamp(240px, 19.5vw, 340px); grid-auto-flow: dense; }
  .wall .poster { aspect-ratio: auto; border-right: 2px solid var(--black); }
  .wall .poster:nth-child(5n+1) { border-right: 2px solid var(--black); }
  .wall .p8 { grid-column: 5; grid-row: 1 / span 2; border-right: 0 !important; border-left: 0; }   /* 关于我放最右边（用户 2026-11-06） */
  .wall .poster:first-child { grid-column: span 2; }
  .wall .poster:nth-child(3), .wall .poster:nth-child(7), .wall .poster:nth-child(3n), .wall .poster:nth-child(4n) { border-right: 2px solid var(--black); }
  .wall .poster .n { font-size: 54px; }
  .wall .poster h2 { font-size: 21px; } .wall .poster h2 em { font-size: 14px; }
  .wall .poster .shape, .wall .poster svg:not(.bookart) { scale: .7; transform-origin: 90% 20%; }
  .wall .p3 .bookart { left: 34%; width: 62%; top: 8%; }
  .wall .p5 .s1, .wall .p5 .s2, .wall .p5 .s3 { scale: .5; transform-origin: 96% 0%; }
  .wall .p2 .s1 { left: 46%; right: 8%; top: 10%; height: 40%; scale: 1; }
  .wall .p7 .s1 { left: 52%; top: 10%; scale: .6; }
  .wall .p9 svg.candle { scale: 1; inset: 8% 5% 40% 30%; width: 65%; height: 48%; }
  .wall .p10 svg.note { scale: 1; inset: 6% 4% 40% 36%; width: 60%; height: 52%; }
  .wall .p8 .ava { width: 66%; right: auto; left: 17%; top: 9%; }
  .wall .p8 .n { font-size: 54px; }
  .wall .p8-facts { width: 100%; margin: auto 0 10px; }
  .wall .p8-facts div { grid-template-columns: 62px 1fr; padding: 5px 0; } .wall .p8-facts dd { font-size: 14px; } .wall .p8-facts dt { font-size: 10px; }
  .wall .p8 h2 { margin-top: 0; font-size: 24px; } .wall .p8 h2 em { display: block; margin: 2px 0 0; }
}
/* 关于我不编号（用户 2026-11-06） */
/* 关于我卡下方的"关于我 About"标题和底栏文字不要（用户 2026-11-06），只留头像和三行信息 */
.wall .p8 h2, .wall .p8 .bot { display: none; }
.wall .p8 .p8-facts { margin-bottom: 4px; }
/* 电脑端关于我卡：标签放在信息上方，证书全称排成一行（用户 2026-11-06） */
@media (min-width: 901px) {
  .wall .p8-facts div { grid-template-columns: 1fr; padding: 6px 0; }
  .wall .p8-facts dt { margin-bottom: 1px; }
  .wall .p8-facts div:last-child dd { white-space: nowrap; font-size: min(13px, .9vw); }
}
/* 关于我卡：头像和三行信息作为一组上下居中，不再一个顶天一个立地（用户 2026-11-06 嫌中间空） */
@media (min-width: 901px) {
  .wall .p8 { justify-content: center; gap: clamp(22px, 2.6vw, 40px); }
  .wall .p8 .ava { position: relative; left: auto; right: auto; top: auto; width: 78%; margin: 0 auto; flex: none; }
  .wall .p8 .p8-facts { margin: 0; }
  .wall .p8-facts div { padding: clamp(6px, .6vw, 11px) 0; }
  .wall .p8-facts dd { font-size: clamp(14px, 1.1vw, 20px); } .wall .p8-facts dt { font-size: clamp(10px, .7vw, 12px); }
  .wall .p8-facts div:last-child dd { font-size: min(16px, .9vw); }
}
/* 课程卡占两格后散点图被横向拉伸（该 SVG 设了 preserveAspectRatio=none），这里固定 3:2 比例，圆点保持正圆（用户 2026-11-06） */
@media (min-width: 901px) {
  .wall .poster.p4 svg.scatter { inset: 8% 3% auto 3%; width: 94%; height: calc(92% - 112px); aspect-ratio: auto; scale: 1; }   /* 通栏铺满，左下起、右上止（用户 2026-11-06 嫌中间空） */
}
/* 随感精选卡带插画时：图在上、字在下，占两格（2026-11-06 第一篇） */
.fn.has-im { grid-column: span 2; padding: 0; }
.fn.has-im > :not(.fn-im) { margin-left: 18px; margin-right: 18px; }
.fn.has-im b { margin-bottom: 16px; }
.fn-im { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 2px solid var(--black); }
.fn-im img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .fn.has-im { grid-column: auto; } }
/* 课程宽版散点在窄卡（手机）上的位置 */
@media (max-width: 900px) { .p4 svg.scatter { scale: 1; inset: 24% 6% auto 6%; width: 88%; height: 40%; } }
.p4 svg.scatter .line { stroke-dasharray: 800; stroke-dashoffset: 800; }
.p4:hover svg.scatter .line { stroke-dashoffset: 0; }
/* 随感目前只有一篇：带插画的卡改为通栏横版（图左字右），去掉"陆续写来"空框，避免右侧大片留白（2026-11-06） */
@media (min-width: 901px) {
  .fs-notes .fn.has-im:first-child:nth-last-child(2) { grid-column: 1 / -1; display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto 1fr auto; gap: 0 36px; align-content: start; }
  .fs-notes .fn.has-im:first-child:nth-last-child(2) .fn-im { grid-row: 1 / -1; border-bottom: 0; border-right: 2px solid var(--black); }
  .fs-notes .fn.has-im:first-child:nth-last-child(2) > :not(.fn-im) { grid-column: 2; margin-left: 0; margin-right: 32px; }
  .fs-notes .fn.has-im:first-child:nth-last-child(2) .fn-d { margin-top: 40px; font-size: 12px; }
  .fs-notes .fn.has-im:first-child:nth-last-child(2) h3 { margin-top: 14px; font-size: clamp(24px, 2.3vw, 36px); line-height: 1.3; }
  .fs-notes .fn.has-im:first-child:nth-last-child(2) p { margin-top: 18px; font-size: 17px; line-height: 1.9; -webkit-line-clamp: 6; color: #333; }
  .fs-notes .fn.has-im:first-child:nth-last-child(2) b { margin: 0 0 36px; font-size: 13px; }
}
.fs-notes .fn.has-im ~ .fmore { display: none; }

/* 首页刊头动态徽章 D 去噪生成（2026-11-06 替换橙红旋转圆章）：放在横线上方，高度跟标题一行走 */
.aibadge { position: absolute; right: 28px; top: 14px; --s: calc(clamp(44px, 6.4vw, 100px) * 1.15 + 16px); width: var(--s); height: var(--s); }
.aibadge svg, .aibadge canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 900px) { .aibadge { right: 16px; --s: calc(34px * 1.15 + 16px); } }

/* 随感列表：插图做成横幅铺满整行当底图，行高不变（2026-11-06） */
.note-row { grid-template-columns: 90px 120px 1fr; position: relative; overflow: hidden; isolation: isolate; }
.nr-im { position: absolute; inset: 0; z-index: 0; border: 0; overflow: hidden; pointer-events: none; }
.nr-im:empty { display: none; }
.nr-im img { width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; transition: transform .4s; }
.nr-im::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, #f1ede4 0, #f1ede4 40%, rgba(241,237,228,0) 62%); }
.nr-no, .nr-d, .nr-t { position: relative; z-index: 1; }
.note-row:hover .nr-im img { transform: scale(1.04); }
.note-row:has(.nr-im img) .nr-t p { width: fit-content; background: #f1ede4; padding-right: 6px; } /* 摘要长到压上图时，字底垫一块米色 */
@media (max-width: 900px) {
  .note-row { grid-template-columns: 52px minmax(0, 1fr); }
  .nr-im { grid-column: 1 / -1; position: static; aspect-ratio: 4 / 1; border: 2px solid #141414; margin-bottom: 12px; order: -1; }
  .nr-im::after { display: none; }
  .note-row:has(.nr-im img) .nr-t p { background: none; padding-right: 0; }
  .nr-im img[src*="n1978-strip"] { object-position: 84% center; } /* 4:1 只露右侧三分之一，往左挪一点让 1980 日历露全 */
}

/* 首页课程块改回静态 4×2（2026-11-07 用户要求不滚动）：封面按课件原始比例显示，不裁剪 */
.fs-courses .fc-im { aspect-ratio: 1440 / 774; }

/* 首页各栏目块大标题可点，进入对应栏目页（2026-11-09）；悬停：栏目名变橙红并出下划线 */
.fh-t { display: flex; align-items: baseline; gap: 14px; color: inherit; }
.fh-t .fh-nm { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s, color .2s; }
.fh-t:hover .fh-nm { color: var(--red); background-size: 100% 2px; }
@media (max-width: 900px) { .fh-t { gap: 10px; } }


/* ===== 2026-11-09 审核小修 ===== */
/* 长标题不出孤字：两行时均分（"短视频与内容创作"→"短视频与 / 内容创作"）；栏目页标题 ≥6 字时字号略缩，一行放下 */
.sec-hero h1, .wk-info h1, .vd-info h1, .tl-info h1, .q-info h1, .poster h2 { text-wrap: balance; }
.sec-hero h1.fit6 { font-size: clamp(48px, 5.6vw, 82px); }
.sec-hero h1.fit8 { font-size: clamp(48px, 5.4vw, 78px); }
/* 手机端栏目页头图：几何图单独占右上，大数字和标题在其下方，标题不再压到图上 */
@media (max-width: 900px) {
  .sec-hero { grid-template-columns: auto 1fr; gap: 0 12px; align-items: end; }
  .sec-hero .big { grid-column: 1; font-size: 128px; }
  .sec-hero .deco { position: static; grid-column: 2; justify-self: end; align-self: end; width: min(100%, 160px); height: auto; margin-bottom: 6px; }
  .sec-hero .txt { grid-column: 1 / -1; margin-top: 10px; }
}
/* 关于我底部索引：列数跟栏目数走（原来写死 6 列，第 7 个"随感"掉到下一行） */
.idx { grid-template-columns: repeat(var(--n, 6), 1fr); }
@media (max-width: 900px) { .idx { grid-template-columns: repeat(2, 1fr); } .idx a:last-child:nth-child(odd) { grid-column: span 2; } }


/* ===== 2026-11-09 审核改进（用户选定 B/C/E/F） ===== */
/* B. 页脚：黑底两行（内容由 foot.js 生成） */
.foot { flex-direction: column; gap: 0; padding: 0; background: var(--black); color: var(--paper); border-top: 2px solid var(--black); }
.foot .f-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 28px; }
.foot .f-row + .f-row { border-top: 1px solid rgba(241,237,228,.18); font-size: 11px; letter-spacing: .08em; opacity: .75; }
.foot .f-brand { font: 900 20px var(--hei); white-space: nowrap; }
.foot .f-brand em { font: italic 400 16px var(--it); color: var(--gold); margin-left: 8px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; font: 12px var(--mono); letter-spacing: .06em; }
.foot nav a:hover, .foot .f-brand:hover { color: var(--gold); }
.foot .f-links { display: flex; gap: 14px; font: 12px var(--mono); white-space: nowrap; }
.foot .f-links a { border-bottom: 1.5px solid var(--gold); padding-bottom: 1px; }
.foot .f-links a:hover, .foot .f-icp:hover { color: var(--gold); }
@media (max-width: 900px) { .foot .f-row { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 16px; } .foot nav { justify-content: flex-start; } }
/* C. 栏目里只有一件作品（交易机器人）：横版通栏，图左字右 */
.works.books-duo:has(.book:only-child) { grid-template-columns: 1fr; }
@media (min-width: 901px) {
  .book:only-child { display: grid; grid-template-columns: 1.15fr 1fr; border-right: 0; }
  .book:only-child .book-cv { border-bottom: 0; border-right: 2px solid var(--black); padding: 40px 44px; }
  .book:only-child .book-tx { padding: 32px 36px; justify-content: center; gap: 12px; }
  .book:only-child .book-tx h3 { font-size: 34px; }
  .book:only-child .book-tx p { font-size: 17px; }
}
/* E. 栏目页统计栏：四格时手机端 2×2 */
@media (max-width: 900px) {
  .stats.four { grid-template-columns: repeat(2, 1fr) !important; }
  .stats.four div:nth-child(-n+2) { border-bottom: 2px solid var(--black) !important; }
  .stats.four div:nth-child(2n) { border-right: 0 !important; }
  .stats.four strong { white-space: normal; }
}
/* F. 首页 04 小程序 / 05 短视频海报：与 02/03/06/07 同一种实物插画语言 */
.p2 svg.appart { position: absolute; inset: 10% 4% 30% 36%; width: 60%; height: 60%; }
.p2 .gear { transition: transform .6s cubic-bezier(.3,1.5,.5,1); transform-box: fill-box; transform-origin: center; }
.p2:hover .gear { transform: rotate(90deg); }
.p2 .tiles rect { transition: transform .4s; transform-box: fill-box; transform-origin: center; }
.p2:hover .tiles rect:nth-child(2), .p2:hover .tiles rect:nth-child(3) { transform: scale(.82); }
.p7 svg.vidart { position: absolute; inset: 10% 4% 30% 34%; width: 62%; height: 60%; }
.p7 .play { transition: transform .4s cubic-bezier(.3,1.5,.5,1); transform-box: fill-box; transform-origin: center; }
.p7:hover .play { transform: scale(1.15); }
.p7 .prog { transition: width .8s ease; } .p7:hover .prog { width: 232px; }
.p7 .knob { transition: transform .8s ease; } .p7:hover .knob { transform: translateX(112px); }
@media (min-width: 901px) {
  .wall .p2 svg.appart { inset: 6% 4% 38% 40%; width: 56%; height: 56%; scale: 1; }
  .wall .p7 svg.vidart { inset: 6% 4% 38% 38%; width: 58%; height: 56%; scale: 1; }
}
@media (max-width: 900px) { .p2 svg.appart, .p7 svg.vidart { scale: 1; inset: 8% 4% 40% 40%; width: 56%; height: 48%; } }


/* ===== 顶行小字重设计（2026-11-09 用户选 D）：红方块 + Cobb + 斜体副题，右侧斜体年份；内页顶行同一字体字距 ===== */
.top { font: 500 13px var(--hei); letter-spacing: .04em; align-items: center; padding: 13px 28px; }
.top .t-brand b { font-weight: 500; }
.top .sq { display: inline-block; width: 9px; height: 9px; background: var(--red); margin-right: 10px; vertical-align: 0; }
.top .t-brand em { font: italic 400 15px var(--it); color: #666; margin-left: 12px; letter-spacing: 0; }
.top .t-years { font: italic 400 17px var(--it); letter-spacing: 0; }
.top .t-years s { text-decoration: none; color: var(--red); margin: 0 4px; font-style: normal; }
.nav { gap: 4px 18px; }
@media (max-width: 900px) { .top { padding: 12px 16px; align-items: flex-start; } .top .t-brand em { display: none; } }

/* 联系方式（2026-11-09）：关于我页 邮箱 + 小红书 + 一句话；页脚邮箱链接在 foot.js */
.facts dd .xhs + .xhs { margin-left: 18px; }
.ab-contact { display: block; margin-top: 8px; font: 14px/1.6 var(--hei); color: #666; }
@media (max-width: 900px) { .facts dd .xhs + .xhs { margin-left: 12px; } .foot .f-links { flex-wrap: wrap; } }

/* 首页关于我卡：头像下方加名字（用户 2026-11-09），不加标签，字号大于三行信息 */
.p8-facts .p8-name { grid-template-columns: 1fr; border-top: 0; padding-top: 0; }
.p8-facts .p8-name dd { font: 900 clamp(24px, 2vw, 36px)/1.1 var(--hei); letter-spacing: .04em; padding-bottom: 4px; }

/* —— 2026-11-10 第二轮审美审阅：小修（补丁 patch7-1110.py，备份 _work/bak-1110-audit2/） —— */
/* 作品页标题：中文不在词中间断行（外滩好物 · 小/区、AI 与工/具、绘图指/南） */
.wk-info h1, .vd-info h1, .tl-info h1, .q-info h1 { word-break: keep-all; overflow-wrap: anywhere; }
/* 首页论文块：角标挪到左下，不压封面自带的页眉字 */
.fs-papers .tag2 { top: auto; bottom: 0; }
/* 首页随感卡：摘要最后一行不贴底边 */
.fn.has-im > p:last-child { margin-bottom: 18px; } .fn.has-im .fn-d { margin-top: 6px; }
/* 首页画廊滚动带在块尾时不再多画一条线 */
.fs > .fwall:last-child { border-bottom: 0; padding-bottom: 0; }
/* 随感栏目页：摘要只占左侧留白区，超出省略，不再压到横幅图上 */
@media (min-width: 901px) { .note-row:has(.nr-im img) .nr-t p { max-width: calc(56vw - 300px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: none; padding-right: 0; } }
@media (max-width: 900px) {
  /* 首页海报：数字和插画不再相撞 */
  .wall .p3 .bookart { translate: 0 26px; } .wall .p5 .shape { translate: 0 24px; } .wall .p7 svg.vidart { translate: 0 16px; }
  /* NEXT 条：长栏目名不把箭头挤到下一行 */
  .next { align-items: center; gap: 12px; } .next b { flex: none; white-space: nowrap; } .next strong { font-size: clamp(22px, 7vw, 36px); white-space: nowrap; text-align: right; }
  /* 关于我联系行：邮箱、小红书各占一行，不再"小红/书"断开 */
  .facts dd .xhs { display: block; width: fit-content; } .facts dd .xhs + .xhs { margin: 6px 0 0; }
}
/* 首页随感块：小卡，图上字下（2026-11-10，用户嫌两张太大；同日改为一行四列，第四格见下）。:nth-child(n):nth-last-child(n) 只为抬高权重，压过之前“一篇通栏横版”“两篇各占两格”的规则 */
@media (min-width: 901px) {
  .fs-notes .fg { grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n) { grid-column: auto; display: flex; flex-direction: column; gap: 8px; padding: 0; min-height: 0; }
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n) .fn-im { grid-row: auto; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 2px solid var(--black); }
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n) > :not(.fn-im) { grid-column: auto; margin-left: 18px; margin-right: 18px; }
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n) .fn-d { margin-top: 8px; font-size: 11px; }
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n) h3 { margin-top: 0; font-size: 17px; line-height: 1.45; }
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n) p { margin-top: 0; margin-bottom: 18px; font-size: 14px; line-height: 1.7; -webkit-line-clamp: 2; color: #555; }
}
/* 随感第四格（2026-11-10 改四列）：最新三篇 + “全部随感”虚线卡。电脑端与旁边三张等高；手机端为一条矮横条 */
.fs-notes .fg .fn.has-im ~ .fmore { display: flex; aspect-ratio: auto; min-height: 0; align-self: stretch; border-style: dashed; }
.fs-notes .fg .fn.has-im ~ .fmore:hover { border-style: solid; }
@media (max-width: 900px) {
  .fs-notes .fg .fn.has-im ~ .fmore { flex-direction: row; align-items: baseline; justify-content: space-between; padding: 14px 16px; }
  .fs-notes .fg .fn.has-im ~ .fmore br { display: none; }
}
/* 首页随感卡再收矮（2026-11-10）：图 16:10 同工具卡，只留日期 + 一行标题，隐藏摘要；手机端横条只写“更多随感” */
.fm-x { font-style: normal; }
@media (min-width: 901px) {
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n) .fn-im { aspect-ratio: 16 / 10; }
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n) p { display: none; }
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n) h3 { margin-bottom: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 900px) { .fs-notes .fg .fmore .fm-x { display: none; } }
/* 首页随感卡统一成工具/视频卡做法（2026-11-10）：电脑端去掉白底框，日期成图片左上角 .tag2 式黑角标，图下一行标题同 .fc h3；手机端不变 */
@media (min-width: 901px) {
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n) { position: relative; display: block; gap: 0; padding: 0; border: 0; background: transparent; min-width: 0; }
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n):hover { transform: none; box-shadow: none; }
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n) .fn-im { aspect-ratio: 16 / 10; border: 2px solid var(--black); background: #e4ded2; transition: transform .25s, box-shadow .25s; }
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n):hover .fn-im { transform: translate(-4px, -4px); box-shadow: 6px 6px 0 var(--acc); }
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n) > .fn-d:not(.fn-im) { position: absolute; left: 2px; top: 2px; margin: 0; background: var(--black); color: var(--paper); font: 10px var(--mono); letter-spacing: .06em; padding: 4px 8px; transition: transform .25s; }
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n):hover > .fn-d { transform: translate(-4px, -4px); }
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n) > h3:not(.fn-im) { margin: 10px 0 0; font: 700 15px/1.4 var(--hei); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n):hover > h3 { color: var(--red); }
  .fs-notes .fg .fn.has-im:nth-child(n):nth-last-child(n) > p { display: none; }
}

/* —— 2026-11-10 第二轮审美审阅：建议 A–D —— */
/* A 关于我页：口号做成正式的一行（只作用于关于我页，首页刊头不受影响） */
.hero .meta.slogan-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0 24px; }
.slogan-bar .slogan { font: 900 clamp(24px, 2.5vw, 36px)/1.2 var(--hei); letter-spacing: .3em; white-space: nowrap; }
.slogan-bar .slogan i { font: inherit; display: inline-block; width: .2em; height: .2em; background: var(--red); overflow: hidden; text-indent: -9em; vertical-align: .34em; margin-right: .3em; letter-spacing: 0; }
.slogan-bar .slogan-en { font: italic 400 clamp(18px, 1.7vw, 24px)/1.2 var(--it); color: #666; white-space: nowrap; }
@media (max-width: 900px) {
  .hero .meta.slogan-bar { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 0 18px; }
  .slogan-bar .slogan { font-size: 22px; letter-spacing: .22em; }
  .slogan-bar .slogan-en { font-size: 16px; }
}
/* B 栏目页正好 5 件作品：前两件大、后三件小，铺满两行不留空格 */
@media (min-width: 901px) {
  .works.books-duo.trio:has(.book:nth-child(5):last-child) { grid-template-columns: repeat(6, 1fr); }
  .works.books-duo.trio:has(.book:nth-child(5):last-child) .book { grid-column: span 2; }
  .works.books-duo.trio:has(.book:nth-child(5):last-child) .book:nth-child(-n+2) { grid-column: span 3; }
  .works.books-duo.trio:has(.book:nth-child(5):last-child) .book:nth-child(3) { border-right: 2px solid var(--black); }
  .works.books-duo.trio:has(.book:nth-child(5):last-child) .book:nth-child(2),
  .works.books-duo.trio:has(.book:nth-child(5):last-child) .book:nth-child(5) { border-right: 0; }
  .works.books-duo.trio:has(.book:nth-child(5):last-child) .book:nth-child(-n+2) .book-tx h3 { font-size: 30px; }
  .works.books-duo.trio:has(.book:nth-child(5):last-child) .book:nth-child(-n+2) .book-tx p { font-size: 16px; }
}

/* —— 2026-11-14 首页视觉呼吸节奏升级：Stata 画廊控制栏 + 06 交易机器人全出血炭黑暗房跨页 —— */
.fwall-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding: 8px 0;
  border-top: 2px solid var(--black);
  font: 11px var(--mono);
  letter-spacing: .08em;
  color: #555;
}
.fwall-head + .fwall {
  margin-top: 0;
  border-top: 1px solid rgba(20, 20, 20, .2);
}
.fwall-btn {
  appearance: none;
  background: transparent;
  border: 1.5px solid var(--black);
  color: var(--black);
  padding: 3px 10px;
  font: 11px var(--mono);
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.fwall-btn:hover { background: var(--black); color: var(--paper); }
.fwall.is-paused .fwall-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .fwall-btn { display: none; } }

/* 06 交易机器人：全出血炭黑底色 + 赭金高光专题跨页，打破长滚动米色疲劳 */
.fs.fs-quant {
  margin-inline: -28px;
  margin-top: 56px;
  padding: 52px 28px 56px;
  background: var(--black);
  color: var(--paper);
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}
.fs.fs-quant + .fs {
  border-top: 0;
  margin-top: 8px;
}
.fs.fs-quant .fh h2 em { color: var(--gold); }
.fs.fs-quant .fh-t:hover .fh-nm { color: var(--gold); }
.fs.fs-quant .fh .all {
  border-color: rgba(241, 237, 228, .55);
  color: var(--paper);
}
.fs.fs-quant .fh .all:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}
.fs-quant .q-pill {
  font: 11px var(--mono);
  letter-spacing: .08em;
  color: var(--gold);
  border: 1px solid rgba(201, 154, 46, .55);
  padding: 3px 9px;
  margin-left: 4px;
  align-self: center;
}
.fs.fs-quant .fc-im { border-color: rgba(241, 237, 228, .85); }
.fs.fs-quant .tag2 { background: var(--gold); color: var(--black); font-weight: 700; }
.fs.fs-quant .fc h3 { color: var(--paper); }
.fs.fs-quant .fc:hover h3 { color: var(--gold); }
@media (max-width: 900px) {
  .fs.fs-quant { margin-inline: -16px; padding: 38px 16px 42px; margin-top: 40px; }
  .fs.fs-quant + .fs { margin-top: 4px; }
  .fs-quant .q-pill { display: none; }
}
