
:root {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  line-height: 1.65;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); }
:is(section, article, li, main, aside) { scroll-margin-top: 1.5rem; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.23; }
h1 { font-size: clamp(2.4rem, 5.3vw, 4.65rem); letter-spacing: -.043em; }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.35rem); letter-spacing: -.015em; }
h3 { font-size: 1.16rem; }
p, a { overflow-wrap: anywhere; }
img { display: block; width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: var(--link); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.shell { width: min(74rem, calc(100% - 4rem)); margin-inline: auto; }
.block { padding-block: clamp(2.5rem, 5vw, 4.2rem); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
.skip:focus { position: fixed; z-index: 3; left: 1rem; top: 1rem; padding: .7rem .9rem; color: #082f5d; background: #fff; }
.mast { background: var(--mast, var(--paper)); border-bottom: 1px solid var(--line); }
.topbar { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.2rem; }
.identity { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); font-size: .99rem; line-height: 1.35; }
.mark { display: grid; place-items: center; flex: 0 0 2.55rem; width: 2.55rem; height: 2.55rem; background: var(--accent); color: var(--button-ink); border-radius: var(--r); font-weight: 750; font-size: 1.12rem; }
.identity small { display: block; color: var(--muted); font-size: .79rem; margin-top: .22rem; }
.topbar nav { display: flex; gap: clamp(.85rem, 3.2vw, 2.3rem); flex-wrap: wrap; }
.topbar nav a { color: var(--ink); font-weight: 650; text-decoration: none; padding-block: .55rem; font-size: .9rem; }
.topbar nav a:hover { text-decoration: underline; }
.kicker { font-size: .83rem; font-weight: 750; letter-spacing: .075em; color: var(--link); }
.sect-head { margin-bottom: 1.25rem; }
.sect-head h2 { margin-top: .32rem; }
.sect-head > p:not(.kicker) { margin-top: .5rem; color: var(--muted); }
.primary, .ghost { display: inline-flex; min-height: 2.85rem; align-items: center; text-decoration: none; border-radius: var(--r); padding: .55rem 1rem; font-weight: 710; }
.primary { background: var(--accent); border: 1px solid transparent; color: var(--button-ink); }
.primary:hover { background: var(--accent-hover); }
.ghost { border: 1px solid var(--line); color: var(--ink); }
.ghost:hover { border-color: var(--link); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.filters { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem; }
.pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.pills button, .story-bar button, .tool-choices button, [data-clear-plan] {
  background: var(--paper); border: 1px solid var(--line); color: var(--ink); border-radius: var(--r);
  padding: .45rem .79rem; font-size: .9rem; min-height: 2.55rem;
}
.pills button:hover, .story-bar button:hover, .tool-choices button:hover { border-color: var(--link); }
.pills button[aria-pressed="true"], .story-bar button[aria-pressed="true"] { color: var(--button-ink); background: var(--accent); border-color: var(--accent); }
.search { flex: 0 1 17rem; }
.search input, textarea, select { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); padding: .48rem .75rem; min-height: 2.65rem; }
.search input { width: 100%; }
.search input::placeholder, textarea::placeholder { color: var(--muted); }
.filter-count { font-size: .87rem; color: var(--muted); margin: .45rem 0 .85rem; }
.empty { padding: 1rem; border: 1px dashed var(--line); border-radius: var(--r); }
summary { cursor: pointer; color: var(--link); font-weight: 650; }
summary:hover { text-decoration: underline; }
details :is(p, ol) { margin: .55rem 0 0; }
details ol { padding-inline-start: 1.35rem; }
figcaption { font-size: .82rem; }
.foot { padding: 1.4rem 0; text-align: center; color: var(--muted); background: var(--paper); border-top: 1px solid var(--line); font-size: .88rem; }
.icp { display: inline-block; margin-top: .3rem; font-weight: 700; padding: .25rem 0; }
@media (max-width: 850px) {
  .shell { width: calc(100% - 2.4rem); }
  .topbar { flex-wrap: wrap; padding-block: .7rem; }
}
@media (max-width: 570px) {
  .shell { width: calc(100% - 1.7rem); }
  .topbar { gap: .3rem; }
  .topbar nav { width: 100%; justify-content: space-between; gap: .44rem; }
  .topbar nav a { padding-block: .42rem; }
  .identity { font-size: .88rem; }
  .mark { flex-basis: 2.13rem; height: 2.13rem; }
  .search { flex: 1 1 100%; }
}

.archive-site {
  color-scheme: dark;
  --bg: #151512; --paper: #201f1b; --ink: #f4eee0; --muted: #c7bca9; --line: #545047; --link: #f0be83;
  --accent: #edbb80; --accent-hover: #f6d4ae; --button-ink: #211a14; --focus: #f4bd79; --r: .15rem;
}
.archive-site .mark { background: transparent; border: 1px solid var(--link); color: var(--link); }
.photo-lead { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(14rem, .65fr); align-items: end; gap: 1.35rem; padding-block: 2.5rem 1.55rem; }
.photo-lead h1, .exhibit h2 { font-family: "Songti SC", SimSun, "Noto Serif CJK SC", serif; font-weight: 700; }
.photo-lead h1 { margin-top: .48rem; }
.photo-lead > p { color: var(--muted); padding-bottom: .45rem; }
.exhibits { display: grid; gap: 1.25rem; }
.exhibit { background: var(--paper); border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1.43fr) minmax(0, .9fr); }
.exhibit figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; background: #0e0e0b; }
.exhibit img { height: clamp(19rem, 41vw, 29rem); object-fit: cover; object-position: center 65%; }
.exhibit-waic img { object-fit: contain; object-position: center; }
.exhibit figcaption { padding: .6rem .8rem; color: var(--muted); border-top: 1px solid var(--line); }
.exhibit-copy { padding: clamp(1.35rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; gap: .95rem; }
.exhibit-copy p:not(.kicker) { color: var(--muted); }
.story-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .72rem; border-bottom: 1px solid var(--line); padding-block: .95rem; }
.story-select, .story-step { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
.story-step span { min-width: 6.5rem; color: var(--muted); text-align: center; font-size: .82rem; }
.notes-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.45rem; }
.notes-steps article { border-top: 1px solid var(--line); padding-top: 1.15rem; }
.notes-steps span { color: var(--link); font-size: .9rem; }
.notes-steps h3 { margin: .4rem 0; }
.notes-steps p, .archive-note p { color: var(--muted); }
.archive-note { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.archive-note h2 { font-size: 1.25rem; margin-bottom: .45rem; }
@media (max-width: 720px) {
  .photo-lead, .exhibit { grid-template-columns: 1fr; }
  .photo-lead { gap: .75rem; padding-top: 1.75rem; }
  .exhibit img { height: auto; aspect-ratio: 4 / 3; }
  .exhibit-waic img { height: 22rem; }
}
@media (max-width: 540px) { .notes-steps { grid-template-columns: 1fr; } }

