main{max-width:100%;padding-top:20px}#premium-offer h1{font-size:clamp(22px,4vw,28px);max-width:100%;word-break:keep-all}.premium-layout{display:grid;grid-template-columns:1fr;gap:20px}.premium-layout aside img{width:100%;max-height:280px;object-fit:cover;object-position:50% 20%;border-radius:16px}.premium-scene{background:var(--skin-surface);border:1px solid var(--skin-border-subtle);border-radius:16px;padding:18px;margin:12px auto;max-width:100%;box-shadow:0 4px 14px rgba(229,107,111,0.03)}.premium-scene h3{margin-top:0;font-size:16px;color:var(--skin-ink)}.premium-scene p{font-size:15px;line-height:1.75;white-space:pre-line;color:var(--skin-ink)}.premium-scene .note{overflow-wrap:anywhere;font-size:13px}.premium-chapter,.premium-month{padding:14px 0;margin:14px auto;max-width:100%}.premium-chapter>h2,.premium-month>h2{font-weight:700;font-size:20px;margin-bottom:16px;color:var(--skin-ink)}.premium-month article{border-top:1px solid var(--skin-border-subtle);padding-top:14px;margin-top:14px}.premium-worksheet,#order-panel{padding:22px;background:var(--skin-surface);border:1px solid var(--skin-border-subtle);border-radius:18px;margin:24px auto;max-width:100%;box-shadow:0 4px 16px rgba(229,107,111,0.04)}.order-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}#order-items{display:grid;gap:10px;margin:16px 0}#order-items button{text-align:left;white-space:normal;padding:14px 16px;border-radius:12px;border:1px solid var(--skin-border);background:var(--skin-surface-subtle);color:var(--skin-ink);font-weight:600;transition:all .2s;cursor:pointer}#order-items button:hover{background:#E56B6F;color:#fff;border-color:var(--skin-border)}.premium-worksheet a{color:var(--skin-accent);text-decoration:none;font-weight:600}.premium-worksheet a:hover{text-decoration:underline}.premium-layout .check{align-items:flex-start}.premium-layout .check input{flex-shrink:0;accent-color:#E56B6F}@media(max-width:700px){.premium-layout{grid-template-columns:minmax(0,1fr)}.premium-layout aside img{max-height:240px}.premium-scene{padding:14px}.premium-scene p{font-size:14px}.premium-chapter,.premium-month{padding:12px 0}.order-actions button{width:100%}}#premium-document{scroll-margin-top:20px}

