:root {
  --edge-blossom: url('../assets/collage/peach_tree.webp');
  --edge-lotus: url('../assets/collage/lotus_pond.webp');
  --edge-ginkgo: url('../assets/collage/ginkgo_tree.webp');
  --edge-pine: url('../assets/collage/snow_pine.webp');
}

/* 原交付样式：presentation-v08.css */
/* V0.8：纸色承字，青绿山水留在边缘；五屏仍以 --screen-height 为唯一高度。 */
:root {
  --home-art: url('../assets/images/home.webp');
  --exhibit-paper: #f7f5ed;
  --exhibit-ink: #294735;
  --exhibit-muted: #647a61;
  --exhibit-line: #b9c9ae;
  --exhibit-seal: #a45c48;
}

.flow-chapter.flow-locked {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* 首页图上浅下浓，文字始终落在留白处。 */
.flow-chapter .cover {
  background: #f6f3e9;
}

.cover .cover-art {
  inset: 0;
  background-image: var(--home-art);
  background-size: cover;
  background-position: center bottom;
  opacity: 1;
}

.cover .cover-art::after {
  background: linear-gradient(180deg, #f7f5ed5c 0%, #f7f5ed1a 43%, transparent 76%);
}

.cover .cover-content {
  z-index: 1;
  max-width: 390px;
  padding-top: clamp(84px, 11.5vh, 118px);
}

.cover .exhibit-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--exhibit-ink);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 3px;
}

.cover .exhibit-label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: #698269;
}

.cover .anniversary {
  color: #4d684f;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
}

.cover h1 {
  margin: 11px 0 8px;
  color: #234835;
  font-size: clamp(49px, 13.2vw, 64px);
  line-height: 1.22;
  letter-spacing: 5px;
  text-shadow: 0 1px 14px #f8f6efc9;
}

.cover .cover-subtitle {
  color: #375f47;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  text-shadow: 0 1px 10px #f8f6ef;
}

.cover .cover-content > p {
  max-width: 312px;
  margin-top: 11px;
  color: #3c5d48;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.66;
  text-shadow: 0 1px 9px #f8f6ef;
}

.cover .cover-year,
.cover .flow-cue {
  display: none;
}

