/* 何光沪 · 绀纸金泥：靛蓝纸上撒金砂子，图版一律是金版（亮处为金、墨线为靛蓝），文字用泥金与泥银。 */
body.c-he-guanghu {
  --bg: #121c48; --paper: #18245a; --deep: #0d1436; --ink: #efe4c6; --ink-2: #d4c69f; --ink-3: #ab9d76; --rule: rgba(224, 189, 98, .26);
  --acc: #e0bd62; --acc-ink: #121c48;
  --au: #e3c46f; --au-hi: #f8e7aa; --au-lo: #b48b36; --ag: #c9cedb; --ag-lo: #8e96a9;
  --head: "LXGW WenKai TC", "Noto Serif SC", "Kaiti SC", "STKaiti", serif; --body: "Noto Serif SC", "Songti SC", "STSong", serif; --lat: "Cardo", "Noto Serif SC", serif;
  --bar-bg: rgba(12, 19, 52, .92); --bar-ink: #efe4c6; --chip-bg: rgba(16, 25, 66, .92); --chip-ring: #18245a;
  --gold: linear-gradient(176deg, #fbecb6 0%, #e7c873 34%, #c39a44 62%, #efd38a 88%, #fbecb6 100%);
  --silver: linear-gradient(176deg, #f3f5fa 0%, #c8cdd9 40%, #959db0 66%, #dfe3ec 100%);
  background-color: var(--bg);
  background-image: url("../img/he-guanghu/fleck.png"),
    radial-gradient(ellipse 90% 60% at 18% 8%, rgba(70, 98, 196, .22), transparent 62%),
    radial-gradient(ellipse 80% 70% at 86% 96%, rgba(6, 10, 32, .55), transparent 64%),
    linear-gradient(180deg, #131e4c 0%, #111a44 100%);
  background-size: 360px 360px, auto, auto, auto;
  color: var(--ink);
}
.c-he-guanghu .dlg { --dlg-bg: #f2ead6; --dlg-paper: #fffaf0; --dlg-ink: #1a1f3d; --dlg-ink-2: #4a4c62; --dlg-ink-3: #5c5a66; --dlg-me: #1b2766; --dlg-me-ink: #f6e9c3; --dlg-acc: #7a5512; --dlg-rule: rgba(26, 31, 61, .14); }
.c-he-guanghu ::selection { background: rgba(224, 189, 98, .35); }
.c-he-guanghu a { text-decoration-color: rgba(224, 189, 98, .6); text-underline-offset: .2em; }
.c-he-guanghu a:hover { color: var(--au-hi); }
.c-he-guanghu .mk { color: var(--au); letter-spacing: .16em; font-size: 12.5px; }
.c-he-guanghu .c3bar { border-bottom: 1px solid rgba(224, 189, 98, .32); box-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
.c-he-guanghu .c3bar__t a { font-family: var(--head); letter-spacing: .06em; }
.c-he-guanghu .c3bar__prog { background: var(--gold); height: 2px; }
.c-he-guanghu .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 目录：一列金圈，当前一问的圈被圆规画满 */
.c-he-guanghu .c3toc a { gap: 10px; color: var(--ink-3); font-family: var(--lat); font-size: 13px; min-height: 26px; }
.c-he-guanghu .c3toc a span { font-family: var(--body); font-size: 12.5px; }
.c-he-guanghu .c3toc a b { font-weight: 400; color: inherit; min-width: 2.4em; text-align: right; }
.c-he-guanghu .c3toc a::after { width: 12px; height: 12px; border: 1px solid rgba(224, 189, 98, .55); background: transparent; box-shadow: inset 0 0 0 3px var(--bg); transition: background .3s, box-shadow .3s; }
.c-he-guanghu .c3toc a:hover { color: var(--au-hi); }
.c-he-guanghu .c3toc a[aria-current="true"] { color: var(--au); }
.c-he-guanghu .c3toc a[aria-current="true"]::after { background: var(--au); border-color: var(--au); box-shadow: inset 0 0 0 2px var(--bg), 0 0 10px rgba(240, 210, 120, .55); }

/* ---------- 图版：金版嵌在双金线框里 ---------- */
.hg-plate { margin: 0; }
.hg-plate__f { position: relative; padding: 9px; background: var(--deep); border: 1px solid rgba(224, 189, 98, .78);
  box-shadow: inset 0 0 0 4px var(--deep), inset 0 0 0 5px rgba(224, 189, 98, .42), 0 26px 50px -28px rgba(0, 0, 0, .9); }
.hg-plate__f img { display: block; width: 100%; height: auto; }
.hg-plate figcaption { margin-top: 10px; font-size: 13px; line-height: 1.75; color: var(--ink-3); }

/* ---------- 首屏 ---------- */
.c-he-guanghu .c3hero { padding: calc(var(--bar) + 26px) clamp(16px, 4.5vw, 72px) 40px; }
.hg-hero { max-width: 1290px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 460px) 186px minmax(0, 1fr); column-gap: clamp(28px, 3vw, 46px); align-items: start; }
.hg-plate--hero { grid-column: 1; grid-row: 1; }
.hg-plate--hero .hg-plate__f { max-width: 470px; }
.hg-ring { position: absolute; left: 9px; top: 9px; width: calc(100% - 18px); height: calc(100% - 18px); pointer-events: none; overflow: visible; }
.hg-ring__c { fill: none; stroke: #18225c; stroke-width: 2.2; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
.hg-ring__c--2 { stroke-width: 1.6; opacity: .75; }
.hg-ring__c--3 { stroke-width: 1.2; opacity: .5; stroke-dasharray: 1.2 1.6 100; }
.hg-ring__pt { fill: #18225c; opacity: 0; }
.is-in .hg-ring__pt { opacity: .9; transition: opacity .6s .4s; }
.is-in .hg-ring__c--1 { animation: hg-draw 1.9s .7s cubic-bezier(.45, .05, .3, 1) forwards; }
.is-in .hg-ring__c--2 { animation: hg-draw 2.3s 2.4s cubic-bezier(.45, .05, .3, 1) forwards; }
.is-in .hg-ring__c--3 { stroke-dasharray: 100; animation: hg-draw 2.8s 4.4s cubic-bezier(.45, .05, .3, 1) forwards; }
@keyframes hg-draw { to { stroke-dashoffset: 0; } }

/* 题签：竖写的名字 */
.hg-title { grid-column: 2; grid-row: 1; align-self: stretch; writing-mode: vertical-rl; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px;
  padding: 30px 10px 26px; min-height: 560px; max-height: 760px; background: rgba(9, 14, 40, .55);
  border: 1px solid rgba(224, 189, 98, .7); box-shadow: inset 0 0 0 4px rgba(9, 14, 40, .9), inset 0 0 0 5px rgba(224, 189, 98, .38); }
.hg-k { margin: 0; font-size: 14px; letter-spacing: .3em; color: var(--au); }
.hg-name { margin: 0; font-family: var(--head); font-weight: 700; font-size: clamp(80px, 7vw, 102px); line-height: 1; letter-spacing: .14em;
  color: var(--au); background: var(--gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .35)); }
.hg-en { margin: 0; align-self: flex-end; display: flex; gap: 14px; align-items: center; font-family: var(--lat); font-size: 19px; color: var(--ink-2); letter-spacing: .06em; }
.hg-title .hg-k { align-self: flex-start; }
.hg-name { margin-top: 30px !important; }
.hg-en .hg-yr { font-size: 15px; color: var(--ink-3); }
.hg-cn { font-family: var(--head); font-size: 15px; color: var(--ag); letter-spacing: .2em; }

.hg-info { grid-column: 3; grid-row: 1; padding-top: 4px; max-width: 600px; }
.hg-who { margin: 0 0 6px; font-family: var(--head); font-weight: 700; font-size: 25px; line-height: 1.4; color: var(--au-hi); }
.hg-now { margin: 0 0 16px; font-size: 13.5px; line-height: 1.7; color: var(--ink-3); }
.hg-rel { margin: 0 0 16px; padding: 12px 16px 13px; background: rgba(8, 13, 38, .5); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hg-rel .mk { margin-bottom: 4px; }
.hg-rel p:last-child { margin: 0; font-size: 15px; line-height: 1.8; color: var(--ink); }
.hg-hb { margin: 0 0 14px; }
.hg-hb__l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 18px; }
.hg-hb__l li { display: flex; flex-direction: column; padding: 4px 0; border-bottom: 1px dotted var(--rule); }
.hg-hb__l a, .hg-hb__l span { font-size: 15px; color: var(--ink); text-decoration: none; line-height: 1.5; }
.hg-hb__l a:hover { color: var(--au-hi); text-decoration: underline; }
.hg-hb__l small { font-family: var(--lat); font-size: 13px; color: var(--ink-3); }
.hg-hq { margin: 0 0 14px; }
.c-he-guanghu .c3-qlist { counter-reset: q; }
.c-he-guanghu .c3-qlist li a { counter-increment: q; display: grid; grid-template-columns: 3.4em minmax(0, 1fr); align-items: baseline; gap: 8px; padding: 5px 0; text-decoration: none; color: var(--ink); font-size: 15.5px; line-height: 1.5; border-bottom: 1px solid rgba(224, 189, 98, .12); }
.c-he-guanghu .c3-qlist li a b { font-family: var(--lat); font-weight: 400; font-size: 16px; color: var(--au); }
.c-he-guanghu .c3-qlist li a:hover span { color: var(--au-hi); text-decoration: underline; text-decoration-color: rgba(224, 189, 98, .6); }
.hg-go { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.c-he-guanghu .c3-btn { margin: 0; border-radius: 0; border: 1px solid rgba(224, 189, 98, .7); color: var(--ink); background: rgba(9, 14, 40, .4); min-height: 42px; font-family: var(--body); }
.c-he-guanghu .c3-btn:hover { border-color: var(--au-hi); color: var(--au-hi); }
.c-he-guanghu .c3-btn--go { background: var(--gold); color: #141b3f; border-color: #e7c873; font-weight: 700; }
.c-he-guanghu .c3-btn--go:hover { color: #0c1230; filter: brightness(1.06); }
.c-he-guanghu .c3-btn--deep { color: var(--au); }

/* 首屏下方：生平、成就、著译、链接 */
.hg-band { max-width: 1290px; margin: 46px auto 0; padding-top: 26px; border-top: 1px solid rgba(224, 189, 98, .45); box-shadow: inset 0 3px 0 -2px rgba(224, 189, 98, .25);
  display: grid; grid-template-columns: 1.25fr 1fr 1fr .9fr; gap: 30px; }
.hg-band__c { min-width: 0; }
.hg-facts { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); text-align: justify; }
.hg-legend { margin: 14px 0 0; padding: 10px 12px; font-size: 13px; line-height: 1.75; color: var(--ink-3); border: 1px dashed rgba(224, 189, 98, .32); }
.hg-legend b { margin-right: 8px; color: var(--au); font-weight: 400; letter-spacing: .1em; }
.c-he-guanghu .c3-feats { margin: 0; padding: 0; list-style: none; counter-reset: f; }
.c-he-guanghu .c3-feats li { counter-increment: f; position: relative; padding: 5px 0 5px 26px; font-size: 14px; line-height: 1.65; color: var(--ink-2); border-bottom: 1px dotted var(--rule); }
.c-he-guanghu .c3-feats li::before { content: counter(f, cjk-ideographic); position: absolute; left: 0; top: 5px; font-family: var(--head); color: var(--au); }
.c-he-guanghu .c3-books li, .c-he-guanghu .c3-links li { border-bottom: 1px dotted var(--rule); font-size: 14px; }
.c-he-guanghu .c3-books a, .c-he-guanghu .c3-links a { color: var(--ink); }
.c-he-guanghu .c3-books small, .c-he-guanghu .c3-links small, .c-he-guanghu .c3-works small { color: var(--ink-3); }
.hg-band__go { margin: 16px 0 0; }

/* ---------- 每一问 ---------- */
.c-he-guanghu .c3q { display: block; padding: calc(var(--bar) + 34px) clamp(16px, 4.5vw, 72px) 70px; }
.c-he-guanghu .c3q::before { content: ""; display: block; max-width: 1290px; height: 12px; margin: -12px auto 26px;
  background: radial-gradient(circle, var(--au) 2.4px, transparent 3px) center / 12px 12px no-repeat,
    linear-gradient(90deg, transparent, rgba(224, 189, 98, .45) 18%, rgba(224, 189, 98, .45) 82%, transparent) center / 100% 1px no-repeat; }
.hg-q { max-width: 1290px; margin: 0 auto; display: grid; column-gap: clamp(26px, 3.2vw, 50px); grid-template-columns: 50px minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr; grid-template-areas: "pair art head" "pair art body"; }
.hg-q--r { grid-template-columns: 50px minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "pair head art" "pair body art"; }

.hg-pair { grid-area: pair; align-self: start; position: sticky; top: calc(var(--bar) + 26px); margin: 4px 0 0; writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 700; font-size: 32px; line-height: 1; letter-spacing: .12em; }
.hg-au { color: var(--au); background: var(--gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hg-ag { color: var(--ag); background: var(--silver); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hg-pair i { width: 8px; height: 8px; background: var(--au-lo); transform: rotate(45deg); }
.hg-pair small { margin-top: 10px; font-size: 13px; font-weight: 400; letter-spacing: .3em; color: var(--ink-3); -webkit-text-fill-color: currentColor; }
.hg-head { grid-area: head; }
.hg-art { grid-area: art; align-self: start; min-width: 0; }
.hg-body { grid-area: body; min-width: 0; }
.c-he-guanghu .c3q__when { gap: 12px; color: var(--ink-3); }
.c-he-guanghu .c3q__when b { font-family: var(--lat); font-weight: 400; font-size: 36px; color: var(--au); }
.c-he-guanghu .c3q__when span { font-size: 14px; }
.c-he-guanghu .c3q__q { text-wrap: balance; margin: 6px 0 18px; font-family: var(--head); font-weight: 700; font-size: clamp(30px, 3.3vw, 46px); line-height: 1.28; letter-spacing: .02em; color: #f0d791; }
.c-he-guanghu .c3q__lede { margin: 0 0 18px; font-size: 16.5px; line-height: 1.95; text-align: justify; color: var(--ink); }
.c-he-guanghu .c3-quote { margin: 20px 0; padding: 16px 18px 14px; border: 0; background: rgba(8, 13, 38, .5); border-top: 1px solid rgba(224, 189, 98, .5); border-bottom: 1px solid rgba(224, 189, 98, .5); }
.c-he-guanghu .c3-quote blockquote p { font-family: var(--head); font-size: 19px; font-weight: 700; line-height: 1.75; color: #ecd28c; }
.c-he-guanghu .c3-quote figcaption { color: var(--ink-3); }
.c-he-guanghu .c3-tags li { border-radius: 0; border-color: rgba(224, 189, 98, .45); color: var(--ink-2); background: rgba(9, 14, 40, .35); }
.c-he-guanghu .c3-works li a { color: var(--ink); }
.c-he-guanghu .talk { border-radius: 2px; border-color: rgba(224, 189, 98, .55); background: var(--chip-bg); }
.c-he-guanghu .talk__t { color: var(--ink); }
.c-he-guanghu .talk__n, .c-he-guanghu .talk__av b { color: var(--ink-3); }
.c-he-guanghu .c3-deeplink { color: var(--au); }
.c-he-guanghu .c3-ask { border-color: rgba(224, 189, 98, .45); border-radius: 0; color: var(--ink); }
.c-he-guanghu .c3-ask small { color: var(--ink-3); }

/* 机关的公用件 */
.hg-ctl { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.hg-ctl button { min-height: 42px; padding: 8px 14px; border: 1px solid rgba(224, 189, 98, .6); border-radius: 0; background: rgba(9, 14, 40, .55); color: var(--ink);
  font: inherit; font-size: 14.5px; line-height: 1.3; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.hg-ctl button:hover { border-color: var(--au-hi); color: var(--au-hi); }
.hg-ctl button[aria-pressed="true"] { background: var(--gold); color: #141b3f; border-color: #e7c873; font-weight: 700; }
.hg-ctl--s button { min-height: 40px; padding: 6px 10px; font-size: 13.5px; }
.hg-out { position: relative; margin: 10px 0 0; padding-left: 16px; min-height: 3.6em; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.hg-out::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; background: var(--au); transform: rotate(45deg); }
.hg-keys { margin: 10px 0 0; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }
.hg-keys li { margin: 0 0 6px; }
.hg-keys b { margin-right: 6px; color: var(--au); font-weight: 600; }
.js .hg-keys { display: none; }
.hg-mk { margin: 0 0 8px; font-size: 13px; letter-spacing: .12em; color: var(--au); }

/* 译介：哲罗姆与一排书脊 */
.hg-q--translate .hg-plate { max-width: 450px; }
.hg-q--christianity .hg-plate { max-width: 430px; }
.hg-shelf { margin: 18px 0 0; max-width: 560px; }
.hg-shelf__l { list-style: none; margin: 0; padding: 0 0 4px; display: flex; align-items: flex-end; gap: 2px; min-height: 120px; border-bottom: 3px double rgba(224, 189, 98, .6); }
.hg-sp { flex: 1 1 0; min-width: 2px; height: var(--h); background: linear-gradient(90deg, #1a2766, #24357f 45%, #1a2766); box-shadow: inset 0 6px 0 -3px rgba(224, 189, 98, .55), inset 0 -8px 0 -5px rgba(224, 189, 98, .45); }
.hg-sp--t { flex: 0 0 22px; height: auto; min-height: var(--h); display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 0 7px; writing-mode: vertical-rl;
  background: linear-gradient(90deg, #2a3d8c, #3a51a6 45%, #2a3d8c); }
.hg-sp--t b { font-family: var(--head); font-weight: 700; font-size: 12.5px; line-height: 1; letter-spacing: .04em; color: var(--au-hi); white-space: nowrap; }
.hg-sp--t i { font-style: normal; font-size: 10.5px; letter-spacing: 0; color: var(--ag); white-space: nowrap; }
.hg-shelf__cap { margin: 8px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }

/* 两种夜空 */
.hg-sky__f { position: relative; aspect-ratio: 640 / 440; background: radial-gradient(ellipse at 50% 120%, #1c2a6a, #0b1131 70%); border: 1px solid rgba(224, 189, 98, .7);
  box-shadow: inset 0 0 0 4px #0b1131, inset 0 0 0 5px rgba(224, 189, 98, .38), 0 26px 50px -28px rgba(0, 0, 0, .9); overflow: hidden; }
.hg-sky__c { position: absolute; inset: 0; width: 100%; height: 100%; }
.hg-sky__ch { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.hg-sky__ch li { position: absolute; transform: translate(-50%, 0); padding: 1px 6px; font-family: var(--head); font-size: 13.5px; color: var(--au-hi); white-space: nowrap;
  background: rgba(8, 12, 36, .6); opacity: 0; transition: opacity .8s .6s; }
.hg-sky.is-summer .hg-sky__ch li { opacity: 1; }
.hg-sky__k { position: absolute; left: 12px; top: 8px; margin: 0; font-family: var(--head); font-size: 15px; letter-spacing: .3em; }
.hg-sky__k span { transition: opacity .6s; }
.hg-sky__a { color: var(--ag); }
.hg-sky__s { color: var(--au); opacity: 0; margin-left: -2.6em; }
.hg-sky.is-summer .hg-sky__a { opacity: 0; }
.hg-sky.is-summer .hg-sky__s { opacity: 1; }
.no-js .hg-sky__f { display: none; }

/* 三说：两只圆 */
.hg-three { margin: 0 0 22px; }
.hg-three__s { display: block; width: 100%; height: auto; max-width: 560px; overflow: visible; }
.hg-disc circle { fill: rgba(9, 14, 40, .6); stroke-width: 2; }
.hg-disc text { font-family: var(--head); font-weight: 700; font-size: 28px; text-anchor: middle; letter-spacing: .1em; }
.hg-disc--sci circle { stroke: var(--ag); } .hg-disc--sci text { fill: var(--ag); }
.hg-disc--rel circle { stroke: var(--au); } .hg-disc--rel text { fill: var(--au); }
.hg-disc text { transition: transform .9s cubic-bezier(.5, 0, .2, 1); }
.hg-three[data-m="mut"] .hg-disc--sci text { transform: translateX(-38px); }
.hg-three[data-m="mut"] .hg-disc--rel text { transform: translateX(38px); }
.hg-disc, .hg-lens-a, .hg-lens-b { transition: transform .9s cubic-bezier(.5, 0, .2, 1); }
.hg-disc--sci { transform: translate(250px, 125px); } .hg-disc--rel { transform: translate(310px, 125px); }
.hg-lens-a { transform: translate(250px, 125px); } .hg-lens-b { transform: translate(310px, 125px); fill: rgba(224, 189, 98, .22); }
.hg-three[data-m="sep"] .hg-disc--sci, .hg-three[data-m="sep"] .hg-lens-a { transform: translate(118px, 125px); }
.hg-three[data-m="sep"] .hg-disc--rel, .hg-three[data-m="sep"] .hg-lens-b { transform: translate(442px, 125px); }
.hg-three[data-m="opp"] .hg-disc--sci, .hg-three[data-m="opp"] .hg-lens-a { transform: translate(202px, 125px); }
.hg-three[data-m="opp"] .hg-disc--rel, .hg-three[data-m="opp"] .hg-lens-b { transform: translate(358px, 125px); }
.hg-wall { stroke: rgba(224, 189, 98, .7); stroke-width: 1.4; stroke-dasharray: 5 6; opacity: 0; transition: opacity .5s; }
.hg-three[data-m="sep"] .hg-wall { opacity: 1; transition-delay: .6s; }
.hg-spark { fill: none; stroke: #ffe39a; stroke-width: 3; stroke-linejoin: round; opacity: 0; transition: opacity .3s; }
.hg-three[data-m="opp"] .hg-spark { opacity: 1; transition-delay: .8s; animation: hg-flick .5s 1s 3 alternate; }
@keyframes hg-flick { to { opacity: .35; } }
.hg-arr path { fill: none; stroke: var(--au); stroke-width: 1.6; opacity: 0; transition: opacity .5s; }
.hg-three[data-m="mut"] .hg-arr path { opacity: .9; transition-delay: .7s; }
.hg-overlap { opacity: 0; transition: opacity .5s .5s; }
.hg-three[data-m="mut"] .hg-overlap { opacity: 1; }
.hg-plate--side { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 16px; align-items: end; }
.hg-plate--side figcaption { margin: 0; }
.hg-ht { display: block; margin: 0 0 8px; font-size: 14px; color: var(--ag); }
.hg-ht b { display: block; font-family: var(--head); font-size: 22px; letter-spacing: .1em; }
.hg-ht--that { color: var(--au); margin-bottom: 14px; }

/* 癌症与重生：废墟上长出一棵树 */
.hg-ruin .hg-plate__f { overflow: hidden; }
.hg-tree { position: absolute; left: 9px; top: 9px; width: calc(100% - 18px); height: calc(100% - 18px); pointer-events: none; }
.hg-tree path.hg-br { fill: none; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.hg-tree__b .hg-br { stroke: #0d1436; stroke-width: 9; }
.hg-tree__f .hg-br { stroke: #ffe9a6; stroke-width: 3.6; }
.hg-tree .hg-br--0 { stroke-width: 12; } .hg-tree__f .hg-br--0 { stroke-width: 5.5; }
.hg-lf { opacity: 0; transition: opacity .8s; }
.hg-tree__b .hg-lf { fill: #0d1436; stroke: #0d1436; stroke-width: 4; }
.hg-tree__f .hg-lf { fill: #ffe9a6; }
.hg-fr circle { fill: #ffd76a; stroke: #0d1436; stroke-width: 3; }
.hg-fr text { font-family: var(--head); font-weight: 700; font-size: 26px; fill: #fff2c8; stroke: #0d1436; stroke-width: 6px; paint-order: stroke; stroke-linejoin: round; }
.hg-fr { opacity: 0; transform: translateY(6px); transition: opacity .7s, transform .7s; }
.hg-tree.is-grow .hg-br { transition: stroke-dashoffset 1.3s cubic-bezier(.4, 0, .3, 1); stroke-dashoffset: 0; }
.hg-tree.is-grow .hg-br--0 { transition-duration: 1.6s; transition-delay: 0s; }
.hg-tree.is-grow .hg-br--1, .hg-tree.is-grow .hg-br--4 { transition-delay: 1.2s; }
.hg-tree.is-grow .hg-br--2, .hg-tree.is-grow .hg-br--3 { transition-delay: 1.5s; }
.hg-tree.is-grow .hg-br--5, .hg-tree.is-grow .hg-br--6, .hg-tree.is-grow .hg-br--7, .hg-tree.is-grow .hg-br--8,
.hg-tree.is-grow .hg-br--9, .hg-tree.is-grow .hg-br--10, .hg-tree.is-grow .hg-br--11, .hg-tree.is-grow .hg-br--12 { transition-delay: 2.2s; transition-duration: .8s; }
.hg-tree.is-grow .hg-br--13, .hg-tree.is-grow .hg-br--14, .hg-tree.is-grow .hg-br--15 { transition-delay: .2s; transition-duration: 1s; }
.hg-tree__b .hg-br--13, .hg-tree__b .hg-br--14, .hg-tree__b .hg-br--15 { stroke-width: 8; }
.hg-tree__f .hg-br--13, .hg-tree__f .hg-br--14, .hg-tree__f .hg-br--15 { stroke-width: 3; }
.hg-fr circle { filter: drop-shadow(0 0 7px rgba(255, 220, 120, .9)); }
.hg-tree.is-grow .hg-lf { opacity: 1; transition-delay: 2.6s; }
.hg-tree.is-grow .hg-fr { opacity: 1; transform: none; }
.hg-tree.is-grow .hg-fr--0 { transition-delay: 3s; } .hg-tree.is-grow .hg-fr--1 { transition-delay: 3.4s; }
.hg-tree.is-grow .hg-fr--2 { transition-delay: 3.8s; } .hg-tree.is-grow .hg-fr--3 { transition-delay: 4.2s; }
.no-js .hg-tree .hg-br { stroke-dashoffset: 0; } .no-js .hg-lf, .no-js .hg-fr { opacity: 1; transform: none; }
.hg-ctl--one { margin-top: 10px; }

/* 三条根据：三联画 */
.hg-tri { max-width: 1290px; margin: 46px auto 0; padding: 26px clamp(14px, 2.4vw, 30px) 22px; background: rgba(8, 12, 36, .5);
  border: 1px solid rgba(224, 189, 98, .62); box-shadow: inset 0 0 0 5px rgba(8, 12, 36, .6), inset 0 0 0 6px rgba(224, 189, 98, .3); }
.hg-tri__k { margin: 0 0 18px; font-family: var(--head); font-weight: 700; font-size: 26px; color: var(--au); letter-spacing: .1em; }
.hg-tri__k span { display: block; margin-top: 2px; font-family: var(--body); font-weight: 400; font-size: 13px; letter-spacing: 0; color: var(--ink-3); }
.hg-tri__g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.hg-panel { min-width: 0; padding: 0 clamp(12px, 1.8vw, 24px); border-left: 1px solid rgba(224, 189, 98, .3); }
.hg-panel:first-child { border-left: 0; padding-left: 0; }
.hg-panel:last-child { padding-right: 0; }
.hg-panel h3 { margin: 0 0 6px; font-family: var(--head); font-weight: 700; font-size: 21px; color: var(--ink); }
.hg-panel h3 i { margin-right: 10px; font-style: normal; font-size: 15px; color: var(--au); letter-spacing: .1em; }
.hg-panel svg { display: block; width: 100%; height: auto; max-width: 340px; overflow: visible; }
.hg-panel text { font-family: var(--head); font-size: 15px; text-anchor: middle; fill: var(--ink-2); }
.hg-panel .hg-out { min-height: 6.2em; font-size: 14px; }
.hg-tri__n { margin: 18px 0 0; padding-top: 12px; border-top: 1px dotted rgba(224, 189, 98, .35); font-size: 13.5px; line-height: 1.8; color: var(--ink-3); }
/* 其一 */
.hg-p1 path, .hg-p1 circle { fill: none; stroke-linecap: round; }
.hg-p1__w { stroke: var(--ink-2); stroke-width: 2; transition: stroke .4s, fill .4s; }
.hg-p1__h { opacity: 0; transition: opacity .4s; }
.hg-p1 pattern line { stroke: rgba(170, 160, 140, .55); stroke-width: 3; }
.hg-p1__god { opacity: 0; transition: opacity .5s; }
.hg-p1__god path, .hg-p1__god circle { stroke: var(--au); stroke-width: 2; }
.hg-p1__god text { fill: var(--au); font-size: 15px; }
.hg-p1__rays path { stroke: var(--au); stroke-width: 2.2; opacity: 0; transition: opacity .4s; }
.hg-p1__t { font-size: 22px !important; font-weight: 700; opacity: 0; transition: opacity .4s; }
.hg-p1__t--pan { fill: var(--au) !important; } .hg-p1__t--dual { fill: #b9b2a2 !important; } .hg-p1__t--create { fill: var(--ink) !important; font-size: 18px !important; }
.hg-p1__v { fill: var(--ag) !important; font-size: 14px !important; }
.hg-p1__stop path, .hg-p1__go path { stroke: var(--ag); stroke-width: 2.2; }
.hg-p1__stop .hg-x { stroke: #f08f77; stroke-width: 3; }
.hg-p1__stop, .hg-p1__go { opacity: 0; transition: opacity .4s; }
.hg-p1[data-p1m="pan"] .hg-p1__rays path, .hg-p1[data-p1m="pan"] .hg-p1__t--pan, .hg-p1[data-p1m="pan"] .hg-p1__stop { opacity: 1; }
.hg-p1[data-p1m="pan"] .hg-p1__w { stroke: var(--au); fill: rgba(224, 189, 98, .12); }
.hg-p1[data-p1m="dual"] .hg-p1__h, .hg-p1[data-p1m="dual"] .hg-p1__t--dual, .hg-p1[data-p1m="dual"] .hg-p1__stop { opacity: 1; }
.hg-p1[data-p1m="dual"] .hg-p1__w { stroke: #8a8578; fill: rgba(4, 6, 18, .7); }
.hg-p1[data-p1m="create"] .hg-p1__god, .hg-p1[data-p1m="create"] .hg-p1__t--create, .hg-p1[data-p1m="create"] .hg-p1__go { opacity: 1; }
.hg-p1[data-p1m="create"] .hg-p1__w { stroke: var(--ink); fill: rgba(224, 189, 98, .06); }
/* 其二 */
.hg-p2__o { fill: none; stroke: var(--au); stroke-width: 1.8; stroke-dasharray: 100; stroke-dashoffset: 100; }
.hg-p2__o--2 { stroke-width: 1.2; opacity: .75; }
.hg-seed { fill: var(--au-hi); transition: transform 1.4s cubic-bezier(.5, 0, .2, 1); }
.hg-p2__cmp { transform-box: view-box; transform-origin: 150px 105px; }
.hg-p2__cmp path { fill: none; stroke: var(--ag); stroke-width: 2.6; stroke-linecap: round; }
.hg-p2__cmp circle { fill: var(--ag); }
.hg-p2.is-drawn .hg-p2__cmp { transform: rotate(360deg); transition: transform 1.9s cubic-bezier(.45, .05, .35, 1); }
.hg-p2.is-drawn .hg-p2__o--1 { stroke-dashoffset: 0; transition: stroke-dashoffset 1.9s cubic-bezier(.45, .05, .35, 1); }
.hg-p2.is-drawn .hg-p2__o--2 { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s 1.6s ease-out; }
.hg-p2.is-drawn .hg-seed { transform: translate(var(--tx), var(--ty)); transition-delay: 1.5s; }
/* 其三 */
.hg-p3__ax { fill: none; stroke: rgba(201, 206, 219, .35); stroke-width: 1; }
.hg-theory { fill: none; stroke: var(--ag); stroke-width: 2.6; stroke-linecap: round; }
.hg-theory--old { transition: opacity .6s; }
.hg-theory--new { stroke-dasharray: 100; stroke-dashoffset: 100; }
.hg-fact { fill: var(--au); stroke: #fff2c4; stroke-width: 1; }
.hg-p3__ring { fill: none; stroke: #f08f77; stroke-width: 1.6; stroke-dasharray: 3 3; }
.hg-p3 .hg-p3__l1 { fill: var(--ag); text-anchor: end; font-size: 14px; }
.hg-p3 .hg-p3__l2 { fill: var(--au); text-anchor: start; font-size: 14px; }
.hg-p3.is-new .hg-theory--old { opacity: .12; stroke-dasharray: 4 5; }
.hg-p3.is-new .hg-theory--new { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s .3s ease-out; }
.hg-p3.is-new .hg-p3__ring { stroke: var(--au); stroke-dasharray: none; transition: stroke .4s 1.4s; }
.hg-fact--x.is-shake { animation: hg-shake .5s 2; transform-box: fill-box; transform-origin: center; }
@keyframes hg-shake { 0%, 100% { transform: none; } 25% { transform: translate(-3px, 0); } 75% { transform: translate(3px, 0); } }

/* 智与心：亚当 */
.hg-adam__o { position: absolute; left: 9px; top: 9px; width: calc(100% - 18px); height: calc(100% - 18px); pointer-events: none; overflow: visible; }
.hg-m circle { fill: none; stroke-width: 3; opacity: 0; transition: opacity .5s, stroke-dashoffset .9s; }
.hg-m text { font-family: var(--head); font-weight: 700; font-size: 30px; text-anchor: middle; stroke: #0d1436; stroke-width: 7px; paint-order: stroke; stroke-linejoin: round; opacity: 0; transition: opacity .5s; }
.hg-m path { fill: none; opacity: 0; transition: opacity .5s; }
.hg-m--zhi circle { stroke: #fff0b8; stroke-width: 2; }
.hg-gear { stroke: #ffe39a; stroke-width: 3.2; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255, 226, 140, .95)); transform-box: fill-box; transform-origin: center; }
.hg-adam[data-g="zhi"] .hg-gear { animation: hg-turn 9s linear infinite; }
@keyframes hg-turn { to { transform: rotate(360deg); } }
.hg-m--zhi text { fill: #ffe7a0; }
.hg-heart { stroke: #e3e7ef; stroke-width: 3; stroke-dasharray: 8 7; }
.hg-m--xin text { fill: #e6e9f0; }
.hg-m .hg-qm { font-size: 34px; fill: #e6e9f0; }
.hg-m--free circle { stroke: #ffb7a3; stroke-width: 3.5; }
.hg-m--free path { stroke: #ffb7a3; stroke-width: 3.5; stroke-linecap: round; }
.hg-m--free text { fill: #ffd6ca; }
.hg-adam[data-g="zhi"] .hg-m--zhi circle, .hg-adam[data-g="zhi"] .hg-m--zhi text, .hg-adam[data-g="zhi"] .hg-m--zhi path,
.hg-adam[data-g="xin"] .hg-m--xin text, .hg-adam[data-g="xin"] .hg-m--xin path,
.hg-adam[data-g="free"] .hg-m--free circle, .hg-adam[data-g="free"] .hg-m--free text, .hg-adam[data-g="free"] .hg-m--free path { opacity: 1; }
.hg-adam .hg-plate--wide { margin-bottom: 6px; }

/* ---------- 结尾 ---------- */
.c-he-guanghu .c3end { padding: calc(var(--bar) + 40px) clamp(16px, 4.5vw, 72px) 64px; }
.hg-end { max-width: 1100px; margin: 0 auto; }
.hg-end .hg-k { writing-mode: horizontal-tb; margin-bottom: 6px; }
.c-he-guanghu .c3end h2 { font-family: var(--head); font-weight: 700; font-size: clamp(32px, 4vw, 48px); color: #f0d791; }
.c-he-guanghu .c3end h3 { font-family: var(--head); color: var(--au); font-weight: 700; }
.c-he-guanghu .c3-lin li { border-radius: 0; border-color: rgba(224, 189, 98, .38); background: rgba(9, 14, 40, .55); }
.c-he-guanghu .c3-lin li p { color: var(--ink-2); }
.c-he-guanghu .c3-lin .rel { color: var(--au); }
.hg-colo { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--rule); }
.c-he-guanghu .c3-credits, .c-he-guanghu .c3-fine { color: var(--ink-3); }

/* ---------- 中屏 ---------- */
@media (max-width: 1199px) {
  .hg-hero { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); column-gap: 36px; }
  .hg-plate--hero { grid-row: 1 / span 2; }
  .hg-title { grid-column: 2; grid-row: 1; writing-mode: horizontal-tb; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 0 18px; min-height: 0; max-height: none; padding: 0 0 10px; background: none; border: 0; box-shadow: none; }
  .hg-title .hg-k { flex: 0 0 100%; align-self: auto; margin-bottom: 2px; }
  .hg-name { margin-top: 0 !important; font-size: 66px; letter-spacing: .08em; line-height: 1.15; }
  .hg-en { align-self: auto; flex-wrap: wrap; gap: 4px 12px; font-size: 17px; }
  .hg-hb__l li { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 8px; padding: 3px 0; }
  .c-he-guanghu .c3-qlist li a { padding: 4px 0; }
  .hg-info { grid-column: 2; grid-row: 2; }
  .hg-who { font-size: 22px; }
  .hg-rel p:last-child { font-size: 14.5px; line-height: 1.7; }
  .hg-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hg-tri__g { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hg-panel { border-left: 0; padding: 0; border-top: 1px solid rgba(224, 189, 98, .3); padding-top: 18px; }
  .hg-panel:first-child { border-top: 0; padding-top: 0; }
  .hg-panel { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .hg-panel h3 { grid-column: 1 / -1; }
  .hg-panel svg { grid-row: 2 / span 3; }
}
@media (max-width: 1100px) and (min-width: 861px) {
  .hg-q, .hg-q--r { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr); }
  .hg-pair { font-size: 27px; }
  .c-he-guanghu .c3q__q { font-size: 32px; }
}

/* ---------- 手机与竖屏 ---------- */
@media (max-width: 860px) {
  .c-he-guanghu .c3hero { padding-top: calc(var(--bar) + 18px); }
  .hg-hero { grid-template-columns: minmax(0, 1fr); }
  .hg-title { grid-column: 1; grid-row: 1; }
  .hg-info { grid-column: 1; grid-row: 2; }
  .hg-plate--hero { grid-column: 1; grid-row: 3; margin-top: 22px; max-width: 420px; }
  .hg-name { font-size: 60px; }
  .hg-band { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 32px; }
  .hg-hb__l { grid-template-columns: minmax(0, 1fr); }
  .c-he-guanghu .c3q { padding-top: calc(var(--bar) + 22px); }
  .hg-q, .hg-q--r { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "pair" "head" "art" "body"; }
  .hg-pair { position: static; writing-mode: horizontal-tb; font-size: 24px; gap: 10px; margin: 0 0 6px; }
  .hg-pair small { margin: 0 0 0 auto; }
  .hg-art { margin: 6px 0 20px; }
  .c-he-guanghu .c3q__q { font-size: 28px; }
  .c-he-guanghu .c3q__lede { font-size: 16px; }
  .hg-q--translate .hg-plate, .hg-q--christianity .hg-plate { max-width: 300px; }
  .hg-plate--side { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 12px; }
  .hg-ht b { font-size: 18px; }
  .hg-panel { grid-template-columns: minmax(0, 1fr); }
  .hg-panel svg { grid-row: auto; max-width: 300px; }
  .hg-shelf__l { height: 128px; }
  .hg-sp--t { flex-basis: 18px; }
  .hg-sp--t b { font-size: 11px; }
  .hg-sp--t i { display: none; }
  .hg-m text { font-size: 38px; }
}
@media (max-width: 420px) {
  .hg-name { font-size: 56px; }
  .hg-ctl button { padding: 8px 11px; font-size: 14px; }
  .hg-sky__ch li { font-size: 11.5px; padding: 0 3px; }
}

/* 没有脚本：机关的按钮藏起来，说明文字全部列出 */
.no-js .hg-ctl { display: none; }
/* 触控目标 */
.c-he-guanghu .c3-books a, .c-he-guanghu .c3-links a, .c-he-guanghu .c3-works li a { display: inline-block; padding: 8px 0 4px; }
.c-he-guanghu .c3-books li, .c-he-guanghu .c3-links li { padding: 0 0 6px; }
.c-he-guanghu .c3-works li { padding: 0 0 4px; }
.hg-hb__l a, .hg-hb__l span { display: inline-flex; align-items: center; min-height: 40px; }
.hg-hb__l li { padding: 0 0 4px; }
.c-he-guanghu .c3-qlist li a { min-height: 40px; align-items: center; }

.hg-nb { display: inline-block; }
.hg-nw { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .c-he-guanghu *, .c-he-guanghu *::before, .c-he-guanghu *::after { transition-delay: 0s !important; animation-delay: 0s !important; }
}