.checkout-page{max-width:620px;width:100%;margin:20px auto 40px;padding:0 20px;box-sizing:border-box}
.checkout-page .premium-worksheet{background:rgba(255,255,255,0.96);border:1px solid var(--skin-border-subtle);border-radius:20px;padding:28px 24px;box-shadow:0 8px 30px rgba(45,106,79,0.06)}
.checkout-page h1{font-size:24px;font-weight:800;color:var(--skin-ink);margin:0 0 16px;letter-spacing:-0.02em}
.checkout-page p{word-break:keep-all;overflow-wrap:anywhere;font-size:14px}
.checkout-page #order-summary{margin:20px 0;padding:20px;background:var(--skin-surface-subtle);border:1px solid var(--skin-border-subtle);border-radius:16px}
.checkout-page #order-product{font-size:18px;font-weight:750;color:var(--skin-ink);margin:0 0 6px}
.checkout-page #order-spec{font-size:13.5px;color:var(--skin-subtle);margin:0 0 14px}
.checkout-page #order-scope{font-size:13px;line-height:1.65;color:var(--skin-subtle);margin:0 0 16px;padding:12px 14px;background:var(--skin-surface-subtle);border-radius:10px}
.checkout-page .order-price-card{margin:16px 0;padding:16px;background:var(--skin-surface);border:1px solid var(--skin-border-subtle);border-radius:12px}
.checkout-page #checkout-amount{font-size:20px;font-weight:850;color:var(--skin-ink);margin:0 0 4px}
.checkout-page #checkout-discount{font-size:13.5px;color:var(--skin-accent);font-weight:700;margin:0 0 6px}
.checkout-page #order-price-note{font-size:13px;color:var(--skin-subtle);margin:0}
.checkout-page .checkout-consent-label{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--skin-ink);margin:16px 0 12px;cursor:pointer}
.checkout-page .checkout-consent-label input{width:18px;height:18px;accent-color:#2d6a4f;cursor:pointer}
.checkout-page #order-faq{margin-top:14px;padding-top:14px;border-top:1px dashed var(--skin-border-subtle);font-size:13px;color:var(--skin-subtle)}
.checkout-page #order-faq summary{cursor:pointer;font-weight:600;color:var(--skin-subtle);margin-bottom:8px}
.checkout-page #checkout-pay{width:100%;padding:14px 20px;font-size:16px;font-weight:750;border-radius:12px;background:linear-gradient(135deg,#2d6a4f 0%,#1b4332 100%);color:#fff;border:none;box-shadow:0 6px 20px rgba(45,106,79,0.3);cursor:pointer;transition:all .2s ease}
.checkout-page #checkout-pay:disabled{background:#c8d9ce;box-shadow:none;cursor:not-allowed;color:#ffffff}
.checkout-page #checkout-pay:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(45,106,79,0.4)}

.offer-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.offer-comparison>div{padding:18px;border:1px solid var(--skin-border-subtle);border-radius:14px;background:var(--skin-surface)}.offer-comparison h2{margin-top:0;font-size:18px}.offer-comparison p{line-height:1.7;font-size:14px}.offer-comparison a{display:inline-block;padding:10px 0}#offer-sample-description{line-height:1.7}@media(max-width:700px){.offer-comparison{grid-template-columns:1fr}}

.checkout-page #checkout-refresh{margin-top:12px}

.premium-position{padding:12px 14px;margin:16px 0;background:var(--skin-surface-subtle);border-radius:12px;border:1px solid var(--skin-border-subtle)}.premium-position p{margin:0 0 6px;font-size:13px}.premium-position button{margin:4px 6px 4px 0}[data-reading-anchor]{scroll-margin-top:20px}[data-reading-anchor]:focus-visible{outline:2px solid var(--skin-focus);outline-offset:3px}

/* A chapter already frames its scenes. Keep that frame and the speech bubble,
   without spending the narrow screen on a third nested card. */
@media(max-width:600px){
  .premium-chapter,.premium-month{padding:10px}
  .premium-chapter>.premium-scene{padding:0;border:0;border-radius:0;background:transparent;margin:16px 0}
  .premium-chapter>.premium-scene+.premium-scene{border-top:1px solid var(--skin-border-subtle);padding-top:16px}
  .premium-chapter .guide-conversation.opening{padding:0;background:transparent}
}

.purchase-notice{margin:1rem 0;min-width:0}.purchase-notice p,.purchase-notice li{line-height:1.65;word-break:keep-all;overflow-wrap:anywhere;font-size:13px}.purchase-notice summary{cursor:pointer;line-height:1.5;padding:.5rem 0;font-size:14px}.purchase-notice details{border-top:1px solid var(--skin-border-subtle)}.purchase-notice section{margin:1rem 0}.purchase-notice h3{font-size:.95rem}

/* Keep the worked alternatives visible as a reading destination, separate from reasons. */
.premium-case{margin:24px 0;min-width:0}
.premium-case.static-case{padding:20px;background:var(--skin-surface-subtle);border-radius:18px;border:none}
.premium-case-body{padding:0;min-width:0}
.premium-case-context,.premium-case-note{font-size:13px;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere}
.premium-case-choices{display:flex;flex-direction:column;gap:16px}
.premium-case-choice{min-width:0}
.premium-case .guide-conversation{margin:10px 0}
@media(min-width:901px){.premium-case-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@container (max-width:680px){.premium-case-choices{display:flex;flex-direction:column;gap:16px!important}}

.premium-journal-link a{display:inline-flex;align-items:center;min-height:42px;padding:6px 0;box-sizing:border-box;word-break:keep-all;overflow-wrap:anywhere;font-size:14px}


body[data-site-shell] #premium-document{max-width:760px;margin-inline:auto;padding:20px 16px;background:transparent;border:0;box-shadow:none}
body[data-site-shell] #document-chapters :is(.toon-book,.reading-book-v2,.traditional-reader,.traditional-body,.premium-chapter,.toon-chapter,.book-prose,.book-chapter,.traditional-chapter){background:transparent;border:0;box-shadow:none;max-width:100%;box-sizing:border-box}
body[data-site-shell] #document-chapters :is(p,.toon-copy):not(.book-chapter-number,.book-chapter-intro){line-height:1.9;margin-block:20px;overflow-wrap:anywhere}
body[data-site-shell] #document-chapters :is(h1,h2,h3,.toon-heading):not(.book-chapter-title){background:transparent;border:0;box-shadow:none;padding-block:0;margin-top:38px;margin-bottom:18px;line-height:1.5}
.product-illustration{margin:32px 0;padding:0;border:0;background:transparent}.product-illustration img{width:100%;height:auto;display:block;object-fit:contain;border-radius:16px}

body[data-site-shell] #document-months :is(.premium-month,.guide-speech,.guide-speech-copy,.premium-toon){background:transparent;border:0;box-shadow:none;margin-block:28px}

/* Programmatic reading-position anchors are not interactive focus controls. */
body[data-site-shell] :is(#premium-document,[data-reading-anchor][tabindex="-1"]):focus{outline:none}
body[data-site-shell] .traditional-reader .pillar-col.is-day-pillar{outline:none;border-color:var(--skin-border)}
body[data-site-shell] #document-chapters :is(.reading-book-v2,.toon-book,.traditional-reader,.traditional-body,.book-chapter,.book-prose){background:transparent!important}
body[data-site-shell] #document-chapters .traditional-chapter>header{position:static;display:block;height:auto;min-height:0;padding:0;margin:32px 0 20px}
body[data-site-shell] #document-chapters .traditional-chapter>header h2{margin:8px 0 16px;font-size:24px;line-height:1.5}
body[data-site-shell] #document-chapters .traditional-chapter>header p{margin:0;font-size:14px;line-height:1.6}

.shelf-return-nav{display:flex;justify-content:flex-start;margin:0 0 16px}.shelf-return-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 8px;color:var(--ink,#322b29);font-size:14px;text-decoration:none}.shelf-return-nav a:hover{text-decoration:underline}.shelf-return-nav a:focus-visible{outline:2px solid var(--skin-focus);outline-offset:3px}

/* Book covers are vertical compositions, independent of the site's horizontal header. */
body[data-site-shell] :is(#document-chapters,.traditional-reader) :is(.toon-book-title,.reading-book-v2>header.book-prose,.traditional-hero-copy) {
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
}
body[data-site-shell] #document-chapters .toon-book-title > :is(p,h1,h2) {
  flex-basis:auto;width:auto;max-width:100%;margin:12px 0;
}
body[data-site-shell] #document-chapters .toon-book-title > .toon-kicker {margin:0 0 12px;}
body[data-site-shell] #document-chapters .toon-book-title > nav {width:100%;}
body[data-site-shell] #document-chapters .book-cover-description {color:var(--skin-subtle);}
body[data-site-shell] :is(#document-chapters,.traditional-reader) .traditional-hero-copy {
  width:100%;max-width:100%;min-width:0;margin-inline:auto;
}


/* Verified payments waiting for their owned reading. */
.paid-reading-preparation{box-sizing:border-box;width:min(26rem,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:2rem 1.5rem 1.5rem;border:0;border-radius:16px;background:#fff8f5;color:#382630;text-align:center;box-shadow:0 22px 70px rgba(50,28,47,.3);overflow:auto}
.paid-reading-preparation::backdrop{background:rgba(28,18,28,.64)}
.paid-reading-preparation h2{margin:.85rem 0 .35rem;font-size:clamp(1.3rem,5vw,1.65rem);letter-spacing:-.025em}
.paid-reading-preparation p{margin:0;color:#614858}
.paid-reading-book{fill:#fff1ee;stroke:#81566c;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.paid-reading-turn{fill:#f5dedf;transform-box:view-box;transform-origin:50% 50%;animation:paid-reading-open 2.8s cubic-bezier(.36,.02,.29,1) infinite}
.paid-reading-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.95rem;margin-top:1.25rem}
.paid-reading-actions a{color:#67435c;text-underline-offset:.22em}
.paid-reading-preparation :focus-visible{outline:2px solid #81566c;outline-offset:4px}
@keyframes paid-reading-open{0%,15%{transform:scaleX(-1)}65%,100%{transform:scaleX(1)}}
@media (prefers-reduced-motion:reduce){.paid-reading-turn{animation:none}}


/* The body grows below the reading position as server paragraphs arrive. */
html:has(.paid-progress-reader:not([hidden])){scrollbar-gutter:stable}
.paid-progress-reader{max-width:46rem;margin:2rem auto;padding:1.5rem clamp(1rem,4vw,2.5rem);border-radius:16px;background:#fff8f5;color:#382630;line-height:1.8}
.paid-progress-reader h1{font-size:clamp(1.55rem,5vw,2rem);letter-spacing:-.026em}
.paid-progress-reader h2{margin:1.8rem 0 .4rem;font-size:1.26rem;line-height:1.45}
.paid-progress-reader h3{margin:1.4rem 0 .35rem;font-size:1.03rem}
.paid-progress-reader p{margin:0 0 1rem}
.paid-progress-tail{overflow-anchor:none;min-height:5rem;padding:.55rem 0;color:#614858}
.paid-progress-tail a{color:#67435c;text-underline-offset:.22em}