/* 五章共用导览签。脉冲只作用于内部箭头，不会覆盖章节入场 transform。 */
.flow-chapter .page-guide {
  position: absolute;
  right: 17px;
  bottom: max(10px, env(safe-area-inset-bottom));
  left: 17px;
  z-index: 4;
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid #a9bfa3;
  background: linear-gradient(90deg, transparent, #f9f7efe9 18%, #f9f7efe9 82%, transparent);
  color: #345943;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.4;
  text-align: center;
  pointer-events: none;
}

.page-guide .swipe-mark,
.journey-guide .swipe-mark {
  position: relative;
  display: inline-block;
  width: 17px;
  height: 23px;
  flex: 0 0 17px;
  animation: swipe-rise 2s ease-in-out infinite;
}

.page-guide .swipe-mark i,
.journey-guide .swipe-mark i {
  position: absolute;
  left: 4px;
  display: block;
  width: 8px;
  height: 8px;
  border-left: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.page-guide .swipe-mark i:first-child,
.journey-guide .swipe-mark i:first-child {
  top: 4px;
}

.page-guide .swipe-mark i:last-child,
.journey-guide .swipe-mark i:last-child {
  top: 11px;
  opacity: .65;
}

/* 正文页把配图融入纸底；原有五段文字不被图层遮挡。 */
.flow-chapter:not(:first-child) > .narrative-page {
  position: relative;
  justify-content: center;
  padding-bottom: 56px;
  background-image: linear-gradient(180deg,#f7f5ed 0%,#f7f5edf7 69%,#f7f5ed55 100%),var(--art);
  background-position: center, center bottom;
  background-size: cover, max(100%, calc(var(--screen-height) * .48)) auto;
  background-repeat: no-repeat;
}

.flow-chapter .narrative-page .preface-picture {
  display: none;
}

.narrative-page .narrative-heading {
  padding-bottom: 10px;
}

.narrative-page .narrative-heading h1 {
  margin: 0 0 5px;
  color: var(--exhibit-ink);
  font-size: 39px;
  letter-spacing: 5px;
}

.narrative-page .narrative-heading > p {
  color: #657b61;
}

.narrative-page .prose {
  color: #3e5d48;
  font-size: 14px;
  line-height: 1.56;
  text-shadow: 0 1px 9px #f7f5ed;
}

.narrative-page .paragraph-emphasis {
  color: #3e6347;
  border-left-color: #8eaa84;
}

/* 罗盘下方的四季足迹以一条细线表达进度。 */
.flow-chapter:not(:first-child) > .compass-page {
  padding-top: 10px;
  padding-bottom: 12px;
  background-image: linear-gradient(180deg,#f7f5ed 0%,#f7f5edf6 65%,#f7f5ed90),var(--art);
  background-size: cover, max(100%, calc(var(--screen-height) * .525)) auto;
  background-position: center, center bottom;
  background-repeat: no-repeat;
}

.compass-page .section-heading {
  padding-bottom: 3px;
}

.compass-page .section-heading h1 {
  color: var(--exhibit-ink);
  font-size: 29px;
  margin-bottom: 1px;
}

.compass-page .season-poem {
  color: #63795f;
  line-height: 1.45;
}

.flow-chapter .compass-page .wheel-wrap {
  width: min(100%, calc(var(--screen-height) - 310px), 390px);
  max-width: 390px;
  margin: 0 auto 1px;
}

.flow-chapter .compass-page .compass-description {
  margin: 3px 0 5px;
  color: #506c51;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.45;
}

.compass-page .season-journey {
  position: relative;
  width: min(100%, 376px);
  margin: 1px auto 0;
  padding: 8px 15px 9px;
  border-top: 1px solid #b7c7ac;
  border-bottom: 1px solid #b7c7ac;
  background: #f8f7f0e8;
  color: var(--exhibit-ink);
}

.journey-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.journey-title {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 2px;
}

.journey-count {
  color: #77896b;
  font-family: var(--serif);
  font-size: 13px;
}

.journey-count b {
  color: #3b6246;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}

.journey-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: calc(100% - 30px);
  margin: 6px auto 3px;
  padding-bottom: 16px;
}

.journey-track::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 0;
  left: 0;
  height: 1px;
  background: #aebda2;
}

.journey-track [data-progress-season] {
  position: relative;
  z-index: 1;
  display: block;
  width: 13px;
  height: 13px;
  border: 1px solid #94a88a;
  border-radius: 50%;
  background: #f8f7f0;
  box-shadow: 0 0 0 3px #f8f7f0;
}

.journey-track [data-progress-season] span {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 24px;
  color: #667e67;
  font-family: var(--serif);
  font-size: 10px;
  font-style: normal;
  line-height: 1.2;
  text-align: center;
  transform: translateX(-50%);
}

.journey-track [data-progress-season].seen,
.journey-track [data-progress-season][data-seen="true"],
.journey-track [data-progress-season][aria-current="true"] {
  border-color: #547858;
  background: #547858;
  box-shadow: 0 0 0 3px #f8f7f0, inset 0 0 0 3px #547858;
}

.journey-copy {
  margin: 0;
  color: #61795f;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.journey-guide {
  position: relative;
  display: flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 3px;
  color: #496a4f;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.season-journey[data-complete="true"] .journey-guide {
  color: #345e42;
  font-size: 14px;
  letter-spacing: 1px;
}

.season-journey[data-complete="false"] .journey-guide {
  color: #8a684f;
}

.gate-nudge .journey-guide {
  animation: gate-nudge 850ms ease-out 1;
}

/* 创作页的提示依附画布与工具，不建立第二层卡片。 */
.flow-chapter:not(:first-child) > .editor-shell {
  position: relative;
  padding-top: 8px;
  padding-bottom: 8px;
  background-image: linear-gradient(180deg,#f7f5ed 0%,#f7f5edea 65%,#f7f5ed95),var(--art);
  background-size: cover, max(100%, calc(var(--screen-height) * .57)) auto;
  background-position: center, center bottom;
  background-repeat: no-repeat;
}

.editor-top {
  margin-bottom: 2px;
}

.editor-top h1 {
  color: var(--exhibit-ink);
}

.editor-top .gesture-help {
  min-height: 32px;
  padding: 3px 1px;
}

.editor-instruction {
  flex: 0 0 auto;
  margin: 0 0 3px;
  color: #567459;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.editor-layout .canvas-wrap {
  flex: 0 0 auto;
  width: min(100%, max(185px, min(340px, calc((var(--screen-height) - 290px) * .67))));
  padding: 4px;
  background: #e7eade;
  border-color: #afc0a9;
}

.creation-gestures {
  flex: 0 0 auto;
  margin: 2px 0 0;
  color: #6d846a;
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
}

.editor-layout .editor-tools {
  margin-top: auto;
  padding-bottom: 37px;
  background: linear-gradient(180deg,#f7f5edea,#f7f5edf5);
}

.editor-tools .palette-tabs {
  margin-bottom: 2px;
}

.editor-tools .palette-tabs button {
  min-height: 31px;
}

.palette-hint {
  margin: 0 0 3px;
  color: #657e63;
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
}

.editor-tools .sticker-choice {
  min-height: 55px;
  max-height: 55px;
}

.editor-tools .sticker-choice img,
.editor-tools .sticker-choice .word-sticker {
  width: 43px;
  height: 32px;
}

.editor-tools .sticker-palette {
  padding-bottom: 2px;
}

.editor-tools .paper-settings {
  min-height: 29px;
}

.editor-tools .editor-actions {
  margin-top: 2px;
}

.editor-tools .editor-actions .primary,
.editor-tools .editor-actions .secondary {
  min-height: 39px;
}

.editor-shell .page-guide {
  bottom: max(5px, env(safe-area-inset-bottom));
  min-height: 33px;
}

/* 结语以明确的章名收束，足迹和回顾签浮在淡山水前。 */
.flow-chapter:not(:first-child) > .ending-page {
  background-image: linear-gradient(180deg,#f7f5ed 0%,#f7f5edf4 67%,#f7f5ed65),var(--art);
  background-position: center, center bottom;
  background-size: cover, max(100%, calc(var(--screen-height) * .60)) auto;
  background-repeat: no-repeat;
}

.ending-page .narrative-heading {
  padding-bottom: 7px;
}

.ending-page .narrative-heading h1 {
  margin: 0 0 3px;
  color: var(--exhibit-ink);
  font-size: 39px;
  line-height: 1.18;
  letter-spacing: 5px;
}

.ending-page .ending-theme {
  margin: 0;
  color: #58745a;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: 2px;
}

.ending-page .ending-prose {
  color: #3f6049;
}

.flow-chapter .ending-page .ending-landscape {
  display: none;
}

/* 长详情每隔一段有淡山水边缘，正文中央保持足够纸色对比。 */
.detail-mode #exhibition-detail {
  background: var(--exhibit-paper);
}

.detail-mode #exhibition-detail > .page {
  background-image: linear-gradient(90deg,#f7f5ede8 0%,#f7f5edf7 19%,#f7f5edf9 82%,#f7f5ede8 100%),var(--art);
  background-position: center, right -145px top 40px;
  background-size: cover, auto 520px;
  background-repeat: repeat, repeat-y;
}

.detail-mode #exhibition-detail .prose,
.detail-mode #exhibition-detail .resource-section,
.detail-mode #exhibition-detail .term-grid {
  position: relative;
}

/* 草木从卷边探入，中央正文保留完整纸色。装饰不拦截触摸。 */
.narrative-page,.compass-page,.editor-shell,.ending-page,
.detail-mode #exhibition-detail > .page {
  position: relative;
  isolation: isolate;
}

.narrative-page::before,.compass-page::before,.editor-shell::before,.ending-page::before,
.detail-mode #exhibition-detail > .page::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  right: -82px;
  top: 4px;
  width: 230px;
  height: 250px;
  background: var(--edge-blossom) right top / contain no-repeat;
  opacity: .43;
  mask-image: linear-gradient(90deg,transparent 3%,#000 58%);
}

.compass-page::before {
  background-image: var(--edge-ginkgo);
  right: -92px;
  top: 11px;
  opacity: .32;
}

.editor-shell::before {
  background-image: var(--edge-lotus);
  right: -90px;
  top: 35%;
  opacity: .32;
}

.ending-page::before {
  background-image: var(--edge-pine);
  right: -89px;
  top: 7px;
  opacity: .36;
}

.detail-mode #exhibition-detail > .page::before {
  right: -95px;
  top: 480px;
  opacity: .28;
  height: 340px;
  mask-image: linear-gradient(90deg,transparent 5%,#000 72%);
}

.result-dialog .result-hint {
  color: #557252;
  font-size: 13px;
  text-align: center;
  margin: 0 0 12px;
}

@keyframes swipe-rise {
  0%,100% {
    transform: translateY(3px);
    opacity: .7;
  }
  50% {
    transform: translateY(-2px);
    opacity: 1;
  }
}

@keyframes gate-nudge {
  0%,100% {
    opacity: 1;
    transform: scale(1);
  }
  40% {
    opacity: .75;
    transform: scale(1.045);
    color: #a45c48;
  }
}

@media (max-height: 650px) {
  .cover .cover-art::after {
    background: linear-gradient(180deg,#f7f2e640 0%,#f7f2e6e8 56%,#f7f2e6ed 60%,transparent 76%);
  }
  .narrative-page::before,.ending-page::before {
    right: -120px;
    opacity: .25;
  }
  .cover .cover-content {
    padding-top: 75px;
  }
  .cover .exhibit-label {
    margin-bottom: 4px;
    font-size: 13px;
  }
  .cover .anniversary {
    font-size: 11px;
  }
  .cover h1 {
    margin: 8px 0 5px;
    font-size: 49px;
    line-height: 1.18;
  }
  .cover .cover-subtitle {
    font-size: 15px;
    line-height: 1.4;
  }
  .cover .cover-content > p {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.5;
  }
  .flow-chapter .page-guide {
    min-height: 37px;
    font-size: 13px;
    bottom: 7px;
  }
  .flow-chapter:not(:first-child) > .narrative-page {
    padding-top: 10px;
    padding-bottom: 45px;
  }
  .narrative-page .narrative-heading {
    padding-bottom: 5px;
  }
  .narrative-page .narrative-heading h1 {
    font-size: 33px;
  }
  .narrative-page .narrative-heading > p {
    font-size: 13px;
  }
  .narrative-page .prose {
    font-size: 13px;
    line-height: 1.43;
  }
  .narrative-page .prose p {
    margin-bottom: 4px;
  }
  .narrative-page .paragraph-emphasis {
    font-size: 14px;
    line-height: 1.42;
  }
  .flow-chapter:not(:first-child) > .compass-page {
    padding-top: 5px;
    padding-bottom: 7px;
  }
  .compass-page .section-heading h1 {
    font-size: 26px;
  }
  .compass-page .season-poem {
    font-size: 12px;
    line-height: 1.3;
  }
  .flow-chapter .compass-page .wheel-wrap {
    width: min(100%, calc(var(--screen-height) - 306px));
  }
  .flow-chapter .compass-page .compass-description {
    font-size: 12px;
    line-height: 1.3;
    margin: 2px 0 3px;
  }
  .compass-page .season-journey {
    padding: 5px 10px 6px;
  }
  .journey-title {
    font-size: 15px;
  }
  .journey-count b {
    font-size: 18px;
  }
  .journey-track {
    margin: 3px auto 1px;
  }
  .journey-copy {
    font-size: 11px;
    line-height: 1.3;
  }
  .journey-guide {
    min-height: 20px;
    margin-top: 2px;
    font-size: 12px;
  }
  .flow-chapter:not(:first-child) > .editor-shell {
    padding: 5px 12px 6px;
  }
  .editor-top {
    margin-bottom: 0;
  }
  .editor-top h1 {
    font-size: 21px;
  }
  .editor-top .gesture-help {
    min-height: 29px;
  }
  .editor-instruction {
    font-size: 12px;
    margin-bottom: 2px;
  }
  .editor-layout .canvas-wrap {
    width: min(100%, max(176px, calc((var(--screen-height) - 286px) * .66)));
  }
  .creation-gestures {
    font-size: 9px;
  }
  .editor-layout .editor-tools {
    padding-bottom: 33px;
  }
  .editor-tools .palette-tabs button {
    min-height: 29px;
  }
  .palette-hint {
    font-size: 10px;
    margin-bottom: 2px;
  }
  .editor-tools .sticker-choice {
    min-height: 51px;
    max-height: 51px;
  }
  .editor-tools .sticker-choice img,
  .editor-tools .sticker-choice .word-sticker {
    height: 29px;
  }
  .editor-tools .paper-settings {
    min-height: 27px;
  }
  .editor-tools .editor-actions .primary,
  .editor-tools .editor-actions .secondary {
    min-height: 37px;
  }
  .editor-shell .page-guide {
    min-height: 31px;
    bottom: 5px;
  }
  .ending-page .narrative-heading h1 {
    font-size: 33px;
  }
  .ending-page .ending-theme {
    font-size: 14px;
    line-height: 1.3;
  }
}

@media (max-width: 350px) {
  .cover .cover-content {
    padding-right: 19px;
    padding-left: 19px;
  }
  .cover h1 {
    letter-spacing: 4px;
  }
  .flow-chapter:not(:first-child) > .narrative-page {
    padding-right: 13px;
    padding-left: 13px;
  }
  .compass-page .season-journey {
    width: 100%;
  }
  .editor-tools .palette-tabs button {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-guide .swipe-mark,
  .journey-guide .swipe-mark,
  .gate-nudge .journey-guide {
    animation: none;
  }
}

/* 原交付样式：polish-v09/presentation.css */
/* 卷首只保留主题和专区名，留出山水叙事的空间。 */
.cover .cover-content {
  padding-top: clamp(134px,19vh,178px);
  max-width: none;
}

.cover h1 {
  font-size: clamp(54px,14.3vw,66px);
  line-height: 1.23;
  letter-spacing: 6px;
  margin: 0;
}

.cover-edition {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 24px;
  color: #456449;
}

.edition-rule {
  display: block;
  flex: 0 0 27px;
  height: 1px;
  background: #789473;
  margin-top: 16px;
}

.cover .cover-edition p {
  margin: 0;
  line-height: 1.6;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 4px;
}

.cover-edition p>span {
  display: block;
}

.cover .cover-edition p>span:last-child {
  font-size: 17px;
  letter-spacing: 3px;
  margin-top: 3px;
}

/* 三种资源沿用同一细线外跳入口，无平台来源字段。 */
.resource-title-row {
  gap: 0;
}

.resource-title-row h3 {
  flex: 1;
}

.resource-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.resource-link b {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid #9aaf8c;
  padding: 4px 0 2px;
  font-size: 12px;
  font-weight: 400;
  color: #47684c;
  line-height: 1.5;
  white-space: nowrap;
}

.resource-link b svg {
  width: 14px;
  height: 14px;
}

.video-link {
  margin-top: 15px;
}

.book-caption .book-link {
  justify-content: flex-end;
}

.book-caption .resource-author {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.7;
  color: #69805f;
  margin: 7px 0 10px;
}

.overview-waterfall .book-caption h3 {
  font-size: 22px;
  line-height: 1.45;
}

.overview-waterfall .book-cover-title {
  font-size: 20px;
  line-height: 1.65;
  letter-spacing: 0;
}

.overview-waterfall .book-cover-title>span:nth-child(2) {
  font-size: 20px;
}

#exhibition-detail>.overview-page {
  animation: none;
}

#exhibition-detail .overview-hero {
  background: #506a54;
}

.journey-copy {
  font-size: 12px;
}

@media (max-height:650px) {
  .cover .cover-content {
    padding-top: 110px;
  }
  .cover h1 {
    font-size: 54px;
    line-height: 1.2;
    letter-spacing: 5px;
  }
  .cover-edition {
    margin-top: 17px;
    gap: 12px;
  }
  .cover .cover-edition p {
    font-size: 18px;
    line-height: 1.45;
    letter-spacing: 3px;
  }
  .cover .cover-edition p>span:last-child {
    font-size: 15px;
    letter-spacing: 3px;
    margin-top: 4px;
  }
  .journey-copy {
    font-size: 11px;
  }
}

@media (max-width:350px) {
  .cover h1 {
    font-size: 54px;
    letter-spacing: 4px;
  }
  .overview-waterfall .book-caption h3 {
    font-size: 20px;
  }
  .overview-waterfall .book-cover-title {
    font-size: 18px;
  }
  .overview-waterfall .book-cover-title>span:nth-child(2) {
    font-size: 18px;
  }
}

/* 原交付样式：polish-v09/calligraphy.css */
/*
字体授权原文，随单文件 HTML 一并保留；请勿在构建时剥离本注释。
来源：https://github.com/google/fonts/tree/main/ofl/mashanzheng
Copyright 2018 The Ma Shan Zheng Project Authors (https://github.com/googlefonts/mashanzheng)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
*/
@font-face {
  font-family: 'ExhibitCompassBrush';
  src: url('../assets/fonts/compass.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

.wheel .season-name {
  font-family: 'ExhibitCompassBrush', serif;
  font-size: 50px;
  font-weight: 400;
  letter-spacing: 0;
}

.wheel .overview-center > text,
.wheel .overview-center .overview-calligraphy {
  font-family: 'ExhibitCompassBrush', serif;
  font-size: 44px;
  font-weight: 400;
  letter-spacing: 3px;
}

/* 原交付样式：polish-v10/titles.css */
/*
字体授权原文，随单文件 HTML 一并保留；请勿在构建时剥离本注释。
来源：https://github.com/google/fonts/tree/main/ofl/mashanzheng
Copyright 2018 The Ma Shan Zheng Project Authors (https://github.com/googlefonts/mashanzheng)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
*/
@font-face {
  font-family: 'ExhibitTitleBrush';
  src: url('../assets/fonts/title.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

/* 只替换展览一级标题；正文、按钮、罗盘 SVG 和海报画布保留原有排版。 */
.cover-content h1,
.narrative-heading h1,
.compass-page .section-heading h1,
.season-intro-title h1,
.term-hero-copy h1,
.overview-hero h1,
.editor-top h1 {
  font-family: 'ExhibitTitleBrush', var(--serif), serif;
  font-weight: 400;
  font-synthesis: none;
}

/* 毛笔笔画的外廓较宽，缩小字距给小屏留出呼吸空间。 */
.cover-content h1 {
  letter-spacing: 2px;
}

.narrative-heading h1 {
  letter-spacing: 3px;
}

.compass-page .section-heading h1 {
  letter-spacing: 4px;
  padding-left: 4px;
}

.season-intro-title h1 {
  letter-spacing: 2px;
}

.term-hero-copy h1 {
  letter-spacing: 5px;
}

.overview-hero h1 {
  letter-spacing: 3px;
}

.editor-top h1 {
  letter-spacing: 1px;
}

@media (max-width: 350px) {
  .cover-content h1 {
    letter-spacing: 1px;
  }
  .compass-page .section-heading h1 {
    letter-spacing: 3px;
    padding-left: 3px;
  }
  .term-hero-copy h1 {
    letter-spacing: 3px;
  }
}

/* 花枝与雪景下保留书法轮廓；纸色由标题区柔和过渡到完整画面。 */
.season-intro-art:after {
  background: linear-gradient(90deg,rgba(247,245,237,.94) 0%,rgba(247,245,237,.85) 24%,rgba(247,245,237,.58) 43%,rgba(247,245,237,0) 76%);
}

.season-intro-title h1 {
  text-shadow: 0 1px 5px rgba(255,253,242,.45);
}

/* 原交付样式：polish-v011/compass.css */
/* 罗盘页：单字季章与轻量足迹。 */
.flow-chapter .compass-page .wheel-wrap {
  width: min(100%, calc(var(--screen-height) - 270px), 390px);
}

.flow-chapter .compass-page .compass-description {
  margin: 3px 0 4px;
  line-height: 1.4;
}

.compass-page .season-journey {
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: none;
}

.compass-page .journey-row {
  display: flex;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  white-space: nowrap;
}

.compass-page .journey-title {
  color: #5c745c;
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 1.4;
}

.compass-page .journey-count,
.compass-page .journey-count b {
  color: #6b8066;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.compass-page .journey-track {
  display: flex;
  width: auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  padding: 0;
}

.compass-page .journey-track::before {
  content: none;
}

.compass-page .journey-track [data-progress-season] {
  position: static;
  display: inline-flex;
  width: auto;
  height: auto;
  align-items: center;
  gap: 3px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #a5afa0;
  font-family: var(--serif);
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}

.compass-page .journey-track [data-progress-season]::before {
  content: "";
  width: 3px;
  height: 3px;
  background: #b9c4b3;
}

.compass-page .journey-track [data-progress-season].seen {
  color: #416b4c;
  background: none;
  box-shadow: none;
}

.compass-page .journey-track [data-progress-season].seen::before {
  background: #416b4c;
}

.compass-page .journey-guide {
  min-height: 22px;
  margin-top: 1px;
  color: #677d63;
  font-size: 12px;
  line-height: 1.35;
}

.compass-page .season-journey[data-complete="true"] .journey-guide {
  color: #345e42;
  font-size: 12px;
  letter-spacing: .5px;
}

.compass-page .season-journey[data-complete="false"] .journey-guide {
  color: #677d63;
}

.compass-page .journey-guide .swipe-mark {
  width: 15px;
  height: 20px;
  flex-basis: 15px;
}

@media (max-height: 650px) {
  .flow-chapter .compass-page .wheel-wrap {
    width: min(100%, calc(var(--screen-height) - 267px));
  }
  .flow-chapter .compass-page .compass-description {
    font-size: 12px;
  }
  .compass-page .season-journey {
    padding: 0;
  }
  .compass-page .journey-title,
  .compass-page .journey-count,
  .compass-page .journey-count b,
  .compass-page .journey-track [data-progress-season],
  .compass-page .journey-guide,
  .compass-page .season-journey[data-complete="true"] .journey-guide {
    font-size: 11px;
  }
}

@media (max-width: 350px) {
  .compass-page .journey-row {
    gap: 8px;
  }
  .compass-page .journey-track {
    gap: 6px;
  }
}

/* 原交付样式：polish-v012/bookshelf.css */
/* 四时通览：三列节气书架，独立于节气资源卡片。 */
#exhibition-detail > .overview-page {
  padding-right: 20px;
  padding-left: 20px;
  padding-bottom: 32px;
}

.overview-page .page-top {
  padding: 14px 0 12px;
}

.overview-page .overview-hero {
  height: 158px;
  border-radius: 46% 46% 3px 3px / 28% 28% 3px 3px;
}

.overview-page .overview-hero::after {
  background: linear-gradient(90deg, #233e36a8, #2a463a6c 58%, #253f3418);
}

.overview-page .overview-hero > div {
  left: 20px;
  bottom: 18px;
}

.overview-page .overview-hero h1 {
  font-size: 37px;
  line-height: 1.2;
}

.overview-page .overview-hero p {
  margin: 6px 0 0;
  font-size: 13px;
  letter-spacing: 2px;
}

.overview-page .overview-prose {
  padding: 22px 0 0;
}

.overview-page .overview-prose p {
  margin: 0;
  color: #526d53;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2.05;
  letter-spacing: .25px;
}

.overview-page .overview-prose p + p {
  margin-top: 18px;
}

.overview-page .overview-shelf-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 18px 0 14px;
  color: #3e6046;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 1px;
}

.overview-page .overview-shelf-heading::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, #b3c5ae, transparent);
}

.overview-page .overview-bookshelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 22px;
  align-items: start;
}

.overview-page .overview-book-tile {
  display: block;
  min-width: 0;
  color: #385940;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.overview-page .overview-book-tile:focus-visible {
  outline: 2px solid #66866b;
  outline-offset: 4px;
}

.overview-page .overview-book-cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: #e7eadb;
  box-shadow: 0 5px 9px #2a443421, 2px 1px 0 #d9d9c9;
}

.overview-page .overview-book-cover::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 0;
  width: 5px;
  border-right: 1px solid #ffffff99;
  background: linear-gradient(90deg, #24452c38, transparent);
}

.overview-page .overview-book-cover::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 4px;
  border: 1px solid #fff8;
  border-radius: 2px;
}

.overview-page .overview-book-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .68;
  filter: saturate(.68) contrast(.94);
}

.overview-page .overview-book-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f4f0dece, #f7f3e49e 48%, #f4f0e14d 85%);
}

