body.single-post { background: #e9e4da; }
.zhou-book-main { width: min(1500px, calc(100% - 32px)); margin: 30px auto 72px; }
.zhou-book { perspective: 2400px; }
.zhou-book-stage { position: relative; max-width: 1420px; margin: 0 auto; transform-style: preserve-3d; }
.zhou-book-page {
  position: relative;
  min-height: 76vh;
  padding: clamp(34px, 5vw, 86px) clamp(34px, 6vw, 104px);
  border: 1px solid rgba(80, 63, 42, .22);
  border-radius: 8px 16px 16px 8px;
  background:
    linear-gradient(90deg, rgba(91,67,43,.18), transparent 8%, transparent 92%, rgba(91,67,43,.08)),
    repeating-linear-gradient(0deg, rgba(91,67,43,.026), rgba(91,67,43,.026) 1px, transparent 1px, transparent 34px),
    #fffaf0;
  box-shadow: 0 34px 90px rgba(36, 30, 22, .20), inset 20px 0 34px rgba(83, 62, 39, .10);
  overflow: hidden;
}
.zhou-book-page::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% -10%, rgba(255,255,255,.8), transparent 42%); }
.zhou-book-cover { position: absolute; inset: 14px auto 14px -12px; width: 34px; border-radius: 8px 0 0 8px; background: linear-gradient(90deg, rgba(65,47,29,.52), rgba(255,255,255,.08), transparent); z-index: 3; }
.zhou-book-header, .zhou-book-content, .zhou-book-footer, .zhou-book-image { position: relative; z-index: 2; }
.zhou-book-kicker { color: #8a6637; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.zhou-book-title { max-width: 16em; margin: 10px 0 12px; font-family: Georgia, "Times New Roman", "Noto Serif SC", serif; font-size: clamp(40px, 5.6vw, 74px); line-height: 1.1; }
.zhou-book-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #695b49; font-size: 15px; padding-bottom: 22px; border-bottom: 1px solid rgba(80,63,42,.16); }
.zhou-book-content { max-width: 1180px; font-size: clamp(19px, 1.55vw, 23px); line-height: 1.95; }
.zhou-book-content p { margin: 1.05em 0; }
.zhou-book-content h2, .zhou-book-content h3 { font-family: Georgia, "Times New Roman", "Noto Serif SC", serif; margin-top: 1.8em; }
.zhou-book-content pre { line-height: 1.58; }
.zhou-book-footer { margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(80,63,42,.16); }
.zhou-book-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.zhou-book-tags a { border: 1px solid rgba(122,87,37,.25); border-radius: 999px; padding: 4px 10px; background: rgba(255,255,255,.42); text-decoration: none; }
.zhou-book-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.zhou-book-turn { min-height: 100px; display: flex; flex-direction: column; justify-content: center; border: 1px solid rgba(80,63,42,.18); border-radius: 8px; padding: 16px 18px; background: rgba(255,255,255,.46); color: #252235; text-decoration: none; }
.zhou-book-next { text-align: right; }
.zhou-book-turn span { color: #8a6637; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.zhou-book-turn strong { font-family: Georgia, "Times New Roman", "Noto Serif SC", serif; font-size: 19px; line-height: 1.3; margin-top: 4px; }
.zhou-turn-sheet { position: absolute; z-index: 8; inset: 0; border-radius: 8px 16px 16px 8px; background: linear-gradient(90deg, #fff7e8, #f2dfbd 55%, #b99b6c); box-shadow: 0 32px 70px rgba(40,30,20,.22); opacity: 0; pointer-events: none; transform-style: preserve-3d; }
.zhou-book-stage.is-turning-next .zhou-turn-sheet { transform-origin: left center; animation: zhouTurnNext 680ms cubic-bezier(.18,.72,.2,1) forwards; }
.zhou-book-stage.is-turning-prev .zhou-turn-sheet { transform-origin: right center; animation: zhouTurnPrev 680ms cubic-bezier(.18,.72,.2,1) forwards; }
.zhou-book-stage.is-turning-next .zhou-book-page, .zhou-book-stage.is-turning-prev .zhou-book-page { animation: zhouPageDim 680ms ease forwards; }
@keyframes zhouTurnNext { 0% { opacity: 0; transform: rotateY(0deg) translateX(0) scaleX(.05); } 20% { opacity: 1; transform: rotateY(-8deg) translateX(10px) scaleX(.36); } 62% { opacity: 1; transform: rotateY(-86deg) translateX(42px) scaleX(.82); } 100% { opacity: 0; transform: rotateY(-154deg) translateX(86px) scaleX(.98); } }
@keyframes zhouTurnPrev { 0% { opacity: 0; transform: rotateY(0deg) translateX(0) scaleX(.05); } 20% { opacity: 1; transform: rotateY(8deg) translateX(-10px) scaleX(.36); } 62% { opacity: 1; transform: rotateY(86deg) translateX(-42px) scaleX(.82); } 100% { opacity: 0; transform: rotateY(154deg) translateX(-86px) scaleX(.98); } }
@keyframes zhouPageDim { 0% { filter: brightness(1); } 48% { filter: brightness(.88); } 100% { filter: brightness(.8); } }
@media (max-width: 760px) { .zhou-book-main { width: min(100% - 18px, 1500px); margin-top: 14px; } .zhou-book-page { padding: 24px 18px; min-height: auto; } .zhou-book-title { font-size: 36px; } .zhou-book-content { font-size: 17px; line-height: 1.82; } .zhou-book-nav { grid-template-columns: 1fr; } .zhou-book-next { text-align: left; } }
@media (prefers-reduced-motion: reduce) { .zhou-turn-sheet, .zhou-book-page { animation: none !important; } }

/* zhou-book mark emphasis: normalize WordPress mark colors and render like inline highlighted code. */
.zhou-book-content mark {
  background: rgba(58, 45, 28, 0.72) !important;
  border: 1px solid rgba(255, 221, 87, 0.28);
  border-radius: 5px;
  color: #ffe45c !important;
  font-weight: 800;
  padding: .05em .34em;
  white-space: nowrap;
}


.zhou-book-content mark strong,
.zhou-book-content mark span {
  background: transparent !important;
  color: inherit !important;
  font-weight: inherit;
}

