@font-face {
  font-family: "SourceHanSerif";
  src: url("font-sourcehan-serif.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fbf7f0;
  --paper-2: #f6efe4;
  --paper-3: #f0e7d8;
  --ink: #241c17;
  --ink-2: #4e433a;
  --ink-3: #8b7e6f;
  --ink-4: #b4a794;
  --zhu: #8c211f;
  --zhu-dp: #5e1013;
  --m-axis: #c74537;
  --m-liu: #bc374a;
  --m-panda: #285639;
  --m-xr: #406196;
  --m-well: #31788e;
  --off: #d0cecf;
  --gold: #b9924e;
  --gold-dp: #96733a;
  --gold-lt: #dcc48e;
  --line: rgb(120 104 84 / 24%);
  --line-2: rgb(120 104 84 / 13%);
  --serif: "SourceHanSerif", "思源宋体", "Noto Serif SC", "Songti SC", SimSun, "宋体", serif;
  --en: Georgia, "Times New Roman", var(--serif);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: max(clamp(18px, 4.8vw, 76px), env(safe-area-inset-left), env(safe-area-inset-right));
  --measure: 1320px;
  --gap: clamp(24px, 4.2vw, 58px);
  --gallery-gap: clamp(10px, 1.4vw, 22px);
  --shadow-frame: 0 2px 12px rgb(60 45 30 / 11%), 0 1px 3px rgb(60 45 30 / 7%);
  --nav-offset: calc(12px + env(safe-area-inset-top));
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.95 var(--serif);
}

:where(h1, h2, h3, h4, p, figure, blockquote) {
  margin: 0;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

em {
  font-style: normal;
}

b, strong {
  color: var(--ink);
  font-weight: 700;
}

:focus-visible {
  outline: 2px solid var(--zhu);
  outline-offset: 4px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .032;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress, .island {
  display: none;
}

.enhanced .progress {
  display: block;
  position: fixed;
  inset: 0 0 auto;
  z-index: 5;
  height: 2px;
  background: rgb(120 104 84 / 14%);
  pointer-events: none;
}

#pbar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--zhu), var(--gold), var(--m-well));
}

.enhanced .island {
  display: flex;
}

.island {
  position: fixed;
  z-index: 4;
  top: var(--nav-offset);
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
  gap: 4px;
  max-width: calc(100% - 24px);
  padding: 0 2px 0 16px;
  border: 1px solid rgb(120 104 84 / 16%);
  border-radius: 999px;
  background: rgb(251 247 240 / 85%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 70%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  opacity: .78;
  transition: opacity .35s var(--ease);
}

.island.awake, .island:focus-within {
  opacity: 1;
}

.island .brand {
  color: var(--zhu);
  font-size: 13px;
  letter-spacing: .12em;
  white-space: nowrap;
}

.island .brand i {
  color: var(--ink-3);
  font-style: normal;
}

.burger {
  position: relative;
  display: grid;
  flex: none;
  place-content: center;
  gap: 3px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.burger::before {
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  background: linear-gradient(160deg, #9c2723, #6e1519);
  content: "";
}

.burger i {
  z-index: 1;
  width: 10px;
  height: 1px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--paper);
}

.burger[aria-expanded="true"] i:first-child {
  transform: translateY(4px) rotate(45deg);
}

.burger[aria-expanded="true"] i:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] i:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.overlay-open {
  overflow: hidden;
}

#menu, #lightbox {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0;
  overscroll-behavior: contain;
}

#menu {
  overflow: auto;
  background: rgb(248 243 234 / 97%);
  color: var(--ink);
}

#menu::backdrop {
  background: rgb(36 28 23 / 24%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.menu-inner {
  max-width: 1060px;
  margin-inline: auto;
  padding: 2px var(--gutter) clamp(32px, 6vw, 64px);
}

.menu-t {
  margin-block-end: 18px;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: .36em;
}

.menu-inner a {
  display: flex;
  align-items: baseline;
  gap: clamp(8px, 2vw, 16px);
  min-height: 44px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink);
  line-height: 1.4;
  text-decoration: none;
  transition: padding .25s var(--ease), background .25s var(--ease);
}

.menu-inner .n {
  min-width: 26px;
  color: var(--gold-dp);
  font: 11.5px var(--en);
  letter-spacing: .15em;
}

.menu-inner .t {
  font-size: clamp(16px, 2.1vw, 22px);
  letter-spacing: .03em;
}

.menu-inner .s {
  margin-left: auto;
  color: var(--ink-3);
  font: 11px var(--en);
  text-align: right;
  letter-spacing: .17em;
}

.menu-close, .lb-close {
  position: sticky;
  top: var(--nav-offset);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: var(--nav-offset) var(--gutter) 8px auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--zhu);
  color: #fff;
  font: 27px/1 var(--en);
  cursor: pointer;
}

#lightbox {
  overflow: auto;
  padding-inline: max(12px, 4vw);
  background: rgb(24 19 15 / 96%);
}

