:root{
  --ink:#090909;--muted:#777;--rule:#e3e3e3;--sanskrit:#20294f;
  --toolbar-h:54px;--footer-h:44px;--gutter:22px;--book-top:48px;
  --font:21px;--leading:1.54;
}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;background:#fff;color:var(--ink)}
body{overflow:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}
button,input{font:inherit}button{touch-action:manipulation}
.app{position:fixed;inset:0;background:#fff;overflow:hidden}
.toolbar{position:absolute;z-index:20;left:0;right:0;top:0;height:var(--toolbar-h);display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;background:#fff;border-bottom:1px solid #f1f1f1;transition:transform .16s ease}
.app.toolbar-hidden .toolbar{transform:translateY(calc(-100% - 1px))}
.tool{height:var(--toolbar-h);min-width:48px;width:48px;border:0;background:transparent;color:#171717;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:29px;line-height:1;display:grid;place-items:center;padding:0}
.chapter-title{min-width:0;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:650 13px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;padding:0 5px}
.stage{position:absolute;inset:0 0 var(--footer-h);overflow:hidden;background:#fff;touch-action:pan-y}
.reader-page{position:relative;width:100%;height:100%;overflow:hidden;padding:calc(var(--toolbar-h) + var(--book-top)) var(--gutter) 36px;font-family:"Source Serif 4",Georgia,"Times New Roman",serif;font-size:var(--font);font-weight:400;line-height:var(--leading);color:var(--ink);background:#fff;transition:padding-top .16s ease;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.app.toolbar-hidden .reader-page{padding-top:var(--book-top)}
.reader-page.opening-mode{overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}
.reader-page.purport-mode{overflow:hidden}
.opening-content,.purport-content{width:100%;max-width:820px;margin:0 auto}
.reader-page p{margin:.56em 0}
.verse-group{margin:0 auto 1.3rem;max-width:31ch;text-align:center;color:var(--sanskrit)}
.verse-line{font-family:"Cormorant Garamond","Gentium Plus",Georgia,serif;font-style:italic;font-weight:500;font-size:1.18em;line-height:1.20;margin:.06em auto!important;text-align:center!important;hyphens:none!important;word-break:normal!important}
.subhead{display:block;width:100%;margin:1.25rem 0 .72rem;font-family:"Source Serif 4",Georgia,serif;font-size:.63em;font-weight:600;line-height:1;text-align:center;letter-spacing:.07em;text-transform:uppercase;color:#444;white-space:nowrap}
.subhead::before,.subhead::after{content:none!important;display:none!important}
.purport-kicker{position:static;display:block;width:100%;margin:0 0 1.05rem;font-family:"Source Serif 4",Georgia,serif;font-size:.63em;font-weight:600;line-height:1;text-align:center;letter-spacing:.07em;text-transform:uppercase;color:#444;white-space:nowrap;pointer-events:none}
.purport-kicker::before,.purport-kicker::after{content:none!important;display:none!important}
.synonym-text,.translation-text,.purport-content{font-family:"Source Serif 4",Georgia,"Times New Roman",serif;font-size:1em;font-weight:400;line-height:var(--leading);text-align:justify;text-align-last:left;text-justify:auto;word-break:normal;overflow-wrap:normal}
.synonym-text{hyphens:none;-webkit-hyphens:none}
.translation-text{hyphens:auto;-webkit-hyphens:auto;hyphenate-limit-chars:10 4 4}
.purport-content{hyphens:auto;-webkit-hyphens:auto;hyphenate-limit-chars:12 5 5;orphans:2;widows:2}
.synonym-text i,.synonym-text em,.purport-content i,.purport-content em,.translation-text i,.translation-text em{font-family:"Gentium Plus",Georgia,serif;font-style:italic;font-weight:400}
.translation-text b{font-weight:400}
.purport-content p{margin:0}
.chapter-end{font-style:italic;margin-top:1.3rem!important}
.footer{position:absolute;z-index:15;left:0;right:0;bottom:0;height:var(--footer-h);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:2px 44px;background:#fff;border-top:1px solid #f2f2f2;pointer-events:none}.footer-title{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;color:#626262;font:400 10.5px/1.08 "Source Serif 4",Georgia,serif}.footer-progress{display:block;text-align:center;color:#858585;font:600 10px/1.05 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.02em}
.edge{display:none;position:absolute;z-index:12;top:50%;transform:translateY(-50%);width:42px;height:74px;border:0;background:transparent;color:#111;font:300 35px/1 system-ui;opacity:.55}.edge-prev{left:2px}.edge-next{right:2px}.edge:hover{opacity:1}
.measure-stage{position:fixed;z-index:-999;left:-100000px;top:0;visibility:hidden;pointer-events:none}
.measure-source,.measure-chunk{font:400 var(--font)/var(--leading) "Source Serif 4",Georgia,"Times New Roman",serif;text-align:justify;text-align-last:left;text-justify:auto;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:12 5 5;overflow-wrap:normal;word-break:normal}
.measure-source p,.measure-chunk p{margin:0}.measure-source i,.measure-source em,.measure-chunk i,.measure-chunk em{font-family:"Gentium Plus","Source Serif 4",serif;font-style:italic;font-weight:400}
.scrim{position:fixed;z-index:40;inset:0;background:rgba(0,0,0,.22)}
.drawer,.search-panel{position:fixed;z-index:50;top:0;bottom:0;width:min(92vw,410px);background:#fff;box-shadow:0 0 25px rgba(0,0,0,.12);transition:transform .18s ease;overflow:auto}.drawer{left:0;transform:translateX(-102%)}.search-panel{right:0;transform:translateX(102%)}.drawer.show,.search-panel.show,.drawer.open,.search-panel.open{transform:translateX(0)}
.panel-head{position:sticky;top:0;z-index:2;height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:#fff;border-bottom:1px solid #eee;font:600 16px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif}.close{border:0;background:transparent;font-size:30px;font-weight:300;padding:5px 8px}
.chapter-list{padding:10px 12px 28px}.chapter-block{border-bottom:1px solid #efefef;padding:10px 0 14px}.chapter-link{display:block;width:100%;border:0;background:#fff;text-align:left;padding:6px 5px;font:600 16px/1.25 system-ui,-apple-system,"Segoe UI",sans-serif;color:#111}.chapter-link small{display:block;margin-top:4px;color:#666;font-size:13px;font-weight:400}.verse-grid{display:flex;flex-wrap:wrap;gap:7px;padding:5px}.verse-grid button{min-width:42px;height:36px;border:1px solid #ddd;border-radius:18px;background:#fff;color:#222;font:500 13px/1 system-ui,-apple-system,"Segoe UI",sans-serif}
.search-form{display:flex;gap:8px;padding:14px}.search-form input{min-width:0;flex:1;border:1px solid #ddd;border-radius:12px;padding:11px 12px;font:16px system-ui}.search-form button{border:0;border-radius:12px;background:#111;color:#fff;padding:0 14px;font:600 14px system-ui}.search-results{padding:0 14px 30px}.search-hit{display:block;width:100%;border:0;border-top:1px solid #eee;background:#fff;text-align:left;padding:13px 2px;color:#111}.search-hit b{display:block;font:600 14px/1.25 system-ui}.search-hit span{display:block;margin-top:4px;color:#666;font:13px/1.35 system-ui}.loading{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#777;text-align:center;padding-top:35vh}
@media(min-width:760px){:root{--gutter:clamp(110px,17vw,300px);--book-top:58px;--footer-h:40px}.reader-page{font-size:21px}.edge{display:block}.toolbar{height:50px;grid-template-columns:48px minmax(0,1fr) 48px}.tool{height:50px}.chapter-title{font-size:13px}}
@media(prefers-reduced-motion:reduce){.toolbar,.drawer,.search-panel,.reader-page{transition:none}}

/* v0.2.3-M1: option 10 menu trigger + favourite inside menu only */
.menu-dots{font-size:31px;font-weight:500;line-height:1;letter-spacing:0;padding-bottom:4px}
.menu-favourite,.menu-search{width:100%;min-height:52px;border:0;border-bottom:1px solid #eeeeee;background:#fff;color:#111;display:flex;align-items:center;gap:11px;padding:0 18px;text-align:left;font:600 15px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;touch-action:manipulation}
.menu-favourite-star{display:inline-grid;place-items:center;width:22px;font-size:22px;font-weight:400;line-height:1}
.menu-favourite.active .menu-favourite-star{color:#111}
.menu-section-label{padding:15px 17px 3px;color:#888;font:700 10px/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.12em}
.menu-fav-toast{position:fixed;z-index:80;left:50%;bottom:calc(var(--footer-h) + 14px);transform:translate(-50%,8px);opacity:0;pointer-events:none;background:#111;color:#fff;border-radius:999px;padding:8px 12px;font:600 11px/1 system-ui,-apple-system,"Segoe UI",sans-serif;white-space:nowrap;transition:opacity .14s ease,transform .14s ease}.menu-fav-toast.show{opacity:1;transform:translate(-50%,0)}

/* v0.2.3-M2: toolbar search icon removed; search stays in the vertical-dots menu */
.toolbar-spacer{height:var(--toolbar-h)}
.menu-search-icon{display:inline-grid;place-items:center;width:22px;font-size:22px;font-weight:400;line-height:1}

/* production front matter and chapter pages */
.reader-page.special-mode{overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;text-align:justify;text-align-last:left}.reader-page.special-mode>.special-content{width:100%;max-width:820px;margin:0 auto}.special-content .cover-copy{text-align:center;padding-top:5vh}.special-content .cover-kicker,.special-content .chapter-number{font:650 11px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;color:#777;letter-spacing:.08em;text-transform:uppercase;text-align:center}.special-content h1,.special-content h2{text-align:center;font-family:"Source Serif 4",Georgia,serif;font-weight:400}.special-content .canto-title,.special-content .canto-cover-title{text-align:center}.special-content .chapter-hint,.special-content .cover-hint{display:none!important}.special-content .purport-text{font-family:"Source Serif 4",Georgia,"Times New Roman",serif;font-size:1em;font-weight:400;line-height:var(--leading);text-align:justify;text-align-last:left}.library-link{display:block;padding:12px 18px;border-bottom:1px solid #eee;color:#111;text-decoration:none;font:600 13px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif}.front-links{padding:6px 12px 0}.front-link{display:block;width:100%;padding:10px 5px;border:0;border-bottom:1px solid #f0f0f0;background:#fff;text-align:left;font:600 14px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif}


/* v3.0.1 clean Bhāgavatam navigation + structural pages; source data unchanged */
.contents-mode{overflow-y:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}
.contents-content{width:100%;max-width:760px;margin:0 auto;padding-bottom:40px}
.contents-kicker,.special-kicker{margin:0 0 7px;text-align:center;color:#777;font:700 10px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.11em;text-transform:uppercase}
.contents-content>h1{margin:0;text-align:center;font:400 30px/1.05 "Source Serif 4",Georgia,serif;letter-spacing:-.02em}
.contents-canto-title{margin:6px 0 30px;text-align:center;color:#444;font:400 20px/1.2 "Source Serif 4",Georgia,serif}
.contents-list{border-top:1px solid #ececec}
.contents-chapter{width:100%;min-height:72px;border:0;border-bottom:1px solid #ececec;background:#fff;color:#111;display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 2px;text-align:left;touch-action:manipulation}
.contents-chapter:active{background:#fafafa}
.contents-num{color:#777;font:700 9px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.07em;text-transform:uppercase}
.contents-name{font:400 18px/1.2 "Source Serif 4",Georgia,serif}
.contents-meta{color:#888;font:500 10px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;white-space:nowrap}
.chapter-summary{width:100%;max-width:760px;margin:0 auto;padding-bottom:42px}
.chapter-summary .summary-title{margin:0 0 25px;text-align:center;color:#444;font:600 11px/1.15 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.08em;text-transform:uppercase}
.chapter-summary .purport-text{margin:.62em 0;font-family:"Source Serif 4",Georgia,"Times New Roman",serif;font-size:1em;font-weight:400;line-height:var(--leading);text-align:justify;text-align-last:left;hyphens:auto;-webkit-hyphens:auto;hyphenate-limit-chars:12 5 5}
.chapter-summary .purport-text b{font-weight:400}
.chapter-summary .summary-lead{text-align:center;text-align-last:center;margin:0 auto 1.05rem;font-size:1.03em}
.chapter-quiet{max-width:700px!important;padding-top:3vh;text-align:center!important}
.chapter-quiet h1{margin:8px 0 0!important;font:400 26px/1.13 "Source Serif 4",Georgia,serif!important;text-align:center!important}
.special-content .front-subhead{margin:0 0 20px;text-align:center;color:#444;font:600 11px/1.15 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.08em;text-transform:uppercase}
.special-content .lotus-mark{display:none!important}
.special-content .cover-copy{padding-top:2vh!important;text-align:center}
.special-content .cover-copy h1{margin:6px 0 8px!important;font:400 30px/1.02 "Source Serif 4",Georgia,serif!important;letter-spacing:-.02em}
.special-content .cover-copy .canto-cover-title{margin:6px 0 20px;font:400 21px/1.2 "Source Serif 4",Georgia,serif}
.special-content>.chapter-number{margin:0 0 7px;text-align:center;color:#777;font:700 10px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.1em;text-transform:uppercase}
.special-content>h1{margin:0;text-align:center;font:400 28px/1.08 "Source Serif 4",Georgia,serif!important;letter-spacing:-.015em}
.special-content>.canto-title{margin:7px 0 24px;text-align:center;font:400 20px/1.2 "Source Serif 4",Georgia,serif!important}
.special-content .chapter-hint,.special-content .cover-hint{display:none!important}
.front-link:first-child{font-weight:700}
@media(max-width:520px){.contents-chapter{grid-template-columns:66px minmax(0,1fr) auto;gap:9px;min-height:68px}.contents-name{font-size:17px}.contents-content>h1{font-size:28px}.contents-canto-title{font-size:19px}.chapter-summary .summary-title{margin-bottom:22px}}

/* v3.0.4: footer title contrast + breathing room only */

/* v3.0.5: printed-book running head shown only while toolbar is hidden */
.running-head{position:absolute;z-index:10;left:50%;top:16px;transform:translateX(-50%);width:min(82vw,680px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;color:#777;font:400 10px/1.2 "Source Serif 4",Georgia,serif;letter-spacing:.075em;pointer-events:none;opacity:0;transition:opacity .16s ease}.app.toolbar-hidden .running-head{opacity:1}@media(max-width:620px){.running-head{top:15px;width:calc(100% - 52px);font-size:9.5px;letter-spacing:.065em}}


/* v3.0.6: quiet collapsible Bhāgavatam drawer only; reading page frozen */
.drawer{width:min(88vw,390px);box-shadow:none}
.current-location{display:block;width:calc(100% - 28px);margin:10px 14px 8px;padding:12px 2px 13px;border:0;border-bottom:1px solid #e9e9e9;background:#fff;text-align:left;touch-action:manipulation}
.current-location-label{display:block;margin-bottom:5px;color:#888;font:700 9px/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.13em}
.current-location b{display:block;color:#111;font:400 16px/1.22 "Source Serif 4",Georgia,serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.current-location small{display:block;margin-top:5px;color:#777;font:500 10px/1.25 system-ui,-apple-system,"Segoe UI",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.canto-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin:5px 14px 4px;border-top:1px solid #ececec;border-left:1px solid #ececec}
.canto-strip a{min-height:38px;display:grid;place-items:center;border-right:1px solid #ececec;border-bottom:1px solid #ececec;color:#555;text-decoration:none;font:600 11px/1 system-ui,-apple-system,"Segoe UI",sans-serif;touch-action:manipulation}
.canto-strip a.current{background:#111;color:#fff}
.library-link{margin:0 14px;padding:10px 1px 12px;font-weight:600;color:#666}
.chapter-list{padding:0 14px 16px}
.chapter-block{padding:0;border-bottom:1px solid #eaeaea}
.chapter-link{min-height:58px;padding:10px 2px;display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;border:0;background:#fff;text-align:left}
.chapter-link-main{min-width:0}
.chapter-link b{display:block;color:#111;font:400 15px/1.2 "Source Serif 4",Georgia,serif}
.chapter-link small{display:block;margin-top:4px;color:#858585;font:500 9.5px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif}
.chapter-chevron{color:#777;text-align:center;font:400 18px/1 system-ui;transition:transform .14s ease}
.chapter-block.open .chapter-chevron{transform:rotate(180deg)}
.chapter-detail{display:none;padding:0 0 11px}
.chapter-block.open .chapter-detail{display:block}
.chapter-open{width:100%;min-height:36px;border:0;border-top:1px solid #f1f1f1;border-bottom:1px solid #f1f1f1;background:#fff;color:#666;text-align:left;padding:0 2px;font:600 10px/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.04em;text-transform:uppercase}
.verse-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:0;padding:7px 0 0}
.verse-grid button{min-width:0;height:38px;border:0;border-right:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;border-radius:0;background:#fff;color:#333;font:500 11px/1 system-ui,-apple-system,"Segoe UI",sans-serif}
.verse-grid button:nth-child(6n+1){border-left:1px solid #f0f0f0}
.verse-grid button.current{background:#111;color:#fff;border-color:#111}
.chapter-block.current>.chapter-link b{font-weight:400}
.chapter-block.current>.chapter-link{position:relative;padding-left:10px}
.chapter-block.current>.chapter-link::before{content:"";position:absolute;left:0;top:11px;bottom:11px;width:2px;background:#111}
.front-links{padding:0 14px 24px}.front-link{padding:10px 1px;font-weight:500;color:#666}.menu-more-label{margin-top:2px}
@media(max-width:520px){.drawer{width:min(88vw,370px)}.current-location b{font-size:15px}.chapter-link b{font-size:14.5px}.verse-grid{grid-template-columns:repeat(6,1fr)}}
/* v4 shared scripture reader compatibility for Gita, Caitanya-caritamrta, Isopanisad and Nectar of Instruction */
.opening-content .sanskrit,.opening-content p.sanskrit{font-family:"Cormorant Garamond","Gentium Plus",Georgia,serif;font-style:italic;font-weight:500;font-size:1.18em;line-height:1.20;margin:.06em auto!important;text-align:center!important;color:var(--sanskrit);hyphens:none!important}
.opening-content .section-label,.opening-content .subhead{display:block;width:100%;margin:1.25rem 0 .72rem;font-family:"Source Serif 4",Georgia,serif;font-size:.63em;font-weight:600;line-height:1;text-align:center;letter-spacing:.07em;text-transform:uppercase;color:#444;white-space:nowrap}
.opening-content p.synonyms,.opening-content .synonym-text,.opening-content p.translation,.opening-content .translation-text{font-family:"Source Serif 4",Georgia,"Times New Roman",serif;font-size:1em;font-weight:400;line-height:var(--leading);text-align:justify;text-align-last:left;text-justify:auto;word-break:normal;overflow-wrap:normal}
.opening-content .translation b,.opening-content .translation-text b{font-weight:400}.opening-content .synonyms i,.opening-content .synonym-text i,.opening-content .translation i,.opening-content .translation-text i{font-family:"Gentium Plus",Georgia,serif;font-style:italic;font-weight:400}.opening-content .source-heading{text-align:center;font-weight:400}.opening-content .verse-line{color:var(--sanskrit)}
.menu-action{width:100%;min-height:52px;border:0;border-bottom:1px solid #eee;background:#fff;color:#111;display:flex;align-items:center;gap:11px;padding:0 16px;text-align:left;font:600 15px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif}.menu-action-icon{display:inline-grid;place-items:center;width:24px;font-size:22px}.menu-section-label{padding:17px 16px 5px;color:#888;font:700 10px/1 system-ui;letter-spacing:.12em}.menu-fav-toast{position:fixed;z-index:90;left:50%;bottom:44px;transform:translate(-50%,8px);opacity:0;background:#111;color:#fff;border-radius:999px;padding:8px 12px;font:600 11px/1 system-ui;transition:.14s}.menu-fav-toast.show{opacity:1;transform:translate(-50%,0)}
.drawer{width:min(88vw,390px)}.current-location{display:block;width:calc(100% - 28px);margin:10px 14px 8px;padding:12px 0 13px;border:0;border-bottom:1px solid #e9e9e9;background:#fff;text-align:left}.current-location-label{display:block;margin-bottom:5px;color:#888;font:700 9px/1 system-ui;letter-spacing:.13em}.current-location b{display:block;font:400 15px/1.22 "Source Serif 4",Georgia,serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.current-location small{display:block;margin-top:5px;color:#777;font:500 10px/1.25 system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.toc-scripture-group{border-bottom:1px solid #e9e9e9}.toc-scripture-group>.chapter-detail{padding:0}.inner-chapter{margin-left:10px;border-left:1px solid #eee}.simple-list{padding:0 14px 18px}.front-link.current,.verse-grid button.current{background:#111;color:#fff}.library-link{padding-left:16px}.reader-page.opening-mode .running-head{display:none!important}

/* v4.0.1: shared scripture drawer/search compatibility — JS uses .open */
.drawer.open,.search-panel.open{transform:translateX(0)}
/* v4.2.0: restore the locked Bhagavatam synonym treatment across the formal scripture family. */
.synonym-text,.opening-content p.synonyms,.opening-content .synonym-text{
  text-align:justify;
  text-align-last:left;
  text-justify:auto;
  hyphens:none;
  -webkit-hyphens:none;
  word-break:normal;
  overflow-wrap:normal;
}


/* v4.2.3: compact reader drawer controls; reading surface unchanged */
#searchMenuItem{display:none!important}
.drawer>.panel-head{padding-right:96px!important}
.drawer>.panel-head>#fullscreenMenuItem{position:absolute;z-index:3;right:50px;top:0;width:46px!important;height:58px!important;min-height:58px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#111!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;text-align:center!important;touch-action:manipulation}
.drawer>.panel-head>#fullscreenMenuItem .menu-action-icon,.drawer>.panel-head>#fullscreenMenuItem .menu-search-icon{display:inline-grid!important;place-items:center!important;width:auto!important;font-size:22px!important;font-weight:400!important;line-height:1!important}
#fullscreenMenuLabel{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.drawer>.panel-head>.close{position:absolute;right:4px;top:0;width:46px;height:58px;padding:0;border:0;background:transparent}

/* v4.2.4: one compact favourites action strip — no extra menu rows */
.favourites-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;background:#fff;border-bottom:1px solid #eeeeee}
.favourites-actions>#favouriteMenuItem,.favourites-actions>.my-favourites-link{width:100%;min-height:52px;margin:0!important;padding:0 8px!important;border:0!important;border-bottom:0!important;background:#fff!important;color:#111!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;text-align:center!important;text-decoration:none!important;font:600 14px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif!important;touch-action:manipulation}
.favourites-actions>#favouriteMenuItem{border-right:1px solid #eeeeee!important}
.favourites-actions>#favouriteMenuItem:active,.favourites-actions>.my-favourites-link:active{background:#f7f7f7!important}
.favourites-actions>#favouriteMenuItem:focus-visible,.favourites-actions>.my-favourites-link:focus-visible{outline:2px solid #111;outline-offset:-2px}
.favourites-actions #favouriteMenuStar,.favourites-actions .menu-favourite-star,.my-favourites-star{display:inline-grid!important;place-items:center!important;width:22px!important;font-size:21px!important;font-weight:400!important;line-height:1!important}
.favourites-actions #favouriteMenuLabel{font-size:0!important;line-height:0!important}
.favourites-actions #favouriteMenuLabel::after{content:"Add";font:600 14px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif}
.favourites-actions>#favouriteMenuItem[hidden]+.my-favourites-link{grid-column:1/-1}



/* v4.2.6 premium title/cover pages only; verse, synonym, translation and purport rules are unchanged. */
.app.title-page-active .footer,.app.title-page-active .running-head{display:none!important}
.app.title-page-active .stage{bottom:0}
.reader-page.special-mode.title-page{
  overflow:hidden!important;
  text-align:center!important;
  text-align-last:center!important;
  -webkit-hyphens:none!important;
  hyphens:none!important;
}
.reader-page.special-mode.title-page>.special-content{
  width:100%;
  max-width:620px;
  margin:0 auto;
  text-align:center!important;
  text-align-last:center!important;
}
.reader-page.special-mode.title-page .book-title-page{
  width:100%;
  margin:0 auto;
  padding:clamp(64px,14vh,132px) 0 0!important;
  text-align:center!important;
  text-align-last:center!important;
}
.reader-page.special-mode.title-page .book-edition{
  margin:0 0 16px;
  color:#777;
  font:650 10px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.reader-page.special-mode.title-page .book-title-page h1{
  max-width:16ch;
  margin:0 auto!important;
  color:#0b0b0b;
  font:400 clamp(29px,8.4vw,42px)/1.06 "Source Serif 4",Georgia,serif!important;
  letter-spacing:-.025em;
  text-wrap:balance;
  text-align:center!important;
  text-align-last:center!important;
}
.reader-page.special-mode.title-page .book-title-page .book-author{
  max-width:27ch;
  margin:30px auto 0!important;
  color:#353535;
  font:400 16px/1.42 "Source Serif 4",Georgia,serif!important;
  text-align:center!important;
  text-align-last:center!important;
}
.reader-page.special-mode.title-page .book-title-page::after,
.reader-page.special-mode.title-page .cover-copy::after{
  content:"";
  display:block;
  width:38px;
  height:1px;
  margin:30px auto 0;
  background:#dedede;
}
.reader-page.special-mode.title-page .cover-copy{
  padding-top:clamp(64px,14vh,132px)!important;
  text-align:center!important;
  text-align-last:center!important;
}
.reader-page.special-mode.title-page .cover-copy .cover-kicker{
  margin:0 0 16px;
  color:#777;
  font:650 10px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.reader-page.special-mode.title-page .cover-copy h1{
  max-width:16ch;
  margin:0 auto!important;
  color:#0b0b0b;
  font:400 clamp(31px,8.8vw,44px)/1.04 "Source Serif 4",Georgia,serif!important;
  letter-spacing:-.025em;
  text-align:center!important;
  text-align-last:center!important;
}
.reader-page.special-mode.title-page .cover-copy p{
  max-width:27ch;
  margin:30px auto 0!important;
  color:#353535;
  font:400 16px/1.42 "Source Serif 4",Georgia,serif!important;
  text-align:center!important;
  text-align-last:center!important;
}
.reader-page.special-mode.title-page .cover-copy p b{font-weight:400!important}
@media(max-width:620px){
  .reader-page.special-mode.title-page .book-title-page,
  .reader-page.special-mode.title-page .cover-copy{padding-top:clamp(58px,13vh,104px)!important}
  .reader-page.special-mode.title-page .book-title-page h1{font-size:clamp(29px,8.4vw,36px)}
  .reader-page.special-mode.title-page .cover-copy h1{font-size:clamp(31px,8.8vw,38px)}
  .reader-page.special-mode.title-page .book-title-page .book-author,
  .reader-page.special-mode.title-page .cover-copy p{font-size:15.5px}
}

/* v4.2.8 — mobile library menus are full-screen surfaces, not partial drawers. */
.drawer{
  width:100vw!important;
  max-width:none!important;
  border-right:0!important;
  box-shadow:none!important;
  overscroll-behavior:contain;
}
