/* 迪昂 · 本轮：一位只画风景的物理学家的速写本。白纸、黑墨、细线的作图，名字和他的原话留白在墨块里，只在要紧处落一点朱红。 */
.c-duhem {
  --bg: #f6f5f1; --paper: #fbfbf8; --ink: #141414; --ink-2: #3b3a36; --ink-3: #6f6d66; --rule: rgba(20, 20, 20, .16);
  --acc: #b8301c; --acc-ink: #ffffff;
  --head: "ZCOOL XiaoWei", "Noto Serif SC", "Songti SC", serif; --body: "Noto Serif SC", "Songti SC", serif;
  --bod: "Bodoni Moda", "Noto Serif SC", serif;
  --bar-bg: rgba(246, 245, 241, .94); --chip-bg: #fbfbf8; --chip-ring: #fbfbf8;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
.c-duhem .dlg .msg--me .msg__o summary { color: inherit; }
.c-duhem .dlg { --dlg-bg: #efeee9; --dlg-paper: #fdfdfb; --dlg-ink: #141414; --dlg-ink-2: #3b3a36; --dlg-ink-3: #66645d; --dlg-me: #141414; --dlg-me-ink: #fbfbf8; --dlg-acc: #b8301c; }
.c-duhem .c3bar { border-bottom: 1px solid var(--ink); }
.c-duhem .c3bar__t a { font-family: var(--body); }
.c-duhem .c3bar__prog { height: 3px; background: var(--ink); }
.c-duhem .mk { font-family: var(--body); font-size: 12.5px; letter-spacing: .16em; color: var(--ink-3); }
.c-duhem .c3-btn { border-radius: 0; font-family: var(--body); min-height: 42px; }
.c-duhem .c3-btn--go { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.c-duhem .c3-btn--deep { background: transparent; border-color: var(--ink); color: var(--ink); }
.c-duhem .c3-btn:hover { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.dh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 目录：页边一列细线小圆，当前一问的小圆上有一颗红色的行星 */
.c-duhem .c3toc a { font-family: var(--bod); font-size: 13px; color: var(--ink-3); }
.c-duhem .c3toc a b { font-weight: 400; }
.c-duhem .c3toc a::after { width: 11px; height: 11px; border-width: 1px; background: transparent; }
.c-duhem .c3toc a[aria-current="true"] { color: var(--ink); }
.c-duhem .c3toc a[aria-current="true"]::after { background: radial-gradient(circle at 78% 22%, var(--acc) 0 2.4px, transparent 2.9px), transparent; border-color: var(--ink); }

/* 宽屏：给右侧的目录让出位置 */
@media (min-width: 861px) { .c-duhem .c3hero, .c-duhem .c3q, .c-duhem .c3end { padding-right: max(clamp(16px, 5vw, 72px), 96px); } }

/* ---------- 首屏 ---------- */
.c-duhem .c3hero { padding-top: calc(var(--bar) + 26px); padding-bottom: 40px; }
.dh-hero { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) minmax(0, .84fr); gap: 0 clamp(24px, 3vw, 48px); align-items: start; }
.dh-k { margin: 0 0 12px; font-size: 13px; letter-spacing: .18em; color: var(--ink-2); }
.dh-name { position: relative; margin: 0; padding: .1em .26em .14em .2em; display: inline-block; font-family: var(--head); font-weight: 400;
  font-size: clamp(76px, 8.4vw, 132px); line-height: 1; letter-spacing: .08em; white-space: nowrap; color: var(--paper); isolation: isolate; }
.dh-name::before { content: ""; position: absolute; inset: -6px -12px -8px -10px; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-4%25' y='-8%25' width='108%25' height='116%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .3' numOctaves='3' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='12'/%3E%3C/filter%3E%3Crect x='12' y='12' width='376' height='176' fill='%23141414' filter='url(%23f)'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.dh-name span { display: block; }
.dh-en { margin: 14px 0 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; font-family: var(--bod); }
.dh-en span:first-child { font-style: italic; font-size: 28px; line-height: 1.1; }
.dh-yrs { font-size: 19px; letter-spacing: .06em; color: var(--ink-2); font-variant-numeric: lining-nums; }
.dh-who { margin: 0 0 4px; font-size: 18.5px; font-weight: 600; line-height: 1.55; }
.dh-now { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-2); }
.dh-rel { margin: 0 0 14px; padding: 10px 0 0; border-top: 1px solid var(--ink); }
.dh-rel .mk { color: var(--acc); }
.dh-rel p:last-child { margin: 0; font-size: 14.5px; line-height: 1.8; }
.dh-go { margin: 4px 0 0; }

.dh-orb { margin: 0; }
.dh-orb__stage { position: relative; }
.dh-orb__svg, .dh-mc__svg { display: block; width: 100%; height: auto; overflow: visible; }
.dh-orb__src { position: absolute; right: -2%; bottom: -3%; width: 27%; height: auto; padding: 6px 8px 4px; background: var(--paper); border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(20, 20, 20, .1); transform: rotate(1.4deg); }
.dh-orb figcaption { margin: 16px 0 0; padding-right: 4px; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.dh-orb figcaption b { font-weight: 600; color: var(--ink); }
.dh-pp { display: inline-flex; align-items: center; margin-left: 8px; padding: 0 12px; min-height: 40px; vertical-align: middle; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.dh-pp:hover { background: var(--ink); color: var(--paper); }
.dh-pp[hidden], .dh-mc__ctl[hidden] { display: none; }
.dh-pp::before { content: "❚❚ "; font-size: 10px; letter-spacing: -.1em; }
.dh-pp[aria-pressed="true"]::before { content: "▶ "; }

.dh-orb__ring circle, .dh-mc__zod circle { fill: none; stroke: var(--ink-3); stroke-width: .8; }
.dh-orb__ring line, .dh-mc__zod line { stroke: var(--ink-3); stroke-width: .8; }
.dh-tr { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.dh-tr--b { stroke: var(--ink); stroke-width: 1.25; }
.dh-tr--r { stroke: var(--acc); stroke-width: 2; }
.dh-c { fill: none; stroke: var(--ink-3); stroke-width: .9; }
.dh-c--e { stroke: var(--ink); stroke-width: 1; }
.dh-ln { stroke: var(--ink-3); stroke-width: .9; }
.dh-ln--v { stroke: var(--ink); }
.dh-ln--sight { stroke: var(--ink-3); stroke-width: .8; stroke-dasharray: 2 5; }
.dh-pt { fill: var(--ink); }
.dh-pt--o { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.dh-planet { fill: var(--paper); stroke: var(--ink); stroke-width: 2.2; }
.dh-is-retro .dh-planet { fill: var(--acc); stroke: var(--acc); }
.dh-is-retro .dh-ln--sight { stroke: var(--acc); }
.dh-earth { fill: var(--ink); }
.dh-lb { font-family: var(--bod); font-style: italic; font-size: 21px; fill: var(--ink); }
.dh-lb--s { font-size: 17px; fill: var(--ink-2); }
.dh-mc__svg .dh-lb--s { font-family: var(--body); font-style: normal; font-size: 15px; }

.dh-idx { padding-top: 6px; }
.dh-idx .mk { margin-bottom: 6px; }
.dh-idx__q { margin-top: 20px; }
.dh-books { list-style: none; margin: 0; padding: 0; }
.dh-books a, .dh-bk { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); gap: 8px; padding: 6px 0; min-height: 40px; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 15px; line-height: 1.5; }
.dh-books b { font-family: var(--bod); font-weight: 400; font-size: 15px; color: var(--ink-2); }
.dh-books a:hover span { color: var(--acc); }
.dh-mk2 { margin-top: 18px !important; }
.c-duhem .c3-books li { padding: 6px 0 7px; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.5; }
.c-duhem .c3-books li > a { text-decoration: none; font-weight: 600; }
.c-duhem .c3-books li > a:hover { color: var(--acc); }
.c-duhem .c3-books small { margin-top: 2px; font-size: 12px; line-height: 1.55; color: var(--ink-3); }
.c-duhem .c3-qlist a { display: grid; grid-template-columns: 3.1em minmax(0, 1fr); gap: 8px; padding: 6px 0; min-height: 40px; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 15px; line-height: 1.5; }
.c-duhem .c3-qlist a b { font-family: var(--bod); font-weight: 400; font-size: 16px; color: var(--ink-2); }
.c-duhem .c3-qlist a:hover span { color: var(--acc); }

.dh-more { max-width: 1360px; margin: 40px auto 0; padding-top: 18px; border-top: 3px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, .8fr); gap: clamp(24px, 3vw, 48px); }
.c-duhem .c3-feats { margin: 0; padding: 0; list-style: none; counter-reset: f; }
.c-duhem .c3-feats li { counter-increment: f; position: relative; padding: 5px 0 6px 30px; border-bottom: 1px solid var(--rule); font-size: 14.5px; line-height: 1.6; }
.c-duhem .c3-feats li::before { content: counter(f); position: absolute; left: 2px; top: 3px; font-family: var(--bod); font-style: italic; font-size: 18px; color: var(--ink-3); }
.dh-facts { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); text-align: justify; }
.c-duhem .c3-links li { padding: 5px 0; border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 1.5; }
.c-duhem .c3-links a { text-decoration: none; }
.c-duhem .c3-links a:hover { color: var(--acc); }
.c-duhem .c3-links small { font-family: var(--bod); font-style: italic; font-size: 12.5px; }

/* ---------- 每一问：一幅横向的风景画框，框下三栏 ---------- */
.c-duhem .c3q { display: block; padding-top: calc(var(--bar) + 22px); padding-bottom: 64px; overflow: clip; }
.c-duhem .c3q::before { content: ""; position: absolute; z-index: -1; width: 92vmin; height: 92vmin; border: 1px solid rgba(20, 20, 20, .055); border-radius: 50%;
  right: -34vmin; top: 6vh; pointer-events: none; }
.c-duhem .c3q:nth-of-type(odd)::before { right: auto; left: -40vmin; top: 22vh; }
.c-duhem .c3q, .c-duhem .c3hero, .c-duhem .c3end { isolation: isolate; }
.dh-q { max-width: 1320px; margin: 0 auto; }
.dh-q__h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 0 clamp(16px, 2.4vw, 36px); padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.dh-q__yr { margin: 0 0 -4px; font-family: var(--bod); font-weight: 400; font-size: clamp(54px, 7.2vw, 108px); line-height: .82; letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.dh-q--red .dh-q__yr { color: var(--acc); }
.c-duhem .c3q__when { display: block; margin: 0; font-size: 13.5px; letter-spacing: .06em; color: var(--ink-3); }
.c-duhem .c3q__when b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.c-duhem .c3q__q { margin: 2px 0 0; font-family: var(--head); font-weight: 400; font-size: clamp(30px, 3.5vw, 52px); line-height: 1.18; letter-spacing: .02em; }
.dh-q__n { margin: 0 0 4px; font-family: var(--bod); font-style: italic; font-size: 17px; color: var(--ink-3); white-space: nowrap; }
.dh-q__art { margin-top: 22px; }
.dh-q__txt { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr) minmax(0, .8fr); gap: clamp(22px, 2.6vw, 40px); margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule); }
.c-duhem .c3q__lede { margin: 0; font-size: 16px; line-height: 1.9; text-align: justify; }
.c-duhem .c3-quote { margin: 0; padding: 20px 22px 18px; border: 0; background: var(--ink); color: var(--paper); }
.c-duhem .c3-quote blockquote p { font-size: 17px; font-weight: 600; line-height: 1.8; color: #fff; }
.c-duhem .c3-orig { margin-top: 12px; font-family: var(--bod); font-size: 14px; line-height: 1.6; color: #d4d1c8; }
.c-duhem .c3-quote figcaption { margin-top: 12px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 12.5px; color: #b3b0a7; }
.c-duhem .c3-tags { margin: 18px 0 0; gap: 6px; }
.c-duhem .c3-tags li { border-radius: 0; border-color: var(--ink); color: var(--ink); font-size: 13px; padding: 2px 9px; background: var(--paper); }
.c-duhem .c3-works { margin: 0 0 4px; }
.c-duhem .c3-works li { padding: 5px 0 6px; border-bottom: 1px solid var(--rule); font-size: 14.5px; line-height: 1.55; }
.c-duhem .c3-works a { text-decoration: none; font-weight: 600; }
.c-duhem .c3-works a:hover { color: var(--acc); }
.c-duhem .c3-talk { margin-top: 18px; }
.c-duhem .talk { border-radius: 0; border-color: var(--ink); background: var(--paper); }
.c-duhem .talk:hover { box-shadow: 4px 4px 0 var(--ink); transform: translate(-1px, -1px); }
.c-duhem .c3-go { margin-top: 16px; }
.c-duhem .c3-deeplink { text-decoration-color: var(--acc); text-underline-offset: .25em; }
.c-duhem .c3-ask { border-radius: 0; border: 1px solid var(--ink-3); min-height: 40px; }
.c-duhem .c3-ask:hover { border-color: var(--ink); background: var(--paper); }

/* 配图 */
.dh-fig { margin: 0; }
.dh-fig img { display: block; width: 100%; height: auto; }
.dh-fig figcaption, .dh-vd__cap, .dh-page figcaption { margin-top: 8px; font-size: 12.5px; line-height: 1.65; color: var(--ink-3); }

/* 按钮（机关里的） */
.dh-q__art button:not(.dh-vd__b) { min-height: 42px; padding: 6px 14px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: 14.5px; cursor: pointer; }
.dh-q__art button:not(.dh-vd__b):hover { background: var(--ink); color: var(--paper); }
.dh-q__art button[aria-pressed="true"]:not(.dh-vd__b) { background: var(--ink); color: var(--paper); }

/* 一问：推门 */
.dh-door { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); grid-template-areas: "room fac" "ctl ctl"; gap: 18px 28px; }
.dh-door__room { grid-area: room; display: flex; flex-direction: column; justify-content: center; padding: 26px 28px; border: 1px solid var(--ink); background: var(--paper); }
.dh-door__fac { grid-area: fac; display: flex; flex-direction: column; justify-content: center; }
.dh-door__ctl { grid-area: ctl; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.dh-door__k { margin: 0 0 18px; font-size: 13px; letter-spacing: .2em; color: var(--ink-3); }
.dh-eq { margin: 0; font-family: var(--bod); font-size: clamp(26px, 2.8vw, 40px); line-height: 1.3; white-space: nowrap; }
.dh-eq i { font-style: italic; }
.dh-eq sub { font-size: .55em; }
.dh-sum { font-size: 1.15em; }
.dh-eq b { margin: 0 .24em; font-family: var(--body); font-weight: 400; font-size: .8em; }
.dh-mu { font-family: var(--body); font-style: italic; }
.dh-door__n { margin: 18px 0 0; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }
.dh-door__out { margin: 0; font-size: 15px; color: var(--ink-2); }
.dh-door.is-js { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); grid-template-areas: "fac ctl"; align-items: center; perspective: 1600px; }
.dh-door.is-js .dh-door__fac { position: relative; align-self: stretch; min-height: 300px; padding: 18px 22px 12px; border: 1px solid var(--ink); background: var(--bg); }
.dh-door.is-js .dh-door__fac img { max-height: 250px; width: auto; max-width: 100%; margin: 0 auto; }
.dh-door.is-js .dh-door__room { position: relative; grid-area: fac; align-self: stretch; z-index: 2; align-items: center; text-align: center; transform-origin: 0 50%;
  transition: transform 1.2s cubic-bezier(.62, .02, .28, 1), box-shadow 1.2s; box-shadow: 0 0 0 rgba(0, 0, 0, 0); }
.dh-door.is-js .dh-door__room::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--ink); }
.dh-door.is-open .dh-door__room { transform: rotateY(-80deg); box-shadow: 30px 0 40px rgba(0, 0, 0, .14); }
.dh-door.is-js .dh-door__ctl { flex-direction: column; align-items: flex-start; gap: 14px; }
.dh-door.is-js .dh-door__out { font-size: 16px; line-height: 1.8; }

/* 二问：钟表匠与医生 */
.dh-vd__k { margin: 0 0 12px; font-size: 15px; }
.dh-vd__k b { margin-right: 10px; padding: 1px 8px; background: var(--ink); color: var(--paper); font-weight: 600; }
.dh-vd__who { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, .72fr); gap: 16px; }
.dh-vd__b { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; margin: 0; padding: 10px 10px 8px; border: 1px solid var(--rule); background: var(--paper);
  color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: opacity .3s, border-color .3s, box-shadow .3s; }
.dh-vd__b img { display: block; width: 100%; height: auto; max-height: 250px; object-fit: contain; }
.dh-vd__b span { font-size: 14.5px; font-weight: 600; }
.dh-vd__b span::before { content: "○ "; font-weight: 400; }
.dh-vd__b:hover { border-color: var(--ink); }
.dh-vd__b[aria-pressed="true"] { border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.dh-vd__b[aria-pressed="true"] span::before { content: "● "; }
.dh-vd.is-chosen .dh-vd__b[aria-pressed="false"] { opacity: .45; }
.dh-vd__set { position: relative; margin: 20px 0 0; padding-bottom: 26px; }
.dh-vd__set ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr) minmax(0, .9fr); gap: 10px; }
.dh-vd__set li { display: flex; align-items: center; min-height: 52px; padding: 8px 12px; border: 1px solid var(--ink); background: var(--paper); font-size: 14.5px; line-height: 1.45; transition: color .3s, background .3s; }
.dh-vd__x { position: absolute; left: calc(10% - 34px); top: -14px; width: 68px; height: 68px; font-size: 0; opacity: 0; transform: scale(1.5) rotate(-8deg);
  transition: opacity .3s, transform .45s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none; }
.dh-vd__x::before, .dh-vd__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 84px; height: 4px; margin: -2px 0 0 -42px; background: var(--acc); border-radius: 2px; transform: rotate(45deg); }
.dh-vd__x::after { transform: rotate(-45deg); }
.dh-vd__br { position: absolute; left: 0; right: 0; bottom: 6px; height: 14px; border: 2px solid var(--acc); border-top: 0; opacity: 0; transform: scaleX(.2); transition: opacity .35s, transform .6s cubic-bezier(.2, .8, .2, 1); }
.dh-vd__br::after { content: "至少有一个要改，哪一个？"; position: absolute; left: 50%; top: 14px; transform: translateX(-50%); padding: 0 8px; background: var(--bg); font-size: 13px; color: var(--acc); white-space: nowrap; }
.dh-vd.is-clock .dh-vd__x { opacity: 1; transform: none; }
.dh-vd.is-clock li[data-h="0"] { background: rgba(184, 48, 28, .08); }
.dh-vd.is-doctor .dh-vd__br { opacity: 1; transform: none; }
.dh-vd.is-doctor li { background: rgba(184, 48, 28, .06); }
.dh-vd__out { margin: 16px 0 0; min-height: 3.4em; font-size: 15px; line-height: 1.75; }
.dh-vd__out em { font-style: normal; color: var(--acc); }

