/* 孙小淳 · 星官：天上的官署。夜色里的一张职官图：名号写在牌子上，等级排成架构，节点是星；
   每一问用一枚朱印编号（子丑寅卯辰巳，借自《中国量天尺》），导航是一根量天尺。 */
.c3.c-sun-xiaochun {
  --bg: #0f1215; --paper: #161b1f; --paper-2: #1d2328; --ink: #ece6d8; --ink-2: #c4bcad; --ink-3: #958e82; --rule: rgba(236, 230, 216, .14);
  --line: rgba(169, 199, 255, .38); --acc: #ef6a4f; --acc-ink: #fff6ee; --zhu: #e4573d; --zhu-d: #c4432a; --zhu-2: rgba(228, 87, 61, .14);
  --star: #a9c7ff; --star-2: rgba(169, 199, 255, .32); --zi: #b9a8ff; --card: #ece6d8; --card-ink: #15181b;
  --head: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", serif; --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --bar-bg: rgba(15, 18, 21, .9); --bar-ink: #ece6d8; --chip-bg: rgba(236, 230, 216, .06); --chip-ring: #0f1215;
  background: var(--bg) radial-gradient(circle, rgba(169, 199, 255, .075) 1px, transparent 1.5px) 0 0 / 30px 30px;
  color-scheme: dark;
}
.c-sun-xiaochun ::selection { background: rgba(228, 87, 61, .45); color: #fff; }
.c-sun-xiaochun .dlg { --dlg-bg: #13181c; --dlg-paper: #1c2328; --dlg-ink: #ece6d8; --dlg-ink-2: #c4bcad; --dlg-ink-3: #9a9387; --dlg-rule: rgba(236, 230, 216, .14);
  --dlg-me: #b93c26; --dlg-me-ink: #fff6ee; --dlg-acc: #ff8f75; --dlg-mod: rgba(236, 230, 216, .08); }
.c-sun-xiaochun .dlg .msg__src a, .c-sun-xiaochun .dlg a { color: inherit; }
.c-sun-xiaochun .c3bar { border-bottom-color: rgba(169, 199, 255, .16); }
.c-sun-xiaochun .c3bar__t a { letter-spacing: .08em; }
.c-sun-xiaochun .c3bar__prog { background: var(--zhu); }
.c-sun-xiaochun .mk { color: var(--star); font-family: var(--mono); letter-spacing: .16em; }
.c-sun-xiaochun a:hover { color: #fff; }
.sx-mono { font-family: var(--mono); }

/* 导航：一根量天尺。地支小印是刻度，朱色的影子随读到的位置伸长 */
.c-sun-xiaochun .c3toc { right: 14px; }
.c-sun-xiaochun .c3toc ol { position: relative; gap: 3px; padding-right: 16px; }
.c-sun-xiaochun .c3toc a { gap: 8px; min-height: 30px; color: var(--ink-3); }
.c-sun-xiaochun .c3toc a::after { display: none; }
.c-sun-xiaochun .c3toc a b { order: 3; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(236, 230, 216, .22); border-radius: 2px;
  font-family: var(--serif); font-weight: 900; font-size: 13px; color: var(--ink-2); background: var(--bg); transition: background .3s, color .3s, border-color .3s; }
.c-sun-xiaochun .c3toc a i { order: 2; font-style: normal; font-family: var(--mono); font-size: 11px; }
.c-sun-xiaochun .c3toc a span { order: 1; font-size: 12.5px; color: var(--ink-2); }
.c-sun-xiaochun .c3toc a:hover span, .c-sun-xiaochun .c3toc a:focus-visible span { max-width: 17em; }
.c-sun-xiaochun .c3toc a[aria-current="true"] { color: var(--ink); }
.c-sun-xiaochun .c3toc a[aria-current="true"] b { background: var(--zhu-d); border-color: var(--zhu-d); color: #fff6ee; }
.sx-gn { position: absolute; top: -18px; bottom: 0; right: 0; width: 10px; pointer-events: none; }
.sx-gn__biao { position: absolute; top: 0; right: 0; width: 10px; height: 18px; border-top: 3px solid var(--ink-2); }
.sx-gn__biao::after { content: ""; position: absolute; left: 4px; top: 0; width: 2px; height: 15px; background: var(--ink-2); }
.sx-gn__gui { position: absolute; top: 18px; bottom: 0; right: 4px; width: 2px; background: rgba(236, 230, 216, .18); }
.sx-gn__ying { position: absolute; top: 0; left: -2px; width: 6px; height: calc(var(--ying, 0) * 100%); background: linear-gradient(var(--zhu), rgba(228, 87, 61, .45)); border-radius: 0 0 3px 3px; transition: height .2s linear; }

/* 朱印 */
.sx-seal { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 3px; background: var(--zhu); color: #fff6ee;
  font-family: var(--serif); font-weight: 900; font-size: 27px; line-height: 1; box-shadow: inset 0 0 0 2px rgba(255, 246, 238, .32), inset 0 0 0 4px var(--zhu); }
.sx-seal--s { width: 26px; height: 26px; font-size: 15px; background: var(--zhu-d); box-shadow: inset 0 0 0 1.5px rgba(255, 246, 238, .3); }

/* 首屏 */
.c-sun-xiaochun .c3hero { padding: calc(var(--bar) + 24px) clamp(16px, 4vw, 64px) 40px; }
.sx-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: clamp(20px, 3.6vw, 60px); align-items: center; max-width: 1280px; margin: 0 auto;
  min-height: calc(100svh - var(--bar) - 64px); }
.sx-k { margin: 0; font-family: var(--mono); font-size: 12.5px; letter-spacing: .18em; color: var(--star); }
.sx-id h1 { margin: 6px 0 0; font-family: var(--head); font-weight: 900; font-size: clamp(60px, 7vw, 100px); line-height: 1; letter-spacing: .14em; }
.sx-en { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 10px 0 14px; color: var(--ink-2); }
.sx-en span[lang] { font-family: var(--mono); font-size: 15px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink); }
.sx-en .sx-mono { font-size: 13px; color: var(--ink-3); }
.sx-who { margin: 0 0 2px; font-size: 18.5px; font-weight: 700; line-height: 1.55; }
.sx-now { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.sx-rel { margin: 0 0 14px; padding: 9px 14px 10px; border-left: 2px solid var(--zhu); background: linear-gradient(90deg, rgba(228, 87, 61, .1), rgba(228, 87, 61, .02)); }
.sx-rel .mk { margin: 0 0 2px; color: var(--acc); }
.sx-rel p:last-child { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--ink); }
.sx-hb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 12px; }
.sx-hb .mk, .sx-hq .mk { margin: 0; }
.sx-bk { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.sx-bk li { display: flex; align-items: baseline; gap: 6px; font-size: 15px; }
.sx-bk a { text-decoration: none; font-weight: 700; }
.sx-bk a:hover { color: var(--acc); text-decoration: underline; }
.sx-bk small { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.sx-hq .mk { margin-bottom: 6px; }
.sx-ql { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--rule); }
.sx-ql a { display: grid; grid-template-columns: 26px 3.2em minmax(0, 1fr); align-items: center; gap: 12px; min-height: 40px; padding: 3px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.sx-ql b { font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--ink-3); }
.sx-ql a span:last-child { font-size: 15.5px; line-height: 1.45; }
.sx-ql a:hover span:last-child, .sx-ql a:focus-visible span:last-child { color: #fff; text-decoration: underline; text-decoration-color: var(--zhu); }
.sx-go { margin: 0; }
.c-sun-xiaochun .c3-btn { min-height: 40px; border-radius: 3px; font-family: var(--head); }
.c-sun-xiaochun .c3-btn--go { background: var(--zhu-d); border-color: var(--zhu-d); color: #fff6ee; font-weight: 700; }
.c-sun-xiaochun .c3-btn--go:hover { background: #b23a23; color: #fff; }
.c-sun-xiaochun .c3-btn--deep { background: transparent; color: var(--ink); border-color: var(--ink-2); }
.c-sun-xiaochun .c3-btn--wm { color: var(--ink-2); border-color: var(--rule); }

/* 紫宫：星与官 */
.sx-zg { margin: 0; min-width: 0; }
.sx-zg__k { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 4px; }
.sx-zg__k b { font-family: var(--serif); font-weight: 900; font-size: 28px; letter-spacing: .2em; color: var(--zi); }
.sx-zg__k span { font-size: 13px; color: var(--ink-3); }
.sx-zg__fig { position: relative; }
.sx-zg__svg { display: block; width: 100%; height: auto; max-height: min(62vh, 560px); margin: 0 auto; overflow: visible; }
.sx-zg__orb { fill: url(#none); fill: rgba(169, 199, 255, .035); stroke: var(--star-2); stroke-width: 1; stroke-dasharray: 2 7; transition: opacity .8s; }
.sx-zg__wall { fill: rgba(185, 168, 255, .045); stroke: var(--zi); stroke-width: 1.5; stroke-dasharray: 7 6; opacity: 0; transition: opacity .8s .5s; }
.sx-zg__wt { fill: var(--zi); font-family: var(--serif); font-weight: 900; font-size: 30px; letter-spacing: .5em; text-anchor: middle; opacity: 0; transition: opacity .8s .8s; }
.sx-zg__lines path { fill: none; stroke: var(--star); stroke-width: 1.3; stroke-linejoin: round; opacity: .55; transition: opacity .5s .9s; }
.sx-zg__org path { fill: none; stroke: var(--ink-2); stroke-width: 1.6; opacity: 0; transition: opacity .5s; }
.sx-st { transition: opacity .35s; }
.sx-st__card { fill: var(--card); opacity: 0; transform: scale(.2); transform-box: fill-box; transform-origin: center; transition: opacity .4s, transform .4s; }
.sx-st--taiyi .sx-st__card { fill: var(--zhu); }
.sx-st--fanchen .sx-st__card { fill: #262d33; stroke: rgba(236, 230, 216, .45); stroke-width: 1.2; }
.sx-st__t { fill: var(--card-ink); font-family: var(--serif); font-weight: 900; text-anchor: middle; opacity: 0; transition: opacity .4s; }
.sx-st--taiyi .sx-st__t { fill: #fff6ee; }
.sx-st--fanchen .sx-st__t { fill: var(--ink); }
.sx-st__dot { fill: var(--star); transform-box: fill-box; transform-origin: center; transition: transform .7s cubic-bezier(.3, .7, .2, 1), fill .3s; filter: drop-shadow(0 0 5px rgba(169, 199, 255, .85)); }
.sx-st--taiyi .sx-st__dot { fill: #fff; filter: drop-shadow(0 0 9px rgba(255, 255, 255, .9)); }
.sx-tag { fill: var(--ink); font-family: var(--head); font-weight: 700; font-size: 21px; text-anchor: middle; opacity: 0; transition: opacity .3s; paint-order: stroke; stroke: var(--bg); stroke-width: 5px; }
.sx-zg:not(.is-js) .sx-tag { opacity: .85; }
/* 排座次 */
.sx-zg.is-guan .sx-zg__orb { opacity: 0; transition-delay: 0s; }
.sx-zg.is-guan .sx-zg__wall { opacity: 1; }
.sx-zg.is-guan .sx-zg__wt { opacity: .55; }
.sx-zg.is-guan .sx-zg__lines path { opacity: 0; transition-delay: 0s; transition-duration: .25s; }
.sx-zg.is-guan .sx-zg__org path { opacity: .85; transition-delay: 1.15s; }
.sx-zg.is-guan .sx-st__card { opacity: 1; transform: scale(1); transition-delay: .85s; }
.sx-zg.is-guan .sx-st__t { opacity: 1; transition-delay: 1s; }
.sx-zg.is-guan .sx-st__dot { transform: translate(var(--dx), var(--dy)) scale(.55); transition-delay: .85s; }
.sx-zg.is-star .sx-st__card, .sx-zg.is-star .sx-st__t { transition-delay: 0s; transition-duration: .25s; }
.sx-zg.is-star .sx-zg__wall, .sx-zg.is-star .sx-zg__wt { transition-delay: 0s; transition-duration: .3s; }
/* 点名号 */
.sx-zg.has-hl .sx-st:not(.is-hl) { opacity: .22; }
.sx-zg.is-star.has-hl .sx-zg__lines path { opacity: .18; transition-delay: 0s; }
.sx-zg.is-guan.has-hl .sx-zg__org path { opacity: .28; transition-delay: 0s; }
.sx-zg.is-star .sx-tag.is-hl { opacity: 1; }
.sx-st.is-hl .sx-st__dot { fill: #ffb19f; }
.sx-zg.is-guan .sx-st.is-hl .sx-st__card { stroke: var(--zhu); stroke-width: 4; }
.sx-zg.is-guan .sx-st--taiyi.is-hl .sx-st__card { stroke: #fff6ee; }
.sx-zg__ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 8px; }
.sx-zg__mode, .sx-zg__who { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.sx-zg__ctl button, .sx-spot__ctl button, .sx-gj__ctl button, .sx-walk button, .sx-scroll__ctl button {
  min-height: 40px; padding: 6px 14px; border: 1px solid rgba(236, 230, 216, .3); border-radius: 3px; background: transparent; color: var(--ink); font: 500 14.5px var(--head); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.sx-zg__ctl button:hover, .sx-spot__ctl button:hover, .sx-gj__ctl button:hover, .sx-walk button:hover, .sx-scroll__ctl button:hover { border-color: var(--ink-2); background: rgba(236, 230, 216, .06); }
.sx-zg__mode button[aria-pressed="true"], .sx-spot__ctl button[aria-pressed="true"], .sx-gj__ctl button[aria-pressed="true"] { background: var(--zhu-d); border-color: var(--zhu-d); color: #fff6ee; font-weight: 700; }
.sx-zg__who button { min-width: 48px; padding: 6px 10px; font-family: var(--serif); font-weight: 900; background: rgba(236, 230, 216, .05); }
.sx-zg__who button[aria-pressed="true"], .sx-scroll__ctl button[aria-pressed="true"] { background: var(--card); color: var(--card-ink); border-color: var(--card); }
.sx-zg__out { margin: 8px 0 0; min-height: 3.6em; font-family: var(--serif); font-size: 14.5px; line-height: 1.8; color: var(--ink); }
.sx-zg__note { margin: 4px 0 0; font-size: 12px; color: var(--ink-3); }

/* 生平、成就、著作 */
.sx-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1280px; margin: 36px auto 0; border-top: 1px solid var(--rule); }
.sx-band__c { padding: 20px 26px 4px 0; min-width: 0; }
.sx-band__c + .sx-band__c { padding-left: 26px; border-left: 1px solid var(--rule); }
.sx-band .mk { margin: 0 0 10px; }
.sx-mk2 { margin-top: 18px !important; }
.sx-facts { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.c-sun-xiaochun .c3-feats { margin: 0; padding: 0; list-style: none; }
.c-sun-xiaochun .c3-feats li { position: relative; padding: 5px 0 6px 22px; font-size: 14.5px; line-height: 1.65; border-bottom: 1px solid var(--rule); }
.c-sun-xiaochun .c3-feats li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 10px; height: 10px; background: var(--star);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.c-sun-xiaochun .c3-books li, .c-sun-xiaochun .c3-links li { font-size: 14.5px; border-bottom-color: var(--rule); border-bottom-style: solid; }
.c-sun-xiaochun .c3-books a, .c-sun-xiaochun .c3-links a, .c-sun-xiaochun .c3-works a { text-decoration-color: rgba(236, 230, 216, .35); text-underline-offset: .2em; }
.c-sun-xiaochun .c3-books small, .c-sun-xiaochun .c3-links small, .c-sun-xiaochun .c3-works small { color: var(--ink-3); }

/* 每一问：一枚朱印，正文像架构图一样往下分枝 */
.c-sun-xiaochun .c3q { display: block; padding: calc(var(--bar) + 30px) clamp(16px, 4vw, 64px) 56px; border-top: 1px solid rgba(169, 199, 255, .08); }
.sx-q { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "qh art" "tree art"; grid-template-rows: auto 1fr; column-gap: clamp(24px, 4.4vw, 72px);
  max-width: 1280px; margin: 0 auto; align-items: start; }
.sx-qh { grid-area: qh; position: relative; padding: 0 0 12px 68px; min-height: 58px; }
.sx-qh > .sx-seal { position: absolute; left: 0; top: 0; }
.sx-qh::after { content: ""; position: absolute; left: 23px; top: 52px; bottom: 0; border-left: 1px solid var(--line); }
.sx-when { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.c-sun-xiaochun .sx-when b { font-family: var(--mono); font-weight: 500; font-size: 26px; color: var(--acc); letter-spacing: .02em; }
.c-sun-xiaochun .sx-when span { font-size: 14px; color: var(--ink-3); }
.c-sun-xiaochun .c3q__q { margin: 6px 0 4px; font-family: var(--head); font-weight: 900; font-size: clamp(29px, 3.3vw, 44px); line-height: 1.25; letter-spacing: .02em; }
.sx-tree { grid-area: tree; margin-left: 23px; }
.sx-node { position: relative; padding: 0 0 20px 38px; }
.sx-node::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: 1px solid var(--line); }
.sx-node:last-child::before { bottom: auto; height: 1.1em; }
.sx-node::after { content: ""; position: absolute; left: 0; top: calc(1.1em - 6px); width: 32px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 12'%3E%3Cpath d='M0 6H21' stroke='%23a9c7ff' stroke-opacity='.45'/%3E%3Cpath d='M26 0L27.5 4.5L32 6L27.5 7.5L26 12L24.5 7.5L20 6L24.5 4.5Z' fill='%23a9c7ff'/%3E%3C/svg%3E") no-repeat; }
.sx-node > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.c-sun-xiaochun .c3q__lede { font-family: var(--serif); font-size: 16.5px; line-height: 1.95; text-align: justify; color: var(--ink); }
.c-sun-xiaochun .c3-quote { padding: 12px 16px 12px 18px; border-left: 2px solid var(--zhu); background: rgba(236, 230, 216, .04); border-radius: 0 4px 4px 0; }
.c-sun-xiaochun .c3-quote blockquote p { font-family: var(--serif); font-weight: 600; font-size: 17.5px; line-height: 1.75; }
.c-sun-xiaochun .c3-quote blockquote p::before, .c-sun-xiaochun .c3-quote blockquote p::after { color: var(--acc); }
.c-sun-xiaochun .c3-quote figcaption { color: var(--ink-3); }
.c-sun-xiaochun .c3-tags li { border-radius: 2px; border-color: rgba(169, 199, 255, .3); color: var(--star); font-size: 13px; }
.c-sun-xiaochun .c3-works .mk, .c-sun-xiaochun .c3-talk .mk { margin-bottom: 4px; }
.c-sun-xiaochun .c3-works li { padding: 3px 0; }
.c-sun-xiaochun .talk { border-radius: 6px; border-color: rgba(236, 230, 216, .22); background: rgba(236, 230, 216, .05); }
.c-sun-xiaochun .talk:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .5); border-color: var(--ink-3); }
.c-sun-xiaochun .talk__n, .c-sun-xiaochun .talk__av b { color: var(--ink-3); }
.c-sun-xiaochun .c3-deeplink { color: var(--acc); }
.c-sun-xiaochun .c3-ask { border-color: rgba(236, 230, 216, .25); border-radius: 4px; }
.sx-art { grid-area: art; position: sticky; top: calc(var(--bar) + 22px); min-width: 0; }
.sx-art figcaption { margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }

/* 手卷：从右往左展开 */
.sx-scroll { margin: 0; }
.sx-scroll__win { position: relative; overflow-x: auto; overflow-y: hidden; border-radius: 4px; background: #e6dbc4; cursor: grab; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--zhu) rgba(236, 230, 216, .1); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8); }
.sx-scroll__win:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.sx-scroll__win.is-drag { cursor: grabbing; }
.sx-scroll__in { position: relative; width: max-content; }
.c-sun-xiaochun .sx-scroll__in img { display: block; height: clamp(210px, 34vh, 320px); width: auto; max-width: none; -webkit-user-drag: none; user-select: none; }
.sx-scroll__mark { position: absolute; top: 6px; bottom: 6px; width: 15%; transform: translateX(-50%); border: 2px solid var(--zhu); border-radius: 6px; opacity: 0;
  box-shadow: 0 0 0 2000px rgba(15, 18, 21, .38); transition: left .55s cubic-bezier(.3, .7, .2, 1), opacity .3s; pointer-events: none; }
.sx-scroll__mark.is-on { opacity: 1; }
.sx-scroll__ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.sx-scroll__ctl button { font-family: var(--serif); font-weight: 900; }
.sx-scroll__dir { margin-right: 4px; font-size: 12.5px; color: var(--ink-3); }
.sx-scroll__out { margin: 8px 0 0; min-height: 3.4em; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }

/* 荷兰的街牌 */
.sx-walk { margin-top: 14px; padding: 12px 14px 12px; border: 1px dashed rgba(236, 230, 216, .22); border-radius: 4px; }
.sx-walk__k { margin: 0 0 8px; font-size: 12.5px; letter-spacing: .08em; color: var(--ink-3); }
.sx-walk__st { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; margin: 0 0 10px; padding: 0; }
.sx-walk__st li { display: flex; align-items: center; gap: 4px; }
.sx-walk__st li + li::before { content: "→"; color: var(--ink-3); font-size: 13px; }
.sx-sign { display: inline-block; padding: 3px 10px; border: 2px solid #f4f1ea; border-radius: 3px; background: #1f4f9c; color: #fff; font: 700 13px/1.4 var(--head);
  box-shadow: 0 0 0 1px #1f4f9c; opacity: .45; transition: opacity .3s, transform .3s; }
.sx-sign--lab { background: #2a3036; box-shadow: 0 0 0 1px #6c665d; }
.sx-walk__st li.is-on .sx-sign { opacity: 1; transform: translateY(-2px); }
.sx-walk__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sx-walk__out { margin: 0; flex: 1 1 16em; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }

/* “第一”与全场 */
.sx-q--priority .sx-art { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: end; }
.sx-spot { margin: 0; }
.sx-spot__w { position: relative; width: fit-content; max-width: 100%; }
.c-sun-xiaochun .sx-spot__w img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(72vh, 640px); border-radius: 2px; }
.sx-spot__ov { position: absolute; inset: 0; width: 100%; height: 100%; }
.sx-spot__dim { fill: rgba(8, 10, 12, .78); }
.sx-spot__ring { fill: none; stroke: var(--zhu); stroke-width: 3; transition: opacity .4s; }
.sx-spot__pins { opacity: 0; transition: opacity .5s .3s; }
.sx-pin circle { fill: var(--zhu); stroke: #fff6ee; stroke-width: 3; }
.sx-pin text { fill: #fff; font-family: var(--head); font-weight: 900; font-size: 19px; text-anchor: middle; }
.sx-spot.is-all .sx-spot__pins { opacity: 1; }
.sx-spot.is-all .sx-spot__ring { opacity: 0; }
.sx-spot figcaption { max-width: 30em; }
.sx-spot__panel { min-width: 0; }
.sx-spot__ctl { display: flex; flex-wrap: wrap; gap: 6px; }
.sx-spot__leg { list-style: none; margin: 12px 0 0; padding: 0; opacity: .35; transition: opacity .4s; }
.sx-spot__leg li { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 14px; color: var(--ink-2); }
.sx-spot__leg b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--zhu-d); color: #fff; font: 900 13px var(--head); flex: none; }
.sx-q--priority.is-all-on .sx-spot__leg, .sx-spot__panel.is-all .sx-spot__leg { opacity: 1; }
.sx-spot__out { margin: 12px 0 0; min-height: 5em; font-size: 14.5px; line-height: 1.75; color: var(--ink); }

/* 溯流而上 */
.sx-rv { margin: 0; }
.sx-rv__win { position: relative; height: min(64vh, 600px); overflow: hidden; border-radius: 4px; background: #2b2722; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8); }
.sx-rv__in { position: absolute; left: 0; right: 0; bottom: 0; will-change: transform; transition: transform .35s cubic-bezier(.3, .7, .2, 1); }
.c-sun-xiaochun .sx-rv__in img { display: block; width: 100%; height: auto; }
.sx-rv__sea, .sx-rv__up { position: absolute; left: 12px; padding: 2px 9px; border-radius: 3px; background: rgba(15, 18, 21, .72); color: #fff; font: 600 12.5px/1.6 var(--head); transition: opacity .3s; }
.sx-rv__sea { bottom: 12px; }
.sx-rv__up { top: 12px; opacity: 0; }
.sx-rv.is-up .sx-rv__up { opacity: 1; }
.sx-rv.is-up .sx-rv__sea { opacity: 0; }
.sx-rv__ctl { display: grid; grid-template-columns: auto minmax(0, 1fr) 3.6em; align-items: center; gap: 12px; margin-top: 10px; }
.sx-rv__ctl label { font-family: var(--serif); font-weight: 900; font-size: 16px; color: var(--ink); }
.sx-rv__ctl input { width: 100%; height: 40px; accent-color: var(--zhu); cursor: pointer; }
.sx-rv__pct { font-size: 13px; color: var(--star); text-align: right; }
.sx-rv__out { margin: 6px 0 0; min-height: 5.3em; font-size: 14.5px; line-height: 1.75; color: var(--ink); }

/* 古今与中西 */
.sx-gj { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 20px; align-items: start; }
.sx-kep { margin: 0; transition: box-shadow .5s; border-radius: 3px; }
.c-sun-xiaochun .sx-kep img { display: block; width: 100%; height: auto; border-radius: 3px; }
.sx-gj.is-zx .sx-kep { box-shadow: 0 0 0 3px var(--zhu); }
.sx-gj__k { margin: 0 0 10px; font-family: var(--serif); font-weight: 900; font-size: 19px; }
.sx-gj__grid { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 22px 86px 86px; gap: 8px; }
.sx-gj__ax { display: grid; place-items: center; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.sx-gj__ax--gu { grid-column: 2; grid-row: 1; } .sx-gj__ax--jin { grid-column: 3; grid-row: 1; }
.sx-gj__ax--zh { grid-column: 1; grid-row: 2; font-family: var(--serif); font-weight: 900; font-size: 16px; } .sx-gj__ax--xi { grid-column: 1; grid-row: 3; font-family: var(--serif); font-weight: 900; font-size: 16px; }
.sx-gj__c { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; border: 1px solid var(--card); border-radius: 4px; background: var(--card); color: var(--card-ink);
  font-family: var(--head); font-weight: 900; font-size: 17px; text-align: center; transition: background .5s, color .5s, border-color .5s; }
.sx-gj__c small { font-family: var(--body); font-weight: 500; font-size: 12px; opacity: .75; }
.sx-gj__c--zg { grid-column: 2; grid-row: 2; } .sx-gj__c--xl { grid-column: 2; grid-row: 3; } .sx-gj__c--jd { grid-column: 3; grid-row: 2 / span 2; }
.sx-gj__c.is-off { background: transparent; color: var(--ink-3); border-color: rgba(236, 230, 216, .25); border-style: dashed; }
.sx-gj__ln { position: relative; z-index: 1; background: var(--zhu); border-radius: 2px; transition: transform .6s cubic-bezier(.5, 0, .2, 1); pointer-events: none; }
.sx-gj__ln--h { grid-column: 1 / span 2; grid-row: 2 / span 2; align-self: center; height: 4px; transform: scaleX(0); transform-origin: right; margin-left: -4px; }
.sx-gj__ln--v { grid-column: 2 / span 2; grid-row: 1 / span 3; justify-self: center; width: 4px; transform: scaleY(0); transform-origin: top; }
.sx-gj.is-zx .sx-gj__ln--h { transform: scaleX(1); }
.sx-gj.is-gj .sx-gj__ln--v { transform: scaleY(1); }
.sx-gj__arr { grid-column: 2 / span 2; grid-row: 3; justify-self: center; align-self: center; z-index: 2; opacity: 0; transition: opacity .4s; pointer-events: none; }
.sx-gj__arr span { display: inline-block; padding: 1px 8px; border-radius: 12px; background: var(--zhu-d); color: #fff; font: 700 12.5px/1.6 var(--head); white-space: nowrap; }
.sx-gj__arr span::after { content: " →"; }
.sx-gj.is-zx .sx-gj__arr { opacity: 1; }
.sx-gj__ctl { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sx-gj__out { margin: 10px 0 0; min-height: 6.4em; font-size: 14.5px; line-height: 1.75; color: var(--ink); }

/* 量天尺：圭表测影 */
.sx-gb { margin: 0; padding: 14px 16px 16px; border: 1px solid rgba(236, 230, 216, .16); border-radius: 6px; background: rgba(236, 230, 216, .03); }
.sx-gb__k { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 4px; }
.sx-gb__k b { font-family: var(--serif); font-weight: 900; font-size: 24px; letter-spacing: .1em; color: var(--ink); }
.sx-gb__k span { font-size: 13px; color: var(--ink-3); }
.sx-gb__svg { display: block; width: 100%; height: auto; overflow: visible; }
.sx-gb__svg text { fill: var(--ink-2); font-family: var(--head); font-size: 16px; }
.sx-gb__svg .sx-gb__s { font-size: 14px; fill: var(--ink-3); }
.sx-gb__tian { stroke: var(--star); stroke-width: 1.5; stroke-dasharray: 5 6; }
.sx-gb__di { stroke: var(--ink-2); stroke-width: 2; }
.sx-gb__sun circle { fill: var(--zhu); filter: drop-shadow(0 0 10px rgba(228, 87, 61, .8)); }
.sx-gb__plumb { stroke: rgba(236, 230, 216, .3); stroke-dasharray: 3 5; }
.sx-gb__svg .sx-gb__h { fill: var(--ink); font-weight: 700; font-size: 17px; writing-mode: vertical-rl; letter-spacing: .12em; }
.sx-gb__rays line { stroke: var(--star); stroke-width: 1.2; stroke-dasharray: 5 4; opacity: .85; }
.sx-gb__g .biao { stroke: var(--ink); stroke-width: 5; stroke-linecap: square; }
.sx-gb__g .ying { stroke: var(--zhu); stroke-width: 7; }
.sx-gb__g text { font-size: 14px; fill: var(--ink-2); text-anchor: middle; }
.sx-gb__dist path { fill: none; stroke: var(--ink-3); stroke-width: 1.4; }
.sx-gb__dist text { fill: var(--ink); font-size: 15px; text-anchor: middle; font-weight: 700; }
.sx-gb__gui rect.bar { fill: rgba(236, 230, 216, .55); }
.sx-gb__gui rect.cha { fill: var(--zhu); }
.sx-gb__gui text { font-size: 13.5px; fill: var(--ink-2); }
.sx-gb__gui text.cha { fill: var(--acc); font-weight: 700; }
.sx-gb__ctl { display: grid; grid-template-columns: auto minmax(0, 1fr) 4.6em; align-items: center; gap: 12px; margin-top: 6px; }
.sx-gb__ctl label { font-size: 14px; color: var(--ink-2); }
.sx-gb__ctl input { width: 100%; height: 40px; accent-color: var(--zhu); cursor: pointer; }
.sx-gb__v { font-family: var(--serif); font-weight: 900; font-size: 15px; text-align: right; }
.sx-gb__eq { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 13px; color: var(--ink-3); }
.sx-gb__eq span { padding: 1px 8px; border: 1px solid var(--rule); border-radius: 3px; color: var(--ink-2); }
.sx-gb__eq i { font-style: normal; color: var(--acc); }
.sx-gb__out { margin: 8px 0 0; min-height: 3.6em; font-family: var(--serif); font-size: 15px; line-height: 1.75; color: var(--ink); }

/* 结尾：师承也排成一张架构图 */
.c-sun-xiaochun .c3end { padding: calc(var(--bar) + 30px) clamp(16px, 4vw, 64px) 64px; border-top: 1px solid rgba(169, 199, 255, .08); }
.sx-end { max-width: 1120px; margin: 0 auto; }
.sx-qh--end { padding-bottom: 0; display: flex; align-items: center; min-height: 46px; }
.sx-qh--end::after { display: none; }
.c-sun-xiaochun .c3end h2 { margin: 0; font-family: var(--head); font-weight: 900; letter-spacing: .06em; }
.c-sun-xiaochun .c3end h3 { margin: 32px 0 12px; font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .16em; color: var(--star); }
.sx-ln { display: grid; justify-items: center; margin: 26px 0 30px; padding: 22px 12px; border: 1px solid rgba(236, 230, 216, .12); border-radius: 6px;
  background: radial-gradient(circle, rgba(169, 199, 255, .06) 1px, transparent 1.5px) 0 0 / 22px 22px; }
.sx-ln__row { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding: 0 0 26px; }
.sx-ln__row--up::after, .sx-ln__row--me::after { content: ""; position: absolute; left: 50%; bottom: 0; height: 26px; border-left: 1px solid var(--line); }
.sx-ln__row--me { padding-top: 0; }
.sx-ln__row--down { padding-bottom: 0; }
.sx-ln__k { width: 100%; margin: 0 0 2px; text-align: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em; color: var(--ink-3); }
.sx-ln__n { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 12px; border: 1px solid rgba(236, 230, 216, .2); border-radius: 4px; background: var(--paper); text-decoration: none; color: var(--ink); }
.sx-ln__n .av { width: 26px; height: 26px; font-size: 10px; }
.sx-ln__n b { font-weight: 700; font-size: 14.5px; }
.sx-ln a.sx-ln__n:hover { border-color: var(--star); }
.sx-ln__me { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 5px; background: var(--card); color: var(--card-ink); }
.sx-ln__me b { font-size: 18px; font-weight: 900; letter-spacing: .1em; }
.sx-seal--me { width: 38px; height: 38px; font-size: 22px; }
.sx-ln__row--me { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; width: 100%; }
.sx-ln__row--me .sx-ln__me { grid-column: 2; grid-row: 1; }
.sx-ln__side { grid-column: 3; grid-row: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; justify-self: start; }
.sx-ln__side .sx-ln__k { width: auto; margin: 0 4px 0 0; }
.sx-ln__side::before { content: ""; width: 18px; border-top: 1px solid var(--line); margin-right: 2px; }
.c-sun-xiaochun .c3-lin { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.c-sun-xiaochun .c3-lin li { border-radius: 4px; border-color: rgba(236, 230, 216, .14); background: var(--paper); }
.c-sun-xiaochun .c3-lin li p { color: var(--ink-2); }
.c-sun-xiaochun .c3-lin .rel { opacity: 1; color: var(--star); }
.c-sun-xiaochun .c3-lin .rel--x { color: var(--ink-3); }
.c-sun-xiaochun .c3-credits, .c-sun-xiaochun .c3-fine { color: var(--ink-3); }
.c-sun-xiaochun .c3-endgo .c3-btn { color: var(--ink); }
.c-sun-xiaochun .c3-endgo .c3-btn--deep { background: var(--zhu-d); border-color: var(--zhu-d); color: #fff6ee; }

@media (max-width: 1180px) {
  .sx-gj { grid-template-columns: minmax(0, 1fr); }
  .sx-kep { max-width: 220px; }
  .sx-q--priority .sx-art { grid-template-columns: minmax(0, 1fr); }
  .c-sun-xiaochun .sx-spot__w img { max-height: 62vh; }
}
@media (min-width: 861px) {
  .c-sun-xiaochun .c3hero, .c-sun-xiaochun .c3q, .c-sun-xiaochun .c3end { padding-right: 96px; }
}
@media (max-width: 860px) {
  .sx-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .sx-band { grid-template-columns: minmax(0, 1fr); }
  .sx-band__c, .sx-band__c + .sx-band__c { padding: 18px 0 6px; border-left: 0; }
  .sx-band__c + .sx-band__c { border-top: 1px solid var(--rule); }
  .sx-q { grid-template-columns: minmax(0, 1fr); grid-template-areas: "qh" "art" "tree"; grid-template-rows: auto; }
  .sx-art { position: static; margin: 4px 0 26px; }
  .sx-qh { padding-bottom: 16px; }
  .sx-qh::after { display: none; }
  .sx-tree { margin-left: 0; }
  .sx-node { padding-left: 30px; }
  .sx-node::after { width: 26px; background-size: 32px 12px; background-position: -6px 0; }
  .sx-ln__row--me { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .sx-ln__row--me .sx-ln__me { grid-column: 1; }
  .sx-ln__side { grid-column: 1; grid-row: 2; justify-self: center; justify-content: center; }
  .sx-ln__side::before { display: none; }
  .sx-ln__side .sx-ln__k { width: 100%; margin: 0; }
}
@media (max-width: 560px) {
  .c-sun-xiaochun .c3hero, .c-sun-xiaochun .c3q, .c-sun-xiaochun .c3end { padding-left: 16px; padding-right: 16px; }
  .sx-id h1 { font-size: 60px; letter-spacing: .1em; }
  .sx-ql a { grid-template-columns: 26px 2.9em minmax(0, 1fr); gap: 10px; }
  .sx-ql a span:last-child { font-size: 14.5px; }
  .sx-zg__who button { min-width: 44px; padding: 6px 8px; }
  .c-sun-xiaochun .c3q__q { font-size: 28px; }
  .sx-qh { padding-left: 60px; }
  .sx-qh > .sx-seal { width: 42px; height: 42px; font-size: 24px; }
  .sx-bk small span[lang] { display: none; }
  .sx-gb__svg text { font-size: 23px; }
  .sx-gb__svg .sx-gb__s, .sx-gb__g text, .sx-gb__gui text { font-size: 21px; }
  .sx-gb__svg .sx-gb__h { font-size: 22px; }
  .sx-zg__svg .sx-tag { font-size: 26px; }
  .c-sun-xiaochun .sx-scroll__in img { height: 220px; }
  .sx-rv__win { height: 62vh; }
  .sx-gj__grid { grid-template-rows: 22px 76px 76px; }
  .sx-gj__c { font-size: 15px; }
  .sx-gb { padding: 12px 10px 14px; }
  .sx-gb__ctl { grid-template-columns: minmax(0, 1fr) 4.6em; }
  .sx-gb__ctl label { grid-column: 1 / -1; }
}
