:root{color-scheme:dark;--bg:#0d0815;--panel:#181020;--line:#413053;--violet:#a778ef;--gold:#ecc58e;--paper:#100c18;--ink:#f4effb;--muted:#baafc9}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 40% -18%,#3b2159,transparent 54%),var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,select,input{font:inherit}button,a{touch-action:manipulation}a{color:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:3px}[hidden]{display:none!important}
.masthead{max-width:1200px;margin:auto;padding:26px 28px 4px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{text-decoration:none;font-size:12px;letter-spacing:.17em;font-weight:850}.brand span{font-weight:550;color:var(--muted)}.free-chip{font-size:10px;letter-spacing:.13em;font-weight:800;color:#d6b6ff;border:1px solid #644788;background:#241631;padding:10px 12px;border-radius:99px;white-space:nowrap}
main{max-width:1200px;margin:auto;padding:0 28px}.hero{display:grid;grid-template-columns:minmax(210px,.82fr) minmax(0,1.18fr);align-items:center;gap:clamp(32px,6vw,94px);min-height:620px;padding:30px 0 70px}.cover-frame{max-width:425px;justify-self:center;width:100%;filter:drop-shadow(0 34px 32px rgba(0,0,0,.52))}.cover{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:12px;box-shadow:0 0 0 1px rgba(255,255,255,.17)}.eyebrow{color:#c5a4f5;font-size:11px;font-weight:800;letter-spacing:.15em}.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(44px,5.7vw,82px);font-weight:600;line-height:.99;letter-spacing:-.048em;margin:22px 0 10px}.hero h1 em{color:var(--gold);font-weight:400}.byline{font-family:Georgia,serif;font-size:24px;color:#ead4f5;margin:10px 0 26px}.dek{font:italic 25px/1.35 Georgia,serif;color:#e1d5ef;max-width:540px}.intro{line-height:1.72;color:#c5bbd1;font-size:16px;max-width:540px}.actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:25px}.button{appearance:none;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:50px;padding:12px 21px;border-radius:12px;font-weight:800;border:1px solid #624b7b;transition:transform .18s,background .18s}.button:hover{transform:translateY(-2px)}.primary{color:white;background:linear-gradient(135deg,#7441c4,#ac72f1);border-color:#bb86fc}.secondary{color:#efe6f7;background:#24192f}.promise,.small{font-size:12px;color:#a99eb9;line-height:1.6}.promise{margin:12px 0 0}
.about{border-top:1px solid var(--line);padding:55px 0;display:grid;grid-template-columns:1fr 1fr;gap:70px}.about h2,.support-card h2{font:normal clamp(30px,4vw,46px)/1.1 Georgia,serif;letter-spacing:-.03em;margin:12px 0}.about p,.support-card p{font-size:16px;color:#c6bdce;line-height:1.7;margin-top:0}.quote{margin:0 0 52px;padding:36px 12px;text-align:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.quote p{font:italic clamp(23px,3vw,33px) Georgia,serif;color:var(--gold);margin:15px auto 0}.support-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-bottom:60px}.support-card{background:linear-gradient(155deg,#241632,#150f1d);border:1px solid #493456;border-radius:24px;padding:27px;min-width:0}.support-card h2{font-size:34px}.support-card p.small{font-size:12px}.amounts{display:flex;gap:8px;flex-wrap:wrap}.amounts button{min-height:46px;min-width:56px;background:#1c1327;color:#ede0fa;border:1px solid #5c416f;border-radius:11px;font-weight:800}.amounts button.selected{background:#5f398d;border-color:#cda0ff}.support-card .actions{margin-top:14px}.paperback{background:linear-gradient(150deg,#291e29,#16101b)}#paperbackPending .button{margin-top:2px}footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;color:#9d91aa;font-size:12px;padding:25px 0 45px}.footer-link{background:none;border:none;color:#d4acf6;text-decoration:underline}.nojs{text-align:center;padding:25px}
.reader-screen{min-height:100vh;background:radial-gradient(ellipse at 40% -10%,rgba(98,50,143,.14),transparent 45%),var(--paper);color:var(--ink);padding-bottom:115px}.reader-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:8px;padding:calc(8px + env(safe-area-inset-top)) 11px 8px;background:rgba(14,10,21,.96);border-bottom:1px solid #372542;backdrop-filter:blur(16px)}.reader-heading{min-width:0;flex:1}.reader-heading strong,.reader-heading span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reader-heading strong{font-size:13px}.reader-heading span{color:#bbaaca;font-size:11px;margin-top:4px}.iconbtn{border:1px solid #50365f;border-radius:11px;min-width:43px;height:43px;background:#261833;color:white;font-size:23px}.progress-track{position:sticky;top:calc(59px + env(safe-area-inset-top));height:3px;background:#241b2f;z-index:9}.progress-track div{height:100%;background:linear-gradient(90deg,#7243b7,#d6adfc);width:0;transition:width .2s}.book-content{font:var(--font-size,20px)/var(--leading,1.76) Georgia,"Times New Roman",serif;max-width:var(--max-width,760px);padding:35px 23px 110px;margin:auto}.book-content h1{font-size:clamp(36px,8vw,54px);line-height:1.05;margin:0 0 14px}.book-content .book-byline{font:15px sans-serif;letter-spacing:.1em;color:#b3a5be;margin-bottom:44px}.book-content h2{font:normal clamp(29px,6vw,39px)/1.17 Georgia,serif;letter-spacing:-.01em;margin:0 0 25px;color:#f2eafa}.book-content p{margin:0 0 1.1em;border-radius:5px;scroll-margin-top:110px;white-space:pre-wrap}.book-content p.current{background:rgba(164,111,255,.15);box-shadow:0 0 0 7px rgba(164,111,255,.10)}.reader-screen.theme-sepia{--paper:#efe7d9;--ink:#302b2e}.reader-screen.theme-sepia .reader-header{background:#251b2c}.reader-screen.theme-sepia .reader-heading,.reader-screen.theme-sepia .iconbtn{color:white}.reader-screen.theme-sepia .book-content h2{color:#332737}.reader-screen.theme-light{--paper:#fbfaf8;--ink:#26232b}.reader-screen.theme-light .reader-header{background:#24182e}.reader-screen.theme-light .reader-heading{color:white}.reader-screen.theme-light .book-content h2{color:#332737}
.audio-bar{position:fixed;bottom:calc(10px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:11;display:flex;gap:6px;align-items:center;padding:8px;background:rgba(20,13,28,.98);border:1px solid #593e67;border-radius:16px;width:min(97vw,560px);box-shadow:0 15px 35px #0008}.audio-bar button{background:#33233f;border:0;color:#fff;border-radius:10px;min-width:43px;height:47px;font-size:13px;font-weight:800}.audio-bar button.play{flex:1;background:linear-gradient(110deg,#7542bc,#ae75e8);font-size:14px;white-space:nowrap}.audio-status{position:fixed;z-index:11;bottom:calc(83px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#261831;color:#e2d4ed;border-radius:20px;padding:7px 12px;font-size:11px;max-width:94vw;text-align:center;pointer-events:none}.audio-status:empty{display:none}
.drawer-overlay{position:fixed;inset:0;z-index:20;background:#0009;display:flex;justify-content:flex-end}.drawer{width:min(94vw,410px);height:100%;padding:calc(16px + env(safe-area-inset-top)) 17px 24px;overflow:auto;background:#17101f;box-shadow:-20px 0 60px #0008}.drawer-header{display:flex;align-items:center;justify-content:space-between;gap:9px}.drawer-header h2{font:normal 28px Georgia,serif}.toc-entry{display:block;text-align:left;width:100%;border:0;border-bottom:1px solid #392743;background:none;color:#e2d6ec;padding:13px 4px}.toc-entry.active{color:#c493ff;font-weight:bold}.drawer label{display:block;color:#d0bddc;font-size:13px;font-weight:700;margin:18px 0 7px}.drawer select{display:block;width:100%;background:#241731;color:white;border:1px solid #624572;border-radius:10px;padding:12px}.drawer .explain{font-size:12px;line-height:1.6;color:#b4a3c2}
@media(max-width:740px){main{padding:0 20px}.masthead{padding:20px 20px 0}.brand{font-size:11px}.free-chip{font-size:9px}.hero{grid-template-columns:1fr;gap:28px;min-height:0;padding:32px 0 50px}.cover-frame{width:min(68vw,300px)}.hero-copy{text-align:center}.hero h1{font-size:clamp(43px,10vw,68px)}.hero .dek,.hero .intro{margin-left:auto;margin-right:auto}.actions{justify-content:center}.about{grid-template-columns:1fr;gap:7px;padding:38px 0}.support-grid{grid-template-columns:1fr}.book-content{padding:24px 19px 110px}.audio-bar{bottom:calc(6px + env(safe-area-inset-bottom))}.support-card{padding:22px}}
@media(max-width:370px){.audio-bar button{min-width:39px}.reader-heading strong{font-size:11px}.masthead{gap:5px}.brand span{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Narrator sample preserves the established purple reading design. */
.drawer .voice-sample{display:block;width:100%;margin-top:15px;padding:13px 14px;min-height:48px;border:1px solid #8560ab;border-radius:11px;color:#fff;background:linear-gradient(110deg,#6c40a9,#9d66d6);font-weight:750;text-align:center}
.drawer .voice-sample:focus-visible{outline:3px solid #ecc58e;outline-offset:3px}

/* Spoken word highlighting; the underlying full paragraph stays selectable and unchanged. */
.book-content p .spoken-word{
 background:#f3d08a;color:#21152e;font-weight:700;
 border-radius:4px;padding:1px 2px;margin:0 -2px;
 box-decoration-break:clone;-webkit-box-decoration-break:clone;
 box-shadow:0 0 0 2px rgba(243,208,138,.18);
}
.reader-screen.theme-sepia .book-content p .spoken-word,
.reader-screen.theme-light .book-content p .spoken-word{background:#7550a4;color:#fff;box-shadow:0 0 0 2px #7550a422}
