.atlas-page {
  --paper: #f5f3ed;
  --ink: #20302e;
  --muted: #59665f;
  --rule: #d8ddd4;
  --green: #315c4a;
  --gold: #ab8348;
  background: var(--paper);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
}
.atlas-page .shell { width: min(91.4%, 1392px); }
.atlas-page > header .shell { min-height: 72px; flex-wrap: nowrap; }
.atlas-page .brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font: 700 1rem/1.2 Arial, "Microsoft YaHei", sans-serif;
  letter-spacing: .04em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 42px;
  border: 1px solid var(--green);
  font: 1.45rem "Songti SC", SimSun, serif;
  background: var(--green);
  color: #fff;
}
.atlas-page .brand small {
  display: block;
  margin-top: .3rem;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .015em;
}
.edition { font-size: .9rem; letter-spacing: .04em; }
.edition small { margin-left: .75rem; color: var(--muted); }
.atlas-page > header .language {
  flex-wrap: nowrap;
  gap: 0;
  border: 1px solid #b6c3b5;
  border-radius: 3px;
}
.atlas-page > header .language a {
  min-width: 2.7rem;
  min-height: 2.6rem;
  display: grid;
  place-items: center;
  font-size: .8rem;
  padding-inline: .55rem;
  text-decoration: none;
}
.atlas-page > header .language [aria-current] { background: var(--green); color: #fff; }
.portfolio-page .hero {
  background: #fcfbf7;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.portfolio-page .hero-inner { padding-block: clamp(1.5rem, 5vw, 4.2rem); }
.portfolio-page .hero h2 { font-size: clamp(2rem, 4.2vw, 3.75rem); line-height: 1.12; }
.portfolio-page .hero .kicker { color: var(--green); }
.portfolio-page .hero .lede { color: var(--muted); }
.portfolio-masthead { background: #e9ede4; border-bottom: 1px solid var(--rule); }
.portfolio-identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: clamp(1.4rem, 3.3vw, 3rem);
}
.portfolio-identity h1 { font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.08; }
.identity-domain { margin: 0 0 .5rem; color: var(--green); font-size: .88rem; font-weight: 700; }
.identity-domain span { font-weight: 400; }
.identity-interests { margin: .6rem 0 0; color: var(--muted); }
.identity-details { position: relative; align-self: end; }
.identity-details summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  width: fit-content;
  padding: .55rem .7rem;
  border: 1px solid #9fb3a5;
  background: #f7f8f3;
  color: var(--green);
  cursor: pointer;
  font-size: .9rem;
}
.identity-details summary::-webkit-details-marker { display: none; }
.identity-details[open] summary span { transform: rotate(45deg); }
.identity-name-panel {
  position: absolute;
  z-index: 2;
  top: calc(100% + .45rem);
  right: 0;
  width: min(26rem, 87vw);
  padding: 1rem 1.25rem;
  background: #fcfbf7;
  border: 1px solid var(--rule);
  box-shadow: 0 .6rem 1.5rem #24382a20;
  font-size: .9rem;
}
.identity-name-panel section + section { margin-top: .85rem; padding-top: .85rem; border-top: 1px solid var(--rule); }
.identity-name-panel h2 { font-size: 1.27rem; }
.identity-name-panel p { margin: .4rem 0; }
.identity-name-panel a, .site-footer a { color: var(--green); }
.site-footer { padding-block: .75rem; color: var(--muted); font-size: .83rem; }
@media (max-width: 42rem) {
  .portfolio-identity { grid-template-columns: minmax(0, 1fr); }
  .identity-name-panel { position: static; width: 100%; margin-top: .45rem; box-shadow: none; }
}
.portfolio-actions { display: flex; flex-wrap: wrap; gap: .55rem .75rem; margin-top: 1.2rem; }
.portfolio-actions .cta {
  margin: 0;
  border: 1px solid var(--green);
  border-radius: 2px;
  background: var(--green);
  color: #fff;
}
.portfolio-actions .latest-cta { background: transparent; color: var(--green); }
.portfolio-actions .cta:hover { background: #284c3d; color: #fff; }
.portfolio-page .cover .map-stage { width: 100%; }
.portfolio-page .cover figcaption { font-size: .85rem; }
.portfolio-video { margin-top: 1rem; }
.portfolio-section { padding-block: clamp(1.75rem, 4vw, 3rem); }
.portfolio-section > h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
.portfolio-section ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.collection-list a {
  display: flex;
  height: 100%;
  flex-direction: column;
  border: 1px solid var(--rule);
  background: #fcfbf7;
  text-decoration: none;
}
.collection-list a:hover { border-color: var(--green); }
.collection-map {
  display: grid;
  place-items: center;
  aspect-ratio: 1.8;
  overflow: hidden;
  background: #e8ece5;
  border-bottom: 1px solid var(--rule);
}
.collection-map-image { position: relative; width: var(--cover-width); }
.collection-map-image img { width: 100%; height: auto; display: block; }
.collection-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  flex: 1;
  padding: .9rem 1rem;
}
.collection-caption h3, .portfolio-upcoming h3 { font-size: clamp(1.12rem, 1.8vw, 1.48rem); line-height: 1.25; }
.collection-caption span { color: var(--green); }
.collection-list a:hover h3, .collection-list a:focus-visible h3 { text-decoration: underline; }
.portfolio-upcoming { border-top: 1px solid var(--rule); }
.portfolio-upcoming ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portfolio-upcoming li { padding: 1rem; border: 1px dashed #aebaae; }
@media (max-width: 46rem) {
  .portfolio-section ul { grid-template-columns: minmax(0, 1fr); }
}
.zhou-home, .zhou-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(1.15rem, 4vw, 3.5rem);
  align-items: center;
}
.zhou-home { padding-block: clamp(1.5rem, 4vw, 3rem); border-bottom: 1px solid var(--rule); }
.zhou-home-image { display: block; }
.zhou-home img, .zhou-figure img, .zhou-script-cover { display: block; width: 100%; height: auto; }
.zhou-home h2 a { text-decoration: none; }
.zhou-home h2 a:hover { text-decoration: underline; }
.zhou-hero { background: #fcfbf7; border-bottom: 1px solid var(--rule); }
.zhou-split { padding-block: clamp(1.5rem, 5vw, 4rem); }
.zhou-page h1 { font-size: clamp(2.1rem, 5vw, 4.5rem); line-height: 1.08; }
.zhou-lede { color: var(--muted); max-width: 56ch; }
.zhou-video { display: grid; gap: .15rem; margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.zhou-video a { color: var(--green); width: fit-content; font-weight: 700; }
.zhou-figure { margin: 0; }
.zhou-figure figcaption, .zhou-credit { color: var(--muted); margin-top: .5rem; font-size: .85rem; }
.zhou-section { padding-block: 1.75rem; }
.zhou-section + .zhou-section { border-top: 1px solid var(--rule); }
.zhou-featured { display: inline-block; margin-top: .85rem; color: var(--green); font-weight: 700; }
.zhou-episodes, .zhou-workflow, .zhou-map-archive ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.zhou-episodes a {
  display: block;
  height: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--rule);
  background: #fcfbf7;
  text-decoration: none;
}
.zhou-episodes a:hover { border-color: var(--green); }
.zhou-episodes a:hover h3 { text-decoration: underline; }
.zhou-episode-number { color: var(--green); font-size: .78rem; font-weight: 700; }
.zhou-episodes h3, .zhou-workflow h3 { margin-block: .2rem .4rem; font-size: 1.3rem; line-height: 1.25; }
.zhou-episodes p, .zhou-workflow p { margin: .4rem 0 0; color: var(--muted); font-size: .93rem; }
.zhou-episodes .zhou-dates { color: var(--muted); font-size: .83rem; }
.zhou-workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zhou-workflow li { border: 1px solid var(--rule); padding: .9rem; }
.zhou-workflow .zhou-figure img { height: clamp(8rem, 20vw, 16rem); object-fit: contain; background: #fcfbf7; }
.zhou-workflow h3 { margin-top: .65rem; }
.zhou-map-archive summary { margin-top: .75rem; cursor: pointer; color: var(--green); }
.zhou-reading { padding-block: 1.5rem 2.5rem; }
.zhou-reading-head { border-bottom: 1px solid var(--rule); padding-bottom: 1rem; margin-bottom: 1.25rem; }
.zhou-reading-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: clamp(1.25rem, 4vw, 4rem); }
.zhou-reading-grid h2 { font-size: 1.55rem; }
.zhou-transcript { max-width: 45em; line-height: 1.95; white-space: pre-line; overflow-wrap: anywhere; }
.zhou-transcript p { margin: 1em 0; }
.zhou-script-cover { margin-top: 1rem; }
.zhou-reading-nav { border-top: 1px solid var(--rule); padding-top: .75rem; }
@media (max-width: 56rem) {
  .zhou-episodes, .zhou-map-archive ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 42rem) {
  .zhou-home, .zhou-split, .zhou-reading-grid, .zhou-workflow, .zhou-episodes { grid-template-columns: minmax(0, 1fr); }
}
.atlas-page .case-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.45rem 1.15rem;
}
.literature-home, .literature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(1.4rem, 6vw, 6rem);
  padding-block: clamp(1.5rem, 5vw, 4.25rem);
}
.literature-home { border-top: 1px solid var(--rule); }
.literature-home h2 a { text-decoration: none; }
.literature-home h2 a:hover { text-decoration: underline; }
.literature-hero { background: #fcfbf7; border-bottom: 1px solid var(--rule); }
.literature-page h1 { font-size: clamp(2.15rem, 5.2vw, 4.4rem); line-height: 1.1; }
.literature-quote {
  margin: 0;
  padding: 1rem clamp(1rem, 3vw, 2.4rem);
  border-inline-start: 2px solid var(--gold);
  background: #eeeae0;
}
.literature-quote > p:first-child {
  margin: 0;
  font: 500 clamp(1.3rem, 3vw, 2.5rem)/1.5 "Songti SC", SimSun, serif;
  color: var(--ink);
}
.literature-quote cite { display: block; margin-top: .4rem; font-size: .83rem; font-style: normal; color: var(--muted); }
.literature-translation, .literature-language { font-size: .92rem; color: var(--muted); }
.literature-shelves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-block: 2rem 3rem; }
.literature-card { border: 1px solid var(--rule); background: #fcfbf7; padding: clamp(1rem, 3vw, 2rem); }
.literature-card h2 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; }
.literature-card h2 a { text-decoration: none; }
.literature-card h2 a:hover { text-decoration: underline; }
.literature-card p, .literature-reader header p { max-width: 60ch; color: var(--muted); }
.literature-card > a { color: var(--green); font-weight: 700; }
.literature-video { border-top: 2px solid var(--gold); }
.literature-reader { max-width: 58rem; padding-block: 1.5rem 3rem; }
.literature-reader header { margin-block: .8rem 1.3rem; padding-bottom: .6rem; }
.literature-search { display: grid; gap: .35rem; margin-block: 1rem; max-width: 32rem; }
.literature-search input { width: 100%; padding: .55rem .7rem; font: inherit; border: 1px solid #aebaae; background: #fcfbf7; color: var(--ink); }
.literature-entries { border-top: 1px solid var(--rule); }
.literature-entries details { border-bottom: 1px solid var(--rule); background: #fcfbf7; }
.literature-entries summary { padding: .75rem 1rem; cursor: pointer; font-weight: 700; overflow-wrap: anywhere; }
.literature-entries summary:hover { background: #eef0e8; }
.literature-number { display: inline-block; min-width: 2em; font-variant-numeric: tabular-nums; color: var(--muted); }
.literature-text {
  max-width: 44rem;
  padding: 0 1rem .75rem;
  font: 1.08rem/1.95 "Songti SC", SimSun, serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.literature-text p { margin: .4rem 0 1.1rem; }
.literature-note { padding-inline-start: .65rem; border-inline-start: 2px solid var(--gold); color: var(--muted); }
@media (max-width: 42rem) {
  .literature-home, .literature-split, .literature-shelves { grid-template-columns: minmax(0, 1fr); }
}
.atlas-page .eyebrow {
  color: var(--green);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.atlas-page .case-intro .eyebrow { margin: 0 0 .55rem; }
.atlas-page .case-intro h1 {
  font: 700 clamp(1.55rem, 2.45vw, 2rem)/1.25 Georgia, "Songti SC", SimSun, serif;
  letter-spacing: normal;
}
.case-intro h1 span {
  display: inline-block;
  margin-left: 1rem;
  font: 1.25rem/1.3 Georgia, "Songti SC", serif;
  color: #795b2f;
}
.atlas-links { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; margin-top: .85rem; color: var(--muted); font-size: .875rem; }
.chapter-label {
  display: grid;
  min-width: 11rem;
  gap: .25rem;
  border-left: 1px solid var(--rule);
  padding-left: 1.4rem;
  font-size: .875rem;
}
.chapter-label > span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.chapter-links {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .35rem;
  margin-bottom: .75rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--rule);
}
.chapter-links a { padding: .2rem .4rem; color: var(--green); font-size: .8rem; text-decoration: none; }
.chapter-links a[aria-current], .chapter-links a:hover { background: #e2e9df; }
.atlas-page .map-grid {
  align-items: stretch;
  gap: 0;
  margin: 0;
  border: 1px solid var(--rule);
  background: #fcfbf7;
}
.atlas-page .map-grid.atlas-spread { grid-template-columns: minmax(0, 1fr) minmax(0, 345px); }
.map-column { min-width: 0; }
.atlas-spread .map-column { border-right: 1px solid var(--rule); }
.map-top, .story-heading {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  align-items: center;
  min-height: 43px;
  padding: .5rem 1.1rem;
  color: var(--muted);
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}
.map-frame { position: relative; width: 94%; margin-inline: auto; }
.atlas-page .map-viewport { border: 0; background: #e8e9e1; }
.atlas-page .map-tools {
  position: absolute;
  right: .7rem;
  bottom: .7rem;
  max-width: calc(100% - 1.4rem);
  z-index: 1;
  gap: 0;
  margin: 0;
  background: #fcfbf7;
  box-shadow: 0 2px 12px #0002;
  border-radius: 3px;
}
.atlas-page .map-tools button { border: 0; background: transparent; }
.atlas-page .map-tools button:hover:enabled { background: #e0e7df; }
.atlas-page .map-tools button:disabled { opacity: .5; }
.atlas-page .map-tools output { min-width: 3rem; font-size: .8rem; }
.map-caption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem 1rem;
  margin: 0;
  padding: .65rem 1.1rem;
  font-size: .8rem;
}
.map-caption .map-label-control { padding: 0; margin: 0; font-size: inherit; }
.map-label-control input { accent-color: var(--green); }
.atlas-page .atlas-spread .transcript {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-height: clamp(450px, 47vw, 740px);
  padding: 0;
  border: 0;
  background: transparent;
}
.story-heading { padding: .85rem 1.3rem .2rem; }
.story-scroll {
  flex: 1;
  overflow: auto;
  scrollbar-width: thin;
  padding: .2rem 1.3rem 1.05rem;
  color: #384940;
}
.story-scroll .year-display {
  font: 400 clamp(1.65rem, 3.2vw, 2.75rem)/1.1 Georgia, "Songti SC", SimSun, serif;
  color: var(--ink);
  margin: .35rem 0 .6rem;
}
.story-range { color: var(--muted); font-size: .85rem; }
.accent-rule { width: 30px; height: 2px; margin: .75rem 0; background: var(--gold); }
.atlas-page .transcript h3 { font-size: 1.25rem; line-height: 1.3; margin: .9rem 0 .5rem; color: var(--ink); }
.atlas-page .transcript .event-summary { margin: .35rem 0 0; }
.story-scroll .copy { margin: 0 0 .8rem; line-height: 1.8; }
.rulers { border-top: 1px solid var(--rule); margin-top: 1rem; padding-top: .2rem; }
.atlas-page .transcript .rulers .eyebrow { font: 700 .73rem/1.4 Arial, "Microsoft YaHei", sans-serif; color: var(--green); }
.rulers dl { margin: .4rem 0 0; }
.rulers dl > div { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); gap: .7rem; padding-block: .2rem; font-size: .86rem; }
.rulers dt, .rulers p { color: var(--muted); font-size: .82rem; }
.rulers dd { margin: 0; overflow-wrap: anywhere; }
.story-nav { display: flex; border-top: 1px solid var(--rule); min-height: 49px; }
.story-nav a { flex: 1; display: grid; place-items: center; padding: .4rem; color: var(--green); font-size: .85rem; text-decoration: none; }
.story-nav a + a { border-left: 1px solid var(--rule); }
.story-nav a:hover { background: #eaf0e8; }
.atlas-page .timeline-scrubber {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem 1rem;
  border: 1px solid var(--rule);
  border-top: 0;
  padding: 1rem 1.45rem .95rem;
  background: #e9ede5;
}
.atlas-page .timeline-scrubber input { grid-column: 1 / -1; margin: 0; accent-color: var(--green); }
.atlas-page .timeline-scrubber output { font-weight: 400; font-size: .85rem; }
.timeline-labels {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .4rem .8rem;
  font-size: .8rem;
  color: var(--muted);
}
.timeline-labels small { font-size: inherit; text-align: center; }
.atlas-page .period-index { margin: 2.2rem 0 0; }
.archive-heading { display: flex; align-items: end; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.archive-heading .eyebrow { margin: 0 0 .3rem; }
.archive-heading h2 { font-size: 1.45rem; }
.archive-search { min-height: 40px; max-width: 100%; padding: .4rem; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #adb9ae; font: inherit; }
.event-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.event-list a { display: grid; align-content: center; gap: .3rem; min-height: 72px; padding: .5rem .7rem; border: solid var(--rule); border-width: 0 1px 1px 0; font-size: .83rem; text-decoration: none; }
.event-year { font: 1.03rem/1.25 Georgia, "Songti SC", serif; }
.event-list a:hover { background: #e7ebe3; }
.event-list a[aria-current] { background: var(--green); color: #fff; }
.atlas-page .chapter-art { margin: 0; padding: 1rem; border-top: 1px solid var(--rule); }
.atlas-page .chapter-art h2 { color: var(--green); font: 700 .78rem/1.4 Arial, "Microsoft YaHei", sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.atlas-page .art-grid { margin-top: .6rem; }
.atlas-page .art-grid figure { background: #f4f0e6; }
.atlas-page footer .shell { min-height: 4rem; }
@media (min-width: 1500px) {
  .atlas-page .map-grid.atlas-spread { grid-template-columns: minmax(0, 1fr) minmax(0, 395px); }
}
@media (max-width: 1000px) {
  .atlas-page .map-grid.atlas-spread { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
  .chapter-label { display: none; }
  .event-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .atlas-page > header .shell { min-height: 64px; }
  .atlas-page .brand { flex-shrink: 1; font-size: .9rem; gap: .55rem; }
  .atlas-page .brand small { font-size: .57rem; }
  .brand-mark { flex: 0 0 32px; height: 36px; }
  .edition { display: none; }
  .atlas-page .case-intro { padding-block: 1.65rem 1rem; }
  .case-intro h1 span { display: block; margin: .45rem 0 0; }
  .chapter-links { flex-wrap: nowrap; white-space: nowrap; overflow-x: auto; }
  .chapter-links a { flex: 0 0 auto; }
  .atlas-page .map-grid.atlas-spread { grid-template-columns: minmax(0, 1fr); }
  .atlas-spread .map-column { border-right: 0; border-bottom: 1px solid var(--rule); }
  .atlas-page .atlas-spread .transcript { max-height: none; }
  .story-heading, .story-scroll { padding-inline: 1.1rem; }
  .story-scroll { overflow: visible; }
  .atlas-page .timeline-scrubber { padding: .9rem; gap: .5rem; }
  .timeline-labels { flex-wrap: wrap; }
  .timeline-labels small { order: 1; flex-basis: 100%; text-align: left; }
  .archive-heading { align-items: start; flex-direction: column; }
  .archive-search { width: 100%; }
  .event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