/* 三问：本轮机器 */
.dh-mc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px clamp(24px, 3vw, 48px); align-items: start; }
.dh-mc__stage { max-width: 560px; width: 100%; justify-self: center; }
.dh-mc__title { display: block; width: min(100%, 420px); height: auto; margin: 0 0 10px; }
.dh-mc__q { margin: 0 0 16px; padding: 10px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.75; }
.dh-mc__rows { display: grid; gap: 8px; }
.dh-mc__row { display: grid; grid-template-columns: 4.6em minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 4px 14px; padding: 6px 10px; border: 1px solid var(--rule); background: var(--paper); }
.dh-mc__row > b { font-weight: 600; font-size: 14.5px; }
.dh-mc__row label { display: grid; grid-template-columns: auto minmax(0, 1fr) 2.2em; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.dh-mc__row output { font-family: var(--bod); font-size: 16px; text-align: right; color: var(--ink); }
.dh-mc__row--d { background: transparent; }
.dh-mc__row--d span { font-size: 13.5px; color: var(--ink-3); grid-column: 2 / -1; }
.dh-mc__btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.dh-mc__out { margin: 14px 0 0; min-height: 3.4em; font-size: 15px; line-height: 1.75; }
.dh-mc__out em { font-style: normal; color: var(--acc); }
.dh-ptr { fill: var(--ink); }
.dh-is-retro .dh-ptr { fill: var(--acc); }
.dh-retro { font-family: var(--body); font-size: 15px; fill: var(--acc); opacity: 0; transition: opacity .2s; }
.dh-is-retro .dh-retro { opacity: 1; }
.dh-trail circle { fill: var(--ink); }
.c-duhem input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; margin: 0; background: transparent; cursor: pointer; }
.c-duhem input[type="range"]::-webkit-slider-runnable-track { height: 1px; background: var(--ink); }
.c-duhem input[type="range"]::-moz-range-track { height: 1px; background: var(--ink); }
.c-duhem input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -9px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); }
.c-duhem input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); }
.c-duhem input[type="range"]:focus-visible { outline: 2px solid var(--acc); outline-offset: 0; }

