:root{color-scheme:light;--ink:#10292c;--muted:#637475;--paper:#f4f3ee;--line:#d7dcd5;--gold:#bca16b}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"PingFang SC","Microsoft Yahei",system-ui,sans-serif;font-size:16px}button,input,select{font:inherit}button,a,summary{touch-action:manipulation}button,summary{cursor:pointer}button{border:1px solid var(--line);background:white;color:var(--ink);border-radius:9px;padding:12px 17px}button:hover{background:#e8eeea}button:disabled{opacity:.4;cursor:default}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bc8e43;outline-offset:3px}header{height:88px;display:flex;align-items:center;justify-content:space-between;max-width:1480px;margin:auto;padding:0 36px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:15px;text-decoration:none;font-weight:650;letter-spacing:.04em;font-size:19px}.brand small{display:block;font-size:10px;letter-spacing:.12em;font-weight:400;margin-top:5px;color:var(--muted)}.mark{font-family:Georgia,serif;font-size:38px;border-right:1px solid var(--line);padding-right:18px;line-height:1}#menu{display:none}.layout{max-width:1480px;margin:auto;display:grid;grid-template-columns:330px 1fr}aside{border-right:1px solid var(--line);position:sticky;top:0;height:calc(100dvh - 130px);overflow:auto;padding:30px 22px 18px 36px}.eyebrow{font-size:11px;letter-spacing:.1em;font-weight:650;color:var(--muted)}.aside-head h2{font-size:17px;font-weight:550;margin:10px 0 22px}.search{display:flex;gap:10px;align-items:center;border-bottom:1px solid #a9b5b0;padding-bottom:10px}.search span,.filter{font-size:12px;color:var(--muted)}input{width:100%;background:none;border:0;min-width:0;font-size:13px;color:var(--ink);padding:5px 0}.filter{display:flex;align-items:center;justify-content:space-between;margin:15px 0 20px;gap:12px}select{border:1px solid var(--line);padding:7px;background:#fff;color:var(--ink);border-radius:5px;max-width:100%}.filter select{font-size:12px;width:160px}.group-label{font-size:12px;font-weight:650;color:var(--muted);margin:24px 0 8px;padding-left:9px}#catalog button{display:flex;text-align:left;width:100%;gap:12px;border:0;border-radius:6px;background:none;align-items:center;padding:11px 9px;font-size:13px;line-height:1.6}#catalog button:hover{background:#e4e9e3}#catalog button.active{background:var(--ink);color:#fff}.num{font-family:Georgia,serif;flex:0 0 26px;font-size:16px;color:#8b9c94}.active .num{color:#d8c392}.intro-num{font-size:12px}.aside-note{font-size:11px;color:var(--muted);line-height:1.8;margin:25px 9px}main{min-width:0;padding:40px 56px 175px}.welcome{border-bottom:1px solid var(--line);padding-bottom:30px;margin-bottom:32px;display:none}.welcome h1{font-family:Georgia,"Songti SC",serif;font-size:42px;line-height:1.35;font-weight:500;letter-spacing:.02em;margin:12px 0}.welcome p{color:var(--muted);font-size:15px;line-height:1.9;max-width:500px}body.introduction .welcome{display:block}.object-head{display:grid;grid-template-columns:1fr 230px;gap:35px;align-items:center;padding-bottom:32px;border-bottom:1px solid var(--line);margin-bottom:28px}.object-head h1{font-family:"Songti SC","Noto Serif SC",Georgia,serif;font-size:34px;font-weight:550;line-height:1.45;margin:12px 0}.english{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 16px}.metadata{display:flex;flex-wrap:wrap;gap:8px}.metadata span{font-size:11px;padding:5px 9px;background:#e6eae3;border-radius:4px}.object-image{background:#e4e6e0;border-radius:5px;overflow:hidden;aspect-ratio:1}.object-image img{display:block;width:100%;height:100%;object-fit:contain}.section{margin:30px 0}.section h2{font-size:12px;letter-spacing:.12em;color:var(--muted);font-weight:650;margin:0 0 12px}.section p{font-size:18px;line-height:2.05;font-weight:400;margin:0;max-width:780px;letter-spacing:.01em}.section.observation{border-left:3px solid var(--gold);padding:0 0 0 20px}.section.active h2{color:#997739}.source{margin-top:30px;font-size:12px;color:var(--muted)}.chapter-nav{display:flex;justify-content:space-between;margin:35px 0;padding-top:24px;border-top:1px solid var(--line)}footer{max-width:780px;color:var(--muted);font-size:11px;line-height:1.9}footer a{font-size:12px}.empty{font-size:13px;color:var(--muted);line-height:1.8;padding:15px 8px}@media(min-width:1500px){main{padding-left:70px;padding-right:70px}}@media(max-width:1050px){.layout{grid-template-columns:270px 1fr}aside{padding-left:24px}main{padding:32px 30px 175px}.object-head{grid-template-columns:1fr 160px;gap:20px}.object-head h1{font-size:28px}.section p{font-size:17px}}@media(max-width:760px){header{height:76px;padding:0 20px}.brand{font-size:16px;gap:10px}.brand small{font-size:8px}.mark{font-size:32px;padding-right:10px}#menu{display:block;font-size:12px;padding:10px;border:0;background:none}.layout{display:block}aside{display:none;position:fixed;top:76px;left:0;right:0;bottom:135px;height:auto;border:0;background:var(--paper);z-index:15;padding:22px 24px}body.menu-open aside{display:block}main{padding:24px 22px 175px}.welcome{padding-bottom:25px;margin-bottom:26px}.welcome h1{font-size:34px}.welcome p{font-size:14px}.object-head{grid-template-columns:1fr 112px;gap:18px;align-items:start;padding-bottom:25px}.object-head h1{font-size:25px;margin:10px 0}.english{font-size:11px}.metadata span{font-size:10px;padding:4px 6px}.object-head .eyebrow{font-size:10px}.object-image{margin-top:12px}.section p{font-size:17px;line-height:2}.chapter-nav button{font-size:14px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s}}

/* Compact dock; safe-area padding keeps controls above the iPhone home indicator. */
.player{position:fixed;inset:auto 0 0;background:#10292cf5;color:#f7f6ef;z-index:20;backdrop-filter:blur(16px);border-top:1px solid #ffffff12;padding-bottom:env(safe-area-inset-bottom)}
.player-inner{max-width:1000px;margin:auto;display:flex;align-items:center;gap:16px;padding:8px 24px;height:60px}
.player .primary{flex:0 0 44px;width:44px;height:44px;min-width:0;padding:0;border:0;border-radius:50%;background:transparent;color:#e8d5a5;font-size:22px;line-height:1}
.player .primary:hover{background:#ffffff12}
.timeline{display:flex;align-items:center;gap:12px;flex:1;min-width:0;font-size:11px;color:#b6c3bc}
.timeline input{flex:1;width:100%;height:44px;padding:0;accent-color:#e8d5a5;cursor:pointer;min-width:0}
.timeline span{font-variant-numeric:tabular-nums;min-width:30px;text-align:center}
#audio{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
main{padding-bottom:110px}@media(max-width:760px){.player-inner{padding:6px 16px;gap:8px;height:56px}.timeline{gap:8px}aside{bottom:calc(56px + env(safe-area-inset-bottom))}main{padding-bottom:calc(90px + env(safe-area-inset-bottom))}}

.review-panel{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #b9c7c7;font-size:.95rem;line-height:1.75}.review-panel h2{font-size:1.1rem}.review-panel dl{display:grid;grid-template-columns:6rem 1fr;gap:.3rem .75rem}.review-panel dt{font-weight:600}.review-panel dd{margin:0;overflow-wrap:anywhere}.review-panel a{overflow-wrap:anywhere}.review-panel li{margin:.4rem 0}

.audio-sync-note{padding:1rem;border-left:3px solid #947120;background:#fff9e8;line-height:1.75}.recorded-transcript{margin-top:1.5rem;line-height:1.75}.recorded-transcript summary{cursor:pointer;font-size:1rem}

button.object-image{display:block;width:100%;padding:0;border:0;cursor:zoom-in}button.object-image:hover{background:#e4e6e0}
#image-viewer{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:60px 20px calc(20px + env(safe-area-inset-bottom));border:0;background:#071013f2;overflow:auto}#image-viewer::backdrop{background:#071013}#image-viewer[open]{display:flex;align-items:center;justify-content:center}#image-full{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}#image-close{position:fixed;top:calc(12px + env(safe-area-inset-top));right:16px;z-index:1;width:44px;height:44px;padding:0;border:1px solid #ffffff55;border-radius:50%;background:#10292c;color:white;font-size:32px;line-height:1}body:has(#image-viewer[open]){overflow:hidden}

.review-panel>summary{font-size:1rem;font-weight:600;cursor:pointer;padding:.25rem 0}.review-panel[open]>summary{margin-bottom:1rem}
.museum-logo{width:52px;height:52px;padding:5px;background:var(--ink);border-radius:4px;object-fit:contain}.brand{align-items:center}.brand small{font-size:12px;letter-spacing:.02em}
.object-gallery{min-width:0}.image-controls{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:4px}.image-controls button{padding:0;width:38px;height:38px;background:transparent;border:0;font-size:27px;line-height:1}.image-controls span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.viewer-arrow{position:fixed;top:50%;transform:translateY(-50%);z-index:1;width:44px;height:52px;padding:0;background:#10292cd9;color:white;border:1px solid #ffffff55;font-size:36px;line-height:1}.viewer-arrow[hidden]{display:none}#image-prev{left:12px}#image-next{right:12px}#image-count{position:fixed;bottom:calc(16px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);color:white;font-size:14px;background:#10292cd9;padding:5px 10px;border-radius:4px}#image-count:empty{display:none}
@media(max-width:760px){.museum-logo{width:44px;height:44px}.brand{gap:10px;font-size:15px}.brand small{font-size:11px}.object-image{margin-top:0}.object-gallery{margin-top:12px}.image-controls button{width:32px;height:38px}}

#image-state{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:12px;color:#dce4e1;font-size:14px;z-index:1}#image-state[hidden],#image-spinner[hidden],#image-retry[hidden]{display:none}#image-spinner{width:26px;height:26px;border:2px solid #ffffff25;border-top-color:#e8d5a5;border-radius:50%;animation:image-spin .75s linear infinite}#image-retry{background:transparent;border:1px solid #ffffff66;color:white;padding:8px 18px;font-size:14px}#image-viewer.loading #image-full,#image-viewer.image-error #image-full{visibility:hidden}.viewer-arrow:disabled{opacity:.3;cursor:wait}@keyframes image-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){#image-spinner{animation:none;border-color:#ffffff55;border-top-color:#e8d5a5}}

footer details{width:100%;text-align:left;margin:20px 0}footer summary{cursor:pointer;font-weight:600;padding:12px 0}footer details a{display:inline-block;margin:5px 10px 5px 0}footer .review-panel{margin:12px 0}

/* Phone layouts: compact header and readable content, without horizontal clipping. */
header{gap:12px}header .brand{min-width:0;align-items:center}header .brand>span:last-child{min-width:0;overflow-wrap:anywhere}header #menu{flex-shrink:0;min-height:44px;white-space:nowrap}article,footer,.object-head>div{min-width:0}article,footer{overflow-wrap:anywhere}img,svg{max-width:100%}#directory{overscroll-behavior:contain}header{position:sticky;top:0;z-index:30;background:var(--paper)}
@media(max-width:760px){header{padding-inline:16px}.brand>span:last-child{font-size:15px;line-height:1.4}.brand small{font-size:10px;letter-spacing:0}#menu{padding:8px;font-size:12px!important}.chapter-nav{gap:12px}.chapter-nav>*{min-width:0}.object-head{grid-template-columns:minmax(0,1fr) 104px;gap:14px}}
@media(max-width:380px){header{padding-inline:12px;gap:8px}.brand{gap:7px}.brand>span:last-child{font-size:14px}.brand small{font-size:10px!important}.museum-logo{width:36px;height:36px}.nam-logo{width:46px!important;flex-shrink:0}.object-head{grid-template-columns:minmax(0,1fr) 88px;gap:12px}.object-head h1,.object-head h2{font-size:24px}main{padding-inline:18px}.review-panel dl{grid-template-columns:1fr}.review-panel dd{margin-bottom:10px}.metadata span{max-width:100%;overflow-wrap:anywhere}}
@media(max-height:480px) and (orientation:landscape){header{height:60px}#directory{top:60px}.player-inner{height:52px}}

@media(min-width:761px){#directory{top:88px;height:calc(100dvh - 148px)}}
