/* IF: pale sky, soft outlines and a single identity across every page. */
:root{--if-sky:#dceffb;--if-surface:#f8fbfc;--if-line:#c4d3da;--if-text:#35535f;--if-accent:#5e7d89;--paper:var(--if-sky);--card:var(--if-surface);--line:var(--if-line);--blue:var(--if-text);--gold:#9a8d70}
html body,html body.spiritual-book-page,html body[data-rr-theme="spiritual"],html body.rr-shared{background:var(--if-sky)!important;background-image:none!important;color:var(--if-text)}
body .spiritual-welcome,body .if-book-card,body .if-main-chapters,body .spiritual-contact,body .spiritual-help,body .rr-network-footer,body .spiritual-profile-intro,body .if-reader-settings,body .if-share-controls,body .book-card{background:var(--if-surface)!important;border-color:var(--if-line)!important;box-shadow:0 5px 22px #35535f06!important}
body .if-book-card{border-radius:20px;padding:clamp(20px,3vw,32px)}
body .uniform-book-controls{gap:9px;max-width:390px}
body .uniform-book-controls>.uniform-read,body .if-book-download,body .spiritual-button,body .spiritual-book-actions a,body .spiritual-book-actions button,body .if-chapter-navigation a,body .if-share-actions button,body .btn,body .if-site-index a,body .three-worlds a,body .spiritual-section-nav a,body .rr-network-footer a,body .spiritual-book-page header nav a{background:#f6fafb!important;color:#35535f!important;border:1px solid #bbced7!important;border-radius:13px!important;box-shadow:none!important;font-weight:500!important;text-shadow:none!important;min-height:44px;line-height:1.4}
body .uniform-book-controls>.uniform-read{font-size:16px;padding:10px 15px}
body .uniform-book-controls>.uniform-read:first-child,body .three-worlds a[aria-current],body .spiritual-section-nav a[aria-current],body .rr-network-footer a[aria-current],body .spiritual-book-page header nav a[aria-current]{background:#dfeaf0!important;border-color:#a8c0cb!important;color:#2e4d59!important}
body .uniform-book-controls>.uniform-read:hover,body .if-share-actions button:hover,body .if-site-index a:hover{background:#e5eff3!important}
body .three-worlds,body .spiritual-section-nav,body.spiritual-book-page>header{background:#dceffb;border-color:#cedde3}
body .if-main-chapters h2,body .spiritual-welcome h2,body .if-home-card h1{color:#35535f;font-size:clamp(23px,4.8vw,32px);line-height:1.3}
body h1,body h2,body h3,body h4,body summary,body .pyramid-title,body .pyramid-tagline{text-wrap:balance;overflow-wrap:normal;word-break:normal;hyphens:none}
body h1,body h2,body h3{line-height:1.3}
body .if-share-controls{border-radius:12px;padding:8px 12px}
body .if-share-controls>summary{font-weight:500;font-size:15px;list-style:none;display:flex;align-items:center;min-height:36px}
body .if-share-controls>summary::-webkit-details-marker{display:none}
body .if-share-controls>summary::marker{content:""}
body .if-passage-share{max-width:none;width:max-content;margin:-.4em 0 1em auto;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body .if-passage-share>summary{box-sizing:border-box;width:44px;height:44px;min-height:44px;justify-content:center;padding:0;border:0;border-radius:50%;color:#62818e;background:transparent;font:400 22px/1 system-ui;cursor:pointer}
body .if-passage-share>summary:hover{background:#e4eef2;color:#35535f}
body .if-passage-share[open]{width:100%;margin:0 0 1.2em;padding:8px 12px!important;background:#f8fbfc!important;border:1px solid #c4d3da!important;border-radius:12px}
body .if-passage-share[open]>summary{margin-left:auto}
body .if-passage-share .if-share-actions{margin-top:6px}
body .if-reader-page main,body.if-reader-page main{background:var(--if-paper,#f8fbfc);color:var(--if-ink,#354750)}
body .pyramid-brand.pyramid-brand{display:flex;flex-direction:row;gap:18px;align-items:center;justify-content:center;box-sizing:border-box;width:calc(100% - 32px);max-width:900px;margin:18px auto;padding:18px 22px;border:1px solid #c4d3da;border-radius:18px;background:#f8fbfc;color:#35535f!important;box-shadow:none}
body .pyramid-brand .pyramid-emblem{flex:0 0 84px;width:84px;height:76px;aspect-ratio:auto;overflow:visible}
body .pyramid-brand .pyramid-emblem img{display:block!important;width:100%!important;height:100%!important;object-fit:contain;max-width:100%!important;margin:0!important;border:0!important;box-shadow:none!important}
body .pyramid-brand .pyramid-words{min-width:0;display:flex;flex-direction:column;gap:5px;text-align:center}
body .pyramid-brand .pyramid-title{font:500 clamp(19px,3vw,28px)/1.3 Georgia,serif;color:#35535f}
body .pyramid-brand .pyramid-tagline{font:400 clamp(12px,1.5vw,15px)/1.45 Georgia,serif;color:#5c7580}
body .pyramid-brand .pyramid-author{font:400 12px/1.4 Georgia,serif;color:#8c7d60;letter-spacing:.09em}
body .rr-book-brand.rr-book-brand{background:#f8fbfc;color:#35535f;border-color:#c4d3da}
body .personal-share-dialog[data-rr-theme="spiritual"]{--rr-background:#dceffb;--rr-panel:#f8fbfc;--rr-ink:#35535f;--rr-gold:#aebfc8;background:#dceffb}
body .if-site-index{gap:8px}body .if-site-index a{font-size:15px;padding:9px 13px}
body .if-book-cover{box-shadow:0 8px 22px #35535f15;border-color:#c8d7dd}
body .if-main-chapters li{border-color:#d8e3e8}
body .rr-network-footer{display:block!important}
body .if-refined-heading{font-size:clamp(23px,5vw,32px);line-height:1.3}
@media(max-width:600px){body .pyramid-brand.pyramid-brand{flex-direction:column;gap:8px;padding:16px 12px;width:calc(100% - 24px)}body .pyramid-brand .pyramid-emblem{flex-basis:auto;width:84px;height:72px}body .pyramid-brand .pyramid-title{font-size:clamp(17px,4.7vw,23px)}body .pyramid-brand .pyramid-tagline{font-size:12px}body .three-worlds{grid-template-columns:1fr 1.35fr 1fr}body .three-worlds a{font-size:12px;font-weight:500;padding:9px 5px}body .if-home-card h1{font-size:clamp(24px,6vw,30px)}body .if-home-card p{font-size:17px;line-height:1.65}body .spiritual-section-nav a{font-size:13px;font-weight:500}}
:root[data-if-theme="dark"] body.if-reader-page{background:#20282c!important}:root[data-if-theme="sepia"] body.if-reader-page{background:#ede5d5!important}

body>header h1{font-size:clamp(26px,5vw,36px);line-height:1.3}body>header .video-book-title{font-size:clamp(18px,4vw,23px);line-height:1.45;color:#5c7580}body .if-book-help{color:#5c7580}
body .personal-share-dialog .rr-book-brand.rr-book-brand{display:flex!important;background:#f8fbfc;color:#35535f;border-color:#c4d3da}
body .personal-share-dialog .rr-book-brand strong{font-size:24px}
body .personal-share-dialog .rr-book-brand span span{text-wrap:balance}
