/* Excavation directory. All rules are scoped to coexist with the archive. */
.excavation-shelf{--shelf-H:min(46vh,31vw);--shelf-ease:cubic-bezier(.2,.8,.2,1);max-width:2160px;width:100%;margin:100px auto 110px;padding:0 clamp(24px,3vw,72px);color:#e5e1d7;font-family:Manrope,"Microsoft YaHei","PingFang SC",sans-serif;scroll-margin-top:110px}
.shelf-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:46px}.shelf-eyebrow{font:10px/1.6 Manrope,sans-serif;letter-spacing:.16em;color:#bba382}.shelf-heading h2{font:400 clamp(36px,4.8vw,70px)/1.4 "JiaGu XinTi","SimSun",serif;margin:15px 0 0;letter-spacing:.015em}.shelf-heading p{font-size:12px;line-height:2;color:#a6aca5;margin:0 0 8px}
.shelf-workspace{position:relative;min-height:780px;height:calc(var(--shelf-H) + 445px);max-height:none;border-top:1px solid #4a4e40;border-bottom:1px solid #4a4e40;background:radial-gradient(ellipse at 50% 45%,#27312966,transparent 65%);overflow:hidden;isolation:isolate}
.shelf-topline,.shelf-bottomline{position:absolute;left:0;right:0;display:flex;justify-content:space-between;align-items:center;gap:18px;font-size:10px;letter-spacing:.09em;color:#a6aca5;z-index:4}.shelf-topline{top:24px}.shelf-topline a,.shelf-note a{color:#bba382;text-decoration:none}.shelf-bottomline{bottom:24px}.shelf-bottomline label{display:flex;align-items:center;gap:12px}.shelf-select{appearance:auto;background:#111b18;color:#e5e1d7;border:1px solid #4e5548;padding:7px 9px;max-width:170px;font-size:11px}
.shelf-filters{position:absolute;top:83px;left:50%;transform:translateX(-50%);display:flex;flex-wrap:nowrap;width:max-content;isolation:isolate;border:0;margin:0;gap:0;z-index:4;padding:0;white-space:nowrap;max-width:100%}.shelf-filters button{font:10px/1.1 Manrope,"Microsoft YaHei",sans-serif;letter-spacing:.03em;position:relative;border:1px solid #777364;color:#c9c8bb;background:transparent;padding:9px 15px;margin-left:-1px;min-height:32px}.shelf-filters button[aria-pressed=true]{color:#101810}.shelf-indicator{position:absolute;left:0;top:0;height:100%;width:1px;background:#bba382;z-index:-1;transform-origin:left center;transition:transform .6s var(--shelf-ease);pointer-events:none}
.shelf-scene{position:absolute;top:130px;left:0;right:0;height:calc(var(--shelf-H) + 60px);perspective:2200px;perspective-origin:50% 50%;touch-action:pan-y;outline-offset:-6px;user-select:none;-webkit-user-select:none;cursor:grab}.shelf-scene:active{cursor:grabbing}.shelf-stage{position:absolute;top:50%;left:50%;width:0;height:0;transform-style:preserve-3d}.shelf-floor{position:absolute;bottom:0;left:12%;right:12%;height:1px;background:linear-gradient(90deg,transparent,#5b6150,transparent);pointer-events:none}
.shelf-book{position:absolute;width:0;height:0;transform-style:preserve-3d;cursor:pointer}.shelf-book-face{position:absolute;top:calc(var(--book-h)/-2);height:var(--book-h);backface-visibility:hidden;-webkit-backface-visibility:hidden;overflow:hidden;border-radius:2px;background-color:var(--book-color,#28372f);color:#d6c6a7;border:1px solid #82745a66;pointer-events:auto}.shelf-book-face:after{content:"";position:absolute;inset:0;background:#000;opacity:var(--shade,0);pointer-events:none}
.shelf-spine{width:var(--book-w);left:calc(var(--book-w)/-2);transform:translateZ(calc(var(--book-d)/2));display:flex;align-items:center;flex-direction:column;box-shadow:inset 2px 0 4px #ffffff12,inset -3px 0 6px #0007;background-image:linear-gradient(90deg,#0005,transparent 15%,#ffffff04 35%,transparent 75%,#0007)}.shelf-spine small{font:8px/1.4 Manrope,sans-serif;letter-spacing:.08em;margin-top:20px;color:#b6a98f;white-space:nowrap}.shelf-spine strong{font:400 clamp(15px,1.6vw,24px)/1.2 "JiaGu XinTi","SimSun",serif;writing-mode:vertical-rl;letter-spacing:.17em;margin-top:18px;white-space:nowrap;flex:1}.shelf-spine em{font:8px/1.2 Manrope,sans-serif;letter-spacing:.04em;margin:12px 0 20px;writing-mode:vertical-rl;font-style:normal}.shelf-spine b{position:absolute;bottom:12px;left:0;right:0;font:8px Manrope;text-align:center;border-top:1px solid #bba38244;padding-top:5px}
.shelf-cover{width:var(--book-d);left:calc(var(--book-d)/-2);transform:rotateY(90deg) translateZ(calc(var(--book-w)/2));box-shadow:0 30px 60px -28px #000c;background-image:linear-gradient(90deg,#0007,transparent 7%,#ffffff06 10%,transparent 25%);padding:7% 8%;display:flex;flex-direction:column;align-items:center;text-align:center}.shelf-cover small{font:7px/1.5 Manrope,"Microsoft YaHei",sans-serif;letter-spacing:.08em}.shelf-cover h4{font:400 clamp(16px,2vw,28px)/1.4 "JiaGu XinTi","SimSun",serif;letter-spacing:.04em;margin:12px -4px 0}.shelf-cover .shelf-cover-image{width:100%;min-height:0;flex:1;display:flex;align-items:center;justify-content:center;position:relative;margin:8px 0}.shelf-cover img{width:100%;height:100%;object-fit:contain;mix-blend-mode:screen;filter:saturate(.62);pointer-events:none;-webkit-user-drag:none}.shelf-cover-image span{font:11px/1.7 "Microsoft YaHei",sans-serif;color:#aaa18c}.shelf-cover footer{width:100%;border-top:1px solid #bba38255;padding-top:8px;display:flex;justify-content:space-between;font:6px/1.5 Manrope,"Microsoft YaHei",sans-serif;gap:5px}.shelf-cover footer b{font-weight:500;white-space:nowrap}
.shelf-caption{position:absolute;top:calc(130px + var(--shelf-H) + 90px);left:60px;right:60px;text-align:center;pointer-events:none}.shelf-title-mask{overflow:hidden;position:relative;min-height:45px}.shelf-caption h3{font:400 31px/1.4 "JiaGu XinTi","SimSun",serif;margin:0;letter-spacing:.06em}.shelf-current-subtitle{font:10px/1.6 Manrope,"Microsoft YaHei",sans-serif;letter-spacing:.15em;color:#bba382;margin:9px 0 7px}.shelf-current-count{font-size:10px;color:#a6aca5;display:block;letter-spacing:.05em}.shelf-open{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:25px;margin-top:19px;min-height:44px;border:1px solid #81735b;background:transparent;color:#d6c2a2;padding:10px 20px;font:11px/1.5 Manrope,"Microsoft YaHei",sans-serif}.shelf-open span{font-size:16px}.shelf-navigation{position:absolute;top:calc(130px + var(--shelf-H) + 85px);left:15px;right:15px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.shelf-navigation button{pointer-events:auto;width:48px;height:48px;border:0;background:transparent;color:#bba382;font:26px/1 serif}.shelf-progress{position:absolute;top:-25px;left:50%;transform:translateX(-50%);font:9px/1.5 Manrope,sans-serif;letter-spacing:.15em;color:#8f998e}.shelf-note{font-size:10px;color:#8e998f;display:flex;justify-content:space-between;gap:20px;line-height:1.9;margin-top:19px}.shelf-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
dialog.shelf-dialog{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#f4f0e6;color:#1b211d;box-shadow:none;overflow:hidden;font-family:Manrope,"Microsoft YaHei","PingFang SC",sans-serif;z-index:100}.shelf-dialog::backdrop{background:#0b1211;backdrop-filter:none}.shelf-dialog-scroll{height:100%;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:auto;scroll-padding-top:100px}.shelf-dialog-bar{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;min-height:88px;padding:20px 32px;background:#f4f0e6;border-bottom:1px solid #b4b5a655;color:#394537}.shelf-close{justify-self:start;background:transparent;color:#394537;border:1px solid #68705b;padding:10px 15px;min-height:44px;font-size:11px}.shelf-dialog-bar>span{text-align:center;font-family:"JiaGu XinTi",serif;font-size:18px;letter-spacing:.08em}.shelf-dialog-bar small{display:block;font:7px/2 Manrope,sans-serif;letter-spacing:.25em}.shelf-dialog-bar>a{justify-self:end;color:#53604e;font-size:11px;text-decoration:none}.shelf-place-grid{display:grid;grid-template-columns:1fr 1fr;gap:6vw;align-items:center;padding:50px 7vw 65px;max-width:1560px;margin:auto}.shelf-place-copy>*{transform-origin:0 100%}.shelf-dialog-eyebrow{color:#776447;font:11px/1.5 Manrope,sans-serif;letter-spacing:.15em}.shelf-place-copy h2{font:400 clamp(42px,5.4vw,80px)/1.3 "JiaGu XinTi","SimSun",serif;letter-spacing:-.01em;margin:22px 0 25px}.shelf-dialog-summary{font:15px/1.95 "Microsoft YaHei","PingFang SC",sans-serif;max-width:40ch;color:#515b4f;margin:0}.shelf-place-meta{font:11px/1.9 Manrope,"Microsoft YaHei",sans-serif;color:#6b705d;margin:25px 0}.shelf-directory-link{display:inline-block;border-bottom:1px solid #68705b;color:#394537!important;text-decoration:none;padding:10px 0;font-size:12px}.shelf-place-figure{position:relative;min-width:0;margin:0;text-align:center;background:#e6e3d8;border:1px solid #c8c4b655;align-self:stretch;display:flex;flex-direction:column;justify-content:center}.shelf-ink-image{display:block;width:100%;max-height:60svh;min-height:260px;flex:1}.shelf-figure-caption{padding:13px 15px;font-size:11px;color:#555f52;border-top:1px solid #b3b6a655;line-height:1.8}.shelf-image-missing{font-size:14px;color:#656e5e;padding:60px 0}
.shelf-records{max-width:1350px;margin:0 auto;padding:35px 5% 60px;border-top:1px solid #b4b5a6}.shelf-records-heading{display:flex;justify-content:space-between;align-items:end;gap:24px}.shelf-records h3{font:400 30px/1.4 "JiaGu XinTi","SimSun",serif;margin:8px 0 0}.shelf-records .shelf-eyebrow{color:#776447}.shelf-search-label{font-size:11px;color:#676e60;display:flex;flex-direction:column;gap:10px}.shelf-search{width:min(270px,100%);padding:11px 12px;border:1px solid #a4ab96;background:transparent;color:#263325;font:13px/1.5 "Microsoft YaHei",sans-serif;border-radius:0}.shelf-record-status{color:#6e7566;font-size:11px;line-height:1.8;margin:25px 0 15px}.shelf-record-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.shelf-record{color:#2b382b;text-align:left;border:1px solid #b5bba8;background:#ebe8dd;padding:0;min-width:0;display:flex;flex-direction:column}.shelf-record-thumb{display:flex;align-items:center;justify-content:center;height:165px;background:#e0dfd3;overflow:hidden;padding:15px}.shelf-record-thumb img{height:100%;width:100%;object-fit:contain}.shelf-record-thumb .shelf-no-image{color:#747a68;font-size:11px}.shelf-record-text{padding:16px}.shelf-record h4{font:400 17px/1.6 "JiaGu XinTi","SimSun",serif;margin:0 0 11px;overflow-wrap:anywhere}.shelf-record small{display:block;color:#68715e;font:10px/1.9 Manrope,"Microsoft YaHei",sans-serif}.shelf-record-pager{display:flex;justify-content:center;align-items:center;gap:24px;margin:25px 0;font-size:11px;color:#626e59}.shelf-record-pager button{min-height:44px;padding:10px 17px;border:1px solid #a1aa92;background:transparent;color:#34442e}.shelf-record-pager button:disabled{color:#93988b;cursor:default}.shelf-reading{border:1px solid #aab299;background:#eeece2;padding:30px;margin-top:35px;scroll-margin-top:110px}.shelf-reading-top{display:flex;justify-content:space-between;align-items:start;gap:20px}.shelf-reading h4{font:400 30px/1.5 "JiaGu XinTi","SimSun",serif;margin:0 0 24px}.shelf-reading-close{border:1px solid #a1aa92;color:#34442e;background:transparent;min-height:44px;flex-shrink:0;font-size:11px;padding:10px 14px}.shelf-reading-grid{display:grid;grid-template-columns:minmax(180px,1fr) 1.8fr;gap:35px}.shelf-reading img{width:100%;height:320px;object-fit:contain;background:#e0dfd3}.shelf-reading dl{display:grid;grid-template-columns:85px 1fr;gap:10px 15px;font-size:12px;line-height:1.8;margin:0}.shelf-reading dt{color:#747d69}.shelf-reading dd{margin:0;overflow-wrap:anywhere}.shelf-reading p{font:14px/1.95 "Microsoft YaHei",sans-serif;white-space:pre-line;overflow-wrap:anywhere}.shelf-reading a{font-size:12px;color:#566a46}.shelf-dialog-footer{padding:25px 7vw 35px;border-top:1px solid #b4b5a655;display:flex;justify-content:space-between;gap:25px;font-size:10px;color:#7b826e}.shelf-dialog :focus-visible{outline:2px solid #65714e!important;outline-offset:4px}.shelf-record[aria-pressed=true]{border-color:#5d7049;box-shadow:inset 0 0 0 1px #5d7049}
.shelf-cursor{position:fixed;top:0;left:0;width:58px;height:58px;margin:-29px 0 0 -29px;z-index:50;pointer-events:none;border:1px solid #ded9c8;border-radius:50%;display:none;align-items:center;justify-content:center;background:transparent;color:#172116;transition:background .3s var(--shelf-ease),border-color .3s var(--shelf-ease)}.shelf-cursor span{display:none;font-size:11px;text-align:center;line-height:1.5}.shelf-cursor small{display:block;font:7px/1.5 Manrope,sans-serif;letter-spacing:.12em}.shelf-cursor.is-cover{background:#bba382;border-color:#bba382}.shelf-cursor.is-cover span{display:block}
@media(hover:hover) and (pointer:fine){.shelf-record:hover{border-color:#667954}.shelf-open:hover{background:#bba382;color:#142015}.shelf-close:hover,.shelf-reading-close:hover{background:#e0dfd3}.shelf-scene.shelf-custom-cursor,.shelf-scene.shelf-custom-cursor .shelf-book{cursor:none}.shelf-cursor.is-visible{display:flex}}
@media(max-width:1000px){.shelf-heading h2{font-size:46px}.shelf-record-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shelf-workspace{min-height:640px}.shelf-cover h4{font-size:20px}.shelf-spine strong{font-size:18px}}
@media(max-width:767px){.excavation-shelf{--shelf-H:min(60vw,40svh);margin:65px auto 75px;padding:0 6%;scroll-margin-top:85px}.shelf-heading{display:block;margin-bottom:25px}.shelf-heading h2{font-size:37px;line-height:1.4}.shelf-heading p{font-size:11px;margin:14px 0 0}.shelf-heading p br{display:none}.shelf-workspace{height:calc(var(--shelf-H) + 400px);min-height:570px;max-height:none;overflow:hidden}.shelf-topline{top:20px;font-size:9px;letter-spacing:.03em}.shelf-filters{top:65px;max-width:100%;overflow-x:auto;scrollbar-width:none}.shelf-filters button{padding:9px 11px;font-size:9px;min-height:34px}.shelf-scene{top:115px;height:calc(var(--shelf-H) + 45px)}.shelf-caption{top:calc(115px + var(--shelf-H) + 65px);left:35px;right:35px}.shelf-caption h3{font-size:25px}.shelf-title-mask{min-height:36px}.shelf-current-subtitle{font-size:8px;letter-spacing:.1em;margin-top:7px}.shelf-current-count{font-size:9px}.shelf-open{margin-top:16px;min-height:44px;padding:8px 15px;font-size:10px}.shelf-navigation{top:calc(115px + var(--shelf-H) + 60px);left:-5px;right:-5px}.shelf-navigation button{width:40px}.shelf-progress{top:-22px}.shelf-bottomline{bottom:17px;font-size:8px;letter-spacing:0;gap:8px}.shelf-bottomline label{gap:6px}.shelf-select{max-width:120px;font-size:9px;padding:6px}.shelf-note{display:block;font-size:9px}.shelf-note a{display:block;margin-top:8px}.shelf-cover{padding:8%}.shelf-cover h4{font-size:16px;margin-top:7px}.shelf-cover small{font-size:5px}.shelf-cover footer{font-size:4px;padding-top:5px}.shelf-spine small{font-size:5px;margin-top:11px}.shelf-spine strong{font-size:14px;margin-top:12px;letter-spacing:.13em}.shelf-spine em{font-size:5px;margin-bottom:10px}.shelf-spine b{font-size:5px;bottom:7px}.shelf-dialog-bar{min-height:70px;grid-template-columns:1fr auto;padding:12px 16px;gap:10px}.shelf-dialog-bar>span{font-size:14px}.shelf-dialog-bar small{font-size:6px}.shelf-dialog-bar>a{display:none}.shelf-close{font-size:10px;padding:8px 12px}.shelf-place-grid{grid-template-columns:1fr;padding:25px 22px 35px;gap:30px}.shelf-place-figure{grid-row:1}.shelf-ink-image{height:38svh;min-height:200px;max-height:42svh}.shelf-place-copy h2{font-size:40px;margin:15px 0 20px}.shelf-dialog-summary{font-size:16px;line-height:1.85}.shelf-dialog-eyebrow{font-size:9px}.shelf-place-meta{margin:18px 0}.shelf-records{padding:28px 22px 30px}.shelf-records-heading{display:block}.shelf-records h3{font-size:27px}.shelf-search-label{margin-top:20px}.shelf-search{width:100%;font-size:16px}.shelf-record-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shelf-record-thumb{height:135px;padding:10px}.shelf-record-text{padding:12px}.shelf-record h4{font-size:16px;line-height:1.55}.shelf-record small{font-size:9px}.shelf-reading{padding:18px;margin-top:20px}.shelf-reading-grid{grid-template-columns:1fr;gap:20px}.shelf-reading h4{font-size:25px}.shelf-reading-top{display:block}.shelf-reading-close{margin:0 0 20px}.shelf-reading img{height:240px}.shelf-reading p{font-size:16px}.shelf-reading dl{font-size:12px;grid-template-columns:75px 1fr;gap:8px}.shelf-dialog-footer{display:block;font-size:9px;line-height:1.9;padding:25px 22px}.shelf-dialog-footer span{display:block}.shelf-cursor{display:none!important}}
@media(prefers-reduced-motion:reduce){.shelf-indicator,.shelf-cursor,.shelf-open{transition:none}.shelf-cursor{display:none!important}}
html.motion-reduced .shelf-indicator,html.motion-reduced .shelf-cursor{transition:none}

/* A stable, accessible hit plane; the artwork may tilt without moving the click target. */
.shelf-cover-hit{position:absolute;left:50%;top:calc(50% - var(--book-h)*.025);width:calc(var(--book-d)*1.2);height:calc(var(--book-h)*1.13);transform:translate(-50%,-50%) rotate(-4.5deg);z-index:200;border:0;background:transparent;color:transparent;padding:0;touch-action:pan-y;cursor:pointer;transition:none}
.shelf-cover-hit:focus-visible{outline:2px solid #bba382;outline-offset:5px}
@media(hover:hover) and (pointer:fine){.shelf-custom-cursor .shelf-cover-hit{cursor:none}}
@media(pointer:coarse){
 .shelf-scene,.shelf-cover-hit{touch-action:pan-y pinch-zoom}
 .shelf-scene{-webkit-tap-highlight-color:transparent}
 .shelf-cover img{filter:none;mix-blend-mode:normal}
 .shelf-cover{box-shadow:0 12px 24px -16px #0008}
 .excavation-shelf button,.excavation-shelf a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
 .excavation-shelf .shelf-cover-hit{touch-action:pan-y pinch-zoom}
 .shelf-select{font-size:16px;max-width:145px}
 .shelf-open:active,.shelf-filters button:active{background:#bba382;color:#142015}
 .shelf-dialog-scroll{padding-bottom:env(safe-area-inset-bottom,0px)}
}