#lightbox[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lightbox::backdrop {
  background: rgb(24 19 15 / 70%);
}

#lightbox .lb-close {
  flex: none;
  align-self: end;
  margin-inline: 0;
  background: #493e34;
}

#lightbox .lb-close:focus-visible {
  outline-color: #fff;
}

#lightbox img {
  flex: 0 0 auto;
  width: auto;
  max-height: calc(100vh - 80px);
  max-height: calc(100dvh - 80px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  margin: auto;
  object-fit: contain;
  box-shadow: 0 14px 48px rgb(0 0 0 / 55%);
}

#lightbox.tall img {
  width: min(100%, 440px);
  max-height: none;
  margin: 8px auto max(20px, env(safe-area-inset-bottom));
}

.deck {
  background: var(--paper);
}

.page, .cover {
  position: relative;
  isolation: isolate;
}

.page {
  padding: clamp(74px, 8vw, 120px) var(--gutter) clamp(58px, 7vw, 100px);
  border-bottom: 1px solid var(--line-2);
}

.page:last-of-type {
  border-bottom: 0;
}

.page > .in {
  position: relative;
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
}

.page > .bg, .cover > .bg {
  position: absolute;
  z-index: -2;
  inset: 0 0 auto;
  width: 100%;
  height: min(100%, clamp(460px, 86vh, 1040px));
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 56%, rgb(0 0 0 / 35%) 82%, transparent);
  mask-image: linear-gradient(#000 56%, rgb(0 0 0 / 35%) 82%, transparent);
}

.page-head {
  margin-bottom: clamp(24px, 3.5vw, 50px);
}

.ph-row {
  display: flex;
  justify-content: flex-end;
}

.pno {
  color: var(--ink-3);
  font: 11.5px var(--en);
  letter-spacing: .2em;
}

h2.title {
  margin: 14px 0 10px;
  font-size: clamp(29px, 5.4vw, 54px);
  line-height: 1.2;
  letter-spacing: .02em;
}

h2.title .zh {
  display: block;
}

h2.title.p15-tt .zh {
  color: var(--m-well);
}

h2.title.p16-tt .zh {
  color: var(--gold-dp);
}

.subhead {
  margin-top: clamp(24px, 3.6vw, 42px);
  font-size: clamp(16px, 2.1vw, 19px);
  font-weight: 700;
  line-height: 1.48;
  letter-spacing: .06em;
}

.subt {
  color: var(--gold-dp);
  font: clamp(10.5px, 1.25vw, 12px)/1.65 var(--en);
  letter-spacing: .22em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.sub-cn {
  margin-top: -4px;
  color: var(--zhu);
  font-size: clamp(14.5px, 2vw, 19px);
  letter-spacing: .06em;
}

.rule-gold {
  width: min(100%, 340px);
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--gold), rgb(185 146 78 / 5%) 70%);
}

.display {
  color: var(--zhu);
  font-size: clamp(32px, 7.2vw, 58px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .06em;
}

.body {
  max-width: 44em;
}

.body p {
  color: var(--ink-2);
  font-size: clamp(15px, 1.2vw, 16.5px);
  line-height: 1.92;
}

.body p + p {
  margin-top: 16px;
}

.body p, .cell p {
  text-align: justify;
  text-justify: inter-ideograph;
  overflow-wrap: break-word;
}

.zhu-b b {
  color: var(--zhu);
}

.quote {
  max-width: 52ch;
  margin-top: clamp(28px, 4vw, 44px);
  padding: 6px 0 6px clamp(14px, 2vw, 22px);
  border-left: 2px solid var(--zhu);
  font: clamp(19px, 3vw, 27px)/1.85 var(--en);
}

.quote small {
  display: block;
  margin-top: 10px;
  color: var(--ink-3);
  font: 12.5px/1.6 var(--serif);
  letter-spacing: .08em;
}

.split, .p4-wrap {
  display: grid;
  align-items: start;
  gap: var(--gap);
}

.g-l {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.g-map {
  grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
}

.g-map .subhead:first-child {
  margin-top: 0;
}

.g-end, .p3-eq {
  align-items: end;
}

#p04 {
  background: #f7e9dd;
}

.orgfig {
  min-width: 0;
}

.orgfig img {
  width: 100%;
  border-radius: 14px;
}

.p4-wrap {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}

.axis-duo {
  --rise-offset: 0px;
  display: flex;
  align-items: stretch;
  justify-self: end;
  gap: clamp(12px, 2vw, 26px);
  width: 100%;
  max-width: 600px;
}

.axis-duo figure {
  flex: 1 1 0;
  min-width: 0;
  padding: clamp(6px, .8vw, 12px);
  border-radius: 3px;
  background: var(--paper);
  box-shadow: var(--shadow-frame);
}

.axis-duo figure:first-child {
  flex-grow: 3.58809;
}

.zoom-link {
  display: block;
  cursor: zoom-in;
}

.zoom-link img {
  width: 100%;
  height: auto;
}

#p07 .g-l {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#p07 .core {
  display: grid;
  place-items: center;
  padding: clamp(9px, 1.3vw, 15px);
  aspect-ratio: 3 / 2;
  border-radius: 3px;
  background: #f5f0e7;
  box-shadow: var(--shadow-frame);
}