/* 四问：1277 */
.dh-cd { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.dh-page { margin: 0; }
.dh-page__im { position: relative; padding: 14px 16px; border: 1px solid var(--rule); background: var(--paper); box-shadow: 0 18px 30px -24px rgba(0, 0, 0, .5); }
.dh-page__im img { display: block; width: 100%; height: auto; }
.dh-page__pic { position: relative; }
.dh-page__u { position: absolute; height: 0; border-bottom: 1.5px solid var(--ink); }
.dh-page__box { position: absolute; border: 2px solid var(--acc); }
.dh-page__ring { position: absolute; border: 2px solid var(--acc); border-radius: 50%; }
.dh-cos { position: relative; }
.dh-cos__y { position: absolute; right: 0; top: -12px; margin: 0; font-family: var(--bod); font-size: clamp(64px, 8vw, 128px); line-height: 1; color: var(--acc); opacity: .9; letter-spacing: -.02em; pointer-events: none; }
.dh-cos__svg { display: block; width: 100%; height: auto; margin-top: clamp(40px, 6vw, 90px); }
.dh-cos__rings circle { fill: none; stroke: var(--ink); stroke-width: 1; }
.dh-cos__rings circle:last-child { stroke-width: 2.2; }
.dh-cos__earth { fill: var(--ink); }
.dh-cos__lb { font-family: var(--body); font-size: 15px; fill: var(--ink-2); }
.dh-cos__void { opacity: 0; transition: opacity .9s .5s; }
.dh-cos__vo { fill: none; stroke: var(--acc); stroke-width: 1.2; stroke-dasharray: 4 5; }
.dh-cos__void text { font-family: var(--body); font-size: 22px; fill: var(--acc); paint-order: stroke; stroke: var(--bg); stroke-width: 6px; }
.dh-cos__w { transition: transform 1.6s cubic-bezier(.6, .05, .25, 1); }
.dh-cos.is-moved .dh-cos__void { opacity: 1; }
.dh-cos__btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.dh-cos__out { margin: 12px 0 0; min-height: 5.2em; font-size: 15px; line-height: 1.75; }
.dh-cos__out q { quotes: "“" "”"; color: var(--acc); }

/* 五问：先驱 */
.dh-pre { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.dh-fig--leo img { max-height: min(560px, 66vh); width: auto; max-width: 100%; margin: 0 auto; }
.dh-pre__r { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.dh-fig--t { padding: 14px 16px 10px; border: 1px solid var(--rule); background: var(--paper); }
.dh-imp { padding-top: 4px; }
.dh-imp__k { margin: 0 0 8px; font-size: 13px; letter-spacing: .16em; color: var(--ink-3); }
.dh-imp ol { list-style: none; margin: 0; padding: 0; }
.dh-imp li { display: grid; grid-template-columns: 1.6em minmax(0, 1fr) auto; align-items: baseline; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.dh-imp li::before { content: ""; font-size: 15px; color: var(--ink-3); }
.dh-imp li + li::before { content: "＝"; }
.dh-imp b { font-family: var(--head); font-weight: 400; font-size: 26px; line-height: 1.2; }
.dh-imp b[lang="it"] { font-family: var(--bod); font-style: italic; }
.dh-imp span { font-size: 14px; color: var(--ink-2); }
.dh-imp__n { margin: 10px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }

/* 六问：没有第一环的链条 */
.dh-epi { margin: 0; font-family: var(--bod); font-variant: small-caps; font-size: clamp(17px, 1.7vw, 23px); line-height: 1.55; letter-spacing: .04em; text-align: center; max-width: 54em; margin-inline: auto; }
.dh-epi__zh { margin: 10px auto 0; max-width: 46em; text-align: center; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.dh-epi__zh span { display: block; font-size: 12.5px; color: var(--ink-3); }
.dh-chain { position: relative; margin: 22px 0 0; overflow: hidden; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.dh-chain__svg { display: block; width: 100%; height: 170px; }
.dh-link { fill: none; stroke: var(--ink); stroke-width: 3.2; }
.dh-link--s { fill: var(--ink); stroke: none; }
.dh-chain__lb { font-family: var(--body); font-size: 15px; fill: var(--ink); }
.dh-chain__tick { stroke: var(--ink-3); stroke-width: .8; }
.dh-chain__deep { position: absolute; left: 0; top: 0; bottom: 0; width: min(30%, 260px); pointer-events: none;
  background: linear-gradient(90deg, #141414 0, rgba(20, 20, 20, .82) 30%, rgba(20, 20, 20, .35) 70%, rgba(20, 20, 20, 0) 100%); }
.dh-chain__deep span { position: absolute; left: 10px; top: 10px; padding: 1px 8px; background: #141414; font-size: 12.5px; letter-spacing: .1em; white-space: nowrap; color: #f6f5f1; }
.dh-chain__btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.dh-chain__out { margin: 10px 0 0; min-height: 3.6em; font-size: 15px; line-height: 1.75; }
.dh-shelf { margin-top: 18px; }
.dh-shelf__row { list-style: none; margin: 0; padding: 0 0 0 2px; display: flex; align-items: flex-end; gap: 5px; height: 92px; border-bottom: 3px solid var(--ink); }
.dh-vol { display: flex; align-items: flex-start; justify-content: center; width: 30px; height: 82px; padding-top: 8px; font-family: var(--bod); font-size: 11px; color: var(--paper); }
.dh-vol:nth-child(3n+2) { height: 86px; } .dh-vol:nth-child(4n) { height: 78px; }
.dh-vol--a { background: var(--ink); }
.dh-vol--b { background: #3b3a36; }
.dh-vol--x { background: linear-gradient(to top, #3b3a36 0 48%, transparent 48%); border: 1px solid #3b3a36; color: var(--ink); }
.dh-vol--g { border: 1px dashed var(--ink-3); color: var(--ink-3); }
.dh-shelf__k { margin: 8px 0 0; font-size: 12.5px; line-height: 2; color: var(--ink-2); }
.dh-key { display: inline-block; width: 10px; height: 14px; margin-right: 5px; vertical-align: -2px; }
.dh-key--a { background: var(--ink); } .dh-key--b { background: #3b3a36; }
.dh-key--x { background: linear-gradient(to top, #3b3a36 0 48%, transparent 48%); border: 1px solid #3b3a36; }
.dh-key--g { border: 1px dashed var(--ink-3); }

/* ---------- 结尾 ---------- */
.c-duhem .c3end { padding-top: calc(var(--bar) + 32px); }
.dh-end { max-width: 1320px; margin: 0 auto; }
.dh-end__h { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 3px solid var(--ink); }
.c-duhem .c3end h2 { margin: 0; font-family: var(--head); font-weight: 400; font-size: clamp(34px, 4.4vw, 60px); }
.c-duhem .c3end h3 { font-weight: 600; letter-spacing: .06em; }
.c-duhem .c3-lin { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 28px; }
.c-duhem .c3-lin li { padding: 12px 0 14px; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: transparent; }
.c-duhem .c3-lin b { font-family: var(--head); font-weight: 400; font-size: 21px; }
.c-duhem .c3-lin .rel { border-radius: 0; }
.c-duhem .c3-lin li > a:hover b { color: var(--acc); }

/* ---------- 窄屏 ---------- */
@media (max-width: 1180px) {
  .dh-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "id idx" "orb orb"; }
  .dh-id { grid-area: id; } .dh-orb { grid-area: orb; } .dh-idx { grid-area: idx; }
  .dh-idx { padding-top: 26px; }
  .dh-idx__q { margin-top: 16px; }
  .dh-books a, .dh-bk, .c-duhem .c3-qlist a { min-height: 34px; padding: 4px 0; font-size: 14px; }
  .dh-name { font-size: clamp(64px, 8vw, 104px); }
  .dh-orb { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 28px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rule); }
  .dh-orb figcaption { margin: 0; }
  .dh-more { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dh-more > div:last-child { grid-column: 1 / -1; }
  .dh-q__txt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dh-q__c3 { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 32px; }
  .dh-q__c3 .c3-go { grid-column: 1 / -1; }
  .dh-pre__r { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .c-duhem .c3hero { padding-top: calc(var(--bar) + 18px); }
  .dh-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "id" "idx" "orb"; }
  .dh-orb { display: block; margin-top: 28px; }
  .dh-orb figcaption { margin-top: 14px; }
  .dh-name { font-size: clamp(76px, 24vw, 120px); }
  .dh-more { grid-template-columns: minmax(0, 1fr); margin-top: 30px; }
  .dh-q__h { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .dh-q__yr { font-size: 58px; margin: 0; }
  .dh-q__n { display: none; }
  .dh-q__txt, .dh-q__c3 { grid-template-columns: minmax(0, 1fr); }
  .dh-door { grid-template-columns: minmax(0, 1fr); grid-template-areas: "room" "fac" "ctl"; }
  .dh-door.is-js { grid-template-columns: minmax(0, 1fr); grid-template-areas: "fac" "ctl"; }
  .dh-door.is-js .dh-door__fac { min-height: 260px; }
  .dh-eq { white-space: normal; font-size: 26px; }
  .dh-mc, .dh-cd, .dh-pre { grid-template-columns: minmax(0, 1fr); }
  .dh-mc__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dh-mc__row > b { grid-column: 1 / -1; }
  .dh-mc__row--d span { grid-column: 1 / -1; }
  .dh-vd__set ul { grid-template-columns: minmax(0, 1fr); }
  .dh-vd__x { left: auto; right: 14px; top: -10px; }
  .dh-fig--leo img { max-height: 54vh; }
  .dh-cos__y { position: static; font-size: 64px; }
  .dh-cos__svg { margin-top: 6px; }
  .dh-shelf__row { gap: 3px; }
  .dh-vol { width: calc((100% - 36px) / 12); }
}
@media (max-width: 860px) {
  .dh-books a, .dh-bk, .c-duhem .c3-qlist a { min-height: 40px; }
  .c-duhem .c3-books li > a, .c-duhem .c3-links a, .c-duhem .c3-works a { display: inline-flex; align-items: center; min-height: 40px; }
  .c-duhem .c3-lin li > a { min-height: 40px; }
}
/* 没有脚本时，不显示不起作用的按钮 */
.c-duhem:not(.dh-js) .dh-door__ctl button, .c-duhem:not(.dh-js) .dh-cos__btns, .c-duhem:not(.dh-js) .dh-chain__btns { display: none; }
@media (max-width: 520px) {
  .dh-vd__who { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 8px; }
  .dh-vd__b span { font-size: 13px; }
  .dh-orb__src { width: 40%; }
  .dh-en span:first-child { font-size: 24px; }
}
