/* 与命书书架相同的纸色、书脊与四柱图记，贯穿入口、保存和本册归档。 */
.wms-journey-book {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-sizing: border-box; width: 100px; min-height: 146px; flex: 0 0 100px;
  padding: 12px 7px 12px 12px; border: 1px solid #3d2422; border-left: 5px solid #3d2422;
  color: #d8b994; background: #69403b; box-shadow: 3px 3px 0 #dfd3bf;
  font-family: var(--serif, var(--display, serif)); text-align: center;
}
.wms-journey-book > span { font-size: 10px; letter-spacing: .18em; }
.wms-journey-book svg { width: 55px; height: 55px; fill: none; stroke: currentColor; stroke-width: 1; }
.wms-journey-book b { font-size: 15px; font-weight: 500; }
.wms-journey-book small { color: inherit; margin-top: 8px; font-size: 8px; }
.wms-book-bridge { display: flex; gap: 24px; align-items: center; padding: 24px; margin: 20px 0; border: 1px solid #d8c9b5; background: #faf6ed; color: #443b31; }
.wms-book-bridge[hidden] { display: none; }
.wms-book-bridge > div { min-width: 0; flex: 1; }
.wms-book-bridge .wms-journey-kicker { margin: 0 0 6px; font: 500 11px/1.5 var(--sans, sans-serif); color: #86664b; letter-spacing: .08em; }
.wms-book-bridge h3 { margin: 0 0 9px; font: 500 23px/1.4 var(--serif, var(--display, serif)); overflow-wrap: anywhere; }
.wms-book-bridge p { margin: 0 0 12px; font-size: 14px; line-height: 1.8; }
.wms-book-bridge .wms-journey-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 20px; margin: 0; }
.wms-journey-actions a, .wms-journey-actions button { display: inline-flex; align-items: center; min-height: 44px; color: #7d3e32; font: 600 14px/1.5 var(--sans, sans-serif); text-decoration: underline; text-underline-offset: 4px; }
.wms-book-bridge .wms-journey-note { display: block; margin-top: 10px; color: #736757; font-size: 12px; line-height: 1.7; }
.wms-journey-note a { display: inline-block; max-width: 100%; min-height: 24px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
#ac-periodic-shelf .ac-periodic-card em { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.65; }
.ac-journey-return { border-top: 1px solid #d8c9b5; padding: 20px 0; }
.ac-journey-return h3 { font: 500 20px/1.5 var(--serif, var(--display, serif)); margin: 0 0 8px; }
.ac-journey-return p { margin: 0 0 10px; font-size: 14px; line-height: 1.8; color: #736757; }
.ac-journey-return a { display: inline-flex; min-height: 44px; align-items: center; color: #7d3e32; }
@media (max-width: 600px) {
  .wms-book-bridge { padding: 18px 15px; gap: 16px; align-items: flex-start; }
  .wms-book-bridge h3 { font-size: 21px; }
  .wms-book-bridge .wms-journey-book { width: 72px; flex-basis: 72px; min-height: 118px; padding: 10px 4px 10px 8px; }
  .wms-book-bridge .wms-journey-book svg { width: 43px; height: 43px; }
  .wms-book-bridge .wms-journey-book b { font-size: 12px; }
  .wms-book-bridge .wms-journey-book small { font-size: 7px; letter-spacing: -.02em; }
}

.shu-organic-journey { margin:16px 0; max-width:34em; color:#796b59; font:400 14px/1.8 var(--sans,sans-serif); }


/* 旧命书免费升级卡（2026-09-23）：与本册进度卡同一版式（独立类名，免得被进度卡的增删逻辑误伤）。 */
.book-upgrade {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 3px solid #9b623f;
  background: #f6f0e6;
  color: #443b31;
}
.book-upgrade .wms-journey-kicker {
  margin: 0;
}
.book-upgrade p {
  font-size: 15px;
  line-height: 1.8;
}
.book-upgrade h3 {
  margin: 6px 0 8px;
  font: 500 19px/1.45 var(--display, serif);
  color: var(--near-black, #18181a);
}
.book-upgrade p {
  margin: 0 0 14px;
}
.book-upgrade .book-upgrade-error {
  margin: 10px 0 0;
  color: var(--seal, #9a463f);
  font-size: 13px;
}

.book-upgrade-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
.book-upgrade-later {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: #6b6a68;
  font: 400 14px/1.4 var(--sans, sans-serif);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.book-upgrade-later:hover { color: #443b31; }

/* 打开即升级（09-24）：等待界面顶部一段说明，底部「先看原来的版本」；选看原版时顶部一行状态 */
.book-upgrade-lead { margin: 0 0 8px; padding: 16px 20px; border-left: 3px solid #9b623f; background: #f6f0e6; color: #443b31; }
.book-upgrade-lead .wms-journey-kicker { margin: 0; }
.book-upgrade-lead p { margin: 6px 0 0; font-size: 15px; line-height: 1.8; }
#ai-reading-result .book-upgrade-actions { justify-content: center; margin: 4px 0 24px; }
.book-upgrade-note { margin: 14px 0 22px; padding: 12px 16px; border-left: 3px solid #9b623f; background: #f6f0e6; color: #443b31; font-size: 14px; line-height: 1.7; }