.overview-page .overview-book-title {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 9px;
  bottom: 9px;
  color: #3e6249;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 1px;
  text-shadow: 0 1px 5px #f6f2e9;
  writing-mode: vertical-rl;
  text-orientation: upright;
  overflow-wrap: anywhere;
}

.overview-page .overview-book-seal {
  position: absolute;
  z-index: 2;
  left: 10px;
  bottom: 10px;
  display: flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid #66825f;
  background: #f8f5e1ae;
  color: #587154;
  font-size: 7px;
  line-height: 1.1;
  letter-spacing: 1px;
  writing-mode: vertical-rl;
}

.overview-page .overview-book-tile:nth-child(9n+2) .overview-book-wash,
.overview-page .overview-book-tile:nth-child(9n+5) .overview-book-wash,
.overview-page .overview-book-tile:nth-child(9n+8) .overview-book-wash {
  background: linear-gradient(90deg, #e8ead8d9, #f3f0e18c 53%, #ecede14d);
}

.overview-page .overview-book-tile:nth-child(9n+3) .overview-book-wash,
.overview-page .overview-book-tile:nth-child(9n+6) .overview-book-wash,
.overview-page .overview-book-tile:nth-child(9n+9) .overview-book-wash {
  background: linear-gradient(90deg, #e8e3d5d9, #f4ecdf92 55%, #e8e1d34d);
}

.overview-page .overview-book-info {
  display: block;
  padding-top: 7px;
}

.overview-page .overview-book-info strong {
  display: block;
  min-height: 2.76em;
  color: #375840;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.overview-page .overview-book-info > span {
  display: block;
  margin-top: 2px;
  color: #7f907b;
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.4;
}

.overview-page .branch-return {
  margin-top: 27px;
}

@media (max-width: 350px) {
  #exhibition-detail > .overview-page {
    padding-right: 16px;
    padding-left: 16px;
  }
  .overview-page .overview-bookshelf {
    column-gap: 14px;
    row-gap: 19px;
  }
  .overview-page .overview-hero {
    height: 150px;
  }
  .overview-page .overview-book-title {
    font-size: 14px;
    right: 7px;
  }
  .overview-page .overview-book-info strong {
    font-size: 14px;
  }
}

@media (min-width: 410px) {
  .overview-page .overview-bookshelf {
    column-gap: 18px;
  }
}

/* 原交付样式：wechat-v014/result.css */
/* 海报结果在手机一屏内完整展示，图片保留系统长按菜单。 */
.result-dialog {
  width: min(392px, calc(100vw - 20px));
  max-width: none;
  height: min(760px, calc(100dvh - 20px));
  max-height: calc(100dvh - 20px);
  padding: 13px 15px 12px;
  overflow: hidden;
  border: 1px solid #d6dfcb;
  border-radius: 5px;
  background: #f7f5ed;
}

.result-dialog[open] {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.result-dialog .dialog-close {
  top: 5px;
  right: 5px;
}

.result-dialog h2 {
  flex: 0 0 auto;
  margin: 3px 34px 9px;
  color: #3b5e47;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 1px;
  text-align: center;
}

.result-dialog .result-preview {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid #d8e0d3;
  border-bottom: 1px solid #d8e0d3;
  background: #f4f2e9;
  touch-action: auto;
}

.result-dialog #result-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  box-shadow: 0 2px 9px #30463617;
  touch-action: auto;
  -webkit-touch-callout: default;
  -webkit-user-select: auto;
  user-select: auto;
}

.result-dialog .result-hint {
  flex: 0 0 auto;
  margin: 9px 0 8px;
  color: #557252;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.result-dialog .result-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 8px;
}

.result-dialog .result-actions .primary {
  display: inline-flex;
  flex: 1 1 105px;
  width: auto;
  min-width: 0;
  min-height: 39px;
  padding: 5px 8px;
  border: 1px solid #b9cbb1;
  border-radius: 3px;
  background: #eaf0e3;
  color: #3b6346;
  box-shadow: none;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.result-dialog .result-actions .result-return {
  display: flex;
  width: 100%;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 3px;
  color: #71866e;
  font-size: 12px;
  line-height: 1.3;
}

.result-dialog [hidden] {
  display: none !important;
}

@media (max-width: 350px) {
  .result-dialog {
    padding-right: 11px;
    padding-left: 11px;
  }
  .result-dialog h2 {
    margin-right: 32px;
    margin-left: 32px;
    font-size: 17px;
  }
  .result-dialog .result-hint {
    font-size: 11px;
  }
}

/* 原交付样式：content-v015/exhibit.css */
/* 展览定稿：主题题签随所属页面入场，保留单屏阅读节奏。 */
.library-logo {
  display: block;
  width: 176px;
  height: auto;
}

.theme-heading {
  color: #426047;
  text-align: left;
}

.theme-heading-title {
  margin: 0;
  font-family: 'ExhibitTitleBrush',var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 1px;
}

.theme-heading-subtitle {
  margin: 4px 0 0;
  color: #7b8b6e;
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 1px;
}

.narrative-page > .theme-heading,
.compass-page > .theme-heading,
.ending-page > .theme-heading {
  position: absolute;
  top: max(22px,env(safe-area-inset-top));
  left: 21px;
  right: 21px;
}

.flow-chapter > .narrative-page {
  justify-content: center;
  padding-top: 87px;
  padding-bottom: 74px;
}

.narrative-page .prose {
  font-size: 15px;
  line-height: 1.85;
}

.narrative-page .paragraph-emphasis {
  font-size: 15px;
  line-height: 1.85;
}

.narrative-page .prose p {
  margin-bottom: 14px;
}

.flow-chapter > .compass-page {
  padding-top: 90px;
  padding-bottom: 36px;
}

.flow-chapter .compass-page .wheel-wrap {
  width: min(100%,calc(var(--screen-height) - 320px),390px);
  margin: 5px auto 12px;
}

.compass-page .journey-row {
  gap: 9px;
  flex-wrap: wrap;
}

.compass-page .journey-track {
  gap: 7px;
}

.compass-page .season-journey[data-complete="true"] .journey-title {
  flex-basis: 100%;
  text-align: center;
  margin-bottom: 1px;
}

.compass-page .journey-guide {
  margin-top: 8px;
  min-height: 26px;
}

.compass-page .section-heading {
  padding-bottom: 5px;
}

.flow-chapter > .ending-page {
  padding-top: 95px;
  padding-bottom: 70px;
}

.ending-page .ending-prose {
  font-size: 15px;
  line-height: 1.85;
}

.ending-page .ending-prose p {
  margin-bottom: 15px;
}

.ending-page .ending-prose p:last-child {
  font-size: 17px;
  line-height: 1.7;
}

.editor-top .theme-heading {
  flex: 1;
  min-width: 0;
}

.editor-top .theme-heading-title {
  font-size: 22px;
}

.editor-top .theme-heading-subtitle {
  font-size: 11px;
  margin-top: 1px;
}

.editor-top {
  align-items: flex-start;
  margin-bottom: 8px;
}

.editor-top .gesture-help {
  flex: 0 0 auto;
  margin-left: 6px;
}

.editor-layout .canvas-wrap {
  width: min(100%,max(165px,min(340px,calc((var(--screen-height) - 327px)*.67))));
}

.editor-instruction {
  margin-bottom: 6px;
}

.branch-return {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px 12px;
}

.branch-return .return-scroll {
  min-height: 44px;
  padding: 8px 2px;
  font-size: 14px;
  letter-spacing: .5px;
}

.branch-return .branch-next {
  color: #365e45;
}

.overview-page .overview-book-info strong {
  font-size: 13px;
  line-height: 1.55;
}

.overview-page .overview-book-title {
  left: 10px;
  overflow: hidden;
}

.overview-page .overview-book-tile[data-long-title="true"] .overview-book-title {
  font-size: 13px;
  letter-spacing: 0;
}

.overview-page .overview-book-tile[data-long-title="true"] .overview-book-seal {
  display: none;
}

@media (max-height:700px) {
  .narrative-page > .theme-heading,.compass-page > .theme-heading,.ending-page > .theme-heading {
    top: 15px;
  }
  .flow-chapter > .narrative-page {
    padding-top: 76px;
    padding-bottom: 59px;
  }
  .narrative-page .narrative-heading h1 {
    font-size: 31px;
  }
  .narrative-page .prose,.narrative-page .paragraph-emphasis {
    font-size: 13px;
    line-height: 1.6;
  }
  .narrative-page .prose p {
    margin-bottom: 9px;
  }
  .flow-chapter > .compass-page {
    padding-top: 78px;
    padding-bottom: 16px;
  }
  .flow-chapter .compass-page .wheel-wrap {
    width: min(100%,calc(var(--screen-height) - 292px));
    margin: 2px auto 7px;
  }
  .compass-page .journey-guide {
    margin-top: 5px;
  }
  .flow-chapter > .ending-page {
    padding-top: 78px;
    padding-bottom: 35px;
  }
  .ending-page .ending-prose {
    font-size: 14px;
    line-height: 1.7;
  }
  .ending-page .ending-prose p {
    margin-bottom: 9px;
  }
  .ending-page .ending-prose p:last-child {
    font-size: 15px;
    line-height: 1.6;
  }
  .editor-top {
    margin-bottom: 3px;
  }
  .editor-top .theme-heading-title {
    font-size: 20px;
  }
  .editor-layout .canvas-wrap {
    width: min(100%,max(152px,calc((var(--screen-height) - 335px)*.67)));
  }
  .editor-instruction {
    margin-bottom: 2px;
    font-size: 12px;
  }
}

@media (max-width:350px) {
  .theme-heading-title {
    font-size: 20px;
  }
  .theme-heading-subtitle {
    font-size: 10px;
  }
  .narrative-page > .theme-heading,.compass-page > .theme-heading,.ending-page > .theme-heading {
    left: 15px;
    right: 15px;
  }
  .compass-page .journey-row {
    gap: 7px;
  }
  .compass-page .journey-track {
    gap: 5px;
  }
  .overview-page .overview-book-title {
    font-size: 13px;
  }
  .overview-page .overview-book-tile[data-long-title="true"] .overview-book-title {
    font-size: 11px;
  }
  .branch-return {
    gap: 10px 7px;
  }
  .branch-return .return-scroll {
    font-size: 12px;
    letter-spacing: 0;
  }
}

/* 原交付样式：polish-v016/refinements.css */
/* 六项审稿修正，正文和图像数据保持原有内容。 */
.cover .cover-edition {
  gap: 10px;
  align-items: center;
}

.cover .cover-edition .edition-rule {
  flex-basis: 22px;
  margin-top: 0;
}

.cover .cover-edition p {
  max-width: none;
  margin: 0;
  font-size: clamp(14px,4vw,18px);
  line-height: 1.6;
  letter-spacing: 1px;
  white-space: nowrap;
}

.ending-page .ending-prose p,
.ending-page .ending-prose p:last-child {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.video-card .video-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.video-card .video-link {
  flex: 0 0 auto;
  margin-top: 0;
}

/* 原交付样式：wechat-v017/viewport.css */
/* 按网页实际可见高度居中结果图，避免微信底栏挤占可用空间。 */
.result-dialog {
  height: min(760px, calc(var(--screen-height, 100dvh) - 20px));
  max-height: calc(var(--screen-height, 100dvh) - 20px);
  top: 0;
  bottom: auto;
  margin-top: max(10px, calc((var(--screen-height, 100dvh) - 760px) / 2));
  margin-bottom: 0;
}

/* 原交付样式：words-v018/presentation.css */
/* 罗盘下方只保留创作邀请，与浏览足迹解耦。 */
.compass-page .season-journey {
  width: min(100%, 376px);
  margin: 8px auto 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
}

.compass-page .journey-invitation {
  margin: 0;
  color: #536f58;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .4px;
  line-height: 1.6;
}

.compass-page .journey-guide {
  min-height: 34px;
  margin: 10px auto 0;
  color: #345e42;
  font-size: 13px;
  letter-spacing: 1px;
}

@media (max-height: 650px) {
  .compass-page .season-journey {
    margin-top: 4px;
  }
  .compass-page .journey-invitation {
    font-size: 12px;
  }
  .compass-page .journey-guide {
    min-height: 28px;
    margin-top: 5px;
    font-size: 12px;
  }
}

/* 原交付样式：ebooks-v022/bookshelf.css */
/* 使用完整真实封面，保留三列书架及书名、作者的既有排版。 */
.overview-page .overview-book-cover {
  background: #f5f2e7;
}

.overview-page .overview-book-cover::before,
.overview-page .overview-book-cover::after {
  content: none;
}

.overview-page .overview-book-cover img {
  object-fit: contain;
  opacity: 1;
  filter: none;
}

.overview-page .overview-reader-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: -3px 0 18px;
  color: #7b8872;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .3px;
}

.overview-page .overview-reader-note::before {
  content: "";
  flex: none;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #a3b28c;
}

/* 原交付样式：polish-v023/refinements.css */
/* 仅强化罗盘的四季入口，保留其它页面的季节配色。 */
.wheel .season-sector[data-season="0"] {
  --entry-ink: #287042;
}

.wheel .season-sector[data-season="1"] {
  --entry-ink: #a34436;
}

.wheel .season-sector[data-season="2"] {
  --entry-ink: #996113;
}

.wheel .season-sector[data-season="3"] {
  --entry-ink: #315e91;
}

.wheel .season-sector .season-name {
  fill: var(--entry-ink);
}

.wheel .season-sector .season-disc {
  stroke: var(--entry-ink);
  stroke-width: 2;
  fill: #fffcf0;
}

.wheel .season-beacon {
  fill: none;
  stroke: var(--entry-ink);
  stroke-width: 1.6;
  opacity: .25;
  pointer-events: none;
}

/* 呼吸只改变外环，字形及 data-upright 的旋转保持独立。 */
.chapter-current.chapter-entering .wheel .season-beacon {
  animation: season-entry-breathe 6s ease-in-out infinite;
  animation-delay: calc(1.5s + var(--entry-delay));
}

.wheel .season-sector[data-season="0"] {
  --entry-delay: 0s;
}

.wheel .season-sector[data-season="1"] {
  --entry-delay: .65s;
}

.wheel .season-sector[data-season="2"] {
  --entry-delay: 1.3s;
}

.wheel .season-sector[data-season="3"] {
  --entry-delay: 1.95s;
}

@keyframes season-entry-breathe {
  0%, 62%, 100% {
    r: 49px;
    opacity: .25;
    stroke-width: 1.6;
  }
  28% {
    r: 55px;
    opacity: .65;
    stroke-width: 2.5;
  }
}

.wheel .season-sector:focus-visible .season-disc,
.wheel .season-sector.is-pressed .season-disc {
  stroke-width: 3;
}

@media (prefers-reduced-motion: reduce) {
  .chapter-current.chapter-entering .wheel .season-beacon {
    animation: none;
  }
}

/* 同一操作行统一字体规格；保留主次按钮配色和图标。 */
.editor-tools .editor-actions .primary,
.editor-tools .editor-actions .secondary {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 1px;
}

.paper-dialog .paper-confirm {
  display: flex;
  width: 100%;
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}