#p07 .core img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#p08 .g-l {
  grid-template-columns: minmax(0, 1fr) minmax(168px, 24%);
}

.figs, .gcol {
  display: grid;
  align-content: start;
  gap: var(--gallery-gap);
}

.fig-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fig-3, .gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

:where(.figs, .axis-duo, .gallery) > figure {
  min-width: 0;
}

.core {
  border-radius: 12px;
  overflow: hidden;
}

.core > img {
  width: 100%;
  height: auto;
}

.p13-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.p13-grid .core {
  aspect-ratio: 4 / 3;
}

.p13-grid .core img {
  height: 100%;
  object-fit: cover;
}

.p13-grid > :nth-child(1) {
  display: grid;
  grid-area: 1 / 1 / 3 / 2;
}

.p13-grid > :nth-child(1) .core {
  height: 100%;
  aspect-ratio: auto;
}

.p13-grid > :nth-child(2) {
  grid-area: 1 / 2;
}

.p13-grid > :nth-child(3) {
  grid-area: 1 / 3;
}

.p13-grid > :nth-child(4) {
  grid-area: 2 / 2;
}

.p13-grid > :nth-child(5) {
  grid-area: 2 / 3;
}

.gallery {
  display: grid;
  gap: clamp(14px, 2.2vw, 26px);
  margin-top: clamp(24px, 3.2vw, 36px);
}

.gallery .fr {
  display: grid;
  place-items: center;
  padding: clamp(9px, 1.3vw, 15px);
  aspect-ratio: 3 / 2;
  border-radius: 3px;
  background: var(--paper);
  box-shadow: var(--shadow-frame);
}

.gallery .it img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cap, .cap-sm {
  margin-top: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: #726553;
  font-size: 12px;
  line-height: 1.7;
}

.cards, .p8-left, .p8-mods {
  display: grid;
  gap: clamp(12px, 1.5vw, 22px);
}

.c3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cell, .mission {
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgb(255 255 255 / 50%);
}

.cell {
  position: relative;
  overflow: hidden;
  padding: clamp(16px, 2vw, 22px) clamp(16px, 1.7vw, 20px) clamp(18px, 2vw, 24px);
  transition: transform .4s var(--ease);
}

.cell::after {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--c, var(--gold));
  opacity: .85;
  content: "";
}

.cell .k, .mission .k {
  color: var(--c, var(--zhu));
  font: 11px var(--en);
  letter-spacing: .2em;
}

.cell .h {
  margin: 5px 0 8px;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 1.5;
}

.cell .h:first-child {
  margin-top: 0;
}

.cell p {
  color: var(--ink-2);
  font-size: clamp(14px, 1.2vw, 15.5px);
  line-height: 1.8;
}

.cell p + p {
  margin-top: 9px;
}

.p8-left .cell {
  border-left: 2px solid var(--c, var(--line-2));
}

.p8-left .cell b {
  color: var(--zhu);
}

.mission {
  padding: 22px 20px 24px;
}

.mission .row + .row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.mission .v {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.85;
}

.spokes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2.2vw, 22px);
}

.spoke .fr {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--paper-2);
}

.spoke img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.spoke .nm {
  margin-top: 12px;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 700;
  letter-spacing: .14em;
}

.spoke .ti {
  margin-top: 5px;
  color: #726553;
  font-size: 12px;
  line-height: 1.75;
}

.tl {
  border-top: 1px solid var(--line);
}

.tl .row {
  display: grid;
  grid-template-columns: minmax(132px, 168px) minmax(0, 1fr);
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px dashed var(--line);
}

.tl .y {
  color: var(--gold-dp);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.7;
}

.tl .e {
  color: var(--ink-2);
  font-size: 14px;
}

.tl .hi :is(.y, .e) {
  color: var(--zhu);
}

.p9-cards, .p9-mods {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.p9-mods {
  gap: var(--gap);
  margin-top: clamp(26px, 4.4vw, 44px);
}

.p8-tenv {
  margin: 0 0 8px;
}

.p8-tenv .tag {
  display: inline-block;
  padding-inline-start: 6px;
  border-inline-start: 3px solid currentColor;
  color: var(--zhu);
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 700;
  letter-spacing: .14em;
}

.p8-tenv .panda {
  color: var(--m-panda);
}

.modmap, .modinner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(min-content, 57fr) minmax(min-content, 43fr);
  container-type: inline-size;
  gap: 5px;
  padding: 5px;
  aspect-ratio: 1010 / 690;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgb(255 255 255 / 55%);
}

