/* 柯林武德 · 考古探方：一张考古剖面图。读者站在探方里，两侧探方壁按剖面图的画法露出地层（越往下越深），
   探方里是白纸；唯一的强调色是罗马萨摩斯陶片的红（也是考古测杆的红），湖区的灰蓝只给水。 */
.c-collingwood {
  --bg: #ebe5d7; --paper: #f7f3ea; --stone: #e0d9c8; --ink: #221d17; --ink-2: #4b4136; --ink-3: #685d50; --rule: rgba(34, 29, 23, .2);
  --acc: #a2402a; --acc-ink: #fff8f1; --lake: #3e5b67;
  --head: "Noto Serif SC", "Songti SC", serif; --body: "Noto Serif SC", "Songti SC", serif;
  --lat: "Cinzel", "Noto Serif SC", serif; --hand: "Long Cang", "Noto Serif SC", cursive;
  --bar-bg: rgba(235, 229, 215, .94); --chip-bg: rgba(247, 243, 234, .94); --chip-ring: #f7f3ea;
  --wall: clamp(12px, 11vw - 36px, 150px); --gut: clamp(14px, 3vw, 44px);
  /* 探方壁的土色：从表土到基岩 */
  --s0: #57432f; --s1: #614a33; --s2: #74583b; --s3: #8a6b45; --s4: #9e8158; --s5: #8d7b62; --s6: #7b735f; --s7: #8e887a; --s8: #66635b;
  --d1: #8a6b45; --d2: #9e8158; --d3: #8d7b62; --d4: #7b735f;
  --n1: #b39a72; --n2: #8a6b45; --n3: #6b5136;
  /* 剖面图的图例：点、短划、细砂、砾石、岩层 */
  --h-loam: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cg fill='%23221d17' fill-opacity='.42'%3E%3Ccircle cx='4' cy='6' r='1.1'/%3E%3Ccircle cx='17' cy='3' r='.9'/%3E%3Ccircle cx='29' cy='9' r='1.2'/%3E%3Ccircle cx='40' cy='4' r='.8'/%3E%3Ccircle cx='9' cy='19' r='.9'/%3E%3Ccircle cx='23' cy='16' r='1.1'/%3E%3Ccircle cx='36' cy='21' r='1'/%3E%3Ccircle cx='3' cy='31' r='1'/%3E%3Ccircle cx='15' cy='28' r='1.2'/%3E%3Ccircle cx='28' cy='33' r='.9'/%3E%3Ccircle cx='41' cy='35' r='1.1'/%3E%3Ccircle cx='10' cy='41' r='.8'/%3E%3Ccircle cx='22' cy='40' r='1'/%3E%3Ccircle cx='34' cy='43' r='.9'/%3E%3C/g%3E%3C/svg%3E");
  --h-clay: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cg stroke='%23221d17' stroke-opacity='.42' stroke-width='1.1' stroke-linecap='round'%3E%3Cpath d='M3 6h7M20 4h8M34 8h6M8 17h8M25 19h7M2 29h6M15 27h9M31 31h8M6 39h8M22 41h6M36 40h6'/%3E%3C/g%3E%3C/svg%3E");
  --h-sand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cg fill='%23221d17' fill-opacity='.4'%3E%3Ccircle cx='3' cy='3' r='.7'/%3E%3Ccircle cx='11' cy='6' r='.6'/%3E%3Ccircle cx='19' cy='2' r='.7'/%3E%3Ccircle cx='26' cy='8' r='.6'/%3E%3Ccircle cx='6' cy='12' r='.6'/%3E%3Ccircle cx='15' cy='14' r='.7'/%3E%3Ccircle cx='23' cy='16' r='.6'/%3E%3Ccircle cx='2' cy='20' r='.7'/%3E%3Ccircle cx='10' cy='22' r='.6'/%3E%3Ccircle cx='19' cy='24' r='.7'/%3E%3Ccircle cx='27' cy='22' r='.6'/%3E%3Ccircle cx='6' cy='28' r='.6'/%3E%3Ccircle cx='14' cy='29' r='.7'/%3E%3Ccircle cx='24' cy='29' r='.6'/%3E%3C/g%3E%3C/svg%3E");
  --h-gravel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cg fill='none' stroke='%23221d17' stroke-opacity='.48' stroke-width='1'%3E%3Cellipse cx='8' cy='9' rx='4.5' ry='3'/%3E%3Cellipse cx='31' cy='6' rx='3.2' ry='2.3'/%3E%3Cellipse cx='23' cy='25' rx='5.5' ry='3.6'/%3E%3Cellipse cx='6' cy='36' rx='3.2' ry='2.5'/%3E%3Cellipse cx='39' cy='35' rx='4.4' ry='3.1'/%3E%3Cellipse cx='42' cy='18' rx='2.4' ry='1.8'/%3E%3C/g%3E%3Cg fill='%23221d17' fill-opacity='.35'%3E%3Ccircle cx='17' cy='14' r='.8'/%3E%3Ccircle cx='33' cy='44' r='.8'/%3E%3Ccircle cx='15' cy='44' r='.8'/%3E%3C/g%3E%3C/svg%3E");
  --h-rock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='32'%3E%3Cg stroke='%23221d17' stroke-opacity='.42' stroke-width='1' fill='none'%3E%3Cpath d='M0 .5h48M0 16.5h48'/%3E%3Cpath d='M12 .5v16M36 16.5v16'/%3E%3Cpath d='M18 4l6 9M42 20l-6 9M3 21l5 8'/%3E%3C/g%3E%3C/svg%3E");
  background: var(--bg);
}
.c-collingwood .dlg { --dlg-bg: #ebe4d4; --dlg-paper: #f8f4ec; --dlg-ink: #221d17; --dlg-ink-2: #4b4136; --dlg-ink-3: #6a5f52; --dlg-me: #3a2d22; --dlg-me-ink: #f8f4ec; --dlg-acc: #9a3b26; }
.c-collingwood .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 页头：底边是一把带刻度的卷尺 */
.c-collingwood .c3bar { border-bottom: 0; box-shadow: 0 1px 0 var(--ink); }
.c-collingwood .c3bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(34, 29, 23, .55) 0 1px, transparent 1px 10px), repeating-linear-gradient(90deg, rgba(34, 29, 23, .8) 0 1px, transparent 1px 50px);
  background-size: 100% 4px, 100% 9px; background-position: 0 100%, 0 100%; background-repeat: no-repeat; }
