/* 新版独立视觉层；原素材排版仍由 style.css 承载。 */
:root{color-scheme:light;--bg:#ffffff;--paper:#ffffff;--ink:#262626;--muted:#6e6e6e;--line:#e2e2e2;--accent:#707070;--mint:#424242;--bar:76px;font-family:'Songti SC','STSong',serif;background:var(--bg);color:var(--ink)}
::selection{background:#424242;color:#ffffff}*{scrollbar-width:thin;scrollbar-color:#bfbfbf #ffffff}button,a,input{touch-action:manipulation}button{min-height:44px;border-radius:8px;background:transparent;transition:background .16s ease-out,color .16s ease-out}button:hover{background:#f2f2f2}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #707070;outline-offset:4px}a{color:#565656;text-underline-offset:5px}.icon-button img,.chapter-link img,.cover-footer button img{width:20px;height:20px;filter:none;vertical-align:middle}.page-bar{height:var(--bar);padding:0 36px;z-index:40;background:#ffffff;border-color:var(--line)}.brand-group{gap:32px}.brand-group .icon-button{width:44px;min-width:44px;padding:11px;border:0;background:transparent}.brand-group .icon-button:hover{background:transparent}.brand-group .edition-brand{padding:0;border:0;font-size:24px;font-weight:600;line-height:1.2;display:flex;gap:22px;align-items:center}.edition-brand span{font-size:13px;font-weight:400;color:var(--muted);letter-spacing:.06em}.brand-group .edition-brand:hover{background:none;color:var(--mint)}.reader-location{font-size:12px;color:var(--muted)}.zoom-tools{gap:6px}.zoom-tools button{min-height:40px;min-width:40px;font-size:12px;padding:8px 12px;border:0}.zoom-tools output{color:var(--muted);font-variant-numeric:tabular-nums}.cover-map-button{display:none}.cover-open .cover-map-button{display:block}.cover-open .zoom-tools>:not(.cover-map-button),.cover-open #outline-toggle,.cover-open #reader-location{display:none}.cover-open .pdf-reader{visibility:hidden}.exhibition-cover{position:fixed;inset:var(--bar) 0 0;z-index:30;overflow:auto;overscroll-behavior:contain;background:var(--bg)}.exhibition-inner{max-width:1520px;margin:auto;padding:0 76px}.cover-stage{position:relative;min-height:min(760px,calc(100dvh - var(--bar)));display:flex;align-items:center;isolation:isolate}.cover-art{position:absolute;inset:0 -48px 0 auto;width:83%;height:100%;object-fit:contain;z-index:-2}.cover-stage::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#ffffff 8%,#fffffff2 23%,#ffffff00 55%);pointer-events:none}.cover-copy{padding:56px 0 76px;max-width:550px}.cover-copy h1{font-family:inherit;font-weight:550;font-size:clamp(64px,7.4vw,96px);letter-spacing:-.025em;line-height:1.12;margin:0 0 25px}.cover-subject{font-size:clamp(23px,2.4vw,34px);font-weight:400;letter-spacing:.03em;line-height:1.5}.cover-description{color:var(--muted);font-size:16px;line-height:1.9;margin-top:22px}.cover-actions{display:flex;gap:27px;align-items:center;margin-top:35px}.cover-actions .primary-action{display:flex;align-items:center;justify-content:space-between;gap:34px;background:var(--mint);border:0;color:#ffffff;padding:16px 22px;min-height:54px;font-size:14px;font-weight:600}.primary-action img{filter:none}.primary-action:hover{background:#595959}.cover-actions .text-action{border:0;padding:12px 0;color:var(--ink);font-size:14px}.text-action:hover{text-decoration:underline;text-underline-offset:7px;background:transparent}.cover-art-caption{position:absolute;bottom:36px;right:12px;color:var(--muted);font-size:12px;letter-spacing:.14em}.chapter-entry{display:grid;grid-template-columns:.9fr 1.3fr;gap:90px;padding:65px 0 72px;border-top:1px solid var(--line)}.chapter-intro h2{font-size:31px;font-weight:450;line-height:1.6;letter-spacing:-.01em}.chapter-intro p{font-size:14px;color:var(--muted);line-height:1.9;margin-top:25px}.chapter-entries{display:flex;flex-direction:column}.chapter-link{display:grid;grid-template-columns:54px 1fr 22px;gap:20px;align-items:center;min-height:98px;padding:24px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;text-align:left}.chapter-link:last-child{border-bottom:0}.chapter-link:hover{background:transparent;color:var(--mint)}.chapter-number{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.chapter-label{display:flex;flex-direction:column;gap:9px}.chapter-label strong{font-size:20px;font-weight:450}.chapter-label span{font-size:12px;color:var(--muted)}.chapter-link img{width:22px}.cover-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 0 32px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.cover-footer button{display:flex;align-items:center;gap:18px;border:0;padding:0;color:var(--ink);font-size:12px}.cover-footer button:hover{background:none;color:var(--mint)}
.pdf-reader{height:calc(100dvh - var(--bar));grid-template-columns:292px minmax(0,1fr)}.outline{padding:26px 20px;background:#f9f9f9;border-color:var(--line)}.outline-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.outline-heading h2{font-size:16px;font-weight:500}.outline-heading>span{color:var(--muted);font-size:11px}.outline-chapter{margin-bottom:12px;border-bottom:1px solid var(--line);padding-bottom:16px}.outline-chapter:last-child{border:0}.outline-chapter>button:first-child{color:var(--ink);font-size:14px;font-weight:500;padding:11px 8px;min-height:48px;align-items:center;gap:8px}.outline-chapter>button:first-child>span{color:var(--muted);font-size:10px}.outline-chapter>button strong{font-weight:500;color:var(--ink)}.outline-parent{padding:14px 8px 9px;font-size:12px;font-weight:500;color:#464646;line-height:1.7;min-height:44px}.outline-chapter>.outline-node{color:var(--muted);padding:10px 12px 10px 18px;font-size:12px;min-height:42px;line-height:1.65;border-radius:6px}.outline-chapter>.outline-node.active{color:var(--mint);background:#ececec}.outline-chapter>.outline-node:hover{background:#f2f2f2;color:#373737}.outline-chapter.collapsed>:not(:first-child){display:none}.outline-chapter>button:first-child::after{content:'';width:8px;height:8px;flex-shrink:0;border-right:1px solid var(--muted);border-bottom:1px solid var(--muted);transform:rotate(45deg);margin-left:auto;margin-right:5px}.outline-chapter.collapsed>button:first-child::after{transform:rotate(-45deg)}.logic-map{background:#fdfdfd;background-image:none}.logic-map:focus-visible{outline-color:var(--mint)}#graph .muted-child rect,#graph .muted-main rect{fill:#f0f0f0!important;stroke:#cfcfcf!important}#graph .muted-child text,#graph .muted-child tspan,#graph .muted-main text,#graph .muted-main tspan{fill:#707070!important}#graph>svg>g text:not(.node text){fill:#454545}#graph .node:focus-visible>rect{stroke:var(--mint)!important;stroke-width:3px!important}#loading{font-size:14px;color:var(--muted)}#map-error{background:#f3f3f3;color:#4e4e4e;border-radius:8px}
.node-dialog{background:#ffffff;color:var(--ink);scrollbar-gutter:stable}.node-dialog #detail,.node-dialog #detail:has(.development-art),.node-dialog #detail:has(.llm-compact){max-width:1190px;padding:44px 48px 56px}.reading-heading{margin:0 0 34px;padding-bottom:24px;border-bottom:1px solid var(--line);position:relative}.reading-heading>p{font-size:12px;color:var(--muted);margin-bottom:14px}.node-dialog .reading-heading h2{font-family:inherit;font-size:clamp(23px,2.7vw,35px);font-weight:500;line-height:1.5;margin:0;padding-right:80px;text-wrap:balance;color:var(--ink)}.reading-heading>span{position:absolute;right:0;bottom:33px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.node-dialog #points{font-size:16px;line-height:2;color:var(--ink);max-width:75ch;margin:28px auto;padding-left:22px}.node-dialog #points li{padding-left:4px;margin-bottom:13px}.node-dialog #points li::marker{color:var(--mint)}.node-dialog .image-stack{margin-top:0;gap:32px}.stack-image figcaption,.image-pair-subtitle,.overview-api-notes,.runtime-concept-note,.timeline-scope-note{color:var(--muted)}.stack-image-button,.stack-image-button:hover{background:transparent}.resource-links{gap:12px 18px;border-top:1px solid var(--line);padding-top:24px}.resource-links a{font-size:12px;color:#565656}.node-footer{margin-top:28px;padding-top:12px}.node-controls{gap:12px}.node-dialog .node-controls button{min-width:92px;padding:12px 18px}.node-controls button:last-child{background:#ececec;border-color:#cfcfcf;color:var(--mint)}.table-scroll{border-color:var(--line)}.parameter-table,.layer-term-table{color:var(--ink)}.parameter-table th,.parameter-table td,.layer-term-table th,.layer-term-table td{border-color:var(--line)}.parameter-table thead th,.core-concepts-table .parameter-table thead th,.layer-term-table thead th{background:#ededed;color:#383838}.parameter-table tbody th,.core-concepts-table .parameter-table tbody th{background:#f4f4f4;color:var(--ink)}.parameter-table tbody tr:nth-child(even) td,.core-concepts-table .parameter-table tbody tr:nth-child(even) td{background:#f9f9f9}.parameter-table tbody tr:nth-child(odd) td,.core-concepts-table .parameter-table tbody tr:nth-child(odd) td{background:#ffffff}.parameter-group h3,.table-summary,.runtime-concept-title,.runtime-concept-captions h4,.overview-brain h3,.overview-device h4,.overview-entry strong,.history-timeline h3,.desktop-card-caption,.video-card-caption{color:var(--ink)}.table-term-highlight,.summary-reason{color:#4e4e4e}.agent-source-transcript,.overview-api-details{background:#f6f6f6;border-color:var(--line)}.verification{color:var(--muted);background:#f3f3f3}.lightbox{background:#ffffff;border:1px solid var(--line);padding:18px;border-radius:12px}.lightbox::backdrop{background:#303030d9;backdrop-filter:blur(5px)}.lightbox-toolbar{font-size:13px;color:var(--ink)}.lightbox-toolbar button{width:44px;height:44px;font-size:26px}.lightbox img{background:transparent}.lightbox #large-frame{overflow:auto}.pdf-reader.outline-hidden{grid-template-columns:minmax(0,1fr)}
@media(min-width:1600px){.exhibition-inner{max-width:1760px;padding:0 110px}.cover-stage{min-height:800px}.cover-copy h1{font-size:96px}.cover-copy{max-width:600px}.cover-description{font-size:18px}.cover-art{width:80%;right:-50px}.chapter-entry{gap:130px}}
@media(max-width:1000px){.exhibition-inner{padding:0 38px}.cover-stage{min-height:650px}.cover-art{width:100%;right:-35px}.cover-stage::after{background:linear-gradient(90deg,#ffffff 5%,#ffffffe6 25%,#ffffff00 68%)}.chapter-entry{gap:40px}.pdf-reader{grid-template-columns:250px minmax(0,1fr)}.page-bar{padding:0 22px}.reader-location{display:none}.node-dialog #detail{padding:32px 28px}.edition-brand span{font-size:11px}}
@media(max-width:700px){:root{--bar:66px}.page-bar{padding:0 16px;gap:10px}.brand-group{gap:12px}.brand-group .edition-brand{font-size:20px;gap:12px}.edition-brand span{display:none}.zoom-tools{gap:4px}.zoom-tools button{font-size:11px;min-width:36px;padding:8px 9px}.zoom-tools output{min-width:36px;font-size:10px}.zoom-tools #actual-size{display:none}.exhibition-inner{padding:0 24px}.cover-stage{min-height:730px;display:block}.cover-art{width:calc(100% + 48px);height:450px;inset:auto -24px 0;object-fit:contain}.cover-stage::after{background:linear-gradient(180deg,#ffffff 0%,#ffffff 28%,#ffffff00 65%)}.cover-copy{padding:46px 0 0;max-width:100%}.cover-copy h1{font-size:64px;margin-bottom:20px}.cover-subject{font-size:25px}.cover-description{font-size:14px;margin-top:17px;line-height:1.9}.cover-actions{margin-top:25px;gap:22px}.cover-actions .primary-action{padding:14px 18px;gap:20px;font-size:13px}.cover-actions .text-action{font-size:13px}.cover-art-caption{right:0;bottom:24px;font-size:10px}.chapter-entry{grid-template-columns:1fr;gap:22px;padding:36px 0}.chapter-intro h2{font-size:25px}.chapter-intro h2 br{display:none}.chapter-intro p{margin-top:16px;font-size:13px}.chapter-link{grid-template-columns:38px 1fr 20px;gap:14px;min-height:98px}.chapter-label strong{font-size:18px}.cover-footer{flex-wrap:wrap;font-size:11px;gap:14px;padding:24px 0}.cover-footer>span:nth-child(2){display:none}.cover-footer button{font-size:11px}.pdf-reader{grid-template-columns:1fr}.outline{top:var(--bar);width:min(310px,84vw);z-index:35;padding:24px 20px;box-shadow:22px 0 65px #36363624}.node-dialog #detail,.node-dialog #detail:has(.development-art),.node-dialog #detail:has(.llm-compact){padding:28px 20px 40px}.reading-heading{margin-bottom:25px;padding-bottom:22px}.node-dialog .reading-heading h2{font-size:24px;padding-right:0}.reading-heading>span{position:static;display:block;margin-top:12px}.node-dialog #points{font-size:15px;line-height:1.95;padding-left:20px}.image-stack.paired-image-cards,.image-stack.three-image-cards,.image-stack.video-row,.image-stack.video-row.two-video-cards,.image-stack.two-image-cards{gap:24px;grid-template-columns:1fr}.stack-image-button{max-width:100%}.three-image-cards .stack-image-button{height:auto;min-height:200px}.paired-image-cards .stack-image-button{height:auto;min-height:200px}.video-card{max-width:280px!important;justify-self:center}.runtime-overview .overview-visual{zoom:1!important;overflow-x:auto}.image-pair-connector{display:none}.layer-term-table{font-size:12px}.lightbox{max-width:calc(100vw - 20px);padding:12px}.lightbox-toolbar{font-size:11px}.node-controls button{min-width:90px}.resource-links{flex-direction:column;align-items:flex-start}.logic-map{background-image:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* 教学素材保持原色；仅导航图标反色。 */
#image-stack img,.hero-button img,.thumbnail img{filter:none}.outline-parent{color:#535353!important}

.primary-action img{width:20px;height:20px;flex:0 0 20px}.cover-actions .primary-action{white-space:nowrap}

#image-stack img,#lightbox img,#lightbox figure img{mix-blend-mode:normal!important;filter:none!important}

.cover-art-caption{font-size:12px!important}.lightbox{box-shadow:none}#large-image:not([src]){display:none}

/* 白色版交互状态：深色主按钮、浅色选中状态。 */
::selection{background:#e7e7e7;color:#262626}.primary-action img{filter:invert(100%)}.cover-actions .primary-action:hover{background:#595959}.cover-stage::after{background:linear-gradient(90deg,#ffffff 4%,#fffffff2 23%,#ffffff00 60%)}
@media(max-width:1000px){.cover-stage::after{background:linear-gradient(90deg,#ffffff 5%,#ffffffe6 25%,#ffffff00 68%)}}
@media(max-width:700px){.cover-stage::after{background:linear-gradient(180deg,#ffffff 0%,#ffffff 28%,#ffffff00 65%)}}