.modinner {
  grid-template-columns: minmax(0, 28fr) minmax(0, 30fr) minmax(0, 25fr);
  grid-template-rows: repeat(2, minmax(min-content, 1fr));
  aspect-ratio: 1010 / 650;
}

.mm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35em;
  min-width: 0;
  padding: 8px;
  border-radius: 3px;
  background: var(--off);
  color: var(--ink-2);
  font-size: clamp(12px, 2.65cqw, 21px);
  line-height: 1.35;
  text-align: center;
  letter-spacing: .04em;
}

.mm.on {
  background: var(--c, var(--zhu));
  color: #fff;
}

.mm .v {
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.modinner .mm {
  font-size: clamp(12px, 2.65cqw, 18px);
}

.m1, .mr1 {
  grid-area: 1 / 1 / 3 / 2;
}

.m2, .mr2 {
  grid-area: 1 / 2 / 3 / 3;
}

.m3, .mr3 {
  grid-area: 1 / 3;
}

.m4, .mr4 {
  grid-area: 2 / 3;
}

.vec {
  margin-top: clamp(24px, 4.2vw, 38px);
  padding: clamp(12px, 2.6vw, 22px);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: linear-gradient(rgb(255 255 255 / 50%), rgb(240 231 216 / 55%));
}

.vec svg, svg.rmap {
  display: block;
  width: 100%;
  height: auto;
}

.axis-beacons circle {
  opacity: .6;
}

.axis-flock path {
  vector-effect: non-scaling-stroke;
  stroke-width: clamp(.85px, .13vw, 1.45px);
}

.exhibit-lamp {
  opacity: .42;
}

.xr-scene {
  position: relative;
  z-index: 2;
  margin-block-start: clamp(-18px, -1.1vw, -10px);
  padding: 0;
  border: 0;
  background: none;
  pointer-events: none;
}

.xr-scene svg {
  overflow: visible;
}

#p02 {
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
}

.toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(8, auto);
  grid-auto-flow: column;
  column-gap: clamp(30px, 5vw, 92px);
  margin-top: 14px;
}

.toc a {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 20px);
  min-height: 44px;
  padding: clamp(8px, 1vw, 13px) 6px;
  border-bottom: 1px solid var(--line-2);
  text-decoration: none;
  transition: background .2s, border-color .2s;
}

.toc .n {
  flex: none;
  width: 30px;
  color: var(--gold-dp);
  font: 15px var(--en);
  letter-spacing: .1em;
}