.c-collingwood .c3bar__t a { font-family: var(--lat); font-weight: 700; letter-spacing: .02em; }
.c-collingwood .c3bar__prog { height: 3px; bottom: -2px; z-index: 1; }

/* 目录：一根红白相间的考古测杆，立在右侧探方壁里 */
.c-collingwood .c3toc { right: calc(var(--wall) / 2 - 20px); }
.c-collingwood .c3toc .cw-rod { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; filter: drop-shadow(3px 4px 0 rgba(0, 0, 0, .18)); }
.cw-rod li { position: relative; }
.c-collingwood .cw-rod a { position: relative; display: block; width: 40px; height: 40px; padding: 0; background: transparent; color: var(--ink); text-decoration: none; }
.c-collingwood .cw-rod a::after { content: ""; display: block; position: absolute; left: 11px; top: 0; width: 18px; height: 100%; border: 0; border-radius: 0;
  background: #b5402b; box-shadow: inset 1.5px 0 0 var(--ink), inset -1.5px 0 0 var(--ink); }
.cw-rod li:nth-child(even) a::after { background: #f4efe6; }
.cw-rod li:first-child a::after { box-shadow: inset 1.5px 0 0 var(--ink), inset -1.5px 0 0 var(--ink), inset 0 1.5px 0 var(--ink); }
.cw-rod li:last-child a::after { box-shadow: inset 1.5px 0 0 var(--ink), inset -1.5px 0 0 var(--ink), inset 0 -1.5px 0 var(--ink); }
.c-collingwood .cw-rod a b, .c-collingwood .cw-rod a span { position: absolute; right: calc(100% - 2px); top: 50%; transform: translateY(-50%); max-width: none; white-space: nowrap;
  padding: 2px 8px; background: var(--paper); border: 1px solid var(--ink); font-size: 12.5px; line-height: 1.5; font-weight: 600; color: var(--ink); opacity: 0; pointer-events: none; transition: opacity .2s; }
.c-collingwood .cw-rod a span { font-weight: 400; right: calc(100% + 56px); max-width: 26em; overflow: hidden; text-overflow: ellipsis; }
.c-collingwood .cw-rod a:hover b, .c-collingwood .cw-rod a:hover span, .c-collingwood .cw-rod a:focus-visible b, .c-collingwood .cw-rod a:focus-visible span { opacity: 1; }
.c-collingwood .cw-rod a[aria-current="true"] { z-index: 1; }
.c-collingwood .cw-rod a[aria-current="true"]::after { box-shadow: 0 0 0 2.5px var(--ink); }
.c-collingwood .cw-rod a[aria-current="true"] b { opacity: 1; }
.c-collingwood .cw-rod a[aria-current="true"]::before { content: ""; position: absolute; left: calc(100% - 6px); top: 50%; margin-top: -6px; border: 6px solid transparent; border-right: 9px solid var(--paper); filter: drop-shadow(-1px 0 0 var(--ink)); }

/* 探方壁 */
.cw-wall { position: absolute; top: 0; bottom: 0; z-index: 0; width: var(--wall); pointer-events: none;
  background-color: var(--soil); background-image: var(--hatch); background-size: 44px 44px; }
.cw-wall--l { left: 0; box-shadow: inset -2px 0 0 var(--ink); }
.cw-wall--r { right: 0; box-shadow: inset 2px 0 0 var(--ink); }
.cw-wall__top { position: absolute; left: 0; top: -1px; width: 100%; height: 26px; overflow: visible; }
.cw-wall__top .f { fill: var(--soil-up); }
.cw-wall__top .l { fill: none; stroke: var(--ink); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.cw-wall__n { position: absolute; top: 54px; left: 50%; transform: translateX(-50%); display: none; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--ink); background: var(--paper); font: 600 16px/35px var(--lat); text-align: center; color: var(--ink); }
.c-collingwood .c3hero { --soil: var(--s0); --hatch: var(--h-loam); }
.c-collingwood .c3q--1 { --soil: var(--s1); --soil-up: var(--s0); --hatch: var(--h-loam); }
.c-collingwood .c3q--2 { --soil: var(--s2); --soil-up: var(--s1); --hatch: var(--h-clay); }
.c-collingwood .c3q--3 { --soil: var(--s3); --soil-up: var(--s2); --hatch: var(--h-sand); }
.c-collingwood .c3q--4 { --soil: var(--s4); --soil-up: var(--s3); --hatch: var(--h-sand); }
.c-collingwood .c3q--5 { --soil: var(--s5); --soil-up: var(--s4); --hatch: var(--h-clay); }
.c-collingwood .c3q--6 { --soil: var(--s6); --soil-up: var(--s5); --hatch: var(--h-gravel); }
.c-collingwood .c3q--7 { --soil: var(--s7); --soil-up: var(--s6); --hatch: var(--h-rock); }
.c-collingwood .c3end { --soil: var(--s8); --soil-up: var(--s7); --hatch: var(--h-rock); }

/* 首屏：地表以上是遗址，地表以下探方开始 */
.c-collingwood .c3hero { padding: var(--bar) 0 0; display: flex; flex-direction: column; }
.cw-above { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px) minmax(0, 1fr); column-gap: 24px; align-items: start;
  padding: 20px calc(var(--wall) + var(--gut)) 0; }
.cw-site__img { grid-column: 1 / -1; position: relative; height: clamp(170px, 26.5vh, 330px); border: 1.5px solid var(--ink); background: var(--paper); overflow: hidden; }
.cw-site__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; mix-blend-mode: multiply; }
.cw-site__cap { grid-column: 3; grid-row: 2; margin: 10px 0 0; font-size: 12.5px; line-height: 1.65; color: var(--ink-2); }
.cw-plaque { grid-column: 2; grid-row: 2; position: relative; z-index: 2; margin: -96px 44px 0; padding: 14px 22px 12px; text-align: center;
  background-color: var(--stone); background-image: var(--h-sand); background-size: 30px 30px;
  border: 2px solid var(--ink); box-shadow: inset 0 0 0 5px var(--stone), inset 0 0 0 6.5px var(--ink), 0 10px 0 -4px rgba(0, 0, 0, .12); }
