/* Shared night treatment: cultural colors remain distinct, every surface stays dark. */
:root{color-scheme:dark}body{background:#07080c;color:#e4dfd8}.master-card .art img,.master-card .art>video,.banner-image{filter:brightness(.64) saturate(.78) contrast(1.08)}.master-card .art:after{background:linear-gradient(180deg,#090b1b26 0%,transparent 25%,#08080c8c 62%,#060509f0 100%)}.banner-shade{background:linear-gradient(90deg,#10101a 4%,#10101aeb 26%,#10101a66 60%,#0b0d1926 90%),linear-gradient(0deg,#000b,transparent 60%)}.temple-card img{filter:brightness(.66) saturate(.8) contrast(1.07)}.temple-card:after{background:linear-gradient(180deg,#080d2026,transparent 20%,#070810ee 100%)}.temple-backdrop,.temple-entry-video{filter:brightness(.68) saturate(.82)}.intro>img,.intro>video,.gate-art>img{filter:brightness(.7) saturate(.8)}.book-portrait img{filter:brightness(.69) saturate(.78) contrast(1.06)}.unlock-book>img{filter:brightness(.65) saturate(.77)}.checkout-chapters article>img{filter:brightness(.58) saturate(.8)}.unlock-backdrop{filter:blur(4px) brightness(.6)}.book-content .comic-bubble{background:#171b29ed;color:#ece0ca;border:1px solid #b79c686b;box-shadow:4px 5px 0 #0007}.comic-bubble:after{background:#171b29}.book-content[data-layout=letter] .book-prose{background:linear-gradient(130deg,#26252b,#171b26);color:#dcd3c3;border:3px double #ad986355}.book-content[data-layout=letter] .book-prose p:first-child:first-letter{color:var(--book-accent)}.signed-lot{background:#22232c;color:#e5d7bd;border-color:#b99c6666}.signed-lot small{color:#b3a384}.lot-highlight{color:#e6a38d}.checkout-sticky .alipay-button,.temple-primary{background:linear-gradient(110deg,#484034,#292528);border:1px solid #c2a87577;color:#ead5ad}.edition-checkout .alipay-button{background:linear-gradient(110deg,#4b4238,#29242b);border:1px solid #c2a87577;color:#ead5ad}.unlock-ribbon b{color:#c9ad78}.temple-ritual.active{filter:brightness(.85)}.temple-card-copy h2{color:#f0e5d3}.card-copy{color:#efe6d9}.featured-banner .primary{background:#443a2b;border:1px solid #c5a87977;color:#ead8b7}
@media print{
 @page{size:A4;margin:8mm;background:#0d1018}
 html,body.book-view,.storybook{background:#0d1018!important;color:#ddd7cc!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .book-page,.book-page[hidden]{background:#0d1018!important;color:#ddd7cc!important;min-height:276mm;padding:5mm 6mm}
 .book-cover,.book-chapter{height:276mm}
 .book-page h1,.book-page h2,.book-page h3{color:#debf88!important}
 .book-page p,.book-prose,.book-summary,.book-ending>ol{color:#ddd4c4!important}
 .book-page .book-eyebrow,.book-page small,.folio-signature{color:#b5a17d!important}
 .book-cover-copy{background:linear-gradient(transparent,#0d1018dc 55%,#0d1018);height:100%;padding:165mm 10mm 10mm;box-sizing:border-box}
 .book-cover-copy h1{font-size:34pt!important;margin:6mm 0}
 .chapter-paper{background:#161b27!important;border:1px solid #b0966655;box-shadow:none}
 .chapter-numeral{color:#ad9260!important}
 .book-page .fact-figure{background:#161c28!important;border:1px solid #99835970;color:#d8c8a9!important}
 .book-page .fact-figure figcaption{color:#ddc18f!important}
 .book-page .palace-cell{background:#222836!important;border-color:#bba27144}
 .book-page .palace-cell.is-life{background:#543638!important;border-color:#bd8070}
 .book-page .palace-cell b,.book-page .palace-center strong,.book-page .palace-center span{color:#e4cb98!important}
 .book-page .palace-stars,.book-page .chart-rows,.book-page .chart-rows dd{color:#ddd3c3!important}
 .book-page .book-evidence,.book-page .book-action{background:#1b202b!important;color:#cbbd9f!important;border-color:#b99a5c77}
 .book-page .book-action b,.book-page .pillar strong,.book-page .pillar small,.book-page .pillar span{color:#dfc28f!important}
 .book-page .symbol-card,.book-page .signed-lot{background:#1b202c!important;color:#e8d2a5!important}
 .book-page .book-prose{font-size:9.5pt!important;line-height:1.48!important}
 .book-content .book-portrait{height:30mm!important}
 .book-content:has(.flight-list) .book-portrait{height:23mm!important}
 .book-content .book-evidence p,.book-content .book-action p{font-size:8.5pt!important;line-height:1.45!important}
 .book-content .book-lead{font-size:10.5pt!important;line-height:1.5!important}
 .book-content .fact-figure{padding:2mm;margin:2mm 0}
 .book-content .comic-bubble{background:#171b29!important;color:#e9d7b7!important;border-color:#ad926077}
 .book-content .comic-bubble:after{background:#171b29!important}
 .book-content .luck-period{background:#202735!important;border-color:#ad926077}
 .book-content .luck-period small,.book-content .luck-period span{color:#d6c19c!important}
}
@media print{
 .book-content .folio-signature{display:none}
 .book-content .ziwei-grid{grid-template-rows:repeat(4,minmax(12mm,auto));max-width:126mm}
 .book-content .palace-stars{min-height:3mm}
 .book-content .book-prose p{margin-bottom:2mm}
 .book-content .book-footnotes{gap:3mm}
 .book-content .book-portrait{height:25mm!important}
 .book-content .book-evidence p,.book-content .book-action p{font-size:8pt!important;line-height:1.4!important}
 .book-content .chart-rows dt,.book-content .chart-rows dd{padding:1.3mm 0}
 .book-page .toc-chapter strong{color:#ddc18f!important}
}
@media print{.book-content .luck-timeline{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5mm 3mm}.book-content .luck-period{grid-template-columns:1fr;gap:.6mm;padding:1.5mm 2mm;font-size:8pt}.book-content .luck-period small{font-size:7pt}}