.toc .tx {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.toc .t {
  color: var(--ink);
  font-size: clamp(17px, 1.8vw, 23px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .02em;
}

.toc .s {
  color: #726553;
  font: 11.2px/1.35 var(--en);
  letter-spacing: .14em;
  overflow-wrap: anywhere;
}

.cover {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.cover > .bg, .end > .bg {
  inset: 0;
  height: 100%;
  -webkit-mask-image: none;
  mask-image: none;
}

.end > .bg {
  opacity: .17;
}

.cover .veil {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(122% 92% at 50% 30%, rgb(251 247 240 / 16%), rgb(251 247 240 / 58%) 56%, rgb(251 247 240 / 90%));
  pointer-events: none;
}

.cover > .in {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  width: 100%;
  max-width: calc(1160px + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(76px, 10vh, 132px) var(--gutter) clamp(24px, 3.3vh, 50px);
}

.cover-mid {
  max-width: 900px;
  margin: auto;
  padding-block: clamp(24px, 6vh, 72px) clamp(34px, 7vh, 82px);
  text-align: center;
}

.cover-title {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(6px, 1.2vw, 16px);
}

.cn-svg {
  display: block;
  width: clamp(188px, 54vw, 490px);
  height: auto;
  overflow: visible;
}

.cn-svg path {
  fill: #580810;
  stroke: none;
}

.cn-svg .ch {
  transform-box: fill-box;
  transform-origin: center bottom;
}

.cover-seal {
  flex: none;
  width: clamp(36px, 8.4vw, 70px);
  margin-top: clamp(0px, .5vw, 6px);
  mix-blend-mode: multiply;
  opacity: .95;
}

.cover .cn {
  margin-top: clamp(14px, 2.6vw, 26px);
  font-size: clamp(19px, 4.4vw, 36px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .14em;
  text-indent: .14em;
}

.cover-orn {
  width: clamp(62px, 10vw, 98px);
  margin: clamp(11px, 1.9vw, 17px) auto 0;
  opacity: .9;
}

.cover .cn-en {
  margin-top: clamp(13px, 2.1vw, 21px);
  color: var(--gold-dp);
  font: clamp(10px, 1.2vw, 11.5px)/1.55 var(--en);
  letter-spacing: .3em;
}

.cover .cn-en.s2 {
  max-width: 58ch;
  margin: 7px auto 0;
  color: #726553;
  letter-spacing: .14em;
}

.cover-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 54px);
}

.cover-lines {
  flex: none;
  padding-left: clamp(11px, 1.7vw, 18px);
  border-left: 2px solid var(--gold);
  color: var(--ink-2);
  font-size: clamp(13px, 1.45vw, 15px);
  line-height: 2;
  letter-spacing: .1em;
}

.cover-lines span {
  display: block;
}

.orgrow {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: clamp(12px, 1.65vw, 28px);
}

.orgrow .o {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}

.orgrow .lg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(26px, 3.2vw, 38px);
}

.orgrow .lg img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.orgrow .nm {
  margin-top: 8px;
  color: #726553;
  font-size: 11.5px;
  line-height: 1.6;
  text-align: center;
}

.scroll-hint {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 auto max(16px, env(safe-area-inset-bottom));
  color: #726553;
  font: 10px/1.5 var(--en);
  letter-spacing: .3em;
}

.scroll-hint i {
  width: 1px;
  height: clamp(16px, 3.2vh, 30px);
  background: linear-gradient(var(--gold), transparent);
}

.end {
  display: flex;
  align-items: stretch;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(80px, 10vw, 144px) var(--gutter) clamp(42px, 7vw, 78px);
  text-align: center;
}

.end .in {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
}

.end-mid {
  display: grid;
  flex: 1 0 auto;
  place-items: center;
  width: 100%;
  padding: min(7vh, 60px) 0 clamp(38px, 8vw, 96px);
}

.end-mid > h2 {
  width: 100%;
  min-width: 0;
}

.end img.t {
  width: min(100%, clamp(248px, 61vw, 560px));
  margin-inline: auto;
  mix-blend-mode: multiply;
}

.end-foot .orgs {
  display: grid;
  justify-items: center;
  gap: clamp(8px, 1.4vw, 12px);
}

.end-foot .orgs img {
  width: auto;
  max-width: min(100%, 330px);
  height: clamp(23px, 3.2vw, 34px);
  object-fit: contain;
}

.end-sign {
  margin-top: clamp(20px, 3.4vw, 32px);
}

.es-t {
  color: var(--ink);
  font-size: clamp(13px, 1.65vw, 16px);
  letter-spacing: .14em;
}

.es-cs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px 16px;
  margin-top: 9px;
}

.es-c, .end-qr-t {
  color: #726553;
  font-size: 12px;
  letter-spacing: .05em;
}

.end-qr {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  justify-items: center;
  gap: 7px;
}

.end-qr img {
  width: clamp(96px, 11vw, 120px);
  border-radius: 7px;
  box-shadow: 0 1px 6px rgb(0 0 0 / 10%);
}

.rm-country {
  fill: #ede7da;
  stroke: rgb(126 110 90 / 42%);
  stroke-width: .5;
  stroke-linejoin: round;
}

.rm-prov {
  fill: #f7f3ea;
  stroke: rgb(126 110 90 / 22%);
  stroke-width: .6;
}

.hmap .rm-prov {
  fill: #f8f5ee;
  stroke: rgb(126 110 90 / 20%);
}

.rm-cnline {
  fill: none;
  stroke: rgb(126 110 90 / 52%);
  stroke-width: 1.05;
}

.rm-jd {
  fill: #c74537;
  stroke: #c74537;
  stroke-width: 2.2;
  stroke-linejoin: round;
  opacity: .72;
}

.hmap .rm-jd {
  fill: #a05c38;
  stroke: #a05c38;
  stroke-width: 2;
  opacity: .7;
}

.hmap :is(.hc-cul, .hc-nat, .hc-mix, .hc-ovs) {
  fill: var(--marker);
  stroke: var(--marker-edge);
  stroke-width: 1;
  opacity: .95;
}

.hc-cul { --marker: #b0322a; --marker-edge: #8e241d; }
.hc-nat { --marker: #2f7a66; --marker-edge: #245e4f; }
.hc-mix { --marker: #c9a25a; --marker-edge: #a07c3a; }
.hc-ovs { --marker: #7a5fa8; --marker-edge: #5e4884; }

.hmap .hn {
  fill: #6b5a45;
  stroke: var(--paper);
  stroke-linejoin: round;
  stroke-width: 2.6px;
  paint-order: stroke;
  font-size: 11.5px;
  text-anchor: middle;
  pointer-events: none;
}

.hmap .hn-ovs {
  fill: #5e4884;
}

.hintro p + p {
  margin-top: 2px;
}

.hintro .hnum {
  font-size: 1.38em;
  font-weight: 700;
  line-height: 1;
  vertical-align: -.06em;
}

.hnum.n-cul, .hc-bd .c-cul { color: #b0322a; }
.hnum.n-nat, .hc-bd .c-nat { color: #2f7a66; }
.hnum.n-mix, .hc-bd .c-mix { color: #8c671e; }

.hlegend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px clamp(12px, 2.3vw, 28px);
  margin: clamp(16px, 2.5vw, 28px) 0 clamp(24px, 3.5vw, 40px);
  color: var(--ink-2);
  font-size: clamp(12px, 1.4vw, 15px);
}

.hlegend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: middle;
}

.l-cul i { background: #b0322a; }
.l-nat i { background: #2f7a66; }
.l-mix i { background: #c9a25a; }
.l-ovs i { background: #7a5fa8; }

.hcards, .hcards-ovs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hcards-ovs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.hcard {
  padding: 10px 12px 11px;
  border: 1px solid rgb(120 104 84 / 16%);
  border-radius: 5px;
  background: rgb(255 255 255 / 66%);
}

.hc-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  margin-bottom: 5px;
}

.hc-nm {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}

.hc-ct {
  color: #726553;
  font-size: 11px;
}

.hc-bd {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.rollout {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

.rollout-map {
  min-width: 0;
}

.rollout-side {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2.4vw, 24px);
  padding-top: clamp(18px, 2.6vw, 26px);
  border-top: 1px solid var(--line);
}

.rs-h {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.5;
}

.rs-d {
  flex: none;
  width: 10px;
  height: 10px;
  border: 1px solid var(--paper);
  border-radius: 50%;
  background: var(--region);
}

.rs-names {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 8px;
  margin: 7px 0 0;
  padding: 0 0 0 18px;
  color: #5f5546;
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.6;
  list-style: none;
  overflow-wrap: anywhere;
}

.rs-etc {
  color: #726553;
  letter-spacing: .2em;
}

.rm-p1, .rm-star { --region: #c0392b; }
.rm-p2 { --region: #3e8e5a; }
.rm-p3 { --region: #3a6ea5; }
.rm-p4 { --region: #7a5fa8; }

.rmap :is(.rm-star, .rm-p1, .rm-p2, .rm-p3, .rm-p4) {
  fill: var(--region);
}

#menu:not([open]), #lightbox:not([open]) {
  display: none;
}

#p07 .core, .gallery .fr {
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}

.p13-grid > :first-child .core {
  position: relative;
}

.p13-grid > :first-child img {
  position: absolute;
  inset: 0;
}

@media (max-width: 1040px) {
  .hcards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rollout-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modmap .mm, .modinner .mm {
    flex-direction: column;
    font-size: clamp(12px, 2.6cqw, 18px);
  }

  .mm .v {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }
}

@media (max-width: 900px) {
  .cover-foot {
    flex-direction: column;
    align-items: center;
  }

  .orgrow {
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .p4-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .axis-duo {
    justify-self: start;
    max-width: min(100%, 535px);
  }

  .g-map {
    grid-template-columns: minmax(0, 1fr);
  }

  .g-map > :last-child {
    width: min(100%, 540px);
  }

  .gallery, .spokes, .hcards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fig-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p9-grid > :last-child {
    grid-column: 1 / -1;
    width: min(100%, 420px);
  }

  .p12-grid > :first-child {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .p12-grid > :nth-child(2) {
    grid-area: 1 / 2;
  }

  .p12-grid > :nth-child(3) {
    grid-area: 2 / 2;
  }
}

@media (max-width: 740px) {
  .end-qr {
    position: static;
    margin-top: 24px;
  }
}

@media (max-width: 660px) {
  .page {
    padding-block: 68px 58px;
  }

  .menu-inner .s, .island .brand i {
    display: none;
  }

  .cover > .in {
    padding-top: 74px;
  }

  .cover .cn-en {
    max-width: 100%;
  }

  .cover .cn-en.s2 {
    max-width: 33ch;
  }

  .orgrow {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .orgrow .lg {
    width: 100%;
    height: 26px;
  }

  .orgrow .nm {
    font-size: 11px;
  }

  #p02 {
    min-height: auto;
  }

  .toc {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .toc a {
    padding-inline: 2px;
  }

  .g-l, #p07 .g-l, #p08 .g-l, .c3, .p9-cards, .p9-mods {
    grid-template-columns: minmax(0, 1fr);
  }

  .g-end, .p3-eq {
    align-items: start;
  }

  #p08 .g-l figure, .orgfig {
    width: min(100%, 300px);
  }

  #p08 .g-l figure {
    width: min(100%, clamp(190px, 60vw, 245px));
  }

  .tl .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 14px 0;
  }

  .p13-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p13-grid > :nth-child(3) {
    grid-area: 2 / 2;
  }

  .p13-grid > :nth-child(4) {
    grid-area: 3 / 1;
  }

  .p13-grid > :nth-child(5) {
    grid-area: 3 / 2;
  }

  .end-mid {
    padding: 20px 0 clamp(36px, 11vw, 60px);
  }

  .es-t {
    max-width: 24em;
  }

  .es-cs {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .axis-duo {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 16px;
  }

  .axis-duo figure:first-child {
    width: min(100%, 290px);
  }

  .axis-duo figure:last-child {
    width: min(100%, clamp(105px, 36vw, 150px));
  }

  .gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .hcards-ovs {
    grid-template-columns: minmax(0, 1fr);
  }

  .hcard {
    padding-inline: 9px;
  }
}

@media (max-width: 360px) {
  :root {
    --gutter: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  }

  .cover-lines, .cover .cn {
    letter-spacing: .06em;
  }

  .modmap, .modinner {
    aspect-ratio: auto;
    grid-template-rows: repeat(2, minmax(66px, 1fr));
  }

  .mm {
    padding: 6px;
  }

  .rs-names {
    padding-inline-start: 0;
  }
}

@media (min-width: 901px) and (max-height: 650px) {
  .cover > .in {
    padding-block: 65px 16px;
  }

  .cover-mid {
    padding-block: 16px 20px;
  }

  .cn-svg {
    width: clamp(285px, 65vh, 420px);
  }

  .cover-seal {
    width: clamp(44px, 10vh, 60px);
  }

  .cover .cn {
    margin-top: 13px;
    font-size: clamp(25px, 6vh, 34px);
  }

  .cover-orn {
    width: 48px;
    margin-top: 8px;
  }

  .cover .cn-en {
    margin-top: 10px;
  }

  .cover .cn-en.s2 {
    max-width: 78ch;
    margin-top: 4px;
  }
}

@media (max-width: 660px) and (max-height: 680px) {
  .cover > .in {
    padding-block: 70px 18px;
  }

  .cover-mid {
    padding-block: 16px 24px;
  }

  .cover-orn {
    width: 48px;
  }

  .cover-foot {
    gap: 16px;
  }

  .scroll-hint {
    gap: 4px;
  }

  .scroll-hint i {
    height: 12px;
  }
}

@media (min-width: 481px) and (max-height: 480px) and (orientation: landscape) {
  .cover > .in {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    align-content: center;
    gap: clamp(16px, 3vw, 30px);
    padding-block: 68px 16px;
  }

  .cover-mid {
    margin: 0;
    padding: 0;
  }

  .cn-svg {
    width: clamp(185px, 31vw, 325px);
  }

  .cover-seal {
    width: clamp(32px, 5.3vw, 50px);
  }

  .cover .cn {
    margin-top: 10px;
    font-size: clamp(20px, 3vw, 28px);
  }

  .cover-orn {
    width: 40px;
    margin-top: 7px;
  }

  .cover .cn-en {
    margin-top: 8px;
  }

  .cover .cn-en.s2 {
    margin-top: 4px;
  }

  .cover-foot {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .cover-lines {
    max-width: 100%;
    font-size: clamp(12px, 1.65vw, 15px);
    letter-spacing: .05em;
  }

  .orgrow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }

  .orgrow .lg {
    width: 100%;
    height: 24px;
  }

  .scroll-hint {
    gap: 4px;
  }

  .scroll-hint i {
    height: 12px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .island:hover {
    opacity: 1;
  }

  .menu-inner a:hover {
    padding-inline-start: 12px;
    background: rgb(185 146 78 / 7%);
  }

  .toc a:hover {
    border-bottom-color: var(--gold);
    background: rgb(185 146 78 / 7%);
  }

  .cell:hover {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal.is-visible:not(.anim) {
    animation: rise .65s var(--ease) both;
  }

  .cover.is-visible .cover-mid {
    animation: rise .95s var(--ease) both;
  }

  .cover.is-visible .cover-foot {
    animation: rise .85s var(--ease) .18s both;
  }

  .cover.is-visible .ch {
    animation: ink-in .65s var(--ease) both;
  }

  .cover.is-visible .ch2 { animation-delay: .08s; }
  .cover.is-visible .ch3 { animation-delay: .16s; }
  .cover.is-visible .ch4 { animation-delay: .24s; }

  .cover.is-visible .cover-seal {
    animation: seal-in .75s var(--ease) .28s both;
  }

  .end.is-visible .end-mid {
    animation: rise .9s var(--ease) both;
  }

  .anim.is-visible .ln {
    stroke-dasharray: 1;
    animation: draw 1.55s var(--ease) var(--motion-delay, 0s) both;
  }

  .anim.is-visible :is(.fu, .lp, .mm, .pop, .pp) {
    animation: rise .78s var(--ease) var(--motion-delay, 0s) both;
  }

  .anim.is-visible :is(.gi, circle.pp) {
    transform-box: fill-box;
    transform-origin: center;
    animation: dot-in .66s var(--ease) var(--motion-delay, 0s) both;
  }

  .anim.is-visible .bl {
    transform-box: fill-box;
    transform-origin: center bottom;
    animation: grow-in .82s var(--ease) var(--motion-delay, 0s) both;
  }

  .anim.is-visible .breathe {
    transform-box: fill-box;
    transform-origin: center;
    animation: breathe 3.2s ease-in-out var(--motion-delay, 0s) 1;
  }

  .anim.is-visible .drift {
    animation: rise 1.35s var(--ease) var(--motion-delay, 0s) both;
  }

  .light-scene.is-visible .breathe {
    animation: breathe-loop 5.4s ease-in-out var(--motion-delay, 2.4s) infinite both;
  }

  .light-scene.is-visible .drift {
    animation: drift-in 1.05s var(--ease) both, drift 6.4s ease-in-out 7.2s infinite;
  }

  .anim.is-visible .spin {
    transform-box: fill-box;
    transform-origin: center;
    animation: spin 60s linear 3s infinite both;
  }

  .anim.is-visible .march {
    animation: march 34s linear infinite;
  }

  .light-scene.is-visible .axis-flock {
    animation: axis-flight 18s linear -2.3s infinite;
  }

  .light-scene.is-visible .axis-flock-distant {
    animation-delay: -10s;
  }

  .light-scene.is-visible .axis-flock path {
    transform-box: fill-box;
    transform-origin: center;
    animation: axis-wingbeat 1.65s ease-in-out infinite;
  }

  .light-scene.is-visible .axis-flock path:nth-child(2) {
    animation-delay: -.58s;
  }

  .light-scene.is-visible .exhibit-lamp {
    animation: exhibit-light 10.8s ease-in-out var(--lamp-phase, -.55s) infinite;
  }

  g:nth-child(2) > .exhibit-lamp { --lamp-phase: -7.75s; }
  g:nth-child(3) > .exhibit-lamp { --lamp-phase: -4.15s; }

  .light-scene.is-visible .xr-trace-inner {
    animation: xr-trace 6.8s linear -1.2s infinite;
  }

  .light-scene.is-visible .xr-trace-outer {
    animation: xr-trace 10.4s linear -6.5s infinite;
  }

  .light-scene.is-visible .xr-core-wash {
    animation: xr-core-light 4.8s ease-in-out infinite;
  }

  .light-scene.is-visible:not(.is-in-view) svg * {
    animation-play-state: paused;
  }

  .anim.is-visible .rollout-map :is(.rm-star, .rm-p1, .rm-p2, .rm-p3, .rm-p4) {
    animation: marker-in .5s var(--ease) var(--marker-delay, 0s) both;
  }

  .rollout-map .rm-p2 { --marker-delay: .16s; }
  .rollout-map .rm-p3 { --marker-delay: .32s; }
  .rollout-map .rm-p4 { --marker-delay: .48s; }
}

@media (prefers-reduced-motion: reduce) {
  .island, .cell, .toc a, .menu-inner a {
    transition: none;
  }

  .cell:hover {
    transform: none;
  }
}

@keyframes rise {
  from { opacity: .58; transform: translateY(var(--rise-offset, 10px)); }
  to { opacity: 1; transform: none; }
}

@keyframes ink-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@keyframes seal-in {
  from { opacity: 0; transform: scale(.88); }
  to { opacity: .95; transform: none; }
}

@keyframes draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes dot-in {
  from { opacity: 0; transform: scale(.55); }
  to { opacity: 1; transform: none; }
}

@keyframes grow-in {
  from { opacity: 0; transform: scaleY(.08); }
  to { opacity: 1; transform: none; }
}

@keyframes breathe {
  50% { opacity: .5; transform: scale(1.05); }
}

@keyframes breathe-loop {
  0%, 100% { opacity: .3; transform: scale(.97); }
  50% { opacity: .78; transform: scale(1.05); }
}

@keyframes drift-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes drift {
  0% { opacity: 0; transform: translateY(6px); }
  30% { opacity: .62; }
  100% { opacity: 0; transform: translateY(-24px); }
}

@keyframes spin {
  from { transform: rotate(14deg); }
  to { transform: rotate(374deg); }
}

@keyframes march {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -216; }
}

@keyframes axis-flight {
  0% { opacity: 0; transform: translate(0, 4px); }
  11%, 83% { opacity: .94; }
  36% { transform: translate(82px, -5px); }
  66% { transform: translate(155px, 1px); }
  100% { opacity: 0; transform: translate(236px, -8px); }
}

@keyframes axis-wingbeat {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(.58); }
}

@keyframes exhibit-light {
  0%, 43%, 100% { opacity: .23; }
  10%, 22% { opacity: 1; }
  32% { opacity: .56; }
}

@keyframes xr-trace {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -1; }
}

@keyframes xr-core-light {
  0%, 100% { opacity: .44; }
  50% { opacity: .94; }
}

@keyframes marker-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* P03 配图底边对齐文字块底部（高度由 site.js 同步 .body 实测值） */
#p03 .split.g-l { align-items: start; }
#p03 .split.g-l > .anim { min-height: 0; }
#p03 .split.g-l > .anim .bezel,
#p03 .split.g-l > .anim .core { height: 100%; }
#p03 .split.g-l > .anim img { width: auto; height: 100%; max-width: 100%; object-fit: contain; margin-inline: auto; }