.cw-plaque::before, .cw-plaque::after { content: ""; position: absolute; top: 18%; bottom: 18%; width: 40px; background-repeat: no-repeat; background-size: 100% 100%; }
.cw-plaque::before { right: calc(100% - 1px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 100' preserveAspectRatio='none'%3E%3Cpath d='M1 1 L39 50 L1 99 Z' fill='%23e0d9c8' stroke='%23221d17' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.cw-plaque::after { left: calc(100% - 1px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 100' preserveAspectRatio='none'%3E%3Cpath d='M39 1 L1 50 L39 99 Z' fill='%23e0d9c8' stroke='%23221d17' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.cw-plaque__k { margin: 0; font-size: 13px; letter-spacing: .2em; color: var(--acc); }
.cw-plaque h1 { margin: 2px 0 0; font-family: var(--head); font-weight: 900; font-size: clamp(50px, 6vw, 86px); line-height: 1.04; letter-spacing: .08em; }
.cw-plaque__lat { margin: 6px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; font-family: var(--lat); font-size: clamp(14px, 1.5vw, 19px); letter-spacing: .14em; }
.cw-plaque__y { color: var(--ink-2); }
.cw-below { position: relative; flex: 1; padding: 0 calc(var(--wall) + var(--gut)) 64px; }
.cw-below .cw-wall { top: 22px; }
.cw-ground { position: relative; z-index: 1; display: block; width: calc(100% + 2 * (var(--wall) + var(--gut))); height: 34px; margin: 0 calc(-1 * (var(--wall) + var(--gut))); overflow: hidden;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='230' height='34'%3E%3Cg stroke='%23221d17' stroke-width='1.2' fill='none' stroke-linecap='round'%3E%3Cpath d='M34 19l-3-9M38 19l1-11M42 19l5-8M150 20l-4-8M154 20l0-10M158 20l4-7M206 18l-3-8M210 18l2-9'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 230px 34px repeat-x; }
.cw-below__in { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; }
.cw-who { margin: 4px 0 2px; text-align: center; font-size: clamp(18px, 1.6vw, 21px); font-weight: 700; }
.cw-now { margin: 0 0 14px; text-align: center; font-size: 14px; color: var(--ink-2); }
.cw-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .95fr); gap: 26px; align-items: start; }
.cw-cols .mk { margin-bottom: 6px; }
.c-collingwood .mk { margin: 0 0 8px; font-size: 12.5px; letter-spacing: .14em; color: var(--acc); font-weight: 600; }
.cw-rel { padding: 14px 16px; background: var(--paper); border: 1px solid var(--ink); border-top: 4px solid var(--acc); }
.cw-rel > p:not(.mk):not(.cw-go) { margin: 0; font-size: 15px; line-height: 1.8; }
.cw-go { margin: 14px 0 0; }
.c-collingwood .c3-btn { border-radius: 0; font-family: var(--body); border-color: var(--ink); min-height: 40px; }
.c-collingwood .c3-btn--go { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.c-collingwood .c3-btn--deep { background: var(--paper); color: var(--ink); }
.cw-log ol { list-style: none; margin: 0; padding: 0; border: 2px solid var(--ink); }
.cw-log li { background-color: color-mix(in srgb, var(--soil) 26%, var(--paper)); }
.cw-log li + li { border-top: 1px solid var(--ink); }
.cw-log a { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 40px; padding: 5px 10px; text-decoration: none; }
.cw-log a i { width: 26px; height: 26px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); font: 600 13px/23px var(--lat); font-style: normal; text-align: center; }
.cw-log a b { font-weight: 600; font-size: 15px; line-height: 1.45; }
.cw-log a small { font-family: var(--lat); font-size: 12.5px; color: var(--ink-2); }
.cw-log a:hover b, .cw-log a:focus-visible b { text-decoration: underline; text-decoration-color: var(--acc); text-underline-offset: 3px; }
.cw-books .c3-books li { padding: 5px 0; font-size: 14.5px; }
.cw-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, .9fr); gap: 26px; margin-top: 34px; padding-top: 20px; border-top: 1.5px dashed var(--ink); }
.cw-facts { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.c-collingwood .c3-feats { margin: 0; padding: 0; list-style: none; counter-reset: f; }
.c-collingwood .c3-feats li { counter-increment: f; position: relative; padding: 4px 0 6px 30px; font-size: 14.5px; line-height: 1.65; border-bottom: 1px dotted var(--rule); }
.c-collingwood .c3-feats li::before { content: counter(f); position: absolute; left: 0; top: 6px; width: 21px; height: 21px; border: 1px solid var(--ink); border-radius: 50%; font: 600 11px/19px var(--lat); text-align: center; }
.c-collingwood .c3-links li { font-size: 14px; }

/* 每一层 */
.c-collingwood .c3q { display: block; padding: calc(var(--bar) + 50px) calc(var(--wall) + var(--gut)) 70px; }
.cw-layer { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; display: grid; column-gap: clamp(26px, 4vw, 64px);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "art head" "art body"; align-items: start; }
.cw-layer--l { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-areas: "head art" "body art"; }
.cw-head { grid-area: head; } .cw-art { grid-area: art; position: relative; container-type: inline-size; } .cw-body { grid-area: body; }
.cw-ctx { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 14px; color: var(--ink-2); }
.cw-ctx__n { padding: 1px 8px; border: 1.5px solid var(--ink); background: var(--paper); font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: .1em; }
.cw-ctx b { font-family: var(--lat); font-weight: 600; font-size: 28px; line-height: 1; color: var(--acc); }
.c-collingwood .c3q__q { margin: 10px 0 16px; font-size: clamp(29px, 3.1vw, 43px); letter-spacing: .02em; text-wrap: balance; }
.c-collingwood .c3q__lede { font-size: 16.5px; line-height: 1.9; text-align: justify; }
.c-collingwood .c3-quote { margin: 20px 0; padding: 14px 16px 12px 18px; background: var(--paper); border: 1px solid var(--ink); border-left: 5px solid var(--acc); position: relative; }
.c-collingwood .c3-quote::before { content: ""; position: absolute; top: 8px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #c9bfae, #5a5047); box-shadow: 0 1px 1px rgba(0, 0, 0, .4); }
.c-collingwood .c3-quote blockquote p { font-size: 17.5px; }
.c-collingwood .c3-orig { color: var(--ink-2); }
.c-collingwood .c3-tags li { border-radius: 0; border-color: var(--ink); background: var(--paper); color: var(--ink); }
.c-collingwood .c3-works li a { text-decoration-color: var(--acc); text-underline-offset: 3px; }
.c-collingwood .talk { border-radius: 2px; border-color: var(--ink); }
.c-collingwood .c3-ask { border-color: var(--ink-3); border-radius: 0; background: var(--paper); }
.c-collingwood .c3-deeplink { color: var(--acc); }

/* 出土物：图、吊牌、图注 */
.cw-fig { margin: 0; }
.cw-fig__img { position: relative; }
.cw-fig img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.cw-fig figcaption, .cw-cap { margin: 10px 0 0; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.cw-fig--inset { max-width: 260px; margin-top: 18px; }
.cw-tag { position: absolute; z-index: 2; top: -12px; right: 16px; padding: 5px 12px 6px 22px; transform: rotate(3deg); background: #e8d6ad; color: #3a2c1c;
  font: 21px/1 var(--hand); white-space: nowrap; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .25)); }
.cw-site__img .cw-tag, .cw-walk__pic .cw-tag, .cw-sea__pic .cw-tag, .cw-day__pic .cw-tag { top: 12px; }
.cw-nb { display: inline-block; }
.cw-tag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); }
.cw-gk { margin: 0 0 10px; font-size: 13px; letter-spacing: .14em; color: var(--acc); font-weight: 600; }
.cw-ctl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cw-ctl[hidden] { display: none; }
.cw-b { min-height: 40px; padding: 7px 14px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: 14.5px; line-height: 1.3; cursor: pointer; }
.cw-b:hover { background: #fffdf8; box-shadow: 2px 2px 0 var(--ink); }
.cw-b:active { box-shadow: none; transform: translate(1px, 1px); }
.cw-b--go { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.cw-b--go:hover { background: #8f3622; }
.cw-b--x { border-color: var(--ink-3); color: var(--ink-2); }
.cw-b[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.cw-b[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.cw-out { margin: 10px 0 0; min-height: 1.7em; font-size: 14.5px; line-height: 1.75; color: var(--ink); }
.cw-out:empty { display: none; }
.cw-out b { color: var(--acc); }

/* 机关一：先问，再往下挖 */
.cw-dig__site { position: relative; border: 1.5px solid var(--ink); border-bottom: 0; background: var(--paper); }
.cw-dig__site img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.cw-dig__sec { position: relative; border: 1.5px solid var(--ink); border-top: 3px solid var(--ink); background: var(--paper); }
.cw-dig__lab { display: flex; justify-content: space-between; margin: 0; padding: 3px 10px; font-size: 12px; color: var(--ink-2); border-bottom: 1px solid var(--ink); }
.cw-dig__st { list-style: none; margin: 0; padding: 0; }
.cw-st { position: relative; padding: 10px 14px 12px 48px; background: color-mix(in srgb, var(--soil) 18%, var(--paper)); }
.cw-st + .cw-st { border-top: 1px solid rgba(34, 29, 23, .55); }
.cw-st__q { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.6; }
.cw-st__n { position: absolute; z-index: 2; left: 12px; top: 10px; width: 25px; height: 25px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper);
  font: 600 13px/22px var(--lat); font-style: normal; text-align: center; }
.cw-st__a { margin: 3px 0 0; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.cw-dig.is-js .cw-st::after { content: ""; position: absolute; inset: 0; z-index: 1; background-color: var(--soil); background-image: var(--h-loam); background-size: 44px 44px;
  transform-origin: 50% 100%; transition: transform .9s cubic-bezier(.6, 0, .3, 1), opacity .9s; }
.cw-dig.is-js .cw-st > p { opacity: 0; transition: opacity .6s .5s; }
.cw-dig.is-js .cw-st.is-dug::after { transform: scaleY(0); opacity: .2; }
.cw-dig.is-js .cw-st.is-dug > p { opacity: 1; }
.cw-dig.is-js .cw-st.is-shake::after { animation: cw-shake .6s; }
.cw-dig.is-js .cw-st.is-next::after { box-shadow: inset 0 0 0 3px var(--acc); }
@keyframes cw-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-5px) rotate(-.6deg); } 40% { transform: translateX(5px) rotate(.6deg); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }

/* 机关二：每天走过一次 */
.cw-walk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 18px; align-items: start; }
.cw-walk__pic { position: relative; border: 1.5px solid var(--ink); background: #ddd6c7; overflow: hidden; }
.cw-walk__pic img { display: block; width: 100%; height: auto; transition: filter 1.4s ease, transform 1.4s ease; }
.cw-walk.is-js .cw-walk__pic img { filter: blur(var(--blur, 0px)) grayscale(var(--gray, 0)) contrast(var(--con, 1)); transform: scale(var(--zoom, 1)); }
.cw-walk__log { padding: 12px 14px 14px; background-color: #fbf8f1; border: 1px solid var(--ink);
  background-image: linear-gradient(90deg, transparent 30px, rgba(162, 64, 42, .35) 30px 31px, transparent 31px), repeating-linear-gradient(transparent 0 27px, rgba(62, 91, 103, .2) 27px 28px); }
.cw-walk__day { display: flex; align-items: center; gap: 12px; margin: 0 0 6px 24px; font-size: 13px; color: var(--ink-2); }
.cw-walk__n { font-weight: 600; }
.cw-tally { display: inline-block; height: 20px; width: calc(var(--n, 0) * 7px); background: repeating-linear-gradient(90deg, var(--ink) 0 1.6px, transparent 1.6px 7px); transform: skewX(-8deg); }
.cw-walk__qs { margin: 0; padding: 0 0 0 26px; list-style: none; counter-reset: dd; }
.cw-walk__qs li { counter-increment: dd; position: relative; margin: 0 0 6px; padding-left: 8px; font-size: 14.5px; line-height: 1.75; }
.cw-walk__qs li::before { content: counter(dd); position: absolute; left: -24px; top: 2px; font: 600 12px/1.6 var(--lat); color: var(--acc); }
.cw-walk__end { margin: 10px 0 0 34px; font-weight: 700; font-size: 15px; line-height: 1.75; }
.cw-walk.is-js .cw-walk__qs li { display: none; }
.cw-walk.is-js .cw-walk__qs li.is-on { display: block; }
.cw-walk.is-js .cw-walk__qs li.is-new { animation: cw-in .7s ease; }
.cw-walk.is-js .cw-walk__end { display: none; }
.cw-walk.is-js.is-done .cw-walk__end { display: block; animation: cw-in .9s ease; }
.cw-walk .cw-ctl { margin-left: 26px; }
.cw-walk .cw-out { margin-left: 26px; font-size: 13.5px; color: var(--ink-2); }
.cw-walk .cw-cap { grid-column: 1 / -1; margin: 0; }
@container (max-width: 540px) { .cw-walk { grid-template-columns: minmax(0, 1fr); } .cw-walk__pic { max-width: 340px; } }
@keyframes cw-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 机关三：刷开三层自然 */
.cw-nat { padding: 14px 16px 16px; background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 rgba(34, 29, 23, .14); }
.cw-nat__ls { list-style: none; margin: 0; padding: 0; border: 2px solid var(--ink); }
.cw-nl { position: relative; display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 160px; padding: 12px 14px;
  background: color-mix(in srgb, var(--soil) 24%, var(--paper)); }
.cw-nl + .cw-nl { border-top: 2px solid var(--ink); }
.cw-nl__find svg { display: block; width: 100%; height: auto; overflow: visible; }
.cw-nl__find--img img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.cw-nl__t p { margin: 0; font-size: 14.5px; line-height: 1.75; }
.cw-nl__q { font-weight: 900; font-size: 18px !important; line-height: 1.4 !important; }
.cw-nl__q i { margin-right: 8px; padding: 0 6px; border: 1px solid var(--ink); background: var(--paper); font-style: normal; font-size: 12px; font-weight: 600; vertical-align: 3px; }
.cw-nl__w { margin: 2px 0 6px !important; font-size: 12.5px !important; color: var(--ink-2); letter-spacing: .06em; }
.cw-sprout .g { fill: none; stroke: #3d4a2a; stroke-width: 2.4; stroke-linecap: round; }
.cw-sprout .b { fill: #6e8a3e; stroke: #3d4a2a; stroke-width: 1.2; }
.cw-gears path, .cw-gears circle { fill: #e9e2d3; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.cw-gears path + circle + path { fill: none; }
.cw-g1, .cw-g2 { transform-box: fill-box; transform-origin: 50% 50%; }
.cw-nat canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; transition: opacity .9s ease; }
.cw-nl.is-locked canvas { cursor: not-allowed; }
.cw-nl.is-done canvas { opacity: 0; pointer-events: none; }
.cw-nl.is-next { outline: 3px solid var(--acc); outline-offset: -3px; z-index: 1; }
.cw-nl__hint { position: absolute; z-index: 3; right: 10px; top: 10px; display: none; padding: 2px 8px; background: var(--paper); border: 1px solid var(--ink); font-size: 12.5px; line-height: 1.5; pointer-events: none; }
.cw-nat.is-js .cw-nl:not(.is-done) .cw-nl__hint { display: block; }
.cw-nl.is-next .cw-nl__hint { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.cw-nat.is-js .cw-sprout .g { stroke-dasharray: 140; stroke-dashoffset: 140; }
.cw-nat.is-js .cw-sprout .b { opacity: 0; }
.cw-nat .is-done .cw-sprout .g { animation: cw-grow 2.6s ease forwards; }
.cw-nat .is-done .cw-sprout .b { animation: cw-bud .5s 2.2s ease forwards; }
.cw-nat .is-done .cw-g1 { animation: cw-rot 9s linear infinite; }
.cw-nat .is-done .cw-g2 { animation: cw-rot 6.75s linear infinite reverse; }
@keyframes cw-grow { to { stroke-dashoffset: 0; } }
@keyframes cw-bud { to { opacity: 1; } }
@keyframes cw-rot { to { transform: rotate(360deg); } }

/* 机关四：事件的外面与内面 */
.cw-fig--wide .cw-fig__img { border: 1.5px solid var(--ink); background: var(--paper); }
.cw-io { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 18px; }
.cw-io__c { position: relative; padding: 14px 16px 16px; background: var(--paper); border: 1.5px solid var(--ink); }
.cw-io__k { margin: 0; font-size: 12.5px; letter-spacing: .14em; color: var(--ink-2); }
.cw-io__q { margin: 2px 0 10px; font-weight: 700; font-size: 17px; line-height: 1.5; }
.cw-io__a { margin: 10px 0 0; font-size: 14.5px; line-height: 1.75; }
.cw-litmus { display: block; width: 140px; max-width: 100%; height: 20px; border: 1px solid var(--ink); background: #4f6fa3;
  background-image: linear-gradient(90deg, #d7738e 0 var(--cw-dip, 0%), transparent var(--cw-dip, 0%)); transition: --cw-dip 1.4s; }
.cw-io__c.is-open .cw-litmus { --cw-dip: 62%; }
.cw-io:not(.is-js) .cw-litmus { --cw-dip: 62%; }
.cw-think { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--bg); font: 900 22px/1 var(--head); font-style: normal; }
.cw-io.is-js .cw-io__a { display: none; }
.cw-io.is-js .cw-io__c.is-open .cw-io__a { display: block; animation: cw-in .6s ease; }
.cw-io .cw-b { margin-top: 12px; }
@property --cw-dip { syntax: "<percentage>"; inherits: false; initial-value: 0%; }

/* 机关五：从黑暗到光天化日 */
.cw-day__pic { position: relative; overflow: hidden; border: 1.5px solid var(--ink); background: var(--paper); }
.cw-day__pic img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.cw-day__dark { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, #11141b 0%, #1d2330 55%, #2b2a2c 100%); mix-blend-mode: multiply; transition: opacity 2.8s ease; }
.cw-day.is-dark .cw-day__dark { opacity: .92; transition-duration: .6s; }
.cw-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 16px 0 0; }
.cw-two > div { padding: 10px 12px; border: 1px solid var(--ink); background: var(--paper); }
.cw-two > div:last-child { border-color: var(--acc); box-shadow: inset 0 3px 0 var(--acc); }
.cw-two dt { font-weight: 700; font-size: 14.5px; }
.cw-two dd { margin: 4px 0 0; font-size: 14px; line-height: 1.7; color: var(--ink-2); }

/* 机关六：追问到底 */
.cw-core { padding: 14px 16px 16px; background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 rgba(34, 29, 23, .14); }
.cw-core__in { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 18px; align-items: start; }
.cw-core__bore { position: relative; padding-top: 30px; }
.cw-core__rig { position: absolute; left: 50%; top: 0; width: 46px; height: 30px; transform: translateX(-50%);
  background: linear-gradient(var(--ink), var(--ink)) 50% 0 / 3px 100% no-repeat; }
.cw-core__rig::before { content: ""; position: absolute; left: 3px; right: 3px; top: 2px; bottom: 0; border: 2px solid var(--ink); border-top: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: transparent;
  background-image: linear-gradient(to top right, transparent calc(50% - 1px), var(--ink) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)), linear-gradient(to top left, transparent calc(50% - 1px), var(--ink) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); }
.cw-core__bore ol { list-style: none; margin: 0; padding: 0; border-left: 1px dashed var(--ink-3); border-right: 1px dashed var(--ink-3); }
.cw-core__bore li { position: relative; height: 78px; margin: 0 auto 3px; width: 44px; border: 1.5px solid var(--ink); border-radius: 22px / 8px;
  background-color: #b49a6e; background-image: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(255, 255, 255, .22) 42%, rgba(0, 0, 0, .3)), var(--h-sand); background-size: auto, 30px 30px; }
.cw-core__bore li:nth-child(2) { background-color: #9e8158; }
.cw-core__bore li:nth-child(3) { background-color: #8d7b62; }
.cw-core__bore li.is-bed { height: 92px; background-color: #57544d; background-image: linear-gradient(90deg, rgba(0, 0, 0, .3), rgba(255, 255, 255, .18) 42%, rgba(0, 0, 0, .34)), var(--h-rock); background-size: auto, 48px 32px; }
.cw-core__bore li span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); writing-mode: vertical-rl; padding: 4px 1px; background: var(--paper); border: 1px solid var(--ink);
  font-size: 11.5px; letter-spacing: .1em; line-height: 1.2; white-space: nowrap; }
.cw-core__bore li.is-bed span { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.cw-core__chat { list-style: none; margin: 0; padding: 0; }
.cw-core__talk { min-width: 0; padding-top: 4px; }
.cw-core__talk .cw-out { margin-top: 0; padding: 8px 12px; background: #fbf8f1; border: 1px dashed var(--ink-3); }
.cw-cs { margin: 0 0 12px; }
.cw-cs p { margin: 0; font-size: 14.5px; line-height: 1.75; }
.cw-cs b { display: inline-block; margin-right: 8px; padding: 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; border: 1px solid var(--ink); vertical-align: 1px; }
.cw-cs__q { color: var(--ink-2); }
.cw-cs__a { margin-top: 3px !important; padding-left: 16px; border-left: 3px solid var(--rule); }
.cw-cs__a b { background: var(--ink); color: var(--paper); }
.cw-cs[data-n="4"] .cw-cs__a { border-left-color: var(--acc); }
.cw-cs--calm .cw-cs__a b { background: var(--paper); color: var(--ink); }
.cw-core.is-js .cw-cs { display: none; }
.cw-core.is-js .cw-cs.is-on { display: block; animation: cw-in .6s ease; }
.cw-core.is-js .cw-cs[data-n="4"].is-on .cw-cs__a { animation: cw-shake .7s .35s; }
.cw-core.is-js .cw-core__bore li { opacity: .14; transform: translateY(-8px); transition: opacity .6s, transform .6s; }
.cw-core.is-js .cw-core__bore li.is-on { opacity: 1; transform: none; }
.cw-bed { margin-top: 16px; padding-top: 12px; border-top: 1.5px dashed var(--ink); }
.cw-bed__k { margin: 0 0 8px; font-size: 13.5px; font-weight: 600; }
.cw-seg { display: flex; flex-wrap: wrap; gap: 0; }
.cw-seg .cw-b + .cw-b { margin-left: -1.5px; }
.cw-bed__ls { list-style: none; margin: 10px 0 0; padding: 0; }
.cw-bed__ls li { padding: 4px 0; font-size: 15px; line-height: 1.7; }
.cw-bed__ls b { margin-right: 10px; color: var(--acc); }
.cw-bed.is-js .cw-bed__ls li { display: none; }
.cw-bed.is-js .cw-bed__ls li.is-on { display: block; animation: cw-in .4s ease; }

/* 机关七：沉降与抬升 */
.cw-sea { margin: 0 auto; max-width: 440px; }
.cw-sea__pic { position: relative; overflow: hidden; border: 1.5px solid var(--ink); background: var(--paper); }
.cw-sea__pic img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.cw-sea__w { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: calc(24.7% + var(--rise, 0) * 25.6%); opacity: min(1, calc(var(--rise, 0) * 3));
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .0) 0 5px, rgba(255, 255, 255, .22) 5px 6px), linear-gradient(180deg, rgba(62, 91, 103, .62), rgba(46, 70, 82, .78));
  mix-blend-mode: multiply; pointer-events: none; }
.cw-sea__w::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 8px;
  background: radial-gradient(10px 5px at 10px 6px, rgba(62, 91, 103, .62) 98%, transparent) 0 0 / 20px 8px repeat-x; }
.cw-sea__band { position: absolute; z-index: 2; left: 69.5%; top: 49.5%; width: 11.5%; height: 12.8%; border: 2px dashed var(--acc); opacity: 0; transition: opacity .6s; pointer-events: none; }
.cw-sea__band b { position: absolute; right: calc(100% + 6px); top: 50%; transform: translateY(-50%); padding: 1px 6px; background: var(--acc); color: var(--acc-ink); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.cw-sea.is-deep .cw-sea__band { opacity: 1; }
.cw-sea__ctl { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.cw-sea__ctl[hidden] { display: none; }
.cw-sea__ctl label { font-weight: 700; color: var(--ink); }
.cw-sea input[type="range"] { width: 100%; min-height: 40px; accent-color: var(--lake); cursor: pointer; }
.cw-sea figcaption { margin: 10px 0 0; font-size: 13px; line-height: 1.7; color: var(--ink-2); }

/* 结尾：探方到底，见了基岩 */
.c-collingwood .c3end { padding: calc(var(--bar) + 50px) calc(var(--wall) + var(--gut)) 70px; }
.cw-end { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; }
.cw-end .cw-ctx { margin-bottom: 8px; }
.c-collingwood .c3end h2 { font-weight: 900; font-size: clamp(30px, 3.4vw, 46px); }
.c-collingwood .c3end h3 { margin-top: 34px; font-size: 18px; }
.c-collingwood .c3-lin li { position: relative; border-radius: 0; border: 1.5px solid var(--ink); background: var(--paper); padding: 12px 14px 12px 16px; }
.c-collingwood .c3-lin li::before { content: ""; position: absolute; left: -1.5px; top: -1.5px; bottom: -1.5px; width: 5px; background: var(--acc); }
.c-collingwood .c3-lin .rel { border-radius: 0; flex: none; white-space: nowrap; }
.c-collingwood .c3-credits, .c-collingwood .c3-fine { color: var(--ink-2); }
.c-collingwood .c3-endgo .c3-btn { background: var(--paper); }
.c-collingwood .c3-endgo .c3-btn--deep { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }

@media (min-width: 900px) { .cw-wall__n { display: block; } }
@media (max-width: 1240px) {
  .cw-above { grid-template-columns: minmax(0, 1fr); }
  .cw-site__img { grid-column: 1; }
  .cw-plaque { grid-column: 1; grid-row: auto; margin: -56px auto 0; width: min(600px, calc(100% - 96px)); }
  .cw-site__cap { grid-column: 1; grid-row: auto; max-width: 46em; margin: 12px auto 0; text-align: center; }
  .c-collingwood .cw-rod a[aria-current="true"] b, .c-collingwood .cw-rod a[aria-current="true"]::before { opacity: 0; }
  .c-collingwood .cw-rod a[aria-current="true"]:hover b, .c-collingwood .cw-rod a[aria-current="true"]:focus-visible b { opacity: 1; }
}
@media (max-width: 1180px) {
  .cw-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cw-books { grid-column: 1 / -1; }
  .cw-books .c3-books { columns: 2; column-gap: 26px; }
  .cw-books .c3-books li { break-inside: avoid; }
}
@media (max-width: 960px) {
  .cw-layer, .cw-layer--l { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "art" "body"; }
  .cw-art { margin: 6px 0 22px; }
  .cw-plaque { width: min(560px, calc(100% - 64px)); margin-top: -46px; }
  .cw-band { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 640px) {
  .cw-cols { grid-template-columns: minmax(0, 1fr); }
  .cw-books .c3-books { columns: 1; }
  .cw-plaque { width: calc(100% - 40px); padding: 12px 10px 10px; }
  .cw-plaque::before, .cw-plaque::after { width: 22px; }
  .cw-plaque h1 { letter-spacing: .04em; }
  .cw-walk { grid-template-columns: minmax(0, 1fr); }
  .cw-walk__pic { max-width: 300px; }
  .cw-io { grid-template-columns: minmax(0, 1fr); }
  .cw-two { grid-template-columns: minmax(0, 1fr); }
  .cw-nl { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 10px; min-height: 0; }
  .cw-nl__t p { font-size: 13.5px; line-height: 1.7; }
  .cw-st { padding: 8px 10px 10px 44px; }
  .cw-st__a { font-size: 13.5px; }
  .cw-nl__q { font-size: 16.5px !important; }
  .cw-core__in { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .cw-core__bore li { width: 36px; }
  .cw-sea__ctl { grid-template-columns: auto minmax(0, 1fr); }
  .cw-sea__ctl span:first-of-type { display: none; }
  .cw-sea__ctl span:last-child { display: none; }
  .cw-tag { font-size: 18px; right: 8px; }
  .c-collingwood .c3q { padding-top: calc(var(--bar) + 36px); }
  .c-collingwood .c3q__lede { text-align: left; }
}
